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 +560 -0
- parse/train/-kfLEqppEm_/-kfLEqppEm_.md +660 -0
- parse/train/-kfLEqppEm_/-kfLEqppEm__content_list.json +0 -0
- parse/train/-kfLEqppEm_/-kfLEqppEm__middle.json +0 -0
- parse/train/-kfLEqppEm_/-kfLEqppEm__model.json +0 -0
- parse/train/9QffERDO_rJ/9QffERDO_rJ.md +485 -0
- parse/train/9QffERDO_rJ/9QffERDO_rJ_content_list.json +1471 -0
- parse/train/9QffERDO_rJ/9QffERDO_rJ_middle.json +0 -0
- parse/train/9QffERDO_rJ/9QffERDO_rJ_model.json +0 -0
- parse/train/B1xDq2EFDH/B1xDq2EFDH.md +224 -0
- parse/train/B1xDq2EFDH/B1xDq2EFDH_content_list.json +1236 -0
- parse/train/B1xDq2EFDH/B1xDq2EFDH_middle.json +0 -0
- parse/train/B1xDq2EFDH/B1xDq2EFDH_model.json +0 -0
- parse/train/BJxhijAcY7/BJxhijAcY7.md +543 -0
- parse/train/BJxhijAcY7/BJxhijAcY7_content_list.json +0 -0
- parse/train/BJxhijAcY7/BJxhijAcY7_middle.json +0 -0
- parse/train/BJxhijAcY7/BJxhijAcY7_model.json +0 -0
- parse/train/ByIAPUcee/ByIAPUcee.md +232 -0
- parse/train/ByIAPUcee/ByIAPUcee_content_list.json +1141 -0
- parse/train/ByIAPUcee/ByIAPUcee_middle.json +0 -0
- parse/train/ByIAPUcee/ByIAPUcee_model.json +0 -0
- parse/train/HJGXzmspb/HJGXzmspb.md +327 -0
- parse/train/HJGXzmspb/HJGXzmspb_content_list.json +1657 -0
- parse/train/HJGXzmspb/HJGXzmspb_middle.json +0 -0
- parse/train/HJGXzmspb/HJGXzmspb_model.json +0 -0
- parse/train/HkxBJT4YvB/HkxBJT4YvB.md +265 -0
- parse/train/HkxBJT4YvB/HkxBJT4YvB_content_list.json +1389 -0
- parse/train/HkxBJT4YvB/HkxBJT4YvB_middle.json +0 -0
- parse/train/HkxBJT4YvB/HkxBJT4YvB_model.json +0 -0
- parse/train/ryepFJbA-/ryepFJbA-.md +323 -0
- parse/train/ryepFJbA-/ryepFJbA-_content_list.json +1512 -0
- parse/train/ryepFJbA-/ryepFJbA-_middle.json +0 -0
- parse/train/ryepFJbA-/ryepFJbA-_model.json +0 -0
- parse/train/uqv8-U4lKBe/uqv8-U4lKBe.md +322 -0
- parse/train/uqv8-U4lKBe/uqv8-U4lKBe_content_list.json +1205 -0
- parse/train/uqv8-U4lKBe/uqv8-U4lKBe_middle.json +0 -0
- parse/train/uqv8-U4lKBe/uqv8-U4lKBe_model.json +0 -0
- parse/train/vvi7KqHQiA/vvi7KqHQiA.md +289 -0
- parse/train/vvi7KqHQiA/vvi7KqHQiA_content_list.json +1394 -0
- parse/train/vvi7KqHQiA/vvi7KqHQiA_middle.json +0 -0
- parse/train/vvi7KqHQiA/vvi7KqHQiA_model.json +0 -0
- pdf/dev/-70L8lpp9DF.pdf +3 -0
- pdf/dev/-H48S9ePSUC.pdf +3 -0
- pdf/dev/-NOQJw5z_KY.pdf +3 -0
- pdf/dev/-P7G-8dmSh4.pdf +3 -0
- pdf/dev/-QHUWgkh1OY.pdf +3 -0
- pdf/dev/-h6WAS6eE4.pdf +3 -0
- pdf/dev/-kS21GWVJU.pdf +3 -0
- pdf/dev/-ltZ1uw8ZE7.pdf +3 -0
- pdf/dev/03RLpj-tc_.pdf +3 -0
.gitattributes
CHANGED
|
@@ -12563,3 +12563,563 @@ pdf/dev/GKfNB4BegL.pdf filter=lfs diff=lfs merge=lfs -text
|
|
| 12563 |
pdf/dev/9EAQVEINuum.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12564 |
pdf/dev/aLLuYpn83y.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12565 |
pdf/dev/CQsmMYmlP5T.pdf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12563 |
pdf/dev/9EAQVEINuum.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12564 |
pdf/dev/aLLuYpn83y.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12565 |
pdf/dev/CQsmMYmlP5T.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12566 |
+
pdf/dev/LvyJX20Rll.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12567 |
+
pdf/dev/agJEk7FhvKL.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12568 |
+
pdf/dev/wKhUPzqVap6.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12569 |
+
pdf/dev/fARM4P0gAJV.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12570 |
+
pdf/dev/G5ADoRKiTyJ.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12571 |
+
pdf/dev/l0zLcLGdcL.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12572 |
+
pdf/dev/7B3IJMM1k_M.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12573 |
+
pdf/dev/-h6WAS6eE4.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12574 |
+
pdf/dev/fcO9Cgn-X-R.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12575 |
+
pdf/dev/nareqzplSc9.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12576 |
+
pdf/dev/UaXD4Al3mdb.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12577 |
+
pdf/dev/1QQnYd02etI.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12578 |
+
pdf/dev/znNmsN_O7Sh.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12579 |
+
pdf/dev/RYTBAtyXqJ.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12580 |
+
pdf/dev/jUdZCcoOu3.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12581 |
+
pdf/dev/TntbHxxGd6j.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12582 |
+
pdf/dev/VB75Pi89p7.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12583 |
+
pdf/dev/WZ3yjh8coDg.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12584 |
+
pdf/dev/QkLpGxUboF.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12585 |
+
pdf/dev/G2Q2Mh3avow.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12586 |
+
pdf/dev/PlKWVd2yBkY.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12587 |
+
pdf/dev/dUSI4vFyMK.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12588 |
+
pdf/dev/w0H2xGHlkw.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12589 |
+
pdf/dev/k9bx1EfHI_-.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12590 |
+
pdf/dev/JvIFpZOjLF4.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12591 |
+
pdf/dev/5NTt8GFjUHkr.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12592 |
+
pdf/dev/vhFu1Acb0xb.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12593 |
+
pdf/dev/08Yk-n5l2Al.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12594 |
+
pdf/dev/rFbR4Fv-D6-.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12595 |
+
pdf/dev/tGbpgz6yOrI.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12596 |
+
pdf/dev/zkk_7sV6gm8.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12597 |
+
pdf/dev/vGQiU5sqUe3.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12598 |
+
pdf/dev/SHbhHHfePhP.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12599 |
+
pdf/dev/OUIFPHEgJU.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12600 |
+
pdf/dev/0Q6BzWbvg0P.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12601 |
+
pdf/dev/dJgYhYKvr1.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12602 |
+
pdf/dev/zXne1klXIQ.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12603 |
+
pdf/dev/yb3HOXO3lX2.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12604 |
+
pdf/dev/cBu4ElJfneV.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12605 |
+
pdf/dev/aBsCjcPu_tE.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12606 |
+
pdf/dev/gERv_uy69IA.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12607 |
+
pdf/dev/rY2wXCSruO.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12608 |
+
pdf/dev/gJcEM8sxHK.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12609 |
+
pdf/dev/_XNtisL32jv.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12610 |
+
pdf/dev/h4r00NGkjR.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12611 |
+
pdf/dev/c5Inzw6giM.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12612 |
+
pdf/dev/u6Xv3FuF8N.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12613 |
+
pdf/dev/gE_vt-w4LhL.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12614 |
+
pdf/dev/wv79UiY5U7.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12615 |
+
pdf/dev/ne6zeqLFCZ.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12616 |
+
pdf/dev/Q-HOv_zn6G.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12617 |
+
pdf/dev/aPXMGv7aeOn.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12618 |
+
pdf/dev/kKF8_K-mBbS.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12619 |
+
pdf/dev/BSww-NrOzJ.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12620 |
+
pdf/dev/Bl8CQrx2Up4.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12621 |
+
pdf/train/SyOvg6jxx.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12622 |
+
pdf/train/BJe8pkHFwS.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12623 |
+
pdf/train/cVwc7IHWEWi.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12624 |
+
pdf/train/zGsRcuoR5-0.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12625 |
+
pdf/train/NsMLjcFaO8O.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12626 |
+
pdf/train/7J-fKoXiReA.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12627 |
+
pdf/train/bMzj6hXL2VJ.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12628 |
+
pdf/train/H1gN6kSFwS.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12629 |
+
pdf/train/AHm3dbp7D1D.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12630 |
+
pdf/train/BklIxyHKDr.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12631 |
+
pdf/train/BkeOp6EKDH.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12632 |
+
pdf/train/HJxkvlBtwH.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12633 |
+
pdf/train/Hyl5V0EYvB.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12634 |
+
pdf/train/r1l4eQW0Z.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12635 |
+
pdf/train/ByKWUeWA-.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12636 |
+
pdf/train/Wz-t1oOTWa.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12637 |
+
pdf/train/ry-TW-WAb.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12638 |
+
pdf/train/ODKwX19UjOj.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12639 |
+
pdf/train/HJgBA2VYwH.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12640 |
+
pdf/train/ByeSYa4KPS.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12641 |
+
pdf/train/Hkxr1nCcFm.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12642 |
+
pdf/train/Rnn8zoAkrwr.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12643 |
+
pdf/train/_mQp5cr_iNy.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12644 |
+
pdf/train/FGqiDsBUKL0.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12645 |
+
pdf/train/F8whUO8HNbP.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12646 |
+
pdf/train/n6jl7fLxrP.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12647 |
+
pdf/train/S1x0CnEtvB.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12648 |
+
pdf/train/SSnY462CYz1Cu.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12649 |
+
pdf/train/SJgVHkrYDH.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12650 |
+
pdf/train/uJDmJp7kn2F.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12651 |
+
pdf/train/HygDF6NFPB.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12652 |
+
pdf/train/MQQeeDiO5vv.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12653 |
+
pdf/train/V1ZHVxJ6dSS.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12654 |
+
pdf/train/63pC59XOZLZ.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12655 |
+
pdf/train/9xC2tWEwBD.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12656 |
+
pdf/train/vrhNQ7aYSdr.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12657 |
+
pdf/train/Byk-VI9eg.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12658 |
+
pdf/train/g11CZSghXyY.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12659 |
+
pdf/train/-JJy-Hw8TFB.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12660 |
+
pdf/train/S1viikbCW.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12661 |
+
pdf/train/B1g8VkHFPH.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12662 |
+
pdf/train/HyDAQl-AW.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12663 |
+
pdf/train/KIfbqntFnOc.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12664 |
+
pdf/train/BywyFQlAW.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12665 |
+
pdf/train/KbV-UZRKb3g.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12666 |
+
pdf/train/H1lmhaVtvr.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12667 |
+
pdf/train/dUk5Foj5CLf.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12668 |
+
pdf/train/SkqMSCHxe.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12669 |
+
pdf/train/S1nQvfgA-.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12670 |
+
pdf/train/rJl0r3R9KX.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12671 |
+
pdf/train/xTJEN-ggl1b.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12672 |
+
pdf/train/SylKikSYDH.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12673 |
+
pdf/train/kziQtP-nGqzDb.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12674 |
+
pdf/train/3-GCM92yaB3.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12675 |
+
pdf/train/6RB77-6-_oI.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12676 |
+
pdf/train/HygjqjR9Km.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12677 |
+
pdf/dev/qhu9uX4QlP8.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12678 |
+
pdf/dev/TiZYrQ-mPup.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12679 |
+
pdf/dev/LKEYuYNOqx.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12680 |
+
pdf/dev/XcDVT8HarS.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12681 |
+
pdf/dev/NAQvF08TcyG.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12682 |
+
pdf/dev/dMK7EwoTYp.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12683 |
+
pdf/dev/Y4cs1Z3HnqL.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12684 |
+
pdf/dev/z7p2V6KROOV.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12685 |
+
pdf/dev/BYLysbfdJOd.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12686 |
+
pdf/dev/wtqb7pNL4e.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12687 |
+
pdf/dev/edONMAnhLu-.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12688 |
+
pdf/dev/jowVZoitZYu.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12689 |
+
pdf/dev/VFBjuF8HEp.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12690 |
+
pdf/dev/0U0C2pXfTZl.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12691 |
+
pdf/dev/0RDcd5Axok.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12692 |
+
pdf/dev/IJNDyqdRF0m.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12693 |
+
pdf/dev/1W8UwXAQubL.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12694 |
+
pdf/dev/0IywQ8uxJx.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12695 |
+
pdf/dev/tHK5ntjp-5K.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12696 |
+
pdf/dev/Qaw16njk6L.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12697 |
+
pdf/dev/UYS38ssi1M.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12698 |
+
pdf/dev/dFbKQaRk15w.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12699 |
+
pdf/dev/3itjR9QxFw.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12700 |
+
pdf/dev/bVuP3ltATMz.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12701 |
+
pdf/dev/fn0FXlXkzL.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12702 |
+
pdf/dev/2jUKhUrBxP.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12703 |
+
pdf/dev/K3BMejPSyQ.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12704 |
+
pdf/dev/cmt-6KtR4c4.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12705 |
+
pdf/dev/7r6kDq0mK_.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12706 |
+
pdf/dev/10uNUgI5Kl.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12707 |
+
pdf/dev/V88BafmH9Pj.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12708 |
+
pdf/dev/9U4gLR_lRP.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12709 |
+
pdf/dev/TrjbxzRcnf-.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12710 |
+
pdf/dev/iOag71mvHI.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12711 |
+
pdf/dev/TTM7iEFOTzJ.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12712 |
+
pdf/dev/-70L8lpp9DF.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12713 |
+
pdf/dev/R9KnuFlvnU.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12714 |
+
pdf/dev/9-umxtNPx5E.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12715 |
+
pdf/dev/CbsJ53LdKc.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12716 |
+
pdf/dev/AhccnBXSne.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12717 |
+
pdf/dev/8XWP2ewX-im.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12718 |
+
pdf/dev/nJJjv0JDJju.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12719 |
+
pdf/dev/q0nmYciuuZN.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12720 |
+
pdf/dev/cOtBRgsf2fO.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12721 |
+
pdf/dev/MeeQkFYVbzW.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12722 |
+
pdf/dev/ZTK3SefE8_Z.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12723 |
+
pdf/dev/zq1iJkNk3uN.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12724 |
+
pdf/dev/IajGRJuM7D3.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12725 |
+
pdf/dev/9jsZiUgkCZP.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12726 |
+
pdf/dev/EAcWgk7JM58.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12727 |
+
pdf/dev/SMa9EAovKMC.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12728 |
+
pdf/dev/Sxk8Bse3RKO.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12729 |
+
pdf/dev/_1bgdFHhA70.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12730 |
+
pdf/dev/3ly9cG9Ql9h.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12731 |
+
pdf/dev/ZQV5iRPAua.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12732 |
+
pdf/dev/Uy6YEI9-6v.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12733 |
+
pdf/dev/I9xE1Jsjfx.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12734 |
+
pdf/dev/vKBdabh_WV.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12735 |
+
pdf/dev/MAMOi89bOL.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12736 |
+
pdf/dev/uCXNOeL0TG.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12737 |
+
pdf/dev/XSRSWxyJIC.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12738 |
+
pdf/dev/4R7YrAGhnve.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12739 |
+
pdf/dev/bydKs84JEyw.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12740 |
+
pdf/dev/sMNvG2UMd_l.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12741 |
+
pdf/dev/JtBRnrlOEFN.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12742 |
+
pdf/dev/4p6_5HBWPCw.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12743 |
+
pdf/dev/k7p_YAO7yE.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12744 |
+
pdf/dev/yf1icZHC-l9.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12745 |
+
pdf/dev/hQwb-lbM6EL.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12746 |
+
pdf/dev/SlxSY2UZQT.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12747 |
+
pdf/dev/iulEMLYh1uR.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12748 |
+
pdf/dev/cp5PvcI6w8_.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12749 |
+
pdf/dev/17RDXeF-skZ.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12750 |
+
pdf/dev/ktrw68Cmu9c.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12751 |
+
pdf/dev/u3vEuRr08MT.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12752 |
+
pdf/dev/OgCcfc1m0TO.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12753 |
+
pdf/dev/r5hq-Ooh_Ba.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12754 |
+
pdf/dev/iBBcRUlOAPR.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12755 |
+
pdf/dev/8aHzds2uUyB.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12756 |
+
pdf/dev/uy602F8cTrh.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12757 |
+
pdf/dev/ex60CCi5GS.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12758 |
+
pdf/dev/GGi4igGZEB-.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12759 |
+
pdf/dev/a0SRWViFYW.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12760 |
+
pdf/dev/bdHkMjBJG_w.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12761 |
+
pdf/dev/dLL4KXzKUpS.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12762 |
+
pdf/dev/b9tUk-f_aG.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12763 |
+
pdf/dev/AIqC7F7xV-d.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12764 |
+
pdf/dev/WcZUevpX3H3.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12765 |
+
pdf/dev/LPB2BFZvncQ.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12766 |
+
pdf/dev/09hVcSDkea.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12767 |
+
pdf/dev/mTiHLHu3sP.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12768 |
+
pdf/dev/NnIaEaBfXD.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12769 |
+
pdf/dev/HtoA0oT30jC.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12770 |
+
pdf/dev/QeRAyn4igEA.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12771 |
+
pdf/dev/MSBDFwGYwwt.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12772 |
+
pdf/dev/RKiWwhocuiU.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12773 |
+
pdf/dev/CZZFRxbOLC.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12774 |
+
pdf/dev/0xiJLKH-ufZ.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12775 |
+
pdf/dev/6at6rB3IZm.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12776 |
+
pdf/dev/ZumkmSpY9G4.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12777 |
+
pdf/dev/g7U9jD_2CUr.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12778 |
+
pdf/dev/lq62uWRJjiY.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12779 |
+
pdf/dev/SJ1kSyO2jwu.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12780 |
+
pdf/dev/xm6YD62D1Ub.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12781 |
+
pdf/dev/-kS21GWVJU.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12782 |
+
pdf/dev/SF9o3-yP1WR.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12783 |
+
pdf/dev/G5RwHpBUv0.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12784 |
+
pdf/dev/UpN2wfrLec.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12785 |
+
pdf/dev/CAjxVodl_v.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12786 |
+
pdf/dev/e8PVEkSa4Fq.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12787 |
+
pdf/dev/QDE5hzxVpS.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12788 |
+
pdf/dev/OJ4mMfGKLN.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12789 |
+
pdf/dev/cpDhcsEDC2.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12790 |
+
pdf/dev/xozJw0kZXF.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12791 |
+
pdf/dev/ubzNoJjOKj.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12792 |
+
pdf/dev/gMS6FVZvmF.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12793 |
+
pdf/dev/shpkpVXzo3h.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12794 |
+
pdf/dev/9rKTy4oZAQt.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12795 |
+
pdf/dev/uRTW_PgXvc7.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12796 |
+
pdf/dev/VBZJ_3tz-t.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12797 |
+
pdf/dev/wu1Za9dY1GY.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12798 |
+
pdf/dev/XSEBx0iSjFQ.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12799 |
+
pdf/dev/EdIGMCHk4l.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12800 |
+
pdf/dev/eYfIM88MTUE.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12801 |
+
pdf/dev/2hMEdc35xZ6.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12802 |
+
pdf/dev/qI4542Y2s1D.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12803 |
+
pdf/dev/vruwp11pWnO.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12804 |
+
pdf/dev/FPCMqjI0jXN.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12805 |
+
pdf/dev/8H5bpVwvt5.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12806 |
+
pdf/dev/QFQoxCFYEkA.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12807 |
+
pdf/dev/D87gRf2-np.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12808 |
+
pdf/dev/QkRV50TZyP.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12809 |
+
pdf/dev/0YXmOFLb1wQ.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12810 |
+
pdf/dev/jdJo1HIVinI.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12811 |
+
pdf/dev/KWCZfuqshd.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12812 |
+
pdf/dev/o4uFFg9_TpV.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12813 |
+
pdf/dev/eHrqmewX1B-.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12814 |
+
pdf/dev/X6dEqXIsEW.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12815 |
+
pdf/dev/TVHS5Y4dNvM.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12816 |
+
pdf/dev/Jbdc0vTOcol.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12817 |
+
pdf/dev/QUyasQGv1Nl.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12818 |
+
pdf/dev/vqGi8Kp0wM.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12819 |
+
pdf/dev/JhzzvJnL9t.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12820 |
+
pdf/dev/fxdvWG4rJe.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12821 |
+
pdf/dev/WIJ2SfPTj8c.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12822 |
+
pdf/dev/V3C8p78sDa.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12823 |
+
pdf/dev/BvowzJp_Yl6.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12824 |
+
pdf/dev/RriDjddCLN.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12825 |
+
pdf/dev/D78Go4hVcxO.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12826 |
+
pdf/dev/g2YraF75Tj.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12827 |
+
pdf/dev/sP1fo2K9DFG.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12828 |
+
pdf/dev/Fkckkr3ya8.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12829 |
+
pdf/dev/vbPsD-BhOZ.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12830 |
+
pdf/dev/9h3KsOVXhLZ.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12831 |
+
pdf/dev/gzCS252hCO.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12832 |
+
pdf/dev/ucASPPD9GKN.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12833 |
+
pdf/dev/tro0_OqIVde.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12834 |
+
pdf/dev/Fj1Tpym9KxH.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12835 |
+
pdf/dev/-ltZ1uw8ZE7.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12836 |
+
pdf/dev/-P7G-8dmSh4.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12837 |
+
pdf/dev/s3V9I71JvkD.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12838 |
+
pdf/dev/QwejPcX96r.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12839 |
+
pdf/dev/FjNys5c7VyY.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12840 |
+
pdf/dev/3s9IrEsjLyk.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12841 |
+
pdf/dev/1PL1NIMMrw.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12842 |
+
pdf/dev/jmopGajkFY.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12843 |
+
pdf/dev/bzs4uPLXvi.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12844 |
+
pdf/dev/DgM7-7eMkq0.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12845 |
+
pdf/dev/tDw7Mmat8co.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12846 |
+
pdf/dev/pF8btdPVTL_.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12847 |
+
pdf/dev/b9APFSTylGT.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12848 |
+
pdf/dev/Re3NjSwf0WF.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12849 |
+
pdf/dev/2-REuflJDT.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12850 |
+
pdf/dev/9uRS5ysgb9.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12851 |
+
pdf/dev/z9NLqoFvZ0.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12852 |
+
pdf/dev/Qx8lUU8CzQ.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12853 |
+
pdf/dev/68n2s9ZJWF8.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12854 |
+
pdf/dev/6HN7LHyzGgC.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12855 |
+
pdf/dev/FWMQYjFso-a.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12856 |
+
pdf/dev/yJE7iQSAep.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12857 |
+
pdf/dev/GMYWzWztDx5.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12858 |
+
pdf/dev/4NpoSrT8uU-.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12859 |
+
pdf/dev/MbCAOMGsZXC.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12860 |
+
pdf/dev/voV_TRqcWh.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12861 |
+
pdf/dev/_efamP7PSjg.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12862 |
+
pdf/dev/muFvu66v7u.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12863 |
+
pdf/dev/Fn17vlng9pD.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12864 |
+
pdf/dev/qHrADgAdYu.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12865 |
+
pdf/dev/NudBMY-tzDr.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12866 |
+
pdf/dev/URNZQmbxpwh.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12867 |
+
pdf/dev/Bq2-WN5csW.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12868 |
+
pdf/dev/hGXij5rfiHw.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12869 |
+
pdf/dev/qf12cWVSksq.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12870 |
+
pdf/dev/kXXPLBEBVGH.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12871 |
+
pdf/dev/d00kbjbYv2.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12872 |
+
pdf/dev/eYciPrLuUhG.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12873 |
+
pdf/dev/zVi11zjaPe.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12874 |
+
pdf/dev/ldRb12nMfLQ.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12875 |
+
pdf/dev/nrksGSRT7kX.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12876 |
+
pdf/dev/VOstHxDdsN.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12877 |
+
pdf/dev/JTmO2V9Xpz.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12878 |
+
pdf/dev/5Xc1ecxO1h.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12879 |
+
pdf/dev/zT5T9gHpGI.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12880 |
+
pdf/dev/T__V3uLix7V.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12881 |
+
pdf/dev/F7nD--1JIC.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12882 |
+
pdf/dev/v54eUIayFh.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12883 |
+
pdf/dev/XdDl3bFUNn5.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12884 |
+
pdf/dev/6Dz7RiRiMFd.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12885 |
+
pdf/dev/EJka_dVXEcr.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12886 |
+
pdf/dev/3R3Pz5i0tye.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12887 |
+
pdf/dev/4AZz9osqrar.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12888 |
+
pdf/dev/RhB1AdoFfGE.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12889 |
+
pdf/dev/45L_dgP48Vd.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12890 |
+
pdf/dev/LI2bhrE_2A.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12891 |
+
pdf/dev/EZZsnke1kt.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12892 |
+
pdf/dev/nZeVKeeFYf9.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12893 |
+
pdf/dev/zDiHoIWa0q1.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12894 |
+
pdf/dev/7anW5TWbCJ.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12895 |
+
pdf/dev/5zwnqUwphT.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12896 |
+
pdf/dev/ptbePrczhRt.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12897 |
+
pdf/dev/XsZ5YebcCz.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12898 |
+
pdf/dev/YJ7o2wetJ2.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12899 |
+
pdf/dev/nwKXyFvaUm.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12900 |
+
pdf/dev/OQQoD8Vc3B.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12901 |
+
pdf/dev/w6fj2r62r_H.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12902 |
+
pdf/dev/2clwrA2tfik.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12903 |
+
pdf/dev/ztcfHweENtU.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12904 |
+
pdf/dev/qQuzhbU3Gto.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12905 |
+
pdf/dev/luGXvawYWJ.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12906 |
+
pdf/dev/Zk1SbbdZwS.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12907 |
+
pdf/dev/zSkYVeX7bC4.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12908 |
+
pdf/dev/UjynxfqnGWG.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12909 |
+
pdf/dev/Vzh1BFUCiIX.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12910 |
+
pdf/dev/BT03V9Re9a.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12911 |
+
pdf/dev/AyajSjTAzmg.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12912 |
+
pdf/dev/fPhKeld3Okz.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12913 |
+
pdf/dev/o_HsiMPYh_x.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12914 |
+
pdf/dev/AXDNM76T1nc.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12915 |
+
pdf/dev/1qvx610Cu7.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12916 |
+
pdf/dev/3SLW-YIw7tX.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12917 |
+
pdf/dev/AJg35fkqOPA.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12918 |
+
pdf/dev/HjwK-Tc_Bc.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12919 |
+
pdf/dev/jDIlzSU8wJ.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12920 |
+
pdf/dev/u03xn1COsO.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12921 |
+
pdf/dev/WBhqzpF6KYH.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12922 |
+
pdf/dev/WVX0NNVBBkV.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12923 |
+
pdf/dev/nId8ZtIXub.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12924 |
+
pdf/dev/E0zOKxQsZhN.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12925 |
+
pdf/dev/aKXBrj0DHm.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12926 |
+
pdf/dev/hX5Ia-ION8Y.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12927 |
+
pdf/dev/SrC-nwieGJ.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12928 |
+
pdf/dev/Ix37FJYDkBp.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12929 |
+
pdf/dev/uxxFrDwrE7Y.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12930 |
+
pdf/dev/hFCUPkSSRE.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12931 |
+
pdf/dev/ebSOK1nV2r.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12932 |
+
pdf/dev/uuUQraD4XX.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12933 |
+
pdf/dev/VnAwNNJiwDb.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12934 |
+
pdf/dev/vhKaBdOOobB.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12935 |
+
pdf/dev/e2TBb5y0yFf.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12936 |
+
pdf/dev/401LFvBGIb.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12937 |
+
pdf/dev/LzQQ89U1qm_.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12938 |
+
pdf/dev/ti6fH3EhFkv.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12939 |
+
pdf/dev/tq_J_MqB3UB.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12940 |
+
pdf/dev/MCVfX7HgPO.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12941 |
+
pdf/dev/GQjaI9mLet.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12942 |
+
pdf/dev/oDRQGo8I7P.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12943 |
+
pdf/dev/5uIL1E8h1E.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12944 |
+
pdf/dev/NPJznfA7ZC.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12945 |
+
pdf/dev/MkbcAHIYgyS.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12946 |
+
pdf/dev/GLA4ablO3M.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12947 |
+
pdf/dev/krI-ahhgN2.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12948 |
+
pdf/dev/vSVLM2j9eie.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12949 |
+
pdf/dev/OboQ71j1Bn.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12950 |
+
pdf/dev/tyrJsbKAe6.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12951 |
+
pdf/dev/b90lKL1IqcF.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12952 |
+
pdf/dev/42zs3qa2kpy.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12953 |
+
pdf/dev/Yo0s4qp_UMR.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12954 |
+
pdf/dev/Yacmpz84TH.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12955 |
+
pdf/dev/rwE8SshAlxw.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12956 |
+
pdf/dev/B72HXs80q4.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12957 |
+
pdf/dev/_LceCyuVcH.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12958 |
+
pdf/dev/lzZstLVGVGW.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12959 |
+
pdf/dev/K0E_F0gFDgA.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12960 |
+
pdf/dev/6res1KC1Z3Z.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12961 |
+
pdf/dev/XDJwuEYHhme.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12962 |
+
pdf/dev/COZDy0WYGg.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12963 |
+
pdf/dev/VwRFJi9crEH.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12964 |
+
pdf/dev/I-6yh2-dkyD.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12965 |
+
pdf/dev/XomEU3eNeSQ.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12966 |
+
pdf/dev/pAq8iDy00Oa.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12967 |
+
pdf/dev/FZCFlj2_c7z.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12968 |
+
pdf/dev/uKiE0VIluA-.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12969 |
+
pdf/dev/XtyeppctGgc.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12970 |
+
pdf/dev/ySQH0oDyp7.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12971 |
+
pdf/dev/xkjqJYqRJy.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12972 |
+
pdf/dev/r9b6T088_75.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12973 |
+
pdf/dev/XrGEkCOREX2.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12974 |
+
pdf/dev/XA4ru9mfxTP.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12975 |
+
pdf/dev/ksVGCOlOEba.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12976 |
+
pdf/dev/aD7uesX1GF_.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12977 |
+
pdf/dev/unb1wyXf-aC.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12978 |
+
pdf/dev/F72ximsx7C1.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12979 |
+
pdf/dev/p40XRfBX96.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12980 |
+
pdf/dev/Kwm8I7dU-l5.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12981 |
+
pdf/dev/2PSrjVtj6gU.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12982 |
+
pdf/dev/WZH7099tgfM.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12983 |
+
pdf/dev/4XMAzZasId.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12984 |
+
pdf/dev/cGDAkQo1C0p.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12985 |
+
pdf/dev/ECvgmYVyeUz.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12986 |
+
pdf/dev/H0HGljkxQFN.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12987 |
+
pdf/dev/UW5A3SweAH.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12988 |
+
pdf/dev/zyLVMgsZ0U_.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12989 |
+
pdf/dev/e42KbIw6Wb.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12990 |
+
pdf/dev/-NOQJw5z_KY.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12991 |
+
pdf/dev/SwIp410B6aQ.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12992 |
+
pdf/dev/UhEJz3wgLnG.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12993 |
+
pdf/dev/pOEN7dDC0d.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12994 |
+
pdf/dev/flNZJ2eOet.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12995 |
+
pdf/dev/f9D-5WNG4Nv.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12996 |
+
pdf/dev/OjDkC57x5sz.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12997 |
+
pdf/dev/NpsVSN6o4ul.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12998 |
+
pdf/dev/ucNDIDRNjjv.pdf filter=lfs diff=lfs merge=lfs -text
|
| 12999 |
+
pdf/dev/S5wmbQc1We.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13000 |
+
pdf/dev/J4iSIR9fhY0.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13001 |
+
pdf/dev/Czsdv-S4-w9.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13002 |
+
pdf/dev/N8MaByOzUfb.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13003 |
+
pdf/dev/ePhEbo039l.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13004 |
+
pdf/dev/MpJjrfSJ-Xs.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13005 |
+
pdf/dev/vdKncX1WclT.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13006 |
+
pdf/dev/S874XAIpkR-.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13007 |
+
pdf/dev/YPpSngE-ZU.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13008 |
+
pdf/dev/e95i1IHcWj.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13009 |
+
pdf/dev/5haAJAcofjc.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13010 |
+
pdf/dev/S7Evzt9uit3.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13011 |
+
pdf/dev/iEvAf8i6JjO.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13012 |
+
pdf/dev/7gE9V9GBZaI.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13013 |
+
pdf/dev/isPnnaTZaP5.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13014 |
+
pdf/dev/iMSjopcOn0p.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13015 |
+
pdf/dev/GoOuIrDHG_Y.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13016 |
+
pdf/dev/MG3YN3z1J4M.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13017 |
+
pdf/dev/Pyd6Rh9r1OT.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13018 |
+
pdf/dev/r-6Z1SJbCpv.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13019 |
+
pdf/dev/xxgp42Qz6dL.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13020 |
+
pdf/dev/PKdNRKjwL4.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13021 |
+
pdf/dev/sE7-XhLxHA.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13022 |
+
pdf/dev/nUmCcZ5RKF.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13023 |
+
pdf/dev/a8qX5RG36jd.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13024 |
+
pdf/dev/SVjDiiVySh.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13025 |
+
pdf/dev/6UtOXn1LwNE.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13026 |
+
pdf/dev/4hturzLcKX.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13027 |
+
pdf/dev/wiBEFdAvl8L.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13028 |
+
pdf/dev/kDEL91Dufpa.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13029 |
+
pdf/dev/gq4xkwQZ1l.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13030 |
+
pdf/dev/A4fSkNAs6E1.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13031 |
+
pdf/dev/Zq2G_VTV53T.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13032 |
+
pdf/dev/WaGvb7OzySA.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13033 |
+
pdf/dev/n0OeTdNRG0Q.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13034 |
+
pdf/dev/lSZXSDwvGv.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13035 |
+
pdf/dev/uLYc4L3C81A.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13036 |
+
pdf/dev/fvLLcIYmXb.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13037 |
+
pdf/dev/_VjQlMeSB_J.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13038 |
+
pdf/dev/NbkjMn7X8H.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13039 |
+
pdf/dev/xnuN2vGmZA0.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13040 |
+
pdf/dev/UmvSlP-PyV.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13041 |
+
pdf/dev/Ms6QZafNv01.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13042 |
+
pdf/dev/AHvFDPi-FA.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13043 |
+
pdf/dev/gtCPWaY5bNh.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13044 |
+
pdf/dev/tGHi1HFNBx1.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13045 |
+
pdf/dev/KVljrqehulG.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13046 |
+
pdf/dev/JVzeOYEx6d.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13047 |
+
pdf/dev/UYneFzXSJWh.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13048 |
+
pdf/dev/qY1hlv7gwg.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13049 |
+
pdf/dev/_h2FKc6E_YV.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13050 |
+
pdf/dev/LQnyIk5dUA.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13051 |
+
pdf/dev/UHBrWeFWlL.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13052 |
+
pdf/dev/FELWgMjxZJj.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13053 |
+
pdf/dev/RFGkzxMFqby.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13054 |
+
pdf/dev/T0GpzBQ1Fg6.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13055 |
+
pdf/dev/xp5VOBxTxZ.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13056 |
+
pdf/dev/3IyL2XWDkG.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13057 |
+
pdf/dev/JXhROKNZzOc.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13058 |
+
pdf/dev/QYvFUlF19n.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13059 |
+
pdf/dev/-QHUWgkh1OY.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13060 |
+
pdf/dev/JYtwGwIL7ye.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13061 |
+
pdf/dev/fCbTxKYJovs.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13062 |
+
pdf/dev/Nayau9fwXU.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13063 |
+
pdf/dev/rTvH1_SRyXs.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13064 |
+
pdf/dev/SHMi1b7sjXk.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13065 |
+
pdf/dev/wlEOsQ917F.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13066 |
+
pdf/dev/biaOpY5gAo.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13067 |
+
pdf/dev/QJb1-8NH2Ux.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13068 |
+
pdf/dev/nJfylDvgzlq.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13069 |
+
pdf/dev/VNdFPD5wqjh.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13070 |
+
pdf/dev/pfNyExj7z2.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13071 |
+
pdf/dev/x2WTG5bV977.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13072 |
+
pdf/dev/-H48S9ePSUC.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13073 |
+
pdf/dev/4WgqjmYacAf.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13074 |
+
pdf/dev/MWoZh1gvbxA.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13075 |
+
pdf/dev/ATiz_CDA66.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13076 |
+
pdf/dev/MtGmCCPJD-.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13077 |
+
pdf/dev/K5qR1F14qPE.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13078 |
+
pdf/dev/0sEIBFb4cs.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13079 |
+
pdf/dev/5JdLZg346Lw.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13080 |
+
pdf/dev/mNMwIwydgr.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13081 |
+
pdf/dev/jtiQ26sCJi.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13082 |
+
pdf/dev/ETKGuby0hcs.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13083 |
+
pdf/dev/zSeoDvsDCe.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13084 |
+
pdf/dev/wmwgLEPjL9.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13085 |
+
pdf/dev/TJUNtiZiTKE.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13086 |
+
pdf/dev/PDYs7Z2XFGv.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13087 |
+
pdf/dev/AOKU4nRw1W.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13088 |
+
pdf/dev/CuV_qYkmKb3.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13089 |
+
pdf/dev/LV8OmADmoOe.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13090 |
+
pdf/dev/S9GpoS2TmN.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13091 |
+
pdf/dev/r9hNv76KoT3.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13092 |
+
pdf/dev/DhmYYrH_M3m.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13093 |
+
pdf/dev/WqiZJGNkjn.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13094 |
+
pdf/dev/NiEtU7blzN.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13095 |
+
pdf/dev/6Pv8AMSylux.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13096 |
+
pdf/dev/0LXEvcD3dB.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13097 |
+
pdf/dev/E01k9048soZ.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13098 |
+
pdf/dev/OkQD6RMUK5.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13099 |
+
pdf/dev/eLgK35G3A5d.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13100 |
+
pdf/dev/1wVvweK3oIb.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13101 |
+
pdf/dev/gzeruP-0J29.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13102 |
+
pdf/dev/TG8KACxEON.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13103 |
+
pdf/dev/Uuf2q9TfXGA.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13104 |
+
pdf/dev/03RLpj-tc_.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13105 |
+
pdf/dev/_SJ-_yyes8.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13106 |
+
pdf/dev/iAWNOXfLz0.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13107 |
+
pdf/dev/67o9UQgTD0.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13108 |
+
pdf/dev/zGvRdBW06F5.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13109 |
+
pdf/dev/5HLoTvVGDe.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13110 |
+
pdf/dev/VAeAUWHNrty.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13111 |
+
pdf/dev/x5mtJD2ovc.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13112 |
+
pdf/dev/aa8KsqfTPa.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13113 |
+
pdf/dev/3FvF1db-bKT.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13114 |
+
pdf/dev/eLxADkHrBcR.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13115 |
+
pdf/dev/h0OYV0We3oh.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13116 |
+
pdf/dev/2nJdh_C-UWe.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13117 |
+
pdf/dev/qHGCH75usg.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13118 |
+
pdf/dev/OdnNBNIdFul.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13119 |
+
pdf/dev/t877958UGZ.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13120 |
+
pdf/dev/lme1MKnSMb.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13121 |
+
pdf/dev/9Vrb9D0WI4.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13122 |
+
pdf/dev/Pu-QtT0h2E.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13123 |
+
pdf/dev/xDaoT2zlJ0r.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13124 |
+
pdf/dev/KwmPfARgOTD.pdf filter=lfs diff=lfs merge=lfs -text
|
| 13125 |
+
pdf/dev/LSKlp_aceOC.pdf filter=lfs diff=lfs merge=lfs -text
|
parse/train/-kfLEqppEm_/-kfLEqppEm_.md
ADDED
|
@@ -0,0 +1,660 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# CONVEX REGULARIZATION IN MONTE-CARLO TREE SEARCH
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Monte-Carlo planning and Reinforcement Learning (RL) are essential to sequential decision making. The recent AlphaGo and AlphaZero algorithms have shown how to successfully combine these two paradigms to solve large scale sequential decision problems. These methodologies exploit a variant of the well-known UCT algorithm to trade off the exploitation of good actions and the exploration of unvisited states, but their empirical success comes at the cost of poor sample-efficiency and high computation time. In this paper, we overcome these limitations by studying the benefit of convex regularization in Monte-Carlo Tree Search (MCTS) to drive exploration efficiently and to improve policy updates, as already observed in RL. First, we introduce a unifying theory on the use of generic convex regularizers in MCTS, deriving the first regret analysis of regularized MCTS and showing that it guarantees an exponential convergence rate. Second, we exploit our theoretical framework to introduce novel regularized backup operators for MCTS, based on the relative entropy of the policy update and on the Tsallis entropy of the policy. We provide an intuitive demonstration of the effect of each regularizer empirically verifying the consequence of our theoretical results on a toy problem. Finally, we show how our framework can easily be incorporated in AlphaGo and AlphaZero, and we empirically show the superiority of convex regularization w.r.t. representative baselines, on well-known RL problems across several Atari games.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Monte-Carlo Tree Search (MCTS) is a well-known algorithm to solve decision-making problems through the combination of Monte-Carlo planning with an incremental tree structure (Coulom, 2006). Although standard MCTS is only suitable for problems with discrete state and action spaces, recent advances have shown how to enable MCTS in continuous problems (Silver et al., 2016; Yee et al., 2016). Most remarkably, AlphaGo (Silver et al., 2016) and AlphaZero (Silver et al., 2017b;a) couple MCTS with neural networks trained using Reinforcement Learning (RL) (Sutton & Barto, 1998) methods, e.g., Deep $Q$ -Learning (Mnih et al., 2015), to speed up learning of large scale problems with continuous state space. In particular, a neural network is used to compute value function estimates of states as a replacement of time-consuming Monte-Carlo rollouts, and another neural network is used to estimate policies as a probability prior for the therein introduced PUCT action selection method, a variant of well-known UCT sampling strategy commonly used in MCTS for exploration (Kocsis et al., 2006). Despite AlphaGo and AlphaZero achieving state-of-the-art performance in games with high branching factor like Go (Silver et al., 2016) and Chess (Silver et al., 2017a), both methods suffer from poor sample-efficiency, mostly due to the polynomial convergence rate of PUCT (Xiao et al., 2019). This problem, combined with the high computational time to evaluate the deep neural networks, significantly hinder the applicability of both methodologies.
|
| 12 |
+
|
| 13 |
+
In this paper, we provide a unified theory of the use of convex regularization in MCTS, which proved to be an efficient solution for driving exploration and stabilizing learning in RL (Schulman et al., 2015; 2017a; Haarnoja et al., 2018; Buesing et al., 2020). In particular, we show how a regularized objective function in MCTS can be seen as an instance of the Legendre-Fenchel transform, similar to previous findings on the use of duality in RL (Mensch & Blondel, 2018; Geist et al., 2019; Nachum & Dai, 2020) and game theory (Shalev-Shwartz & Singer, 2006; Pavel, 2007). Establishing our theoretical framework, we can derive the first regret analysis of regularized MCTS, and prove that a generic convex regularizer guarantees an exponential convergence rate to the solution of the regularized objective function, which improves on the polynomial rate of PUCT. These results provide a theoretical ground for the use of arbitrary entropy-based regularizers in MCTS until now limited to maximum entropy (Xiao et al., 2019), among which we specifically study the relative entropy of policy updates, drawing on similarities with trust-region and proximal methods in RL (Schulman et al., 2015; 2017b), and the Tsallis entropy, used for enforcing the learning of sparse policies (Lee et al., 2018). Moreover, we provide an empirical analysis of the toy problem introduced in Xiao et al. (2019) to intuitively evince the practical consequences of our theoretical results for each regularizer. Finally, we empirically evaluate the proposed operators in AlphaGo and AlphaZero on problems of increasing complexity, from classic RL problems to an extensive analysis of Atari games, confirming the benefit of our novel operators compared to maximum entropy and, in general, the superiority of convex regularization in MCTS w.r.t. classic methods.
|
| 14 |
+
|
| 15 |
+
# 2 PRELIMINARIES
|
| 16 |
+
|
| 17 |
+
# 2.1 MARKOV DECISION PROCESSES
|
| 18 |
+
|
| 19 |
+
We consider the classical definition of a finite-horizon Markov Decision Process (MDP) as a 5- tuple $\mathcal { M } = \langle \mathcal { S } , \mathcal { A } , \mathcal { R } , \mathcal { P } , \gamma \rangle$ , where $s$ is the state space, $\mathcal { A }$ is the finite discrete action space, $\mathcal { R } : \mathcal { S } \times \mathcal { A } \times \mathcal { S } \to \mathbb { R }$ is the reward function, $\mathcal { P } : \mathcal { S } \times \mathcal { A } \mathcal { S }$ is the transition kernel, and $\gamma \in [ 0 , 1 )$ is the discount factor. A policy $\pi \in \Pi : \mathcal { S } \times \mathcal { A } \mathbb { R }$ is a probability distribution of the event of executing an action $a$ in a state $s$ . A policy $\pi$ induces a value function corresponding to the expected cumulative discounted reward collected by the agent when executing action $a$ in state s, and following the policy π thereafter: Qπ(s, a) , E -P∞k=0 γkri+k+1|si = s, ai = a, π, timal policy $\pi ^ { * }$ , which is the policy that maximizes the expected cumulative discounted reward. The optimal policy corresponds to the one satisfying the optimal Bellman equation (Bellman, 1954) $\begin{array} { r } { Q ^ { * } ( s , a ) \triangleq \int _ { S } \mathcal { P } ( s ^ { \prime } | s , a ) \left[ \mathcal { R } ( s , a , s ^ { \prime } ) + \gamma \operatorname* { m a x } _ { a ^ { \prime } } Q ^ { * } ( s ^ { \prime } , a ^ { \prime } ) \right] d s ^ { \prime } } \end{array}$ , and is the fixed point of the optimal Bellman operator $\begin{array} { r } { \mathcal { T } ^ { * } Q ( s , a ) \triangleq \int _ { S } \mathcal { P } ( s ^ { \prime } | s , a ) \left[ \mathcal { R } ( s , a , s ^ { \prime } ) + \gamma \operatorname* { m a x } _ { a ^ { \prime } } Q ( s ^ { \prime } , a ^ { \prime } ) \right] d s ^ { \prime } } \end{array}$ . Additionally, we define the Bellman operator under the policy $\pi$ as ${ \mathcal { T } } _ { \pi } Q ( s , a )$ , $\begin{array} { r } { \int _ { \mathcal { S } } \mathcal { P } ( s ^ { \prime } | s , a ) \left[ \mathcal { R } ( s , a , s ^ { \prime } ) + \gamma \int _ { \mathcal { A } } \pi ( a ^ { \prime } | s ^ { \prime } ) Q ( s ^ { \prime } , a ^ { \prime } ) d a ^ { \prime } \right] d s ^ { \prime } } \end{array}$ , the optimal value function $V ^ { \ast } ( s )$ , $\operatorname* { m a x } _ { a \in \mathcal { A } } Q ^ { * } ( s , a )$ , and the value function under the policy $\pi$ as $V ^ { \pi } ( s ) \triangleq \operatorname* { m a x } _ { a \in \mathcal { A } } Q ^ { \pi } ( s , a )$ .
|
| 20 |
+
|
| 21 |
+
# 2.2 MONTE-CARLO TREE SEARCH AND UPPER CONFIDENCE BOUNDS FOR TREES
|
| 22 |
+
|
| 23 |
+
Monte-Carlo Tree Search (MCTS) is a planning strategy based on a combination of Monte-Carlo sampling and tree search to solve MDPs. MCTS builds a tree where the nodes are the visited states of the MDP, and the edges are the actions executed in each state. MCTS converges to the optimal policy (Kocsis et al., 2006; Xiao et al., 2019), iterating over a loop composed of four steps:
|
| 24 |
+
|
| 25 |
+
1. Selection: starting from the root node, a tree-policy is executed to navigate the tree until a node with unvisited children, i.e. expandable node, is reached;
|
| 26 |
+
2. Expansion: the reached node is expanded according to the tree policy;
|
| 27 |
+
3. Simulation: run a rollout, e.g. Monte-Carlo simulation, from the visited child of the current node to the end of the episode;
|
| 28 |
+
4. Backup: use the collected reward to update the action-values $Q ( \cdot )$ of the nodes visited in the trajectory from the root node to the expanded node.
|
| 29 |
+
|
| 30 |
+
The tree-policy used to select the action to execute in each node needs to balance the use of already known good actions, and the visitation of unknown states. The Upper Confidence bounds for Trees (UCT) sampling strategy (Kocsis et al., 2006) extends the use of the well-known UCB1 sampling strategy for multi-armed bandits (Auer et al., 2002), to MCTS. Considering each node corresponding to a state $s \in S$ as a different bandit problem, UCT selects an action $a \in { \mathcal { A } }$ applying an upper bound to the action-value function
|
| 31 |
+
|
| 32 |
+
$$
|
| 33 |
+
\mathrm { U C T } ( s , a ) = Q ( s , a ) + \epsilon \sqrt { \frac { \log N ( s ) } { N ( s , a ) } } ,
|
| 34 |
+
$$
|
| 35 |
+
|
| 36 |
+
where $N ( s , a )$ is the number of executions of action $a$ in state $s$ , $\begin{array} { r } { N ( s ) = \sum _ { a } N ( s , a ) } \end{array}$ , and $\epsilon$ is a constant parameter to tune exploration. UCT asymptotically converges to the optimal action-value function $Q ^ { * }$ , for all states and actions, with the probability of executing a suboptimal action at the root node approaching 0 with a polynomial rate $\textstyle { \dot { O } } ( { \frac { 1 } { t } } )$ , for a simulation budget $t$ (Kocsis et al., 2006; Xiao et al., 2019).
|
| 37 |
+
|
| 38 |
+
# 3 REGULARIZED MONTE-CARLO TREE SEARCH
|
| 39 |
+
|
| 40 |
+
The success of RL methods based on entropy regularization comes from their ability to achieve state-of-the-art performance in decision making and control problems, while enjoying theoretical guarantees and ease of implementation (Haarnoja et al., 2018; Schulman et al., 2015; Lee et al., 2018). However, the use of entropy regularization is MCTS is still mostly unexplored, although its advantageous exploration and value function estimation would be desirable to reduce the detrimental effect of high-branching factor in AlphaGo and AlphaZero. To the best of our knowledge, the MENTS algorithm (Xiao et al., 2019) is the first and only method to combine MCTS and entropy regularization. In particular, MENTS uses a maximum entropy regularizer in AlphaGo, proving an exponential convergence rate to the solution of the respective softmax objective function and achieving state-of-the-art performance in some Atari games (Bellemare et al., 2013). In the following, motivated by the success in RL and the promising results of MENTS, we derive a unified theory of regularization in MCTS based on the Legendre-Fenchel transform (Geist et al., 2019), that generalizes the use of maximum entropy of MENTS to an arbitrary convex regularizer. Notably, our theoretical framework enables to rigorously motivate the advantages of using maximum entropy and other entropy-based regularizers, such as relative entropy or Tsallis entropy, drawing connections with their RL counterparts TRPO (Schulman et al., 2015) and Sparse DQN (Lee et al., 2018), as MENTS does with Soft Actor-Critic (SAC) (Haarnoja et al., 2018).
|
| 41 |
+
|
| 42 |
+
# 3.1 LEGENDRE-FENCHEL TRANSFORM
|
| 43 |
+
|
| 44 |
+
Consider an MDP $\mathcal { M } = \langle \mathcal { S } , \mathcal { A } , \mathcal { R } , \mathcal { P } , \gamma \rangle$ , as previously defined. Let $\Omega : \Pi \mathbb { R }$ be a strongly convex function. For a policy $\pi _ { s } = \pi ( \cdot | s )$ and $\bar { Q } _ { s } = Q ( \bar { s } , \cdot ) \in \mathbb { R } ^ { 4 }$ , the Legendre-Fenchel transform (or convex conjugate) of $\Omega$ is $\Omega ^ { * } : \mathbb { R } ^ { A } \xrightarrow [ ] { } \mathbb { R }$ , defined as:
|
| 45 |
+
|
| 46 |
+
$$
|
| 47 |
+
\Omega ^ { \ast } ( Q _ { s } ) \triangleq \operatorname* { m a x } _ { \pi _ { s } \in \Pi _ { s } } \mathcal { T } _ { \pi _ { s } } Q _ { s } - \tau \Omega ( \pi _ { s } ) ,
|
| 48 |
+
$$
|
| 49 |
+
|
| 50 |
+
where the temperature $\tau$ specifies the strength of regularization. Among the several properties of the Legendre-Fenchel transform, we use the following (Mensch & Blondel, 2018; Geist et al., 2019).
|
| 51 |
+
|
| 52 |
+
Proposition 1 Let $\Omega$ be strongly convex.
|
| 53 |
+
|
| 54 |
+
• Unique maximizing argument: $\nabla \Omega ^ { * }$ is Lipschitz and satisfies
|
| 55 |
+
|
| 56 |
+
$$
|
| 57 |
+
\nabla \Omega ^ { * } ( Q _ { s } ) = \arg \operatorname* { m a x } _ { \pi _ { s } \in \Pi _ { s } } \mathcal { T } _ { \pi _ { s } } Q _ { s } - \tau \Omega ( \pi _ { s } ) .
|
| 58 |
+
$$
|
| 59 |
+
|
| 60 |
+
• Boundedness: if there are constants $L _ { \Omega }$ and $U _ { \Omega }$ such that for all $\pi _ { s } \in \Pi _ { s }$ , we have $L _ { \Omega } \leq$ $\Omega ( \pi _ { s } ) \leq U _ { \Omega }$ , then
|
| 61 |
+
|
| 62 |
+
$$
|
| 63 |
+
\operatorname* { m a x } _ { a \in \mathcal { A } } Q _ { s } ( a ) - \tau U _ { \Omega } \le \Omega ^ { * } ( Q _ { s } ) \le \operatorname* { m a x } _ { a \in \mathcal { A } } Q _ { s } ( a ) - \tau L _ { \Omega } .
|
| 64 |
+
$$
|
| 65 |
+
|
| 66 |
+
• Contraction: for any $Q _ { 1 } , Q _ { 2 } \in \mathbb { R } ^ { S \times A }$
|
| 67 |
+
|
| 68 |
+
$$
|
| 69 |
+
\parallel \Omega ^ { * } ( Q _ { 1 } ) - \Omega ^ { * } ( Q _ { 2 } ) \parallel _ { \infty } \leq \gamma \parallel Q _ { 1 } - Q _ { 2 } \parallel _ { \infty } .
|
| 70 |
+
$$
|
| 71 |
+
|
| 72 |
+
Although the Legendre-Fenchel transform $\Omega ^ { * }$ applies to every strongly convex function, for the purpose of this work we only consider a representative set of entropic regularizers.
|
| 73 |
+
|
| 74 |
+
# 3.2 REGULARIZED BACKUP AND TREE POLICY
|
| 75 |
+
|
| 76 |
+
In MCTS, each node of the tree represents a state $s \in S$ and contains a visitation count $N ( s , a )$ . Given a trajectory, we define $n \big ( s _ { T } \big )$ as the leaf node corresponding to the reached state $s _ { T }$ . Let $s _ { 0 } , a _ { 0 } , s _ { 1 } , a _ { 1 } . . . , s _ { T }$ be the state action trajectory in a simulation, where $n { \left( { { s _ { T } } } \right) }$ is a leaf node of $\tau$ . Whenever a node $n { \left( { { s _ { T } } } \right) }$ is expanded, the respective action values (Equation 6) are initialized as $Q _ { \Omega } ( s _ { T } , a ) = 0$ , and $\dot { N } ( \dot { s } _ { T } , a ) = 0$ for all $a \in { \mathcal { A } }$ . For all nodes in the trajectory, the visitation count is updated by $N ( s _ { t } , a _ { t } ) = N ( s _ { t } , a _ { t } ) + 1$ , and the action-values by
|
| 77 |
+
|
| 78 |
+
$$
|
| 79 |
+
Q _ { \Omega } ( s _ { t } , a _ { t } ) = \left\{ \begin{array} { l l } { r ( s _ { t } , a _ { t } ) + \gamma \rho } & { \mathrm { i f ~ } t = T } \\ { r ( s _ { t } , a _ { t } ) + \gamma \Omega ^ { * } ( Q _ { \Omega } ( s _ { t + 1 } ) / \tau ) ) } & { \mathrm { i f ~ } t < T } \end{array} \right.
|
| 80 |
+
$$
|
| 81 |
+
|
| 82 |
+
where $Q _ { \Omega } ( s _ { t + 1 } ) \in \mathbb { R } ^ { A }$ with components $Q _ { \Omega } ( s _ { t + 1 } , a ) , \forall a \in \mathcal { A }$ , and $\rho$ is an estimate returned from an evaluation function computed in $s _ { T }$ , e.g. a discounted cumulative reward averaged over multiple rollouts, or the value-function of node $n ( s _ { T + 1 } )$ returned by a value-function approximator, e.g. a neural network pretrained with deep $Q$ -learning (Mnih et al., 2015), as done in (Silver et al., 2016; Xiao et al., 2019). We revisit the E2W sampling strategy limited to maximum entropy regularization (Xiao et al., 2019) and, through the use of the convex conjugate in Equation (6), we derive a novel sampling strategy that generalizes to any convex regularizer
|
| 83 |
+
|
| 84 |
+
$$
|
| 85 |
+
\pi _ { t } ( a _ { t } | s _ { t } ) = ( 1 - \lambda _ { s _ { t } } ) \nabla \Omega ^ { \ast } ( Q _ { \Omega } ( s _ { t } ) / \tau ) ( a _ { t } ) + \frac { \lambda _ { s _ { t } } } { | \mathcal { A } | } ,
|
| 86 |
+
$$
|
| 87 |
+
|
| 88 |
+
where $\lambda _ { s _ { t } } = \epsilon | \boldsymbol { \mathcal { A } } | \big / \mathrm { l o g } ( \sum _ { a } N ( s _ { t } , a ) + 1 )$ with $\epsilon > 0$ as an exploration parameter, and $\nabla \Omega ^ { * }$ depends on the measure in use (see Table 1 for maximum, relative, and Tsallis entropy). We call this sampling strategy Extended Empirical Exponential Weight (E3W) to highlight the extension of E2W from maximum entropy to a generic convex regularizer.
|
| 89 |
+
|
| 90 |
+
# 3.3 CONVERGENCE RATE TO REGULARIZED OBJECTIVE
|
| 91 |
+
|
| 92 |
+
We show that the regularized value $V _ { \Omega }$ can be effectively estimated at the root state $s \in { \mathcal { S } }$ , with the assumption that each node in the tree has a $\sigma ^ { 2 }$ -subgaussian distribution. This result extends the analysis provided in (Xiao et al., 2019), which is limited to the use of maximum entropy.
|
| 93 |
+
|
| 94 |
+
Theorem 1 At the root node s where $N ( s )$ is the number of visitations, with $\epsilon > 0$ , $V _ { \Omega } ( s )$ is the estimated value, with constant $C$ and $\hat { C }$ , we have
|
| 95 |
+
|
| 96 |
+
$$
|
| 97 |
+
\mathbb { P } ( | V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) | > \epsilon ) \le C \exp \{ - \frac { N ( s ) \epsilon } { \hat { C } \sigma ( \log ( 2 + N ( s ) ) ) ^ { 2 } } \} ,
|
| 98 |
+
$$
|
| 99 |
+
|
| 100 |
+
where $V _ { \Omega } ( s ) = \Omega ^ { * } ( Q _ { s } )$ and $V _ { \Omega } ^ { * } ( s ) = \Omega ^ { * } ( Q _ { s } ^ { * } )$ . From this theorem, we obtain that the convergence rate of choosing the best action $a ^ { * }$ at the root node, when using the E3W strategy, is exponential.
|
| 101 |
+
|
| 102 |
+
Theorem 2 Let $a _ { t }$ be the action returned by E3W at step t. For large enough t and constants $C , { \hat { C } }$
|
| 103 |
+
|
| 104 |
+
$$
|
| 105 |
+
\mathbb { P } ( a _ { t } \neq a ^ { * } ) \leq C t \exp \{ - \frac { t } { \hat { C } \sigma ( \log ( t ) ) ^ { 3 } } \} .
|
| 106 |
+
$$
|
| 107 |
+
|
| 108 |
+
# 4 ENTROPY-REGULARIZATION BACKUP OPERATORS
|
| 109 |
+
|
| 110 |
+
From the introduction of a unified view of generic strongly convex regularizers as backup operators in MCTS, we narrow the analysis to entropy-based regularizers. For each entropy function, Table 1 shows the Legendre-Fenchel transform and the maximizing argument, which can be respectively replaced in our backup operation (Equation 6) and sampling strategy E3W (Equation 7). Using maximum entropy retrieves the maximum entropy MCTS problem introduced in the MENTS algorithm (Xiao et al., 2019). This approach closely resembles the maximum entropy RL framework used to encourage exploration (Haarnoja et al., 2018; Schulman et al., 2017a). We introduce two novel MCTS algorithms based on the minimization of relative entropy of the policy update, inspired by trust-region (Schulman et al., 2015) and proximal optimization methods (Schulman et al., 2017b) in RL, and on the maximization of Tsallis entropy, which has been more recently introduced in RL as an effective solution to enforce the learning of sparse policies (Lee et al., 2018). We call these algorithms RENTS and TENTS. Contrary to maximum and relative entropy, the definition of the
|
| 111 |
+
|
| 112 |
+
Legendre-Fenchel and maximizing argument of Tsallis entropy is non-trivial, being
|
| 113 |
+
|
| 114 |
+
$$
|
| 115 |
+
\begin{array} { r l } & { ~ \Omega ^ { * } ( Q _ { t } ) = \tau \cdot \mathrm { s p m a x } ( Q _ { t } ( s , \cdot ) / \tau ) , } \\ & { ~ \nabla \Omega ^ { * } ( Q _ { t } ) = \operatorname* { m a x } \Bigg ( \displaystyle \frac { Q _ { t } ( s , a ) } { \tau } - \displaystyle \frac { \sum _ { a \in { \mathcal { K } } } Q _ { t } ( s , a ) / \tau - 1 } { | { \mathcal { K } } | } , 0 \Bigg ) , } \end{array}
|
| 116 |
+
$$
|
| 117 |
+
|
| 118 |
+
where spmax is defined for any function $f : \mathcal { S } \times \mathcal { A } \mathbb { R }$ as
|
| 119 |
+
|
| 120 |
+
$$
|
| 121 |
+
\operatorname { s p m a x } ( f ( s , \cdot ) ) \triangleq \sum _ { a \in { \mathcal { K } } } \left( { \frac { f ( s , a ) ^ { 2 } } { 2 } } - { \frac { ( \sum _ { a \in { \mathcal { K } } } f ( s , a ) - 1 ) ^ { 2 } } { 2 | K | ^ { 2 } } } \right) + { \frac { 1 } { 2 } } ,
|
| 122 |
+
$$
|
| 123 |
+
|
| 124 |
+
and $\kappa$ is the set of actions that satisfy $\begin{array} { r } { 1 + i f ( s , a _ { i } ) > \sum _ { j = 1 } ^ { i } f ( s , a _ { j } ) } \end{array}$ , with $a _ { i }$ indicating the action with the $i$ -th largest value of $f ( s , a )$ (Lee et al., 2018).
|
| 125 |
+
|
| 126 |
+
Table 1: List of entropy regularizers with Legendre-Fenchel transforms and maximizing arguments.
|
| 127 |
+
|
| 128 |
+
<table><tr><td>Entropy</td><td>Regularizer Ω2(πs)</td><td>Legendre-Fenchel Ω*(Q s)</td><td> Max argument VΩ*(Qs)</td></tr><tr><td rowspan="2">Maximum</td><td rowspan="2">∑π(a|s)logπ(a|s)</td><td>log∑e Q(s,a) T</td><td>Q(s,a) e T</td></tr><tr><td>Qt(s,a)</td><td>Ωe Q(s,b) T Qt(s,a)</td></tr><tr><td rowspan="2">Relative</td><td rowspan="2">DkL(πt(a|s)llπt-1(a|s))log∑aTt-1(als)e</td><td rowspan="2">T</td><td>Tt-1(a|s)e T</td></tr><tr><td>∑Tt-1(b|s)e Qt(s,b) T</td></tr><tr><td>Tsallis</td><td>( π(a|s) -1)</td><td>Equation (10)</td><td>Equation (11)</td></tr></table>
|
| 129 |
+
|
| 130 |
+
# 4.1 REGRET ANALYSIS
|
| 131 |
+
|
| 132 |
+
At the root node, let each children node $i$ be assigned with a random variable $X _ { i }$ , with mean value $V _ { i }$ , while the quantities related to the optimal branch are denoted by $^ *$ , e.g. mean value $V ^ { * }$ . At each nthe root node, at timestep n, is defined as RUCTn = nV ∗ − Pnt=1 Vit . Similarly, we define the regret timestep $n$ , the mean value of variable $X _ { i }$ is $V _ { i _ { n } }$ . The pseudo-regret (Coquelin $\&$ Munos, 2007) at of $\mathrm { E } 3 \mathrm { W }$ at the root node of the tree as
|
| 133 |
+
|
| 134 |
+
$$
|
| 135 |
+
R _ { n } = n V ^ { * } - \sum _ { t = 1 } ^ { n } V _ { i _ { t } } = n V ^ { * } - \sum _ { t = 1 } ^ { n } \mathbb { I } ( i _ { t } = i ) V _ { i _ { t } } = n V ^ { * } - \sum _ { i } V _ { i } \sum _ { t = 1 } ^ { n } { \hat { \pi } } _ { t } ( a _ { i } | s ) ,
|
| 136 |
+
$$
|
| 137 |
+
|
| 138 |
+
where $\hat { \pi } _ { t } ( \cdot )$ is the policy at time step $t$ , and $\mathbb { I } ( \cdot )$ is the indicator function.
|
| 139 |
+
|
| 140 |
+
Theorem 3 Let $\begin{array} { r } { \kappa _ { i } = \nabla \Omega ^ { * } ( a _ { i } | s ) + \frac { L } { p } \sqrt { \dot { C } \sigma ^ { 2 } \log \frac { C } { \delta } } / 2 n _ { i } } \end{array}$ , and $\begin{array} { r } { \chi _ { i } = \nabla \Omega ^ { * } ( a _ { i } | s ) - \frac { L } { p } \sqrt { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } / 2 n } , } \end{array}$ where $\nabla \Omega ^ { * } ( . | s )$ is the policy with respect to the mean value vector $V ( \cdot )$ at the root node s. For any $\delta > 0$ , with probability at least $1 - \delta$ , ∃ constant $L , p , C , { \hat { C } }$ so that the pseudo regret $R _ { n }$ satisfies
|
| 141 |
+
|
| 142 |
+
$$
|
| 143 |
+
n V ^ { * } - n \sum _ { i } V _ { i } \Big ( \kappa _ { i } + \frac { L } { p } \big ( \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \gamma } \big ) \Big ) \leq R _ { n } \leq n V ^ { * } - n \sum _ { i } V _ { i } \Big ( \chi _ { i } - \frac { L } { p } \big ( \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \gamma } \big ) \Big ) .
|
| 144 |
+
$$
|
| 145 |
+
|
| 146 |
+
This theorem provides bounds for the regret of E3W using a generic convex regularizer $\Omega$ ; thus, we can easily retrieve from it the regret bound for each entropy regularizer. Let $\begin{array} { r } { m = \operatorname* { m i n } _ { a } \nabla \Omega ^ { * } ( a | s ) } \end{array}$ .
|
| 147 |
+
|
| 148 |
+
Corollary 1 Maximum entropy: $\begin{array} { r } { n V ^ { * } - \tilde { n } \sum _ { i } V _ { i } \Big ( \kappa _ { i } + L \big ( \frac { \tau \log | A | } { 1 - \gamma } \big ) \Big ) \leq R _ { n } \leq n V ^ { * } - n \sum _ { i } V _ { i } \Big ( \chi _ { i } - L \big ( \frac { \tau \log | A | } { 1 - \gamma } \big ) \Big ) . } \end{array}$
|
| 149 |
+
|
| 150 |
+
$\begin{array} { r } { n V ^ { * } - \tilde { n } \sum _ { i } V _ { i } \Big ( \kappa _ { i } + L \big ( \frac { \tau ^ { \langle \log | A | - \frac { 1 } { m } \rangle } } { 1 - \gamma } \big ) \Big ) \leq R _ { n } \leq n V ^ { * } - n \sum _ { i } V _ { i } \Big ( \chi _ { i } - L \big ( \frac { \tau ( \log | A | - \frac { 1 } { m } ) } { 1 - \gamma } \big ) \Big ) . } \end{array}$
|
| 151 |
+
|
| 152 |
+
# Corollary 3 Tsallis entropy:
|
| 153 |
+
|
| 154 |
+
$$
|
| 155 |
+
\begin{array} { r } { n V ^ { * } - n \sum _ { i } V _ { i } \Big ( \kappa _ { i } + \frac { L } { 2 } \big ( \frac { | A | - 1 } { 2 | A | } \frac { \tau } { 1 - \gamma } \big ) \Big ) \leq R _ { n } \leq n V ^ { * } - n \sum _ { i } V _ { i } \Big ( \chi _ { i } - \frac { L } { 2 } \big ( \frac { | A | - 1 } { 2 | A | } \frac { \tau } { 1 - \gamma } \big ) \Big ) . } \end{array}
|
| 156 |
+
$$
|
| 157 |
+
|
| 158 |
+
Remarks. The regret bound of UCT and its variance have already been analyzed for nonregularized MCTS with binary tree (Coquelin & Munos, 2007). On the contrary, our regret bound analysis in Theorem 3 applies to generic regularized MCTS. From the specialized bounds in the corollaries, we observe that the maximum and relative entropy share similar results, although the bounds for relative entropy are slightly smaller due to $\textstyle { \frac { 1 } { m } }$ . Remarkably, the bounds for Tsallis entropy become tighter for increasing number of actions, which translates in limited regret in problems with high branching factor. This result establishes the advantage of Tsallis entropy in complex problems w.r.t. to other entropy regularizers, as empirically confirmed by the positive results in several Atari games described in Section 5.
|
| 159 |
+
|
| 160 |
+
# 4.2 ERROR ANALYSIS
|
| 161 |
+
|
| 162 |
+
We analyse the error of the regularized value estimate at the root node $n ( s )$ w.r.t. the optimal value: $\varepsilon _ { \Omega } = \dot { V _ { \Omega } } ( s ) - \dot { V ^ { \ast } } ( s )$ .
|
| 163 |
+
|
| 164 |
+
Theorem 4 For any $\delta > 0$ and generic convex regularizer $\Omega$ , with some constant $C , { \hat { C } }$ , with probability at least $1 - \delta$ , $\varepsilon _ { \Omega }$ satisfies
|
| 165 |
+
|
| 166 |
+
$$
|
| 167 |
+
- \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } - \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \gamma } \leq \varepsilon _ { \Omega } \leq \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } .
|
| 168 |
+
$$
|
| 169 |
+
|
| 170 |
+
To give a better understanding of the effect of each entropy regularizer in Table 1, we specialize the bound in Equation 14 to each of them. From (Lee et al., 2018), we know that for maximum entropy $\begin{array} { r } { \Omega ( { \boldsymbol \pi } _ { t } ) \stackrel { - } { = } \sum _ { a } \pi _ { t } \log \pi _ { t } } \end{array}$ , we have $- \log | \mathcal { A } | \ \leq \ \Omega ( \pi _ { t } ) \ \leq \ 0$ ; for relative entropy $\Omega ( \pi _ { t } ) =$ $\mathrm { K L } ( \pi _ { t } | | \pi _ { t - 1 } )$ , if we define $m = \mathrm { m i n } _ { a } \pi _ { t - 1 } ( a | s )$ , then we can derive $0 \leq \Omega ( \pi _ { t } ) \leq - \log | \mathcal { A } | +$ $\log { \frac { 1 } { m } }$ ; and for Tsallis entropy $\Omega ( \pi _ { t } ) = { \textstyle { \frac { 1 } { 2 } } } ( \parallel \pi _ { t } \parallel _ { 2 } ^ { 2 } - 1 )$ , we have $- \frac { | \ r _ { A } | - 1 } { 2 | \ r _ { A } | } \le \Omega ( \pi _ { t } ) \le 0$ . Then,
|
| 171 |
+
|
| 172 |
+
Corollary 5 relative entropy error: − $- \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log { \frac { C } { \delta } } } { 2 N ( s ) } } - \frac { \tau ( \log | A | - \log \frac { 1 } { m } ) } { 1 - \gamma } \leq \varepsilon _ { \Omega } \leq \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } .$
|
| 173 |
+
|
| 174 |
+
Corollary 6 Tsallis entropy error: $- \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } - \frac { | A | - 1 } { 2 | A | } \frac { \tau } { 1 - \gamma } \leq \varepsilon _ { \Omega } \leq \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } .$
|
| 175 |
+
|
| 176 |
+
These results show that when the number of actions $| { \cal { A } } |$ is large, TENTS enjoys the smallest error;
|
| 177 |
+
moreover, we also see that lower bound of RENTS is always smaller than for MENTS.
|
| 178 |
+
|
| 179 |
+
# 5 EMPIRICAL EVALUATION
|
| 180 |
+
|
| 181 |
+
In this section, we empirically evaluate the benefit of the proposed entropy-based MCTS regularizers. First, we complement our theoretical analysis with an empirical study of the synthetic tree toy problem introduced in Xiao et al. (2019), which serves as a simple scenario to give an interpretable demonstration of the effects of our theoretical results in practice. Second, we compare to AlphaGo and AlphaZero (Silver et al., 2016; 2017a), recently introduced to enable MCTS to solve large scale problems with high branching factor. Our implementation is a simplified version of the original algorithms, where we remove various tricks in favor of better interpretability. For the same reason, we do not compare with the most recent and state-of-the-art variant of AlphaZero known as MuZero (Schrittwieser et al., 2019), as this is a slightly different solution highly tuned to maximize performance, and a detailed description of its implementation is not available.
|
| 182 |
+
|
| 183 |
+
# 5.1 SYNTHETIC TREE
|
| 184 |
+
|
| 185 |
+
This toy problem is introduced in Xiao et al. (2019) to highlight the improvement of MENTS over UCT. It consists of a tree with branching factor $k$ and depth $d$ . Each edge of the tree is assigned a random value between 0 and 1. At each leaf, a Gaussian distribution is used as an evaluation function resembling the return of random rollouts. The mean of the Gaussian distribution is the sum of the values assigned to the edges connecting the root node to the considered leaf, while the standard deviation is $\bar { \sigma } = 0 . 0 5 ^ { 1 }$ . For stability, all the means are normalized between 0 and 1. As in Xiao et al. (2019), we create 5 trees on which we perform 5 different runs in each, resulting in 25 experiments, for all the combinations of branching factor $k = \{ 2 , 4 , 6 , 8 , 1 0 , 1 2 , 1 4 , 1 6 \}$ and depth $d = \{ 1 , 2 , 3 , 4 , 5 \}$ , computing: (i) the value estimation error at the root node w.r.t. the regularized optimal value: $\begin{array} { r } { \varepsilon _ { \Omega } = V _ { \Omega } - V * ; } \end{array}$ (ii) the value estimation error at the root node w.r.t. the unregularized optimal value: $\varepsilon _ { \mathrm { U C T } } = V _ { \Omega } - V * _ { \mathrm { U C T } } $ ; (iii) the regret $R$ as in Equation (13). For a fair comparison, we use fixed $\tau = 0 . 1$ and $\epsilon = 0 . 1$ across all algorithms. Figure 1 and 2 show how UCT and each regularizer behave for different configurations of the tree. We observe that, while RENTS and MENTS converge slower for increasing tree sizes, TENTS is robust w.r.t. the size of the tree and almost always converges faster than all other methods to the respective optimal value. Notably, the optimal value of TENTS seems to be very close to the one of UCT, i.e. the optimal value of the unregularized objective, and also converges faster than the one estimated by UCT, while MENTS and RENTS are considerably further from this value. In terms of regret, UCT explores less than the regularized methods and it is less prone to high regret, at the cost of slower convergence time. Nevertheless, the regret of TENTS is the smallest between the ones of the other regularizers, which seem to explore too much. These results show a general superiority of TENTS in this toy problem, also confirming our theoretical findings about the advantage of TENTS in terms of approximation error (Corollary 6) and regret (Corollary 3), in problems with many actions.
|
| 186 |
+
|
| 187 |
+

|
| 188 |
+
Figure 1: For each algorithm, we show the convergence of the value estimate at the root node to the respective optimal value (top), to the UCT optimal value (middle), and the regret (bottom).
|
| 189 |
+
|
| 190 |
+

|
| 191 |
+
Figure 2: For different branching factor $k$ (rows) and depth $d$ (columns), the heatmaps show: the absolute error of the value estimate at the root node after the last simulation of each algorithm w.r.t. the respective optimal value (a), and w.r.t. the optimal value of UCT (b); regret at the root node (c).
|
| 192 |
+
|
| 193 |
+

|
| 194 |
+
Figure 3: Cumulative rewards of AlphaZero with UCT and entropy-based operators, in CartPole (a) and Acrobot (b). Results are averaged over 5 and 10 seeds and show $9 5 \%$ confidence intervals.
|
| 195 |
+
|
| 196 |
+
# 5.2 ENTROPY-REGULARIZED ALPHAZERO
|
| 197 |
+
|
| 198 |
+
In its standard form, AlphaZero (Silver et al., 2017a) uses the PUCT sampling strategy, a variant of UCT (Kocsis et al., 2006) that samples actions according to the policy
|
| 199 |
+
|
| 200 |
+
$$
|
| 201 |
+
\mathit { P U C T } ( s , a ) = { Q } ( s , a ) + \epsilon { P } ( s , a ) { \frac { \sqrt { N ( s ) } } { 1 + N ( s , a ) } } ,
|
| 202 |
+
$$
|
| 203 |
+
|
| 204 |
+
where $P$ is a prior probability on action selection, and $\epsilon$ is an exploration constant. A value network and a policy network are used to compute, respectively, the action-value function $Q$ and the prior policy $P$ . We use a single neural network, with 2 hidden layers composed of 128 ELU units, and two output layer respectively for the action-value function and the policy. We run 500 AlphaZero episodes, where each episode is composed of 300 steps. A step consists of running 32 MCTS simulations from the root node, as defined in Section 2, using the action-value function computed by the value network instead of using Monte-Carlo rollouts. At the end of each cycle, the average action-value of the root node is computed and stored, the tree is expanded using the given sampling strategy, and the root node is updated with the reached node. At the end of the episode, a minibatch of 32 samples is built from the 300 stored action-values, and the network is trained with one step of gradient descent using RMSProp with learning rate 0.001. The entropy-regularized variants of AlphaZero can be simply derived replacing the average backup operator, with the desired entropy function, and replacing PUCT with E3W using the respective maximizing argument and $\epsilon = 0 . 1$ .
|
| 205 |
+
|
| 206 |
+
Cartpole and Acrobot. Figure 3 shows the cumulative reward of standard AlphaZero based on PUCT, and the three entropy-regularized variants, on the Cartpole and Acrobot discrete control problems (Brockman et al., 2016). While standard AlphaZero clearly lacks good convergence and stability, the entropy-based variants behave differently according to the problem. First, although not significantly superior, RENTS exhibits the most stable learning and faster convergence, confirming the benefit of relative entropy in control problems as already known for trust-region methods in RL (Schulman et al., 2015). Second, considering the small number of discrete actions in the problems, TENTS cannot benefit from the learning of sparse policies and shows slightly unstable learning in Cartpole, even though the overall performance is satisfying in both problems. Last, MENTS solves the problems slightly slower than RENTS, but reaches the same final performance. Although the results on these simple problems are not conclusive to assert the superiority of one method over the other, they definitely confirm the advantage of regularization in MCTS, and hint at the benefit of the use of relative entropy in control problems. Further analysis on more complex control problems will be desirable (e.g. MuJoCo (Todorov et al., 2012)), but the need to account for continuous actions, a non-trivial setting for MCTS, makes it out of the scope of this paper.
|
| 207 |
+
|
| 208 |
+
Table 2: Average score in Atari over 100 seeds per game. Bold denotes no statistically significant difference to the highest mean (t-test, $p < 0 . 0 5$ ). Bottom row shows # no difference to highest mean.
|
| 209 |
+
|
| 210 |
+
<table><tr><td></td><td>UCT</td><td>MaxMCTS</td><td>MENTS</td><td>RENTS</td><td>TENTS</td></tr><tr><td>Alien</td><td>1, 486.80</td><td>1,461.10</td><td>1, 508.60</td><td>1,547.80</td><td>1, 568.60</td></tr><tr><td>Amidar</td><td>115.62</td><td>124.92</td><td>123.30</td><td>125.58</td><td>121.84</td></tr><tr><td>Asterix</td><td>4,855.00</td><td>5,484.50</td><td>5,576.00</td><td>5,743.50</td><td>5,647.00</td></tr><tr><td>Asteroids</td><td>873.40</td><td>899.60</td><td>1,414.70</td><td>1,486.40</td><td>1,642.10</td></tr><tr><td>Atlantis</td><td>35,182.00</td><td>35,720.00</td><td>36,277.00</td><td>35,314.00</td><td>35,756.00</td></tr><tr><td>BankHeist</td><td>475.50</td><td>458.60</td><td>622.30</td><td>636.70</td><td>631.40</td></tr><tr><td>BeamRider</td><td>2,616.72</td><td>2,661.30</td><td>2,822.18</td><td>2,558.94</td><td>2,804.88</td></tr><tr><td>Breakout</td><td>303.04</td><td>296.14</td><td>309.03</td><td>300.35</td><td>316.68</td></tr><tr><td>Centipede</td><td>1, 782.18</td><td>1,728.69</td><td>2,012.86</td><td>2,253.42</td><td>2,258.89</td></tr><tr><td>DemonAttack</td><td>579.90</td><td>640.80</td><td>1,044.50</td><td>1,124.70</td><td>1,113.30</td></tr><tr><td>Enduro</td><td>129.28</td><td>124.20</td><td>128.79</td><td>134.88</td><td>132.05</td></tr><tr><td>Frostbite</td><td>1,244.00</td><td>1,332.10</td><td>2,388.20</td><td>2,369.80</td><td>2,260.60</td></tr><tr><td>Gopher</td><td>3,348.40</td><td>3,303.00</td><td>3,536.40</td><td>3,372.80</td><td>3,447.80</td></tr><tr><td>Hero</td><td>3,009.95</td><td>3,010.55</td><td>3,044.55</td><td>3,077.20</td><td>3,074.00</td></tr><tr><td>MsPacman</td><td>1,940.20</td><td>1,907.10</td><td>2,018.30</td><td>2,190.30</td><td>2,094.40</td></tr><tr><td>Phoenix</td><td>2,747.30</td><td>2,626.60</td><td>3,098.30</td><td>2,582.30</td><td>3,975.30</td></tr><tr><td>Qbert</td><td>7,987.25</td><td>8,033.50</td><td>8,051.25</td><td>8,254.00</td><td>8,437.75</td></tr><tr><td>Robotank</td><td>11.43</td><td>11.00</td><td>11.59</td><td>11.51</td><td>11.47</td></tr><tr><td>Seaquest</td><td>3,276.40</td><td>3,217.20</td><td>3,312.40</td><td>3,345.20</td><td>3,324.40</td></tr><tr><td>Solaris</td><td>895.00</td><td>923.20</td><td>1, 118.20</td><td>1,115.00</td><td>1,127.60</td></tr><tr><td>SpaceInvaders</td><td>778.45</td><td>835.90</td><td>832.55</td><td>867.35</td><td>822.95</td></tr><tr><td>WizardOfWor</td><td>685.00</td><td>666.00</td><td>1,211.00</td><td>1,241.00</td><td>1,231.00</td></tr><tr><td>#Highest mean</td><td>6/22</td><td>7/22</td><td>17/22</td><td>16/22</td><td>22/22</td></tr></table>
|
| 211 |
+
|
| 212 |
+
# 5.3 ENTROPY-REGULARIZED ALPHAGO
|
| 213 |
+
|
| 214 |
+
The learning time of AlphaZero can be slow in problems with high branching factor, due to the need of a large number of MCTS simulations for obtaining good estimates of the randomly initialized action-values. To overcome this problem, AlphaGo (Silver et al., 2016) initializes the action-values using the values retrieved from a pretrained network, which is kept fixed during the training.
|
| 215 |
+
|
| 216 |
+
Atari. Atari 2600 (Bellemare et al., 2013) is a popular benchmark for testing deep RL methodologies (Mnih et al., 2015; Van Hasselt et al., 2016; Bellemare et al., 2017) but still relatively disregarded in MCTS. We use a Deep $Q$ -Network, pretrained using the same experimental setting of Mnih et al. (2015), to initialize the action-value function of each node after expansion as $Q _ { i n i t } ^ { - } ( s , a ) = \left( Q ( s , a ) - V ( s ) \right) / \tau$ , for MENTS and TENTS, as done in Xiao et al. (2019). For RENTS we init Qi $\mathbf { \Phi } _ { n i t } ( s , a ) = \log { P _ { \mathrm { p r i o r } } ( a | s ) ) } + \left( Q ( s , a ) - V ( s ) \right) / \tau$ , where $P _ { \mathrm { p r i o r } }$ is the Boltzmann distribution induced by action-values $Q ( s , . )$ computed from the network. Each experimental run consists of 512 MCTS simulations. The temperature $\tau$ is optimized for each algorithm and game via grid-search between 0.01 and 1. The discount factor is $\gamma = 0 . 9 9$ , and for PUCT the exploration constant is $c = 0 . 1$ . Table 2 shows the performance, in terms of cumulative reward, of standard AlphaGo with PUCT and our three regularized versions, on 22 Atari games. Moreover, we test also AlphaGo using the MaxMCTS backup (Khandelwal et al., 2016) for further comparison with classic baselines. We observe that regularized MCTS dominates other baselines, in particular TENTS achieves the highest scores in all the 22 games, showing that sparse policies are more effective in Atari. This can be explained by Corollary 6 which shows that Tsallis entropy can lead to a lower error at the root node even with a high number of actions compared to relative or maximum entropy.
|
| 217 |
+
|
| 218 |
+
# 6 CONCLUSION
|
| 219 |
+
|
| 220 |
+
We introduced a theory of convex regularization in Monte-Carlo Tree Search (MCTS) based on the Legendre-Fenchel transform. Exploiting this theoretical framework, we studied the regret of MCTS when using a generic strongly convex regularizer, and we proved that it has an exponential convergence rate. We use these results to motivate the use of entropy regularization in MCTS, particularly considering maximum, relative, and Tsallis entropy. Finally, we test regularized MCTS algorithms in discrete control problems and Atari games, showing its advantages over other methods.
|
| 221 |
+
|
| 222 |
+
# REFERENCES
|
| 223 |
+
|
| 224 |
+
Peter Auer, Nicolo Cesa-Bianchi, and Paul Fischer. Finite-time analysis of the multiarmed bandit problem. Machine learning, 47(2-3):235–256, 2002.
|
| 225 |
+
|
| 226 |
+
Marc G Bellemare, Yavar Naddaf, Joel Veness, and Michael Bowling. The arcade learning environment: An evaluation platform for general agents. Journal of Artificial Intelligence Research, 47: 253–279, 2013.
|
| 227 |
+
|
| 228 |
+
Marc G Bellemare, Will Dabney, and Remi Munos. A distributional perspective on reinforcement ´ learning. In Proceedings of the 34th International Conference on Machine Learning-Volume 70, pp. 449–458. JMLR. org, 2017.
|
| 229 |
+
|
| 230 |
+
Richard Bellman. The theory of dynamic programming. Technical report, Rand corp santa monica ca, 1954.
|
| 231 |
+
|
| 232 |
+
Greg Brockman, Vicki Cheung, Ludwig Pettersson, Jonas Schneider, John Schulman, Jie Tang, and Wojciech Zaremba. Openai gym. arXiv preprint arXiv:1606.01540, 2016.
|
| 233 |
+
|
| 234 |
+
Lars Buesing, Nicolas Heess, and Theophane Weber. Approximate inference in discrete distributions with monte carlo tree search and value functions. In International Conference on Artificial Intelligence and Statistics, pp. 624–634. PMLR, 2020.
|
| 235 |
+
|
| 236 |
+
Guillaume Chaslot, Mark Winands, Jaap Van Den Herik, Jos Uiterwijk, and Bruno Bouzy. Progressive strategies for monte-carlo tree search. New Mathematics and Natural Computation, 4(03): 343–357, 2008.
|
| 237 |
+
|
| 238 |
+
Benjamin E Childs, James H Brodeur, and Levente Kocsis. Transpositions and move groups in monte carlo tree search. In 2008 IEEE Symposium On Computational Intelligence and Games. IEEE, 2008.
|
| 239 |
+
|
| 240 |
+
Pierre-Arnaud Coquelin and Remi Munos. Bandit algorithms for tree search. ´ arXiv preprint cs/0703062, 2007.
|
| 241 |
+
|
| 242 |
+
Remi Coulom. Efficient selectivity and backup operators in monte-carlo tree search. In ´ International conference on computers and games, pp. 72–83. Springer, 2006.
|
| 243 |
+
|
| 244 |
+
Matthieu Geist, Bruno Scherrer, and Olivier Pietquin. A theory of regularized markov decision processes. In International Conference on Machine Learning, pp. 2160–2169, 2019.
|
| 245 |
+
|
| 246 |
+
Sylvain Gelly and David Silver. Combining online and offline knowledge in uct. In Proceedings of the 24th international conference on Machine learning, pp. 273–280. ACM, 2007.
|
| 247 |
+
|
| 248 |
+
Sylvain Gelly and Yizao Wang. Exploration exploitation in go: Uct for monte-carlo go. In NIPS: Neural Information Processing Systems Conference On-line trading of Exploration and Exploitation Workshop, 2006.
|
| 249 |
+
|
| 250 |
+
Jean-Bastien Grill, Florent Altche, Yunhao Tang, Thomas Hubert, Michal Valko, Ioannis ´ Antonoglou, and Remi Munos. Monte-carlo tree search as regularized policy optimization. ´ arXiv preprint arXiv:2007.12509, 2020.
|
| 251 |
+
|
| 252 |
+
Tuomas Haarnoja, Aurick Zhou, Pieter Abbeel, and Sergey Levine. Soft actor-critic: Off-policy maximum entropy deep reinforcement learning with a stochastic actor. In International Conference on Machine Learning, pp. 1861–1870, 2018.
|
| 253 |
+
|
| 254 |
+
David P Helmbold and Aleatha Parker-Wood. All-moves-as-first heuristics in monte-carlo go. In IC-AI, pp. 605–610, 2009.
|
| 255 |
+
|
| 256 |
+
Jean-Baptiste Hoock, Chang-Shing Lee, Arpad Rimmel, Fabien Teytaud, Mei-Hui Wang, and Oliver Teytaud. Intelligent agents for the game of go. IEEE Computational Intelligence Magazine, 2010.
|
| 257 |
+
|
| 258 |
+
Piyush Khandelwal, Elad Liebman, Scott Niekum, and Peter Stone. On the analysis of complex backup strategies in monte carlo tree search. In International Conference on Machine Learning, 2016.
|
| 259 |
+
|
| 260 |
+
Levente Kocsis, Csaba Szepesvari, and Jan Willemson. Improved monte-carlo search, 2006. ´
|
| 261 |
+
|
| 262 |
+
Toma´s Kozelek. Methods of mcts and the game arimaa, 2009. ˇ
|
| 263 |
+
|
| 264 |
+
Kyungjae Lee, Sungjoon Choi, and Songhwai Oh. Sparse markov decision processes with causal sparse tsallis entropy regularization for reinforcement learning. IEEE Robotics and Automation Letters, 3(3):1466–1473, 2018.
|
| 265 |
+
|
| 266 |
+
Richard J Lorentz. Improving monte–carlo tree search in havannah. In International Conference on Computers and Games, pp. 105–115. Springer, 2010.
|
| 267 |
+
|
| 268 |
+
Jincheng Mei, Chenjun Xiao, Ruitong Huang, Dale Schuurmans, and Martin Muller. On princi- ¨ pled entropy exploration in policy optimization. In Proceedings of the 28th International Joint Conference on Artificial Intelligence, pp. 3130–3136. AAAI Press, 2019.
|
| 269 |
+
|
| 270 |
+
Arthur Mensch and Mathieu Blondel. Differentiable dynamic programming for structured prediction and attention. In International Conference on Machine Learning, pp. 3462–3471, 2018.
|
| 271 |
+
|
| 272 |
+
Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A Rusu, Joel Veness, Marc G Bellemare, Alex Graves, Martin Riedmiller, Andreas K Fidjeland, Georg Ostrovski, et al. Human-level control through deep reinforcement learning. Nature, 518(7540):529–533, 2015.
|
| 273 |
+
|
| 274 |
+
Volodymyr Mnih, Adria Puigdomenech Badia, Mehdi Mirza, Alex Graves, Timothy Lillicrap, Tim Harley, David Silver, and Koray Kavukcuoglu. Asynchronous methods for deep reinforcement learning. In International conference on machine learning, pp. 1928–1937, 2016.
|
| 275 |
+
|
| 276 |
+
William H Montgomery and Sergey Levine. Guided policy search via approximate mirror descent. In Advances in Neural Information Processing Systems, pp. 4008–4016, 2016.
|
| 277 |
+
|
| 278 |
+
Ofir Nachum and Bo Dai. Reinforcement learning via fenchel-rockafellar duality. CoRR, abs/2001.01866, 2020.
|
| 279 |
+
|
| 280 |
+
Vlad Niculae and Mathieu Blondel. A regularized framework for sparse and structured neural attention. In Advances in Neural Information Processing Systems, pp. 3338–3348, 2017.
|
| 281 |
+
|
| 282 |
+
Lacra Pavel. An extension of duality to a game-theoretic framework. Automatica, 43(2):226 – 237, 2007.
|
| 283 |
+
|
| 284 |
+
Gavin Adrian Rummery. Problem solving with reinforcement learning. PhD thesis, University of Cambridge Ph. D. dissertation, 1995.
|
| 285 |
+
|
| 286 |
+
Julian Schrittwieser, Ioannis Antonoglou, Thomas Hubert, Karen Simonyan, Laurent Sifre, Simon Schmitt, Arthur Guez, Edward Lockhart, Demis Hassabis, Thore Graepel, Timothy Lillicrap, and David Silver. Mastering atari, go, chess and shogi by planning with a learned model, 2019.
|
| 287 |
+
|
| 288 |
+
John Schulman, Sergey Levine, Pieter Abbeel, Michael Jordan, and Philipp Moritz. Trust region policy optimization. In International Conference on Machine Learning (ICML), pp. 1889–1897, 2015.
|
| 289 |
+
|
| 290 |
+
John Schulman, Xi Chen, and Pieter Abbeel. Equivalence between policy gradients and soft qlearning. arXiv preprint arXiv:1704.06440, 2017a.
|
| 291 |
+
|
| 292 |
+
John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017b.
|
| 293 |
+
|
| 294 |
+
Shai Shalev-Shwartz and Yoram Singer. Convex repeated games and fenchel duality. Advances in neural information processing systems, 19:1265–1272, 2006.
|
| 295 |
+
|
| 296 |
+
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, 2016.
|
| 297 |
+
|
| 298 |
+
David Silver, Thomas Hubert, Julian Schrittwieser, Ioannis Antonoglou, Matthew Lai, Arthur Guez, Marc Lanctot, Laurent Sifre, Dharshan Kumaran, Thore Graepel, et al. Mastering chess and shogi by self-play with a general reinforcement learning algorithm. arXiv preprint arXiv:1712.01815, 2017a.
|
| 299 |
+
|
| 300 |
+
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, 2017b.
|
| 301 |
+
|
| 302 |
+
Richard S Sutton and Andrew G Barto. Introduction to reinforcement learning, volume 135. MIT press Cambridge, 1998.
|
| 303 |
+
|
| 304 |
+
Gerald Tesauro, VT Rajan, and Richard Segal. Bayesian inference in monte-carlo tree search. arXiv preprint arXiv:1203.3519, 2012.
|
| 305 |
+
|
| 306 |
+
Fabien Teytaud and Olivier Teytaud. On the huge benefit of decisive moves in monte-carlo tree search algorithms. In Proceedings of the 2010 IEEE Conference on Computational Intelligence and Games, pp. 359–364. IEEE, 2010.
|
| 307 |
+
|
| 308 |
+
E. Todorov, T. Erez, and Y. Tassa. Mujoco: A physics engine for model-based control. In 2012 IEEE/RSJ International Conference on Intelligent Robots and Systems, pp. 5026–5033, 2012.
|
| 309 |
+
|
| 310 |
+
David Tom. Investigating uct and rave: Steps towards a more robust method, 2010.
|
| 311 |
+
|
| 312 |
+
Hado Van Hasselt, Arthur Guez, and David Silver. Deep reinforcement learning with double q learning. In Thirtieth AAAI conference on artificial intelligence, 2016.
|
| 313 |
+
|
| 314 |
+
Tom Vodopivec, Spyridon Samothrakis, and Branko Ster. On monte carlo tree search and reinforcement learning. Journal of Artificial Intelligence Research, 60:881–936, 2017.
|
| 315 |
+
|
| 316 |
+
Martin J Wainwright. High-dimensional statistics: A non-asymptotic viewpoint, volume 48. Cambridge University Press, 2019.
|
| 317 |
+
|
| 318 |
+
Chenjun Xiao, Ruitong Huang, Jincheng Mei, Dale Schuurmans, and Martin Muller. Maximum ¨ entropy monte-carlo planning. In Advances in Neural Information Processing Systems, pp. 9516– 9524, 2019.
|
| 319 |
+
|
| 320 |
+
Timothy Yee, Viliam Lisy, Michael H Bowling, and S Kambhampati. Monte carlo tree search in \` continuous action spaces with execution uncertainty. In IJCAI, pp. 690–697, 2016.
|
| 321 |
+
|
| 322 |
+
# A RELATED WORK
|
| 323 |
+
|
| 324 |
+
Entropy regularization is a common tool for controlling exploration in Reinforcement Learning (RL) and has lead to several successful methods (Schulman et al., 2015; Haarnoja et al., 2018; Schulman et al., 2017a; Mnih et al., 2016). Typically specific forms of entropy are utilized such as maximum entropy (Haarnoja et al., 2018) or relative entropy (Schulman et al., 2015). This approach is an instance of the more generic duality framework, commonly used in convex optimization theory. Duality has been extensively studied in game theory (Shalev-Shwartz & Singer, 2006; Pavel, 2007) and more recently in RL, for instance considering mirror descent optimization (Montgomery & Levine, 2016; Mei et al., 2019), drawing the connection between MCTS and regularized policy optimization (Grill et al., 2020), or formalizing the RL objective via Legendre-Rockafellar duality (Nachum & Dai, 2020). Recently (Geist et al., 2019) introduced regularized Markov Decision Processes, formalizing the RL objective with a generalized form of convex regularization, based on the Legendre-Fenchel transform. In this paper, we provide a novel study of convex regularization in MCTS, and derive relative entropy (KL-divergence) and Tsallis entropy regularized MCTS algorithms, i.e. RENTS and TENTS respectively. Note that the recent maximum entropy MCTS algorithm MENTS (Xiao et al., 2019) is a special case of our generalized regularized MCTS. Unlike MENTS, RENTS can take advantage of any action distribution prior, in the experiments the prior is derived using Deep $Q$ -learning (Mnih et al., 2015). On the other hand, TENTS allows for sparse action exploration and thus higher dimensional action spaces compared to MENTS. In experiments, both RENTS and TENTS outperform MENTS.
|
| 325 |
+
|
| 326 |
+
Several works focus on modifying classical MCTS to improve exploration. UCB1-tuned (Auer et al., 2002) modifies the upper confidence bound of UCB1 to account for variance in order to improve exploration. (Tesauro et al., 2012) proposes a Bayesian version of UCT, which obtains better estimates of node values and uncertainties given limited experience. Many heuristic approaches based on specific domain knowledge have been proposed, such as adding a bonus term to value estimates (Gelly & Wang, 2006; Teytaud & Teytaud, 2010; Childs et al., 2008; Kozelek, 2009; Chaslot et al., 2008) or prior knowledge collected during policy search (Gelly & Silver, 2007; Helmbold & Parker-Wood, 2009; Lorentz, 2010; Tom, 2010; Hoock et al., 2010). (Khandelwal et al., 2016) formalizes and analyzes different on-policy and off-policy complex backup approaches for MCTS planning based on RL techniques. (Vodopivec et al., 2017) proposes an approach called SARSAUCT, which performs the dynamic programming backups using SARSA (Rummery, 1995). Both (Khandelwal et al., 2016) and (Vodopivec et al., 2017) directly borrow value backup ideas from RL to estimate the value at each tree node, but they do not provide any proof of convergence.
|
| 327 |
+
|
| 328 |
+
# B PROOFS
|
| 329 |
+
|
| 330 |
+
Let $\hat { r }$ and $r$ be respectively the average and the the expected reward at the leaf node, and the reward distribution at the leaf node be $\sigma ^ { 2 }$ -sub-Gaussian.
|
| 331 |
+
|
| 332 |
+
Lemma 1 For the stochastic bandit problem E3W guarantees that, for $t \geq 4$ ,
|
| 333 |
+
|
| 334 |
+
$$
|
| 335 |
+
\mathbb { P } \big ( \mathrm { \normalfont ~ } r - \hat { r } _ { t } \mathrm { \normalfont ~ } _ { \infty } \ge \frac { 2 \sigma } { \log ( 2 + t ) } \big ) \le 4 | A | \exp \Big ( - \frac { t } { ( \log ( 2 + t ) ) ^ { 3 } } \Big ) .
|
| 336 |
+
$$
|
| 337 |
+
|
| 338 |
+
Proof 1 Let us define $N _ { t } ( a )$ as the number of times action a have been chosen until time $t$ , and Nˆt(a) = Pts=1 πs(a), where πs(a) is the E3W policy at time step s. By choosing λs = l $\begin{array} { r } { \lambda _ { s } = \frac { \left. A \right. } { \log \left( 1 + s \right) } } \end{array}$ og(1+s) , it follows that for all $a$ and $t \geq 4$ ,
|
| 339 |
+
|
| 340 |
+
$$
|
| 341 |
+
\begin{array} { l } { \displaystyle \hat { N } _ { t } ( a ) = \sum _ { s = 1 } ^ { t } \pi _ { s } ( a ) \geq \sum _ { s = 1 } ^ { t } \frac { 1 } { \log ( 1 + s ) } \geq \sum _ { s = 1 } ^ { t } \frac { 1 } { \log ( 1 + s ) } - \frac { s / ( s + 1 ) } { ( \log ( 1 + s ) ) ^ { 2 } } } \\ { \displaystyle \geq \int _ { 1 } ^ { 1 + t } \frac { 1 } { \log ( 1 + s ) } - \frac { s / ( s + 1 ) } { ( \log ( 1 + s ) ) ^ { 2 } } d s = \frac { 1 + t } { \log ( 2 + t ) } - \frac { 1 } { \log 2 } \geq \frac { t } { 2 \log ( 2 + t ) } . } \end{array}
|
| 342 |
+
$$
|
| 343 |
+
|
| 344 |
+
From Theorem $2 . I 9$ in Wainwright (2019), we have the following concentration inequality:
|
| 345 |
+
|
| 346 |
+
$$
|
| 347 |
+
\mathbb { P } ( | N _ { t } ( a ) - \hat { N } _ { t } ( a ) | > \epsilon ) \le 2 \exp \{ - \frac { \epsilon ^ { 2 } } { 2 \sum _ { s = 1 } ^ { t } \sigma _ { s } ^ { 2 } } \} \le 2 \exp \{ - \frac { 2 \epsilon ^ { 2 } } { t } \} ,
|
| 348 |
+
$$
|
| 349 |
+
|
| 350 |
+
where $\sigma _ { s } ^ { 2 } \le 1 / 4$ is the variance of a Bernoulli distribution with $p = \pi _ { s } ( k )$ at time step $s$ . We define the event
|
| 351 |
+
|
| 352 |
+
$$
|
| 353 |
+
E _ { \epsilon } = \{ \forall a \in \mathcal { A } , | \hat { N } _ { t } ( a ) - N _ { t } ( a ) | \leq \epsilon \} ,
|
| 354 |
+
$$
|
| 355 |
+
|
| 356 |
+
and consequently
|
| 357 |
+
|
| 358 |
+
$$
|
| 359 |
+
\mathbb { P } ( | \hat { N } _ { t } ( a ) - N _ { t } ( a ) | \geq \epsilon ) \leq 2 | A | \exp ( - \frac { 2 \epsilon ^ { 2 } } { t } ) .
|
| 360 |
+
$$
|
| 361 |
+
|
| 362 |
+
Conditioned on the event $E _ { \epsilon }$ , for $\begin{array} { r } { \epsilon = \frac { t } { 4 \log ( 2 + t ) } } \end{array}$ , we have $\begin{array} { r } { N _ { t } ( a ) \geq \frac { t } { 4 \log ( 2 + t ) } } \end{array}$ . For any action a by the definition of sub-gaussian,
|
| 363 |
+
|
| 364 |
+
$$
|
| 365 |
+
\mathbb { P } \Bigg ( \vert r ( a ) - \hat { r } _ { t } ( a ) \vert > \sqrt { \frac { 8 \sigma ^ { 2 } \log ( \frac { 2 } { \delta } ) \log ( 2 + t ) } { t } } \Bigg ) \leq \mathbb { P } \Bigg ( \vert r ( a ) - \hat { r } _ { t } ( a ) \vert > \sqrt { \frac { 2 \sigma ^ { 2 } \log ( \frac { 2 } { \delta } ) } { N _ { t } ( a ) } } \Bigg ) \leq \delta
|
| 366 |
+
$$
|
| 367 |
+
|
| 368 |
+
by choosing a $\delta$ satisfying $\begin{array} { r } { \log ( \frac { 2 } { \delta } ) = \frac { 1 } { ( \log ( 2 + t ) ) ^ { 3 } } } \end{array}$ , we have
|
| 369 |
+
|
| 370 |
+
$$
|
| 371 |
+
\mathbb { P } \Bigg ( | r ( a ) - \hat { r } _ { t } ( a ) | > \sqrt { \frac { 2 \sigma ^ { 2 } \log \left( \frac { 2 } { \delta } \right) } { N _ { t } ( a ) } } \Bigg ) \leq 2 \exp \Bigg ( - \frac { 1 } { ( \log ( 2 + t ) ) ^ { 3 } } \Bigg ) .
|
| 372 |
+
$$
|
| 373 |
+
|
| 374 |
+
Therefore, for $t \geq 2$
|
| 375 |
+
|
| 376 |
+
$$
|
| 377 |
+
\begin{array} { r l } & { \mathbb { P } \Bigg ( \| r - \hat { r } _ { t } \| _ { \infty } > \frac { 2 \sigma } { \log ( 2 + t ) } \Bigg ) \leq \mathbb { P } \Bigg ( \| r - \hat { r } _ { t } \| _ { \infty } > \frac { 2 \sigma } { \log ( 2 + t ) } \Bigg | E _ { \epsilon } \Bigg ) + \mathbb { P } ( E _ { \epsilon } ^ { C } ) } \\ & { \leq \displaystyle \sum _ { k } \Bigg ( \mathbb { P } \Bigg ( | r ( a ) - \hat { r } _ { t } ( a ) | > \frac { 2 \sigma } { \log ( 2 + t ) } \Bigg ) + \mathbb { P } ( E _ { \epsilon } ^ { C } ) \leq 2 | A | \exp \Bigg ( - \frac { 1 } { ( \log ( 2 + t ) ) ^ { 3 } } \Bigg ) \Bigg ) } \\ & { + 2 | A | \exp \Bigg ( - \frac { t } { ( \log ( 2 + t ) ) ^ { 3 } } \Bigg ) = 4 | A | \exp \Bigg ( - \frac { t } { ( \log ( 2 + t ) ) ^ { 3 } } \Bigg ) . } \end{array}
|
| 378 |
+
$$
|
| 379 |
+
|
| 380 |
+
Lemma 2 Given two policies $\pi ^ { ( 1 ) } = \nabla \Omega ^ { * } ( r ^ { ( 1 ) } )$ and $\pi ^ { ( 2 ) } = \nabla \Omega ^ { * } ( r ^ { ( 2 ) } ) , \exists L ,$ , such that
|
| 381 |
+
|
| 382 |
+
$$
|
| 383 |
+
\parallel \pi ^ { ( 1 ) } - \pi ^ { ( 2 ) } \parallel _ { p } \leq L \parallel r ^ { ( 1 ) } - r ^ { ( 2 ) } \parallel _ { p } .
|
| 384 |
+
$$
|
| 385 |
+
|
| 386 |
+
Proof 2 This comes directly from the fact that $\pi = \nabla \Omega ^ { * } ( r )$ is Lipschitz continuous with $\ell ^ { p \ }$ -norm. Note that $p$ has different values according to the choice of regularizer. Refer to Niculae & Blondel (2017) for a discussion of each norm using Shannon entropy and Tsallis entropy regularizer. Relative entropy shares the same Properties with Shannon Entropy.
|
| 387 |
+
|
| 388 |
+
Lemma 3 Consider the E3W policy applied to a tree. At any node s of the tree with depth $d _ { \mathrm { { z } } }$ , Let us define $N _ { t } ^ { * } ( s , a ) = \pi ^ { * } ( a | s ) . t$ , and $\begin{array} { r } { \hat { N } _ { t } ( s , a ) = \sum _ { s = 1 } ^ { t } \pi _ { s } ( a | s ) } \end{array}$ , where $\pi _ { k } ( a | s )$ is the policy at time step $k$ . There exists some $C$ and $\hat { C }$ such that
|
| 389 |
+
|
| 390 |
+
$$
|
| 391 |
+
\mathbb { P } \big ( | \hat { N } _ { t } ( s , a ) - N _ { t } ^ { * } ( s , a ) | > \frac { C t } { \log t } \big ) \leq \hat { C } | A | t \exp \{ - \frac { t } { ( \log t ) ^ { 3 } } \} .
|
| 392 |
+
$$
|
| 393 |
+
|
| 394 |
+
Proof 3 We denote the following event,
|
| 395 |
+
|
| 396 |
+
$$
|
| 397 |
+
E _ { r _ { k } } = \{ \| r ( s ^ { \prime } , . ) - { \hat { r } } _ { k } ( s ^ { \prime } , . ) \| _ { \infty } < { \frac { 2 \sigma } { \log ( 2 + k ) } } \} .
|
| 398 |
+
$$
|
| 399 |
+
|
| 400 |
+
Thus, conditioned on the event $\textstyle \bigcap _ { i = 1 } ^ { t } E _ { r _ { t } }$ and for $t \geq 4 ,$ , we bound $\vert \hat { N } _ { t } ( s , a ) - N _ { t } ^ { \ast } ( s , a ) \vert$ as
|
| 401 |
+
|
| 402 |
+
$$
|
| 403 |
+
\begin{array} { r l } { \sum _ { k \in \partial _ { s } } \sum _ { i = 1 } ^ { N } \sum _ { j = 1 } ^ { N } \sum _ { k = 0 } ^ { N } \exp _ { i } ^ { - \beta } \sum _ { k = 0 } ^ { N } ( k ) \sum _ { k = 1 } ^ { N } \exp _ { i } ^ { - \beta } ( k ) \sum _ { k = 1 } ^ { N } \exp _ { i } ^ { - \beta } ( k ) \sum _ { k = 1 } ^ { N } } & { } \\ & { \leq \sum _ { k = 1 } ^ { N } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } ( k ) \exp _ { i } ^ { - \beta } \sum _ { k = 1 } ^ { N } } \\ & { \leq \sum _ { k = 1 } ^ { N } \sum _ { i = 0 } ^ { N } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \sum _ { k = 1 } ^ { N } } \\ & { \leq \sum _ { k = 1 } ^ { N } \sum _ { i = 0 } ^ { N } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \sum _ { k = 1 } ^ { N } \sum _ { i = 0 } ^ { N } \exp _ { i } ^ { - \beta } } \\ & \leq \sum _ { k = 1 } ^ { N } \sum _ { i = 0 } ^ { N } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \sum _ { k = 1 } ^ { N } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \sum _ { k = 1 } ^ { N } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \sum _ { k = 1 } ^ { N } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ { - \beta } \exp _ { i } ^ - \beta \end{array}
|
| 404 |
+
$$
|
| 405 |
+
|
| 406 |
+
for some constant $C$ depending on $| A | , p , d , \sigma , L$ , and $\gamma$ . Finally,
|
| 407 |
+
|
| 408 |
+
$$
|
| 409 |
+
\begin{array} { r l } { { \mathbb { P } ( | \hat { N _ { t } } ( s , a ) - N _ { t } ^ { * } ( s , a ) | \geq \frac { C t } { \log t } ) \leq \sum _ { i = 1 } ^ { t } \mathbb { P } ( E _ { r _ { t } } ^ { c } ) = \displaystyle \sum _ { i = 1 } ^ { t } 4 | A | \exp ( - \frac { t } { ( \log ( 2 + t ) ) ^ { 3 } } ) } } \\ & { \leq 4 | A | t \exp ( - \frac { t } { ( \log ( 2 + t ) ) ^ { 3 } } ) } \\ & { = O ( t \exp ( - \frac { t } { ( \log ( t ) ) ^ { 3 } } ) ) . } \end{array}
|
| 410 |
+
$$
|
| 411 |
+
|
| 412 |
+
Lemma 4 Consider the $E 3 W$ policy applied to a tree. $A t$ any node s of the tree, Let us define $N _ { t } ^ { * } ( s , a ) = \pi ^ { * } ( a | s ) . t$ , and $N _ { t } ( s , a )$ as the number of times action $a$ have been chosen until time step $t$ . There exists some $C$ and $\hat { C }$ such that
|
| 413 |
+
|
| 414 |
+
$$
|
| 415 |
+
\mathbb { P } \big ( | N _ { t } ( s , a ) - N _ { t } ^ { * } ( s , a ) | > \frac { C t } { \log t } \big ) \le \hat { C } t \exp \{ - \frac { t } { ( \log t ) ^ { 3 } } \} .
|
| 416 |
+
$$
|
| 417 |
+
|
| 418 |
+
Proof 4 Based on the result from Lemma $^ 3$ , we have
|
| 419 |
+
|
| 420 |
+
$$
|
| 421 |
+
\begin{array} { r l } & { \mathbb { P } \big ( | N _ { t } ( s , a ) - N _ { t } ^ { * } ( s , a ) | > ( 1 + C ) \displaystyle \frac { t } { \log t } \big ) \leq C t \exp \{ - \displaystyle \frac { t } { ( \log t ) ^ { 3 } } \} } \\ & { \leq \mathbb { P } \big ( | \hat { N } _ { t } ( s , a ) - N _ { t } ^ { * } ( s , a ) | > \displaystyle \frac { C t } { \log t } \big ) + \mathbb { P } \big ( | N _ { t } ( s , a ) - \hat { N } _ { t } ( s , a ) | > \displaystyle \frac { t } { \log t } \big ) } \\ & { \leq 4 | A | t \exp \{ - \displaystyle \frac { t } { ( \log ( 2 + t ) ) ^ { 3 } } \} + 2 | A | \exp \{ - \displaystyle \frac { t } { ( \log ( 2 + t ) ) ^ { 2 } } \} ( L e m m a 3 a n d ( \log ( 2 + t ) ) ) } \\ & { \leq O ( t \exp ( - \displaystyle \frac { t } { ( \log t ) ^ { 3 } } ) ) . } \end{array}
|
| 422 |
+
$$
|
| 423 |
+
|
| 424 |
+
Theorem 1 At the root node s of the tree, defining $N ( s )$ as the number of visitations and $V _ { \Omega ^ { * } } ( s )$ as the estimated value at node $s$ , for $\epsilon > 0$ , we have
|
| 425 |
+
|
| 426 |
+
$$
|
| 427 |
+
\mathbb { P } ( | V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) | > \epsilon ) \le C \exp \{ - \frac { N ( s ) \epsilon } { \hat { C } ( \log ( 2 + N ( s ) ) ) ^ { 2 } } \} .
|
| 428 |
+
$$
|
| 429 |
+
|
| 430 |
+
Proof 5 We prove this concentration inequality by induction. When the depth of the tree is $D = 1$ , from Proposition $^ { l }$ , we get
|
| 431 |
+
|
| 432 |
+
$$
|
| 433 |
+
\left| V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) \right| = \mid \Omega ^ { * } ( Q _ { \Omega } ( s , . ) ) - \Omega ^ { * } ( Q _ { \Omega } ^ { * } ( s , . ) ) \mid \mid _ { \infty } \le \gamma \mid \mid \hat { r } - r ^ { * } \mid _ { \infty } ( C o n t r a c t i o n )
|
| 434 |
+
$$
|
| 435 |
+
|
| 436 |
+
where $\hat { r }$ is the average rewards and $r ^ { * }$ is the mean reward. So that
|
| 437 |
+
|
| 438 |
+
$$
|
| 439 |
+
\mathbb { P } ( | V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) | > \epsilon ) \le \mathbb { P } ( \gamma \parallel \hat { r } - r ^ { * } \parallel _ { \infty } > \epsilon ) .
|
| 440 |
+
$$
|
| 441 |
+
|
| 442 |
+
From Lemma $^ { l }$ , with $\begin{array} { r } { \epsilon = \frac { 2 \sigma \gamma } { \log ( 2 + N ( s ) ) } } \end{array}$ , we have
|
| 443 |
+
|
| 444 |
+
$$
|
| 445 |
+
\begin{array} { r l } & { \mathbb { P } ( | V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) | > \epsilon ) \le \mathbb { P } ( \gamma \parallel \hat { r } - r ^ { * } \parallel _ { \infty } > \epsilon ) \le 4 | A | \exp \{ - \frac { N ( s ) \epsilon } { 2 \sigma \gamma ( \log ( 2 + N ( s ) ) ) ^ { 2 } } \} } \\ & { \quad \quad \quad = C \exp \{ - \frac { N ( s ) \epsilon } { \hat { C } ( \log ( 2 + N ( s ) ) ) ^ { 2 } } \} . } \end{array}
|
| 446 |
+
$$
|
| 447 |
+
|
| 448 |
+
Let assume we have the concentration bound at the depth $D - 1$ , Let us define $V _ { \Omega } ( s _ { a } ) = Q _ { \Omega } ( s , a )$ , where $s _ { a }$ is the state reached taking action $a$ from state s. then at depth $D - 1$
|
| 449 |
+
|
| 450 |
+
$$
|
| 451 |
+
\mathbb { P } ( | V _ { \Omega } ( s _ { a } ) - V _ { \Omega } ^ { * } ( s _ { a } ) | > \epsilon ) \le C \exp \{ - \frac { N ( s _ { a } ) \epsilon } { \hat { C } ( \log ( 2 + N ( s _ { a } ) ) ) ^ { 2 } } \} .
|
| 452 |
+
$$
|
| 453 |
+
|
| 454 |
+
Now at the depth $D$ , because of the Contraction Property, we have
|
| 455 |
+
|
| 456 |
+
$$
|
| 457 |
+
\begin{array} { r l } & { | V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) | \leq \gamma \parallel Q _ { \Omega } ( s , . ) - Q _ { \Omega } ^ { * } ( s , . ) \parallel _ { \infty } } \\ & { \qquad = \gamma | Q _ { \Omega } ( s , a ) - Q _ { \Omega } ^ { * } ( s , a ) | . } \end{array}
|
| 458 |
+
$$
|
| 459 |
+
|
| 460 |
+
So that
|
| 461 |
+
|
| 462 |
+
$$
|
| 463 |
+
\begin{array} { r l r } & { } & { { \mathbb { P } } ( | V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) | > \epsilon ) \leq { \mathbb { P } } ( \gamma \parallel Q _ { \Omega } ( s , a ) - Q _ { \Omega } ^ { * } ( s , a ) \parallel > \epsilon ) } \\ & { } & { \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad } \\ & { } & { \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad } \\ & { } & { \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad } \\ & { } & { \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \hat { C } _ { a } ( \log ( 2 + N ( s ) ) ) ^ { 2 } } \end{array}
|
| 464 |
+
$$
|
| 465 |
+
|
| 466 |
+
From $( I 7 )$ , we can have $\begin{array} { r } { \operatorname* { l i m } _ { t \to \infty } N ( s _ { a } ) = \infty } \end{array}$ because if $\exists L , N ( s _ { a } ) \ < \ L$ , we can find $\epsilon > 0$ for which (17) is not satisfied. From Lemma 4, when $N ( s )$ is large enough, we have $N ( s _ { a } ) $ $\pi ^ { * } ( a | s ) N ( s )$ (for example $\begin{array} { r } { N ( s _ { a } ) > \frac { 1 } { 2 } \pi ^ { * } ( a | s ) N ( s ) ) } \end{array}$ , that means we can find $C$ and $\hat { C }$ that satisfy
|
| 467 |
+
|
| 468 |
+
$$
|
| 469 |
+
\mathbb { P } ( | V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) | > \epsilon ) \le C \exp \{ - \frac { N ( s ) \epsilon } { \hat { C } ( \log ( 2 + N ( s ) ) ) ^ { 2 } } \} .
|
| 470 |
+
$$
|
| 471 |
+
|
| 472 |
+
Lemma 5 At any node s of the tree, $N ( s )$ is the number of visitations. We define the event
|
| 473 |
+
|
| 474 |
+
$$
|
| 475 |
+
E _ { s } = \{ \forall a i n \boldsymbol { A } , | N ( s , a ) - N ^ { * } ( s , a ) | < \frac { N ^ { * } ( s , a ) } { 2 } \} w h e r e \ N ^ { * } ( s , a ) = \pi ^ { * } ( a | s ) N ( s ) ,
|
| 476 |
+
$$
|
| 477 |
+
|
| 478 |
+
where $\epsilon > 0$ and $V _ { \Omega ^ { * } } ( s )$ is the estimated value at node $s$ . We have
|
| 479 |
+
|
| 480 |
+
$$
|
| 481 |
+
\mathbb { P } ( | V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) | > \epsilon | E _ { s } ) \le C \exp \{ - \frac { N ( s ) \epsilon } { \hat { C } ( \log ( 2 + N ( s ) ) ) ^ { 2 } } \} .
|
| 482 |
+
$$
|
| 483 |
+
|
| 484 |
+
Proof 6 The proof is the same as in Theorem 2. We prove the concentration inequality by induction. When the depth of the tree is $D = 1$ , from Proposition $^ { l }$ , we get
|
| 485 |
+
|
| 486 |
+
$$
|
| 487 |
+
\left| V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) \right| = \left\| \ \Omega ^ { * } ( Q _ { \Omega } ( s , . ) ) - \Omega ^ { * } ( Q _ { \Omega } ^ { * } ( s , . ) ) \ \right\| \leq \gamma \ \left\| \ \hat { r } - r ^ { * } \ \right\| _ { \infty } \left( C o n t r a c t i o n \ P r o p e r t i o n s \right) ,
|
| 488 |
+
$$
|
| 489 |
+
|
| 490 |
+
where $\hat { r }$ is the average rewards and $r ^ { * }$ is the mean rewards. So that
|
| 491 |
+
|
| 492 |
+
$$
|
| 493 |
+
\mathbb { P } ( | V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) | > \epsilon ) \le \mathbb { P } ( \gamma \parallel \hat { r } - r ^ { * } \parallel _ { \infty } > \epsilon ) .
|
| 494 |
+
$$
|
| 495 |
+
|
| 496 |
+
From Lemma $^ { l }$ , with $\begin{array} { r } { \epsilon = \frac { 2 \sigma \gamma } { \log ( 2 + N ( s ) ) } } \end{array}$ and given $E _ { s }$ , we have
|
| 497 |
+
|
| 498 |
+
$$
|
| 499 |
+
\begin{array} { r l } & { \mathbb { P } ( | V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) | > \epsilon ) \le \mathbb { P } ( \gamma \parallel \hat { r } - r ^ { * } \parallel _ { \infty } > \epsilon ) \le 4 | A | \exp \{ - \frac { N ( s ) \epsilon } { 2 \sigma \gamma ( \log ( 2 + N ( s ) ) ) ^ { 2 } } \} } \\ & { \quad \quad \quad = C \exp \{ - \frac { N ( s ) \epsilon } { \hat { C } ( \log ( 2 + N ( s ) ) ) ^ { 2 } } \} . } \end{array}
|
| 500 |
+
$$
|
| 501 |
+
|
| 502 |
+
Let assume we have the concentration bound at the depth $D - 1$ , Let us define $V _ { \Omega } ( s _ { a } ) = Q _ { \Omega } ( s , a )$ , where $s _ { a }$ is the state reached taking action a from state $s$ , then at depth $D - 1$
|
| 503 |
+
|
| 504 |
+
$$
|
| 505 |
+
\mathbb { P } ( | V _ { \Omega } ( s _ { a } ) - V _ { \Omega } ^ { * } ( s _ { a } ) | > \epsilon ) \le C \exp \{ - \frac { N ( s _ { a } ) \epsilon } { \hat { C } ( \log ( 2 + N ( s _ { a } ) ) ) ^ { 2 } } \} .
|
| 506 |
+
$$
|
| 507 |
+
|
| 508 |
+
Now at depth $D$ , because of the Contraction Property and given $E _ { s }$ , we have
|
| 509 |
+
|
| 510 |
+
$$
|
| 511 |
+
\begin{array} { r l } & { | V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) | \leq \gamma \parallel Q _ { \Omega } ( s , . ) - Q _ { \Omega } ^ { * } ( s , . ) \parallel _ { \infty } } \\ & { \qquad = \gamma | Q _ { \Omega } ( s , a ) - Q _ { \Omega } ^ { * } ( s , a ) | ( \exists a , s a t i s f t e d ) . } \end{array}
|
| 512 |
+
$$
|
| 513 |
+
|
| 514 |
+
So that
|
| 515 |
+
|
| 516 |
+
$$
|
| 517 |
+
\begin{array} { r l } & { \mathbb { P } ( | V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) | > \epsilon ) \leq \mathbb { P } ( \gamma \parallel Q _ { \Omega } ( s , a ) - Q _ { \Omega } ^ { * } ( s , a ) \parallel > \epsilon ) } \\ & { \qquad \leq C _ { a } \exp \{ - \frac { N ( s _ { a } ) \epsilon } { \hat { C } _ { a } ( \log ( 2 + N ( s _ { a } ) ) ) ^ { 2 } } \} } \\ & { \qquad \leq C _ { a } \exp \{ - \frac { N ( s _ { a } ) \epsilon } { \hat { C } _ { a } ( \log ( 2 + N ( s ) ) ) ^ { 2 } } \} } \\ & { \qquad \leq C \exp \{ - \frac { N ( s ) \epsilon } { \hat { C } ( \log ( 2 + N ( s ) ) ) ^ { 2 } } \} ( b e c a u s e o f E _ { s } ) } \end{array}
|
| 518 |
+
$$
|
| 519 |
+
|
| 520 |
+
Theorem 2 Let $a _ { t }$ be the action returned by algorithm E3W at iteration t. Then for t large enough, with some constants $C , { \hat { C } }$ ,
|
| 521 |
+
|
| 522 |
+
$$
|
| 523 |
+
\mathbb { P } ( a _ { t } \neq a ^ { * } ) \leq C t \exp \{ - \frac { t } { \hat { C } \sigma ( \log ( t ) ) ^ { 3 } } \} .
|
| 524 |
+
$$
|
| 525 |
+
|
| 526 |
+
Proof 7 Let us define event $E _ { s }$ as in Lemma 5. Let $a ^ { * }$ be the action with largest value estimate at the root node state $s$ . The probability that $E 3 W$ selects a sub-optimal arm at s is
|
| 527 |
+
|
| 528 |
+
$$
|
| 529 |
+
\begin{array} { r l } & { \displaystyle \mathbb { P } ( a _ { t } \neq a ^ { * } ) \leq \sum _ { a } \mathbb { P } ( V _ { \Omega } ( s _ { a } ) ) > V _ { \Omega } ( s _ { a ^ { * } } ) | E _ { s } ) + \mathbb { P } ( E _ { s } ^ { c } ) } \\ & { \displaystyle = \sum _ { a } \mathbb { P } ( ( V _ { \Omega } ( s _ { a } ) - V _ { \Omega } ^ { * } ( s _ { a } ) ) - ( V _ { \Omega } ( s _ { a ^ { * } } ) - V _ { \Omega } ^ { * } ( s _ { a ^ { * } } ) ) \geq V _ { \Omega } ^ { * } ( s _ { a ^ { * } } ) - V _ { \Omega } ^ { * } ( s _ { a } ) | E _ { s } ) + \mathbb { P } ( E _ { s } ^ { c } ) . } \end{array}
|
| 530 |
+
$$
|
| 531 |
+
|
| 532 |
+
Let us define $\Delta = V _ { \Omega } ^ { * } ( s _ { a ^ { * } } ) - V _ { \Omega } ^ { * } ( s _ { a } )$ , therefore for $\Delta > 0$ , we have
|
| 533 |
+
|
| 534 |
+
$$
|
| 535 |
+
\begin{array} { r l } & { \displaystyle \mathbb { P } ( a _ { t } \neq a ^ { * } ) \leq \sum _ { a } \mathbb { P } ( ( V _ { \Omega } ( s _ { a } ) - V _ { \Omega } ^ { * } ( s _ { a } ) ) - ( V _ { \Omega } ( s _ { a ^ { * } } ) - V _ { \Omega } ^ { * } ( s _ { a ^ { * } } ) ) \geq \Delta | E _ { s } ) + \mathbb { P } ( E _ { s } ^ { c } ) } \\ & { \leq \displaystyle \sum _ { a } \mathbb { P } ( | V _ { \Omega } ( s _ { a } ) - V _ { \Omega } ^ { * } ( s _ { a } ) | \geq \alpha \Delta | E _ { s } ) + \mathbb { P } ( | V _ { \Omega } ( s _ { a ^ { * } } ) - V _ { \Omega } ^ { * } ( s _ { a ^ { * } } ) | \geq \beta \Delta | E _ { s } ) + \mathbb { P } ( E _ { s } ^ { c } ) } \\ & { \leq \displaystyle \sum _ { a } C _ { a } \exp \{ - \frac { N ( s ) ( \alpha \Delta ) } { \hat { C } _ { a } ( \log ( 2 + N ( s ) ) ) ^ { 2 } } \} + C _ { a ^ { * } } \exp \{ - \frac { N ( s ) ( \beta \Delta ) } { \hat { C } _ { a ^ { * } } ( \log ( 2 + N ( s ) ) ) ^ { 2 } } \} + \mathbb { P } ( E _ { s } ^ { c } ) , } \end{array}
|
| 536 |
+
$$
|
| 537 |
+
|
| 538 |
+
where $\alpha + \beta = 1 , \alpha > 0 , \beta > 0 ,$ , and $N ( s )$ is the number of visitations the root node s. Let us define $\begin{array} { r } { \frac { 1 } { \hat { C } } = \operatorname* { m i n } \{ \frac { ( \alpha \Delta ) } { { C } _ { a } } , \frac { ( \beta \Delta ) } { { C } _ { a ^ { * } } } \} } \end{array}$ , and $\begin{array} { r } { C = \frac { 1 } { | A | } \operatorname* { m a x } \{ C _ { a } , C _ { a ^ { * } } \} } \end{array}$ we have
|
| 539 |
+
|
| 540 |
+
$$
|
| 541 |
+
\mathbb { P } ( a \neq a ^ { * } ) \leq C \exp \{ - \frac { t } { \hat { C } \sigma ( \log ( 2 + t ) ) ^ { 2 } } \} + \mathbb { P } ( E _ { s } ^ { c } ) .
|
| 542 |
+
$$
|
| 543 |
+
|
| 544 |
+
From Lemma 4, $\exists C ^ { ' } , \hat { C } ^ { \prime }$ for which
|
| 545 |
+
|
| 546 |
+
$$
|
| 547 |
+
\mathbb { P } ( E _ { s } ^ { c } ) \le C ^ { ' } t \exp \{ - \frac { t } { \hat { C } ^ { ' } ( \log ( t ) ) ^ { 3 } } \} ,
|
| 548 |
+
$$
|
| 549 |
+
|
| 550 |
+
so that
|
| 551 |
+
|
| 552 |
+
$$
|
| 553 |
+
\mathbb { P } ( a \neq a ^ { * } ) \leq O ( t \exp \{ - \frac { t } { ( \log ( t ) ) ^ { 3 } } \} ) .
|
| 554 |
+
$$
|
| 555 |
+
|
| 556 |
+
Theorem 3 Consider an $E 3 W$ policy applied to the tree. Let $\begin{array} { r } { \kappa _ { i } = \nabla \Omega ^ { * } ( a _ { i } | s ) + \frac { L } { p } \sqrt { { \hat { C } } \sigma ^ { 2 } \log \frac { C } { \delta } / 2 n } , } \end{array}$ $\begin{array} { r } { \chi _ { i } = \nabla \Omega ^ { * } ( a _ { i } | s ) - \frac { L } { p } \sqrt { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } / 2 n } , } \end{array}$ , where $\nabla \Omega ^ { * } ( . | s )$ is the policy with respect to the mean value vector $V ( \cdot )$ at the root node s. For any $\delta > 0$ , with probability at least $1 - \delta$ , ∃ constant $L , p , C , { \hat { C } }$ so that the pseudo regret $R _ { n }$ satisfies
|
| 557 |
+
|
| 558 |
+
$$
|
| 559 |
+
n V ^ { * } - n \sum _ { i } V _ { i } \Big ( \kappa _ { i } + \frac { L } { p } \big ( \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \gamma } \big ) \Big ) \leq R _ { n } \leq n V ^ { * } - n \sum _ { i } V _ { i } \Big ( \chi _ { i } - \frac { L } { p } \big ( \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \gamma } \big ) \Big ) .
|
| 560 |
+
$$
|
| 561 |
+
|
| 562 |
+
Proof 8 From Lemma 2 given two policies $\pi ^ { ( 1 ) } = \nabla \Omega ^ { * } ( r ^ { ( 1 ) } )$ and $\pi ^ { ( 2 ) } = \nabla \Omega ^ { * } ( r ^ { ( 2 ) } ) , \exists L ,$ , such that
|
| 563 |
+
|
| 564 |
+
$$
|
| 565 |
+
\parallel \pi ^ { ( 1 ) } - \pi ^ { ( 2 ) } \parallel _ { p } \leq L \parallel r ^ { ( 1 ) } - r ^ { ( 2 ) } \parallel _ { p } \leq L \frac { 1 } { p } \parallel r ^ { ( 1 ) } - r ^ { ( 2 ) } \parallel _ { \infty } .
|
| 566 |
+
$$
|
| 567 |
+
|
| 568 |
+
From (13), we have the regret
|
| 569 |
+
|
| 570 |
+
$$
|
| 571 |
+
R _ { n } = n V ^ { * } - \sum _ { i } V _ { i } \sum _ { t = 1 } ^ { n } { \hat { \pi } } _ { t } ( a _ { i } | s ) ,
|
| 572 |
+
$$
|
| 573 |
+
|
| 574 |
+
where $\hat { \pi } _ { t } ( \cdot )$ is the policy at time step $t$ , and $\mathbb { I } ( \cdot )$ is the indicator function. $V ^ { * }$ is the optimal branch at the root node, $V _ { i }$ is the mean value function of the branch with respect to action $i$ , $V ( \cdot )$ is the $| A |$
|
| 575 |
+
|
| 576 |
+
vector of value function at the root node. $\hat { V } ( \cdot )$ is the $| A |$ estimation vector of value function at the root node. $\pi ( . | s ) = \nabla \Omega ^ { * } ( V ( \cdot ) )$ is the policy with respect to the $V ( \cdot )$ vector at the root node.
|
| 577 |
+
|
| 578 |
+
Then for any $\delta > 0$ , with probability at least $1 - \delta$ , we have
|
| 579 |
+
|
| 580 |
+
$$
|
| 581 |
+
\begin{array} { l } { \displaystyle \lvert \pi ( a _ { i } \vert s ) - \hat { \pi } _ { t } ( a _ { i } \vert s ) \rvert \le \parallel \pi ( . \vert s ) - \hat { \pi } _ { t } ( . \vert s ) \parallel _ { \infty } \le \displaystyle \frac { L } { p } \parallel V ( \cdot ) - \hat { V } ( \cdot ) \parallel _ { \infty } ( L e m m a 2 ) } \\ { \displaystyle \le \displaystyle \frac { L } { p } \lvert V ( \cdot ) - \hat { V } ( \cdot ) \rvert \le \displaystyle \frac { L } { p } \biggl ( \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \delta } + \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } \biggr ) ( T h e o r e m 4 ) } \end{array}
|
| 582 |
+
$$
|
| 583 |
+
|
| 584 |
+
So that
|
| 585 |
+
|
| 586 |
+
$$
|
| 587 |
+
\tau ( a _ { i } | s ) - \frac { L } { p } \Bigg ( \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \delta } + \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } \Bigg ) \leq \hat { \pi } _ { t } ( a _ { i } | s ) \leq \pi ( a _ { i } | s ) + \frac { L } { p } \Bigg ( \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \delta } + \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } \Bigg ) .
|
| 588 |
+
$$
|
| 589 |
+
|
| 590 |
+
so that
|
| 591 |
+
|
| 592 |
+
$$
|
| 593 |
+
\begin{array} { l } { \displaystyle \mathfrak { l } _ { n } = n V ^ { * } - \sum _ { i } V _ { i } \sum _ { t = 1 } ^ { n } \hat { \pi } _ { t } ( a _ { i } | s ) \le n V ^ { * } - \sum _ { i } V _ { i } \sum _ { t = 1 } ^ { n } \left( \pi ( a _ { i } | s ) - \displaystyle \frac { L } { p } \big ( \displaystyle \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \delta } + \sqrt { \displaystyle \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 n } } \big ) \right) } \\ { \displaystyle \mathfrak { l } _ { n } \le n V ^ { * } - \sum _ { i } V _ { i } \sum _ { t = 1 } ^ { n } \left( \pi ( a _ { i } | s ) - \displaystyle \frac { L } { p } \big ( \displaystyle \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \delta } + \sqrt { \displaystyle \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 n } } \big ) \right) } \\ { \displaystyle \mathfrak { l } _ { n } \le n V ^ { * } - n \sum _ { i } V _ { i } \left( \pi ( a _ { i } | s ) - \displaystyle \frac { L } { p } \big ( \displaystyle \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \delta } + \sqrt { \displaystyle \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 n } } \big ) \right) } \end{array}
|
| 594 |
+
$$
|
| 595 |
+
|
| 596 |
+
And
|
| 597 |
+
|
| 598 |
+
$$
|
| 599 |
+
\begin{array} { l } { { R _ { n } \geq n V ^ { \ast } - \displaystyle \sum _ { i } V _ { i } \sum _ { t = 1 } ^ { n } \left( \pi ( a _ { i } | s ) + \frac { L } { p } \big ( \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \delta } + \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 n } } \big ) \right) } } \\ { { R _ { n } \geq n V ^ { \ast } - n \displaystyle \sum _ { i } V _ { i } \Big ( \pi ( a _ { i } | s ) + \frac { L } { p } \big ( \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \delta } + \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 n } } \big ) \Big ) } } \end{array}
|
| 600 |
+
$$
|
| 601 |
+
|
| 602 |
+
In case of Maximum Entropy and Relative Entropy $p = 1$ , because
|
| 603 |
+
|
| 604 |
+
$$
|
| 605 |
+
\parallel \pi ^ { ( 1 ) } - \pi ^ { ( 2 ) } \parallel _ { \infty } \leq L \parallel r ^ { ( 1 ) } - r ^ { ( 2 ) } \parallel _ { \infty } .
|
| 606 |
+
$$
|
| 607 |
+
|
| 608 |
+
So that we have for MENTS
|
| 609 |
+
|
| 610 |
+
$$
|
| 611 |
+
n V ^ { * } - n \sum _ { i } V _ { i } \Big ( \kappa _ { i } + L \big ( \frac { \tau \log | A | } { 1 - \gamma } \big ) \Big ) \leq R _ { n } \leq n V ^ { * } - n \sum _ { i } V _ { i } \Big ( \chi _ { i } - L \big ( \frac { \tau \log | A | } { 1 - \gamma } \big ) \Big ) .
|
| 612 |
+
$$
|
| 613 |
+
|
| 614 |
+
For RENTS, we have
|
| 615 |
+
|
| 616 |
+
$$
|
| 617 |
+
\imath V ^ { * } - n \sum _ { i } V _ { i } \Big ( \kappa _ { i } + L \big ( \frac { \tau ( \log | A | - \frac { 1 } { m } ) } { 1 - \gamma } \big ) \Big ) \leq R _ { n } \leq n V ^ { * } - n \sum _ { i } V _ { i } \Big ( \chi _ { i } - L \big ( \frac { \tau ( \log | A | - \frac { 1 } { m } ) } { 1 - \gamma } \big ) \Big )
|
| 618 |
+
$$
|
| 619 |
+
|
| 620 |
+
where $\begin{array} { r } { m = \operatorname* { m i n } _ { a } \pi ( a | s ) } \end{array}$
|
| 621 |
+
|
| 622 |
+
In case of Tsallis Entropy $p = 2$ ( Niculae & Blondel (2017)), so that
|
| 623 |
+
|
| 624 |
+
$$
|
| 625 |
+
n V ^ { * } - n \sum _ { i } V _ { i } \Big ( \kappa _ { i } + \frac { L } { 2 } \big ( \frac { | A | - 1 } { 2 | A | } \frac { \tau } { 1 - \gamma } \big ) \Big ) \leq R _ { n } \leq n V ^ { * } - n \sum _ { i } V _ { i } \Big ( \chi _ { i } - \frac { L } { 2 } \big ( \frac { | A | - 1 } { 2 | A | } \frac { \tau } { 1 - \gamma } \big ) \Big )
|
| 626 |
+
$$
|
| 627 |
+
|
| 628 |
+
Before derive the next theorem, we state here the Theorem 2 in Geist et al. (2019)
|
| 629 |
+
|
| 630 |
+
• Boundedness: for two constants $L _ { \Omega }$ and $U _ { \Omega }$ such that for all $\pi \in \Pi$ , we have $L _ { \Omega } \leq \Omega ( \pi ) \leq$ $U _ { \Omega }$ , then
|
| 631 |
+
|
| 632 |
+
$$
|
| 633 |
+
V ^ { \ast } ( s ) - \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \gamma } \leq V _ { \Omega } ^ { \ast } ( s ) \leq V ^ { \ast } ( s ) .
|
| 634 |
+
$$
|
| 635 |
+
|
| 636 |
+
Where $\tau$ is the temperature and $\gamma$ is the discount constant.
|
| 637 |
+
|
| 638 |
+
Theorem 4 For any $\delta > 0$ , with probability at least $1 - \delta$ , the $\varepsilon _ { \Omega }$ satisfies
|
| 639 |
+
|
| 640 |
+
$$
|
| 641 |
+
- \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } - \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \gamma } \leq \varepsilon _ { \Omega } \leq \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } .
|
| 642 |
+
$$
|
| 643 |
+
|
| 644 |
+
Proof 9 From Theorem 2, let us define $\begin{array} { r } { \delta = C \exp \{ - \frac { 2 N ( s ) \epsilon ^ { 2 } } { \hat { C } \sigma ^ { 2 } } \} } \end{array}$ , so that $\begin{array} { r } { \epsilon = \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log { \frac { C } { \delta } } } { 2 N ( s ) } } } \end{array}$ then for any $\delta > 0$ , we have
|
| 645 |
+
|
| 646 |
+
$$
|
| 647 |
+
\mathbb { P } ( | V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) | \le \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } ) \ge 1 - \delta .
|
| 648 |
+
$$
|
| 649 |
+
|
| 650 |
+
Then, for any $\delta > 0$ , with probability at least $1 - \delta$ , we have
|
| 651 |
+
|
| 652 |
+
$$
|
| 653 |
+
\begin{array} { l } { \displaystyle | V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) | \leq \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } } \\ { - \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } \leq V _ { \Omega } ( s ) - V _ { \Omega } ^ { * } ( s ) \leq \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } } \\ { - \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } + V _ { \Omega } ^ { * } ( s ) \leq V _ { \Omega } ( s ) \leq \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } + V _ { \Omega } ^ { * } ( s ) . } \end{array}
|
| 654 |
+
$$
|
| 655 |
+
|
| 656 |
+
From Proposition $I$ , we have
|
| 657 |
+
|
| 658 |
+
$$
|
| 659 |
+
- \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } + V ^ { * } ( s ) - \frac { \tau ( U _ { \Omega } - L _ { \Omega } ) } { 1 - \gamma } \leq V _ { \Omega } ( s ) \leq \sqrt { \frac { \hat { C } \sigma ^ { 2 } \log \frac { C } { \delta } } { 2 N ( s ) } } + V ^ { * } ( s ) .
|
| 660 |
+
$$
|
parse/train/-kfLEqppEm_/-kfLEqppEm__content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/-kfLEqppEm_/-kfLEqppEm__middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/-kfLEqppEm_/-kfLEqppEm__model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/9QffERDO_rJ/9QffERDO_rJ.md
ADDED
|
@@ -0,0 +1,485 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Auxiliary Learning Induced Graph Convolutional Networks
|
| 2 |
+
|
| 3 |
+
Anonymous Author(s)
|
| 4 |
+
Affiliation
|
| 5 |
+
Address
|
| 6 |
+
email
|
| 7 |
+
|
| 8 |
+
# Abstract
|
| 9 |
+
|
| 10 |
+
1 Graph convolutional networks (GCNs) have recently achieved great success in
|
| 11 |
+
2 many applications. However they suffer from an incomplete annotation problem
|
| 12 |
+
3 for complex graph-structured data. In this paper, we introduce a novel auxiliary
|
| 13 |
+
4 learning method for GCNs in a multi-task fashion, which can efficiently enrich the
|
| 14 |
+
5 data annotations. Specifically, both link prediction and label generation are used as
|
| 15 |
+
6 two auxiliary tasks to complement the primary task of node classification. These
|
| 16 |
+
7 two auxiliary tasks are jointly trained with the primary node classification task
|
| 17 |
+
8 via a graph meta-learning strategy. The experimental results demonstrate that the
|
| 18 |
+
9 proposed method consistently and significantly outperforms existing methods and
|
| 19 |
+
10 achieves state-of-the-art results on several benchmark citation network datasets.
|
| 20 |
+
|
| 21 |
+
# 11 1 Introduction
|
| 22 |
+
|
| 23 |
+
12 Graph-structured data is ubiquitous in real-world applications. However, general deep learning
|
| 24 |
+
13 methods, such as convolutional neural networks (CNNs), cannot adapt to graph-structured data
|
| 25 |
+
14 directly, because the nodes in a graph have different numbers of neighbors, which often lose the
|
| 26 |
+
15 ranking information. To handle the graph data effectively, graph convolutional networks (GCNs)
|
| 27 |
+
16 have recently been proposed and used in many applications such as biomolecular prediction [1] and
|
| 28 |
+
17 recommendation systems [2].
|
| 29 |
+
18 Previous methods focus on designing models that can extract information from both the graph
|
| 30 |
+
19 topology and node features. Specifically, existing GCN methods typically design different propagation
|
| 31 |
+
20 strategies [3, 4, 5] for each network layer and stack more network layers [6, 7, 8] to derive larger
|
| 32 |
+
21 receptive fields. However, the neighborhood aggregation is essentially a type of Laplacian smoothing
|
| 33 |
+
22 and stacking too many layers may result in over-smoothing [9]. These drawbacks of existing methods
|
| 34 |
+
23 limit further performance enhancement.
|
| 35 |
+
24 In this paper, we try to explore the bottleneck of node classification from another point of view, i.e.,
|
| 36 |
+
25 from the training data itself. As shown in Fig. 1, graph-structured data has different properties from
|
| 37 |
+
26 grid-like data such as an image. The most obvious difference is that the nodes in a graph are connected
|
| 38 |
+
27 by edges. This causes two main issues whien it comes to annotating graph-structured data, resulting in
|
| 39 |
+
28 that existing methods cannot fully leverage the graph-structured information. First, the edges in most
|
| 40 |
+
29 graph data for semi-supervised node classification are unweighted. This arbitrary edge indication
|
| 41 |
+
30 setting cannot effectively reflect the detailed graph structures. Besides, graph-structured data may be
|
| 42 |
+
31 contaminated with noisy edges. These noisy edges cannot represent the true pairwise relationships
|
| 43 |
+
32 between nodes. Second, using one-hot labels to train a graph-based model is inappropriate. One-hot
|
| 44 |
+
33 labels are widely used in various machine learning tasks, assigning a training sample to a single class.
|
| 45 |
+
34 However, nodes in a graph are connected; even nodes with different classes may have relations. In
|
| 46 |
+
35 this scenario, it is more suitable to use soft labels to assign a node to multiple classes, with different
|
| 47 |
+
36 probabilities indicating which class the node possibly belongs to.
|
| 48 |
+
37 To fully leverage the graph-structured
|
| 49 |
+
38 information for enhancing the node
|
| 50 |
+
39 classification performance of GCNs,
|
| 51 |
+
40 we introduce an auxiliary learning
|
| 52 |
+
41 scheme to the GCN framework in
|
| 53 |
+
42 a multi-task fashion. To this end,
|
| 54 |
+
43 we add two auxiliary tasks to enrich
|
| 55 |
+
44 the topology information of a graph
|
| 56 |
+
45 by softening the node labels and re
|
| 57 |
+
46 weighting the edges. Experimental
|
| 58 |
+
47 results show that our model achieves
|
| 59 |
+
48 state-of-the-art node classification per
|
| 60 |
+
49 formance on several benchmark cita
|
| 61 |
+
50 tion network datasets. Our contribu
|
| 62 |
+
51 tions are as follows:
|
| 63 |
+
52 (1) We propose two auxiliary tasks to capture more accurate graph information and enhance the
|
| 64 |
+
53 model performance. The auxiliary link prediction task ensures that the model captures more graph
|
| 65 |
+
54 topology information and generates probabilistic edges. The auxiliary label generation task softens
|
| 66 |
+
55 the one-hot labels and generates pseudo-labels for unlabeled nodes.
|
| 67 |
+
56 (2) The reconstructed edges and pseudo sudo labels derived via the two auxiliary tasks are iteratively
|
| 68 |
+
57 updated with a node classifier of the primary task based on a meta auxiliary learning strategy, resulting
|
| 69 |
+
8 in state-of-the-art node classification performance.
|
| 70 |
+
|
| 71 |
+

|
| 72 |
+
Figure 1: The difference between image data and graphstructured data. The nodes in graph-structured data are connected. Further, in most graph data for the node classification task, edges are unweighted and noisy.
|
| 73 |
+
|
| 74 |
+
# 59 2 Related Work
|
| 75 |
+
|
| 76 |
+
Over the past few years, GCNs have achieved significant breakthroughs in graph data representation.
|
| 77 |
+
Generally, existing GCNs can be divided into spectral-based methods and spatial-based methods.
|
| 78 |
+
|
| 79 |
+
62 The spectral-based methods use graph spectral theory to define the graph convolutional operation
|
| 80 |
+
63 in a graph Fourier domain. Spectral CNN [10] follows these mathematical foundations, assuming
|
| 81 |
+
64 that a convolutional filter is a set of learnable parameters. To reduce computational complexity,
|
| 82 |
+
65 ChebNet [11] approximates a graph convolutional filter as Chebyshev polynomials of the eigenvalues.
|
| 83 |
+
66 GCN [12] introduces a first-order approximation of ChebNet and proposes a renormalization trick to
|
| 84 |
+
67 alleviate numerical instabilities and exploding/vanishing gradients. DualGCN [13] introduces a dual
|
| 85 |
+
68 GCN architecture with two graph convolutional layers in parallel to encode both local and global
|
| 86 |
+
69 structural information.
|
| 87 |
+
70 The spatial-based methods define feature aggregation in the spatial domain directly, which is more
|
| 88 |
+
71 efficient, general, and flexible [14]. The key challenge for these spatial-based methods is to apply
|
| 89 |
+
72 the convolution operation for different-sized neighborhoods, while at the same time maintaining the
|
| 90 |
+
73 weight sharing property. Neural network for graphs (NN4G) [15] is the first spatial-based method,
|
| 91 |
+
74 applying the graph convolutional operation in the spatial space. Diffusion convolutional neural
|
| 92 |
+
75 networks (DCNN) [16] consider graph convolutions as diffusion processes to efficiently learn features
|
| 93 |
+
76 that are invariant under isomorphism. Message passing neural networks (MPNN) [17] model graph
|
| 94 |
+
77 convolution as a message passing process among the nodes. The graph attention network (GAT)
|
| 95 |
+
78 [3] introduce masked self-attentional layers to assign different weights to adjacent nodes, leading to
|
| 96 |
+
79 learnable filter weights. The mixture model network (MoNet) [18] introduces pseudo-coordinates to
|
| 97 |
+
80 assign different weights to the neighbors of each node. To achieve weight sharing across different
|
| 98 |
+
81 nodes, some spatial-based models attempt to rank a node’s neighbors via certain criteria or metrics,
|
| 99 |
+
82 which transforms the graph-structured data into grid data for further processing. The large-scale
|
| 100 |
+
83 graph convolutional network (LGCN) [19] ranks a node’s neighbors via the node feature values. Then,
|
| 101 |
+
84 multiple 1D convolutional layers are stacked for feature aggregation. Approximate personalized
|
| 102 |
+
85 propagation of neural predictions (APPNP) [4] takes the personalized PageRank algorithm as the
|
| 103 |
+
86 model propagation method to avoid over-smoothing when stacking more layers or increasing the size
|
| 104 |
+
87 of the neighborhood.
|
| 105 |
+
88 Multi-task learning is designed to simultaneously learn a set of related but different tasks for ensuring
|
| 106 |
+
89 that a learning model can derive the best performance across all tasks. Different from multi-task
|
| 107 |
+
90 learning, auxiliary learning is only concerned with model performance on the primary task. For
|
| 108 |
+
91 instance, Deepstereo [20] leverages auxiliary learning to predict the relative poses of multiple cameras
|
| 109 |
+
92 for unsupervised monocular depth estimation. To improve the performance of conversational speech
|
| 110 |
+
93 recognition, auxiliary learning [21] is applied to low-level representations. Compared to the common
|
| 111 |
+
94 learning scheme, meta auxiliary learning can enhance learning performance. For instance, MAXL
|
| 112 |
+
95 [22] adopts meta-learning to automatically generate the auxiliary task labels. Pseudo Label [23] is
|
| 113 |
+
96 a semi-supervised learning method, where a deep neural network is trained using both labeled and
|
| 114 |
+
97 unlabeled data. For unlabeled data, the model picks up the class that has the maximum predicted
|
| 115 |
+
98 probability as the true label to train itself. MPL [24] extends the Pseudo Label [23] via a meta-learning
|
| 116 |
+
99 strategy, where the pseudo-labels are not generated by itself, but by a teacher network.
|
| 117 |
+
100 The existing GCNs are designed for a single task, where the properties of graph-structured data
|
| 118 |
+
101 are not fully explored. We introduce the auxiliary learning scheme to leverage more detailed graph
|
| 119 |
+
102 topology information for enhancing node classification performance.
|
| 120 |
+
|
| 121 |
+

|
| 122 |
+
Figure 2: Network architecture of the vanilla GCN model. The vanilla GCN contains multiple GCN layers. Each layer captures the graph structure to generate the hidden embeddings from the previous layer (For the first layer, it is the original feature of the node) as input, and obtains the output through the message calculation, aggregation and update step. The last layer uses a softmax function to generate classification probabilities for each node.
|
| 123 |
+
|
| 124 |
+
# 3 Method
|
| 125 |
+
|
| 126 |
+
# 3.1 Preliminaries
|
| 127 |
+
|
| 128 |
+
05 Given a graph $\mathcal { G } = \{ \nu , \varepsilon , \mathbf { X } \}$ , $\nu$ is a set of nodes and $\mathcal { E }$ is a set of the edges connecting the related nodes. 06 $\mathbf { X } \in \mathbb { R } ^ { N \times d }$ represents the features matrix of the nodes, where $d$ is the dimension of the node 107 features and $N = | \nu |$ is the number of nodes.
|
| 129 |
+
|
| 130 |
+
108 The proposed method adopts the vanilla GCN [12] as the backbone network, taking the graph
|
| 131 |
+
109 adjacency matrix A, labeled training set $\mathbf { Y } _ { \mathrm { t r a i n } }$ , and original features $\mathbf { X }$ of the nodes as inputs to
|
| 132 |
+
110 perform the semi-supervised node classification task. Based on the MPNN framework [17], each
|
| 133 |
+
111 layer of the vanilla GCN is defined in three parts:
|
| 134 |
+
112 (1) Message computation: The message of node $v _ { i }$ and its neighbor node $v _ { j }$ is calculated, where
|
| 135 |
+
113 $j \in \mathcal { N } ( i )$ , as:
|
| 136 |
+
|
| 137 |
+
$$
|
| 138 |
+
\mathbf { m } _ { j } ^ { ( k ) } = \frac { 1 } { \sqrt { \deg ( i ) \deg ( j ) } } \mathbf { h } _ { j } ^ { ( k - 1 ) } \mathbf { W } ^ { ( k ) } , \ j \in \{ i \} \bigcup \mathcal { N } ( i ) .
|
| 139 |
+
$$
|
| 140 |
+
|
| 141 |
+
Here, 114 $\deg ( i )$ is the degree of node $v _ { i }$ and $\mathbf { W } ^ { ( k ) } \in \mathbb { R } ^ { c _ { k - 1 } \times c _ { k } }$ are the learnable parameters of the 115 $k ^ { \mathrm { t h } }$ -layer, where $c _ { k }$ is the size of the hidden embedding.
|
| 142 |
+
|
| 143 |
+
116 (2) Aggregation: The messages of node $v _ { i }$ and its neighbors are aggregated by summing them up:
|
| 144 |
+
|
| 145 |
+
$$
|
| 146 |
+
\mathbf { m } _ { \mathcal { N } ( i ) } ^ { ( k ) } = \sum _ { j \in \{ i \} \cup \mathcal { N } ( i ) } \mathbf { m } _ { j } ^ { ( k ) } ,
|
| 147 |
+
$$
|
| 148 |
+
|
| 149 |
+

|
| 150 |
+
Figure 3: The overall network architecture. Our method consists of three networks: a backbone network for the primary task and two auxiliary task networks. (1) The backbone network is a vanilla GCN, which predicts the classification results of each node. (2) The first auxiliary task network is a link predictor, which focuses on the link prediction task and generates a probabilistic edge structure as the input of the backbone network. (3) The second auxiliary task network is a label generator, which employs the label generation task to generate the pseudo soft labels for supervising the node classifier. The parts connected by the dashed arrow share the same parameters, and the red slash on the arrow indicates a stop-gradient (detach) operation.
|
| 151 |
+
|
| 152 |
+
where m(k)(i)117 denotes the aggregated message.
|
| 153 |
+
|
| 154 |
+
18 (3) Feature updating: Finally, the hidden representation is updated with the aggregated message. For
|
| 155 |
+
19 the vanilla GCN, the update function can be considered as applying a non-linear operation to the
|
| 156 |
+
120 aggregated message:
|
| 157 |
+
|
| 158 |
+
$$
|
| 159 |
+
\mathbf { h } _ { i } ^ { k } = \left\{ \begin{array} { l l } { \mathrm { s o f t m a x } ( \mathbf { m } _ { \mathcal { N } ( i ) } ^ { ( k ) } ) , } & { \mathrm { i f ~ } k = K } \\ { \mathrm { R e L U } ( \mathbf { m } _ { \mathcal { N } ( i ) } ^ { ( k ) } ) , } & { \mathrm { o t h e r w i s e } . } \end{array} \right.
|
| 160 |
+
$$
|
| 161 |
+
|
| 162 |
+
121 Here, $K$ is the number of model layers. The last layer of the vanilla GCN should output the
|
| 163 |
+
122 classification probability via a softmax function. Otherwise, a ReLU operation is used.
|
| 164 |
+
|
| 165 |
+
# 3.2 Multi-Task Network Architecture
|
| 166 |
+
|
| 167 |
+
In this paper, we propose an auxiliary learning induced GCN for semi-supervised node classification (see Fig. 3). To enhance the node classification performance of the backbone vanilla GCN, we design two auxiliary tasks: link prediction and pseudo-label generation.
|
| 168 |
+
|
| 169 |
+
127 The first $K - 1$ layers of a $K$ -layer vanilla GCN model can be considered as a feature extractor, while
|
| 170 |
+
128 the last layer can be considered as a classifier. Denoting the feature extractor and node classifier of
|
| 171 |
+
129 the backbone model as $h _ { \theta _ { 2 } }$ and $f _ { \theta _ { 1 } }$ , respectively, where $\theta _ { 1 }$ and $\theta _ { 2 }$ are the learnable parameters, the
|
| 172 |
+
130 proposed two auxiliary task networks are defined as follows.
|
| 173 |
+
|
| 174 |
+
# 3.2.1 Link Predictor
|
| 175 |
+
|
| 176 |
+
132 To enrich the edge information, we design an auxiliary link prediction task to infer the missing edges
|
| 177 |
+
133 and present the probability of edge existence. The link predictor we propose contains a decoder $\bar { R } ( \cdot )$
|
| 178 |
+
134 and the feature extractor $h _ { \theta _ { 2 } }$ of the backbone model.
|
| 179 |
+
|
| 180 |
+
The feature extractor 135 $h _ { \theta _ { 2 } } ( \cdot )$ takes reduced adjacency matrix ${ \bf A } _ { s }$ which corresponds to the sampled 136 edge set $\mathcal { E } _ { s } \subset \mathcal { E }$ , and node features $\mathbf { X }$ as inputs to generate the hidden embedding:
|
| 181 |
+
|
| 182 |
+
$$
|
| 183 |
+
\begin{array} { r } { { \bf H } _ { s } = h _ { \theta _ { 2 } } ( { \bf X } , { \bf A } _ { s } ) . } \end{array}
|
| 184 |
+
$$
|
| 185 |
+
|
| 186 |
+
137 Then, the decoder computes the similarity between each node based on $\mathbf { H } _ { s }$ to predict the edge
|
| 187 |
+
138 existence probabilities. We simply use an inner-product calculator with a sigmoid function as the
|
| 188 |
+
139 implementation of decoder $R ( \cdot )$ . The similarity of two hidden embeddings can be computed as
|
| 189 |
+
|
| 190 |
+
$$
|
| 191 |
+
r _ { i j } = R ( \mathbf { h } _ { i } , \mathbf { h } _ { j } ) = \sigma ( \mathbf { h } _ { i } \mathbf { h } _ { j } ^ { T } ) ,
|
| 192 |
+
$$
|
| 193 |
+
|
| 194 |
+
140 where $\mathbf { h } _ { i }$ and $\mathbf { h } _ { j }$ denote the hidden embeddings of node $v _ { i }$ and node $v _ { j }$ in $\mathbf { H } _ { s }$ , respectively.
|
| 195 |
+
|
| 196 |
+
# 141 3.2.2 Label Generator
|
| 197 |
+
|
| 198 |
+
Although using the one-hot label is inappropriate, it is difficult to obtain soft labels with manual annotations for real graph-structured data. To tackle this issue, we introduce an auxiliary label generation task to generate soft labels that reflect the tendency of different classes each node belongs to. Label generator $g _ { \varphi } ( { \bf X } , { \bf A } )$ is a vanilla GCN, where $\varphi$ are the learnable parameters and A is the adjacency matrix. The label generation network predicts the label distribution of each node based on the graph structure $\mathbf { A }$ and the raw features $\mathbf { X }$ of the nodes, as:
|
| 199 |
+
|
| 200 |
+
$$
|
| 201 |
+
\hat { \mathbf { Y } } ^ { g } = g _ { \varphi } ( \mathbf { X } , \mathbf { A } ) ,
|
| 202 |
+
$$
|
| 203 |
+
|
| 204 |
+
where 48 $\mathbf { Y } ^ { g }$ are the predicted pseudo labels for guiding the training of the backbone network and the 49 label generator.
|
| 205 |
+
|
| 206 |
+
# 3.2.3 Node classifier
|
| 207 |
+
|
| 208 |
+
151 The node classifier carries out the primary semi-supervised node classification task in our model.
|
| 209 |
+
152 Compared to the vanilla GCN model, we add a graph reconstruction step at the beginning. The graph
|
| 210 |
+
153 adjacency matrix reconstructed with the hidden embeddings contains richer edge information since
|
| 211 |
+
154 the proposed auxiliary link prediction task can enhance the graph topology capturing ability of the
|
| 212 |
+
155 feature extractor $h _ { \theta _ { 2 } } ( \cdot )$ . However, the hidden embeddings derived by the feature extractor change
|
| 213 |
+
156 rapidly in the first few iterations, resulting in a changing reconstructed adjacency matrix. Directly
|
| 214 |
+
157 applying the reconstructed adjacency matrix to the entire backbone network increases the training
|
| 215 |
+
158 instability. Thus, we only apply it as the input of the feature extractor $h _ { \theta _ { 2 } } ( \cdot )$ , while the classifier
|
| 216 |
+
159 $f _ { \theta _ { 1 } } ( \cdot )$ still adopts the original adjacency matrix as input.
|
| 217 |
+
160 In each training iteration, the feature extractor $h _ { \theta _ { 2 } } ( \cdot )$ first generates the hidden embeddings of the
|
| 218 |
+
161 nodes $\mathbf { H } = h _ { \theta _ { 2 } } ( \mathbf { X } , \mathbf { A } )$ . The decoder uses $\mathbf { H }$ to reconstruct the adjacency matrix $\mathbf { A } _ { \mathrm { r e c o n } } = R ( \mathbf { H } , \mathbf { H } )$ .
|
| 219 |
+
162 Then, the feature extractor takes the reconstructed adjacency matrix $\mathbf { A } _ { \mathrm { r e c o n } }$ to compute the hidden
|
| 220 |
+
163 embeddings $\mathbf { H } _ { \mathrm { r e c o n } } = h _ { \theta _ { 2 } } ( \mathbf { X } , \mathbf { A } _ { \mathrm { r e c o n } } )$ .
|
| 221 |
+
64 Finally, the computed hidden embeddings $\mathbf { H } _ { \mathrm { r e c o n } }$ and the original graph adjacency matrix A are fed
|
| 222 |
+
65 to the classifier to obtain the final classification results:
|
| 223 |
+
|
| 224 |
+
$$
|
| 225 |
+
\hat { \mathbf { Y } } ^ { f } = f _ { \theta _ { 1 } } ( \mathbf { H } _ { \mathrm { r e c o n } } , \mathbf { A } ) .
|
| 226 |
+
$$
|
| 227 |
+
|
| 228 |
+
# 166 3.3 Auxiliary Training Phases
|
| 229 |
+
|
| 230 |
+
67 In addition to the backbone network, the proposed method contains two auxiliary task networks. In
|
| 231 |
+
68 the following, we will introduce the objectives for the node classifier $f _ { \theta _ { 1 } }$ , link predictor $h _ { \theta _ { 2 } }$ , and
|
| 232 |
+
69 label generator $g _ { \varphi }$ in order, and then leverage a meta auxiliary learning scheme to train the proposed
|
| 233 |
+
70 multi-task network.
|
| 234 |
+
|
| 235 |
+
# 3.3.1 Training the Node Classifier $f _ { \theta _ { 1 } }$
|
| 236 |
+
|
| 237 |
+
172 The purpose of the node classifier $f _ { \theta _ { 1 } } ( \cdot )$ is to carry out the graph-based semi-supervised node
|
| 238 |
+
173 classification task, which yields the final prediction results. Naturally, it is necessary to use the
|
| 239 |
+
174 classification loss between the predicted result and the real categories of nodes to supervise the
|
| 240 |
+
175 training process. At the same time, to reflect the tendency of the class a node belongs to, the training
|
| 241 |
+
176 should make the prediction labels of the classifier be close to the pseudo soft labels generated by
|
| 242 |
+
177 label generator $g _ { \varphi } ( \cdot )$ .
|
| 243 |
+
178 In the $t ^ { \mathrm { t h } }$ iteration, denoting the pseudo soft labels as $\hat { \mathbf { Y } } ^ { g ( t ) } = g _ { \varphi ^ { ( t ) } } ( \mathbf { X } , \mathbf { A } )$ , the real labels used in
|
| 244 |
+
179 training as $\mathbf { Y } _ { \mathrm { t r a i n } }$ , and the prediction results of the node classifier of the backbone network $f _ { \theta _ { 1 } }$ as
|
| 245 |
+
180 $\hat { \mathbf { Y } } ^ { f ( t ) } = f _ { \theta _ { 1 } ^ { ( t ) } } \big ( h _ { \theta _ { 2 } ^ { ( t ) } } \big ( \mathbf { X } , \mathbf { A } _ { \mathrm { r e c o n } } ^ { ( t ) } \big ) , \mathbf { A } \big )$ , the objective for the node classifier $f _ { \theta _ { 1 } } ( \cdot )$ is defined as
|
| 246 |
+
|
| 247 |
+
$$
|
| 248 |
+
\mathcal { L } _ { \theta _ { 1 } } ^ { ( t ) } = \mathcal { L } _ { \mathrm { C E } } ( \hat { \mathbf { Y } } _ { \mathrm { t r a i n } } ^ { f ( t ) } , \mathbf { Y } _ { \mathrm { t r a i n } } ) + \mathcal { L } _ { \mathrm { M S E } } ( \hat { \mathbf { Y } } ^ { f ( t ) } , \hat { \mathbf { Y } } ^ { g ( t ) } ) .
|
| 249 |
+
$$
|
| 250 |
+
|
| 251 |
+
181 The objective contains two parts: the loss on the real training labels, and the loss on the generated
|
| 252 |
+
182 pseudo soft labels. $\mathcal { L } _ { \mathrm { C E } }$ denotes the cross-entropy loss and $\mathcal { L } _ { \mathrm { M S E } }$ denotes the mean squared loss.
|
| 253 |
+
183 Although this objective can be used to update the learnable parameters $\theta _ { 2 }$ of the feature extractor
|
| 254 |
+
184 $h _ { \theta _ { 2 } } ( \cdot )$ , as it generates the hidden embeddings used for node classification, we only employ it to
|
| 255 |
+
185 supervise the learning of the node parameters $\theta _ { 1 }$ of the classifier $f _ { \theta _ { 1 } } ( \cdot )$ . To avoid adding unnecessary
|
| 256 |
+
186 supervision for generating the reconstructed graph adjacency matrix $\mathbf { A } _ { \mathrm { r e c o n } }$ , we add a stop-gradient
|
| 257 |
+
187 operation (detach) which is formulated as follows:
|
| 258 |
+
|
| 259 |
+
$$
|
| 260 |
+
{ \bf A } _ { \mathrm { r e c o n } } ^ { ( t ) } = { \tt d e t a c h } ( R ( { \bf H } , { \bf H } ) ) .
|
| 261 |
+
$$
|
| 262 |
+
|
| 263 |
+
# 3.3.2 Auxiliary Training for the Feature Extractor $h _ { \theta _ { 2 } }$
|
| 264 |
+
|
| 265 |
+
189 The feature extractor $h _ { \theta _ { 2 } }$ is shared by the link prediction module and the backbone network. In each
|
| 266 |
+
190 iteration, we first randomly sample a certain percentage of edges from the real edge set $\mathcal { E }$ to form a
|
| 267 |
+
191 sampled edge set $\mathcal { E } _ { s } \subset \mathcal { E }$ . Denoting the reduced graph adjacency matrix as ${ \bf A } _ { s }$ , which corresponds to
|
| 268 |
+
192 the sampled edge set $\mathcal { E } _ { s }$ , and applying a message passing operation with ${ \bf A } _ { s }$ as
|
| 269 |
+
|
| 270 |
+
$$
|
| 271 |
+
\begin{array} { r } { \mathbf { H } _ { s } ^ { ( t ) } = h _ { \theta _ { 2 } ^ { ( t ) } } ( \mathbf { X } , \mathbf { A } _ { s } ^ { ( t ) } ) , } \end{array}
|
| 272 |
+
$$
|
| 273 |
+
|
| 274 |
+
193 then the objective for the feature extractor is defined as
|
| 275 |
+
|
| 276 |
+
$$
|
| 277 |
+
\mathcal { L } _ { \theta _ { 2 } } ^ { ( t ) } = \mathcal { L } _ { \mathrm { C E } } ( R ( \mathbf { H } _ { s } ^ { ( t ) } , \mathbf { H } _ { s } ^ { ( t ) } ) , \mathbf { A } ) .
|
| 278 |
+
$$
|
| 279 |
+
|
| 280 |
+
Here $R ( \mathbf { H } _ { s } ^ { ( t ) } , \mathbf { H } _ { s } ^ { ( t ) } )$ represents the correlation between the hidden embeddings of each pair of nodes.
|
| 281 |
+
|
| 282 |
+
# 3.3.3 Auxiliary Training for the Label Generator $g _ { \varphi }$
|
| 283 |
+
|
| 284 |
+
The label generator $g _ { \varphi }$ is a vanilla GCN model used to predict the label distribution for each node, which naturally needs to be supervised by a classification loss. In the $t ^ { \mathrm { t h } }$ iteration, a label generator first generates the prediction results using the original graph adjacency matrix A and the node features $\mathbf { X }$ , which is formulated as $\hat { \mathbf { Y } } ^ { g ( t ) } = g _ { \varphi ^ { ( t ) } } ( \mathbf { X } , \mathbf { A } )$ . Denoting the training labels as $\mathbf { Y } _ { \mathrm { t r a i n } }$ , the objective of the label generator $g _ { \varphi }$ can be formulated as
|
| 285 |
+
|
| 286 |
+
$$
|
| 287 |
+
\mathcal { L } _ { \varphi } ^ { ( t ) } = \mathcal { L } _ { \mathrm { C E } } ( \hat { \mathbf { Y } } _ { \mathrm { t r a i n } } ^ { g ( t ) } , \mathbf { Y } _ { \mathrm { t r a i n } } ) .
|
| 288 |
+
$$
|
| 289 |
+
|
| 290 |
+
# 201 3.3.4 Meta-Learning Based Training Strategy
|
| 291 |
+
|
| 292 |
+
The final node classification results only depend on the primary task, while the performance of the other modules, including the label generator and link predictor are not our ultimate concern. Simply using the classification loss to train the label generator $g _ { \varphi }$ or using the link prediction loss to train the feature extractor $h _ { \theta _ { 2 } }$ cannot provide the effects of auxiliary learning. Thus, it is crucial to make the node classifier $f _ { \theta _ { 1 } }$ perform better after it is trained with the pseudo soft labels while taking the hidden embeddings derived by the feature extractor $h _ { \theta _ { 2 } }$ as inputs. To this end, we use meta auxiliary learning to update the model parameters.
|
| 293 |
+
|
| 294 |
+
209 For the auxiliary label generation task, we consider not only the classification performance of the
|
| 295 |
+
210 label generator $g _ { \varphi }$ , but also the auxiliary effect on the node classifier. We assume that the classifier
|
| 296 |
+
211 parameters $\theta _ { 1 }$ are updated with gradient descent based on the pseudo soft labels in the $t ^ { \mathrm { t h } }$ iteration,
|
| 297 |
+
|
| 298 |
+
$$
|
| 299 |
+
\boldsymbol { \theta } _ { 1 } ^ { \prime } = \boldsymbol { \theta } _ { 1 } ^ { ( t ) } - \eta \nabla _ { \boldsymbol { \theta } _ { 1 } } \mathcal { L } _ { \mathrm { M S E } } ( \hat { \mathbf { Y } } ^ { f ( t ) } , \hat { \mathbf { Y } } ^ { g ( t ) } ) .
|
| 300 |
+
$$
|
| 301 |
+
|
| 302 |
+
212 A direct way to evaluate the auxiliary effect of the pseudo soft labels is to compute the classification loss of the prediction given by the node classifier using the updated parameters 213 $\theta _ { 1 } ^ { \prime }$ , as
|
| 303 |
+
|
| 304 |
+
$$
|
| 305 |
+
\begin{array} { r } { \mathcal { L } ^ { f \prime } = \mathcal { L } _ { \mathrm { C E } } \big ( f _ { \theta _ { 1 } ^ { \prime } } \big ( h _ { \theta _ { 2 } ^ { ( t ) } } \big ( \mathbf { X } , \mathbf { A } _ { \mathrm { r e c o n } } \big ) , \mathbf { A } \big ) _ { \mathrm { t r a i n } } , \mathbf { Y } _ { \mathrm { t r a i n } } \big ) . } \end{array}
|
| 306 |
+
$$
|
| 307 |
+
|
| 308 |
+
214 This loss can quantify how much performance improvement the classifier gains from the two auxiliary
|
| 309 |
+
215 tasks. Because $\theta _ { 1 } ^ { \prime }$ is updated with the pseudo soft labels generated by $g _ { \varphi } ( \cdot )$ , the loss $\mathcal { L } ^ { f \prime }$ is also a
|
| 310 |
+
216 function of $\varphi$ . This means that the objective could be used to supervise the learning of $\varphi$ . Note
|
| 311 |
+
217 that $\nabla _ { \varphi } \mathcal { L } ^ { f \prime }$ requires the gradient of the gradient to be computed [25], which can be considered as a
|
| 312 |
+
218 meta-learning strategy. The final objective of the label generator $g _ { \varphi }$ with meta-learning is formulated
|
| 313 |
+
219 as
|
| 314 |
+
|
| 315 |
+
$$
|
| 316 |
+
\mathcal { L } _ { \varphi - \mathrm { { m e t a } } } ^ { ( t ) } = \mathcal { L } _ { \varphi } ^ { ( t ) } + \mathcal { L } ^ { f \prime } .
|
| 317 |
+
$$
|
| 318 |
+
|
| 319 |
+
220 Similar to the label generator $g _ { \varphi } ( \cdot )$ , the link predictor $h _ { \theta _ { 2 } } ^ { b }$ should derive the effective node embed
|
| 320 |
+
221 dings to enhance the node classification performance. Since the hidden embeddings used for node
|
| 321 |
+
|
| 322 |
+
# Algorithm 1 AL-GCN
|
| 323 |
+
|
| 324 |
+
Input: Graph adjacency matrix A, the node features $\mathbf { X }$ , the data labels $\mathbf { Y } _ { \mathrm { t r a i n } }$ of a training set. Output: A feature extractor $h _ { \theta _ { 2 } }$ , a node classifier $f _ { \theta _ { 1 } }$
|
| 325 |
+
|
| 326 |
+
1: Initialize learnable parameters $\theta _ { 1 } , \theta _ { 2 }$ , $\varphi$
|
| 327 |
+
2: while not converged do
|
| 328 |
+
3: # node classifier training phase
|
| 329 |
+
4: $\begin{array} { r l } & { \hat { \mathbf { Y } } ^ { g } \gets g _ { \varphi } ( \mathbf { X } , \mathbf { A } ) } \\ & { \mathbf { H } \gets h _ { \theta _ { 2 } } ( \mathbf { X } , \mathbf { A } ) } \\ & { \mathbf { A } _ { \mathrm { r e c o n } } = \mathsf { d e t a c h } ( R ( \mathbf { H } , \mathbf { H } ) ) } \\ & { \mathbf { H } _ { \mathrm { r e c o n } } \gets h _ { \theta _ { 2 } } ( \mathbf { X } , \mathbf { A } _ { \mathrm { r e c o n } } ) } \\ & { \hat { \mathbf { Y } } ^ { f } \gets f _ { \theta _ { 1 } } ( \mathbf { H } _ { \mathrm { r e c o n } } , \mathbf { A } ) } \\ & { \mathcal { L } _ { \theta _ { 1 } } \gets \mathcal { L } _ { \mathrm { C E } } ( \hat { \mathbf { Y } } _ { \mathrm { t r a i n } } ^ { f } , \mathbf { Y } _ { \mathrm { t r a i n } } ) + \mathcal { L } _ { \mathrm { M S E } } ( \hat { \mathbf { Y } } ^ { f } , \hat { \mathbf { Y } } ^ { g } ) } \\ & { \mathbf { \Delta } _ { \mathrm { r e } } ^ { \mathsf { x } } , \quad \mathbf { \Delta } _ { \mathrm { L } } ^ { \mathsf { x } } , } \end{array}$
|
| 330 |
+
5:
|
| 331 |
+
6:
|
| 332 |
+
7:
|
| 333 |
+
8:
|
| 334 |
+
9:
|
| 335 |
+
10: Update: $\theta _ { 1 } \gets \mathrm { A d a m } ( \mathcal { L } _ { \theta _ { 1 } } , \theta _ { 1 } )$
|
| 336 |
+
11: # meta-learning preparation
|
| 337 |
+
12: Compute: $-$
|
| 338 |
+
13: $\begin{array} { r l } { } & { { } \mathcal { L } _ { \mathrm { C E } } ( f ^ { b } ( h _ { \theta _ { 2 } } ^ { b } ( \mathbf { X } , \mathbf { A } _ { \mathrm { r e c o n } } ) , \mathbf { A } ) _ { \mathrm { t r a i n } } , \mathbf { Y } _ { \mathrm { t r a i n } } ) } \end{array}$
|
| 339 |
+
14: # label generator training phase
|
| 340 |
+
15: $\begin{array} { r l } & { \hat { \mathbf Y } ^ { g } \gets g _ { \varphi } ( \mathbf X , \mathbf A ) } \\ & { \mathcal { L } _ { \varphi } \gets \mathcal { L } _ { \mathrm { C E } } ( \hat { \mathbf Y } _ { \mathrm { t r a i n } } ^ { g } , \mathbf Y _ { \mathrm { t r a i n } } ) _ { , } + } \end{array}$
|
| 341 |
+
16:
|
| 342 |
+
17: Update: $\varphi \gets \mathrm { A d a m } ( \mathcal { L } _ { \varphi } , \varphi )$
|
| 343 |
+
18: # feature extractor training phase
|
| 344 |
+
19: ${ \bf A } _ { s } \gets$ RandomSample(A)
|
| 345 |
+
20: Hs ← hθ (X, As)
|
| 346 |
+
21: $\mathcal { L } _ { \boldsymbol { \theta } _ { 2 } } \gets \mathcal { L } _ { \mathrm { C E } } ( R ( \mathbf { H } _ { s } , \mathbf { H } _ { s } ) , \mathbf { A } ) + $
|
| 347 |
+
22: Update: $\theta _ { 2 } \gets \mathrm { A d a m } ( \mathcal { L } _ { \theta _ { 2 } } , \theta _ { 2 } )$
|
| 348 |
+
23: end while
|
| 349 |
+
222 classification are derived from the feature extractor $h _ { \theta _ { 2 } }$ , the objective defined in Eq. 14 can also be
|
| 350 |
+
223 considered as a function of $\theta _ { 2 }$ . Thus, the objective of the feature extractor $h _ { \theta _ { 2 } }$ with meta-learning is
|
| 351 |
+
224 defined as
|
| 352 |
+
|
| 353 |
+
$$
|
| 354 |
+
\mathcal { L } _ { \theta _ { 2 } \mathrm { - m e t a } } ^ { ( t ) } = \mathcal { L } _ { \theta _ { 2 } } ^ { ( t ) } + \mathcal { L } ^ { f ^ { \prime } } .
|
| 355 |
+
$$
|
| 356 |
+
|
| 357 |
+
225 This objective means that, except for the link prediction task, the feature extractor $h _ { \theta _ { 2 } }$ should ensure
|
| 358 |
+
226 that the generated hidden embedding enhance the classification accuracy of the node classifier $f _ { \theta _ { 1 } }$
|
| 359 |
+
227 updated with the pseudo soft labels. The overall training process is shown in Alg. 1.
|
| 360 |
+
|
| 361 |
+
# 4 Experiments
|
| 362 |
+
|
| 363 |
+
# 4.1 Experimental Settings and Compared Methods
|
| 364 |
+
|
| 365 |
+
We demonstrate the classification performance of our method via semi-supervised document classification on three citation network datasets, including Cora, Citeseer, and Pubmed [26], where nodes represent the documents and edges are citation links. Dataset statistics are summarized in Table 1.
|
| 366 |
+
|
| 367 |
+
233 The proposed method is a novel GCN, which is leveraged to carry out a node classification task.
|
| 368 |
+
234 We compare our method with several popular graph-based node classification methods including
|
| 369 |
+
235 GCN [12], GAT [3], DualGCN [13], SGC [27], and APPNP [4]. As we use a three-layer GCN as
|
| 370 |
+
236 the backbone in our proposed model, we compare both two-layer and three-layer GCNs, denoted as
|
| 371 |
+
237 GCN2 and GCN3, respectively.
|
| 372 |
+
|
| 373 |
+
For the semi-supervised node classification, we use all node features but only 20 labels per class for training and 500 nodes as the validation set. We train the proposed method for a maximum of 400 epochs using Adam [28] with a learning rate of 0.01. We use the well-trained parameters, which achieve the best performance on the validation set during the training phases, to evaluate classification accuracy on a test set of 1,000 labeled examples. We run each method 100 times and compute the average classification accuracy on a single NVIDIA GTX 1080Ti GPU. To implement all the compared methods more conveniently, we use PyG [29] as the graph-based learning framework.
|
| 374 |
+
|
| 375 |
+
Table 1: Dataset statistics.
|
| 376 |
+
|
| 377 |
+
<table><tr><td>Dataset</td><td>Nodes</td><td>Edges</td><td>Features</td><td>Classes</td></tr><tr><td>Cora</td><td>2,708</td><td>5,278</td><td>1,433</td><td>7</td></tr><tr><td>CiteSeer</td><td>3,327</td><td>4,552</td><td>3,703</td><td>6</td></tr><tr><td>Cora</td><td>19,717</td><td>44,324</td><td>500</td><td>3</td></tr></table>
|
| 378 |
+
|
| 379 |
+
Table 2: Classification results on the datasets (bold: best, underline: runner-up).
|
| 380 |
+
|
| 381 |
+
<table><tr><td>Method</td><td>Cora</td><td>Citeseer</td><td>Pubmed</td></tr><tr><td>GAT [3] DualGCN[13]</td><td>82.5 ±0.8%</td><td>71.4±0.7%</td><td>78.4± 0.4%</td></tr><tr><td rowspan="3">SGC [27] APPNP [4]</td><td>83.4 ± 0.5%</td><td>72.6 ± 0.6%</td><td>79.9 ± 0.3%</td></tr><tr><td>81.3 ± 0.7%</td><td>70.9 ± 0.6%</td><td>78.2 ± 0.5%</td></tr><tr><td>83.2 ± 0.4%</td><td>71.6 ± 0.5%</td><td>79.8 ± 0.3%</td></tr><tr><td rowspan="2">GCN2 [12] AL-GCN2 (ours)</td><td>81.5±0.7%</td><td>71.5 ± 0.5%</td><td>79.2 ± 0.4%</td></tr><tr><td>82.3 ± 0.4%</td><td>72.6 ± 0.5%</td><td>79.6± 0.5%</td></tr><tr><td rowspan="2">GCN3[12] AL-GCN3 (ours)</td><td>80.7±1.2%</td><td>68.0±1.4%</td><td>77.7 ± 0.5%</td></tr><tr><td>84.7 ± 0.4%</td><td>72.3± 0.5%</td><td>81.4± 0.6%</td></tr></table>
|
| 382 |
+
|
| 383 |
+
# 245 4.2 Experimental Results
|
| 384 |
+
|
| 385 |
+
46 In this section, we provide the experimental results of the node classification, an ablation study, and
|
| 386 |
+
47 the visualization of hidden embeddings. More experimental results, such as parameter and model
|
| 387 |
+
48 robustness studies can be found in the supplementary materials.
|
| 388 |
+
|
| 389 |
+
We conduct the node classification task on three citation network datasets. As shown in Table 2, our method consistently and significantly enhances the learning performance compared to the other methods. In particular, for the Cora dataset, the proposed method is superior to GCN by $4 . 9 \%$ Compared to the other methods, our model considers more graph-structured information via auxiliary learning. Thus, it is consistently and significantly superior to the compared methods, achieving state-of-the-art results.
|
| 390 |
+
|
| 391 |
+
# 4.3 Ablation Studies
|
| 392 |
+
|
| 393 |
+
# 4.3.1 On the Auxiliary Learning Modules
|
| 394 |
+
|
| 395 |
+
To determine how the link predictor $( P )$ and the pseudo label generator $( G )$ affect the node classification performance, we apply the following two ablation models: (1) Vanilla GCN with the link predictor, termed $\mathrm { G C N } { + } P$ . (2) Vanilla GCN with the lable generator, termed ${ \mathrm { G C N } } { + } G$ . We compare ${ \mathrm { G C N } } { \mathrm { + } } G$ and $\mathrm { G C N } { + } P$ with the proposed method, AL-GCN $( \mathbf { G } \mathbf { C } \mathbf { N } { + } \mathbf { } \mathbf { } P { + } G )$ , and the original GCN. Table 3 lists the results. As can be seen, the proposed method consistently outperforms $\mathrm { G C N } { + } P$ and ${ \mathrm { G C N } } { + } G$ . Specifically, compared to the link predictor, the label generator has more effect on the Citeseer dataset. However, for the Pubmed dataset, the link predictor has much more effect on the learning performance.
|
| 396 |
+
|
| 397 |
+
# 4.3.2 On the Reconstructed Graph Adjacency Matrix
|
| 398 |
+
|
| 399 |
+
For the backbone network, a reconstructed graph adjacency matrix via a link prediction task is used as input. To determine how the reconstructed graph adjacency matrix affects the node classification performance, we compare the proposed model with the following two models: (1) A model that takes the original graph adjacency matrix without the reconstructed one as the input of the backbone network, termed w/o-recG; (2) A model that takes only the reconstructed graph adjacency matrix as the input of the backbone network, termed w/o-oriG.
|
| 400 |
+
|
| 401 |
+
272 As shown in Table 4, our method consistently outperforms w/o-recG and w/o-oriG. This can be
|
| 402 |
+
273 attributed to the fact that the reconstructed graph adjacency matrix via the link predictor can capture
|
| 403 |
+
274 the detailed topology information of a graph and the fixed original graph adjacency matrix increases
|
| 404 |
+
275 the training stability.
|
| 405 |
+
|
| 406 |
+
Table 3: The ablation experiment results.
|
| 407 |
+
|
| 408 |
+
<table><tr><td>Method</td><td>Cora</td><td>Citeseer</td><td>Pubmed</td></tr><tr><td>GCN</td><td>80.7 ± 1.2%</td><td>68.0 ± 1.4%</td><td>77.7 ± 0.5%</td></tr><tr><td>GCN+P</td><td>83.0 ± 0.7%</td><td>70.6 ± 0.8%</td><td>81.3 ± 0.6%</td></tr><tr><td>GCN+G</td><td>83.0 ± 0.6%</td><td>71.7 ± 0.8%</td><td>78.8± 0.6%</td></tr><tr><td>GCN+P+G (AL-GCN)</td><td>84.7 ± 0.4%</td><td>72.3± 0.5%</td><td>81.4 ± 0.6%</td></tr></table>
|
| 409 |
+
|
| 410 |
+
Table 4: The ablation experiment results in terms of classification accuracy (in percent).
|
| 411 |
+
|
| 412 |
+
<table><tr><td>Method</td><td>Cora</td><td>Citeseer</td><td>Pubmed</td></tr><tr><td>GCN</td><td>80.7±1.2%</td><td>68.0±1.4%</td><td>77.7 ± 0.5%</td></tr><tr><td>w/o-recG</td><td>84.5 ± 0.5%</td><td>71.9 ± 0.6%</td><td>80.1 ± 0.5%</td></tr><tr><td>W/0-oriG</td><td>84.1 ±0.6%</td><td>71.4 ± 0.9%</td><td>80.6 ± 1.5%</td></tr><tr><td>AL-GCN</td><td>84.7 ±0.4%</td><td>72.3 ± 0.5%</td><td>81.4± 0.6%</td></tr></table>
|
| 413 |
+
|
| 414 |
+

|
| 415 |
+
Figure 4: Visualization of the hidden embedding obtained by different methods via t-SNE algorithm.
|
| 416 |
+
|
| 417 |
+
# 276 4.4 Visualization of Hidden Embeddings
|
| 418 |
+
|
| 419 |
+
To determine how the hidden embeddings affect the learning performance, we use the visualization tool t-SNE [30] to observe their distribution. As shown in Fig. 4, the embedding results of GCN and GAT are denser, and the separation of different clusters is not obvious. In contrast, the node distributions learned by our proposed method are more separate, with most of the nodes from the same classes being close to each other, resulting in obvious cluster structures. These experimental results demonstrate that the proposed method can capture more detailed structure information of a graph, including the nodes and edges, resulting in more effective hidden embeddings.
|
| 420 |
+
|
| 421 |
+
# 5 Conclusion
|
| 422 |
+
|
| 423 |
+
We have proposed a novel graph convolutional network for semi-supervised node classification. Different from existing methods, the proposed model focuses on enriching the graph data and adopts meta auxiliary learning to enhance the representations of nodes and edges in a graph. To enrich node label information, an auxiliary label generator is used to generate pseudo probabilistic labels. Meanwhile, an auxiliary link predictor is used to generate probabilistic edges to enrich the graph structure information. The enriched node and edge information can iteratively enhance the performance of the node classification task. Experimental results on several benchmark citation datasets show that the proposed model is superior to the existing methods. For future work, we note that real-world data is usually contaminated by noise, which results in a robustness problem for graph learning methods. We plan to extend our model to handle noisy data by designing a more robust learning method for graph-structured data.
|
| 424 |
+
|
| 425 |
+
# References
|
| 426 |
+
|
| 427 |
+
[1] David Duvenaud, Dougal Maclaurin, Jorge Aguilera-Iparraguirre, Rafael Gómez-Bombarelli, Timothy Hirzel, Alán Aspuru-Guzik, and Ryan P. Adams. Convolutional networks on graphs for learning molecular fingerprints. In Advances in Neural Information Processing Systems, pages 2224–2232, 2015.
|
| 428 |
+
[2] Rex Ying, Ruining He, Kaifeng Chen, Pong Eksombatchai, William L. Hamilton, and Jure Leskovec. Graph convolutional neural networks for web-scale recommender systems. In Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages 974–983, 2018. [3] Petar Velickovic, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Liò, and Yoshua Bengio. Graph attention networks. In 6th International Conference on Learning Representations, 2018. [4] Johannes Klicpera, Aleksandar Bojchevski, and Stephan Günnemann. Predict then propagate: Graph neural networks meet personalized pagerank. In 7th International Conference on Learning Representations, 2019. [5] Xiao Wang, Meiqi Zhu, Deyu Bo, Peng Cui, Chuan Shi, and Jian Pei. AM-GCN: adaptive multichannel graph convolutional networks. In Proceedings of the 26t h ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages 1243–1253, 2020. [6] Keyulu Xu, Chengtao Li, Yonglong Tian, Tomohiro Sonobe, Ken-ichi Kawarabayashi, and Stefanie Jegelka. Representation learning on graphs with jumping knowledge networks. In Proceedings of the 35th International Conference on Machine Learning, volume 80, pages 5449–5458, 2018. [7] Lingxiao Zhao and Leman Akoglu. Pairnorm: Tackling oversmoothing in gnns. In 8th International Conference on Learning Representations, 2020.
|
| 429 |
+
[8] Ming Chen, Zhewei Wei, Zengfeng Huang, Bolin Ding, and Yaliang Li. Simple and deep graph convolutional networks. In Proceedings of the 37th International Conference on Machine Learning, volume 119, pages 1725–1735, 2020. [9] Qimai Li, Zhichao Han, and Xiao-Ming Wu. Deeper insights into graph convolutional networks for semi-supervised learning. In Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, pages 3538–3545, 2018.
|
| 430 |
+
[10] Joan Bruna, Wojciech Zaremba, Arthur Szlam, and Yann LeCun. Spectral networks and locally connected networks on graphs. In 2nd International Conference on Learning Representations, 2014.
|
| 431 |
+
[11] Michaël Defferrard, Xavier Bresson, and Pierre Vandergheynst. Convolutional neural networks on graphs with fast localized spectral filtering. In Advances in Neural Information Processing Systems, pages 3837–3845, 2016.
|
| 432 |
+
[12] Thomas N. Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. In 5th International Conference on Learning Representations, 2017.
|
| 433 |
+
[13] Chenyi Zhuang and Qiang Ma. Dual graph convolutional networks for graph-based semisupervised classification. In Proceedings of the 2018 World Wide Web Conference on World Wide Web, pages 499–508, 2018.
|
| 434 |
+
[14] Zonghan Wu, Shirui Pan, Fengwen Chen, Guodong Long, Chengqi Zhang, and Philip S. Yu. A comprehensive survey on graph neural networks. CoRR, abs/1901.00596, 2019.
|
| 435 |
+
[15] Alessio Micheli. Neural network for graphs: A contextual constructive approach. IEEE Trans. Neural Networks, 20(3):498–511, 2009.
|
| 436 |
+
[16] James Atwood and Don Towsley. Diffusion-convolutional neural networks. In Advances in Neural Information Processing Systems, pages 1993–2001, 2016.
|
| 437 |
+
[17] Justin Gilmer, Samuel S. Schoenholz, Patrick F. Riley, Oriol Vinyals, and George E. Dahl. Neural message passing for quantum chemistry. In Proceedings of the 34th International Conference on Machine Learning, volume 70, pages 1263–1272, 2017.
|
| 438 |
+
[18] Federico Monti, Davide Boscaini, Jonathan Masci, Emanuele Rodolà, Jan Svoboda, and Michael M. Bronstein. Geometric deep learning on graphs and manifolds using mixture model cnns. In 2017 IEEE Conference on Computer Vision and Pattern Recognition, pages 5425–5434, 2017.
|
| 439 |
+
[19] Hongyang Gao, Zhengyang Wang, and Shuiwang Ji. Large-scale learnable graph convolutional networks. In Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages 1416–1424, 2018.
|
| 440 |
+
[20] John Flynn, Ivan Neulander, James Philbin, and Noah Snavely. Deepstereo: Learning to predict new views from the world’s imagery. CoRR, abs/1506.06825, 2015.
|
| 441 |
+
[21] Shubham Toshniwal, Hao Tang, Liang Lu, and Karen Livescu. Multitask learning with low-level auxiliary tasks for encoder-decoder based speech recognition. In 18th Annual Conference of the International Speech Communication Association, pages 3532–3536, 2017.
|
| 442 |
+
[22] Timothy M. Hospedales, Antreas Antoniou, Paul Micaelli, and Amos J. Storkey. Meta-learning in neural networks: A survey. CoRR, abs/2004.05439, 2020.
|
| 443 |
+
[23] Dong-Hyun Lee. Pseudo-label: The simple and efficient semi-supervised learning method for deep neural networks. In Workshop on Challenges in Representation Learning, volume 3, 2013.
|
| 444 |
+
[24] Hieu Pham, Qizhe Xie, Zihang Dai, and Quoc V. Le. Meta pseudo labels. CoRR, abs/2003.10580, 2020.
|
| 445 |
+
[25] Chelsea Finn, Pieter Abbeel, and Sergey Levine. Model-agnostic meta-learning for fast adaptation of deep networks. In Proceedings of the 34th International Conference on Machine Learning, volume 70, pages 1126–1135, 2017.
|
| 446 |
+
[26] Prithviraj Sen, Galileo Namata, Mustafa Bilgic, Lise Getoor, Brian Galligher, and Tina EliassiRad. Collective classification in network data. AI Magazine, 29(3):93, September 2008.
|
| 447 |
+
[27] Felix Wu, Amauri H. Souza Jr., Tianyi Zhang, Christopher Fifty, Tao Yu, and Kilian Q. Weinberger. Simplifying graph convolutional networks. In Proceedings of the 36th International Conference on Machine Learning, volume 97, pages 6861–6871, 2019.
|
| 448 |
+
[28] Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In 3rd International Conference on Learning Representations, 2015.
|
| 449 |
+
[29] Matthias Fey and Jan Eric Lenssen. Fast graph representation learning with pytorch geometric. CoRR, abs/1903.02428, 2019.
|
| 450 |
+
[30] Laurens van der Maaten and Geoffrey Hinton. Visualizing data using t-sne. Journal of machine learning research, 9(Nov):2579–2605, 2008.
|
| 451 |
+
|
| 452 |
+
# Checklist
|
| 453 |
+
|
| 454 |
+
1. For all authors...
|
| 455 |
+
|
| 456 |
+
(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes]
|
| 457 |
+
(b) Did you describe the limitations of your work? [Yes]
|
| 458 |
+
(c) Did you discuss any potential negative societal impacts of your work? [No]
|
| 459 |
+
(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes]
|
| 460 |
+
|
| 461 |
+
2. If you are including theoretical results...
|
| 462 |
+
|
| 463 |
+
(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]
|
| 464 |
+
|
| 465 |
+
3. If you ran experiments...
|
| 466 |
+
|
| 467 |
+
(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] The codes are included in the supplemental material and the datasets can be downlowded by the codes automaticly.
|
| 468 |
+
(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] They are included in the supplemental material.
|
| 469 |
+
(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] See Section 4.1.
|
| 470 |
+
|
| 471 |
+
(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 Section 4.1.
|
| 472 |
+
|
| 473 |
+
4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets...
|
| 474 |
+
|
| 475 |
+
(a) If your work uses existing assets, did you cite the creators? [Yes] See Section 4.1.
|
| 476 |
+
(b) Did you mention the license of the assets? [No]
|
| 477 |
+
(c) Did you include any new assets either in the supplemental material or as a URL? [No]
|
| 478 |
+
(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [No]
|
| 479 |
+
(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [No]
|
| 480 |
+
|
| 481 |
+
5. If you used crowdsourcing or conducted research with human subjects...
|
| 482 |
+
|
| 483 |
+
(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A]
|
| 484 |
+
(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A]
|
| 485 |
+
(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A]
|
parse/train/9QffERDO_rJ/9QffERDO_rJ_content_list.json
ADDED
|
@@ -0,0 +1,1471 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
197,
|
| 8 |
+
122,
|
| 9 |
+
800,
|
| 10 |
+
171
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous Author(s) \nAffiliation \nAddress \nemail ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
423,
|
| 19 |
+
222,
|
| 20 |
+
578,
|
| 21 |
+
276
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Abstract ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
462,
|
| 31 |
+
313,
|
| 32 |
+
535,
|
| 33 |
+
329
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "1 Graph convolutional networks (GCNs) have recently achieved great success in \n2 many applications. However they suffer from an incomplete annotation problem \n3 for complex graph-structured data. In this paper, we introduce a novel auxiliary \n4 learning method for GCNs in a multi-task fashion, which can efficiently enrich the \n5 data annotations. Specifically, both link prediction and label generation are used as \n6 two auxiliary tasks to complement the primary task of node classification. These \n7 two auxiliary tasks are jointly trained with the primary node classification task \n8 via a graph meta-learning strategy. The experimental results demonstrate that the \n9 proposed method consistently and significantly outperforms existing methods and \n10 achieves state-of-the-art results on several benchmark citation network datasets. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
150,
|
| 42 |
+
344,
|
| 43 |
+
766,
|
| 44 |
+
483
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "11 1 Introduction ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
148,
|
| 54 |
+
510,
|
| 55 |
+
310,
|
| 56 |
+
527
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "12 Graph-structured data is ubiquitous in real-world applications. However, general deep learning \n13 methods, such as convolutional neural networks (CNNs), cannot adapt to graph-structured data \n14 directly, because the nodes in a graph have different numbers of neighbors, which often lose the \n15 ranking information. To handle the graph data effectively, graph convolutional networks (GCNs) \n16 have recently been proposed and used in many applications such as biomolecular prediction [1] and \n17 recommendation systems [2]. \n18 Previous methods focus on designing models that can extract information from both the graph \n19 topology and node features. Specifically, existing GCN methods typically design different propagation \n20 strategies [3, 4, 5] for each network layer and stack more network layers [6, 7, 8] to derive larger \n21 receptive fields. However, the neighborhood aggregation is essentially a type of Laplacian smoothing \n22 and stacking too many layers may result in over-smoothing [9]. These drawbacks of existing methods \n23 limit further performance enhancement. \n24 In this paper, we try to explore the bottleneck of node classification from another point of view, i.e., \n25 from the training data itself. As shown in Fig. 1, graph-structured data has different properties from \n26 grid-like data such as an image. The most obvious difference is that the nodes in a graph are connected \n27 by edges. This causes two main issues whien it comes to annotating graph-structured data, resulting in \n28 that existing methods cannot fully leverage the graph-structured information. First, the edges in most \n29 graph data for semi-supervised node classification are unweighted. This arbitrary edge indication \n30 setting cannot effectively reflect the detailed graph structures. Besides, graph-structured data may be \n31 contaminated with noisy edges. These noisy edges cannot represent the true pairwise relationships \n32 between nodes. Second, using one-hot labels to train a graph-based model is inappropriate. One-hot \n33 labels are widely used in various machine learning tasks, assigning a training sample to a single class. \n34 However, nodes in a graph are connected; even nodes with different classes may have relations. In \n35 this scenario, it is more suitable to use soft labels to assign a node to multiple classes, with different \n36 probabilities indicating which class the node possibly belongs to. \n37 To fully leverage the graph-structured \n38 information for enhancing the node \n39 classification performance of GCNs, \n40 we introduce an auxiliary learning \n41 scheme to the GCN framework in \n42 a multi-task fashion. To this end, \n43 we add two auxiliary tasks to enrich \n44 the topology information of a graph \n45 by softening the node labels and re \n46 weighting the edges. Experimental \n47 results show that our model achieves \n48 state-of-the-art node classification per \n49 formance on several benchmark cita \n50 tion network datasets. Our contribu \n51 tions are as follows: \n52 (1) We propose two auxiliary tasks to capture more accurate graph information and enhance the \n53 model performance. The auxiliary link prediction task ensures that the model captures more graph \n54 topology information and generates probabilistic edges. The auxiliary label generation task softens \n55 the one-hot labels and generates pseudo-labels for unlabeled nodes. \n56 (2) The reconstructed edges and pseudo sudo labels derived via the two auxiliary tasks are iteratively \n57 updated with a node classifier of the primary task based on a meta auxiliary learning strategy, resulting \n8 in state-of-the-art node classification performance. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
147,
|
| 65 |
+
541,
|
| 66 |
+
825,
|
| 67 |
+
625
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "",
|
| 74 |
+
"bbox": [
|
| 75 |
+
147,
|
| 76 |
+
631,
|
| 77 |
+
825,
|
| 78 |
+
714
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "",
|
| 85 |
+
"bbox": [
|
| 86 |
+
145,
|
| 87 |
+
722,
|
| 88 |
+
825,
|
| 89 |
+
900
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "",
|
| 96 |
+
"bbox": [
|
| 97 |
+
145,
|
| 98 |
+
92,
|
| 99 |
+
419,
|
| 100 |
+
297
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 1
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "image",
|
| 106 |
+
"img_path": "images/36409fd544893ad989d914aea383d46b34d7a51667d534251defaee6a4343220.jpg",
|
| 107 |
+
"image_caption": [
|
| 108 |
+
"Figure 1: The difference between image data and graphstructured data. The nodes in graph-structured data are connected. Further, in most graph data for the node classification task, edges are unweighted and noisy. "
|
| 109 |
+
],
|
| 110 |
+
"image_footnote": [],
|
| 111 |
+
"bbox": [
|
| 112 |
+
480,
|
| 113 |
+
95,
|
| 114 |
+
772,
|
| 115 |
+
209
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "",
|
| 122 |
+
"bbox": [
|
| 123 |
+
147,
|
| 124 |
+
304,
|
| 125 |
+
825,
|
| 126 |
+
361
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "",
|
| 133 |
+
"bbox": [
|
| 134 |
+
155,
|
| 135 |
+
366,
|
| 136 |
+
823,
|
| 137 |
+
409
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "59 2 Related Work ",
|
| 144 |
+
"text_level": 1,
|
| 145 |
+
"bbox": [
|
| 146 |
+
151,
|
| 147 |
+
430,
|
| 148 |
+
320,
|
| 149 |
+
446
|
| 150 |
+
],
|
| 151 |
+
"page_idx": 1
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"type": "text",
|
| 155 |
+
"text": "Over the past few years, GCNs have achieved significant breakthroughs in graph data representation. \nGenerally, existing GCNs can be divided into spectral-based methods and spatial-based methods. ",
|
| 156 |
+
"bbox": [
|
| 157 |
+
161,
|
| 158 |
+
463,
|
| 159 |
+
823,
|
| 160 |
+
491
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 1
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "text",
|
| 166 |
+
"text": "62 The spectral-based methods use graph spectral theory to define the graph convolutional operation \n63 in a graph Fourier domain. Spectral CNN [10] follows these mathematical foundations, assuming \n64 that a convolutional filter is a set of learnable parameters. To reduce computational complexity, \n65 ChebNet [11] approximates a graph convolutional filter as Chebyshev polynomials of the eigenvalues. \n66 GCN [12] introduces a first-order approximation of ChebNet and proposes a renormalization trick to \n67 alleviate numerical instabilities and exploding/vanishing gradients. DualGCN [13] introduces a dual \n68 GCN architecture with two graph convolutional layers in parallel to encode both local and global \n69 structural information. \n70 The spatial-based methods define feature aggregation in the spatial domain directly, which is more \n71 efficient, general, and flexible [14]. The key challenge for these spatial-based methods is to apply \n72 the convolution operation for different-sized neighborhoods, while at the same time maintaining the \n73 weight sharing property. Neural network for graphs (NN4G) [15] is the first spatial-based method, \n74 applying the graph convolutional operation in the spatial space. Diffusion convolutional neural \n75 networks (DCNN) [16] consider graph convolutions as diffusion processes to efficiently learn features \n76 that are invariant under isomorphism. Message passing neural networks (MPNN) [17] model graph \n77 convolution as a message passing process among the nodes. The graph attention network (GAT) \n78 [3] introduce masked self-attentional layers to assign different weights to adjacent nodes, leading to \n79 learnable filter weights. The mixture model network (MoNet) [18] introduces pseudo-coordinates to \n80 assign different weights to the neighbors of each node. To achieve weight sharing across different \n81 nodes, some spatial-based models attempt to rank a node’s neighbors via certain criteria or metrics, \n82 which transforms the graph-structured data into grid data for further processing. The large-scale \n83 graph convolutional network (LGCN) [19] ranks a node’s neighbors via the node feature values. Then, \n84 multiple 1D convolutional layers are stacked for feature aggregation. Approximate personalized \n85 propagation of neural predictions (APPNP) [4] takes the personalized PageRank algorithm as the \n86 model propagation method to avoid over-smoothing when stacking more layers or increasing the size \n87 of the neighborhood. \n88 Multi-task learning is designed to simultaneously learn a set of related but different tasks for ensuring \n89 that a learning model can derive the best performance across all tasks. Different from multi-task \n90 learning, auxiliary learning is only concerned with model performance on the primary task. For \n91 instance, Deepstereo [20] leverages auxiliary learning to predict the relative poses of multiple cameras \n92 for unsupervised monocular depth estimation. To improve the performance of conversational speech \n93 recognition, auxiliary learning [21] is applied to low-level representations. Compared to the common \n94 learning scheme, meta auxiliary learning can enhance learning performance. For instance, MAXL \n95 [22] adopts meta-learning to automatically generate the auxiliary task labels. Pseudo Label [23] is \n96 a semi-supervised learning method, where a deep neural network is trained using both labeled and \n97 unlabeled data. For unlabeled data, the model picks up the class that has the maximum predicted \n98 probability as the true label to train itself. MPL [24] extends the Pseudo Label [23] via a meta-learning \n99 strategy, where the pseudo-labels are not generated by itself, but by a teacher network. \n100 The existing GCNs are designed for a single task, where the properties of graph-structured data \n101 are not fully explored. We introduce the auxiliary learning scheme to leverage more detailed graph \n102 topology information for enhancing node classification performance. ",
|
| 167 |
+
"bbox": [
|
| 168 |
+
147,
|
| 169 |
+
497,
|
| 170 |
+
825,
|
| 171 |
+
608
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 1
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "",
|
| 178 |
+
"bbox": [
|
| 179 |
+
147,
|
| 180 |
+
613,
|
| 181 |
+
826,
|
| 182 |
+
863
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 1
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "text",
|
| 188 |
+
"text": "",
|
| 189 |
+
"bbox": [
|
| 190 |
+
147,
|
| 191 |
+
869,
|
| 192 |
+
825,
|
| 193 |
+
911
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 1
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "image",
|
| 199 |
+
"img_path": "images/41920fc86418e351c9d94b0646df623102ab6b626227a70d89c09a4bdd7fec8c.jpg",
|
| 200 |
+
"image_caption": [
|
| 201 |
+
"Figure 2: Network architecture of the vanilla GCN model. The vanilla GCN contains multiple GCN layers. Each layer captures the graph structure to generate the hidden embeddings from the previous layer (For the first layer, it is the original feature of the node) as input, and obtains the output through the message calculation, aggregation and update step. The last layer uses a softmax function to generate classification probabilities for each node. "
|
| 202 |
+
],
|
| 203 |
+
"image_footnote": [],
|
| 204 |
+
"bbox": [
|
| 205 |
+
269,
|
| 206 |
+
87,
|
| 207 |
+
725,
|
| 208 |
+
299
|
| 209 |
+
],
|
| 210 |
+
"page_idx": 2
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"type": "text",
|
| 214 |
+
"text": "",
|
| 215 |
+
"bbox": [
|
| 216 |
+
145,
|
| 217 |
+
402,
|
| 218 |
+
825,
|
| 219 |
+
529
|
| 220 |
+
],
|
| 221 |
+
"page_idx": 2
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"type": "text",
|
| 225 |
+
"text": "",
|
| 226 |
+
"bbox": [
|
| 227 |
+
145,
|
| 228 |
+
534,
|
| 229 |
+
825,
|
| 230 |
+
577
|
| 231 |
+
],
|
| 232 |
+
"page_idx": 2
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"type": "text",
|
| 236 |
+
"text": "3 Method ",
|
| 237 |
+
"text_level": 1,
|
| 238 |
+
"bbox": [
|
| 239 |
+
171,
|
| 240 |
+
594,
|
| 241 |
+
271,
|
| 242 |
+
611
|
| 243 |
+
],
|
| 244 |
+
"page_idx": 2
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"type": "text",
|
| 248 |
+
"text": "3.1 Preliminaries ",
|
| 249 |
+
"text_level": 1,
|
| 250 |
+
"bbox": [
|
| 251 |
+
176,
|
| 252 |
+
625,
|
| 253 |
+
307,
|
| 254 |
+
640
|
| 255 |
+
],
|
| 256 |
+
"page_idx": 2
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"type": "text",
|
| 260 |
+
"text": "05 Given a graph $\\mathcal { G } = \\{ \\nu , \\varepsilon , \\mathbf { X } \\}$ , $\\nu$ is a set of nodes and $\\mathcal { E }$ is a set of the edges connecting the related nodes. 06 $\\mathbf { X } \\in \\mathbb { R } ^ { N \\times d }$ represents the features matrix of the nodes, where $d$ is the dimension of the node 107 features and $N = | \\nu |$ is the number of nodes. ",
|
| 261 |
+
"bbox": [
|
| 262 |
+
148,
|
| 263 |
+
648,
|
| 264 |
+
825,
|
| 265 |
+
694
|
| 266 |
+
],
|
| 267 |
+
"page_idx": 2
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"type": "text",
|
| 271 |
+
"text": "108 The proposed method adopts the vanilla GCN [12] as the backbone network, taking the graph \n109 adjacency matrix A, labeled training set $\\mathbf { Y } _ { \\mathrm { t r a i n } }$ , and original features $\\mathbf { X }$ of the nodes as inputs to \n110 perform the semi-supervised node classification task. Based on the MPNN framework [17], each \n111 layer of the vanilla GCN is defined in three parts: \n112 (1) Message computation: The message of node $v _ { i }$ and its neighbor node $v _ { j }$ is calculated, where \n113 $j \\in \\mathcal { N } ( i )$ , as: ",
|
| 272 |
+
"bbox": [
|
| 273 |
+
140,
|
| 274 |
+
699,
|
| 275 |
+
825,
|
| 276 |
+
756
|
| 277 |
+
],
|
| 278 |
+
"page_idx": 2
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"type": "text",
|
| 282 |
+
"text": "",
|
| 283 |
+
"bbox": [
|
| 284 |
+
142,
|
| 285 |
+
761,
|
| 286 |
+
825,
|
| 287 |
+
790
|
| 288 |
+
],
|
| 289 |
+
"page_idx": 2
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "equation",
|
| 293 |
+
"img_path": "images/c79d1f58e9596c364d1d97fdbca1d64c4b866c03e05e06c0c7714277914e2152.jpg",
|
| 294 |
+
"text": "$$\n\\mathbf { m } _ { j } ^ { ( k ) } = \\frac { 1 } { \\sqrt { \\deg ( i ) \\deg ( j ) } } \\mathbf { h } _ { j } ^ { ( k - 1 ) } \\mathbf { W } ^ { ( k ) } , \\ j \\in \\{ i \\} \\bigcup \\mathcal { N } ( i ) .\n$$",
|
| 295 |
+
"text_format": "latex",
|
| 296 |
+
"bbox": [
|
| 297 |
+
312,
|
| 298 |
+
787,
|
| 299 |
+
686,
|
| 300 |
+
823
|
| 301 |
+
],
|
| 302 |
+
"page_idx": 2
|
| 303 |
+
},
|
| 304 |
+
{
|
| 305 |
+
"type": "text",
|
| 306 |
+
"text": "Here, 114 $\\deg ( i )$ is the degree of node $v _ { i }$ and $\\mathbf { W } ^ { ( k ) } \\in \\mathbb { R } ^ { c _ { k - 1 } \\times c _ { k } }$ are the learnable parameters of the 115 $k ^ { \\mathrm { t h } }$ -layer, where $c _ { k }$ is the size of the hidden embedding. ",
|
| 307 |
+
"bbox": [
|
| 308 |
+
142,
|
| 309 |
+
824,
|
| 310 |
+
825,
|
| 311 |
+
856
|
| 312 |
+
],
|
| 313 |
+
"page_idx": 2
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"type": "text",
|
| 317 |
+
"text": "116 (2) Aggregation: The messages of node $v _ { i }$ and its neighbors are aggregated by summing them up: ",
|
| 318 |
+
"bbox": [
|
| 319 |
+
142,
|
| 320 |
+
861,
|
| 321 |
+
810,
|
| 322 |
+
877
|
| 323 |
+
],
|
| 324 |
+
"page_idx": 2
|
| 325 |
+
},
|
| 326 |
+
{
|
| 327 |
+
"type": "equation",
|
| 328 |
+
"img_path": "images/358bb151962420ef6c56bb9f60686cf3ad33d1a7ad8dcb9fa163e347a8cc59b8.jpg",
|
| 329 |
+
"text": "$$\n\\mathbf { m } _ { \\mathcal { N } ( i ) } ^ { ( k ) } = \\sum _ { j \\in \\{ i \\} \\cup \\mathcal { N } ( i ) } \\mathbf { m } _ { j } ^ { ( k ) } ,\n$$",
|
| 330 |
+
"text_format": "latex",
|
| 331 |
+
"bbox": [
|
| 332 |
+
408,
|
| 333 |
+
878,
|
| 334 |
+
588,
|
| 335 |
+
915
|
| 336 |
+
],
|
| 337 |
+
"page_idx": 2
|
| 338 |
+
},
|
| 339 |
+
{
|
| 340 |
+
"type": "image",
|
| 341 |
+
"img_path": "images/5bb1ad25699143eabc00afa5d26076d610a1c489fe13046a73dacd313172fc38.jpg",
|
| 342 |
+
"image_caption": [
|
| 343 |
+
"Figure 3: The overall network architecture. Our method consists of three networks: a backbone network for the primary task and two auxiliary task networks. (1) The backbone network is a vanilla GCN, which predicts the classification results of each node. (2) The first auxiliary task network is a link predictor, which focuses on the link prediction task and generates a probabilistic edge structure as the input of the backbone network. (3) The second auxiliary task network is a label generator, which employs the label generation task to generate the pseudo soft labels for supervising the node classifier. The parts connected by the dashed arrow share the same parameters, and the red slash on the arrow indicates a stop-gradient (detach) operation. "
|
| 344 |
+
],
|
| 345 |
+
"image_footnote": [],
|
| 346 |
+
"bbox": [
|
| 347 |
+
174,
|
| 348 |
+
87,
|
| 349 |
+
825,
|
| 350 |
+
258
|
| 351 |
+
],
|
| 352 |
+
"page_idx": 3
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"type": "text",
|
| 356 |
+
"text": "where m(k)(i)117 denotes the aggregated message. ",
|
| 357 |
+
"bbox": [
|
| 358 |
+
140,
|
| 359 |
+
414,
|
| 360 |
+
480,
|
| 361 |
+
434
|
| 362 |
+
],
|
| 363 |
+
"page_idx": 3
|
| 364 |
+
},
|
| 365 |
+
{
|
| 366 |
+
"type": "text",
|
| 367 |
+
"text": "18 (3) Feature updating: Finally, the hidden representation is updated with the aggregated message. For \n19 the vanilla GCN, the update function can be considered as applying a non-linear operation to the \n120 aggregated message: ",
|
| 368 |
+
"bbox": [
|
| 369 |
+
150,
|
| 370 |
+
440,
|
| 371 |
+
826,
|
| 372 |
+
482
|
| 373 |
+
],
|
| 374 |
+
"page_idx": 3
|
| 375 |
+
},
|
| 376 |
+
{
|
| 377 |
+
"type": "equation",
|
| 378 |
+
"img_path": "images/d24a99ca960ae17df95589d8a7d769f9bf76f635d49441c572384046a8f4770f.jpg",
|
| 379 |
+
"text": "$$\n\\mathbf { h } _ { i } ^ { k } = \\left\\{ \\begin{array} { l l } { \\mathrm { s o f t m a x } ( \\mathbf { m } _ { \\mathcal { N } ( i ) } ^ { ( k ) } ) , } & { \\mathrm { i f ~ } k = K } \\\\ { \\mathrm { R e L U } ( \\mathbf { m } _ { \\mathcal { N } ( i ) } ^ { ( k ) } ) , } & { \\mathrm { o t h e r w i s e } . } \\end{array} \\right.\n$$",
|
| 380 |
+
"text_format": "latex",
|
| 381 |
+
"bbox": [
|
| 382 |
+
366,
|
| 383 |
+
479,
|
| 384 |
+
629,
|
| 385 |
+
523
|
| 386 |
+
],
|
| 387 |
+
"page_idx": 3
|
| 388 |
+
},
|
| 389 |
+
{
|
| 390 |
+
"type": "text",
|
| 391 |
+
"text": "121 Here, $K$ is the number of model layers. The last layer of the vanilla GCN should output the \n122 classification probability via a softmax function. Otherwise, a ReLU operation is used. ",
|
| 392 |
+
"bbox": [
|
| 393 |
+
148,
|
| 394 |
+
523,
|
| 395 |
+
830,
|
| 396 |
+
551
|
| 397 |
+
],
|
| 398 |
+
"page_idx": 3
|
| 399 |
+
},
|
| 400 |
+
{
|
| 401 |
+
"type": "text",
|
| 402 |
+
"text": "3.2 Multi-Task Network Architecture ",
|
| 403 |
+
"text_level": 1,
|
| 404 |
+
"bbox": [
|
| 405 |
+
163,
|
| 406 |
+
565,
|
| 407 |
+
447,
|
| 408 |
+
582
|
| 409 |
+
],
|
| 410 |
+
"page_idx": 3
|
| 411 |
+
},
|
| 412 |
+
{
|
| 413 |
+
"type": "text",
|
| 414 |
+
"text": "In this paper, we propose an auxiliary learning induced GCN for semi-supervised node classification (see Fig. 3). To enhance the node classification performance of the backbone vanilla GCN, we design two auxiliary tasks: link prediction and pseudo-label generation. ",
|
| 415 |
+
"bbox": [
|
| 416 |
+
173,
|
| 417 |
+
592,
|
| 418 |
+
825,
|
| 419 |
+
635
|
| 420 |
+
],
|
| 421 |
+
"page_idx": 3
|
| 422 |
+
},
|
| 423 |
+
{
|
| 424 |
+
"type": "text",
|
| 425 |
+
"text": "127 The first $K - 1$ layers of a $K$ -layer vanilla GCN model can be considered as a feature extractor, while \n128 the last layer can be considered as a classifier. Denoting the feature extractor and node classifier of \n129 the backbone model as $h _ { \\theta _ { 2 } }$ and $f _ { \\theta _ { 1 } }$ , respectively, where $\\theta _ { 1 }$ and $\\theta _ { 2 }$ are the learnable parameters, the \n130 proposed two auxiliary task networks are defined as follows. ",
|
| 426 |
+
"bbox": [
|
| 427 |
+
143,
|
| 428 |
+
640,
|
| 429 |
+
825,
|
| 430 |
+
696
|
| 431 |
+
],
|
| 432 |
+
"page_idx": 3
|
| 433 |
+
},
|
| 434 |
+
{
|
| 435 |
+
"type": "text",
|
| 436 |
+
"text": "3.2.1 Link Predictor ",
|
| 437 |
+
"text_level": 1,
|
| 438 |
+
"bbox": [
|
| 439 |
+
173,
|
| 440 |
+
709,
|
| 441 |
+
328,
|
| 442 |
+
724
|
| 443 |
+
],
|
| 444 |
+
"page_idx": 3
|
| 445 |
+
},
|
| 446 |
+
{
|
| 447 |
+
"type": "text",
|
| 448 |
+
"text": "132 To enrich the edge information, we design an auxiliary link prediction task to infer the missing edges \n133 and present the probability of edge existence. The link predictor we propose contains a decoder $\\bar { R } ( \\cdot )$ \n134 and the feature extractor $h _ { \\theta _ { 2 } }$ of the backbone model. ",
|
| 449 |
+
"bbox": [
|
| 450 |
+
142,
|
| 451 |
+
733,
|
| 452 |
+
825,
|
| 453 |
+
776
|
| 454 |
+
],
|
| 455 |
+
"page_idx": 3
|
| 456 |
+
},
|
| 457 |
+
{
|
| 458 |
+
"type": "text",
|
| 459 |
+
"text": "The feature extractor 135 $h _ { \\theta _ { 2 } } ( \\cdot )$ takes reduced adjacency matrix ${ \\bf A } _ { s }$ which corresponds to the sampled 136 edge set $\\mathcal { E } _ { s } \\subset \\mathcal { E }$ , and node features $\\mathbf { X }$ as inputs to generate the hidden embedding: ",
|
| 460 |
+
"bbox": [
|
| 461 |
+
151,
|
| 462 |
+
781,
|
| 463 |
+
823,
|
| 464 |
+
810
|
| 465 |
+
],
|
| 466 |
+
"page_idx": 3
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"type": "equation",
|
| 470 |
+
"img_path": "images/369f28ac879d6b8ebd30f4cd89932da8c809a00a21b9cf1cd4f1da133d916c26.jpg",
|
| 471 |
+
"text": "$$\n\\begin{array} { r } { { \\bf H } _ { s } = h _ { \\theta _ { 2 } } ( { \\bf X } , { \\bf A } _ { s } ) . } \\end{array}\n$$",
|
| 472 |
+
"text_format": "latex",
|
| 473 |
+
"bbox": [
|
| 474 |
+
434,
|
| 475 |
+
813,
|
| 476 |
+
562,
|
| 477 |
+
829
|
| 478 |
+
],
|
| 479 |
+
"page_idx": 3
|
| 480 |
+
},
|
| 481 |
+
{
|
| 482 |
+
"type": "text",
|
| 483 |
+
"text": "137 Then, the decoder computes the similarity between each node based on $\\mathbf { H } _ { s }$ to predict the edge \n138 existence probabilities. We simply use an inner-product calculator with a sigmoid function as the \n139 implementation of decoder $R ( \\cdot )$ . The similarity of two hidden embeddings can be computed as ",
|
| 484 |
+
"bbox": [
|
| 485 |
+
142,
|
| 486 |
+
832,
|
| 487 |
+
825,
|
| 488 |
+
875
|
| 489 |
+
],
|
| 490 |
+
"page_idx": 3
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"type": "equation",
|
| 494 |
+
"img_path": "images/7c86d0b1b9a54d4418e1cd120cedc88cd3fb6e28dc3b5a73bd0b575f7839e394.jpg",
|
| 495 |
+
"text": "$$\nr _ { i j } = R ( \\mathbf { h } _ { i } , \\mathbf { h } _ { j } ) = \\sigma ( \\mathbf { h } _ { i } \\mathbf { h } _ { j } ^ { T } ) ,\n$$",
|
| 496 |
+
"text_format": "latex",
|
| 497 |
+
"bbox": [
|
| 498 |
+
401,
|
| 499 |
+
876,
|
| 500 |
+
596,
|
| 501 |
+
896
|
| 502 |
+
],
|
| 503 |
+
"page_idx": 3
|
| 504 |
+
},
|
| 505 |
+
{
|
| 506 |
+
"type": "text",
|
| 507 |
+
"text": "140 where $\\mathbf { h } _ { i }$ and $\\mathbf { h } _ { j }$ denote the hidden embeddings of node $v _ { i }$ and node $v _ { j }$ in $\\mathbf { H } _ { s }$ , respectively. ",
|
| 508 |
+
"bbox": [
|
| 509 |
+
140,
|
| 510 |
+
897,
|
| 511 |
+
769,
|
| 512 |
+
912
|
| 513 |
+
],
|
| 514 |
+
"page_idx": 3
|
| 515 |
+
},
|
| 516 |
+
{
|
| 517 |
+
"type": "text",
|
| 518 |
+
"text": "141 3.2.2 Label Generator ",
|
| 519 |
+
"text_level": 1,
|
| 520 |
+
"bbox": [
|
| 521 |
+
147,
|
| 522 |
+
92,
|
| 523 |
+
341,
|
| 524 |
+
106
|
| 525 |
+
],
|
| 526 |
+
"page_idx": 4
|
| 527 |
+
},
|
| 528 |
+
{
|
| 529 |
+
"type": "text",
|
| 530 |
+
"text": "Although using the one-hot label is inappropriate, it is difficult to obtain soft labels with manual annotations for real graph-structured data. To tackle this issue, we introduce an auxiliary label generation task to generate soft labels that reflect the tendency of different classes each node belongs to. Label generator $g _ { \\varphi } ( { \\bf X } , { \\bf A } )$ is a vanilla GCN, where $\\varphi$ are the learnable parameters and A is the adjacency matrix. The label generation network predicts the label distribution of each node based on the graph structure $\\mathbf { A }$ and the raw features $\\mathbf { X }$ of the nodes, as: ",
|
| 531 |
+
"bbox": [
|
| 532 |
+
168,
|
| 533 |
+
114,
|
| 534 |
+
825,
|
| 535 |
+
198
|
| 536 |
+
],
|
| 537 |
+
"page_idx": 4
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"type": "equation",
|
| 541 |
+
"img_path": "images/e0466df5aaabda534f3e68d8a0171fbdf347134ae26ae929fa57eaa2b15cb0b6.jpg",
|
| 542 |
+
"text": "$$\n\\hat { \\mathbf { Y } } ^ { g } = g _ { \\varphi } ( \\mathbf { X } , \\mathbf { A } ) ,\n$$",
|
| 543 |
+
"text_format": "latex",
|
| 544 |
+
"bbox": [
|
| 545 |
+
439,
|
| 546 |
+
205,
|
| 547 |
+
557,
|
| 548 |
+
224
|
| 549 |
+
],
|
| 550 |
+
"page_idx": 4
|
| 551 |
+
},
|
| 552 |
+
{
|
| 553 |
+
"type": "text",
|
| 554 |
+
"text": "where 48 $\\mathbf { Y } ^ { g }$ are the predicted pseudo labels for guiding the training of the backbone network and the 49 label generator. ",
|
| 555 |
+
"bbox": [
|
| 556 |
+
155,
|
| 557 |
+
231,
|
| 558 |
+
825,
|
| 559 |
+
260
|
| 560 |
+
],
|
| 561 |
+
"page_idx": 4
|
| 562 |
+
},
|
| 563 |
+
{
|
| 564 |
+
"type": "text",
|
| 565 |
+
"text": "3.2.3 Node classifier ",
|
| 566 |
+
"text_level": 1,
|
| 567 |
+
"bbox": [
|
| 568 |
+
173,
|
| 569 |
+
273,
|
| 570 |
+
326,
|
| 571 |
+
289
|
| 572 |
+
],
|
| 573 |
+
"page_idx": 4
|
| 574 |
+
},
|
| 575 |
+
{
|
| 576 |
+
"type": "text",
|
| 577 |
+
"text": "151 The node classifier carries out the primary semi-supervised node classification task in our model. \n152 Compared to the vanilla GCN model, we add a graph reconstruction step at the beginning. The graph \n153 adjacency matrix reconstructed with the hidden embeddings contains richer edge information since \n154 the proposed auxiliary link prediction task can enhance the graph topology capturing ability of the \n155 feature extractor $h _ { \\theta _ { 2 } } ( \\cdot )$ . However, the hidden embeddings derived by the feature extractor change \n156 rapidly in the first few iterations, resulting in a changing reconstructed adjacency matrix. Directly \n157 applying the reconstructed adjacency matrix to the entire backbone network increases the training \n158 instability. Thus, we only apply it as the input of the feature extractor $h _ { \\theta _ { 2 } } ( \\cdot )$ , while the classifier \n159 $f _ { \\theta _ { 1 } } ( \\cdot )$ still adopts the original adjacency matrix as input. \n160 In each training iteration, the feature extractor $h _ { \\theta _ { 2 } } ( \\cdot )$ first generates the hidden embeddings of the \n161 nodes $\\mathbf { H } = h _ { \\theta _ { 2 } } ( \\mathbf { X } , \\mathbf { A } )$ . The decoder uses $\\mathbf { H }$ to reconstruct the adjacency matrix $\\mathbf { A } _ { \\mathrm { r e c o n } } = R ( \\mathbf { H } , \\mathbf { H } )$ . \n162 Then, the feature extractor takes the reconstructed adjacency matrix $\\mathbf { A } _ { \\mathrm { r e c o n } }$ to compute the hidden \n163 embeddings $\\mathbf { H } _ { \\mathrm { r e c o n } } = h _ { \\theta _ { 2 } } ( \\mathbf { X } , \\mathbf { A } _ { \\mathrm { r e c o n } } )$ . \n64 Finally, the computed hidden embeddings $\\mathbf { H } _ { \\mathrm { r e c o n } }$ and the original graph adjacency matrix A are fed \n65 to the classifier to obtain the final classification results: ",
|
| 578 |
+
"bbox": [
|
| 579 |
+
142,
|
| 580 |
+
296,
|
| 581 |
+
825,
|
| 582 |
+
424
|
| 583 |
+
],
|
| 584 |
+
"page_idx": 4
|
| 585 |
+
},
|
| 586 |
+
{
|
| 587 |
+
"type": "text",
|
| 588 |
+
"text": "",
|
| 589 |
+
"bbox": [
|
| 590 |
+
142,
|
| 591 |
+
428,
|
| 592 |
+
825,
|
| 593 |
+
486
|
| 594 |
+
],
|
| 595 |
+
"page_idx": 4
|
| 596 |
+
},
|
| 597 |
+
{
|
| 598 |
+
"type": "text",
|
| 599 |
+
"text": "",
|
| 600 |
+
"bbox": [
|
| 601 |
+
156,
|
| 602 |
+
491,
|
| 603 |
+
823,
|
| 604 |
+
518
|
| 605 |
+
],
|
| 606 |
+
"page_idx": 4
|
| 607 |
+
},
|
| 608 |
+
{
|
| 609 |
+
"type": "equation",
|
| 610 |
+
"img_path": "images/084830f3f04e12d09703f0c6b5d08c9bbac3af166bb1464cc352b65c65fcd9ad.jpg",
|
| 611 |
+
"text": "$$\n\\hat { \\mathbf { Y } } ^ { f } = f _ { \\theta _ { 1 } } ( \\mathbf { H } _ { \\mathrm { r e c o n } } , \\mathbf { A } ) .\n$$",
|
| 612 |
+
"text_format": "latex",
|
| 613 |
+
"bbox": [
|
| 614 |
+
421,
|
| 615 |
+
523,
|
| 616 |
+
576,
|
| 617 |
+
544
|
| 618 |
+
],
|
| 619 |
+
"page_idx": 4
|
| 620 |
+
},
|
| 621 |
+
{
|
| 622 |
+
"type": "text",
|
| 623 |
+
"text": "166 3.3 Auxiliary Training Phases ",
|
| 624 |
+
"text_level": 1,
|
| 625 |
+
"bbox": [
|
| 626 |
+
148,
|
| 627 |
+
558,
|
| 628 |
+
393,
|
| 629 |
+
573
|
| 630 |
+
],
|
| 631 |
+
"page_idx": 4
|
| 632 |
+
},
|
| 633 |
+
{
|
| 634 |
+
"type": "text",
|
| 635 |
+
"text": "67 In addition to the backbone network, the proposed method contains two auxiliary task networks. In \n68 the following, we will introduce the objectives for the node classifier $f _ { \\theta _ { 1 } }$ , link predictor $h _ { \\theta _ { 2 } }$ , and \n69 label generator $g _ { \\varphi }$ in order, and then leverage a meta auxiliary learning scheme to train the proposed \n70 multi-task network. ",
|
| 636 |
+
"bbox": [
|
| 637 |
+
150,
|
| 638 |
+
583,
|
| 639 |
+
825,
|
| 640 |
+
640
|
| 641 |
+
],
|
| 642 |
+
"page_idx": 4
|
| 643 |
+
},
|
| 644 |
+
{
|
| 645 |
+
"type": "text",
|
| 646 |
+
"text": "3.3.1 Training the Node Classifier $f _ { \\theta _ { 1 } }$ ",
|
| 647 |
+
"text_level": 1,
|
| 648 |
+
"bbox": [
|
| 649 |
+
169,
|
| 650 |
+
654,
|
| 651 |
+
442,
|
| 652 |
+
669
|
| 653 |
+
],
|
| 654 |
+
"page_idx": 4
|
| 655 |
+
},
|
| 656 |
+
{
|
| 657 |
+
"type": "text",
|
| 658 |
+
"text": "172 The purpose of the node classifier $f _ { \\theta _ { 1 } } ( \\cdot )$ is to carry out the graph-based semi-supervised node \n173 classification task, which yields the final prediction results. Naturally, it is necessary to use the \n174 classification loss between the predicted result and the real categories of nodes to supervise the \n175 training process. At the same time, to reflect the tendency of the class a node belongs to, the training \n176 should make the prediction labels of the classifier be close to the pseudo soft labels generated by \n177 label generator $g _ { \\varphi } ( \\cdot )$ . \n178 In the $t ^ { \\mathrm { t h } }$ iteration, denoting the pseudo soft labels as $\\hat { \\mathbf { Y } } ^ { g ( t ) } = g _ { \\varphi ^ { ( t ) } } ( \\mathbf { X } , \\mathbf { A } )$ , the real labels used in \n179 training as $\\mathbf { Y } _ { \\mathrm { t r a i n } }$ , and the prediction results of the node classifier of the backbone network $f _ { \\theta _ { 1 } }$ as \n180 $\\hat { \\mathbf { Y } } ^ { f ( t ) } = f _ { \\theta _ { 1 } ^ { ( t ) } } \\big ( h _ { \\theta _ { 2 } ^ { ( t ) } } \\big ( \\mathbf { X } , \\mathbf { A } _ { \\mathrm { r e c o n } } ^ { ( t ) } \\big ) , \\mathbf { A } \\big )$ , the objective for the node classifier $f _ { \\theta _ { 1 } } ( \\cdot )$ is defined as ",
|
| 659 |
+
"bbox": [
|
| 660 |
+
140,
|
| 661 |
+
676,
|
| 662 |
+
825,
|
| 663 |
+
763
|
| 664 |
+
],
|
| 665 |
+
"page_idx": 4
|
| 666 |
+
},
|
| 667 |
+
{
|
| 668 |
+
"type": "text",
|
| 669 |
+
"text": "",
|
| 670 |
+
"bbox": [
|
| 671 |
+
140,
|
| 672 |
+
768,
|
| 673 |
+
825,
|
| 674 |
+
820
|
| 675 |
+
],
|
| 676 |
+
"page_idx": 4
|
| 677 |
+
},
|
| 678 |
+
{
|
| 679 |
+
"type": "equation",
|
| 680 |
+
"img_path": "images/ae646b9e6510c7d0bfc2b61e4dcfa759719c99634e9793cffaaefd1a9700cac8.jpg",
|
| 681 |
+
"text": "$$\n\\mathcal { L } _ { \\theta _ { 1 } } ^ { ( t ) } = \\mathcal { L } _ { \\mathrm { C E } } ( \\hat { \\mathbf { Y } } _ { \\mathrm { t r a i n } } ^ { f ( t ) } , \\mathbf { Y } _ { \\mathrm { t r a i n } } ) + \\mathcal { L } _ { \\mathrm { M S E } } ( \\hat { \\mathbf { Y } } ^ { f ( t ) } , \\hat { \\mathbf { Y } } ^ { g ( t ) } ) .\n$$",
|
| 682 |
+
"text_format": "latex",
|
| 683 |
+
"bbox": [
|
| 684 |
+
325,
|
| 685 |
+
828,
|
| 686 |
+
673,
|
| 687 |
+
851
|
| 688 |
+
],
|
| 689 |
+
"page_idx": 4
|
| 690 |
+
},
|
| 691 |
+
{
|
| 692 |
+
"type": "text",
|
| 693 |
+
"text": "181 The objective contains two parts: the loss on the real training labels, and the loss on the generated \n182 pseudo soft labels. $\\mathcal { L } _ { \\mathrm { C E } }$ denotes the cross-entropy loss and $\\mathcal { L } _ { \\mathrm { M S E } }$ denotes the mean squared loss. \n183 Although this objective can be used to update the learnable parameters $\\theta _ { 2 }$ of the feature extractor \n184 $h _ { \\theta _ { 2 } } ( \\cdot )$ , as it generates the hidden embeddings used for node classification, we only employ it to \n185 supervise the learning of the node parameters $\\theta _ { 1 }$ of the classifier $f _ { \\theta _ { 1 } } ( \\cdot )$ . To avoid adding unnecessary \n186 supervision for generating the reconstructed graph adjacency matrix $\\mathbf { A } _ { \\mathrm { r e c o n } }$ , we add a stop-gradient \n187 operation (detach) which is formulated as follows: ",
|
| 694 |
+
"bbox": [
|
| 695 |
+
143,
|
| 696 |
+
856,
|
| 697 |
+
823,
|
| 698 |
+
883
|
| 699 |
+
],
|
| 700 |
+
"page_idx": 4
|
| 701 |
+
},
|
| 702 |
+
{
|
| 703 |
+
"type": "text",
|
| 704 |
+
"text": "",
|
| 705 |
+
"bbox": [
|
| 706 |
+
138,
|
| 707 |
+
883,
|
| 708 |
+
828,
|
| 709 |
+
911
|
| 710 |
+
],
|
| 711 |
+
"page_idx": 4
|
| 712 |
+
},
|
| 713 |
+
{
|
| 714 |
+
"type": "text",
|
| 715 |
+
"text": "",
|
| 716 |
+
"bbox": [
|
| 717 |
+
142,
|
| 718 |
+
90,
|
| 719 |
+
828,
|
| 720 |
+
133
|
| 721 |
+
],
|
| 722 |
+
"page_idx": 5
|
| 723 |
+
},
|
| 724 |
+
{
|
| 725 |
+
"type": "equation",
|
| 726 |
+
"img_path": "images/c4acaf54ec773e5bc9c96e005ddd751af7faf20697c0dc42efc3f749c4fa053d.jpg",
|
| 727 |
+
"text": "$$\n{ \\bf A } _ { \\mathrm { r e c o n } } ^ { ( t ) } = { \\tt d e t a c h } ( R ( { \\bf H } , { \\bf H } ) ) .\n$$",
|
| 728 |
+
"text_format": "latex",
|
| 729 |
+
"bbox": [
|
| 730 |
+
398,
|
| 731 |
+
138,
|
| 732 |
+
599,
|
| 733 |
+
159
|
| 734 |
+
],
|
| 735 |
+
"page_idx": 5
|
| 736 |
+
},
|
| 737 |
+
{
|
| 738 |
+
"type": "text",
|
| 739 |
+
"text": "3.3.2 Auxiliary Training for the Feature Extractor $h _ { \\theta _ { 2 } }$ ",
|
| 740 |
+
"text_level": 1,
|
| 741 |
+
"bbox": [
|
| 742 |
+
165,
|
| 743 |
+
171,
|
| 744 |
+
560,
|
| 745 |
+
186
|
| 746 |
+
],
|
| 747 |
+
"page_idx": 5
|
| 748 |
+
},
|
| 749 |
+
{
|
| 750 |
+
"type": "text",
|
| 751 |
+
"text": "189 The feature extractor $h _ { \\theta _ { 2 } }$ is shared by the link prediction module and the backbone network. In each \n190 iteration, we first randomly sample a certain percentage of edges from the real edge set $\\mathcal { E }$ to form a \n191 sampled edge set $\\mathcal { E } _ { s } \\subset \\mathcal { E }$ . Denoting the reduced graph adjacency matrix as ${ \\bf A } _ { s }$ , which corresponds to \n192 the sampled edge set $\\mathcal { E } _ { s }$ , and applying a message passing operation with ${ \\bf A } _ { s }$ as ",
|
| 752 |
+
"bbox": [
|
| 753 |
+
140,
|
| 754 |
+
194,
|
| 755 |
+
825,
|
| 756 |
+
252
|
| 757 |
+
],
|
| 758 |
+
"page_idx": 5
|
| 759 |
+
},
|
| 760 |
+
{
|
| 761 |
+
"type": "equation",
|
| 762 |
+
"img_path": "images/5608085ffea398b89c9b164b2c93b5b574e90e579dec55ca848c921466284d19.jpg",
|
| 763 |
+
"text": "$$\n\\begin{array} { r } { \\mathbf { H } _ { s } ^ { ( t ) } = h _ { \\theta _ { 2 } ^ { ( t ) } } ( \\mathbf { X } , \\mathbf { A } _ { s } ^ { ( t ) } ) , } \\end{array}\n$$",
|
| 764 |
+
"text_format": "latex",
|
| 765 |
+
"bbox": [
|
| 766 |
+
419,
|
| 767 |
+
257,
|
| 768 |
+
576,
|
| 769 |
+
281
|
| 770 |
+
],
|
| 771 |
+
"page_idx": 5
|
| 772 |
+
},
|
| 773 |
+
{
|
| 774 |
+
"type": "text",
|
| 775 |
+
"text": "193 then the objective for the feature extractor is defined as ",
|
| 776 |
+
"bbox": [
|
| 777 |
+
142,
|
| 778 |
+
285,
|
| 779 |
+
535,
|
| 780 |
+
300
|
| 781 |
+
],
|
| 782 |
+
"page_idx": 5
|
| 783 |
+
},
|
| 784 |
+
{
|
| 785 |
+
"type": "equation",
|
| 786 |
+
"img_path": "images/2a446112bec5e8ad3c721dd0fbe4c1199d641c08a8c887de18d91529bc7a8ee7.jpg",
|
| 787 |
+
"text": "$$\n\\mathcal { L } _ { \\theta _ { 2 } } ^ { ( t ) } = \\mathcal { L } _ { \\mathrm { C E } } ( R ( \\mathbf { H } _ { s } ^ { ( t ) } , \\mathbf { H } _ { s } ^ { ( t ) } ) , \\mathbf { A } ) .\n$$",
|
| 788 |
+
"text_format": "latex",
|
| 789 |
+
"bbox": [
|
| 790 |
+
392,
|
| 791 |
+
306,
|
| 792 |
+
606,
|
| 793 |
+
329
|
| 794 |
+
],
|
| 795 |
+
"page_idx": 5
|
| 796 |
+
},
|
| 797 |
+
{
|
| 798 |
+
"type": "text",
|
| 799 |
+
"text": "Here $R ( \\mathbf { H } _ { s } ^ { ( t ) } , \\mathbf { H } _ { s } ^ { ( t ) } )$ represents the correlation between the hidden embeddings of each pair of nodes. ",
|
| 800 |
+
"bbox": [
|
| 801 |
+
158,
|
| 802 |
+
337,
|
| 803 |
+
825,
|
| 804 |
+
353
|
| 805 |
+
],
|
| 806 |
+
"page_idx": 5
|
| 807 |
+
},
|
| 808 |
+
{
|
| 809 |
+
"type": "text",
|
| 810 |
+
"text": "3.3.3 Auxiliary Training for the Label Generator $g _ { \\varphi }$ ",
|
| 811 |
+
"text_level": 1,
|
| 812 |
+
"bbox": [
|
| 813 |
+
174,
|
| 814 |
+
367,
|
| 815 |
+
545,
|
| 816 |
+
383
|
| 817 |
+
],
|
| 818 |
+
"page_idx": 5
|
| 819 |
+
},
|
| 820 |
+
{
|
| 821 |
+
"type": "text",
|
| 822 |
+
"text": "The label generator $g _ { \\varphi }$ is a vanilla GCN model used to predict the label distribution for each node, which naturally needs to be supervised by a classification loss. In the $t ^ { \\mathrm { t h } }$ iteration, a label generator first generates the prediction results using the original graph adjacency matrix A and the node features $\\mathbf { X }$ , which is formulated as $\\hat { \\mathbf { Y } } ^ { g ( t ) } = g _ { \\varphi ^ { ( t ) } } ( \\mathbf { X } , \\mathbf { A } )$ . Denoting the training labels as $\\mathbf { Y } _ { \\mathrm { t r a i n } }$ , the objective of the label generator $g _ { \\varphi }$ can be formulated as ",
|
| 823 |
+
"bbox": [
|
| 824 |
+
171,
|
| 825 |
+
390,
|
| 826 |
+
826,
|
| 827 |
+
465
|
| 828 |
+
],
|
| 829 |
+
"page_idx": 5
|
| 830 |
+
},
|
| 831 |
+
{
|
| 832 |
+
"type": "equation",
|
| 833 |
+
"img_path": "images/cf848738f520f38e83a1dcba14b5dda9bb0bd22d93f36801eba34b30280f18ce.jpg",
|
| 834 |
+
"text": "$$\n\\mathcal { L } _ { \\varphi } ^ { ( t ) } = \\mathcal { L } _ { \\mathrm { C E } } ( \\hat { \\mathbf { Y } } _ { \\mathrm { t r a i n } } ^ { g ( t ) } , \\mathbf { Y } _ { \\mathrm { t r a i n } } ) .\n$$",
|
| 835 |
+
"text_format": "latex",
|
| 836 |
+
"bbox": [
|
| 837 |
+
401,
|
| 838 |
+
472,
|
| 839 |
+
596,
|
| 840 |
+
494
|
| 841 |
+
],
|
| 842 |
+
"page_idx": 5
|
| 843 |
+
},
|
| 844 |
+
{
|
| 845 |
+
"type": "text",
|
| 846 |
+
"text": "201 3.3.4 Meta-Learning Based Training Strategy ",
|
| 847 |
+
"text_level": 1,
|
| 848 |
+
"bbox": [
|
| 849 |
+
142,
|
| 850 |
+
505,
|
| 851 |
+
504,
|
| 852 |
+
521
|
| 853 |
+
],
|
| 854 |
+
"page_idx": 5
|
| 855 |
+
},
|
| 856 |
+
{
|
| 857 |
+
"type": "text",
|
| 858 |
+
"text": "The final node classification results only depend on the primary task, while the performance of the other modules, including the label generator and link predictor are not our ultimate concern. Simply using the classification loss to train the label generator $g _ { \\varphi }$ or using the link prediction loss to train the feature extractor $h _ { \\theta _ { 2 } }$ cannot provide the effects of auxiliary learning. Thus, it is crucial to make the node classifier $f _ { \\theta _ { 1 } }$ perform better after it is trained with the pseudo soft labels while taking the hidden embeddings derived by the feature extractor $h _ { \\theta _ { 2 } }$ as inputs. To this end, we use meta auxiliary learning to update the model parameters. ",
|
| 859 |
+
"bbox": [
|
| 860 |
+
156,
|
| 861 |
+
529,
|
| 862 |
+
825,
|
| 863 |
+
627
|
| 864 |
+
],
|
| 865 |
+
"page_idx": 5
|
| 866 |
+
},
|
| 867 |
+
{
|
| 868 |
+
"type": "text",
|
| 869 |
+
"text": "209 For the auxiliary label generation task, we consider not only the classification performance of the \n210 label generator $g _ { \\varphi }$ , but also the auxiliary effect on the node classifier. We assume that the classifier \n211 parameters $\\theta _ { 1 }$ are updated with gradient descent based on the pseudo soft labels in the $t ^ { \\mathrm { t h } }$ iteration, ",
|
| 870 |
+
"bbox": [
|
| 871 |
+
140,
|
| 872 |
+
632,
|
| 873 |
+
825,
|
| 874 |
+
676
|
| 875 |
+
],
|
| 876 |
+
"page_idx": 5
|
| 877 |
+
},
|
| 878 |
+
{
|
| 879 |
+
"type": "equation",
|
| 880 |
+
"img_path": "images/2f80b5cb58e8fa99c032ed3b182f1ca4cbd21393ce9030f8cfe50c282315a8ea.jpg",
|
| 881 |
+
"text": "$$\n\\boldsymbol { \\theta } _ { 1 } ^ { \\prime } = \\boldsymbol { \\theta } _ { 1 } ^ { ( t ) } - \\eta \\nabla _ { \\boldsymbol { \\theta } _ { 1 } } \\mathcal { L } _ { \\mathrm { M S E } } ( \\hat { \\mathbf { Y } } ^ { f ( t ) } , \\hat { \\mathbf { Y } } ^ { g ( t ) } ) .\n$$",
|
| 882 |
+
"text_format": "latex",
|
| 883 |
+
"bbox": [
|
| 884 |
+
369,
|
| 885 |
+
681,
|
| 886 |
+
629,
|
| 887 |
+
703
|
| 888 |
+
],
|
| 889 |
+
"page_idx": 5
|
| 890 |
+
},
|
| 891 |
+
{
|
| 892 |
+
"type": "text",
|
| 893 |
+
"text": "212 A direct way to evaluate the auxiliary effect of the pseudo soft labels is to compute the classification loss of the prediction given by the node classifier using the updated parameters 213 $\\theta _ { 1 } ^ { \\prime }$ , as ",
|
| 894 |
+
"bbox": [
|
| 895 |
+
142,
|
| 896 |
+
708,
|
| 897 |
+
823,
|
| 898 |
+
738
|
| 899 |
+
],
|
| 900 |
+
"page_idx": 5
|
| 901 |
+
},
|
| 902 |
+
{
|
| 903 |
+
"type": "equation",
|
| 904 |
+
"img_path": "images/f4bd2f908e3bfb213417bea95a8bebef6f0f7a02b722fce9289481c17a6fe0cb.jpg",
|
| 905 |
+
"text": "$$\n\\begin{array} { r } { \\mathcal { L } ^ { f \\prime } = \\mathcal { L } _ { \\mathrm { C E } } \\big ( f _ { \\theta _ { 1 } ^ { \\prime } } \\big ( h _ { \\theta _ { 2 } ^ { ( t ) } } \\big ( \\mathbf { X } , \\mathbf { A } _ { \\mathrm { r e c o n } } \\big ) , \\mathbf { A } \\big ) _ { \\mathrm { t r a i n } } , \\mathbf { Y } _ { \\mathrm { t r a i n } } \\big ) . } \\end{array}\n$$",
|
| 906 |
+
"text_format": "latex",
|
| 907 |
+
"bbox": [
|
| 908 |
+
328,
|
| 909 |
+
743,
|
| 910 |
+
669,
|
| 911 |
+
767
|
| 912 |
+
],
|
| 913 |
+
"page_idx": 5
|
| 914 |
+
},
|
| 915 |
+
{
|
| 916 |
+
"type": "text",
|
| 917 |
+
"text": "214 This loss can quantify how much performance improvement the classifier gains from the two auxiliary \n215 tasks. Because $\\theta _ { 1 } ^ { \\prime }$ is updated with the pseudo soft labels generated by $g _ { \\varphi } ( \\cdot )$ , the loss $\\mathcal { L } ^ { f \\prime }$ is also a \n216 function of $\\varphi$ . This means that the objective could be used to supervise the learning of $\\varphi$ . Note \n217 that $\\nabla _ { \\varphi } \\mathcal { L } ^ { f \\prime }$ requires the gradient of the gradient to be computed [25], which can be considered as a \n218 meta-learning strategy. The final objective of the label generator $g _ { \\varphi }$ with meta-learning is formulated \n219 as ",
|
| 918 |
+
"bbox": [
|
| 919 |
+
140,
|
| 920 |
+
771,
|
| 921 |
+
825,
|
| 922 |
+
853
|
| 923 |
+
],
|
| 924 |
+
"page_idx": 5
|
| 925 |
+
},
|
| 926 |
+
{
|
| 927 |
+
"type": "equation",
|
| 928 |
+
"img_path": "images/74875a782a5cec8bea24cfb330ab5192b659efaba13f0d401b48d5dfca3dfc65.jpg",
|
| 929 |
+
"text": "$$\n\\mathcal { L } _ { \\varphi - \\mathrm { { m e t a } } } ^ { ( t ) } = \\mathcal { L } _ { \\varphi } ^ { ( t ) } + \\mathcal { L } ^ { f \\prime } .\n$$",
|
| 930 |
+
"text_format": "latex",
|
| 931 |
+
"bbox": [
|
| 932 |
+
419,
|
| 933 |
+
849,
|
| 934 |
+
578,
|
| 935 |
+
872
|
| 936 |
+
],
|
| 937 |
+
"page_idx": 5
|
| 938 |
+
},
|
| 939 |
+
{
|
| 940 |
+
"type": "text",
|
| 941 |
+
"text": "220 Similar to the label generator $g _ { \\varphi } ( \\cdot )$ , the link predictor $h _ { \\theta _ { 2 } } ^ { b }$ should derive the effective node embed \n221 dings to enhance the node classification performance. Since the hidden embeddings used for node ",
|
| 942 |
+
"bbox": [
|
| 943 |
+
138,
|
| 944 |
+
882,
|
| 945 |
+
826,
|
| 946 |
+
912
|
| 947 |
+
],
|
| 948 |
+
"page_idx": 5
|
| 949 |
+
},
|
| 950 |
+
{
|
| 951 |
+
"type": "text",
|
| 952 |
+
"text": "Algorithm 1 AL-GCN ",
|
| 953 |
+
"text_level": 1,
|
| 954 |
+
"bbox": [
|
| 955 |
+
174,
|
| 956 |
+
90,
|
| 957 |
+
326,
|
| 958 |
+
106
|
| 959 |
+
],
|
| 960 |
+
"page_idx": 6
|
| 961 |
+
},
|
| 962 |
+
{
|
| 963 |
+
"type": "text",
|
| 964 |
+
"text": "Input: Graph adjacency matrix A, the node features $\\mathbf { X }$ , the data labels $\\mathbf { Y } _ { \\mathrm { t r a i n } }$ of a training set. Output: A feature extractor $h _ { \\theta _ { 2 } }$ , a node classifier $f _ { \\theta _ { 1 } }$ ",
|
| 965 |
+
"bbox": [
|
| 966 |
+
173,
|
| 967 |
+
108,
|
| 968 |
+
797,
|
| 969 |
+
137
|
| 970 |
+
],
|
| 971 |
+
"page_idx": 6
|
| 972 |
+
},
|
| 973 |
+
{
|
| 974 |
+
"type": "text",
|
| 975 |
+
"text": "1: Initialize learnable parameters $\\theta _ { 1 } , \\theta _ { 2 }$ , $\\varphi$ \n2: while not converged do \n3: # node classifier training phase \n4: $\\begin{array} { r l } & { \\hat { \\mathbf { Y } } ^ { g } \\gets g _ { \\varphi } ( \\mathbf { X } , \\mathbf { A } ) } \\\\ & { \\mathbf { H } \\gets h _ { \\theta _ { 2 } } ( \\mathbf { X } , \\mathbf { A } ) } \\\\ & { \\mathbf { A } _ { \\mathrm { r e c o n } } = \\mathsf { d e t a c h } ( R ( \\mathbf { H } , \\mathbf { H } ) ) } \\\\ & { \\mathbf { H } _ { \\mathrm { r e c o n } } \\gets h _ { \\theta _ { 2 } } ( \\mathbf { X } , \\mathbf { A } _ { \\mathrm { r e c o n } } ) } \\\\ & { \\hat { \\mathbf { Y } } ^ { f } \\gets f _ { \\theta _ { 1 } } ( \\mathbf { H } _ { \\mathrm { r e c o n } } , \\mathbf { A } ) } \\\\ & { \\mathcal { L } _ { \\theta _ { 1 } } \\gets \\mathcal { L } _ { \\mathrm { C E } } ( \\hat { \\mathbf { Y } } _ { \\mathrm { t r a i n } } ^ { f } , \\mathbf { Y } _ { \\mathrm { t r a i n } } ) + \\mathcal { L } _ { \\mathrm { M S E } } ( \\hat { \\mathbf { Y } } ^ { f } , \\hat { \\mathbf { Y } } ^ { g } ) } \\\\ & { \\mathbf { \\Delta } _ { \\mathrm { r e } } ^ { \\mathsf { x } } , \\quad \\mathbf { \\Delta } _ { \\mathrm { L } } ^ { \\mathsf { x } } , } \\end{array}$ \n5: \n6: \n7: \n8: \n9: \n10: Update: $\\theta _ { 1 } \\gets \\mathrm { A d a m } ( \\mathcal { L } _ { \\theta _ { 1 } } , \\theta _ { 1 } )$ \n11: # meta-learning preparation \n12: Compute: $-$ \n13: $\\begin{array} { r l } { } & { { } \\mathcal { L } _ { \\mathrm { C E } } ( f ^ { b } ( h _ { \\theta _ { 2 } } ^ { b } ( \\mathbf { X } , \\mathbf { A } _ { \\mathrm { r e c o n } } ) , \\mathbf { A } ) _ { \\mathrm { t r a i n } } , \\mathbf { Y } _ { \\mathrm { t r a i n } } ) } \\end{array}$ \n14: # label generator training phase \n15: $\\begin{array} { r l } & { \\hat { \\mathbf Y } ^ { g } \\gets g _ { \\varphi } ( \\mathbf X , \\mathbf A ) } \\\\ & { \\mathcal { L } _ { \\varphi } \\gets \\mathcal { L } _ { \\mathrm { C E } } ( \\hat { \\mathbf Y } _ { \\mathrm { t r a i n } } ^ { g } , \\mathbf Y _ { \\mathrm { t r a i n } } ) _ { , } + } \\end{array}$ \n16: \n17: Update: $\\varphi \\gets \\mathrm { A d a m } ( \\mathcal { L } _ { \\varphi } , \\varphi )$ \n18: # feature extractor training phase \n19: ${ \\bf A } _ { s } \\gets$ RandomSample(A) \n20: Hs ← hθ (X, As) \n21: $\\mathcal { L } _ { \\boldsymbol { \\theta } _ { 2 } } \\gets \\mathcal { L } _ { \\mathrm { C E } } ( R ( \\mathbf { H } _ { s } , \\mathbf { H } _ { s } ) , \\mathbf { A } ) + $ \n22: Update: $\\theta _ { 2 } \\gets \\mathrm { A d a m } ( \\mathcal { L } _ { \\theta _ { 2 } } , \\theta _ { 2 } )$ \n23: end while \n222 classification are derived from the feature extractor $h _ { \\theta _ { 2 } }$ , the objective defined in Eq. 14 can also be \n223 considered as a function of $\\theta _ { 2 }$ . Thus, the objective of the feature extractor $h _ { \\theta _ { 2 } }$ with meta-learning is \n224 defined as ",
|
| 976 |
+
"bbox": [
|
| 977 |
+
176,
|
| 978 |
+
137,
|
| 979 |
+
573,
|
| 980 |
+
476
|
| 981 |
+
],
|
| 982 |
+
"page_idx": 6
|
| 983 |
+
},
|
| 984 |
+
{
|
| 985 |
+
"type": "text",
|
| 986 |
+
"text": "",
|
| 987 |
+
"bbox": [
|
| 988 |
+
142,
|
| 989 |
+
505,
|
| 990 |
+
825,
|
| 991 |
+
545
|
| 992 |
+
],
|
| 993 |
+
"page_idx": 6
|
| 994 |
+
},
|
| 995 |
+
{
|
| 996 |
+
"type": "equation",
|
| 997 |
+
"img_path": "images/e6156535e25d0293df2b4b4d994dfc410216758428f44438cbf0e2f35e06e8b8.jpg",
|
| 998 |
+
"text": "$$\n\\mathcal { L } _ { \\theta _ { 2 } \\mathrm { - m e t a } } ^ { ( t ) } = \\mathcal { L } _ { \\theta _ { 2 } } ^ { ( t ) } + \\mathcal { L } ^ { f ^ { \\prime } } .\n$$",
|
| 999 |
+
"text_format": "latex",
|
| 1000 |
+
"bbox": [
|
| 1001 |
+
416,
|
| 1002 |
+
542,
|
| 1003 |
+
581,
|
| 1004 |
+
566
|
| 1005 |
+
],
|
| 1006 |
+
"page_idx": 6
|
| 1007 |
+
},
|
| 1008 |
+
{
|
| 1009 |
+
"type": "text",
|
| 1010 |
+
"text": "225 This objective means that, except for the link prediction task, the feature extractor $h _ { \\theta _ { 2 } }$ should ensure \n226 that the generated hidden embedding enhance the classification accuracy of the node classifier $f _ { \\theta _ { 1 } }$ \n227 updated with the pseudo soft labels. The overall training process is shown in Alg. 1. ",
|
| 1011 |
+
"bbox": [
|
| 1012 |
+
142,
|
| 1013 |
+
570,
|
| 1014 |
+
825,
|
| 1015 |
+
612
|
| 1016 |
+
],
|
| 1017 |
+
"page_idx": 6
|
| 1018 |
+
},
|
| 1019 |
+
{
|
| 1020 |
+
"type": "text",
|
| 1021 |
+
"text": "4 Experiments ",
|
| 1022 |
+
"text_level": 1,
|
| 1023 |
+
"bbox": [
|
| 1024 |
+
166,
|
| 1025 |
+
632,
|
| 1026 |
+
312,
|
| 1027 |
+
650
|
| 1028 |
+
],
|
| 1029 |
+
"page_idx": 6
|
| 1030 |
+
},
|
| 1031 |
+
{
|
| 1032 |
+
"type": "text",
|
| 1033 |
+
"text": "4.1 Experimental Settings and Compared Methods ",
|
| 1034 |
+
"text_level": 1,
|
| 1035 |
+
"bbox": [
|
| 1036 |
+
173,
|
| 1037 |
+
664,
|
| 1038 |
+
540,
|
| 1039 |
+
680
|
| 1040 |
+
],
|
| 1041 |
+
"page_idx": 6
|
| 1042 |
+
},
|
| 1043 |
+
{
|
| 1044 |
+
"type": "text",
|
| 1045 |
+
"text": "We demonstrate the classification performance of our method via semi-supervised document classification on three citation network datasets, including Cora, Citeseer, and Pubmed [26], where nodes represent the documents and edges are citation links. Dataset statistics are summarized in Table 1. ",
|
| 1046 |
+
"bbox": [
|
| 1047 |
+
171,
|
| 1048 |
+
689,
|
| 1049 |
+
825,
|
| 1050 |
+
732
|
| 1051 |
+
],
|
| 1052 |
+
"page_idx": 6
|
| 1053 |
+
},
|
| 1054 |
+
{
|
| 1055 |
+
"type": "text",
|
| 1056 |
+
"text": "233 The proposed method is a novel GCN, which is leveraged to carry out a node classification task. \n234 We compare our method with several popular graph-based node classification methods including \n235 GCN [12], GAT [3], DualGCN [13], SGC [27], and APPNP [4]. As we use a three-layer GCN as \n236 the backbone in our proposed model, we compare both two-layer and three-layer GCNs, denoted as \n237 GCN2 and GCN3, respectively. ",
|
| 1057 |
+
"bbox": [
|
| 1058 |
+
142,
|
| 1059 |
+
737,
|
| 1060 |
+
825,
|
| 1061 |
+
808
|
| 1062 |
+
],
|
| 1063 |
+
"page_idx": 6
|
| 1064 |
+
},
|
| 1065 |
+
{
|
| 1066 |
+
"type": "text",
|
| 1067 |
+
"text": "For the semi-supervised node classification, we use all node features but only 20 labels per class for training and 500 nodes as the validation set. We train the proposed method for a maximum of 400 epochs using Adam [28] with a learning rate of 0.01. We use the well-trained parameters, which achieve the best performance on the validation set during the training phases, to evaluate classification accuracy on a test set of 1,000 labeled examples. We run each method 100 times and compute the average classification accuracy on a single NVIDIA GTX 1080Ti GPU. To implement all the compared methods more conveniently, we use PyG [29] as the graph-based learning framework. ",
|
| 1068 |
+
"bbox": [
|
| 1069 |
+
165,
|
| 1070 |
+
814,
|
| 1071 |
+
825,
|
| 1072 |
+
912
|
| 1073 |
+
],
|
| 1074 |
+
"page_idx": 6
|
| 1075 |
+
},
|
| 1076 |
+
{
|
| 1077 |
+
"type": "table",
|
| 1078 |
+
"img_path": "images/e3606c8513567e96c10cfd66e5a2ef71df87c4261b58380a4b0dbb7c3f573833.jpg",
|
| 1079 |
+
"table_caption": [
|
| 1080 |
+
"Table 1: Dataset statistics. "
|
| 1081 |
+
],
|
| 1082 |
+
"table_footnote": [],
|
| 1083 |
+
"table_body": "<table><tr><td>Dataset</td><td>Nodes</td><td>Edges</td><td>Features</td><td>Classes</td></tr><tr><td>Cora</td><td>2,708</td><td>5,278</td><td>1,433</td><td>7</td></tr><tr><td>CiteSeer</td><td>3,327</td><td>4,552</td><td>3,703</td><td>6</td></tr><tr><td>Cora</td><td>19,717</td><td>44,324</td><td>500</td><td>3</td></tr></table>",
|
| 1084 |
+
"bbox": [
|
| 1085 |
+
321,
|
| 1086 |
+
106,
|
| 1087 |
+
674,
|
| 1088 |
+
166
|
| 1089 |
+
],
|
| 1090 |
+
"page_idx": 7
|
| 1091 |
+
},
|
| 1092 |
+
{
|
| 1093 |
+
"type": "table",
|
| 1094 |
+
"img_path": "images/5067b624ca8957476d54688f6073be47b3709c4c8cb92a6c67805bea16d37e35.jpg",
|
| 1095 |
+
"table_caption": [
|
| 1096 |
+
"Table 2: Classification results on the datasets (bold: best, underline: runner-up). "
|
| 1097 |
+
],
|
| 1098 |
+
"table_footnote": [],
|
| 1099 |
+
"table_body": "<table><tr><td>Method</td><td>Cora</td><td>Citeseer</td><td>Pubmed</td></tr><tr><td>GAT [3] DualGCN[13]</td><td>82.5 ±0.8%</td><td>71.4±0.7%</td><td>78.4± 0.4%</td></tr><tr><td rowspan=\"3\">SGC [27] APPNP [4]</td><td>83.4 ± 0.5%</td><td>72.6 ± 0.6%</td><td>79.9 ± 0.3%</td></tr><tr><td>81.3 ± 0.7%</td><td>70.9 ± 0.6%</td><td>78.2 ± 0.5%</td></tr><tr><td>83.2 ± 0.4%</td><td>71.6 ± 0.5%</td><td>79.8 ± 0.3%</td></tr><tr><td rowspan=\"2\">GCN2 [12] AL-GCN2 (ours)</td><td>81.5±0.7%</td><td>71.5 ± 0.5%</td><td>79.2 ± 0.4%</td></tr><tr><td>82.3 ± 0.4%</td><td>72.6 ± 0.5%</td><td>79.6± 0.5%</td></tr><tr><td rowspan=\"2\">GCN3[12] AL-GCN3 (ours)</td><td>80.7±1.2%</td><td>68.0±1.4%</td><td>77.7 ± 0.5%</td></tr><tr><td>84.7 ± 0.4%</td><td>72.3± 0.5%</td><td>81.4± 0.6%</td></tr></table>",
|
| 1100 |
+
"bbox": [
|
| 1101 |
+
264,
|
| 1102 |
+
207,
|
| 1103 |
+
733,
|
| 1104 |
+
335
|
| 1105 |
+
],
|
| 1106 |
+
"page_idx": 7
|
| 1107 |
+
},
|
| 1108 |
+
{
|
| 1109 |
+
"type": "text",
|
| 1110 |
+
"text": "245 4.2 Experimental Results ",
|
| 1111 |
+
"text_level": 1,
|
| 1112 |
+
"bbox": [
|
| 1113 |
+
142,
|
| 1114 |
+
367,
|
| 1115 |
+
362,
|
| 1116 |
+
382
|
| 1117 |
+
],
|
| 1118 |
+
"page_idx": 7
|
| 1119 |
+
},
|
| 1120 |
+
{
|
| 1121 |
+
"type": "text",
|
| 1122 |
+
"text": "46 In this section, we provide the experimental results of the node classification, an ablation study, and \n47 the visualization of hidden embeddings. More experimental results, such as parameter and model \n48 robustness studies can be found in the supplementary materials. ",
|
| 1123 |
+
"bbox": [
|
| 1124 |
+
156,
|
| 1125 |
+
396,
|
| 1126 |
+
823,
|
| 1127 |
+
438
|
| 1128 |
+
],
|
| 1129 |
+
"page_idx": 7
|
| 1130 |
+
},
|
| 1131 |
+
{
|
| 1132 |
+
"type": "text",
|
| 1133 |
+
"text": "We conduct the node classification task on three citation network datasets. As shown in Table 2, our method consistently and significantly enhances the learning performance compared to the other methods. In particular, for the Cora dataset, the proposed method is superior to GCN by $4 . 9 \\%$ Compared to the other methods, our model considers more graph-structured information via auxiliary learning. Thus, it is consistently and significantly superior to the compared methods, achieving state-of-the-art results. ",
|
| 1134 |
+
"bbox": [
|
| 1135 |
+
171,
|
| 1136 |
+
444,
|
| 1137 |
+
825,
|
| 1138 |
+
527
|
| 1139 |
+
],
|
| 1140 |
+
"page_idx": 7
|
| 1141 |
+
},
|
| 1142 |
+
{
|
| 1143 |
+
"type": "text",
|
| 1144 |
+
"text": "4.3 Ablation Studies ",
|
| 1145 |
+
"text_level": 1,
|
| 1146 |
+
"bbox": [
|
| 1147 |
+
174,
|
| 1148 |
+
551,
|
| 1149 |
+
328,
|
| 1150 |
+
565
|
| 1151 |
+
],
|
| 1152 |
+
"page_idx": 7
|
| 1153 |
+
},
|
| 1154 |
+
{
|
| 1155 |
+
"type": "text",
|
| 1156 |
+
"text": "4.3.1 On the Auxiliary Learning Modules ",
|
| 1157 |
+
"text_level": 1,
|
| 1158 |
+
"bbox": [
|
| 1159 |
+
166,
|
| 1160 |
+
579,
|
| 1161 |
+
473,
|
| 1162 |
+
594
|
| 1163 |
+
],
|
| 1164 |
+
"page_idx": 7
|
| 1165 |
+
},
|
| 1166 |
+
{
|
| 1167 |
+
"type": "text",
|
| 1168 |
+
"text": "To determine how the link predictor $( P )$ and the pseudo label generator $( G )$ affect the node classification performance, we apply the following two ablation models: (1) Vanilla GCN with the link predictor, termed $\\mathrm { G C N } { + } P$ . (2) Vanilla GCN with the lable generator, termed ${ \\mathrm { G C N } } { + } G$ . We compare ${ \\mathrm { G C N } } { \\mathrm { + } } G$ and $\\mathrm { G C N } { + } P$ with the proposed method, AL-GCN $( \\mathbf { G } \\mathbf { C } \\mathbf { N } { + } \\mathbf { } \\mathbf { } P { + } G )$ , and the original GCN. Table 3 lists the results. As can be seen, the proposed method consistently outperforms $\\mathrm { G C N } { + } P$ and ${ \\mathrm { G C N } } { + } G$ . Specifically, compared to the link predictor, the label generator has more effect on the Citeseer dataset. However, for the Pubmed dataset, the link predictor has much more effect on the learning performance. ",
|
| 1169 |
+
"bbox": [
|
| 1170 |
+
173,
|
| 1171 |
+
606,
|
| 1172 |
+
826,
|
| 1173 |
+
717
|
| 1174 |
+
],
|
| 1175 |
+
"page_idx": 7
|
| 1176 |
+
},
|
| 1177 |
+
{
|
| 1178 |
+
"type": "text",
|
| 1179 |
+
"text": "4.3.2 On the Reconstructed Graph Adjacency Matrix ",
|
| 1180 |
+
"text_level": 1,
|
| 1181 |
+
"bbox": [
|
| 1182 |
+
169,
|
| 1183 |
+
739,
|
| 1184 |
+
557,
|
| 1185 |
+
755
|
| 1186 |
+
],
|
| 1187 |
+
"page_idx": 7
|
| 1188 |
+
},
|
| 1189 |
+
{
|
| 1190 |
+
"type": "text",
|
| 1191 |
+
"text": "For the backbone network, a reconstructed graph adjacency matrix via a link prediction task is used as input. To determine how the reconstructed graph adjacency matrix affects the node classification performance, we compare the proposed model with the following two models: (1) A model that takes the original graph adjacency matrix without the reconstructed one as the input of the backbone network, termed w/o-recG; (2) A model that takes only the reconstructed graph adjacency matrix as the input of the backbone network, termed w/o-oriG. ",
|
| 1192 |
+
"bbox": [
|
| 1193 |
+
173,
|
| 1194 |
+
766,
|
| 1195 |
+
825,
|
| 1196 |
+
849
|
| 1197 |
+
],
|
| 1198 |
+
"page_idx": 7
|
| 1199 |
+
},
|
| 1200 |
+
{
|
| 1201 |
+
"type": "text",
|
| 1202 |
+
"text": "272 As shown in Table 4, our method consistently outperforms w/o-recG and w/o-oriG. This can be \n273 attributed to the fact that the reconstructed graph adjacency matrix via the link predictor can capture \n274 the detailed topology information of a graph and the fixed original graph adjacency matrix increases \n275 the training stability. ",
|
| 1203 |
+
"bbox": [
|
| 1204 |
+
142,
|
| 1205 |
+
856,
|
| 1206 |
+
823,
|
| 1207 |
+
911
|
| 1208 |
+
],
|
| 1209 |
+
"page_idx": 7
|
| 1210 |
+
},
|
| 1211 |
+
{
|
| 1212 |
+
"type": "table",
|
| 1213 |
+
"img_path": "images/a79373eb05cd42d34c00ead2f70be6f9d285cbe379ebea7d54d7a5e22780ebfa.jpg",
|
| 1214 |
+
"table_caption": [
|
| 1215 |
+
"Table 3: The ablation experiment results. "
|
| 1216 |
+
],
|
| 1217 |
+
"table_footnote": [],
|
| 1218 |
+
"table_body": "<table><tr><td>Method</td><td>Cora</td><td>Citeseer</td><td>Pubmed</td></tr><tr><td>GCN</td><td>80.7 ± 1.2%</td><td>68.0 ± 1.4%</td><td>77.7 ± 0.5%</td></tr><tr><td>GCN+P</td><td>83.0 ± 0.7%</td><td>70.6 ± 0.8%</td><td>81.3 ± 0.6%</td></tr><tr><td>GCN+G</td><td>83.0 ± 0.6%</td><td>71.7 ± 0.8%</td><td>78.8± 0.6%</td></tr><tr><td>GCN+P+G (AL-GCN)</td><td>84.7 ± 0.4%</td><td>72.3± 0.5%</td><td>81.4 ± 0.6%</td></tr></table>",
|
| 1219 |
+
"bbox": [
|
| 1220 |
+
254,
|
| 1221 |
+
109,
|
| 1222 |
+
743,
|
| 1223 |
+
183
|
| 1224 |
+
],
|
| 1225 |
+
"page_idx": 8
|
| 1226 |
+
},
|
| 1227 |
+
{
|
| 1228 |
+
"type": "table",
|
| 1229 |
+
"img_path": "images/d036ab670045554c6be1e997598a92b96be4eb527238fbc8e240077f53eda4be.jpg",
|
| 1230 |
+
"table_caption": [
|
| 1231 |
+
"Table 4: The ablation experiment results in terms of classification accuracy (in percent). "
|
| 1232 |
+
],
|
| 1233 |
+
"table_footnote": [],
|
| 1234 |
+
"table_body": "<table><tr><td>Method</td><td>Cora</td><td>Citeseer</td><td>Pubmed</td></tr><tr><td>GCN</td><td>80.7±1.2%</td><td>68.0±1.4%</td><td>77.7 ± 0.5%</td></tr><tr><td>w/o-recG</td><td>84.5 ± 0.5%</td><td>71.9 ± 0.6%</td><td>80.1 ± 0.5%</td></tr><tr><td>W/0-oriG</td><td>84.1 ±0.6%</td><td>71.4 ± 0.9%</td><td>80.6 ± 1.5%</td></tr><tr><td>AL-GCN</td><td>84.7 ±0.4%</td><td>72.3 ± 0.5%</td><td>81.4± 0.6%</td></tr></table>",
|
| 1235 |
+
"bbox": [
|
| 1236 |
+
300,
|
| 1237 |
+
217,
|
| 1238 |
+
696,
|
| 1239 |
+
290
|
| 1240 |
+
],
|
| 1241 |
+
"page_idx": 8
|
| 1242 |
+
},
|
| 1243 |
+
{
|
| 1244 |
+
"type": "image",
|
| 1245 |
+
"img_path": "images/030dc8500814220cd30a510176dd09ac208c43db095ddb818e12136746597eb0.jpg",
|
| 1246 |
+
"image_caption": [
|
| 1247 |
+
"Figure 4: Visualization of the hidden embedding obtained by different methods via t-SNE algorithm. "
|
| 1248 |
+
],
|
| 1249 |
+
"image_footnote": [],
|
| 1250 |
+
"bbox": [
|
| 1251 |
+
192,
|
| 1252 |
+
327,
|
| 1253 |
+
802,
|
| 1254 |
+
453
|
| 1255 |
+
],
|
| 1256 |
+
"page_idx": 8
|
| 1257 |
+
},
|
| 1258 |
+
{
|
| 1259 |
+
"type": "text",
|
| 1260 |
+
"text": "276 4.4 Visualization of Hidden Embeddings ",
|
| 1261 |
+
"text_level": 1,
|
| 1262 |
+
"bbox": [
|
| 1263 |
+
140,
|
| 1264 |
+
501,
|
| 1265 |
+
468,
|
| 1266 |
+
516
|
| 1267 |
+
],
|
| 1268 |
+
"page_idx": 8
|
| 1269 |
+
},
|
| 1270 |
+
{
|
| 1271 |
+
"type": "text",
|
| 1272 |
+
"text": "To determine how the hidden embeddings affect the learning performance, we use the visualization tool t-SNE [30] to observe their distribution. As shown in Fig. 4, the embedding results of GCN and GAT are denser, and the separation of different clusters is not obvious. In contrast, the node distributions learned by our proposed method are more separate, with most of the nodes from the same classes being close to each other, resulting in obvious cluster structures. These experimental results demonstrate that the proposed method can capture more detailed structure information of a graph, including the nodes and edges, resulting in more effective hidden embeddings. ",
|
| 1273 |
+
"bbox": [
|
| 1274 |
+
163,
|
| 1275 |
+
526,
|
| 1276 |
+
825,
|
| 1277 |
+
625
|
| 1278 |
+
],
|
| 1279 |
+
"page_idx": 8
|
| 1280 |
+
},
|
| 1281 |
+
{
|
| 1282 |
+
"type": "text",
|
| 1283 |
+
"text": "5 Conclusion ",
|
| 1284 |
+
"text_level": 1,
|
| 1285 |
+
"bbox": [
|
| 1286 |
+
163,
|
| 1287 |
+
643,
|
| 1288 |
+
299,
|
| 1289 |
+
660
|
| 1290 |
+
],
|
| 1291 |
+
"page_idx": 8
|
| 1292 |
+
},
|
| 1293 |
+
{
|
| 1294 |
+
"type": "text",
|
| 1295 |
+
"text": "We have proposed a novel graph convolutional network for semi-supervised node classification. Different from existing methods, the proposed model focuses on enriching the graph data and adopts meta auxiliary learning to enhance the representations of nodes and edges in a graph. To enrich node label information, an auxiliary label generator is used to generate pseudo probabilistic labels. Meanwhile, an auxiliary link predictor is used to generate probabilistic edges to enrich the graph structure information. The enriched node and edge information can iteratively enhance the performance of the node classification task. Experimental results on several benchmark citation datasets show that the proposed model is superior to the existing methods. For future work, we note that real-world data is usually contaminated by noise, which results in a robustness problem for graph learning methods. We plan to extend our model to handle noisy data by designing a more robust learning method for graph-structured data. ",
|
| 1296 |
+
"bbox": [
|
| 1297 |
+
145,
|
| 1298 |
+
674,
|
| 1299 |
+
825,
|
| 1300 |
+
827
|
| 1301 |
+
],
|
| 1302 |
+
"page_idx": 8
|
| 1303 |
+
},
|
| 1304 |
+
{
|
| 1305 |
+
"type": "text",
|
| 1306 |
+
"text": "References ",
|
| 1307 |
+
"text_level": 1,
|
| 1308 |
+
"bbox": [
|
| 1309 |
+
142,
|
| 1310 |
+
89,
|
| 1311 |
+
267,
|
| 1312 |
+
106
|
| 1313 |
+
],
|
| 1314 |
+
"page_idx": 9
|
| 1315 |
+
},
|
| 1316 |
+
{
|
| 1317 |
+
"type": "text",
|
| 1318 |
+
"text": "[1] David Duvenaud, Dougal Maclaurin, Jorge Aguilera-Iparraguirre, Rafael Gómez-Bombarelli, Timothy Hirzel, Alán Aspuru-Guzik, and Ryan P. Adams. Convolutional networks on graphs for learning molecular fingerprints. In Advances in Neural Information Processing Systems, pages 2224–2232, 2015. \n[2] Rex Ying, Ruining He, Kaifeng Chen, Pong Eksombatchai, William L. Hamilton, and Jure Leskovec. Graph convolutional neural networks for web-scale recommender systems. In Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages 974–983, 2018. [3] Petar Velickovic, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Liò, and Yoshua Bengio. Graph attention networks. In 6th International Conference on Learning Representations, 2018. [4] Johannes Klicpera, Aleksandar Bojchevski, and Stephan Günnemann. Predict then propagate: Graph neural networks meet personalized pagerank. In 7th International Conference on Learning Representations, 2019. [5] Xiao Wang, Meiqi Zhu, Deyu Bo, Peng Cui, Chuan Shi, and Jian Pei. AM-GCN: adaptive multichannel graph convolutional networks. In Proceedings of the 26t h ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages 1243–1253, 2020. [6] Keyulu Xu, Chengtao Li, Yonglong Tian, Tomohiro Sonobe, Ken-ichi Kawarabayashi, and Stefanie Jegelka. Representation learning on graphs with jumping knowledge networks. In Proceedings of the 35th International Conference on Machine Learning, volume 80, pages 5449–5458, 2018. [7] Lingxiao Zhao and Leman Akoglu. Pairnorm: Tackling oversmoothing in gnns. In 8th International Conference on Learning Representations, 2020. \n[8] Ming Chen, Zhewei Wei, Zengfeng Huang, Bolin Ding, and Yaliang Li. Simple and deep graph convolutional networks. In Proceedings of the 37th International Conference on Machine Learning, volume 119, pages 1725–1735, 2020. [9] Qimai Li, Zhichao Han, and Xiao-Ming Wu. Deeper insights into graph convolutional networks for semi-supervised learning. In Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, pages 3538–3545, 2018. \n[10] Joan Bruna, Wojciech Zaremba, Arthur Szlam, and Yann LeCun. Spectral networks and locally connected networks on graphs. In 2nd International Conference on Learning Representations, 2014. \n[11] Michaël Defferrard, Xavier Bresson, and Pierre Vandergheynst. Convolutional neural networks on graphs with fast localized spectral filtering. In Advances in Neural Information Processing Systems, pages 3837–3845, 2016. \n[12] Thomas N. Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. In 5th International Conference on Learning Representations, 2017. \n[13] Chenyi Zhuang and Qiang Ma. Dual graph convolutional networks for graph-based semisupervised classification. In Proceedings of the 2018 World Wide Web Conference on World Wide Web, pages 499–508, 2018. \n[14] Zonghan Wu, Shirui Pan, Fengwen Chen, Guodong Long, Chengqi Zhang, and Philip S. Yu. A comprehensive survey on graph neural networks. CoRR, abs/1901.00596, 2019. \n[15] Alessio Micheli. Neural network for graphs: A contextual constructive approach. IEEE Trans. Neural Networks, 20(3):498–511, 2009. \n[16] James Atwood and Don Towsley. Diffusion-convolutional neural networks. In Advances in Neural Information Processing Systems, pages 1993–2001, 2016. \n[17] Justin Gilmer, Samuel S. Schoenholz, Patrick F. Riley, Oriol Vinyals, and George E. Dahl. Neural message passing for quantum chemistry. In Proceedings of the 34th International Conference on Machine Learning, volume 70, pages 1263–1272, 2017. \n[18] Federico Monti, Davide Boscaini, Jonathan Masci, Emanuele Rodolà, Jan Svoboda, and Michael M. Bronstein. Geometric deep learning on graphs and manifolds using mixture model cnns. In 2017 IEEE Conference on Computer Vision and Pattern Recognition, pages 5425–5434, 2017. \n[19] Hongyang Gao, Zhengyang Wang, and Shuiwang Ji. Large-scale learnable graph convolutional networks. In Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages 1416–1424, 2018. \n[20] John Flynn, Ivan Neulander, James Philbin, and Noah Snavely. Deepstereo: Learning to predict new views from the world’s imagery. CoRR, abs/1506.06825, 2015. \n[21] Shubham Toshniwal, Hao Tang, Liang Lu, and Karen Livescu. Multitask learning with low-level auxiliary tasks for encoder-decoder based speech recognition. In 18th Annual Conference of the International Speech Communication Association, pages 3532–3536, 2017. \n[22] Timothy M. Hospedales, Antreas Antoniou, Paul Micaelli, and Amos J. Storkey. Meta-learning in neural networks: A survey. CoRR, abs/2004.05439, 2020. \n[23] Dong-Hyun Lee. Pseudo-label: The simple and efficient semi-supervised learning method for deep neural networks. In Workshop on Challenges in Representation Learning, volume 3, 2013. \n[24] Hieu Pham, Qizhe Xie, Zihang Dai, and Quoc V. Le. Meta pseudo labels. CoRR, abs/2003.10580, 2020. \n[25] Chelsea Finn, Pieter Abbeel, and Sergey Levine. Model-agnostic meta-learning for fast adaptation of deep networks. In Proceedings of the 34th International Conference on Machine Learning, volume 70, pages 1126–1135, 2017. \n[26] Prithviraj Sen, Galileo Namata, Mustafa Bilgic, Lise Getoor, Brian Galligher, and Tina EliassiRad. Collective classification in network data. AI Magazine, 29(3):93, September 2008. \n[27] Felix Wu, Amauri H. Souza Jr., Tianyi Zhang, Christopher Fifty, Tao Yu, and Kilian Q. Weinberger. Simplifying graph convolutional networks. In Proceedings of the 36th International Conference on Machine Learning, volume 97, pages 6861–6871, 2019. \n[28] Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In 3rd International Conference on Learning Representations, 2015. \n[29] Matthias Fey and Jan Eric Lenssen. Fast graph representation learning with pytorch geometric. CoRR, abs/1903.02428, 2019. \n[30] Laurens van der Maaten and Geoffrey Hinton. Visualizing data using t-sne. Journal of machine learning research, 9(Nov):2579–2605, 2008. ",
|
| 1319 |
+
"bbox": [
|
| 1320 |
+
150,
|
| 1321 |
+
111,
|
| 1322 |
+
828,
|
| 1323 |
+
915
|
| 1324 |
+
],
|
| 1325 |
+
"page_idx": 9
|
| 1326 |
+
},
|
| 1327 |
+
{
|
| 1328 |
+
"type": "text",
|
| 1329 |
+
"text": "",
|
| 1330 |
+
"bbox": [
|
| 1331 |
+
171,
|
| 1332 |
+
82,
|
| 1333 |
+
828,
|
| 1334 |
+
569
|
| 1335 |
+
],
|
| 1336 |
+
"page_idx": 10
|
| 1337 |
+
},
|
| 1338 |
+
{
|
| 1339 |
+
"type": "text",
|
| 1340 |
+
"text": "Checklist ",
|
| 1341 |
+
"text_level": 1,
|
| 1342 |
+
"bbox": [
|
| 1343 |
+
169,
|
| 1344 |
+
583,
|
| 1345 |
+
254,
|
| 1346 |
+
599
|
| 1347 |
+
],
|
| 1348 |
+
"page_idx": 10
|
| 1349 |
+
},
|
| 1350 |
+
{
|
| 1351 |
+
"type": "text",
|
| 1352 |
+
"text": "1. For all authors... ",
|
| 1353 |
+
"bbox": [
|
| 1354 |
+
214,
|
| 1355 |
+
611,
|
| 1356 |
+
339,
|
| 1357 |
+
625
|
| 1358 |
+
],
|
| 1359 |
+
"page_idx": 10
|
| 1360 |
+
},
|
| 1361 |
+
{
|
| 1362 |
+
"type": "text",
|
| 1363 |
+
"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] \n(c) Did you discuss any potential negative societal impacts of your work? [No] \n(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes] ",
|
| 1364 |
+
"bbox": [
|
| 1365 |
+
238,
|
| 1366 |
+
628,
|
| 1367 |
+
825,
|
| 1368 |
+
719
|
| 1369 |
+
],
|
| 1370 |
+
"page_idx": 10
|
| 1371 |
+
},
|
| 1372 |
+
{
|
| 1373 |
+
"type": "text",
|
| 1374 |
+
"text": "2. If you are including theoretical results... ",
|
| 1375 |
+
"bbox": [
|
| 1376 |
+
214,
|
| 1377 |
+
723,
|
| 1378 |
+
493,
|
| 1379 |
+
738
|
| 1380 |
+
],
|
| 1381 |
+
"page_idx": 10
|
| 1382 |
+
},
|
| 1383 |
+
{
|
| 1384 |
+
"type": "text",
|
| 1385 |
+
"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] ",
|
| 1386 |
+
"bbox": [
|
| 1387 |
+
236,
|
| 1388 |
+
742,
|
| 1389 |
+
738,
|
| 1390 |
+
773
|
| 1391 |
+
],
|
| 1392 |
+
"page_idx": 10
|
| 1393 |
+
},
|
| 1394 |
+
{
|
| 1395 |
+
"type": "text",
|
| 1396 |
+
"text": "3. If you ran experiments... ",
|
| 1397 |
+
"bbox": [
|
| 1398 |
+
214,
|
| 1399 |
+
777,
|
| 1400 |
+
393,
|
| 1401 |
+
791
|
| 1402 |
+
],
|
| 1403 |
+
"page_idx": 10
|
| 1404 |
+
},
|
| 1405 |
+
{
|
| 1406 |
+
"type": "text",
|
| 1407 |
+
"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] The codes are included in the supplemental material and the datasets can be downlowded by the codes automaticly. \n(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] They are included in the supplemental material. \n(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] See Section 4.1. ",
|
| 1408 |
+
"bbox": [
|
| 1409 |
+
238,
|
| 1410 |
+
796,
|
| 1411 |
+
825,
|
| 1412 |
+
912
|
| 1413 |
+
],
|
| 1414 |
+
"page_idx": 10
|
| 1415 |
+
},
|
| 1416 |
+
{
|
| 1417 |
+
"type": "text",
|
| 1418 |
+
"text": "(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 Section 4.1. ",
|
| 1419 |
+
"bbox": [
|
| 1420 |
+
236,
|
| 1421 |
+
90,
|
| 1422 |
+
823,
|
| 1423 |
+
119
|
| 1424 |
+
],
|
| 1425 |
+
"page_idx": 11
|
| 1426 |
+
},
|
| 1427 |
+
{
|
| 1428 |
+
"type": "text",
|
| 1429 |
+
"text": "4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets... ",
|
| 1430 |
+
"bbox": [
|
| 1431 |
+
212,
|
| 1432 |
+
123,
|
| 1433 |
+
823,
|
| 1434 |
+
138
|
| 1435 |
+
],
|
| 1436 |
+
"page_idx": 11
|
| 1437 |
+
},
|
| 1438 |
+
{
|
| 1439 |
+
"type": "text",
|
| 1440 |
+
"text": "(a) If your work uses existing assets, did you cite the creators? [Yes] See Section 4.1. \n(b) Did you mention the license of the assets? [No] \n(c) Did you include any new assets either in the supplemental material or as a URL? [No] \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] ",
|
| 1441 |
+
"bbox": [
|
| 1442 |
+
238,
|
| 1443 |
+
142,
|
| 1444 |
+
825,
|
| 1445 |
+
251
|
| 1446 |
+
],
|
| 1447 |
+
"page_idx": 11
|
| 1448 |
+
},
|
| 1449 |
+
{
|
| 1450 |
+
"type": "text",
|
| 1451 |
+
"text": "5. If you used crowdsourcing or conducted research with human subjects... ",
|
| 1452 |
+
"bbox": [
|
| 1453 |
+
214,
|
| 1454 |
+
255,
|
| 1455 |
+
705,
|
| 1456 |
+
268
|
| 1457 |
+
],
|
| 1458 |
+
"page_idx": 11
|
| 1459 |
+
},
|
| 1460 |
+
{
|
| 1461 |
+
"type": "text",
|
| 1462 |
+
"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] ",
|
| 1463 |
+
"bbox": [
|
| 1464 |
+
238,
|
| 1465 |
+
272,
|
| 1466 |
+
825,
|
| 1467 |
+
363
|
| 1468 |
+
],
|
| 1469 |
+
"page_idx": 11
|
| 1470 |
+
}
|
| 1471 |
+
]
|
parse/train/9QffERDO_rJ/9QffERDO_rJ_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/9QffERDO_rJ/9QffERDO_rJ_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
par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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ANALYTICAL MOMENT REGULARIZER FOR TRAINING ROBUST NETWORKS
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Despite the impressive performance of deep neural networks (DNNs) on numerous learning tasks, they still exhibit uncouth behaviours. One puzzling behaviour is the subtle sensitive reaction of DNNs to various noise attacks. Such a nuisance has strengthened the line of research around developing and training noise-robust networks. In this work, we propose a new training regularizer that aims to minimize the probabilistic expected training loss of a DNN subject to a generic Gaussian input. We provide an efficient and simple approach to approximate such a regularizer for arbitrarily deep networks. This is done by leveraging the analytic expression of the output mean of a shallow neural network, avoiding the need for memory and computation expensive data augmentation. We conduct extensive experiments on LeNet and AlexNet on various datasets including MNIST, CIFAR10, and CIFAR100 to demonstrate the effectiveness of our proposed regularizer. In particular, we show that networks that are trained with the proposed regularizer benefit from a boost in robustness against Gaussian noise to an equivalent amount of performing 3-21 folds of noisy data augmentation. Moreover, we empirically show on several architectures and datasets that improving robustness against Gaussian noise, by using the new regularizer, can improve the overall robustness against 6 other types of attacks by two orders of magnitude.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Deep neural networks (DNNs) have emerged as generic models that can be trained to perform impressively well in a variety of learning tasks ranging from object recognition (He et al., 2016) and semantic segmentation (Long et al., 2015) to speech recognition (Hinton et al., 2012) and bioinformatics (Angermueller et al., 2016). Despite their increasing popularity, flexibility, generality, and performance, DNNs have been recently shown to be quite susceptible to small imperceptible input noise (Szegedy et al., 2014; Moosavi-Dezfooli et al., 2016; Goodfellow et al., 2015). Such analysis gives a clear indication that even state-of-the-art DNNs may lack robustness. Consequently, there has been an ever-growing interest in the machine learning community to study this uncanny behaviour. In particular, the work of (Goodfellow et al., 2015; Moosavi-Dezfooli et al., 2016) demonstrates that there are systematic approaches to constructing adversarial attacks that result in misclassification errors with high probability. Even more peculiarly, some noise perturbations seem to be doubly agnostic (Moosavi-Dezfooli et al., 2017), i.e. there exist deterministic perturbations that can result in misclassification errors with high probability when applied to different networks, irrespective of the input (denoted network and input agnostic).
|
| 12 |
+
|
| 13 |
+
Understanding this degradation in performance under adversarial attacks is of tremendous importance, especially for real-world DNN deployment, e.g. self-driving cars/drones and equipment for the visually impaired. A standard and popular means to alleviate this nuisance is noisy data augmentation in training, i.e. a DNN is exposed to noisy input images during training so as to bolster its robustness during inference. Several works have demonstrated that DNNs can in fact benefit from such augmentation (Moosavi-Dezfooli et al., 2016; Goodfellow et al., 2015). However, data augmentation in general might not be sufficient for two reasons. (1) Particularly with high-dimensional input noise, the amount of data augmentation necessary to sufficiently capture the noise space will be very large, which will increase training time. (2) Data augmentation with high energy noise can negatively impact the performance on noise-free test examples. This can be explained by the fundamental trade-off between accuracy and robustness (Tsipras et al., 2018; Boopathy et al., 2019). It can also arise from the fact that augmentation forces the DNN to have the same prediction for two vastly different versions of the same input, noise-free and a substantially corrupted version.
|
| 14 |
+
|
| 15 |
+
Therefore, in this paper, we propose a new regularizer for noise-robust networks to circumvent the aforementioned setbacks of data augmentation.
|
| 16 |
+
|
| 17 |
+
A natural objective for training against attacks sampled from a distribution $\mathcal { D }$ , that bypasses the need for data augmentation, is the expected loss under this distribution. Since a closed-form expression is generally difficult to obtain or an approximate surrogate is expensive to evaluate (Monte Carlo estimates), we propose instead a closely related objective that is the loss of the expected predictions of the network under $\mathcal { D }$ -distributed adversarial noise. Since it has been shown that Gaussian noise can be adversarial (Bibi et al., 2018) and that such noise is widely studied in applications such as image processing, we restrict the focus in this paper to the case where $\mathcal { D }$ is Gaussian. While this may seem to be too restrictive, we later show that improving the robustness of networks against Gaussian attacks also improves the robustness against a family of other types of attacks. However, even under such an assumption, only a memory and computationally expensive (expensive due to two-stage network linearization), closed-form approximate surrogate for network expected predictions exists (Bibi et al., 2018).
|
| 18 |
+
|
| 19 |
+
Contributions. (i) We formalize a new regularizer that is a function of the probabilistic first moment of the output of a DNN to train robust DNNs against noise sampled from distribution $\mathcal { D }$ . (ii) Under the special choice of Gaussian attacks, i.e. $\mathcal { D }$ is Gaussian, we show how the first moment expression can be evaluated very efficiently during training for an arbitrary deep DNN by bypassing the need to perform memory and computationally expensive two-stage linearization. (iii) Extensive experiments using LeNet (LeCun et al., 1999) and AlexNet (Krizhevsky et al., 2012) architectures on MNIST (LeCun, 1998), CIFAR10, and CIFAR100 (Krizhevsky & Hinton, 2009) datasets demonstrate that a substantial enhancement in robustness can be achieved when using our regularizer in training. In fact, in the majority of the experiments, the improvement is better than training on the same dataset, augmented with 3 to 21 times Gaussian noisy data. Interestingly, the results suggest an excellent trade-off between accuracy and robustness. Moreover, we show that networks that are trained to be robust against Gaussian attacks using our proposed regularizer enjoy orders of magnitude boost in robustness against a family of other types of attacks.
|
| 20 |
+
|
| 21 |
+
# 2 RELATED WORK
|
| 22 |
+
|
| 23 |
+
Despite the impressive performance of DNNs on various tasks, they have been shown to be very sensitive to certain types of noise, commonly referred to as adversarial examples, particularly in the recognition task (Moosavi-Dezfooli et al., 2016; Goodfellow et al., 2015). Adversarial examples can be viewed as small imperceptible noise that, once added to the input of a DNN, its performance is severely degraded. This finding has incited interest in studying/measuring the robustness of DNNs.
|
| 24 |
+
|
| 25 |
+
The literature is rich with work that aims to unify and understand the notion of network robustness. For instance, Szegedy et al. (2014) suggested a spectral stability analysis for a wide class of DNNs by measuring the Lipschitz constant of the affine transformation describing a fully-connected or a convolutional layer. This result was extended to compute an upper bound for a composition of layers, i.e. a DNN. However, this measure sets an upper bound on the robustness over the entire input domain and does not take into account the noise distribution. Later, Fawzi et al. (2017a) defined robustness as the mean support of the minimum adversarial perturbation, which is now the most common definition for robustness. Not only was robustness studied against adversarial perturbations but also against geometric transformations to the input. Fawzi et al. (2018) emphasized the independence of the robustness measure to the ground truth class labels and that it should only depend on the classifier and the dataset distribution. Subsequently, two different metrics to measure DNN robustness were proposed: one for general adversarial attacks and another for noise sampled from uniform distribution. Recently, Gilmer et al. (2018) showed the trade-off between robustness and test error from a theoretical point of view on a simple classification problem with hyperspheres.
|
| 26 |
+
|
| 27 |
+
On the other hand, and based on various robustness analyses, several works proposed various approaches in building networks that are robust against noise sampled from well known distributions and against generic adversarial attacks. For instance, Grosse et al. (2017) proposed a model that was trained to classify adversarial examples with statistical hypothesis testing on the distribution of the dataset. Another approach is to perform statistical analysis on the latent feature space instead (Li & Li, 2017; Feinman et al., 2017), or train a DNN that rejects adversarial attacks (Lu et al., 2017). Moreover, the geometry of the decision boundaries of DNN classifiers was studied by Fawzi et al. (2017b) to infer a simple curvature test for this purpose. Using this method, one can restore the original label and classify the input correctly. Restoring the original input using defense mechanisms, which can only detect adversarial examples, can be done by denoising (ridding it from its adversarial nature) so long as the noise perturbation is well-known and modeled apriori (Zhu et al., 2016). A fresh approach to robustness was proposed by Zantedeschi et al. (2017), where they showed that using bounded ReLUs (if augmented with Gaussian noise) to limit the output range can improve robustness. A different work proposed to distill the learned knowledge from a deep model to retrain a similar model architecture as a means to improving robustness (Papernot et al., 2016). This training approach is one of many adversarial training strategies for robustness Makhzani et al. (2016). More closely to our work is (Cisse et al., 2017), where a new training regularizer was proposed for a large family of DNNs. The proposed regularizer softly enforces that the upper bound of the Lipshitz constant of the output of the network to be less than or equal to one. Moreover and very recently, the work of Bibi et al. (2018) has derived analytic expressions for the output mean and covariance of networks in the form of (Affine, ReLU, Affine) under a generic Gaussian input. This work also demonstrates how a (memory and computation expensive) two-stage linearization can be employed to locally approximate a deep network with a two layer one, thus enabling the application of the derived expressions on the approximated shallower network.
|
| 28 |
+
|
| 29 |
+

|
| 30 |
+
Figure 1: Overview of the proposed graph for training Gaussian robust networks. The yellow block corresponds to an arbitrary network $\Phi ( . , \theta )$ viewed as the composition of two subnetworks separated by a ReLU. The stream on the bottom computes the output mean $\mu _ { 4 }$ of the network $\Phi ( : , \theta )$ assuming that (i) the noise input distribution is independent Gaussian with variances $\sigma _ { x } ^ { 2 }$ , and (ii) $\Omega ( . ~ : ~ \theta _ { 2 } )$ is approximated by a linear function. This evaluation for the output mean is efficient as it only requires an extra forward pass (bottom stream), as opposed to other methods that employ computationally and memory intensive network linearizations or data augmentation.
|
| 31 |
+
|
| 32 |
+
Most prior work requires data augmentation, training new architectures that distill knowledge, or detect adversaries a priori, resulting in expensive training routines that may be ineffective in the presence of several input noise types. To this end, we address these limitations through our new regularizer that aims to fundamentally tackle Gaussian input noise without data augmentation and, as a consequence, improves overall robustness against other types of attacks.
|
| 33 |
+
|
| 34 |
+
# 3 METHODOLOGY
|
| 35 |
+
|
| 36 |
+
Background on Network Moments. Networks with a single hidden layer of the form (Affine, ReLU, Affine) can be written in the functional form $\mathbf { g } ( \mathbf { x } ) = \bar { \mathbf { B } } \mathrm { m a x } \left( \mathbf { A } \mathbf { x } + \mathbf { \bar { c } } _ { 1 } , \mathbf { 0 } _ { p } \right) + \mathbf { c } _ { 2 }$ . The max(.) is an element-wise operator, $\textbf { A } \in \mathbb { R } ^ { p \times n }$ , and $\textbf { B } \in \mathbb { R } ^ { d \times p }$ . Thus, $\mathbf { g } : \mathbb { R } ^ { n } \mathbb { R } ^ { d }$ . Given that $\mathbf { x } \sim \mathcal { N } \left( \mu _ { x } , \Sigma _ { x } \right)$ , Bibi et al. (2018) showed that:
|
| 37 |
+
|
| 38 |
+
$$
|
| 39 |
+
\begin{array} { r } { \mathbf { T h e o r e m 1 textit { T h e f i r s t m o m e n t } } o f g ( \mathbf { x } ) \ i s \mathbb { E } [ \mathbf { g } ( \mathbf { x } ) ] = \mathbf { B } \left( \mu _ { 2 } \odot \Phi \left( \frac { \mu _ { 2 } } { \sigma _ { 2 } } \right) + \sigma _ { 2 } \odot \varphi \left( \frac { \mu _ { 2 } } { \sigma _ { 2 } } \right) \right) + \mathbf { c } _ { 2 } . } \end{array}
|
| 40 |
+
$$
|
| 41 |
+
|
| 42 |
+
Note that $\mu _ { 2 } = \mathbf { A } \mu _ { x } + \mathbf { c } _ { 1 }$ , $\sigma _ { 2 } = \sqrt { \mathrm { d i a g } \left( \Sigma _ { 2 } \right) } .$ , $\Sigma _ { 2 } = \mathbf { A } \Sigma _ { x } \mathbf { A } ^ { \top }$ , $\Phi$ and $\varphi$ are the standard Gaussian cumulative (CDF) and density (PDF) functions, respectively. The vector multiplication and division are element-wise operations. Lastly, $\mathrm { d i a g ( . ) }$ extracts the diagonal elements of a matrix into a vector. For ease of notation, we let $\begin{array} { r } { \mu _ { 3 } = \dot { T } ( \mu _ { 2 } , \dot { \sigma } _ { 2 } ) = ( \mu _ { 2 } \odot \Phi ( \frac { \mu _ { 2 } } { \sigma _ { 2 } } \bar { ) } + \sigma _ { 2 } \odot \varphi ( \frac { \mu _ { 2 } } { \sigma _ { 2 } } ) ) } \end{array}$ .
|
| 43 |
+
|
| 44 |
+
To extend the results of Theorem (1) to deeper models, a two-stage linearization was proposed in Bibi et al. (2018), where $( \mathbf { A } , \mathbf { B } )$ and $( \mathbf { c } _ { 1 } , \mathbf { c } _ { 2 } )$ are taken to be the Jacobians and biases of the first order Taylor approximation to the two network functions around a ReLU layer in a DNN. Refer to Bibi et al. (2018) for more details about this expression and the proposed linearization.
|
| 45 |
+
|
| 46 |
+
Proposed Robust Training Regularizer. To propose an alternative to noisy data augmentation to address its drawbacks, one has to realize that this augmentation strategy aims to minimize the expected training loss of a DNN when subjected to noisy input distribution $\mathcal { D }$ through sampling. In fact, it minimizes an empirical loss that approximates this expected loss when enough samples are present during training. When sampling is insufficient (a drawback of data augmentation in highdimensions), this approximation is too loose and robustness can suffer. However, if we have access to an analytic expression for the expected loss, expensive data augmentation can be averted. This is the key motivation of the paper. Mathematically, the training loss can be modeled as
|
| 47 |
+
|
| 48 |
+
$$
|
| 49 |
+
\operatorname* { m i n } _ { \theta } \ \sum _ { i = 1 } ^ { N } \Big ( \ell \left( \Phi ( \mathbf { x } _ { i } ; \theta ) , y _ { i } \right) + \alpha \mathbb { E } _ { \mathbf { n } \sim \mathcal { D } } \left[ \ell \left( \Phi ( \mathbf { x } _ { i } + \mathbf { n } ; \theta ) , y _ { i } \right) \right] \Big ) .
|
| 50 |
+
$$
|
| 51 |
+
|
| 52 |
+
Here, $\Phi : \mathbb { R } ^ { n } \mathbb { R } ^ { d }$ is any arbitrary network with parameters $\theta , \ell$ is the loss function, $\{ ( \mathbf { x } _ { i } , y _ { i } ) \} _ { i = 1 } ^ { N }$ are the noise-free data-label training pairs, and $\alpha \geq 0$ is a trade off parameter. While the first term in Equation 1 is the standard empirical loss commonly used for training, the second term is often replaced with its Monte Carlo estimate through data augmentation. That is, for each training example $\mathbf { x } _ { i }$ , the second term is approximated with an empirical average of $\tilde { N }$ noisy examples of $\mathbf { x } _ { i }$ such that $\begin{array} { r } { \mathbb { E } _ { \mathbf { n } \sim \mathcal { D } } [ \ell \left( \boldsymbol { \Phi } ( \mathbf { x } _ { i } + \mathbf { n } ; \boldsymbol { \theta } ) , y _ { i } \right) ] \approx \frac { 1 } { \tilde { N } } \sum _ { j = 1 } ^ { \tilde { N } } \ell \left( \boldsymbol { \Phi } ( \mathbf { x } _ { i } + \mathbf { n } _ { j } ; \boldsymbol { \theta } ) , y _ { i } \right) . } \end{array}$ . This will increase the size of the dataset by a factor of $\tilde { N }$ , which will in turn increase training complexity. As discussed earlier, network performance on the noise-free examples can also be negatively impacted. Note that obtaining a closed form expression for the second term in Equation 1 for some of the popularly used losses $\ell$ is more complicated than deriving expressions for the output mean of the network $\Phi$ itself, e.g. in Theorem (1). Therefore, we propose to replace this loss with the following surrogate
|
| 53 |
+
|
| 54 |
+
$$
|
| 55 |
+
\operatorname* { m i n } _ { \theta } \ \sum _ { i = 1 } ^ { N } \Big ( \ell \left( \Phi ( \mathbf { x } _ { i } ; \theta ) , y _ { i } \right) + \alpha \ell \left( \mathbb { E } _ { \mathbf { n } \sim \mathcal { D } } \left[ \Phi ( \mathbf { x } _ { i } + \mathbf { n } ; \theta ) \right] , y _ { i } \right) . \Big )
|
| 56 |
+
$$
|
| 57 |
+
|
| 58 |
+
Because of Jensen’s inequality, Equation 2 is a lower bound to Eq Equation 1 when $\ell$ is convex, which is the case for most popular losses including $\ell _ { 2 }$ -loss and cross-entropy loss. The proposed second term in Equation 2 encourages that the output mean of the network $\Phi$ of every noisy example $( \mathbf { x } _ { i } + \mathbf { n } )$ matches the correct class label $y _ { i }$ . This regularizer will stimulate a separation among the output mean of the classes if the training data is subjected to noise sampled from $\mathcal { D }$ . Having access to an analytic expression for these means will prompt a simple inexpensive training, where the actual size of the training set is unaffected and augmentation is avoided. This form of regularization is proposed to replace data augmentation.
|
| 59 |
+
|
| 60 |
+
While a closed-form expression for the second term of Equation 2 might be infeasible for a general network $\Phi ( . )$ , an expensive approximation can be attained. In particular, Theorem Equation 1 provides an analytic expression to evaluate the second term in Equation 2, for when $\mathcal { D }$ is Gaussian and when the network is approximated by a two-stage linearization procedure as $\Phi ( \mathbf { x } ) \approx \mathbf { B } \mathrm { m a x } \left( \mathbf { A } \mathbf { x } + \mathbf { c } _ { 1 } , \mathbf { 0 } _ { p } \right) + \mathbf { c } _ { 2 }$ . However, it is not clear how to utilize such a result to regularize networks during training with Equation 2 as a loss. This is primarily due to the computationally expensive and memory intensive network linearization proposed in Bibi et al. (2018). Specifically, the linearization parameters $\left( \mathbf { A } , \mathbf { B } , \mathbf { c } _ { 1 } , \mathbf { c } _ { 2 } \right)$ are a function of the network parameters, $\theta$ , which are updated with every gradient descent step on Equation 2; thus, two-stage linearization has to be performed in every $\theta$ update step, which is infeasible.
|
| 61 |
+
|
| 62 |
+
On an Efficient Approximation to Equation 2. The loss in Equation 2 proposes a generic approach to train robust arbitrary networks against noise sampled from an arbitrary distribution $\mathcal { D }$ . Since the problem in its general setting is too broad for detailed analysis, we restrict the scope of this work to the class of networks, which are most popularly used and parameterized by $\theta$ , $\bar { \Phi ( . ; \theta ) } : \mathbb { R } ^ { n } \to \mathbb { R } ^ { d }$ with ReLUs as nonlinear activations. Moreover, since random Gaussian noise was shown to exhibit an adversarial nature Bibi et al. (2018); Rauber et al. (2017); Franceschi et al. (2018), and it is one of the most well studied noise models for the useful properties it exhibits, we restrict $\mathcal { D }$ to the case of Gaussian noise. In particular, $\mathcal { D }$ is independent zero-mean Gaussian noise at the input, i.e. $\mathbf { n } \sim \mathcal { D } = \mathcal { N } \left( \mathbf { 0 } , \Sigma _ { x } = \mathrm { D i a g } \left( \sigma _ { x } ^ { 2 } \right) \right)$ , where $\sigma _ { x } ^ { 2 } \in \mathbb { R } ^ { n }$ is a vector of variances and $\mathrm { D i a g ( . ) }$ reshapes the vector elements into a diagonal matrix. Generally, it is still difficult to compute the second term in Equation 2 under Gaussian noise for arbitrary networks. However, if we have access to an inexpensive approximation of the network, avoiding the computationally and memory expensive network linearization in Bibi et al. (2018), an approximation to the second term in Equation 2 can be used for efficient robust training directly on $\theta$ .
|
| 63 |
+
|
| 64 |
+
Consider the $l ^ { \mathrm { t h } }$ ReLU layer in $\Phi ( . ; \theta )$ . the network can be expressed as $\begin{array} { r l } { \Phi ( . ; \theta ) } & { { } = } \end{array}$ $\Omega ( \mathrm { R e L U } _ { l } ( \Upsilon ( . , \theta _ { 1 } ) ) ; \theta _ { 2 } )$ . Note that the parameters of the overall network $\Phi ( . ; \theta )$ is the union of the parameters of the two subnetworks $\Upsilon ( . ; \theta _ { 1 } )$ and $\Omega ( . ; \theta _ { 2 } )$ , i.e. $\theta = \theta _ { 1 } \cup \theta _ { 2 }$ . Throughout this work and to simplify the analysis, we set $l = 1$ . With such a choice of $l$ , the first subnetwork $\Upsilon ( . , \theta _ { 1 } )$ is affine with $\bar { \theta _ { 1 } } = \{ \mathbf { A } , \mathbf { c } _ { 1 } \}$ . However, the second subnetwork $\Omega ( . , \theta _ { 2 } )$ is not linear in general, and thus, one can linearize $\Omega ( . , \theta _ { 2 } )$ at $\mathbb { E } _ { \mathbf { n } \sim \mathcal { N } ( \mathbf { 0 } , \Sigma _ { x } ) } \left[ \mathrm { R e L U } _ { 1 } \left( \Upsilon \left( \mathbf { x } _ { i } + \mathbf { n } ; \theta _ { 1 } \right) \right) \right] = T ( \mu _ { 2 } , \sigma _ { 2 } ) = \mu _ { 3 }$ . Note that $\mu _ { 3 }$ is the output mean after the ReLU and $\mu _ { 2 } = \mathbf { A } \mathbf { x } _ { i } + \mathbf { c } _ { 1 }$ , since $\Upsilon ( \mathbf { x } _ { i } + \mathbf { n } ; \theta _ { 1 } ) = \mathbf { A } \left( \mathbf { x } _ { i } + \mathbf { n } \right) + \mathbf { c } _ { 1 }$ . Both $T ( . , . )$ and $\sigma _ { 2 }$ are defined in Equation 1. Thus, linearizing $\Omega$ at $\mu _ { 3 }$ with linearization parameters $\mathbf { ( B , c _ { 2 } ) }$ being the Jacobian of $\Omega$ and ${ \bf c } _ { 2 } = \Omega ( \mu _ { 3 } , \theta _ { 2 } ) - { \bf B } \mu _ { 3 }$ , we have that, for any point $\mathbf { v } _ { i }$ close to $\mu _ { 3 }$ : $\Omega ( \mathbf { v } _ { i } , \mathbf { \bar { \theta } } _ { 2 } ) \approx \mathbf { B } \mathbf { v } _ { i } + \mathbf { c } _ { 2 }$ . While computing $\mathbf { ( B , c _ { 2 } ) }$ through linearization is generally very expensive, computing the approximation to Equation 2 requires explicit access to neither $\mathbf { B }$ nor $\mathbf { c } _ { 2 }$ . Note that this second term for $l = 1$ is given as:
|
| 65 |
+
|
| 66 |
+
$$
|
| 67 |
+
\begin{array} { r l } & { \quad \ell \left( \mathbb { E } _ { \mathbf { n } \sim \mathcal { N } ( \mathbf { 0 } , \Sigma _ { x } ) } [ \Phi ( \mathbf { x } _ { i } + \mathbf { n } ; \boldsymbol { \theta } ) ] , y _ { i } \right) = \ell \left( \mathbb { E } _ { \mathbf { z } _ { i } \sim \mathcal { N } ( \mathbf { x } _ { i } , \Sigma _ { x } ) } [ \Omega \left( \mathrm { R e L U } _ { 1 } \left( \Upsilon ( \mathbf { z } _ { i } ; \boldsymbol { \theta } _ { 1 } ) \right) ; \boldsymbol { \theta } _ { 2 } \right) ] , y _ { i } \right) } \\ & { = \ell \left( \mathbb { E } _ { \mathbf { z } _ { i } \sim \mathcal { N } ( \mathbf { x } _ { i } , \Sigma _ { x } ) } [ \Omega \left( \mathrm { R e L U } _ { 1 } \left( \mathbf { A } \mathbf { z } _ { i } + \mathbf { c } _ { 1 } \right) ; \boldsymbol { \theta } _ { 2 } \right) ] , y _ { i } \right) } \\ & { \approx \ell \left( \mathbb { E } _ { \mathbf { z } _ { i } \sim \mathcal { N } ( \mathbf { x } _ { i } , \Sigma _ { x } ) } [ \mathbf { B } \left( \mathrm { R e L U } _ { 1 } \left( \mathbf { A } \mathbf { z } _ { i } + \mathbf { c } _ { 1 } \right) \right) + \mathbf { c } _ { 2 } ] , y _ { i } \right) } \\ & { = \ell \left( \mathbf { B } \mu _ { 3 } + \mathbf { c } _ { 2 } , y _ { i } \right) = \ell \left( \Omega ( \mu _ { 3 } , \boldsymbol { \theta } _ { 2 } ) , y _ { i } \right) . } \end{array}
|
| 68 |
+
$$
|
| 69 |
+
|
| 70 |
+
The approximation follows from the assumption that the input to the second subnetwork $\Omega ( . ; \theta _ { 2 } )$ , i.e. $\mathbf { v } _ { i } = \mathrm { R e L U } _ { 1 } \left( \mathbf { A } \mathbf { z } _ { i } + \mathbf { c } _ { 1 } \right) )$ , is close to the point of linearization $\mu _ { 3 }$ such that $\Omega ( \mathbf { v } _ { i } ; \theta _ { 2 } ) \approx \mathbf { B } \mathbf { v } _ { i } + \mathbf { c } _ { 2 }$ . Or simply, that the input to $\Omega$ is close to the mean inputs, i.e. $\mu _ { 3 }$ , to $\Omega$ under Gaussian noise. The penultimate equality follows from the linearity of the expectation. As for the last equality, $\mathbf { ( B , c _ { 2 } ) }$ are the linearization parameters of $\Omega$ at $\mu _ { 3 }$ , where $\mathbf { c } _ { 2 } = \mathbf { \bar { \Omega } } ( \mu _ { 3 } , \theta _ { 2 } ) - \mathbf { B } \mu _ { 3 }$ by the first order Taylor approximation. Thus, computing the second term of Equation 2 according to Equation 3 can be simply approximated by a forward pass of $\mu _ { 3 }$ through the second network $\Omega$ . As for computing $\mu _ { 3 } = T ( \mu _ { 2 } , \sigma _ { 2 } )$ , note that $\mu _ { 2 } = \mathbf { A } \mathbf { x } _ { i } + \mathbf { c } _ { 1 }$ in Equation 3, which is equivalent to a forward pass of $\mathbf { x } _ { i }$ through the first subnetwork because $\Upsilon ( . , \theta _ { 1 } )$ is linear with $\theta _ { 1 } = \{ \bar { \bf A } , { \bf c } _ { 1 } \}$ . Moreover, since $\sigma _ { 2 } =$ $\sqrt { \mathrm { d i a g } \left( \mathbf { A } \Sigma _ { x } \mathbf { A } ^ { \top } \right) }$ , we have: $\sigma _ { 2 } = \sqrt { \operatorname { d i a g } \left( \mathbf { A D i a g } \left( \sigma _ { x } ^ { 2 } \right) \mathbf { A } ^ { \top } \right) } = \sqrt { \left( \mathbf { A } \odot \mathbf { A } \right) \sigma _ { x } ^ { 2 } }$ . The expression for $\sigma _ { 2 }$ can be efficiently computed by simply squaring the linear parameters in the first subnetwork and performing a forward pass of the input noise variance $\sigma _ { x } ^ { 2 }$ through $\Upsilon$ without the bias $\mathbf { c } _ { 1 }$ and taking the element-wise square root. Lastly, it is straightforward to compute $T ( \mu _ { 2 } , \sigma _ { 2 } )$ as it is an elementwise function in Equation 1. The overall computational graph in Figure 1 shows a summary of the computation needed to evaluate the loss in Equation 2 using only forward passes through the two subnetworks $\Upsilon$ and $\Omega$ . It is now possible with the proposed efficient approximation of our proposed regularizer in Equation 2 to efficiently train networks on noisy training examples that are corrupted with noise $\bar { \mathcal { N } } ( \mathbf { 0 } , \bar { \Sigma } _ { x } )$ without any form of prohibitive data augmentation.
|
| 71 |
+
|
| 72 |
+
# 4 EXPERIMENTS
|
| 73 |
+
|
| 74 |
+
In this section, we conduct experiments on multiple network architectures and datasets to demonstrate the effectiveness of our proposed regularizer in training more robust networks, especially in comparison with data augmentation. To standardize robustness evaluation, we first propose a new unified robustness metric against additive noise from a general distribution $\mathcal { D }$ and later specialize it when $\mathcal { D }$ is Gaussian. Lastly, we show that networks trained with our proposed regularizer not only outperform in robustness networks trained with Gaussian augmented data. Moreover, we show that such networks are also much more magnitudes times robust against other types of attacks.
|
| 75 |
+
|
| 76 |
+
On the Robustness Evaluation Metric. While there is a consensus on the definition of robustness in the presence of adversarial attacks, as the smallest perturbation required to fool a network, i.e. to change its prediction, it is not straightforward to extend such a definition to additive noise sampled from a distribution $\mathcal { D }$ . In particular, the work of Fawzi et al. (2018) tried to address this difficulty by defining the robustness of a classifier around an example x as the distance between x and the closest decision boundary. However, this definition is difficult to compute in practice and is not scalable, as it requires solving a generally nonconvex optimization problem for every testing example $\mathbf { x }$ that may also suffer from poor local minima. To remedy these drawbacks, we present a new robustness metric for generic additive noise.
|
| 77 |
+
|
| 78 |
+

|
| 79 |
+
Figure 2: General trade-off between accuracy and robustness on LeNet. We see, in all plots, that the accuracy tends to be negatively correlated with robustness over varying noise levels and amount of augmentation. Baseline refers to training with neither data augmentation nor our regularizer. However, it is hard to compare the performance of our method against data augmentation from these plots as we can only compare the robustness of models with similar noise-free testing accuracy.
|
| 80 |
+
|
| 81 |
+
Robustness Against Additive Noise. Consider a classifier $\Psi ( . )$ with $\psi ( \mathbf { x } ) = \arg \operatorname* { m a x } _ { i } \Psi _ { i } ( \mathbf { x } )$ as the predicted class label for the example $\mathbf { x }$ regardless of the correct class label $y _ { i }$ . We define the robustness on a sample $\mathbf { x }$ against a generic additive noise sampled from a distribution $\mathcal { D }$ as
|
| 82 |
+
|
| 83 |
+
$$
|
| 84 |
+
\Re _ { \mathcal { D } } ( \mathbf { x } ) = \mathbb { P } _ { \mathbf { n } \sim \mathcal { D } } \{ \psi ( \mathbf { x } + \mathbf { n } ) = \psi ( \mathbf { x } ) \} .
|
| 85 |
+
$$
|
| 86 |
+
|
| 87 |
+
Here, the proposed robustness metric $\Re _ { \mathcal { D } } ( \mathbf { x } )$ measures the probability of the classifier to preserve the original prediction of the noise-free example $\psi ( \mathbf { x } )$ after adding noise, $\psi ( \mathbf { x } + \mathbf { n } )$ , from distribution $\mathcal { D }$ . Therefore, the robustness over a testing dataset $\tau$ can be defined as the expected robustness over the test dataset: $\Re _ { \mathcal { D } } ( \mathcal { T } ) = \mathbb { E } _ { \mathbf { x } \sim \mathcal { T } } \left[ \Re _ { \mathcal { D } } ( \mathbf { x } ) \right]$ . Inspired by Franceschi et al. (2018), for ease, we relax Equation 4 from the probability of preserving the prediction score to a 0/1 robustness over $m$ - randomly sampled examples from $\mathcal { D }$ . That is, $\Re _ { \mathcal { D } } ( { \bf x } ) = 1$ means that, among $m$ randomly sampled noise from $\mathcal { D }$ added to $\mathbf { x }$ , none changed the prediction from $\psi ( \mathbf { x } )$ . However, if a single example of these $m$ samples changed the prediction from $\psi ( \mathbf { x } )$ , we set $\Re _ { \mathcal { D } } ( { \bf x } ) = 0$ . Thus, the robustness score is the average of this measure over the testing dataset $\tau$ .
|
| 88 |
+
|
| 89 |
+
Robustness Against Gaussian Noise. For additive Gaussian noise, i.e. $\mathcal { D } ~ = ~ \mathcal { N } ( \mathbf { 0 } , \Sigma _ { x } ~ =$ Diag $\left( \sigma _ { x } ^ { 2 } \right)$ ), robustness is averaged over a range of testing variances $\sigma _ { x } ^ { 2 }$ . We restrict $\sigma _ { x }$ to 30 evenly sampled values in $[ 0 , 0 . 5 ]$ , where this set is denoted as $\mathcal { A } ^ { 1 }$ . In practice, this is equivalent to sampling $m$ Gaussian examples for each $\sigma _ { x } \in { \mathcal { A } }$ , and if none of the $m$ samples changes the prediction of the classifier $\psi$ from the original noise-free example, the robustness for that sample at that $\sigma _ { x }$ noise level is set to 1 and then averaged over the complete testing set. Then, the robustness is the average over multiple $\sigma _ { x } \in { \mathcal { A } }$ . To make the computation even more efficient, instead of sampling a large number of Gaussian noise samples $( m )$ , we only sample a single noise sample with the average√ energy over $\mathcal { D }$ . That is, we sample a single $\mathbf { n }$ of norm $\mathbf { \bar { \mathbf { \rho } } } _ { \| \mathbf { n } \| _ { 2 } } = \mathbf { \bar { \sigma } } \sigma _ { x } \sqrt { n }$ . This is due to the fact that
|
| 90 |
+
|
| 91 |
+
Experimental Setup. In this section, we demonstrate the effectiveness of the proposed regularizer in improving robustness. Several experiments are performed with our objective Equation 2, where we strike a comparison with data augmentation approaches.
|
| 92 |
+
|
| 93 |
+
Architecture Details. The input images in MNIST (gray-scale) and CIFAR (colored) are squares with sides equal to 28 and 32, respectively. Since AlexNet was originally trained on ImageNet of sides equal to 224, we will marginally alter the implementation of AlexNet in TorchVision Marcel & Rodriguez (2010) to accommodate for this difference. First, we change the number of hidden units in the first fully-connected layer (in LeNet to 4096, AlexNet to 256, LeNet on MNIST to 3136). For AlexNet, we changed all pooling kernel sizes from 3 to 2 and the padding size of conv1 from 2 to 5. Second, we swapped each maxpool with the preceding ReLU, which makes training and inference more efficient. Third, we enforce that the first layer in all the models is a convolution followed by ReLU as discussed earlier. Lastly, to simplify analysis, we removed all dropout layers. We leave the details of the optimization hyper-parameters to the appendix.
|
| 94 |
+
|
| 95 |
+

|
| 96 |
+
Figure 3: Fair robustness comparison of LeNet with data augmentation and our regularizer. We only report results for models with a test accuracy that is at least as good as the accuracy of the baseline with a tolerance: $0 \%$ , $0 . 3 9 \%$ , and $0 . 7 5 \%$ for MNIST, CIFAR10, CIFAR100, respectively. Only the models with the highest robustness are presented. Training with our regularizer can attain similar/better robustness than 21-fold noisy data augmentation on MNIST and CIFAR100, while maintaining a high noise-free test accuracy.
|
| 97 |
+
|
| 98 |
+
Results. For each model and dataset, we compare baseline models, i.e. models trained with noisefree data and without our regularization, with two others: one using data augmentation and another using our proposed regularizer. Each of the latter has two configurable variables: the level of noise controlled by $\textstyle { \mathcal { \sigma } } _ { x } ^ { 2 }$ during training, and the amount of noise controlled by the trade-off coefficient $\alpha$ in Equation 2 or $\tilde { N }$ (number of added noisy training examples) in the case of augmentation.
|
| 99 |
+
|
| 100 |
+
Accuracy vs. Robustness. We start by demonstrating that data augmentation tends to improve the robustness, as captured by $\Re ( \mathcal { T } )$ over the test set, at the expense of decreasing the testing accuracy on the noise-free examples. Realizing this is essential for a fair comparison, as one would need to compare the robustness of networks that only have similar noise-free testing accuracies. To this end, we ran 60 training experiments with data augmentation on LeNet with three datasets (MNIST, CIFAR10, and CIFAR100), four augmentation levels $( \tilde { N } \in \{ 2 , 6 , 1 1 , 2 1 \} )$ , and five noise levels $( \sigma _ { x } \in \mathcal { A } = \{ 0 . 1 2 5 , 0 . 2 5 , 0 . 3 2 5 , 0 . 5 , 1 . 0 \} )$ . In contrast, we ran robust training experiments using Equation 2 with the trade-off coefficient $\overset { \cdot } { \alpha } \in \{ 0 . 5 , 1 , 1 . 5 , 2 , 5 , 1 0 , 2 0 \}$ on the same datasets, but we extended the noise levels $\sigma _ { x }$ to include the extreme noise regime of $\sigma _ { x } \in \{ 2 , 5 , 1 0 , 2 0 \}$ . These noise levels are too large to be used for data augmentation, especially since $\mathbf { x } \in [ 0 , 1 ] ^ { n }$ ; however, as we will see, they are still beneficial for our proposed regularizer. Figure 2 shows both the testing accuracy and robustness as measured by $\Re ( \mathcal { T } )$ over a varying range of training $\sigma _ { x }$ for the data augmentation approach of LeNet on MNIST, CIFAR-10 and CIFAR-100. It is important to note here that the main goal of these plots is not to compare the robustness score, but rather, to demonstrate a very important trend. In particular, increasing the training $\sigma _ { x }$ for each approach degrades testing accuracy on noise-free data. However, the degradation in our approach is much more graceful since the trained LeNet model was never directly exposed to individually corrupted examples during training as opposed to the data augmentation approach. Note that our regularizer enforces the separation between the expected output prediction analytically. Moreover, the robustness of both methods consistently improves as the training $\sigma _ { x }$ increases. This trend holds even on the easiest dataset (MNIST). Interestingly, models trained with our regularizer enjoy an improvement in testing accuracy over the baseline model. Such behaviour only emerges with a large factor of augmentation, $\tilde { N } = 2 \bar { 1 }$ , and a small enough training $\sigma _ { x }$ on MNIST. This indicates that models can benefit from better accuracy with a good approximation of Equation 1 through our proposed objective or through extensive Monte Carlo estimation. However, as $\underset { \cdots } { \sigma } { _ { x } }$ increases, Monte Carlo estimates of the second term in Equation 1 via data augmentation (with $\ddot { N } = 2 1$ ) is no longer enough to capture the noise.
|
| 101 |
+
|
| 102 |
+
Robustness Comparison. For fair comparison, it is essential to only compare the robustness of networks that achieve similar testing accuracy, since perfect robustness is attainable with a deterministic classifier that assigns the same class label regardless of the input. In fact, we proposed a unified robustness metric for the reason that most commonly used metrics are disassociated from
|
| 103 |
+
|
| 104 |
+
<table><tr><td></td><td>g</td><td>PGD</td><td>LBFGS</td><td>FGSM</td><td>DF2</td><td>GNR</td><td>ACC</td></tr><tr><td rowspan="6">EE nenen JSINW</td><td>0</td><td>1.02 × 10-03</td><td>5.50×10-04</td><td>2.24×10-02</td><td>5.91×10-04</td><td>77.45</td><td>98.50</td></tr><tr><td>0.125</td><td>3.36×10-01</td><td>3.43×10-01</td><td>8.19 ×10-01</td><td>2.05×10-01</td><td>93.14</td><td>97.50</td></tr><tr><td>0.250</td><td>4.58×10-01</td><td>4.31×10-01</td><td>1.21</td><td>2.63×10-01</td><td>95.64</td><td>98.75</td></tr><tr><td>0.325</td><td>4.21×10-01</td><td>4.51 ×10-01</td><td>1.17</td><td>2.33×10-01</td><td>96.75</td><td>97.50</td></tr><tr><td>1.0</td><td>5.44×10-01</td><td>5.22×10-01</td><td>1.34</td><td>2.95×10-01</td><td>97.32</td><td>99.00</td></tr><tr><td></td><td></td><td></td><td>-05</td><td></td><td></td><td></td></tr><tr><td rowspan="5">A neeae CEITIIIO</td><td>0</td><td>2.30×10-05</td><td>2.50 × 10-05</td><td>1.50 ×10</td><td>2.10×10-05</td><td>29.69</td><td>34.75</td></tr><tr><td>0.12</td><td>3.64×10-04</td><td>2.83×10-04</td><td>5.06×10-04</td><td>2.16×10-04</td><td>31.65</td><td>33.50</td></tr><tr><td>0.250</td><td>4.37 ×10-04</td><td>3.86×10-04</td><td>6.50×10-04</td><td>2.47×10-04</td><td>32.85</td><td>32.25</td></tr><tr><td>0.325</td><td>5.37×10-04</td><td>4.04×10-04</td><td>7.29 ×10-04</td><td>3.18×10-04</td><td>33.84</td><td>34.25</td></tr><tr><td>1.0</td><td>4.92×10-04</td><td>3.26×10-04</td><td>6.50×10-04</td><td>2.85×10-04</td><td>34.65</td><td>35.50</td></tr></table>
|
| 105 |
+
|
| 106 |
+
Table 1: Gaussian robustness improves overall robustness. We report the robustness metrics corresponding to various attacks (PGD, LBFGS, FGSM, and DF2), our proposed GNR metric, and the test accuracy ACC for LeNet and AlexNet networks trained on MNIST and CIFAR100 using our proposed regularizer with noise variance $\sigma$ in training. Note that $\sigma = 0$ corresponds to baseline models trained without our regularizer. We observe that training networks with our proposed regularizer (designed for additive Gaussian attacks) not only improves the robustness against Gaussian attacks but also against 6 other types of attacks which 4 of them listed here and the others are left for appendix.
|
| 107 |
+
|
| 108 |
+
the ground-truth labels and only consider model predictions. Therefore, we filtered out the results from Figure 2 by removing all the experiments that achieved lower test accuracy than the baseline model. Figure 3 summarizes these results for LeNet. Now, we can clearly see the difference between training with data augmentation and our approach. For MNIST (Figure 3a), we achieved the same robustness as 21-fold data augmentation without feeding the network with any noisy examples during training and while preserving the same baseline accuracy. Interestingly, for CIFAR10 (Figure 3b), our method is twice as robust as the best robustness achieved via data augmentation. Moreover, for CIFAR100 (Figure 3c), we are able to outperform data augmentation by around $5 \%$ . Finally, for extra validation, we also conducted the same experiments with AlexNet on CIFAR10 and CIFAR100 which can be found in the appendix. We can see that our proposed regularizer can improve robustness by $1 5 \%$ on CIFAR10 and around $2 5 \%$ on CIFAR100. It is interesting to note that for CIFAR10, data augmentation could not improve the robustness of the trained models without drastically degrading the testing accuracy on the noise-free examples. Moreover, it is interesting to observe that the best robustness achieved through data augmentation is even worse than the baseline. This could be due to the trade-off coefficient $\alpha$ in Equation 1.
|
| 109 |
+
|
| 110 |
+
Towards General Robustness via Gaussian Robustness. Here, we investigate whether improving robustness to Gaussian input noise can improve robustness against other types of attacks. Specifically, we compare the robustness of models trained using our proposed regularizer (robust again Gaussian attacks) with baseline models subject to different types of attacks: Projected Gradient Descent (PGD) and LBFGS attacks Szegedy et al. (2014), Fast Sign Gradient Method (FGSM) Goodfellow et al. (2015), and DeepFool L2Attack (DF2) Moosavi-Dezfooli et al. (2016) as provide by Rauber et al. (2017). For all these attacks, we report the minimum energy perturbation that can change the network prediction. We also report our Gaussian Network Robustness (GNR) metric, which is the Gaussian version of Equation 4 along with the testing accuracy (ACC). We perform experiments on LeNet on MNIST, CIFAR10 and CIFAR100 datasets and on AlexNet on both CIFAR10 and CIFAR100. Due to space constraints, we show the robustness results for only LeNet on MNIST and AlexNet of CIFAR100 and leave the rest along with two other types of attacks for the appendix. Table 1 shows that improving GNR through our data augmentation free regularizer can significantly improve all robustness metrics. For instance, comparing LeNet trained with our proposed regularizer against LeNet trained without any regularization, i.e. $\sigma = 0$ , we see that robustness against all types of attacks improves by almost two orders of magnitude, while maintaining a similar testing accuracy. A similar improvement in performance is consistently present for AlexNet on CIFAR100.
|
| 111 |
+
|
| 112 |
+
# 5 CONCLUSION
|
| 113 |
+
|
| 114 |
+
Addressing the sensitivity problem of deep neural networks to adversarial perturbation is of great importance to the machine learning community. However, building robust classifiers against this noises is computationally expensive, as it is generally done through the means of data augmentation. We propose a generic lightweight analytic regularizer, which can be applied to any deep neural network with a ReLU activation after the first affine layer. It is designed to increase the robustness of the trained models under additive Gaussian noise. We demonstrate this with multiple architectures and datasets and show that it outperforms data augmentation without observing any noisy examples.
|
| 115 |
+
|
| 116 |
+
# REFERENCES
|
| 117 |
+
|
| 118 |
+
Christof Angermueller, Tanel Parnamaa, Leopold Parts, and Oliver Stegle. Deep learning for com- ¨ putational biology. Molecular Systems Biology, 2016.
|
| 119 |
+
|
| 120 |
+
Adel Bibi, Modar Alfadly, and Bernard Ghanem. Analytic expressions for probabilistic moments of pl-dnn with gaussian input. In Computer Vision and Patter Recognition Conference (CVPR18), 2018.
|
| 121 |
+
|
| 122 |
+
Akhilan Boopathy, Tsui-Wei Weng, Pin-Yu Chen, Sijia Liu, and Luca Daniel. Cnn-cert: An efficient framework for certifying robustness of convolutional neural networks. In Association for the Advancement of Artificial Intelligence (AAAI19), 2019.
|
| 123 |
+
|
| 124 |
+
Moustapha Cisse, Piotr Bojanowski, Edouard Grave, Yann Dauphin, and Nicolas Usunier. Parseval networks: Improving robustness to adversarial examples. In International Conference on Machine Learning (ICML17), 2017.
|
| 125 |
+
|
| 126 |
+
Alhussein Fawzi, Seyed Mohsen Moosavi Dezfooli, and Pascal Frossard. The robustness of deep networks - a geometric perspective. IEEE Signal Processing Magazine, 2017a.
|
| 127 |
+
|
| 128 |
+
Alhussein Fawzi, Seyed-Mohsen Moosavi-Dezfooli, Pascal Frossard, and Stefano Soatto. Classification regions of deep neural networks. CoRR, 2017b.
|
| 129 |
+
|
| 130 |
+
Alhussein Fawzi, Omar Fawzi, and Pascal Frossard. Analysis of classifiers’ robustness to adversarial perturbations. Machine Learning, 2018.
|
| 131 |
+
|
| 132 |
+
Reuben Feinman, Ryan R Curtin, Saurabh Shintre, and Andrew B Gardner. Detecting adversarial samples from artifacts. CoRR, 2017.
|
| 133 |
+
|
| 134 |
+
Jean-Yves Franceschi, Alhussein Fawzi, and Omar Fawzi. Robustness of classifiers to uniform $\ell _ { p }$ and gaussian noise. Proceedings of Machine Learning Research (PMLR18), 2018.
|
| 135 |
+
|
| 136 |
+
Justin Gilmer, Luke Metz, Fartash Faghri, Samuel S Schoenholz, Maithra Raghu, Martin Wattenberg, and Ian Goodfellow. Adversarial spheres. CoRR, 2018.
|
| 137 |
+
|
| 138 |
+
Ian J. Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. International Conference on Learning Representations (ICLR15), 2015.
|
| 139 |
+
|
| 140 |
+
Kathrin Grosse, Praveen Manoharan, Nicolas Papernot, Michael Backes, and Patrick McDaniel. On the (statistical) detection of adversarial examples. CoRR, 2017.
|
| 141 |
+
|
| 142 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Computer Vision and Patter Recognition Conference (CVPR16), 2016.
|
| 143 |
+
|
| 144 |
+
Geoffrey Hinton, Li Deng, Dong Yu, George E Dahl, Abdel-rahman Mohamed, Navdeep Jaitly, Andrew Senior, Vincent Vanhoucke, Patrick Nguyen, Tara N Sainath, et al. Deep neural networks for acoustic modeling in speech recognition: The shared views of four research groups. IEEE Signal Processing Magazine, 2012.
|
| 145 |
+
|
| 146 |
+
Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. International Conference on Learning Representations (ICLR15), 2015.
|
| 147 |
+
|
| 148 |
+
Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. Technical report, Citeseer, 2009.
|
| 149 |
+
|
| 150 |
+
Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In Conference on Neural Information Processing Systems (NeurIPS12), 2012.
|
| 151 |
+
|
| 152 |
+
Yann LeCun. The mnist database of handwritten digits. http://yann. lecun. com/exdb/mnist/, 1998.
|
| 153 |
+
|
| 154 |
+
Yann LeCun, Patrick Haffner, Leon Bottou, and Yoshua Bengio. Object recognition with gradient- ´ based learning. Shape, contour and grouping in computer vision, 1999.
|
| 155 |
+
|
| 156 |
+
Xin Li and Fuxin Li. Adversarial examples detection in deep networks with convolutional filter statistics. In International Conference on Computer Vision (ICCV17), 2017.
|
| 157 |
+
|
| 158 |
+
Jonathan Long, Evan Shelhamer, and Trevor Darrell. Fully convolutional networks for semantic segmentation. In Computer Vision and Patter Recognition Conference (CVPR15), 2015.
|
| 159 |
+
|
| 160 |
+
Ilya Loshchilov and Frank Hutter. Sgdr: Stochastic gradient descent with warm restarts. CoRR, 2017.
|
| 161 |
+
|
| 162 |
+
Jiajun Lu, Theerasit Issaranon, and David Forsyth. Safetynet: Detecting and rejecting adversarial examples robustly. In International Conference On Computer Vision (ICCV17), 2017.
|
| 163 |
+
|
| 164 |
+
Alireza Makhzani, Jonathon Shlens, Navdeep Jaitly, and Ian Goodfellow. Adversarial autoencoders. In ICLR, 2016.
|
| 165 |
+
|
| 166 |
+
Sebastien Marcel and Yann Rodriguez. Torchvision the machine-vision package of torch. In ´ Proceedings of the 18th ACM International Conference on Multimedia, 2010.
|
| 167 |
+
|
| 168 |
+
Seyed-Mohsen Moosavi-Dezfooli, Alhussein Fawzi, and Pascal Frossard. Deepfool: A simple and accurate method to fool deep neural networks. In Computer Vision and Patter Recognition Conference (CVPR16), 2016.
|
| 169 |
+
|
| 170 |
+
Seyed-Mohsen Moosavi-Dezfooli, Alhussein Fawzi, Omar Fawzi, and Pascal Frossard. Universal adversarial perturbations. In Computer Vision and Patter Recognition Conference (CVPR17), 2017.
|
| 171 |
+
|
| 172 |
+
Nicolas Papernot, Patrick McDaniel, Xi Wu, Somesh Jha, and Ananthram Swami. Distillation as a defense to adversarial perturbations against deep neural networks. In IEEE Symposium on Security and Privacy (SP16), 2016.
|
| 173 |
+
|
| 174 |
+
Adam Paszke, Sam Gross, Soumith Chintala, Gregory Chanan, Edward Yang, Zachary DeVito, Zeming Lin, Alban Desmaison, Luca Antiga, and Adam Lerer. Automatic differentiation in pytorch. In Conference on Neural Information Processing Systems Workshops (NeurIPSW17), 2017.
|
| 175 |
+
|
| 176 |
+
Jonas Rauber, Wieland Brendel, and Matthias Bethge. Foolbox v0.8.0: A python toolbox to benchmark the robustness of machine learning models. CoRR, 2017.
|
| 177 |
+
|
| 178 |
+
Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks. In International Conference on Learning Representations (ICLR14), 2014.
|
| 179 |
+
|
| 180 |
+
Dimitris Tsipras, Shibani Santurkar, Logan Engstrom, Alexander Turner, and Aleksander Madry. Robustness may be at odds with accuracy. stat, 2018.
|
| 181 |
+
|
| 182 |
+
Valentina Zantedeschi, Maria-Irina Nicolae, and Ambrish Rawat. Efficient defenses against adversarial attacks. In ACM Workshop on AI and Security, 2017.
|
| 183 |
+
|
| 184 |
+
Fengyuan Zhu, Guangyong Chen, and Pheng-Ann Heng. From noise modeling to blind image denoising. In Computer Vision and Patter Recognition Conference (CVPR16), 2016.
|
| 185 |
+
|
| 186 |
+
# A EXPERIMENTAL SETUP AND DETAILS.
|
| 187 |
+
|
| 188 |
+
All experiments, are conducted using PyTorch version 0.4.1 Paszke et al. (2017). All hyperparameters are fixed and Table 2 we report the setup for the two optimizers. In particular, we use the Adam optimizaer Kingma & Ba (2015) with $\beta _ { 1 } = 0 . 9 , \beta _ { 2 } = 0 . 9 9 9$ , $\epsilon = 1 0 ^ { \div 8 }$ with amsgrad set to False. The second optimizer is SGD Loshchilov & Hutter (2017) with momentum $\scriptstyle 1 = 0 . 9$ , dampening $= 0$ , with Nesterov acceleration. In each experiment, we randomly split the training dataset into $10 \%$ validation and $90 \%$ training and monitor the validation loss after each epoch. If validation loss did not improve for lr patience epochs, we reduce the learning rate by multiplying it by lr factor. We start with an initial learning rate of lr initial. The training is terminated only if the validation loss did not improve for loss patience number of epochs or if the training reached 100 epochs. We report the results of the model with the best validation loss.
|
| 189 |
+
|
| 190 |
+
Table 2: Lists the training optimization hyper-parameters.
|
| 191 |
+
|
| 192 |
+
<table><tr><td rowspan=1 colspan=6>Hyper-parameter</td><td rowspan=1 colspan=1>LeNet</td><td rowspan=1 colspan=1>AlexNet</td></tr><tr><td rowspan=7 colspan=6>optimizerminibatch_sizelr_initiallr_patiencelr_factorloss-patienceweight_decay</td><td rowspan=1 colspan=1>er</td><td rowspan=1 colspan=1>Adam</td></tr><tr><td rowspan=1 colspan=2>oatch_si2</td><td rowspan=1 colspan=1>e</td><td rowspan=1 colspan=1>1000</td><td rowspan=1 colspan=1>128</td></tr><tr><td rowspan=1 colspan=1>0.0001</td><td rowspan=1 colspan=1>0.1</td></tr><tr><td rowspan=1 colspan=1>3</td><td rowspan=1 colspan=1>5</td></tr><tr><td rowspan=1 colspan=1>0.9</td><td rowspan=1 colspan=1>0.5</td></tr><tr><td rowspan=1 colspan=1>10</td><td rowspan=1 colspan=1>20</td></tr><tr><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>0.0005</td></tr></table>
|
| 193 |
+
|
| 194 |
+
# B EXAMPLES ON NOISE LEVELS
|
| 195 |
+
|
| 196 |
+
Figure 4 provides examples of the different levels of noise on a given digit 8.
|
| 197 |
+
|
| 198 |
+

|
| 199 |
+
Figure 4: This Figure shows an example of the noise level over varying level of input $\sigma$ on the digit 8. In particular, one can observe that with $\sigma$ large than 0.7 the among of noise is severe even for the human level. Training on such extreme noise levels will deem data augmentation to be difficult.
|
| 200 |
+
|
| 201 |
+
# C A COMMENT ON THE ROBUSTNESS METRIC
|
| 202 |
+
|
| 203 |
+
We measure the robustness against Gaussian noise by averaging over a range of input noise levels, where at each level for each image, we consider it misclassified if the probability of it being misclassified is greater than a certain threshold. The final robustness is the average over multiple testing $\sigma _ { x }$ . This is special case of the more general case in Equation (4). We then report the area under the curve of the robustness with varying testing $\sigma _ { x }$ as shown in Figure 6. The area under this curve thus represents the overall robustness of a given model under several varying input noise standard deviation $\sigma _ { x }$ .
|
| 204 |
+
|
| 205 |
+
# D OTHER ROBUSTNESS METRICS
|
| 206 |
+
|
| 207 |
+
We report the robustness of several architectures over several datasets with and without our trained regularizer. We show that our proposed efficient regularizer not only improves the robustness against Gaussin noise attacks but againts several other types of attacks. Table 3 summarizes the types of attacks used for robustness evaluation.
|
| 208 |
+
|
| 209 |
+

|
| 210 |
+
Figure 5: The robustness is a function of the ratio of the orange area to the blue area in the white circle.
|
| 211 |
+
|
| 212 |
+

|
| 213 |
+
Figure 6: The robustness is thus measured as the area under the curve of testing accuracy versus input noise level (standard deviation).
|
| 214 |
+
|
| 215 |
+

|
| 216 |
+
Figure 7: Fair robustness comparison of AlexNet with data augmentation and our regularizer. The reported models trained with our regularizer on CIFAR10 and CIFAR100 on all training $\sigma _ { x }$ are within $1 . 6 8 \%$ and $4 . 8 3 \%$ of the baseline accuracy, respectively. The models trained with the proposed regularizer achieve better robustness than 11-fold and 6-fold noisy data augmentation on CIFAR10 and CIFAR100, respectively.
|
| 217 |
+
|
| 218 |
+
Table 3: The table lists all the attacks performed.
|
| 219 |
+
|
| 220 |
+
<table><tr><td>Attack Abbreviation</td><td>AttackName</td></tr><tr><td>PGD LBF</td><td>Projected Gradient Descent</td></tr><tr><td>GSM</td><td>LBFGS Attack FGSM</td></tr><tr><td>AGA</td><td>Additive Gaussian Noise Attack</td></tr><tr><td>AUA</td><td>AdditiveUniformNoiseAttack</td></tr><tr><td>DF2</td><td>DeepFool l2 Attack</td></tr></table>
|
| 221 |
+
|
| 222 |
+
<table><tr><td rowspan=1 colspan=1>ACC</td><td rowspan=1 colspan=1>09'86598609:2600'66</td><td rowspan=1 colspan=1>30.99122255</td><td rowspan=1 colspan=1>78.285850358398986860</td><td rowspan=1 colspan=1>730:2900'2930.5506'99</td><td rowspan=1 colspan=1>3530322533550</td></tr><tr><td rowspan=1 colspan=1>GNN</td><td rowspan=1 colspan=1>24225317599657326</td><td rowspan=1 colspan=1>2077800039.2031405</td><td rowspan=1 colspan=1>E87242706:00</td><td rowspan=1 colspan=1>353105098.29</td><td rowspan=1 colspan=1>696753368505820953</td></tr><tr><td rowspan=1 colspan=1>P</td><td rowspan=1 colspan=1>10-01X169 10-01X89710-01038720-01 X067</td><td rowspan=1 colspan=1>£0-013£0-0011X591 11×590×86[</td><td rowspan=1 colspan=1>×1333 ×81I15</td><td rowspan=1 colspan=1>8</td><td rowspan=1 colspan=1>0 10-0I X 81820-0131801 X917</td></tr><tr><td rowspan=1 colspan=1>AAA</td><td rowspan=1 colspan=1>20-01 X 65780%68333</td><td rowspan=1 colspan=1>10-0I X 66'910-0I X08°2 1</td><td rowspan=1 colspan=1>10-01 × 00'910-0I X 9694443</td><td rowspan=1 colspan=1>10-0I X86*210-01 X278</td><td rowspan=1 colspan=1>10-01 X39110-01X107</td></tr><tr><td rowspan=1 colspan=1>AAA</td><td rowspan=1 colspan=1>20-01 X 8975737</td><td rowspan=1 colspan=1>£0-01X29710-01 X82'910-0I X 26210-0I × ∠9'990'[</td><td rowspan=1 colspan=1>10-01 X 90'9I0-0IX80'9TO-OI×1</td><td rowspan=1 colspan=1>10-0I X892</td><td rowspan=1 colspan=1>20-013335 10-0I X 66T</td></tr><tr><td rowspan=1 colspan=1>SSS</td><td rowspan=1 colspan=1>20-012710-0I X 61'81215184</td><td rowspan=1 colspan=1>£0-0I X291 20-012755</td><td rowspan=1 colspan=1>25-21225035-213250XI67</td><td rowspan=1 colspan=1>0- 20-0IX58%2133508</td><td rowspan=1 colspan=1></td></tr><tr><td rowspan=1 colspan=1>ERT</td><td rowspan=1 colspan=1>10-011000 10-01X 11110-01X 111</td><td rowspan=1 colspan=1>90-013830 20-01100030--0[ × 99'[</td><td rowspan=1 colspan=1>£0-01 X 79.011-111150 £0-11 3 39:51</td><td rowspan=1 colspan=1>10-05[1 70</td><td rowspan=1 colspan=1>10- 50-013 950233 330</td></tr><tr><td rowspan=1 colspan=1>PPG</td><td rowspan=1 colspan=1>£0-01X70110-0I X89510-01X110-01X1</td><td rowspan=1 colspan=1>90-01X218 20-11270 20-113330</td><td rowspan=1 colspan=1>90-01X2£0-01 X 22720-010580£0-01 X 9555</td><td rowspan=1 colspan=1>10-111105</td><td rowspan=1 colspan=1>20-01X005 10-0132210-111 2304-11 1 76.5</td></tr><tr><td rowspan=1 colspan=1>b</td><td rowspan=1 colspan=1>10500000976001</td><td rowspan=1 colspan=1>10110000970001</td><td rowspan=1 colspan=1>0051297600</td><td rowspan=1 colspan=1>00509760</td><td rowspan=1 colspan=1>10000801</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>LSINNuoGNe</td><td rowspan=1 colspan=1>01TIITuo</td><td rowspan=1 colspan=1>00ICTIAITuoGNe</td><td rowspan=1 colspan=1>CIIIIIIuoJEere</td><td rowspan=1 colspan=1>001CTIAITuo</td></tr></table>
|
| 223 |
+
|
| 224 |
+
corresponds to baseline models trained without our regularizer. We observe that training networks with our proposed reg
|
parse/train/B1xDq2EFDH/B1xDq2EFDH_content_list.json
ADDED
|
@@ -0,0 +1,1236 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "ANALYTICAL MOMENT REGULARIZER FOR TRAINING ROBUST NETWORKS ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
98,
|
| 9 |
+
823,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous authors Paper under double-blind review ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 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 |
+
250
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Despite the impressive performance of deep neural networks (DNNs) on numerous learning tasks, they still exhibit uncouth behaviours. One puzzling behaviour is the subtle sensitive reaction of DNNs to various noise attacks. Such a nuisance has strengthened the line of research around developing and training noise-robust networks. In this work, we propose a new training regularizer that aims to minimize the probabilistic expected training loss of a DNN subject to a generic Gaussian input. We provide an efficient and simple approach to approximate such a regularizer for arbitrarily deep networks. This is done by leveraging the analytic expression of the output mean of a shallow neural network, avoiding the need for memory and computation expensive data augmentation. We conduct extensive experiments on LeNet and AlexNet on various datasets including MNIST, CIFAR10, and CIFAR100 to demonstrate the effectiveness of our proposed regularizer. In particular, we show that networks that are trained with the proposed regularizer benefit from a boost in robustness against Gaussian noise to an equivalent amount of performing 3-21 folds of noisy data augmentation. Moreover, we empirically show on several architectures and datasets that improving robustness against Gaussian noise, by using the new regularizer, can improve the overall robustness against 6 other types of attacks by two orders of magnitude. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
262,
|
| 43 |
+
764,
|
| 44 |
+
511
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
516,
|
| 55 |
+
336,
|
| 56 |
+
531
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Deep neural networks (DNNs) have emerged as generic models that can be trained to perform impressively well in a variety of learning tasks ranging from object recognition (He et al., 2016) and semantic segmentation (Long et al., 2015) to speech recognition (Hinton et al., 2012) and bioinformatics (Angermueller et al., 2016). Despite their increasing popularity, flexibility, generality, and performance, DNNs have been recently shown to be quite susceptible to small imperceptible input noise (Szegedy et al., 2014; Moosavi-Dezfooli et al., 2016; Goodfellow et al., 2015). Such analysis gives a clear indication that even state-of-the-art DNNs may lack robustness. Consequently, there has been an ever-growing interest in the machine learning community to study this uncanny behaviour. In particular, the work of (Goodfellow et al., 2015; Moosavi-Dezfooli et al., 2016) demonstrates that there are systematic approaches to constructing adversarial attacks that result in misclassification errors with high probability. Even more peculiarly, some noise perturbations seem to be doubly agnostic (Moosavi-Dezfooli et al., 2017), i.e. there exist deterministic perturbations that can result in misclassification errors with high probability when applied to different networks, irrespective of the input (denoted network and input agnostic). ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
545,
|
| 66 |
+
825,
|
| 67 |
+
738
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Understanding this degradation in performance under adversarial attacks is of tremendous importance, especially for real-world DNN deployment, e.g. self-driving cars/drones and equipment for the visually impaired. A standard and popular means to alleviate this nuisance is noisy data augmentation in training, i.e. a DNN is exposed to noisy input images during training so as to bolster its robustness during inference. Several works have demonstrated that DNNs can in fact benefit from such augmentation (Moosavi-Dezfooli et al., 2016; Goodfellow et al., 2015). However, data augmentation in general might not be sufficient for two reasons. (1) Particularly with high-dimensional input noise, the amount of data augmentation necessary to sufficiently capture the noise space will be very large, which will increase training time. (2) Data augmentation with high energy noise can negatively impact the performance on noise-free test examples. This can be explained by the fundamental trade-off between accuracy and robustness (Tsipras et al., 2018; Boopathy et al., 2019). It can also arise from the fact that augmentation forces the DNN to have the same prediction for two vastly different versions of the same input, noise-free and a substantially corrupted version. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
744,
|
| 77 |
+
825,
|
| 78 |
+
922
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Therefore, in this paper, we propose a new regularizer for noise-robust networks to circumvent the aforementioned setbacks of data augmentation. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
173,
|
| 87 |
+
103,
|
| 88 |
+
823,
|
| 89 |
+
131
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 1
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "A natural objective for training against attacks sampled from a distribution $\\mathcal { D }$ , that bypasses the need for data augmentation, is the expected loss under this distribution. Since a closed-form expression is generally difficult to obtain or an approximate surrogate is expensive to evaluate (Monte Carlo estimates), we propose instead a closely related objective that is the loss of the expected predictions of the network under $\\mathcal { D }$ -distributed adversarial noise. Since it has been shown that Gaussian noise can be adversarial (Bibi et al., 2018) and that such noise is widely studied in applications such as image processing, we restrict the focus in this paper to the case where $\\mathcal { D }$ is Gaussian. While this may seem to be too restrictive, we later show that improving the robustness of networks against Gaussian attacks also improves the robustness against a family of other types of attacks. However, even under such an assumption, only a memory and computationally expensive (expensive due to two-stage network linearization), closed-form approximate surrogate for network expected predictions exists (Bibi et al., 2018). ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
138,
|
| 99 |
+
825,
|
| 100 |
+
303
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 1
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "Contributions. (i) We formalize a new regularizer that is a function of the probabilistic first moment of the output of a DNN to train robust DNNs against noise sampled from distribution $\\mathcal { D }$ . (ii) Under the special choice of Gaussian attacks, i.e. $\\mathcal { D }$ is Gaussian, we show how the first moment expression can be evaluated very efficiently during training for an arbitrary deep DNN by bypassing the need to perform memory and computationally expensive two-stage linearization. (iii) Extensive experiments using LeNet (LeCun et al., 1999) and AlexNet (Krizhevsky et al., 2012) architectures on MNIST (LeCun, 1998), CIFAR10, and CIFAR100 (Krizhevsky & Hinton, 2009) datasets demonstrate that a substantial enhancement in robustness can be achieved when using our regularizer in training. In fact, in the majority of the experiments, the improvement is better than training on the same dataset, augmented with 3 to 21 times Gaussian noisy data. Interestingly, the results suggest an excellent trade-off between accuracy and robustness. Moreover, we show that networks that are trained to be robust against Gaussian attacks using our proposed regularizer enjoy orders of magnitude boost in robustness against a family of other types of attacks. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
306,
|
| 110 |
+
825,
|
| 111 |
+
486
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "2 RELATED WORK ",
|
| 118 |
+
"text_level": 1,
|
| 119 |
+
"bbox": [
|
| 120 |
+
176,
|
| 121 |
+
506,
|
| 122 |
+
343,
|
| 123 |
+
522
|
| 124 |
+
],
|
| 125 |
+
"page_idx": 1
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"type": "text",
|
| 129 |
+
"text": "Despite the impressive performance of DNNs on various tasks, they have been shown to be very sensitive to certain types of noise, commonly referred to as adversarial examples, particularly in the recognition task (Moosavi-Dezfooli et al., 2016; Goodfellow et al., 2015). Adversarial examples can be viewed as small imperceptible noise that, once added to the input of a DNN, its performance is severely degraded. This finding has incited interest in studying/measuring the robustness of DNNs. ",
|
| 130 |
+
"bbox": [
|
| 131 |
+
174,
|
| 132 |
+
537,
|
| 133 |
+
823,
|
| 134 |
+
607
|
| 135 |
+
],
|
| 136 |
+
"page_idx": 1
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"type": "text",
|
| 140 |
+
"text": "The literature is rich with work that aims to unify and understand the notion of network robustness. For instance, Szegedy et al. (2014) suggested a spectral stability analysis for a wide class of DNNs by measuring the Lipschitz constant of the affine transformation describing a fully-connected or a convolutional layer. This result was extended to compute an upper bound for a composition of layers, i.e. a DNN. However, this measure sets an upper bound on the robustness over the entire input domain and does not take into account the noise distribution. Later, Fawzi et al. (2017a) defined robustness as the mean support of the minimum adversarial perturbation, which is now the most common definition for robustness. Not only was robustness studied against adversarial perturbations but also against geometric transformations to the input. Fawzi et al. (2018) emphasized the independence of the robustness measure to the ground truth class labels and that it should only depend on the classifier and the dataset distribution. Subsequently, two different metrics to measure DNN robustness were proposed: one for general adversarial attacks and another for noise sampled from uniform distribution. Recently, Gilmer et al. (2018) showed the trade-off between robustness and test error from a theoretical point of view on a simple classification problem with hyperspheres. ",
|
| 141 |
+
"bbox": [
|
| 142 |
+
174,
|
| 143 |
+
614,
|
| 144 |
+
825,
|
| 145 |
+
806
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 1
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "text",
|
| 151 |
+
"text": "On the other hand, and based on various robustness analyses, several works proposed various approaches in building networks that are robust against noise sampled from well known distributions and against generic adversarial attacks. For instance, Grosse et al. (2017) proposed a model that was trained to classify adversarial examples with statistical hypothesis testing on the distribution of the dataset. Another approach is to perform statistical analysis on the latent feature space instead (Li & Li, 2017; Feinman et al., 2017), or train a DNN that rejects adversarial attacks (Lu et al., 2017). Moreover, the geometry of the decision boundaries of DNN classifiers was studied by Fawzi et al. (2017b) to infer a simple curvature test for this purpose. Using this method, one can restore the original label and classify the input correctly. Restoring the original input using defense mechanisms, which can only detect adversarial examples, can be done by denoising (ridding it from its adversarial nature) so long as the noise perturbation is well-known and modeled apriori (Zhu et al., 2016). A fresh approach to robustness was proposed by Zantedeschi et al. (2017), where they showed that using bounded ReLUs (if augmented with Gaussian noise) to limit the output range can improve robustness. A different work proposed to distill the learned knowledge from a deep model to retrain a similar model architecture as a means to improving robustness (Papernot et al., 2016). This training approach is one of many adversarial training strategies for robustness Makhzani et al. (2016). More closely to our work is (Cisse et al., 2017), where a new training regularizer was proposed for a large family of DNNs. The proposed regularizer softly enforces that the upper bound of the Lipshitz constant of the output of the network to be less than or equal to one. Moreover and very recently, the work of Bibi et al. (2018) has derived analytic expressions for the output mean and covariance of networks in the form of (Affine, ReLU, Affine) under a generic Gaussian input. This work also demonstrates how a (memory and computation expensive) two-stage linearization can be employed to locally approximate a deep network with a two layer one, thus enabling the application of the derived expressions on the approximated shallower network. ",
|
| 152 |
+
"bbox": [
|
| 153 |
+
174,
|
| 154 |
+
813,
|
| 155 |
+
823,
|
| 156 |
+
924
|
| 157 |
+
],
|
| 158 |
+
"page_idx": 1
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"type": "image",
|
| 162 |
+
"img_path": "images/6a8b44ab9cc4a92b240046d156abb707fc39b6013fdf553b6bae86b47048dd38.jpg",
|
| 163 |
+
"image_caption": [
|
| 164 |
+
"Figure 1: Overview of the proposed graph for training Gaussian robust networks. The yellow block corresponds to an arbitrary network $\\Phi ( . , \\theta )$ viewed as the composition of two subnetworks separated by a ReLU. The stream on the bottom computes the output mean $\\mu _ { 4 }$ of the network $\\Phi ( : , \\theta )$ assuming that (i) the noise input distribution is independent Gaussian with variances $\\sigma _ { x } ^ { 2 }$ , and (ii) $\\Omega ( . ~ : ~ \\theta _ { 2 } )$ is approximated by a linear function. This evaluation for the output mean is efficient as it only requires an extra forward pass (bottom stream), as opposed to other methods that employ computationally and memory intensive network linearizations or data augmentation. "
|
| 165 |
+
],
|
| 166 |
+
"image_footnote": [],
|
| 167 |
+
"bbox": [
|
| 168 |
+
184,
|
| 169 |
+
99,
|
| 170 |
+
800,
|
| 171 |
+
267
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 2
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "",
|
| 178 |
+
"bbox": [
|
| 179 |
+
174,
|
| 180 |
+
371,
|
| 181 |
+
825,
|
| 182 |
+
592
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 2
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "text",
|
| 188 |
+
"text": "Most prior work requires data augmentation, training new architectures that distill knowledge, or detect adversaries a priori, resulting in expensive training routines that may be ineffective in the presence of several input noise types. To this end, we address these limitations through our new regularizer that aims to fundamentally tackle Gaussian input noise without data augmentation and, as a consequence, improves overall robustness against other types of attacks. ",
|
| 189 |
+
"bbox": [
|
| 190 |
+
174,
|
| 191 |
+
598,
|
| 192 |
+
825,
|
| 193 |
+
667
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 2
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "text",
|
| 199 |
+
"text": "3 METHODOLOGY ",
|
| 200 |
+
"text_level": 1,
|
| 201 |
+
"bbox": [
|
| 202 |
+
176,
|
| 203 |
+
689,
|
| 204 |
+
341,
|
| 205 |
+
705
|
| 206 |
+
],
|
| 207 |
+
"page_idx": 2
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"type": "text",
|
| 211 |
+
"text": "Background on Network Moments. Networks with a single hidden layer of the form (Affine, ReLU, Affine) can be written in the functional form $\\mathbf { g } ( \\mathbf { x } ) = \\bar { \\mathbf { B } } \\mathrm { m a x } \\left( \\mathbf { A } \\mathbf { x } + \\mathbf { \\bar { c } } _ { 1 } , \\mathbf { 0 } _ { p } \\right) + \\mathbf { c } _ { 2 }$ . The max(.) is an element-wise operator, $\\textbf { A } \\in \\mathbb { R } ^ { p \\times n }$ , and $\\textbf { B } \\in \\mathbb { R } ^ { d \\times p }$ . Thus, $\\mathbf { g } : \\mathbb { R } ^ { n } \\mathbb { R } ^ { d }$ . Given that $\\mathbf { x } \\sim \\mathcal { N } \\left( \\mu _ { x } , \\Sigma _ { x } \\right)$ , Bibi et al. (2018) showed that: ",
|
| 212 |
+
"bbox": [
|
| 213 |
+
173,
|
| 214 |
+
722,
|
| 215 |
+
825,
|
| 216 |
+
780
|
| 217 |
+
],
|
| 218 |
+
"page_idx": 2
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"type": "equation",
|
| 222 |
+
"img_path": "images/09a201e92599746e0952633750c2dadd793b0e340db0db58ff014b5a0921f087.jpg",
|
| 223 |
+
"text": "$$\n\\begin{array} { r } { \\mathbf { T h e o r e m 1 textit { T h e f i r s t m o m e n t } } o f g ( \\mathbf { x } ) \\ i s \\mathbb { E } [ \\mathbf { g } ( \\mathbf { x } ) ] = \\mathbf { B } \\left( \\mu _ { 2 } \\odot \\Phi \\left( \\frac { \\mu _ { 2 } } { \\sigma _ { 2 } } \\right) + \\sigma _ { 2 } \\odot \\varphi \\left( \\frac { \\mu _ { 2 } } { \\sigma _ { 2 } } \\right) \\right) + \\mathbf { c } _ { 2 } . } \\end{array}\n$$",
|
| 224 |
+
"text_format": "latex",
|
| 225 |
+
"bbox": [
|
| 226 |
+
176,
|
| 227 |
+
790,
|
| 228 |
+
784,
|
| 229 |
+
818
|
| 230 |
+
],
|
| 231 |
+
"page_idx": 2
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"type": "text",
|
| 235 |
+
"text": "Note that $\\mu _ { 2 } = \\mathbf { A } \\mu _ { x } + \\mathbf { c } _ { 1 }$ , $\\sigma _ { 2 } = \\sqrt { \\mathrm { d i a g } \\left( \\Sigma _ { 2 } \\right) } .$ , $\\Sigma _ { 2 } = \\mathbf { A } \\Sigma _ { x } \\mathbf { A } ^ { \\top }$ , $\\Phi$ and $\\varphi$ are the standard Gaussian cumulative (CDF) and density (PDF) functions, respectively. The vector multiplication and division are element-wise operations. Lastly, $\\mathrm { d i a g ( . ) }$ extracts the diagonal elements of a matrix into a vector. For ease of notation, we let $\\begin{array} { r } { \\mu _ { 3 } = \\dot { T } ( \\mu _ { 2 } , \\dot { \\sigma } _ { 2 } ) = ( \\mu _ { 2 } \\odot \\Phi ( \\frac { \\mu _ { 2 } } { \\sigma _ { 2 } } \\bar { ) } + \\sigma _ { 2 } \\odot \\varphi ( \\frac { \\mu _ { 2 } } { \\sigma _ { 2 } } ) ) } \\end{array}$ . ",
|
| 236 |
+
"bbox": [
|
| 237 |
+
174,
|
| 238 |
+
829,
|
| 239 |
+
825,
|
| 240 |
+
890
|
| 241 |
+
],
|
| 242 |
+
"page_idx": 2
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"type": "text",
|
| 246 |
+
"text": "To extend the results of Theorem (1) to deeper models, a two-stage linearization was proposed in Bibi et al. (2018), where $( \\mathbf { A } , \\mathbf { B } )$ and $( \\mathbf { c } _ { 1 } , \\mathbf { c } _ { 2 } )$ are taken to be the Jacobians and biases of the first order Taylor approximation to the two network functions around a ReLU layer in a DNN. Refer to Bibi et al. (2018) for more details about this expression and the proposed linearization. ",
|
| 247 |
+
"bbox": [
|
| 248 |
+
173,
|
| 249 |
+
895,
|
| 250 |
+
825,
|
| 251 |
+
924
|
| 252 |
+
],
|
| 253 |
+
"page_idx": 2
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"type": "text",
|
| 257 |
+
"text": "",
|
| 258 |
+
"bbox": [
|
| 259 |
+
171,
|
| 260 |
+
103,
|
| 261 |
+
823,
|
| 262 |
+
132
|
| 263 |
+
],
|
| 264 |
+
"page_idx": 3
|
| 265 |
+
},
|
| 266 |
+
{
|
| 267 |
+
"type": "text",
|
| 268 |
+
"text": "Proposed Robust Training Regularizer. To propose an alternative to noisy data augmentation to address its drawbacks, one has to realize that this augmentation strategy aims to minimize the expected training loss of a DNN when subjected to noisy input distribution $\\mathcal { D }$ through sampling. In fact, it minimizes an empirical loss that approximates this expected loss when enough samples are present during training. When sampling is insufficient (a drawback of data augmentation in highdimensions), this approximation is too loose and robustness can suffer. However, if we have access to an analytic expression for the expected loss, expensive data augmentation can be averted. This is the key motivation of the paper. Mathematically, the training loss can be modeled as ",
|
| 269 |
+
"bbox": [
|
| 270 |
+
173,
|
| 271 |
+
137,
|
| 272 |
+
825,
|
| 273 |
+
250
|
| 274 |
+
],
|
| 275 |
+
"page_idx": 3
|
| 276 |
+
},
|
| 277 |
+
{
|
| 278 |
+
"type": "equation",
|
| 279 |
+
"img_path": "images/4b3a509061f9efcc925789f927ee392596453534e873ba9eed3c330a71b2303c.jpg",
|
| 280 |
+
"text": "$$\n\\operatorname* { m i n } _ { \\theta } \\ \\sum _ { i = 1 } ^ { N } \\Big ( \\ell \\left( \\Phi ( \\mathbf { x } _ { i } ; \\theta ) , y _ { i } \\right) + \\alpha \\mathbb { E } _ { \\mathbf { n } \\sim \\mathcal { D } } \\left[ \\ell \\left( \\Phi ( \\mathbf { x } _ { i } + \\mathbf { n } ; \\theta ) , y _ { i } \\right) \\right] \\Big ) .\n$$",
|
| 281 |
+
"text_format": "latex",
|
| 282 |
+
"bbox": [
|
| 283 |
+
295,
|
| 284 |
+
252,
|
| 285 |
+
704,
|
| 286 |
+
296
|
| 287 |
+
],
|
| 288 |
+
"page_idx": 3
|
| 289 |
+
},
|
| 290 |
+
{
|
| 291 |
+
"type": "text",
|
| 292 |
+
"text": "Here, $\\Phi : \\mathbb { R } ^ { n } \\mathbb { R } ^ { d }$ is any arbitrary network with parameters $\\theta , \\ell$ is the loss function, $\\{ ( \\mathbf { x } _ { i } , y _ { i } ) \\} _ { i = 1 } ^ { N }$ are the noise-free data-label training pairs, and $\\alpha \\geq 0$ is a trade off parameter. While the first term in Equation 1 is the standard empirical loss commonly used for training, the second term is often replaced with its Monte Carlo estimate through data augmentation. That is, for each training example $\\mathbf { x } _ { i }$ , the second term is approximated with an empirical average of $\\tilde { N }$ noisy examples of $\\mathbf { x } _ { i }$ such that $\\begin{array} { r } { \\mathbb { E } _ { \\mathbf { n } \\sim \\mathcal { D } } [ \\ell \\left( \\boldsymbol { \\Phi } ( \\mathbf { x } _ { i } + \\mathbf { n } ; \\boldsymbol { \\theta } ) , y _ { i } \\right) ] \\approx \\frac { 1 } { \\tilde { N } } \\sum _ { j = 1 } ^ { \\tilde { N } } \\ell \\left( \\boldsymbol { \\Phi } ( \\mathbf { x } _ { i } + \\mathbf { n } _ { j } ; \\boldsymbol { \\theta } ) , y _ { i } \\right) . } \\end{array}$ . This will increase the size of the dataset by a factor of $\\tilde { N }$ , which will in turn increase training complexity. As discussed earlier, network performance on the noise-free examples can also be negatively impacted. Note that obtaining a closed form expression for the second term in Equation 1 for some of the popularly used losses $\\ell$ is more complicated than deriving expressions for the output mean of the network $\\Phi$ itself, e.g. in Theorem (1). Therefore, we propose to replace this loss with the following surrogate ",
|
| 293 |
+
"bbox": [
|
| 294 |
+
173,
|
| 295 |
+
301,
|
| 296 |
+
825,
|
| 297 |
+
465
|
| 298 |
+
],
|
| 299 |
+
"page_idx": 3
|
| 300 |
+
},
|
| 301 |
+
{
|
| 302 |
+
"type": "equation",
|
| 303 |
+
"img_path": "images/a62caeb17c6aa5e10a0043fbeaec78b7fe72a1811f04ee4566c303a562fb4287.jpg",
|
| 304 |
+
"text": "$$\n\\operatorname* { m i n } _ { \\theta } \\ \\sum _ { i = 1 } ^ { N } \\Big ( \\ell \\left( \\Phi ( \\mathbf { x } _ { i } ; \\theta ) , y _ { i } \\right) + \\alpha \\ell \\left( \\mathbb { E } _ { \\mathbf { n } \\sim \\mathcal { D } } \\left[ \\Phi ( \\mathbf { x } _ { i } + \\mathbf { n } ; \\theta ) \\right] , y _ { i } \\right) . \\Big )\n$$",
|
| 305 |
+
"text_format": "latex",
|
| 306 |
+
"bbox": [
|
| 307 |
+
292,
|
| 308 |
+
473,
|
| 309 |
+
702,
|
| 310 |
+
517
|
| 311 |
+
],
|
| 312 |
+
"page_idx": 3
|
| 313 |
+
},
|
| 314 |
+
{
|
| 315 |
+
"type": "text",
|
| 316 |
+
"text": "Because of Jensen’s inequality, Equation 2 is a lower bound to Eq Equation 1 when $\\ell$ is convex, which is the case for most popular losses including $\\ell _ { 2 }$ -loss and cross-entropy loss. The proposed second term in Equation 2 encourages that the output mean of the network $\\Phi$ of every noisy example $( \\mathbf { x } _ { i } + \\mathbf { n } )$ matches the correct class label $y _ { i }$ . This regularizer will stimulate a separation among the output mean of the classes if the training data is subjected to noise sampled from $\\mathcal { D }$ . Having access to an analytic expression for these means will prompt a simple inexpensive training, where the actual size of the training set is unaffected and augmentation is avoided. This form of regularization is proposed to replace data augmentation. ",
|
| 317 |
+
"bbox": [
|
| 318 |
+
173,
|
| 319 |
+
523,
|
| 320 |
+
825,
|
| 321 |
+
635
|
| 322 |
+
],
|
| 323 |
+
"page_idx": 3
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"type": "text",
|
| 327 |
+
"text": "While a closed-form expression for the second term of Equation 2 might be infeasible for a general network $\\Phi ( . )$ , an expensive approximation can be attained. In particular, Theorem Equation 1 provides an analytic expression to evaluate the second term in Equation 2, for when $\\mathcal { D }$ is Gaussian and when the network is approximated by a two-stage linearization procedure as $\\Phi ( \\mathbf { x } ) \\approx \\mathbf { B } \\mathrm { m a x } \\left( \\mathbf { A } \\mathbf { x } + \\mathbf { c } _ { 1 } , \\mathbf { 0 } _ { p } \\right) + \\mathbf { c } _ { 2 }$ . However, it is not clear how to utilize such a result to regularize networks during training with Equation 2 as a loss. This is primarily due to the computationally expensive and memory intensive network linearization proposed in Bibi et al. (2018). Specifically, the linearization parameters $\\left( \\mathbf { A } , \\mathbf { B } , \\mathbf { c } _ { 1 } , \\mathbf { c } _ { 2 } \\right)$ are a function of the network parameters, $\\theta$ , which are updated with every gradient descent step on Equation 2; thus, two-stage linearization has to be performed in every $\\theta$ update step, which is infeasible. ",
|
| 328 |
+
"bbox": [
|
| 329 |
+
173,
|
| 330 |
+
640,
|
| 331 |
+
825,
|
| 332 |
+
780
|
| 333 |
+
],
|
| 334 |
+
"page_idx": 3
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"type": "text",
|
| 338 |
+
"text": "On an Efficient Approximation to Equation 2. The loss in Equation 2 proposes a generic approach to train robust arbitrary networks against noise sampled from an arbitrary distribution $\\mathcal { D }$ . Since the problem in its general setting is too broad for detailed analysis, we restrict the scope of this work to the class of networks, which are most popularly used and parameterized by $\\theta$ , $\\bar { \\Phi ( . ; \\theta ) } : \\mathbb { R } ^ { n } \\to \\mathbb { R } ^ { d }$ with ReLUs as nonlinear activations. Moreover, since random Gaussian noise was shown to exhibit an adversarial nature Bibi et al. (2018); Rauber et al. (2017); Franceschi et al. (2018), and it is one of the most well studied noise models for the useful properties it exhibits, we restrict $\\mathcal { D }$ to the case of Gaussian noise. In particular, $\\mathcal { D }$ is independent zero-mean Gaussian noise at the input, i.e. $\\mathbf { n } \\sim \\mathcal { D } = \\mathcal { N } \\left( \\mathbf { 0 } , \\Sigma _ { x } = \\mathrm { D i a g } \\left( \\sigma _ { x } ^ { 2 } \\right) \\right)$ , where $\\sigma _ { x } ^ { 2 } \\in \\mathbb { R } ^ { n }$ is a vector of variances and $\\mathrm { D i a g ( . ) }$ reshapes the vector elements into a diagonal matrix. Generally, it is still difficult to compute the second term in Equation 2 under Gaussian noise for arbitrary networks. However, if we have access to an inexpensive approximation of the network, avoiding the computationally and memory expensive network linearization in Bibi et al. (2018), an approximation to the second term in Equation 2 can be used for efficient robust training directly on $\\theta$ . ",
|
| 339 |
+
"bbox": [
|
| 340 |
+
173,
|
| 341 |
+
785,
|
| 342 |
+
825,
|
| 343 |
+
924
|
| 344 |
+
],
|
| 345 |
+
"page_idx": 3
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"type": "text",
|
| 349 |
+
"text": "",
|
| 350 |
+
"bbox": [
|
| 351 |
+
174,
|
| 352 |
+
103,
|
| 353 |
+
823,
|
| 354 |
+
159
|
| 355 |
+
],
|
| 356 |
+
"page_idx": 4
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"type": "text",
|
| 360 |
+
"text": "Consider the $l ^ { \\mathrm { t h } }$ ReLU layer in $\\Phi ( . ; \\theta )$ . the network can be expressed as $\\begin{array} { r l } { \\Phi ( . ; \\theta ) } & { { } = } \\end{array}$ $\\Omega ( \\mathrm { R e L U } _ { l } ( \\Upsilon ( . , \\theta _ { 1 } ) ) ; \\theta _ { 2 } )$ . Note that the parameters of the overall network $\\Phi ( . ; \\theta )$ is the union of the parameters of the two subnetworks $\\Upsilon ( . ; \\theta _ { 1 } )$ and $\\Omega ( . ; \\theta _ { 2 } )$ , i.e. $\\theta = \\theta _ { 1 } \\cup \\theta _ { 2 }$ . Throughout this work and to simplify the analysis, we set $l = 1$ . With such a choice of $l$ , the first subnetwork $\\Upsilon ( . , \\theta _ { 1 } )$ is affine with $\\bar { \\theta _ { 1 } } = \\{ \\mathbf { A } , \\mathbf { c } _ { 1 } \\}$ . However, the second subnetwork $\\Omega ( . , \\theta _ { 2 } )$ is not linear in general, and thus, one can linearize $\\Omega ( . , \\theta _ { 2 } )$ at $\\mathbb { E } _ { \\mathbf { n } \\sim \\mathcal { N } ( \\mathbf { 0 } , \\Sigma _ { x } ) } \\left[ \\mathrm { R e L U } _ { 1 } \\left( \\Upsilon \\left( \\mathbf { x } _ { i } + \\mathbf { n } ; \\theta _ { 1 } \\right) \\right) \\right] = T ( \\mu _ { 2 } , \\sigma _ { 2 } ) = \\mu _ { 3 }$ . Note that $\\mu _ { 3 }$ is the output mean after the ReLU and $\\mu _ { 2 } = \\mathbf { A } \\mathbf { x } _ { i } + \\mathbf { c } _ { 1 }$ , since $\\Upsilon ( \\mathbf { x } _ { i } + \\mathbf { n } ; \\theta _ { 1 } ) = \\mathbf { A } \\left( \\mathbf { x } _ { i } + \\mathbf { n } \\right) + \\mathbf { c } _ { 1 }$ . Both $T ( . , . )$ and $\\sigma _ { 2 }$ are defined in Equation 1. Thus, linearizing $\\Omega$ at $\\mu _ { 3 }$ with linearization parameters $\\mathbf { ( B , c _ { 2 } ) }$ being the Jacobian of $\\Omega$ and ${ \\bf c } _ { 2 } = \\Omega ( \\mu _ { 3 } , \\theta _ { 2 } ) - { \\bf B } \\mu _ { 3 }$ , we have that, for any point $\\mathbf { v } _ { i }$ close to $\\mu _ { 3 }$ : $\\Omega ( \\mathbf { v } _ { i } , \\mathbf { \\bar { \\theta } } _ { 2 } ) \\approx \\mathbf { B } \\mathbf { v } _ { i } + \\mathbf { c } _ { 2 }$ . While computing $\\mathbf { ( B , c _ { 2 } ) }$ through linearization is generally very expensive, computing the approximation to Equation 2 requires explicit access to neither $\\mathbf { B }$ nor $\\mathbf { c } _ { 2 }$ . Note that this second term for $l = 1$ is given as: ",
|
| 361 |
+
"bbox": [
|
| 362 |
+
173,
|
| 363 |
+
165,
|
| 364 |
+
825,
|
| 365 |
+
333
|
| 366 |
+
],
|
| 367 |
+
"page_idx": 4
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"type": "equation",
|
| 371 |
+
"img_path": "images/29f30406b332701fea293cfe0c9330dc03f833e3abbaa021e13e14ae1ee86b19.jpg",
|
| 372 |
+
"text": "$$\n\\begin{array} { r l } & { \\quad \\ell \\left( \\mathbb { E } _ { \\mathbf { n } \\sim \\mathcal { N } ( \\mathbf { 0 } , \\Sigma _ { x } ) } [ \\Phi ( \\mathbf { x } _ { i } + \\mathbf { n } ; \\boldsymbol { \\theta } ) ] , y _ { i } \\right) = \\ell \\left( \\mathbb { E } _ { \\mathbf { z } _ { i } \\sim \\mathcal { N } ( \\mathbf { x } _ { i } , \\Sigma _ { x } ) } [ \\Omega \\left( \\mathrm { R e L U } _ { 1 } \\left( \\Upsilon ( \\mathbf { z } _ { i } ; \\boldsymbol { \\theta } _ { 1 } ) \\right) ; \\boldsymbol { \\theta } _ { 2 } \\right) ] , y _ { i } \\right) } \\\\ & { = \\ell \\left( \\mathbb { E } _ { \\mathbf { z } _ { i } \\sim \\mathcal { N } ( \\mathbf { x } _ { i } , \\Sigma _ { x } ) } [ \\Omega \\left( \\mathrm { R e L U } _ { 1 } \\left( \\mathbf { A } \\mathbf { z } _ { i } + \\mathbf { c } _ { 1 } \\right) ; \\boldsymbol { \\theta } _ { 2 } \\right) ] , y _ { i } \\right) } \\\\ & { \\approx \\ell \\left( \\mathbb { E } _ { \\mathbf { z } _ { i } \\sim \\mathcal { N } ( \\mathbf { x } _ { i } , \\Sigma _ { x } ) } [ \\mathbf { B } \\left( \\mathrm { R e L U } _ { 1 } \\left( \\mathbf { A } \\mathbf { z } _ { i } + \\mathbf { c } _ { 1 } \\right) \\right) + \\mathbf { c } _ { 2 } ] , y _ { i } \\right) } \\\\ & { = \\ell \\left( \\mathbf { B } \\mu _ { 3 } + \\mathbf { c } _ { 2 } , y _ { i } \\right) = \\ell \\left( \\Omega ( \\mu _ { 3 } , \\boldsymbol { \\theta } _ { 2 } ) , y _ { i } \\right) . } \\end{array}\n$$",
|
| 373 |
+
"text_format": "latex",
|
| 374 |
+
"bbox": [
|
| 375 |
+
194,
|
| 376 |
+
356,
|
| 377 |
+
782,
|
| 378 |
+
438
|
| 379 |
+
],
|
| 380 |
+
"page_idx": 4
|
| 381 |
+
},
|
| 382 |
+
{
|
| 383 |
+
"type": "text",
|
| 384 |
+
"text": "The approximation follows from the assumption that the input to the second subnetwork $\\Omega ( . ; \\theta _ { 2 } )$ , i.e. $\\mathbf { v } _ { i } = \\mathrm { R e L U } _ { 1 } \\left( \\mathbf { A } \\mathbf { z } _ { i } + \\mathbf { c } _ { 1 } \\right) )$ , is close to the point of linearization $\\mu _ { 3 }$ such that $\\Omega ( \\mathbf { v } _ { i } ; \\theta _ { 2 } ) \\approx \\mathbf { B } \\mathbf { v } _ { i } + \\mathbf { c } _ { 2 }$ . Or simply, that the input to $\\Omega$ is close to the mean inputs, i.e. $\\mu _ { 3 }$ , to $\\Omega$ under Gaussian noise. The penultimate equality follows from the linearity of the expectation. As for the last equality, $\\mathbf { ( B , c _ { 2 } ) }$ are the linearization parameters of $\\Omega$ at $\\mu _ { 3 }$ , where $\\mathbf { c } _ { 2 } = \\mathbf { \\bar { \\Omega } } ( \\mu _ { 3 } , \\theta _ { 2 } ) - \\mathbf { B } \\mu _ { 3 }$ by the first order Taylor approximation. Thus, computing the second term of Equation 2 according to Equation 3 can be simply approximated by a forward pass of $\\mu _ { 3 }$ through the second network $\\Omega$ . As for computing $\\mu _ { 3 } = T ( \\mu _ { 2 } , \\sigma _ { 2 } )$ , note that $\\mu _ { 2 } = \\mathbf { A } \\mathbf { x } _ { i } + \\mathbf { c } _ { 1 }$ in Equation 3, which is equivalent to a forward pass of $\\mathbf { x } _ { i }$ through the first subnetwork because $\\Upsilon ( . , \\theta _ { 1 } )$ is linear with $\\theta _ { 1 } = \\{ \\bar { \\bf A } , { \\bf c } _ { 1 } \\}$ . Moreover, since $\\sigma _ { 2 } =$ $\\sqrt { \\mathrm { d i a g } \\left( \\mathbf { A } \\Sigma _ { x } \\mathbf { A } ^ { \\top } \\right) }$ , we have: $\\sigma _ { 2 } = \\sqrt { \\operatorname { d i a g } \\left( \\mathbf { A D i a g } \\left( \\sigma _ { x } ^ { 2 } \\right) \\mathbf { A } ^ { \\top } \\right) } = \\sqrt { \\left( \\mathbf { A } \\odot \\mathbf { A } \\right) \\sigma _ { x } ^ { 2 } }$ . The expression for $\\sigma _ { 2 }$ can be efficiently computed by simply squaring the linear parameters in the first subnetwork and performing a forward pass of the input noise variance $\\sigma _ { x } ^ { 2 }$ through $\\Upsilon$ without the bias $\\mathbf { c } _ { 1 }$ and taking the element-wise square root. Lastly, it is straightforward to compute $T ( \\mu _ { 2 } , \\sigma _ { 2 } )$ as it is an elementwise function in Equation 1. The overall computational graph in Figure 1 shows a summary of the computation needed to evaluate the loss in Equation 2 using only forward passes through the two subnetworks $\\Upsilon$ and $\\Omega$ . It is now possible with the proposed efficient approximation of our proposed regularizer in Equation 2 to efficiently train networks on noisy training examples that are corrupted with noise $\\bar { \\mathcal { N } } ( \\mathbf { 0 } , \\bar { \\Sigma } _ { x } )$ without any form of prohibitive data augmentation. ",
|
| 385 |
+
"bbox": [
|
| 386 |
+
173,
|
| 387 |
+
449,
|
| 388 |
+
825,
|
| 389 |
+
700
|
| 390 |
+
],
|
| 391 |
+
"page_idx": 4
|
| 392 |
+
},
|
| 393 |
+
{
|
| 394 |
+
"type": "text",
|
| 395 |
+
"text": "4 EXPERIMENTS ",
|
| 396 |
+
"text_level": 1,
|
| 397 |
+
"bbox": [
|
| 398 |
+
176,
|
| 399 |
+
719,
|
| 400 |
+
326,
|
| 401 |
+
736
|
| 402 |
+
],
|
| 403 |
+
"page_idx": 4
|
| 404 |
+
},
|
| 405 |
+
{
|
| 406 |
+
"type": "text",
|
| 407 |
+
"text": "In this section, we conduct experiments on multiple network architectures and datasets to demonstrate the effectiveness of our proposed regularizer in training more robust networks, especially in comparison with data augmentation. To standardize robustness evaluation, we first propose a new unified robustness metric against additive noise from a general distribution $\\mathcal { D }$ and later specialize it when $\\mathcal { D }$ is Gaussian. Lastly, we show that networks trained with our proposed regularizer not only outperform in robustness networks trained with Gaussian augmented data. Moreover, we show that such networks are also much more magnitudes times robust against other types of attacks. ",
|
| 408 |
+
"bbox": [
|
| 409 |
+
173,
|
| 410 |
+
751,
|
| 411 |
+
825,
|
| 412 |
+
848
|
| 413 |
+
],
|
| 414 |
+
"page_idx": 4
|
| 415 |
+
},
|
| 416 |
+
{
|
| 417 |
+
"type": "text",
|
| 418 |
+
"text": "On the Robustness Evaluation Metric. While there is a consensus on the definition of robustness in the presence of adversarial attacks, as the smallest perturbation required to fool a network, i.e. to change its prediction, it is not straightforward to extend such a definition to additive noise sampled from a distribution $\\mathcal { D }$ . In particular, the work of Fawzi et al. (2018) tried to address this difficulty by defining the robustness of a classifier around an example x as the distance between x and the closest decision boundary. However, this definition is difficult to compute in practice and is not scalable, as it requires solving a generally nonconvex optimization problem for every testing example $\\mathbf { x }$ that may also suffer from poor local minima. To remedy these drawbacks, we present a new robustness metric for generic additive noise. ",
|
| 419 |
+
"bbox": [
|
| 420 |
+
174,
|
| 421 |
+
854,
|
| 422 |
+
823,
|
| 423 |
+
924
|
| 424 |
+
],
|
| 425 |
+
"page_idx": 4
|
| 426 |
+
},
|
| 427 |
+
{
|
| 428 |
+
"type": "image",
|
| 429 |
+
"img_path": "images/2cc0197243b5314f0fe6e89710f7ffb62bf3291b6450067c26ee18b299fbaba5.jpg",
|
| 430 |
+
"image_caption": [
|
| 431 |
+
"Figure 2: General trade-off between accuracy and robustness on LeNet. We see, in all plots, that the accuracy tends to be negatively correlated with robustness over varying noise levels and amount of augmentation. Baseline refers to training with neither data augmentation nor our regularizer. However, it is hard to compare the performance of our method against data augmentation from these plots as we can only compare the robustness of models with similar noise-free testing accuracy. "
|
| 432 |
+
],
|
| 433 |
+
"image_footnote": [],
|
| 434 |
+
"bbox": [
|
| 435 |
+
174,
|
| 436 |
+
99,
|
| 437 |
+
821,
|
| 438 |
+
333
|
| 439 |
+
],
|
| 440 |
+
"page_idx": 5
|
| 441 |
+
},
|
| 442 |
+
{
|
| 443 |
+
"type": "text",
|
| 444 |
+
"text": "",
|
| 445 |
+
"bbox": [
|
| 446 |
+
174,
|
| 447 |
+
406,
|
| 448 |
+
825,
|
| 449 |
+
462
|
| 450 |
+
],
|
| 451 |
+
"page_idx": 5
|
| 452 |
+
},
|
| 453 |
+
{
|
| 454 |
+
"type": "text",
|
| 455 |
+
"text": "Robustness Against Additive Noise. Consider a classifier $\\Psi ( . )$ with $\\psi ( \\mathbf { x } ) = \\arg \\operatorname* { m a x } _ { i } \\Psi _ { i } ( \\mathbf { x } )$ as the predicted class label for the example $\\mathbf { x }$ regardless of the correct class label $y _ { i }$ . We define the robustness on a sample $\\mathbf { x }$ against a generic additive noise sampled from a distribution $\\mathcal { D }$ as ",
|
| 456 |
+
"bbox": [
|
| 457 |
+
174,
|
| 458 |
+
468,
|
| 459 |
+
825,
|
| 460 |
+
511
|
| 461 |
+
],
|
| 462 |
+
"page_idx": 5
|
| 463 |
+
},
|
| 464 |
+
{
|
| 465 |
+
"type": "equation",
|
| 466 |
+
"img_path": "images/b6876bc397ab38e58f3e328ba5bc6f7602643710a2f5eb53a843ea702d577e4b.jpg",
|
| 467 |
+
"text": "$$\n\\Re _ { \\mathcal { D } } ( \\mathbf { x } ) = \\mathbb { P } _ { \\mathbf { n } \\sim \\mathcal { D } } \\{ \\psi ( \\mathbf { x } + \\mathbf { n } ) = \\psi ( \\mathbf { x } ) \\} .\n$$",
|
| 468 |
+
"text_format": "latex",
|
| 469 |
+
"bbox": [
|
| 470 |
+
372,
|
| 471 |
+
513,
|
| 472 |
+
624,
|
| 473 |
+
531
|
| 474 |
+
],
|
| 475 |
+
"page_idx": 5
|
| 476 |
+
},
|
| 477 |
+
{
|
| 478 |
+
"type": "text",
|
| 479 |
+
"text": "Here, the proposed robustness metric $\\Re _ { \\mathcal { D } } ( \\mathbf { x } )$ measures the probability of the classifier to preserve the original prediction of the noise-free example $\\psi ( \\mathbf { x } )$ after adding noise, $\\psi ( \\mathbf { x } + \\mathbf { n } )$ , from distribution $\\mathcal { D }$ . Therefore, the robustness over a testing dataset $\\tau$ can be defined as the expected robustness over the test dataset: $\\Re _ { \\mathcal { D } } ( \\mathcal { T } ) = \\mathbb { E } _ { \\mathbf { x } \\sim \\mathcal { T } } \\left[ \\Re _ { \\mathcal { D } } ( \\mathbf { x } ) \\right]$ . Inspired by Franceschi et al. (2018), for ease, we relax Equation 4 from the probability of preserving the prediction score to a 0/1 robustness over $m$ - randomly sampled examples from $\\mathcal { D }$ . That is, $\\Re _ { \\mathcal { D } } ( { \\bf x } ) = 1$ means that, among $m$ randomly sampled noise from $\\mathcal { D }$ added to $\\mathbf { x }$ , none changed the prediction from $\\psi ( \\mathbf { x } )$ . However, if a single example of these $m$ samples changed the prediction from $\\psi ( \\mathbf { x } )$ , we set $\\Re _ { \\mathcal { D } } ( { \\bf x } ) = 0$ . Thus, the robustness score is the average of this measure over the testing dataset $\\tau$ . ",
|
| 480 |
+
"bbox": [
|
| 481 |
+
173,
|
| 482 |
+
534,
|
| 483 |
+
825,
|
| 484 |
+
659
|
| 485 |
+
],
|
| 486 |
+
"page_idx": 5
|
| 487 |
+
},
|
| 488 |
+
{
|
| 489 |
+
"type": "text",
|
| 490 |
+
"text": "Robustness Against Gaussian Noise. For additive Gaussian noise, i.e. $\\mathcal { D } ~ = ~ \\mathcal { N } ( \\mathbf { 0 } , \\Sigma _ { x } ~ =$ Diag $\\left( \\sigma _ { x } ^ { 2 } \\right)$ ), robustness is averaged over a range of testing variances $\\sigma _ { x } ^ { 2 }$ . We restrict $\\sigma _ { x }$ to 30 evenly sampled values in $[ 0 , 0 . 5 ]$ , where this set is denoted as $\\mathcal { A } ^ { 1 }$ . In practice, this is equivalent to sampling $m$ Gaussian examples for each $\\sigma _ { x } \\in { \\mathcal { A } }$ , and if none of the $m$ samples changes the prediction of the classifier $\\psi$ from the original noise-free example, the robustness for that sample at that $\\sigma _ { x }$ noise level is set to 1 and then averaged over the complete testing set. Then, the robustness is the average over multiple $\\sigma _ { x } \\in { \\mathcal { A } }$ . To make the computation even more efficient, instead of sampling a large number of Gaussian noise samples $( m )$ , we only sample a single noise sample with the average√ energy over $\\mathcal { D }$ . That is, we sample a single $\\mathbf { n }$ of norm $\\mathbf { \\bar { \\mathbf { \\rho } } } _ { \\| \\mathbf { n } \\| _ { 2 } } = \\mathbf { \\bar { \\sigma } } \\sigma _ { x } \\sqrt { n }$ . This is due to the fact that ",
|
| 491 |
+
"bbox": [
|
| 492 |
+
173,
|
| 493 |
+
664,
|
| 494 |
+
826,
|
| 495 |
+
792
|
| 496 |
+
],
|
| 497 |
+
"page_idx": 5
|
| 498 |
+
},
|
| 499 |
+
{
|
| 500 |
+
"type": "text",
|
| 501 |
+
"text": "Experimental Setup. In this section, we demonstrate the effectiveness of the proposed regularizer in improving robustness. Several experiments are performed with our objective Equation 2, where we strike a comparison with data augmentation approaches. ",
|
| 502 |
+
"bbox": [
|
| 503 |
+
174,
|
| 504 |
+
824,
|
| 505 |
+
825,
|
| 506 |
+
866
|
| 507 |
+
],
|
| 508 |
+
"page_idx": 5
|
| 509 |
+
},
|
| 510 |
+
{
|
| 511 |
+
"type": "text",
|
| 512 |
+
"text": "Architecture Details. The input images in MNIST (gray-scale) and CIFAR (colored) are squares with sides equal to 28 and 32, respectively. Since AlexNet was originally trained on ImageNet of sides equal to 224, we will marginally alter the implementation of AlexNet in TorchVision Marcel & Rodriguez (2010) to accommodate for this difference. First, we change the number of hidden units in the first fully-connected layer (in LeNet to 4096, AlexNet to 256, LeNet on MNIST to 3136). For AlexNet, we changed all pooling kernel sizes from 3 to 2 and the padding size of conv1 from 2 to 5. Second, we swapped each maxpool with the preceding ReLU, which makes training and inference more efficient. Third, we enforce that the first layer in all the models is a convolution followed by ReLU as discussed earlier. Lastly, to simplify analysis, we removed all dropout layers. We leave the details of the optimization hyper-parameters to the appendix. ",
|
| 513 |
+
"bbox": [
|
| 514 |
+
174,
|
| 515 |
+
872,
|
| 516 |
+
825,
|
| 517 |
+
901
|
| 518 |
+
],
|
| 519 |
+
"page_idx": 5
|
| 520 |
+
},
|
| 521 |
+
{
|
| 522 |
+
"type": "image",
|
| 523 |
+
"img_path": "images/8d7fee74ef1ffcf174a97bc8d016fedca0618e2ec1fc7fa2ad2c35a45baf4aa0.jpg",
|
| 524 |
+
"image_caption": [
|
| 525 |
+
"Figure 3: Fair robustness comparison of LeNet with data augmentation and our regularizer. We only report results for models with a test accuracy that is at least as good as the accuracy of the baseline with a tolerance: $0 \\%$ , $0 . 3 9 \\%$ , and $0 . 7 5 \\%$ for MNIST, CIFAR10, CIFAR100, respectively. Only the models with the highest robustness are presented. Training with our regularizer can attain similar/better robustness than 21-fold noisy data augmentation on MNIST and CIFAR100, while maintaining a high noise-free test accuracy. "
|
| 526 |
+
],
|
| 527 |
+
"image_footnote": [],
|
| 528 |
+
"bbox": [
|
| 529 |
+
174,
|
| 530 |
+
99,
|
| 531 |
+
818,
|
| 532 |
+
217
|
| 533 |
+
],
|
| 534 |
+
"page_idx": 6
|
| 535 |
+
},
|
| 536 |
+
{
|
| 537 |
+
"type": "text",
|
| 538 |
+
"text": "",
|
| 539 |
+
"bbox": [
|
| 540 |
+
174,
|
| 541 |
+
305,
|
| 542 |
+
825,
|
| 543 |
+
416
|
| 544 |
+
],
|
| 545 |
+
"page_idx": 6
|
| 546 |
+
},
|
| 547 |
+
{
|
| 548 |
+
"type": "text",
|
| 549 |
+
"text": "Results. For each model and dataset, we compare baseline models, i.e. models trained with noisefree data and without our regularization, with two others: one using data augmentation and another using our proposed regularizer. Each of the latter has two configurable variables: the level of noise controlled by $\\textstyle { \\mathcal { \\sigma } } _ { x } ^ { 2 }$ during training, and the amount of noise controlled by the trade-off coefficient $\\alpha$ in Equation 2 or $\\tilde { N }$ (number of added noisy training examples) in the case of augmentation. ",
|
| 550 |
+
"bbox": [
|
| 551 |
+
174,
|
| 552 |
+
422,
|
| 553 |
+
825,
|
| 554 |
+
494
|
| 555 |
+
],
|
| 556 |
+
"page_idx": 6
|
| 557 |
+
},
|
| 558 |
+
{
|
| 559 |
+
"type": "text",
|
| 560 |
+
"text": "Accuracy vs. Robustness. We start by demonstrating that data augmentation tends to improve the robustness, as captured by $\\Re ( \\mathcal { T } )$ over the test set, at the expense of decreasing the testing accuracy on the noise-free examples. Realizing this is essential for a fair comparison, as one would need to compare the robustness of networks that only have similar noise-free testing accuracies. To this end, we ran 60 training experiments with data augmentation on LeNet with three datasets (MNIST, CIFAR10, and CIFAR100), four augmentation levels $( \\tilde { N } \\in \\{ 2 , 6 , 1 1 , 2 1 \\} )$ , and five noise levels $( \\sigma _ { x } \\in \\mathcal { A } = \\{ 0 . 1 2 5 , 0 . 2 5 , 0 . 3 2 5 , 0 . 5 , 1 . 0 \\} )$ . In contrast, we ran robust training experiments using Equation 2 with the trade-off coefficient $\\overset { \\cdot } { \\alpha } \\in \\{ 0 . 5 , 1 , 1 . 5 , 2 , 5 , 1 0 , 2 0 \\}$ on the same datasets, but we extended the noise levels $\\sigma _ { x }$ to include the extreme noise regime of $\\sigma _ { x } \\in \\{ 2 , 5 , 1 0 , 2 0 \\}$ . These noise levels are too large to be used for data augmentation, especially since $\\mathbf { x } \\in [ 0 , 1 ] ^ { n }$ ; however, as we will see, they are still beneficial for our proposed regularizer. Figure 2 shows both the testing accuracy and robustness as measured by $\\Re ( \\mathcal { T } )$ over a varying range of training $\\sigma _ { x }$ for the data augmentation approach of LeNet on MNIST, CIFAR-10 and CIFAR-100. It is important to note here that the main goal of these plots is not to compare the robustness score, but rather, to demonstrate a very important trend. In particular, increasing the training $\\sigma _ { x }$ for each approach degrades testing accuracy on noise-free data. However, the degradation in our approach is much more graceful since the trained LeNet model was never directly exposed to individually corrupted examples during training as opposed to the data augmentation approach. Note that our regularizer enforces the separation between the expected output prediction analytically. Moreover, the robustness of both methods consistently improves as the training $\\sigma _ { x }$ increases. This trend holds even on the easiest dataset (MNIST). Interestingly, models trained with our regularizer enjoy an improvement in testing accuracy over the baseline model. Such behaviour only emerges with a large factor of augmentation, $\\tilde { N } = 2 \\bar { 1 }$ , and a small enough training $\\sigma _ { x }$ on MNIST. This indicates that models can benefit from better accuracy with a good approximation of Equation 1 through our proposed objective or through extensive Monte Carlo estimation. However, as $\\underset { \\cdots } { \\sigma } { _ { x } }$ increases, Monte Carlo estimates of the second term in Equation 1 via data augmentation (with $\\ddot { N } = 2 1$ ) is no longer enough to capture the noise. ",
|
| 561 |
+
"bbox": [
|
| 562 |
+
173,
|
| 563 |
+
502,
|
| 564 |
+
825,
|
| 565 |
+
861
|
| 566 |
+
],
|
| 567 |
+
"page_idx": 6
|
| 568 |
+
},
|
| 569 |
+
{
|
| 570 |
+
"type": "text",
|
| 571 |
+
"text": "Robustness Comparison. For fair comparison, it is essential to only compare the robustness of networks that achieve similar testing accuracy, since perfect robustness is attainable with a deterministic classifier that assigns the same class label regardless of the input. In fact, we proposed a unified robustness metric for the reason that most commonly used metrics are disassociated from ",
|
| 572 |
+
"bbox": [
|
| 573 |
+
174,
|
| 574 |
+
868,
|
| 575 |
+
823,
|
| 576 |
+
922
|
| 577 |
+
],
|
| 578 |
+
"page_idx": 6
|
| 579 |
+
},
|
| 580 |
+
{
|
| 581 |
+
"type": "table",
|
| 582 |
+
"img_path": "images/0f9926d3d88c56381050e441973808a09f97d96d06512b2d0e21609720f6794b.jpg",
|
| 583 |
+
"table_caption": [],
|
| 584 |
+
"table_footnote": [],
|
| 585 |
+
"table_body": "<table><tr><td></td><td>g</td><td>PGD</td><td>LBFGS</td><td>FGSM</td><td>DF2</td><td>GNR</td><td>ACC</td></tr><tr><td rowspan=\"6\">EE nenen JSINW</td><td>0</td><td>1.02 × 10-03</td><td>5.50×10-04</td><td>2.24×10-02</td><td>5.91×10-04</td><td>77.45</td><td>98.50</td></tr><tr><td>0.125</td><td>3.36×10-01</td><td>3.43×10-01</td><td>8.19 ×10-01</td><td>2.05×10-01</td><td>93.14</td><td>97.50</td></tr><tr><td>0.250</td><td>4.58×10-01</td><td>4.31×10-01</td><td>1.21</td><td>2.63×10-01</td><td>95.64</td><td>98.75</td></tr><tr><td>0.325</td><td>4.21×10-01</td><td>4.51 ×10-01</td><td>1.17</td><td>2.33×10-01</td><td>96.75</td><td>97.50</td></tr><tr><td>1.0</td><td>5.44×10-01</td><td>5.22×10-01</td><td>1.34</td><td>2.95×10-01</td><td>97.32</td><td>99.00</td></tr><tr><td></td><td></td><td></td><td>-05</td><td></td><td></td><td></td></tr><tr><td rowspan=\"5\">A neeae CEITIIIO</td><td>0</td><td>2.30×10-05</td><td>2.50 × 10-05</td><td>1.50 ×10</td><td>2.10×10-05</td><td>29.69</td><td>34.75</td></tr><tr><td>0.12</td><td>3.64×10-04</td><td>2.83×10-04</td><td>5.06×10-04</td><td>2.16×10-04</td><td>31.65</td><td>33.50</td></tr><tr><td>0.250</td><td>4.37 ×10-04</td><td>3.86×10-04</td><td>6.50×10-04</td><td>2.47×10-04</td><td>32.85</td><td>32.25</td></tr><tr><td>0.325</td><td>5.37×10-04</td><td>4.04×10-04</td><td>7.29 ×10-04</td><td>3.18×10-04</td><td>33.84</td><td>34.25</td></tr><tr><td>1.0</td><td>4.92×10-04</td><td>3.26×10-04</td><td>6.50×10-04</td><td>2.85×10-04</td><td>34.65</td><td>35.50</td></tr></table>",
|
| 586 |
+
"bbox": [
|
| 587 |
+
218,
|
| 588 |
+
99,
|
| 589 |
+
776,
|
| 590 |
+
224
|
| 591 |
+
],
|
| 592 |
+
"page_idx": 7
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"type": "text",
|
| 596 |
+
"text": "Table 1: Gaussian robustness improves overall robustness. We report the robustness metrics corresponding to various attacks (PGD, LBFGS, FGSM, and DF2), our proposed GNR metric, and the test accuracy ACC for LeNet and AlexNet networks trained on MNIST and CIFAR100 using our proposed regularizer with noise variance $\\sigma$ in training. Note that $\\sigma = 0$ corresponds to baseline models trained without our regularizer. We observe that training networks with our proposed regularizer (designed for additive Gaussian attacks) not only improves the robustness against Gaussian attacks but also against 6 other types of attacks which 4 of them listed here and the others are left for appendix. ",
|
| 597 |
+
"bbox": [
|
| 598 |
+
174,
|
| 599 |
+
227,
|
| 600 |
+
825,
|
| 601 |
+
315
|
| 602 |
+
],
|
| 603 |
+
"page_idx": 7
|
| 604 |
+
},
|
| 605 |
+
{
|
| 606 |
+
"type": "text",
|
| 607 |
+
"text": "the ground-truth labels and only consider model predictions. Therefore, we filtered out the results from Figure 2 by removing all the experiments that achieved lower test accuracy than the baseline model. Figure 3 summarizes these results for LeNet. Now, we can clearly see the difference between training with data augmentation and our approach. For MNIST (Figure 3a), we achieved the same robustness as 21-fold data augmentation without feeding the network with any noisy examples during training and while preserving the same baseline accuracy. Interestingly, for CIFAR10 (Figure 3b), our method is twice as robust as the best robustness achieved via data augmentation. Moreover, for CIFAR100 (Figure 3c), we are able to outperform data augmentation by around $5 \\%$ . Finally, for extra validation, we also conducted the same experiments with AlexNet on CIFAR10 and CIFAR100 which can be found in the appendix. We can see that our proposed regularizer can improve robustness by $1 5 \\%$ on CIFAR10 and around $2 5 \\%$ on CIFAR100. It is interesting to note that for CIFAR10, data augmentation could not improve the robustness of the trained models without drastically degrading the testing accuracy on the noise-free examples. Moreover, it is interesting to observe that the best robustness achieved through data augmentation is even worse than the baseline. This could be due to the trade-off coefficient $\\alpha$ in Equation 1. ",
|
| 608 |
+
"bbox": [
|
| 609 |
+
174,
|
| 610 |
+
321,
|
| 611 |
+
825,
|
| 612 |
+
527
|
| 613 |
+
],
|
| 614 |
+
"page_idx": 7
|
| 615 |
+
},
|
| 616 |
+
{
|
| 617 |
+
"type": "text",
|
| 618 |
+
"text": "Towards General Robustness via Gaussian Robustness. Here, we investigate whether improving robustness to Gaussian input noise can improve robustness against other types of attacks. Specifically, we compare the robustness of models trained using our proposed regularizer (robust again Gaussian attacks) with baseline models subject to different types of attacks: Projected Gradient Descent (PGD) and LBFGS attacks Szegedy et al. (2014), Fast Sign Gradient Method (FGSM) Goodfellow et al. (2015), and DeepFool L2Attack (DF2) Moosavi-Dezfooli et al. (2016) as provide by Rauber et al. (2017). For all these attacks, we report the minimum energy perturbation that can change the network prediction. We also report our Gaussian Network Robustness (GNR) metric, which is the Gaussian version of Equation 4 along with the testing accuracy (ACC). We perform experiments on LeNet on MNIST, CIFAR10 and CIFAR100 datasets and on AlexNet on both CIFAR10 and CIFAR100. Due to space constraints, we show the robustness results for only LeNet on MNIST and AlexNet of CIFAR100 and leave the rest along with two other types of attacks for the appendix. Table 1 shows that improving GNR through our data augmentation free regularizer can significantly improve all robustness metrics. For instance, comparing LeNet trained with our proposed regularizer against LeNet trained without any regularization, i.e. $\\sigma = 0$ , we see that robustness against all types of attacks improves by almost two orders of magnitude, while maintaining a similar testing accuracy. A similar improvement in performance is consistently present for AlexNet on CIFAR100. ",
|
| 619 |
+
"bbox": [
|
| 620 |
+
174,
|
| 621 |
+
535,
|
| 622 |
+
825,
|
| 623 |
+
781
|
| 624 |
+
],
|
| 625 |
+
"page_idx": 7
|
| 626 |
+
},
|
| 627 |
+
{
|
| 628 |
+
"type": "text",
|
| 629 |
+
"text": "5 CONCLUSION ",
|
| 630 |
+
"text_level": 1,
|
| 631 |
+
"bbox": [
|
| 632 |
+
176,
|
| 633 |
+
806,
|
| 634 |
+
318,
|
| 635 |
+
821
|
| 636 |
+
],
|
| 637 |
+
"page_idx": 7
|
| 638 |
+
},
|
| 639 |
+
{
|
| 640 |
+
"type": "text",
|
| 641 |
+
"text": "Addressing the sensitivity problem of deep neural networks to adversarial perturbation is of great importance to the machine learning community. However, building robust classifiers against this noises is computationally expensive, as it is generally done through the means of data augmentation. We propose a generic lightweight analytic regularizer, which can be applied to any deep neural network with a ReLU activation after the first affine layer. It is designed to increase the robustness of the trained models under additive Gaussian noise. We demonstrate this with multiple architectures and datasets and show that it outperforms data augmentation without observing any noisy examples. ",
|
| 642 |
+
"bbox": [
|
| 643 |
+
174,
|
| 644 |
+
827,
|
| 645 |
+
825,
|
| 646 |
+
924
|
| 647 |
+
],
|
| 648 |
+
"page_idx": 7
|
| 649 |
+
},
|
| 650 |
+
{
|
| 651 |
+
"type": "text",
|
| 652 |
+
"text": "REFERENCES ",
|
| 653 |
+
"text_level": 1,
|
| 654 |
+
"bbox": [
|
| 655 |
+
176,
|
| 656 |
+
102,
|
| 657 |
+
287,
|
| 658 |
+
117
|
| 659 |
+
],
|
| 660 |
+
"page_idx": 8
|
| 661 |
+
},
|
| 662 |
+
{
|
| 663 |
+
"type": "text",
|
| 664 |
+
"text": "Christof Angermueller, Tanel Parnamaa, Leopold Parts, and Oliver Stegle. Deep learning for com- ¨ putational biology. Molecular Systems Biology, 2016. ",
|
| 665 |
+
"bbox": [
|
| 666 |
+
174,
|
| 667 |
+
125,
|
| 668 |
+
821,
|
| 669 |
+
154
|
| 670 |
+
],
|
| 671 |
+
"page_idx": 8
|
| 672 |
+
},
|
| 673 |
+
{
|
| 674 |
+
"type": "text",
|
| 675 |
+
"text": "Adel Bibi, Modar Alfadly, and Bernard Ghanem. Analytic expressions for probabilistic moments of pl-dnn with gaussian input. In Computer Vision and Patter Recognition Conference (CVPR18), 2018. ",
|
| 676 |
+
"bbox": [
|
| 677 |
+
174,
|
| 678 |
+
161,
|
| 679 |
+
825,
|
| 680 |
+
204
|
| 681 |
+
],
|
| 682 |
+
"page_idx": 8
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"type": "text",
|
| 686 |
+
"text": "Akhilan Boopathy, Tsui-Wei Weng, Pin-Yu Chen, Sijia Liu, and Luca Daniel. Cnn-cert: An efficient framework for certifying robustness of convolutional neural networks. In Association for the Advancement of Artificial Intelligence (AAAI19), 2019. ",
|
| 687 |
+
"bbox": [
|
| 688 |
+
173,
|
| 689 |
+
212,
|
| 690 |
+
823,
|
| 691 |
+
256
|
| 692 |
+
],
|
| 693 |
+
"page_idx": 8
|
| 694 |
+
},
|
| 695 |
+
{
|
| 696 |
+
"type": "text",
|
| 697 |
+
"text": "Moustapha Cisse, Piotr Bojanowski, Edouard Grave, Yann Dauphin, and Nicolas Usunier. Parseval networks: Improving robustness to adversarial examples. In International Conference on Machine Learning (ICML17), 2017. ",
|
| 698 |
+
"bbox": [
|
| 699 |
+
174,
|
| 700 |
+
262,
|
| 701 |
+
821,
|
| 702 |
+
306
|
| 703 |
+
],
|
| 704 |
+
"page_idx": 8
|
| 705 |
+
},
|
| 706 |
+
{
|
| 707 |
+
"type": "text",
|
| 708 |
+
"text": "Alhussein Fawzi, Seyed Mohsen Moosavi Dezfooli, and Pascal Frossard. The robustness of deep networks - a geometric perspective. IEEE Signal Processing Magazine, 2017a. ",
|
| 709 |
+
"bbox": [
|
| 710 |
+
171,
|
| 711 |
+
314,
|
| 712 |
+
823,
|
| 713 |
+
343
|
| 714 |
+
],
|
| 715 |
+
"page_idx": 8
|
| 716 |
+
},
|
| 717 |
+
{
|
| 718 |
+
"type": "text",
|
| 719 |
+
"text": "Alhussein Fawzi, Seyed-Mohsen Moosavi-Dezfooli, Pascal Frossard, and Stefano Soatto. Classification regions of deep neural networks. CoRR, 2017b. ",
|
| 720 |
+
"bbox": [
|
| 721 |
+
173,
|
| 722 |
+
351,
|
| 723 |
+
821,
|
| 724 |
+
380
|
| 725 |
+
],
|
| 726 |
+
"page_idx": 8
|
| 727 |
+
},
|
| 728 |
+
{
|
| 729 |
+
"type": "text",
|
| 730 |
+
"text": "Alhussein Fawzi, Omar Fawzi, and Pascal Frossard. Analysis of classifiers’ robustness to adversarial perturbations. Machine Learning, 2018. ",
|
| 731 |
+
"bbox": [
|
| 732 |
+
173,
|
| 733 |
+
387,
|
| 734 |
+
823,
|
| 735 |
+
417
|
| 736 |
+
],
|
| 737 |
+
"page_idx": 8
|
| 738 |
+
},
|
| 739 |
+
{
|
| 740 |
+
"type": "text",
|
| 741 |
+
"text": "Reuben Feinman, Ryan R Curtin, Saurabh Shintre, and Andrew B Gardner. Detecting adversarial samples from artifacts. CoRR, 2017. ",
|
| 742 |
+
"bbox": [
|
| 743 |
+
174,
|
| 744 |
+
424,
|
| 745 |
+
823,
|
| 746 |
+
453
|
| 747 |
+
],
|
| 748 |
+
"page_idx": 8
|
| 749 |
+
},
|
| 750 |
+
{
|
| 751 |
+
"type": "text",
|
| 752 |
+
"text": "Jean-Yves Franceschi, Alhussein Fawzi, and Omar Fawzi. Robustness of classifiers to uniform $\\ell _ { p }$ and gaussian noise. Proceedings of Machine Learning Research (PMLR18), 2018. ",
|
| 753 |
+
"bbox": [
|
| 754 |
+
173,
|
| 755 |
+
462,
|
| 756 |
+
823,
|
| 757 |
+
491
|
| 758 |
+
],
|
| 759 |
+
"page_idx": 8
|
| 760 |
+
},
|
| 761 |
+
{
|
| 762 |
+
"type": "text",
|
| 763 |
+
"text": "Justin Gilmer, Luke Metz, Fartash Faghri, Samuel S Schoenholz, Maithra Raghu, Martin Wattenberg, and Ian Goodfellow. Adversarial spheres. CoRR, 2018. ",
|
| 764 |
+
"bbox": [
|
| 765 |
+
173,
|
| 766 |
+
498,
|
| 767 |
+
821,
|
| 768 |
+
527
|
| 769 |
+
],
|
| 770 |
+
"page_idx": 8
|
| 771 |
+
},
|
| 772 |
+
{
|
| 773 |
+
"type": "text",
|
| 774 |
+
"text": "Ian J. Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples. International Conference on Learning Representations (ICLR15), 2015. ",
|
| 775 |
+
"bbox": [
|
| 776 |
+
173,
|
| 777 |
+
535,
|
| 778 |
+
823,
|
| 779 |
+
564
|
| 780 |
+
],
|
| 781 |
+
"page_idx": 8
|
| 782 |
+
},
|
| 783 |
+
{
|
| 784 |
+
"type": "text",
|
| 785 |
+
"text": "Kathrin Grosse, Praveen Manoharan, Nicolas Papernot, Michael Backes, and Patrick McDaniel. On the (statistical) detection of adversarial examples. CoRR, 2017. ",
|
| 786 |
+
"bbox": [
|
| 787 |
+
173,
|
| 788 |
+
571,
|
| 789 |
+
823,
|
| 790 |
+
602
|
| 791 |
+
],
|
| 792 |
+
"page_idx": 8
|
| 793 |
+
},
|
| 794 |
+
{
|
| 795 |
+
"type": "text",
|
| 796 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Computer Vision and Patter Recognition Conference (CVPR16), 2016. ",
|
| 797 |
+
"bbox": [
|
| 798 |
+
173,
|
| 799 |
+
608,
|
| 800 |
+
821,
|
| 801 |
+
638
|
| 802 |
+
],
|
| 803 |
+
"page_idx": 8
|
| 804 |
+
},
|
| 805 |
+
{
|
| 806 |
+
"type": "text",
|
| 807 |
+
"text": "Geoffrey Hinton, Li Deng, Dong Yu, George E Dahl, Abdel-rahman Mohamed, Navdeep Jaitly, Andrew Senior, Vincent Vanhoucke, Patrick Nguyen, Tara N Sainath, et al. Deep neural networks for acoustic modeling in speech recognition: The shared views of four research groups. IEEE Signal Processing Magazine, 2012. ",
|
| 808 |
+
"bbox": [
|
| 809 |
+
173,
|
| 810 |
+
646,
|
| 811 |
+
825,
|
| 812 |
+
703
|
| 813 |
+
],
|
| 814 |
+
"page_idx": 8
|
| 815 |
+
},
|
| 816 |
+
{
|
| 817 |
+
"type": "text",
|
| 818 |
+
"text": "Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. International Conference on Learning Representations (ICLR15), 2015. ",
|
| 819 |
+
"bbox": [
|
| 820 |
+
174,
|
| 821 |
+
710,
|
| 822 |
+
823,
|
| 823 |
+
739
|
| 824 |
+
],
|
| 825 |
+
"page_idx": 8
|
| 826 |
+
},
|
| 827 |
+
{
|
| 828 |
+
"type": "text",
|
| 829 |
+
"text": "Alex Krizhevsky and Geoffrey Hinton. Learning multiple layers of features from tiny images. Technical report, Citeseer, 2009. ",
|
| 830 |
+
"bbox": [
|
| 831 |
+
173,
|
| 832 |
+
747,
|
| 833 |
+
823,
|
| 834 |
+
776
|
| 835 |
+
],
|
| 836 |
+
"page_idx": 8
|
| 837 |
+
},
|
| 838 |
+
{
|
| 839 |
+
"type": "text",
|
| 840 |
+
"text": "Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In Conference on Neural Information Processing Systems (NeurIPS12), 2012. ",
|
| 841 |
+
"bbox": [
|
| 842 |
+
174,
|
| 843 |
+
784,
|
| 844 |
+
825,
|
| 845 |
+
827
|
| 846 |
+
],
|
| 847 |
+
"page_idx": 8
|
| 848 |
+
},
|
| 849 |
+
{
|
| 850 |
+
"type": "text",
|
| 851 |
+
"text": "Yann LeCun. The mnist database of handwritten digits. http://yann. lecun. com/exdb/mnist/, 1998. ",
|
| 852 |
+
"bbox": [
|
| 853 |
+
173,
|
| 854 |
+
835,
|
| 855 |
+
818,
|
| 856 |
+
851
|
| 857 |
+
],
|
| 858 |
+
"page_idx": 8
|
| 859 |
+
},
|
| 860 |
+
{
|
| 861 |
+
"type": "text",
|
| 862 |
+
"text": "Yann LeCun, Patrick Haffner, Leon Bottou, and Yoshua Bengio. Object recognition with gradient- ´ based learning. Shape, contour and grouping in computer vision, 1999. ",
|
| 863 |
+
"bbox": [
|
| 864 |
+
174,
|
| 865 |
+
858,
|
| 866 |
+
821,
|
| 867 |
+
887
|
| 868 |
+
],
|
| 869 |
+
"page_idx": 8
|
| 870 |
+
},
|
| 871 |
+
{
|
| 872 |
+
"type": "text",
|
| 873 |
+
"text": "Xin Li and Fuxin Li. Adversarial examples detection in deep networks with convolutional filter statistics. In International Conference on Computer Vision (ICCV17), 2017. ",
|
| 874 |
+
"bbox": [
|
| 875 |
+
173,
|
| 876 |
+
895,
|
| 877 |
+
821,
|
| 878 |
+
924
|
| 879 |
+
],
|
| 880 |
+
"page_idx": 8
|
| 881 |
+
},
|
| 882 |
+
{
|
| 883 |
+
"type": "text",
|
| 884 |
+
"text": "Jonathan Long, Evan Shelhamer, and Trevor Darrell. Fully convolutional networks for semantic segmentation. In Computer Vision and Patter Recognition Conference (CVPR15), 2015. ",
|
| 885 |
+
"bbox": [
|
| 886 |
+
171,
|
| 887 |
+
103,
|
| 888 |
+
823,
|
| 889 |
+
132
|
| 890 |
+
],
|
| 891 |
+
"page_idx": 9
|
| 892 |
+
},
|
| 893 |
+
{
|
| 894 |
+
"type": "text",
|
| 895 |
+
"text": "Ilya Loshchilov and Frank Hutter. Sgdr: Stochastic gradient descent with warm restarts. CoRR, 2017. ",
|
| 896 |
+
"bbox": [
|
| 897 |
+
173,
|
| 898 |
+
140,
|
| 899 |
+
823,
|
| 900 |
+
170
|
| 901 |
+
],
|
| 902 |
+
"page_idx": 9
|
| 903 |
+
},
|
| 904 |
+
{
|
| 905 |
+
"type": "text",
|
| 906 |
+
"text": "Jiajun Lu, Theerasit Issaranon, and David Forsyth. Safetynet: Detecting and rejecting adversarial examples robustly. In International Conference On Computer Vision (ICCV17), 2017. ",
|
| 907 |
+
"bbox": [
|
| 908 |
+
173,
|
| 909 |
+
178,
|
| 910 |
+
823,
|
| 911 |
+
208
|
| 912 |
+
],
|
| 913 |
+
"page_idx": 9
|
| 914 |
+
},
|
| 915 |
+
{
|
| 916 |
+
"type": "text",
|
| 917 |
+
"text": "Alireza Makhzani, Jonathon Shlens, Navdeep Jaitly, and Ian Goodfellow. Adversarial autoencoders. In ICLR, 2016. ",
|
| 918 |
+
"bbox": [
|
| 919 |
+
174,
|
| 920 |
+
215,
|
| 921 |
+
821,
|
| 922 |
+
244
|
| 923 |
+
],
|
| 924 |
+
"page_idx": 9
|
| 925 |
+
},
|
| 926 |
+
{
|
| 927 |
+
"type": "text",
|
| 928 |
+
"text": "Sebastien Marcel and Yann Rodriguez. Torchvision the machine-vision package of torch. In ´ Proceedings of the 18th ACM International Conference on Multimedia, 2010. ",
|
| 929 |
+
"bbox": [
|
| 930 |
+
171,
|
| 931 |
+
252,
|
| 932 |
+
823,
|
| 933 |
+
282
|
| 934 |
+
],
|
| 935 |
+
"page_idx": 9
|
| 936 |
+
},
|
| 937 |
+
{
|
| 938 |
+
"type": "text",
|
| 939 |
+
"text": "Seyed-Mohsen Moosavi-Dezfooli, Alhussein Fawzi, and Pascal Frossard. Deepfool: A simple and accurate method to fool deep neural networks. In Computer Vision and Patter Recognition Conference (CVPR16), 2016. ",
|
| 940 |
+
"bbox": [
|
| 941 |
+
176,
|
| 942 |
+
290,
|
| 943 |
+
823,
|
| 944 |
+
333
|
| 945 |
+
],
|
| 946 |
+
"page_idx": 9
|
| 947 |
+
},
|
| 948 |
+
{
|
| 949 |
+
"type": "text",
|
| 950 |
+
"text": "Seyed-Mohsen Moosavi-Dezfooli, Alhussein Fawzi, Omar Fawzi, and Pascal Frossard. Universal adversarial perturbations. In Computer Vision and Patter Recognition Conference (CVPR17), 2017. ",
|
| 951 |
+
"bbox": [
|
| 952 |
+
176,
|
| 953 |
+
342,
|
| 954 |
+
823,
|
| 955 |
+
383
|
| 956 |
+
],
|
| 957 |
+
"page_idx": 9
|
| 958 |
+
},
|
| 959 |
+
{
|
| 960 |
+
"type": "text",
|
| 961 |
+
"text": "Nicolas Papernot, Patrick McDaniel, Xi Wu, Somesh Jha, and Ananthram Swami. Distillation as a defense to adversarial perturbations against deep neural networks. In IEEE Symposium on Security and Privacy (SP16), 2016. ",
|
| 962 |
+
"bbox": [
|
| 963 |
+
173,
|
| 964 |
+
392,
|
| 965 |
+
823,
|
| 966 |
+
435
|
| 967 |
+
],
|
| 968 |
+
"page_idx": 9
|
| 969 |
+
},
|
| 970 |
+
{
|
| 971 |
+
"type": "text",
|
| 972 |
+
"text": "Adam Paszke, Sam Gross, Soumith Chintala, Gregory Chanan, Edward Yang, Zachary DeVito, Zeming Lin, Alban Desmaison, Luca Antiga, and Adam Lerer. Automatic differentiation in pytorch. In Conference on Neural Information Processing Systems Workshops (NeurIPSW17), 2017. ",
|
| 973 |
+
"bbox": [
|
| 974 |
+
173,
|
| 975 |
+
444,
|
| 976 |
+
825,
|
| 977 |
+
500
|
| 978 |
+
],
|
| 979 |
+
"page_idx": 9
|
| 980 |
+
},
|
| 981 |
+
{
|
| 982 |
+
"type": "text",
|
| 983 |
+
"text": "Jonas Rauber, Wieland Brendel, and Matthias Bethge. Foolbox v0.8.0: A python toolbox to benchmark the robustness of machine learning models. CoRR, 2017. ",
|
| 984 |
+
"bbox": [
|
| 985 |
+
173,
|
| 986 |
+
508,
|
| 987 |
+
820,
|
| 988 |
+
537
|
| 989 |
+
],
|
| 990 |
+
"page_idx": 9
|
| 991 |
+
},
|
| 992 |
+
{
|
| 993 |
+
"type": "text",
|
| 994 |
+
"text": "Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks. In International Conference on Learning Representations (ICLR14), 2014. ",
|
| 995 |
+
"bbox": [
|
| 996 |
+
173,
|
| 997 |
+
546,
|
| 998 |
+
825,
|
| 999 |
+
589
|
| 1000 |
+
],
|
| 1001 |
+
"page_idx": 9
|
| 1002 |
+
},
|
| 1003 |
+
{
|
| 1004 |
+
"type": "text",
|
| 1005 |
+
"text": "Dimitris Tsipras, Shibani Santurkar, Logan Engstrom, Alexander Turner, and Aleksander Madry. Robustness may be at odds with accuracy. stat, 2018. ",
|
| 1006 |
+
"bbox": [
|
| 1007 |
+
174,
|
| 1008 |
+
597,
|
| 1009 |
+
823,
|
| 1010 |
+
627
|
| 1011 |
+
],
|
| 1012 |
+
"page_idx": 9
|
| 1013 |
+
},
|
| 1014 |
+
{
|
| 1015 |
+
"type": "text",
|
| 1016 |
+
"text": "Valentina Zantedeschi, Maria-Irina Nicolae, and Ambrish Rawat. Efficient defenses against adversarial attacks. In ACM Workshop on AI and Security, 2017. ",
|
| 1017 |
+
"bbox": [
|
| 1018 |
+
174,
|
| 1019 |
+
635,
|
| 1020 |
+
823,
|
| 1021 |
+
665
|
| 1022 |
+
],
|
| 1023 |
+
"page_idx": 9
|
| 1024 |
+
},
|
| 1025 |
+
{
|
| 1026 |
+
"type": "text",
|
| 1027 |
+
"text": "Fengyuan Zhu, Guangyong Chen, and Pheng-Ann Heng. From noise modeling to blind image denoising. In Computer Vision and Patter Recognition Conference (CVPR16), 2016. ",
|
| 1028 |
+
"bbox": [
|
| 1029 |
+
173,
|
| 1030 |
+
672,
|
| 1031 |
+
825,
|
| 1032 |
+
702
|
| 1033 |
+
],
|
| 1034 |
+
"page_idx": 9
|
| 1035 |
+
},
|
| 1036 |
+
{
|
| 1037 |
+
"type": "text",
|
| 1038 |
+
"text": "A EXPERIMENTAL SETUP AND DETAILS. ",
|
| 1039 |
+
"text_level": 1,
|
| 1040 |
+
"bbox": [
|
| 1041 |
+
176,
|
| 1042 |
+
102,
|
| 1043 |
+
527,
|
| 1044 |
+
118
|
| 1045 |
+
],
|
| 1046 |
+
"page_idx": 10
|
| 1047 |
+
},
|
| 1048 |
+
{
|
| 1049 |
+
"type": "text",
|
| 1050 |
+
"text": "All experiments, are conducted using PyTorch version 0.4.1 Paszke et al. (2017). All hyperparameters are fixed and Table 2 we report the setup for the two optimizers. In particular, we use the Adam optimizaer Kingma & Ba (2015) with $\\beta _ { 1 } = 0 . 9 , \\beta _ { 2 } = 0 . 9 9 9$ , $\\epsilon = 1 0 ^ { \\div 8 }$ with amsgrad set to False. The second optimizer is SGD Loshchilov & Hutter (2017) with momentum $\\scriptstyle 1 = 0 . 9$ , dampening $= 0$ , with Nesterov acceleration. In each experiment, we randomly split the training dataset into $10 \\%$ validation and $90 \\%$ training and monitor the validation loss after each epoch. If validation loss did not improve for lr patience epochs, we reduce the learning rate by multiplying it by lr factor. We start with an initial learning rate of lr initial. The training is terminated only if the validation loss did not improve for loss patience number of epochs or if the training reached 100 epochs. We report the results of the model with the best validation loss. ",
|
| 1051 |
+
"bbox": [
|
| 1052 |
+
173,
|
| 1053 |
+
132,
|
| 1054 |
+
825,
|
| 1055 |
+
271
|
| 1056 |
+
],
|
| 1057 |
+
"page_idx": 10
|
| 1058 |
+
},
|
| 1059 |
+
{
|
| 1060 |
+
"type": "table",
|
| 1061 |
+
"img_path": "images/88bd75e9a208944c24c041182fb015543fbb6d368b8b9ec894b92bf620c414e0.jpg",
|
| 1062 |
+
"table_caption": [
|
| 1063 |
+
"Table 2: Lists the training optimization hyper-parameters. "
|
| 1064 |
+
],
|
| 1065 |
+
"table_footnote": [],
|
| 1066 |
+
"table_body": "<table><tr><td rowspan=1 colspan=6>Hyper-parameter</td><td rowspan=1 colspan=1>LeNet</td><td rowspan=1 colspan=1>AlexNet</td></tr><tr><td rowspan=7 colspan=6>optimizerminibatch_sizelr_initiallr_patiencelr_factorloss-patienceweight_decay</td><td rowspan=1 colspan=1>er</td><td rowspan=1 colspan=1>Adam</td></tr><tr><td rowspan=1 colspan=2>oatch_si2</td><td rowspan=1 colspan=1>e</td><td rowspan=1 colspan=1>1000</td><td rowspan=1 colspan=1>128</td></tr><tr><td rowspan=1 colspan=1>0.0001</td><td rowspan=1 colspan=1>0.1</td></tr><tr><td rowspan=1 colspan=1>3</td><td rowspan=1 colspan=1>5</td></tr><tr><td rowspan=1 colspan=1>0.9</td><td rowspan=1 colspan=1>0.5</td></tr><tr><td rowspan=1 colspan=1>10</td><td rowspan=1 colspan=1>20</td></tr><tr><td rowspan=1 colspan=1>0</td><td rowspan=1 colspan=1>0.0005</td></tr></table>",
|
| 1067 |
+
"bbox": [
|
| 1068 |
+
361,
|
| 1069 |
+
284,
|
| 1070 |
+
635,
|
| 1071 |
+
402
|
| 1072 |
+
],
|
| 1073 |
+
"page_idx": 10
|
| 1074 |
+
},
|
| 1075 |
+
{
|
| 1076 |
+
"type": "text",
|
| 1077 |
+
"text": "B EXAMPLES ON NOISE LEVELS ",
|
| 1078 |
+
"text_level": 1,
|
| 1079 |
+
"bbox": [
|
| 1080 |
+
176,
|
| 1081 |
+
457,
|
| 1082 |
+
460,
|
| 1083 |
+
473
|
| 1084 |
+
],
|
| 1085 |
+
"page_idx": 10
|
| 1086 |
+
},
|
| 1087 |
+
{
|
| 1088 |
+
"type": "text",
|
| 1089 |
+
"text": "Figure 4 provides examples of the different levels of noise on a given digit 8. ",
|
| 1090 |
+
"bbox": [
|
| 1091 |
+
174,
|
| 1092 |
+
488,
|
| 1093 |
+
676,
|
| 1094 |
+
503
|
| 1095 |
+
],
|
| 1096 |
+
"page_idx": 10
|
| 1097 |
+
},
|
| 1098 |
+
{
|
| 1099 |
+
"type": "image",
|
| 1100 |
+
"img_path": "images/c16cb2ccc2107868c9941265f26d86ff70409ac106262a86674528c3bf26549c.jpg",
|
| 1101 |
+
"image_caption": [
|
| 1102 |
+
"Figure 4: This Figure shows an example of the noise level over varying level of input $\\sigma$ on the digit 8. In particular, one can observe that with $\\sigma$ large than 0.7 the among of noise is severe even for the human level. Training on such extreme noise levels will deem data augmentation to be difficult. "
|
| 1103 |
+
],
|
| 1104 |
+
"image_footnote": [],
|
| 1105 |
+
"bbox": [
|
| 1106 |
+
181,
|
| 1107 |
+
516,
|
| 1108 |
+
816,
|
| 1109 |
+
578
|
| 1110 |
+
],
|
| 1111 |
+
"page_idx": 10
|
| 1112 |
+
},
|
| 1113 |
+
{
|
| 1114 |
+
"type": "text",
|
| 1115 |
+
"text": "C A COMMENT ON THE ROBUSTNESS METRIC ",
|
| 1116 |
+
"text_level": 1,
|
| 1117 |
+
"bbox": [
|
| 1118 |
+
174,
|
| 1119 |
+
660,
|
| 1120 |
+
576,
|
| 1121 |
+
676
|
| 1122 |
+
],
|
| 1123 |
+
"page_idx": 10
|
| 1124 |
+
},
|
| 1125 |
+
{
|
| 1126 |
+
"type": "text",
|
| 1127 |
+
"text": "We measure the robustness against Gaussian noise by averaging over a range of input noise levels, where at each level for each image, we consider it misclassified if the probability of it being misclassified is greater than a certain threshold. The final robustness is the average over multiple testing $\\sigma _ { x }$ . This is special case of the more general case in Equation (4). We then report the area under the curve of the robustness with varying testing $\\sigma _ { x }$ as shown in Figure 6. The area under this curve thus represents the overall robustness of a given model under several varying input noise standard deviation $\\sigma _ { x }$ . ",
|
| 1128 |
+
"bbox": [
|
| 1129 |
+
173,
|
| 1130 |
+
690,
|
| 1131 |
+
825,
|
| 1132 |
+
789
|
| 1133 |
+
],
|
| 1134 |
+
"page_idx": 10
|
| 1135 |
+
},
|
| 1136 |
+
{
|
| 1137 |
+
"type": "text",
|
| 1138 |
+
"text": "D OTHER ROBUSTNESS METRICS ",
|
| 1139 |
+
"text_level": 1,
|
| 1140 |
+
"bbox": [
|
| 1141 |
+
176,
|
| 1142 |
+
808,
|
| 1143 |
+
467,
|
| 1144 |
+
824
|
| 1145 |
+
],
|
| 1146 |
+
"page_idx": 10
|
| 1147 |
+
},
|
| 1148 |
+
{
|
| 1149 |
+
"type": "text",
|
| 1150 |
+
"text": "We report the robustness of several architectures over several datasets with and without our trained regularizer. We show that our proposed efficient regularizer not only improves the robustness against Gaussin noise attacks but againts several other types of attacks. Table 3 summarizes the types of attacks used for robustness evaluation. ",
|
| 1151 |
+
"bbox": [
|
| 1152 |
+
174,
|
| 1153 |
+
839,
|
| 1154 |
+
825,
|
| 1155 |
+
895
|
| 1156 |
+
],
|
| 1157 |
+
"page_idx": 10
|
| 1158 |
+
},
|
| 1159 |
+
{
|
| 1160 |
+
"type": "image",
|
| 1161 |
+
"img_path": "images/c9d177e7df461e818c6c654d1d44eb244306362807526a462c3eeed310b408cb.jpg",
|
| 1162 |
+
"image_caption": [
|
| 1163 |
+
"Figure 5: The robustness is a function of the ratio of the orange area to the blue area in the white circle. "
|
| 1164 |
+
],
|
| 1165 |
+
"image_footnote": [],
|
| 1166 |
+
"bbox": [
|
| 1167 |
+
382,
|
| 1168 |
+
111,
|
| 1169 |
+
614,
|
| 1170 |
+
252
|
| 1171 |
+
],
|
| 1172 |
+
"page_idx": 11
|
| 1173 |
+
},
|
| 1174 |
+
{
|
| 1175 |
+
"type": "image",
|
| 1176 |
+
"img_path": "images/38a3179f4db01bed2631849f76838e3a370f6d305868c325181af54ba81ef1fe.jpg",
|
| 1177 |
+
"image_caption": [
|
| 1178 |
+
"Figure 6: The robustness is thus measured as the area under the curve of testing accuracy versus input noise level (standard deviation). "
|
| 1179 |
+
],
|
| 1180 |
+
"image_footnote": [],
|
| 1181 |
+
"bbox": [
|
| 1182 |
+
336,
|
| 1183 |
+
324,
|
| 1184 |
+
665,
|
| 1185 |
+
467
|
| 1186 |
+
],
|
| 1187 |
+
"page_idx": 11
|
| 1188 |
+
},
|
| 1189 |
+
{
|
| 1190 |
+
"type": "image",
|
| 1191 |
+
"img_path": "images/a2d167a08a6826f73d37181210759353dbe7f0df93f0aed505e01aa2f76f517c.jpg",
|
| 1192 |
+
"image_caption": [
|
| 1193 |
+
"Figure 7: Fair robustness comparison of AlexNet with data augmentation and our regularizer. The reported models trained with our regularizer on CIFAR10 and CIFAR100 on all training $\\sigma _ { x }$ are within $1 . 6 8 \\%$ and $4 . 8 3 \\%$ of the baseline accuracy, respectively. The models trained with the proposed regularizer achieve better robustness than 11-fold and 6-fold noisy data augmentation on CIFAR10 and CIFAR100, respectively. "
|
| 1194 |
+
],
|
| 1195 |
+
"image_footnote": [],
|
| 1196 |
+
"bbox": [
|
| 1197 |
+
187,
|
| 1198 |
+
532,
|
| 1199 |
+
805,
|
| 1200 |
+
700
|
| 1201 |
+
],
|
| 1202 |
+
"page_idx": 11
|
| 1203 |
+
},
|
| 1204 |
+
{
|
| 1205 |
+
"type": "table",
|
| 1206 |
+
"img_path": "images/d718f186b7c0959fc34400f6ac47535eacd7c38254d7e5a5d3bb51498a3230f2.jpg",
|
| 1207 |
+
"table_caption": [
|
| 1208 |
+
"Table 3: The table lists all the attacks performed. "
|
| 1209 |
+
],
|
| 1210 |
+
"table_footnote": [],
|
| 1211 |
+
"table_body": "<table><tr><td>Attack Abbreviation</td><td>AttackName</td></tr><tr><td>PGD LBF</td><td>Projected Gradient Descent</td></tr><tr><td>GSM</td><td>LBFGS Attack FGSM</td></tr><tr><td>AGA</td><td>Additive Gaussian Noise Attack</td></tr><tr><td>AUA</td><td>AdditiveUniformNoiseAttack</td></tr><tr><td>DF2</td><td>DeepFool l2 Attack</td></tr></table>",
|
| 1212 |
+
"bbox": [
|
| 1213 |
+
305,
|
| 1214 |
+
781,
|
| 1215 |
+
692,
|
| 1216 |
+
886
|
| 1217 |
+
],
|
| 1218 |
+
"page_idx": 11
|
| 1219 |
+
},
|
| 1220 |
+
{
|
| 1221 |
+
"type": "table",
|
| 1222 |
+
"img_path": "images/2e6f596bb0055e34c5ecc5cc3891221907aeb22fde72bac7190aa8e5978ce36c.jpg",
|
| 1223 |
+
"table_caption": [],
|
| 1224 |
+
"table_footnote": [
|
| 1225 |
+
"corresponds to baseline models trained without our regularizer. We observe that training networks with our proposed reg "
|
| 1226 |
+
],
|
| 1227 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>ACC</td><td rowspan=1 colspan=1>09'86598609:2600'66</td><td rowspan=1 colspan=1>30.99122255</td><td rowspan=1 colspan=1>78.285850358398986860</td><td rowspan=1 colspan=1>730:2900'2930.5506'99</td><td rowspan=1 colspan=1>3530322533550</td></tr><tr><td rowspan=1 colspan=1>GNN</td><td rowspan=1 colspan=1>24225317599657326</td><td rowspan=1 colspan=1>2077800039.2031405</td><td rowspan=1 colspan=1>E87242706:00</td><td rowspan=1 colspan=1>353105098.29</td><td rowspan=1 colspan=1>696753368505820953</td></tr><tr><td rowspan=1 colspan=1>P</td><td rowspan=1 colspan=1>10-01X169 10-01X89710-01038720-01 X067</td><td rowspan=1 colspan=1>£0-013£0-0011X591 11×590×86[</td><td rowspan=1 colspan=1>×1333 ×81I15</td><td rowspan=1 colspan=1>8</td><td rowspan=1 colspan=1>0 10-0I X 81820-0131801 X917</td></tr><tr><td rowspan=1 colspan=1>AAA</td><td rowspan=1 colspan=1>20-01 X 65780%68333</td><td rowspan=1 colspan=1>10-0I X 66'910-0I X08°2 1</td><td rowspan=1 colspan=1>10-01 × 00'910-0I X 9694443</td><td rowspan=1 colspan=1>10-0I X86*210-01 X278</td><td rowspan=1 colspan=1>10-01 X39110-01X107</td></tr><tr><td rowspan=1 colspan=1>AAA</td><td rowspan=1 colspan=1>20-01 X 8975737</td><td rowspan=1 colspan=1>£0-01X29710-01 X82'910-0I X 26210-0I × ∠9'990'[</td><td rowspan=1 colspan=1>10-01 X 90'9I0-0IX80'9TO-OI×1</td><td rowspan=1 colspan=1>10-0I X892</td><td rowspan=1 colspan=1>20-013335 10-0I X 66T</td></tr><tr><td rowspan=1 colspan=1>SSS</td><td rowspan=1 colspan=1>20-012710-0I X 61'81215184</td><td rowspan=1 colspan=1>£0-0I X291 20-012755</td><td rowspan=1 colspan=1>25-21225035-213250XI67</td><td rowspan=1 colspan=1>0- 20-0IX58%2133508</td><td rowspan=1 colspan=1></td></tr><tr><td rowspan=1 colspan=1>ERT</td><td rowspan=1 colspan=1>10-011000 10-01X 11110-01X 111</td><td rowspan=1 colspan=1>90-013830 20-01100030--0[ × 99'[</td><td rowspan=1 colspan=1>£0-01 X 79.011-111150 £0-11 3 39:51</td><td rowspan=1 colspan=1>10-05[1 70</td><td rowspan=1 colspan=1>10- 50-013 950233 330</td></tr><tr><td rowspan=1 colspan=1>PPG</td><td rowspan=1 colspan=1>£0-01X70110-0I X89510-01X110-01X1</td><td rowspan=1 colspan=1>90-01X218 20-11270 20-113330</td><td rowspan=1 colspan=1>90-01X2£0-01 X 22720-010580£0-01 X 9555</td><td rowspan=1 colspan=1>10-111105</td><td rowspan=1 colspan=1>20-01X005 10-0132210-111 2304-11 1 76.5</td></tr><tr><td rowspan=1 colspan=1>b</td><td rowspan=1 colspan=1>10500000976001</td><td rowspan=1 colspan=1>10110000970001</td><td rowspan=1 colspan=1>0051297600</td><td rowspan=1 colspan=1>00509760</td><td rowspan=1 colspan=1>10000801</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>LSINNuoGNe</td><td rowspan=1 colspan=1>01TIITuo</td><td rowspan=1 colspan=1>00ICTIAITuoGNe</td><td rowspan=1 colspan=1>CIIIIIIuoJEere</td><td rowspan=1 colspan=1>001CTIAITuo</td></tr></table>",
|
| 1228 |
+
"bbox": [
|
| 1229 |
+
192,
|
| 1230 |
+
196,
|
| 1231 |
+
715,
|
| 1232 |
+
922
|
| 1233 |
+
],
|
| 1234 |
+
"page_idx": 12
|
| 1235 |
+
}
|
| 1236 |
+
]
|
parse/train/B1xDq2EFDH/B1xDq2EFDH_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/B1xDq2EFDH/B1xDq2EFDH_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/BJxhijAcY7/BJxhijAcY7.md
ADDED
|
@@ -0,0 +1,543 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SIGNSGD WITH MAJORITY VOTE IS COMMUNICATION EFFICIENT AND FAULT TOLERANT
|
| 2 |
+
|
| 3 |
+
Jeremy Bernstein1∗, Jiawei Zhao12∗, Kamyar Azizzadenesheli3, Anima Anandkumar1 1Caltech, 2Nanjing University of Aeronautics and Astronautics, 3UC Irvine bernstein@caltech.edu, jiaweizhao@nuaa.edu.cn, kazizzad@uci.edu, anima@caltech.edu
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Training neural networks on large datasets can be accelerated by distributing the workload over a network of machines. As datasets grow ever larger, networks of hundreds or thousands of machines become economically viable. The time cost of communicating gradients limits the effectiveness of using such large machine counts, as may the increased chance of network faults. We explore a particularly simple algorithm for robust, communication-efficient learning—SIGNSGD. Workers transmit only the sign of their gradient vector to a server, and the overall update is decided by a majority vote. This algorithm uses $3 2 \times$ less communication per iteration than full-precision, distributed SGD. Under natural conditions verified by experiment, we prove that SIGNSGD converges in the large and mini-batch settings, establishing convergence for a parameter regime of ADAM as a byproduct. Aggregating sign gradients by majority vote means that no individual worker has too much power. We prove that unlike SGD, majority vote is robust when up to $50 \%$ of workers behave adversarially. The class of adversaries we consider includes as special cases those that invert or randomise their gradient estimate. On the practical side, we built our distributed training system in Pytorch. Benchmarking against the state of the art collective communications library (NCCL), our framework—with the parameter server housed entirely on one machine—led to a $2 5 \%$ reduction in time for training resnet50 on Imagenet when using 15 AWS $\mathtt { p 3 . 2 x 1 }$ arge machines.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
The most powerful supercomputer in the world is currently a cluster of over 27,000 GPUs at Oak Ridge National Labs (TOP500, 2018). Distributed algorithms designed for such large-scale systems typically involve both computation and communication: worker nodes compute intermediate results locally, before sharing them with their peers. When devising new machine learning algorithms for distribution over networks of thousands of workers, we posit the following desiderata:
|
| 12 |
+
|
| 13 |
+
D1 fast algorithmic convergence; D3 communication efficiency;
|
| 14 |
+
D2 good generalisation performance; D4 robustness to network faults.
|
| 15 |
+
|
| 16 |
+
When seeking an algorithm that satisfies all four desiderata D1–4, inevitably some tradeoff must be made. Stochastic gradient descent (SGD) naturally satisfies D1–2, and this has buoyed recent advances in deep learning. Yet when it comes to large neural network models with hundreds of millions of parameters, distributed SGD can suffer large communication overheads. To make matters worse, any faulty SGD worker can corrupt the entire model at any time by sending an infinite gradient, meaning that SGD without modification is not robust.
|
| 17 |
+
|
| 18 |
+
A simple algorithm with aspirations towards all desiderata D1–4 is as follows: workers send the sign of their gradient up to the parameter server, which aggregates the signs and sends back only the majority decision. We refer to this algorithm as SIGNSGD with majority vote. All communication to and from the parameter server is compressed to one bit, so the algorithm certainly gives us D3. What’s more, in deep learning folklore sign based methods are known to perform well, indeed inspiring the popular RMSPROP and ADAM optimisers (Balles & Hennig, 2018), giving hope for D1. As far as robustness goes, aggregating gradients by a majority vote denies any individual worker too much power, suggesting it may be a natural way to achieve D4.
|
| 19 |
+
|
| 20 |
+

|
| 21 |
+
Figure 1: Toy experiments. SIGNSGD with majority vote is run on a 1000-dimensional quadratic with $\mathcal { N } ( 0 , 1 )$ noise added to each gradient component. Adversarial experiments are run with 27 total workers. These plots may be reproduced in a web browser by running this Jupyter notebook.
|
| 22 |
+
|
| 23 |
+
In this work, we make the above aspirations rigorous. Whilst D3 is immmediate, we provide the first convergence guarantees for SIGNSGD in the mini-batch setting, providing theoretical grounds for D1. We show how theoretically the behaviour of SIGNSGD changes as gradients move from high to low signal-to-noise ratio. We also extend the theory of majority vote to show that it achieves a notion of Byzantine fault tolerance. A distributed algorithm is Byzantine fault tolerant (Blanchard et al., 2017) if its convergence is robust when up to $50 \%$ of workers behave adversarially. The class of adversaries we consider contains interesting special cases, such as robustness to a corrupted worker sending random bits, or a worker that inverts their gradient estimate. Though our adversarial model is not the most general, it is interesting as a model of network faults, and so gives us D4.
|
| 24 |
+
|
| 25 |
+
Next, we embark on a large-scale empirical validation of our theory. We implement majority vote in the Pytorch deep learning framework, using CUDA kernels to bit pack sign tensors down to one bit. Our results provide experimental evidence for D1–D4. Comparing our framework to NCCL (the state of the art communications library), we were able to speed up Imagenet training by $2 5 \%$ when distributing over 7 to 15 AWS p3.2xlarge machines, albeit at a slight loss in generalisation.
|
| 26 |
+
|
| 27 |
+
Finally, in an interesting twist, the theoretical tools we develop may be brought to bear on a seemingly unrelated problem in the machine learning literature. Reddi et al. (2018) proved that the extremely popular ADAM optimiser in general does not converge in the mini-batch setting. This result belies the success of the algorithm in a wide variety of practical applications. SIGNSGD is equivalent to a special case of ADAM, and we establish the convergence rate of mini-batch SIGNSGD for a large class of practically realistic objectives. Therefore, we expect that these tools should carry over to help understand the success modes of ADAM. Our insight is that gradient noise distributions in practical problems are often unimodal and symmetric because of the Central Limit Theorem, yet Reddi et al. (2018)’s construction relies on bimodal noise distributions.
|
| 28 |
+
|
| 29 |
+
# 2 RELATED WORK
|
| 30 |
+
|
| 31 |
+
For decades, neural network researchers have adapted biologically inspired algorithms for efficient hardware implementation. Hopfield (1982), for example, considered taking the sign of the synaptic weights of his memory network for readier adaptation into integrated circuits. This past decade, neural network research has focused on training feedforward networks by gradient descent (LeCun et al., 2015). It is natural to ask what practical efficiency may accompany simply taking the sign of the backpropagated gradient. In this section, we explore related work pertaining to this question.
|
| 32 |
+
|
| 33 |
+
Deep learning: whilst stochastic gradient descent (SGD) is the workhorse of machine learning (Robbins & Monro, 1951), algorithms like RMSPROP (Tieleman & Hinton, 2012) and ADAM (Kingma & Ba, 2015) are also extremely popular neural net optimisers. These algorithms have their roots in the RPROP optimiser (Riedmiller & Braun, 1993), which is a sign-based method similar to SIGNSGD except for a component-wise adaptive learning rate.
|
| 34 |
+
|
| 35 |
+
<table><tr><td>Algorithm 1 SIGNUM with majority vote,the proposed algorithm for distributed optimisation. Good default setings for the tested machine learning problems are n = 0.Oool and β = O.9, though tuning is recommended.All operations on vectors are element-wise. Settng β = O yields SIGNSGD.</td></tr><tr><td>Require: learning rate n > O, momentum constant β ∈ [0,1),weight decay 入 ≥ 0, mini-batch size n,initial point x held by each of M workers,initial momentum Um ← O on mth worker</td></tr><tr><td>repeat on mth worker</td></tr><tr><td>gm← 1 stochasticGradient(x) >mini-batch gradient n i=1</td></tr><tr><td>Um↑ (1-β)gm+βvm >update momentum push sign(Um) to server > send sign momentum</td></tr><tr><td>on server M</td></tr><tr><td>V← sign(Um) V aggregate sign momenta m push sign(V) to each worker 二 >broadcast majority vote</td></tr><tr><td>on every worker</td></tr><tr><td>x←x-n(sign(V)+入x) > update parameters</td></tr><tr><td>until convergence</td></tr><tr><td></td></tr></table>
|
| 36 |
+
|
| 37 |
+
Non-convex optimisation: parallel to (and oftentimes in isolation from) advances in deep learning practice, a sophisticated optimisation literature has developed. Nesterov & Polyak (2006) proposed cubic regularisation as an algorithm that can escape saddle points and provide guaranteed convergence to local minima of non-convex functions. This has been followed up by more recent works such as NATASHA (Allen-Zhu, 2017) that use other theoretical tricks to escape saddle points. It is still unclear how relevant these works are to deep learning, since it is not clear to what extent saddle points are an obstacle in practical problems. We avoid this issue altogether and satisfy ourselves with establishing convergence to critical points.
|
| 38 |
+
|
| 39 |
+
Gradient compression: prior work on gradient compression generally falls into two camps. In the first camp, algorithms like QSGD (Alistarh et al., 2017), TERNGRAD (Wen et al., 2017) and ATOMO (Wang et al., 2018) use stochastic quantisation schemes to ensure that the compressed stochastic gradient remains an unbiased approximation to the true gradient. These works are therefore able to bootstrap existing SGD convergence theory. In the second camp, more heuristic algorithms like 1BITSGD (Seide et al., 2014) and deep gradient compression (Lin et al., 2018) pay less attention to theoretical guarantees and focus more on practical performance. These algorithms track quantisation errors and feed them back into subsequent updates. The commonality between the two camps is an effort to, one way or another, correct for bias in the compression.
|
| 40 |
+
|
| 41 |
+
SIGNSGD with majority vote takes a different approach to these two existing camps. In directly employing the sign of the stochastic gradient, the algorithm unabashedly uses a biased approximation of the stochastic gradient. Carlson et al. (2016) and Bernstein et al. (2018) provide theoretical and empirical evidence that signed gradient schemes can converge well in spite of their biased nature. Their theory only applies in the large batch setting, meaning the theoretical results are less relevant to deep learning practice. Still Bernstein et al. (2018) showed promising experimental results in the mini-batch setting. An appealing feature of majority vote is that it naturally leads to compression in both directions of communication between workers and parameter server. As far as we are aware, all existing gradient compression schemes lose compression before scattering results back to workers.
|
| 42 |
+
|
| 43 |
+
Byzantine fault tolerant optimisation: the problem of modifying SGD to make it Byzantine fault tolerant has recently attracted interest in the literature (Yin et al., 2018). For example, Blanchard et al. (2017) proposed KRUM, which operates by detecting and excluding outliers in the gradient aggregation. Alistarh et al. (2018) propose BYZANTINESGD which instead focuses on detecting and eliminating adversaries. Clearly both these strategies incur overheads, and eliminating adversaries precludes the possibility that they might reform. El Mhamdi et al. (2018) point out that powerful adversaries may steer convergence to bad local minimisers. We see majority vote as a natural way to protect against less malign faults such as network errors, and thus satisfy ourselves with convergence guarantees to critical points without placing guarantees on their quality.
|
| 44 |
+
|
| 45 |
+

|
| 46 |
+
Figure 2: Gradient distributions for resnet18 on Cifar-10 at mini-batch size 128. At the start of epochs 0, 1 and 5, we do a full pass over the data and collect the gradients for three randomly chosen weights (left, middle, right). In all cases the distribution is close to unimodal and symmetric.
|
| 47 |
+
|
| 48 |
+
# 3 THEORY
|
| 49 |
+
|
| 50 |
+
# 3.1 ASSUMPTIONS
|
| 51 |
+
|
| 52 |
+
We aim to develop an optimisation theory that is relevant for real problems in deep learning. For this reason, we are careful about the assumptions we make. For example, we do not assume convexity because neural network loss functions are typically not convex. Though we allow our objective function to be non-convex, we insist on a lower bound to enable meaningful convergence results.
|
| 53 |
+
|
| 54 |
+
Assumption 1 (Lower bound). For all $x$ and some constant $f ^ { * }$ , we have objective value $f ( x ) \geq f ^ { * }$
|
| 55 |
+
|
| 56 |
+
Our next two assumptions of Lipschitz smoothness and bounded variance are standard in the stochastic optimisation literature (Allen-Zhu, 2017). That said, we give them in a component-wise form. This allows our convergence results to encode information not just about the total noise level and overall smoothness, but also about how these quantities are distributed across dimension.
|
| 57 |
+
|
| 58 |
+
Assumption 2 (Smooth). Let $g ( x )$ denote the gradient of the objective $f ( . )$ evaluated at point $x$ . Then $\forall x , y$ we require that for some non-negative constant $\vec { L } : = [ L _ { 1 } , . . . , L _ { d } ]$
|
| 59 |
+
|
| 60 |
+
$$
|
| 61 |
+
\Big | f ( y ) - \big [ f ( x ) + g ( x ) ^ { T } ( y - x ) \big ] \Big | \leq \frac { 1 } { 2 } \sum _ { i } L _ { i } ( y _ { i } - x _ { i } ) ^ { 2 } .
|
| 62 |
+
$$
|
| 63 |
+
|
| 64 |
+
Assumption 3 (Variance bound). Upon receiving query $x \in \mathbb { R } ^ { d }$ , the stochastic gradient oracle gives us an independent, unbiased estimate $\tilde { g }$ that has coordinate bounded variance:
|
| 65 |
+
|
| 66 |
+
$$
|
| 67 |
+
\begin{array} { r } { \mathbb { E } [ \tilde { g } ( x ) ] = g ( x ) , \qquad \mathbb { E } \left[ ( \tilde { g } ( x ) _ { i } - g ( x ) _ { i } ) ^ { 2 } \right] \leq \sigma _ { i } ^ { 2 } } \end{array}
|
| 68 |
+
$$
|
| 69 |
+
|
| 70 |
+
for a vector of non-negative constants $\vec { \sigma } : = [ \sigma _ { 1 } , . . , \sigma _ { d } ]$ .
|
| 71 |
+
|
| 72 |
+
Our final assumption is non-standard. We assume that the gradient noise is unimodal and symmetric. Clearly, Gaussian noise is a special case. Note that even for a moderate mini-batch size, we expect the central limit theorem to kick in rendering typical gradient noise distributions close to Gaussian. See Figure 2 for noise distributions measured whilst training resnet18 on Cifar-10.
|
| 73 |
+
|
| 74 |
+
Assumption 4 (Unimodal, symmetric gradient noise). At any given point $x$ , each component of the stochastic gradient vector $\tilde { g } ( x )$ has a unimodal distribution that is also symmetric about the mean.
|
| 75 |
+
|
| 76 |
+
Showing how to work with this assumption is a key theoretical contribution of this work. Combining Assumption 4 with an old tail bound of Gauss (1823) yields Lemma 1, which will be crucial for guaranteeing mini-batch convergence of SIGNSGD. As will be explained in Section 3.3, this result also constitutes a convergence proof for a parameter regime of ADAM. This suggests that Assumption 4 may more generally be a theoretical fix for Reddi et al. (2018)’s non-convergence proof of mini-batch ADAM, a fix which does not involve modifying the ADAM algorithm itself.
|
| 77 |
+
|
| 78 |
+

|
| 79 |
+
Figure 3: Signal-to-noise ratio (SNR) whilst training resnet18 on Cifar-10 at batch size 128. At the start of each epoch we compute the SNR for every gradient component. We plot summary statistics like the mean over weights and the max. By roughly epoch 40, all gradient components have passed below the critical line (see Theorem 1) and remain there for the rest of training.
|
| 80 |
+
|
| 81 |
+
# 3.2 MINI-BATCH CONVERGENCE OF SIGNSGD
|
| 82 |
+
|
| 83 |
+
With our assumptions in place, we move on to presenting our theoretical results, which are all proved in Appendix C. Our first result establishes the mini-batch convergence behaviour of SIGNSGD. We will first state the result and make some remarks. We provide intuition for the proof in Section 3.3.
|
| 84 |
+
|
| 85 |
+
Theorem 1 (Non-convex convergence rate of mini-batch SIGNSGD). Run the following algorithm for $K$ iterations under Assumptions $^ { l }$ to $^ { 4 }$ : $x _ { k + 1 } = x _ { k } - \eta \mathrm { s i g n } ( \tilde { g } _ { k } )$ . Set the learning rate, $\eta _ { ; }$ , and mini-batch size, $n$ , as
|
| 86 |
+
|
| 87 |
+
$$
|
| 88 |
+
\eta = \sqrt { \frac { f _ { 0 } - f _ { * } } { \| \vec { L } \| _ { 1 } K } } , \qquad n = 1 .
|
| 89 |
+
$$
|
| 90 |
+
|
| 91 |
+
Let $H _ { k }$ be the set of gradient components at step $k$ with large signal-to-noise ratio $\begin{array} { r } { S _ { i } : = \frac { | g _ { k , i } | } { \sigma _ { i } } } \end{array}$ , i.e. $H _ { k } : = { \Big \{ } i { \Big | } S _ { i } > { \frac { 2 } { \sqrt { 3 } } } { \Big \} }$ . We refer to $\textstyle { \frac { 2 } { \sqrt { 3 } } }$ as the ‘critical SNR’. Then we have
|
| 92 |
+
|
| 93 |
+
$$
|
| 94 |
+
\frac { 1 } { K } \sum _ { k = 0 } ^ { K - 1 } \mathbb { E } \left[ \sum _ { i \in { \cal H } _ { k } } \left. g _ { k , i } \right. + \sum _ { i \notin { \cal H } _ { k } } \frac { g _ { k , i } ^ { 2 } } { \sigma _ { i } } \right] \leq 3 \sqrt { \frac { \| \vec { L } \| _ { 1 } ( f _ { 0 } - f _ { * } ) } { N } } .
|
| 95 |
+
$$
|
| 96 |
+
|
| 97 |
+
where $N = K$ is the total number of stochastic gradient calls up to step $K$ .
|
| 98 |
+
|
| 99 |
+
Theorem 1 provides a bound on the average gradient norm. The right hand side of the bound decays like O $\left( \textstyle { \frac { 1 } { \sqrt { N } } } \right)$ , establishing convergence to points of the objective where the gradient vanishes.
|
| 100 |
+
|
| 101 |
+
Remark 1: mini-batch SIGNSGD attains the same O $\scriptstyle \left( { \frac { 1 } { \sqrt { N } } } \right)$ non-convex convergence rate as SGD.
|
| 102 |
+
|
| 103 |
+
Remark 2: the gradient appears as a mixed norm: an $\ell _ { 1 }$ norm for high SNR components, and a weighted $\ell _ { 2 }$ norm for low SNR compoenents.
|
| 104 |
+
|
| 105 |
+
Remark 3: we wish to understand the dimension dependence of our bound. We may simplify matters by assuming that, during the entire course of optimisation, every gradient component lies in the low SNR regime. Figure 3 shows that this is almost true when training a resnet18 model. In this limit, the bound becomes:
|
| 106 |
+
|
| 107 |
+
$$
|
| 108 |
+
\frac { 1 } { K } \sum _ { k = 0 } ^ { K - 1 } \mathbb { E } \left[ \sum _ { i = 1 } ^ { d } \frac { g _ { k , i } ^ { 2 } } { \sigma _ { i } } \right] \leq 3 \sqrt { \frac { \| \vec { L } \| _ { 1 } ( f _ { 0 } - f _ { * } ) } { N } } .
|
| 109 |
+
$$
|
| 110 |
+
|
| 111 |
+
Further assume that we are in a well-conditioned setting, meaning that the variance is distributed uniformly across dimension $\begin{array} { r } ( \sigma _ { i } ^ { 2 } = \frac { \sigma ^ { 2 } } { d } \ \end{array}$ ), and every weight has the same smoothness constant $\boldsymbol { L } _ { i } =$ $L$ ). $\sigma ^ { 2 }$ is the total variance bound, and $L$ is the conventional Lipschitz smoothness. These are the
|
| 112 |
+
|
| 113 |
+
quantities which appear in the standard analysis of SGD. Then we get
|
| 114 |
+
|
| 115 |
+
$$
|
| 116 |
+
\frac { 1 } { K } \sum _ { k = 0 } ^ { K - 1 } \mathbb { E } \| g _ { k } \| _ { 2 } ^ { 2 } \leq 3 \sigma \sqrt { \frac { L ( f _ { 0 } - f _ { * } ) } { N } } .
|
| 117 |
+
$$
|
| 118 |
+
|
| 119 |
+
The factors of dimension $d$ have conveniently cancelled. This illustrates that there are problem geometries where mini-batch SIGNSGD does not pick up an unfavourable dimension dependence.
|
| 120 |
+
|
| 121 |
+
# 3.3 THE SUBTLETIES OF MINI-BATCH CONVERGENCE
|
| 122 |
+
|
| 123 |
+
Intuitively, the convergence analysis of SIGNSGD depends on the probability that a given bit of the sign stochastic gradient vector is incorrect, or $\mathbb { P } [ \mathrm { s i g n } ( \tilde { g } _ { i } ) \neq \mathrm { s i g n } ( g _ { i } ) ]$ . Lemma 1 provides a bound on this quantity under Assumption 4 (unimodal symmetric gradient noise).
|
| 124 |
+
|
| 125 |
+
Lemma 1 (Bernstein et al. (2018)). Let $\tilde { g } _ { i }$ be an unbiased stochastic approximation to gradient component $g _ { i }$ , with variance bounded by $\sigma _ { i } ^ { 2 }$ . Further assume that the noise distribution is unimodal and symmetric. Define signal-to-noise ratio $\begin{array} { r } { S _ { i } : = \frac { | g _ { i } | } { \sigma _ { i } } } \end{array}$ |gi| . Then we have that
|
| 126 |
+
|
| 127 |
+
$$
|
| 128 |
+
\begin{array} { r } { \mathbb { P } [ \mathrm { s i g n } ( \tilde { g } _ { i } ) \neq \mathrm { s i g n } ( g _ { i } ) ] \leq \left\{ \begin{array} { l l } { \frac { 2 } { 9 } \frac { 1 } { S _ { i } ^ { 2 } } \quad } & { i f S _ { i } > \frac { 2 } { \sqrt { 3 } } , } \\ { \frac { 1 } { 2 } - \frac { S _ { i } } { 2 \sqrt { 3 } } \quad } & { o t h e r w i s e } \end{array} \right. } \end{array}
|
| 129 |
+
$$
|
| 130 |
+
|
| 131 |
+
which is in all cases less than or equal to $\frac { 1 } { 2 }$
|
| 132 |
+
|
| 133 |
+
The bound characterises how the failure probability of a sign bit depends on the signal-to-noise ratio (SNR) of that gradient component. Intuitively as the SNR decreases, the quality of the sign estimate should degrade. The bound is important since it tells us that, under conditions of unimodal symmetric gradient noise, even at extremely low SNR we still have that $\mathbb { P } [ \mathrm { s i g n } ( \tilde { g } _ { i } ) \neq \mathrm { s i g n } ( g _ { i } ) ] \leq \frac { 1 } { 2 }$ . This means that even when the gradient is very small compared to the noise, the sign stochastic gradient still tells us, on average, useful information about the true gradient direction, allowing us to guarantee convergence as in Theorem 1.
|
| 134 |
+
|
| 135 |
+
Without Assumption 4, the mini-batch algorithm may not converge. This is best appreciated with a simple example. Consider a stochastic gradient component $\tilde { g }$ with bimodal noise:
|
| 136 |
+
|
| 137 |
+
$$
|
| 138 |
+
\tilde { g } = \left\{ \begin{array} { l l } { 5 0 } & { \mathrm { w i t h ~ p r o b a b i l i t y ~ 0 . 1 ; } } \\ { - 1 } & { \mathrm { w i t h ~ p r o b a b i l i t y ~ 0 . 9 . } } \end{array} \right.
|
| 139 |
+
$$
|
| 140 |
+
|
| 141 |
+
The true gradient $g = \mathbb { E } [ \tilde { g } ] = 4 . 1$ is positive. But the sign gradient $\mathrm { s i g n } ( \tilde { g } )$ is negative with probability 0.9. Therefore SIGNSGD will tend to move in the wrong direction for this noise distribution.
|
| 142 |
+
|
| 143 |
+
Note that SIGNSGD is a special case of the ADAM algorithm (Balles & Hennig, 2018). To see this, set $\beta _ { 1 } = \beta _ { 2 } = \epsilon = 0$ in ADAM, and the ADAM update becomes:
|
| 144 |
+
|
| 145 |
+
$$
|
| 146 |
+
- \frac { \tilde { g } } { \sqrt { \tilde { g } ^ { 2 } } } = - \frac { \tilde { g } } { | \tilde { g } | } = - \mathrm { s i g n } ( \tilde { g } )
|
| 147 |
+
$$
|
| 148 |
+
|
| 149 |
+
This correspondence suggests that Assumption 4 should be useful for obtaining mini-batch convergence guarantees for ADAM. Note that when Reddi et al. (2018) construct toy divergence examples for ADAM, they rely on bimodal noise distributions which violate Assumption 4.
|
| 150 |
+
|
| 151 |
+
We conclude this section by noting that without Assumption 4, SIGNSGD can still be guaranteed to converge. The trick is to use a “large” batch size that grows with the number of iterations. This will ensure that the algorithm stays in the high SNR regime where the failure probability of the sign bit is low. This is the approach taken by both Carlson et al. (2016) and Bernstein et al. (2018).
|
| 152 |
+
|
| 153 |
+
# 3.4 ROBUSTNESS OF CONVERGENCE
|
| 154 |
+
|
| 155 |
+
We will now study SIGNSGD’s robustness when distributed by majority vote. We model adversaries as machines that may manipulate their stochastic gradient as follows.
|
| 156 |
+
|
| 157 |
+
Definition 1 (Blind multiplicative adversary). A blind multiplicative adversary may manipulate their stochastic gradient estimate $\tilde { g } _ { t }$ at iteration $t$ by element-wise multiplying $\tilde { g } _ { t }$ with any vector $v _ { t }$ of their choice. The vector $v _ { t }$ must be chosen before observing $\tilde { g } _ { t }$ , so the adversary is ‘blind’. Some interesting members of this class are:
|
| 158 |
+
|
| 159 |
+
(i) adversaries that arbitrarily rescale their stochastic gradient estimate;
|
| 160 |
+
|
| 161 |
+
(ii) adversaries that randomise the sign of each coordinate of the stochastic gradient;
|
| 162 |
+
|
| 163 |
+
(iii) adversaries that invert their stochastic gradient estimate.
|
| 164 |
+
|
| 165 |
+
SGD is certainly not robust to rescaling since an adversary could set the gradient to infinity and corrupt the entire model. Our algorithm, on the other hand, is robust to all adversaries in this class. For ease of analysis, here we derive large batch results. We make sure to give results in terms of sample complexity $N$ (and not iteration number $K$ ) to enable fair comparison with other algorithms.
|
| 166 |
+
|
| 167 |
+
Theorem 2 (Non-convex convergence rate of majority vote with adversarial workers). Run algorithm 1 for $K$ iterations under Assumptions $^ { l }$ to 4. Switch off momentum and weight decay $\beta = \lambda = 0$ ). Set the learning rate, $\eta$ , and mini-batch size, $n ,$ , for each worker as
|
| 168 |
+
|
| 169 |
+
$$
|
| 170 |
+
\eta = \sqrt { \frac { f _ { 0 } - f _ { * } } { \| L \| _ { 1 } K } } , \qquad n = K .
|
| 171 |
+
$$
|
| 172 |
+
|
| 173 |
+
Assume that a fraction $\alpha < \textstyle { \frac { 1 } { 2 } }$ of the $M$ workers behave adversarially according to Definition 1. Then majority vote converges at rate:
|
| 174 |
+
|
| 175 |
+
$$
|
| 176 |
+
\left[ \frac { 1 } { K } \sum _ { k = 0 } ^ { K - 1 } \mathbb { E } \left\| g _ { k } \right\| _ { 1 } \right] ^ { 2 } \leq \frac { 4 } { \sqrt { N } } \left[ \frac { 1 } { 1 - 2 \alpha } \frac { \| \vec { \sigma } \| _ { 1 } } { \sqrt { M } } + \sqrt { \| L \| _ { 1 } ( f _ { 0 } - f ^ { * } ) } \right] ^ { 2 }
|
| 177 |
+
$$
|
| 178 |
+
|
| 179 |
+
where $N = K ^ { 2 }$ is the total number of stochastic gradient calls per worker up to step $K$
|
| 180 |
+
|
| 181 |
+
The result is intuitive: provided there are more machines sending honest gradients than adversarial gradients, we expect that the majority vote should come out correct on average.
|
| 182 |
+
|
| 183 |
+
Remark 1: if we switch off adversaries by setting the proportion of adversaries $\alpha = 0$ , this result reduces to Theorem 2 in (Bernstein et al., 2018). In this case, we note the $\textstyle { \frac { 1 } { \sqrt { M } } }$ variance reduction that majority vote obtains by distributing over $M$ machines, similar to distributed SGD.
|
| 184 |
+
|
| 185 |
+
Remark 2: the convergence rate degrades as we ramp up $\alpha$ from 0 to $\frac { 1 } { 2 }$
|
| 186 |
+
|
| 187 |
+
Remark 3: from an optimisation theory perspective, the large batch size is an advantage. This is because when using a large batch size, fewer iterations and rounds of communication are theoreti-√ cally needed to reach a desired accuracy, since only $\sqrt { N }$ iterations are needed to reach $N$ samples. But from a practical perspective, workers may be unable to handle such a large batch size in a timely manner. It should be possible to extend the result to the mini-batch setting by combining the techniques of Theorems 1 and 2, but we leave this for future work.
|
| 188 |
+
|
| 189 |
+
# 4 EXPERIMENTS
|
| 190 |
+
|
| 191 |
+
For our experiments, we distributed SIGNUM (Algorithm 1) by majority vote. SIGNUM is the momentum counterpart of SIGNSGD, where each worker maintains a momentum and transmits the sign momentum to the parameter server at each step. The addition of momentum to SIGNSGD is proposed and studied in (Balles & Hennig, 2018; Bernstein et al., 2018).
|
| 192 |
+
|
| 193 |
+
We built SIGNUM with majority vote in the Pytorch deep learning framework (Paszke et al., 2017) using the Gloo (2018) communication library. Unfortunately Pytorch and Gloo do not natively support 1-bit tensors, therefore we wrote our own compression code to bit-pack a sign tensor down to an efficient 1-bit representation. We obtained a performance boost by fusing together smaller tensors, which saved on compression and communication costs.
|
| 194 |
+
|
| 195 |
+

|
| 196 |
+
Figure 4: Timing breakdown for distributing on the cloud. Left: comparing communication (including compression) for training resnet50. Right: comparing communication (including compression) and computation. resnet50 results use 7 p3.2xlarge machines for training Imagenet, each at batch size 128. alexnet uses $7 { \mathrm { p } } 3$ .2xlarge machines for Imagenet, each at batch size 64. QRNN uses $3 \mathrm { p } 3 . 1 6 \mathrm { x } 1$ arge machines for training WikiText $- 1 0 3$ , each at batch size 240.
|
| 197 |
+
|
| 198 |
+

|
| 199 |
+
Figure 5: Imagenet comparison of SIGNUM with majority vote and SGD distributed with NCCL. We train resnet50 on Imagenet distributed over 7 to 15 AWS p3.2xlarge machines. Top: increasing the number of workers participating in the majority vote shows a similar convergence speedup to distributed SGD. But in terms of wall-clock time, majority vote training is roughly $2 5 \%$ faster for the same number of epochs. Bottom: in terms of generalisation accuracy, majority vote shows a slight degradation compared to SGD. Perhaps a better regularisation scheme can fix this.
|
| 200 |
+
|
| 201 |
+

|
| 202 |
+
Figure 6: Training QRNN across three $_ { \mathrm { p 3 . 1 6 x 1 } }$ arge machines on WikiText-103. Each machine uses a batch size of 240. For ADAM, the gradient is aggregated with NCCL. SIGNUM with majority vote shows some degradation compared to ADAM, although an epoch is completed roughly three times faster. This means that after 2 hours of training, SIGNUM attains a similar perplexity to ADAM. Increasing the per-worker batch size improved SIGNUM’s performance (see Appendix A), and increasing it beyond 240 may further improve SIGNUM’s performance. Note: the test perplexity beats training perplexity because dropout was applied during training but not testing.
|
| 203 |
+
|
| 204 |
+
# Bits sent per iteration
|
| 205 |
+
|
| 206 |
+
Majority vote $O ( M d )$ L2 QSGD $\operatorname { O } ( M ^ { 2 } { \sqrt { d } } \log d )$ max QSGD $O ( M d )$
|
| 207 |
+
|
| 208 |
+
For $d$ weights, $M$ machines.
|
| 209 |
+
Derivations in Appendix B.
|
| 210 |
+
|
| 211 |
+

|
| 212 |
+
Figure 7: Left: comparing convergence of majority vote to QSGD (Alistarh et al., 2017). resnet18 is trained on Cifar-10 across $M = 3$ machines, each at bach size 128. 1-bit QSGD stochastically snaps gradient components to $\{ 0 , \pm 1 \}$ . 2-way refers to the compression function $Q ( . )$ being applied in both directions of communication: machine $i$ sends $Q ( \tilde { g _ { i } } )$ to the server and gets $\begin{array} { r } { Q ( \sum _ { i = 1 } ^ { M } Q ( \tilde { g } _ { i } ) ) } \end{array}$ sent back. Alistarh et al. (2017) develop a theory for $L 2$ QSGD, but experimentally benchmark max QSGD which has much larger communication costs. For this experiment, 1-bit max QSGD gives roughly $5 \times$ more compression than the $3 2 \times$ compression of majority vote, but this further gain turns out to be small relative to the cost of backpropagation. See Appendix A for QSGD experiments at higher bit-precision. Right: the table gives a theoretical comparison of the compression cost of each algorithm—see Appendix B for derivations.
|
| 213 |
+
|
| 214 |
+

|
| 215 |
+
Figure 8: Imagenet robustness experiments. We used majority vote to train resnet50 distributed across 7 AWS $\mathtt { p 3 }$ . $2 \times 1$ arge machines. Adversaries invert their sign stochastic gradient. Left: all experiments are run at identical hyperparameter settings, with weight decay switched off for simplicity. The network still learns even at $43 \%$ adversarial. Right: at $43 \%$ adversarial, learning became slightly unstable. We decreased the learning rate for this setting, and learning stabilised.
|
| 216 |
+
|
| 217 |
+

|
| 218 |
+
Figure 9: Comparing the robustness of majority vote to MULTI-KRUM (Blanchard et al., 2017). We train resnet18 on Cifar-10 across 7 workers, each at batch size 64. Momentum and weight decay are switched off for simplicity, and for majority vote we divide the learning rate by 10 at epoch 100. Negative adversaries multiply their stochastic gradient estimate by $- 1 0$ . Random adversaries multiply their stochastic gradient estimate by 10 and then randomise the sign of each coordinate. For MULTI-KRUM, we use the maximum allowed security level of $f = 2$ . Notice that MULTI-KRUM fails catastrophically once the number of adversaries exceeds the security level, whereas majority vote fails more gracefully.
|
| 219 |
+
|
| 220 |
+
We test against SGD distributed using the state of the art NCCL (2018) communication library. NCCL provides an efficient implementation of allreduce. Our framework is often $4 \times$ faster in communication (including the cost of compression) than NCCL, as can be seen in Figure 4. Further code optimisation should bring the speedup closer to the ideal $3 2 \times$ .
|
| 221 |
+
|
| 222 |
+
# 4.1 COMMUNICATION EFFICIENCY
|
| 223 |
+
|
| 224 |
+
We first benchmark majority vote on the Imagenet dataset. We train a resnet50 model and disitribute learning over 7 to 15 AWS p3.2xlarge machines. These machines each contain one Nvidia Tesla V100 GPU, and AWS lists the connection speed between machines as “up to 10 Gbps”. Results are plotted in Figure 5. Per epoch, distributing by majority vote is able to attain a similar speedup to distributed SGD. But per hour majority vote is able to process more epochs than NCCL, meaning it can complete the 80 epoch training job roughly $2 5 \%$ faster. In terms of overall generalisation, majority vote reaches a slightly degraded test set accuracy. We hypothesise that this may be fixed by inventing a better regularisation scheme or tuning momentum, which we did not do.
|
| 225 |
+
|
| 226 |
+
In Figure 6 we compare majority vote to ADAM (distributed by NCCL) for training QRNN (Bradbury et al., 2017) on WikiText-103. Majority vote completes an epoch roughly 3 times faster than ADAM, but it reaches a degraded accuracy so that the overall test perplexity after 2 hours ends up being similar. In Figure 7 we show that majority vote has superior convergence to the ‘theory’ version of QSGD that Alistarh et al. (2017) develop. Convergence is similar for the ‘max’ version that Alistarh et al. (2017) use in their experiments. Additional results are given in Appendix A.
|
| 227 |
+
|
| 228 |
+
# 4.2 ROBUSTNESS
|
| 229 |
+
|
| 230 |
+
In this section we test the robustness of SIGNUM with majority vote to Byzantine faults. Again we run tests on the Imagenet dataset, training resnet50 across 7 AWS $\mathtt { p 3 }$ . $2 \times 1$ arge machines. Our adversarial workers take the sign of their stochastic gradient calculation, but send the negation to the parameter server. Our results are plotted in Figure 8. In the left hand plot, all experiments were carried out using hyperparameters tuned for the $0 \%$ adversarial case. Weight decay was not used in these experiments to simplify matters. We see that learning is tolerant of up to $43 \%$ (3 out of 7) machines behaving adversarially. The $43 \%$ adversarial case was slightly unstable (Figure 8, left), but re-tuning the learning rate for this specific case stabilised learning (Figure 8, right).
|
| 231 |
+
|
| 232 |
+
In Figure 9 we compare majority vote to MULTI-KRUM (Blanchard et al., 2017) with a security level of $f = 2$ . When the number of adversaries exceeds $f$ , MULTI-KRUM fails catastrophically in our experiments, whereas SIGNSGD fails more gracefully. Note that MULTI-KRUM requires $2 f + 2 < M$ , therefore $f = 2$ is the maximum possible security level for these experiments with $M = 7$ workers.
|
| 233 |
+
|
| 234 |
+
# 5 DISCUSSION AND CONCLUSION
|
| 235 |
+
|
| 236 |
+
We have analysed the theoretical and empirical properties of a very simple algorithm for distributed, stochastic optimisation. We have shown that SIGNSGD with majority vote aggregation is robust and communication efficient, whilst its per-iteration convergence rate is competitive with SGD for training large-scale convolutional neural nets on image datasets. We believe that it is important to understand this simple algorithm before going on to devise more complex learning algorithms.
|
| 237 |
+
|
| 238 |
+
An important takeaway from our theory is that mini-batch SIGNSGD should converge if the gradient noise is Gaussian. This means that the performance of SIGNSGD may be improved by increasing the per-worker mini-batch size, since this should make the noise ‘more Gaussian’ according to the Central Limit Theorem.
|
| 239 |
+
|
| 240 |
+
We will now give some possible directions for future work. Our implementation of majority vote may be further optimised by breaking up the parameter server and distributing it across machines. This would prevent a single machine from becoming a communication bottleneck as in our experiments. Though our framework speeds up Imagenet training, we still have a test set gap. Future work could attempt to devise new regularisation schemes for signed updates to close this gap. Promising future work could also explore the link between SIGNSGD and model compression. Signed updates force the weights to live on a lattice, facilitating compression of the resulting model.
|
| 241 |
+
|
| 242 |
+
# ACKNOWLEDGMENTS
|
| 243 |
+
|
| 244 |
+
We would like to thank Yu-Xiang Wang, Alexander Sergeev, Soumith Chintala, Pieter Noordhuis, Hongyi Wang, Scott Sievert and El Mahdi El Mhamdi for useful discussions.
|
| 245 |
+
|
| 246 |
+
KA is supported in part by NSF Career Award CCF-1254106. AA is supported in part by a Microsoft Faculty Fellowship, Google Faculty Award, Adobe Grant, NSF Career Award CCF-1254106, and AFOSR YIP FA9550-15-1-0221.
|
| 247 |
+
|
| 248 |
+
# REFERENCES
|
| 249 |
+
|
| 250 |
+
Dan Alistarh, Demjan Grubic, Jerry Li, Ryota Tomioka, and Milan Vojnovic. QSGD: Communication-Efficient SGD via Gradient Quantization and Encoding. In Advances in Neural Information Processing Systems (NIPS-17), 2017.
|
| 251 |
+
Dan Alistarh, Zeyuan Allen-Zhu, and Jerry Li. Byzantine Stochastic Gradient Descent. arXiv:1803.08917, 2018.
|
| 252 |
+
Zeyuan Allen-Zhu. Natasha 2: Faster Non-Convex Optimization Than SGD. arXiv:1708.08694, 2017.
|
| 253 |
+
Lukas Balles and Philipp Hennig. Dissecting Adam: The Sign, Magnitude and Variance of Stochastic Gradients. In International Conference on Machine Learning (ICML-18), 2018.
|
| 254 |
+
Jeremy Bernstein, Yu-Xiang Wang, Kamyar Azizzadenesheli, and Animashree Anandkumar. signSGD: Compressed Optimisation for Non-Convex Problems. In International Conference on Machine Learning (ICML-18), 2018.
|
| 255 |
+
Peva Blanchard, El Mahdi El Mhamdi, Rachid Guerraoui, and Julien Stainer. Machine Learning with Adversaries: Byzantine Tolerant Gradient Descent. In Advances in Neural Information Processing Systems (NIPS-17), 2017.
|
| 256 |
+
James Bradbury, Stephen Merity, Caiming Xiong, and Richard Socher. Quasi-Recurrent Neural Networks. In International Conference on Learning Representations (ICLR-17), 2017.
|
| 257 |
+
Francesco Paolo Cantelli. Sui confini della probabilit. Atti del Congresso Internazionale dei Matematici, 1928.
|
| 258 |
+
David Carlson, Ya-Ping Hsieh, Edo Collins, Lawrence Carin, and Volkan Cevher. Stochastic spectral descent for discrete graphical models. IEEE Journal of Selected Topics in Signal Processing, 10 (2):296–311, 2016.
|
| 259 |
+
El Mahdi El Mhamdi, Rachid Guerraoui, and Sebastien Rouault. The Hidden Vulnerability of ´ Distributed Learning in Byzantium. In International Conference on Machine Learning (ICML18), 2018.
|
| 260 |
+
Carl Friedrich Gauss. Theoria combinationis observationum erroribus minimis obnoxiae, pars prior. Commentationes Societatis Regiae Scientiarum Gottingensis Recentiores, 1823.
|
| 261 |
+
Gloo. Gloo Collective Communications Library, 2018. URL https://github.com/ facebookincubator/gloo. Accessed on 9/27/18.
|
| 262 |
+
J J Hopfield. Neural networks and physical systems with emergent collective computational abilities. Proceedings of the National Academy of Sciences, 1982.
|
| 263 |
+
Diederik P. Kingma and Jimmy Ba. Adam: A Method for Stochastic Optimization. In International Conference on Learning Representations (ICLR-15), 2015.
|
| 264 |
+
Yann LeCun, Yoshua Bengio, and Geoffrey Hinton. Deep learning. Nature, 521(7553):436, 2015.
|
| 265 |
+
Yujun Lin, Song Han, Huizi Mao, Yu Wang, and Bill Dally. Deep gradient compression: Reducing the communication bandwidth for distributed training. In International Conference on Learning Representations (ICLR-18), 2018.
|
| 266 |
+
|
| 267 |
+
NCCL. Nvidia Collective Communications Library, 2018. URL https://developer. nvidia.com/nccl. Accessed on 9/27/18.
|
| 268 |
+
|
| 269 |
+
Yurii Nesterov and B.T. Polyak. Cubic Regularization of Newton Method and its Global Performance. Mathematical Programming, 2006.
|
| 270 |
+
|
| 271 |
+
Adam Paszke, Sam Gross, Soumith Chintala, Gregory Chanan, Edward Yang, Zachary DeVito, Zeming Lin, Alban Desmaison, Luca Antiga, and Adam Lerer. Automatic Differentiation in PyTorch. In Advances in Neural Information Processing Systems, Autodiff Workshop (NIPS-17), 2017.
|
| 272 |
+
|
| 273 |
+
Friedrich Pukelsheim. The Three Sigma Rule. The American Statistician, 1994.
|
| 274 |
+
|
| 275 |
+
Sashank J. Reddi, Satyen Kale, and Sanjiv Kumar. On the Convergence of Adam and Beyond. In International Conference on Learning Representations (ICLR-18), 2018.
|
| 276 |
+
|
| 277 |
+
M. Riedmiller and H. Braun. A Direct Adaptive Method for Faster Backpropagation Learning: the RPROP Algorithm. In International Conference on Neural Networks (ICNN-93), pp. 586–591. IEEE, 1993.
|
| 278 |
+
|
| 279 |
+
Herbert Robbins and Sutton Monro. A Stochastic Approximation Method. The Annals of Mathematical Statistics, 1951.
|
| 280 |
+
|
| 281 |
+
Frank Seide, Hao Fu, Jasha Droppo, Gang Li, and Dong Yu. 1-Bit Stochastic Gradient Descent and Application to Data-Parallel Distributed Training of Speech DNNs. In Conference of the International Speech Communication Association (INTERSPEECH-14), 2014.
|
| 282 |
+
|
| 283 |
+
Tijmen Tieleman and Geoffrey Hinton. RMSprop. Coursera: Neural Networks for Machine Learning, Lecture 6.5, 2012.
|
| 284 |
+
|
| 285 |
+
TOP500. IBM Summit Supercomputer, 2018. URL https://www.top500.org/system/ 179397. Accessed on 9/19/18.
|
| 286 |
+
|
| 287 |
+
Hongyi Wang, Scott Sievert, Shengchao Liu, Zachary B. Charles, Dimitris S. Papailiopoulos, and Stephen Wright. ATOMO: Communication-efficient Learning via Atomic Sparsification. In Advances in Neural Information Processing Systems (NIPS-18), 2018.
|
| 288 |
+
|
| 289 |
+
Wei Wen, Cong Xu, Feng Yan, Chunpeng Wu, Yandan Wang, Yiran Chen, and Hai Li. TernGrad: Ternary Gradients to Reduce Communication in Distributed Deep Learning. In Advances in Neural Information Processing Systems (NIPS-17), 2017.
|
| 290 |
+
|
| 291 |
+
Dong Yin, Yudong Chen, Ramchandran Kannan, and Peter Bartlett. Byzantine-Robust Distributed Learning: Towards Optimal Statistical Rates. In International Conference on Machine Learning (ICML-18), 2018.
|
| 292 |
+
|
| 293 |
+

|
| 294 |
+
Figure 10: QSGD at varying levels of precision. Top row: L2 QSGD. Bottom row: max QSGD. resnet18 is trained on Cifar-10 across $M = 3$ machines, each at bach size 128. The one-way version of QSGD is used, meaning that the compression function is not re-applied after aggregation. The comparison is given in terms of number of epochs. A comparison in terms of wall-clock time will depend on details of the systems implementation.
|
| 295 |
+
|
| 296 |
+

|
| 297 |
+
Figure 11: SIGNUM at varying batch sizes. We use a single worker and train a QRNN model on WikiText $- 1 0 3$ . ADAM is shown for comparison, at batch size 60. The performance of SIGNUM is seen to improve with increasing batch size.
|
| 298 |
+
|
| 299 |
+
# B BITS SENT PER ITERATION: SIGNSGD VS. QSGD
|
| 300 |
+
|
| 301 |
+
In this section, we perform theoretical calculations of the number of bits sent per iteration in distributed training. We compare SIGNSGD using majority vote aggregation to two forms of QSGD (Alistarh et al., 2017). These calculations give the numbers in the table in Figure 7.
|
| 302 |
+
|
| 303 |
+
The communication cost of SIGNSGD with majority vote is trivially $2 M d$ bits per iterations, since at each iteration $M$ machines send $d$ -dimensional sign vectors up to the server, and the server sends back one $d$ -dimensional sign vector to all $M$ machines.
|
| 304 |
+
|
| 305 |
+
There are two variants of QSGD given in (Alistarh et al., 2017). The first we refer to as $L 2$ QSGD which is the version developed in the theory section of (Alistarh et al., 2017). The second we refer to as max QSGD which is the version actually used in their experiments. For each version we compute the number of bits sent for the highest compression version of the algorithm, which is a ternary quantisation (snapping gradient components into $\{ 0 , \pm 1 \} ,$ ). We refer to this as $^ { l }$ -bit QSGD. The higher precision versions of QSGD will send more bits per iteration.
|
| 306 |
+
|
| 307 |
+
1-bit L2 QSGD takes a gradient vector $g$ and snaps $i ^ { t h }$ coordinate $g _ { i }$ to $\mathrm { s i g n } ( g _ { i } )$ with probability $\frac { \left| g _ { i } \right| } { \left\| g \right\| _ { 2 } }$ and sets it to zero otherwise. Therefore the expected number of bits set to $\pm 1$ is bounded by
|
| 308 |
+
|
| 309 |
+
$$
|
| 310 |
+
\mathbb { E } [ \# \mathrm { b i t s } ] = \sum _ { i = 1 } { \frac { | g _ { i } | } { \| g \| _ { 2 } } } = { \frac { \| g \| _ { 1 } } { \| g \| _ { 2 } } } \leq { \sqrt { d } } .
|
| 311 |
+
$$
|
| 312 |
+
|
| 313 |
+
To send a vector compressed in this way, for each non-zero component 1 bit is needed to send the sign and $\log d$ bits are needed to send the index. Therefore sending a vector compressed by 1-bit L2√ QSGD requires at most ${ \sqrt { d } } ( 1 + \log d )$ bits.
|
| 314 |
+
|
| 315 |
+
In the experiments in Figure 7 we see that the ‘2-way’ version of 1-bit L2 QSGD (which recompresses the aggregated compressed gradients) converges very poorly. Therefore it makes sense to use the 1-way version where the aggregated compressed gradient is not recompressed. A sensible way to enact this is to have each of the $M$ workers broadcast their compressed gradient vector to all√ other workers. This has a cost of $( M - 1 ) { \sqrt { d } } ( 1 + \log d )$ bits for each of the $M$ workers, and from this we get the total cost of $\operatorname { O } ( M ^ { 2 } { \sqrt { d } } \log d )$ for 1-bit L2 QSGD.
|
| 316 |
+
|
| 317 |
+
The final algorithm to characterise is 1-bit max QSGD. 1-bit max QSGD takes a gradient vector $g$ and snaps $i ^ { t h }$ coordinate $g _ { i }$ to $\mathrm { s i g n } ( g _ { i } )$ with probability $\frac { | g _ { i } | } { \| g \| _ { \infty } }$ and sets it to zero otherwise. As noted in (Alistarh et al., 2017), there are no sparsity guarantees for this algorithm, so compression will generally be much lower than for 1-bit L2 QSGD.
|
| 318 |
+
|
| 319 |
+
It is easy to see that 1-bit max QSGD requires no more than ${ \mathrm { O } } ( d )$ bits to compress a $d$ -dimensional vector, since $2 d$ bits can always store $d$ numbers in $\{ 0 , \pm 1 \}$ . To see that we can’t generally do better than ${ \mathrm { O } } ( d )$ bits, notice that 1-bit max QSGD leaves sign vectors invariant, and thus the compressed form of a sign vector requires exactly $d$ bits. The natural way to enact 1-bit max QSGD is with a two-way compression where the $M$ workers each send an ${ \mathrm { O } } ( d )$ -bit compressed gradient up to the server, and the server sends back an ${ \mathrm { O } } ( d )$ -bit compressed aggregated result back to the $M$ workers. This gives a number of bits sent per iteration of ${ \bf O } ( M d )$ .
|
| 320 |
+
|
| 321 |
+
For very sparse vectors 1-bit max QSGD will compress much better than indicated above. For a vector $g$ with a single non-zero entry, 1-bit max QSGD will set this entry to 1 and keep the rest zero, thus requiring only $\log d$ bits to send the index of the non-zero entry. But it is not clear whether these extremely sparse vectors appear in deep learning problems. In the experiments in Figure 7, 1-bit max QSGD led to compressed vectors that were $5 \times$ more compressed than SIGNSGD—in our experimental setting this additional improvement turned out to be small relative to the time cost of backpropagation.
|
| 322 |
+
|
| 323 |
+
# C PROOFS
|
| 324 |
+
|
| 325 |
+
C.1 ACCURACY OF THE SIGN STOCHASTIC GRADIENT
|
| 326 |
+
|
| 327 |
+
Lemma 1 (Bernstein et al. (2018)). Let $\tilde { g } _ { i }$ be an unbiased stochastic approximation to gradient component $g _ { i }$ , with variance bounded by $\sigma _ { i } ^ { 2 }$ . Further assume that the noise distribution is unimodal and symmetric. Define signal-to-noise ratio $\begin{array} { r } { S _ { i } : = \frac { | g _ { i } | } { \sigma _ { i } } } \end{array}$ |gi| . Then we have that
|
| 328 |
+
|
| 329 |
+
$$
|
| 330 |
+
\begin{array} { r } { \mathbb { P } [ \mathrm { s i g n } ( \tilde { g } _ { i } ) \neq \mathrm { s i g n } ( g _ { i } ) ] \leq \left\{ \begin{array} { l l } { \frac { 2 } { 9 } \frac { 1 } { S _ { i } ^ { 2 } } \quad } & { i f S _ { i } > \frac { 2 } { \sqrt { 3 } } , } \\ { \frac { 1 } { 2 } - \frac { S _ { i } } { 2 \sqrt { 3 } } \quad } & { o t h e r w i s e } \end{array} \right. } \end{array}
|
| 331 |
+
$$
|
| 332 |
+
|
| 333 |
+
which is in all cases less than or equal to $\frac { 1 } { 2 }$
|
| 334 |
+
|
| 335 |
+
Proof. Recall Gauss’ inequality for unimodal random variable $\mathrm { X }$ with mode $\nu$ and expected squared deviation from the mode $\dot { \tau } ^ { 2 }$ (Gauss, 1823; Pukelsheim, 1994):
|
| 336 |
+
|
| 337 |
+
$$
|
| 338 |
+
\mathbb { P } [ | X - \nu | > k ] \leq \left\{ \begin{array} { l l } { \frac { 4 } { 9 } \frac { \tau ^ { 2 } } { k ^ { 2 } } \quad } & { \mathrm { i f ~ } \frac { k } { \tau } > \frac { 2 } { \sqrt { 3 } } , } \\ { 1 - \frac { k } { \sqrt { 3 } \tau } \quad } & { \mathrm { o t h e r w i s e } } \end{array} \right.
|
| 339 |
+
$$
|
| 340 |
+
|
| 341 |
+
By the symmetry assumption, the mode is equal to the mean, so we replace mean $\mu = \nu$ and variance $\sigma ^ { \bar { 2 } } = \tau ^ { \bar { 2 } }$ .
|
| 342 |
+
|
| 343 |
+
$$
|
| 344 |
+
\mathbb { P } [ | X - \mu | > k ] \leq \left\{ { \begin{array} { l l } { \frac { 4 } { 9 } \frac { \sigma ^ { 2 } } { k ^ { 2 } } \quad } & { \mathrm { ~ i f ~ } \frac { k } { \sigma } > \frac { 2 } { \sqrt { 3 } } , } \\ { 1 - \frac { k } { \sqrt { 3 } \sigma } \quad } & { \mathrm { ~ o t h e r w i s e } } \end{array} } \right.
|
| 345 |
+
$$
|
| 346 |
+
|
| 347 |
+
Without loss of generality assume that $g _ { i }$ is negative. Then applying symmetry followed by Gauss, the failure probability for the sign bit satisfies:
|
| 348 |
+
|
| 349 |
+
$$
|
| 350 |
+
\begin{array} { r l } { \mathbb { P } [ \mathrm { s i g n } ( \tilde { g } _ { i } ) \neq \mathrm { s i g n } ( g _ { i } ) ] = \mathbb { P } [ \tilde { g } _ { i } - g _ { i } \geq | g _ { i } | ] } & { } \\ { = \frac { 1 } { 2 } \mathbb { P } [ | \tilde { g } _ { i } - g _ { i } | \geq | g _ { i } | ] } & { } \\ { \leq \left\{ \begin{array} { l l } { \frac { 2 } { g } \frac { \sigma _ { i } ^ { 2 } } { g _ { i } ^ { 2 } } } & { \mathrm { ~ i f ~ } \frac { | g _ { i } | } { \sigma } > \frac { 2 } { \sqrt { 3 } } , } \\ { \frac { 1 } { 2 } - \frac { | g _ { i } | } { 2 \sqrt { 3 } \sigma _ { i } } } & { \mathrm { ~ o t h e r w i s e } } \end{array} \right. } & { } \\ { = \left\{ \begin{array} { l l } { \frac { 2 } { 9 } \frac { 1 } { S _ { i } ^ { 2 } } } & { \mathrm { ~ i f ~ } S _ { i } > \frac { 2 } { \sqrt { 3 } } , } \\ { \frac { 1 } { 2 } - \frac { S _ { i } } { 2 \sqrt { 3 } } } & { \mathrm { ~ o t h e r w i s e } } \end{array} \right. } \end{array}
|
| 351 |
+
$$
|
| 352 |
+
|
| 353 |
+
# C.2 MINI-BATCH CONVERGENCE GUARANTEES
|
| 354 |
+
|
| 355 |
+
Theorem 1 (Non-convex convergence rate of mini-batch SIGNSGD). Run the following algorithm for $K$ iterations under Assumptions $^ { l }$ to $^ { 4 }$ : $x _ { k + 1 } = x _ { k } - \eta \mathrm { s i g n } ( \tilde { g } _ { k } )$ . Set the learning rate, $\eta _ { ; }$ , and mini-batch size, $n$ , as
|
| 356 |
+
|
| 357 |
+
$$
|
| 358 |
+
\eta = \sqrt { \frac { f _ { 0 } - f _ { * } } { \| \vec { L } \| _ { 1 } K } } , \qquad n = 1 .
|
| 359 |
+
$$
|
| 360 |
+
|
| 361 |
+
Let i.e. $H _ { k }$ ent compone. We refer to at stepas the $k$ with large signal-to-noise ratio critical SNR’. Then we have $\begin{array} { r } { S _ { i } : = \frac { | g _ { k , i } | } { \sigma _ { i } } } \end{array}$ , $H _ { k } : = { \Big \{ } i { \Big | } S _ { i } > { \frac { 2 } { \sqrt { 3 } } } { \Big \} }$ $\frac { 2 } { \sqrt { 3 } }$
|
| 362 |
+
|
| 363 |
+
$$
|
| 364 |
+
\frac { 1 } { K } \sum _ { k = 0 } ^ { K - 1 } \mathbb { E } \left[ \sum _ { i \in { \cal H } _ { k } } \left. g _ { k , i } \right. + \sum _ { i \notin { \cal H } _ { k } } \frac { g _ { k , i } ^ { 2 } } { \sigma _ { i } } \right] \leq 3 \sqrt { \frac { \| \vec { L } \| _ { 1 } ( f _ { 0 } - f _ { * } ) } { N } } .
|
| 365 |
+
$$
|
| 366 |
+
|
| 367 |
+
where $N = K$ is the total number of stochastic gradient calls up to step $K$ .
|
| 368 |
+
|
| 369 |
+
Proof. First let’s bound the improvement of the objective during a single step of the algorithm for one instantiation of the noise. I[.] is the indicator function, $g _ { k , i }$ denotes the $\cdot ^ { \mathit { t h } }$ component of the true gradient $g ( x _ { k } )$ and $\tilde { g } _ { k }$ is a stochastic sample obeying Assumption 3.
|
| 370 |
+
|
| 371 |
+
First take Assumption 2, plug in the algorithmic step, and decompose the improvement to expose the stochasticity-induced error:
|
| 372 |
+
|
| 373 |
+
$$
|
| 374 |
+
\begin{array} { r l } { f _ { k + 1 } - f _ { k } \le g _ { k } ^ { T } ( x _ { k + 1 } - x _ { k } ) + \displaystyle \sum _ { i = 1 } ^ { d } \frac { L _ { i } } { 2 } ( x _ { k + 1 } - x _ { k } ) _ { i } ^ { 2 } } & { } \\ { \displaystyle = - \eta g _ { k } ^ { T } \mathbb { s i g n } ( \tilde { g } _ { k } ) + \eta ^ { 2 } \sum _ { i = 1 } ^ { d } \frac { L _ { i } } { 2 } } & { } \\ { \displaystyle = - \eta \| g _ { k } \| _ { 1 } + \frac { \eta ^ { 2 } } { 2 } \| \vec { L } \| _ { 1 } + 2 \eta \displaystyle \sum _ { i = 1 } ^ { d } | g _ { k , i } | \mathbb { I } [ \mathrm { s i g n } ( \tilde { g } _ { k , i } ) \neq \mathrm { s i g n } ( g _ { k , i } ) ] } \end{array}
|
| 375 |
+
$$
|
| 376 |
+
|
| 377 |
+
Next we find the expected improvement at time $k + 1$ conditioned on the previous iterate.
|
| 378 |
+
|
| 379 |
+
$$
|
| 380 |
+
\mathbb { E } [ f _ { k + 1 } - f _ { k } | x _ { k } ] \leq - \eta \| g _ { k } \| _ { 1 } + \frac { \eta ^ { 2 } } { 2 } \| \vec { L } \| _ { 1 } + 2 \eta \sum _ { i = 1 } ^ { d } | g _ { k , i } | \operatorname { \mathbb { P } } [ \mathrm { s i g n } ( \tilde { g } _ { k , i } ) \neq \mathrm { s i g n } ( g _ { k , i } ) ]
|
| 381 |
+
$$
|
| 382 |
+
|
| 383 |
+
By Assumption 4 and Lemma 1 we have the following bound on the failure probability of the sign:
|
| 384 |
+
|
| 385 |
+
$$
|
| 386 |
+
\begin{array} { r l } { \mathbb { P } [ \mathrm { s i g n } ( \tilde { g } _ { i } ) \neq \mathrm { s i g n } ( g _ { i } ) ] \leq \left\{ \frac { 2 } { 9 } \frac { 1 } { S _ { i } ^ { 2 } } \right. } & { \mathrm { ~ i f ~ } S _ { i } > \frac { 2 } { \sqrt { 3 } } , } \\ { \frac { 1 } { 2 } - \frac { S _ { i } } { 2 \sqrt { 3 } } ~ } & { \mathrm { ~ o t h e r w i s e ~ } } \\ { \leq \left\{ \begin{array} { l l } { \frac { 1 } { 6 } ~ } & { \mathrm { ~ i f ~ } S _ { i } > \frac { 2 } { \sqrt { 3 } } , } \\ { \frac { 1 } { 2 } - \frac { S _ { i } } { 2 \sqrt { 3 } } ~ } & { \mathrm { ~ o t h e r w i s e ~ } } \end{array} \right. } \end{array}
|
| 387 |
+
$$
|
| 388 |
+
|
| 389 |
+
Substituting this in, we get that
|
| 390 |
+
|
| 391 |
+
$$
|
| 392 |
+
\begin{array} { r l } & { \mathbb { E } [ f _ { k + 1 } - f _ { k } | x _ { k } ] \le - \eta \| g _ { k } \| _ { 1 } + \frac { \eta ^ { 2 } } { 2 } \| \vec { L } \| _ { 1 } + 2 \eta \displaystyle \sum _ { i \in { \cal H } _ { k } } \frac { | g _ { k , i } | } { 6 } + 2 \eta \displaystyle \sum _ { i \notin { \cal H } _ { k } } | g _ { k , i } | \left[ \frac { 1 } { 2 } - \frac { | g _ { k , i } | } { 2 \sqrt { 3 } \sigma _ { i } } \right] } \\ & { \qquad = - \eta \displaystyle \sum _ { i = 1 } ^ { d } | g _ { k , i } | + \frac { \eta ^ { 2 } } { 2 } \| \vec { L } \| _ { 1 } + \eta \displaystyle \sum _ { i \in { \cal H } _ { k } } \frac { | g _ { k , i } | } { 3 } + \eta \displaystyle \sum _ { i \notin { \cal H } _ { k } } | g _ { k , i } | - \eta \displaystyle \sum _ { i \notin { \cal H } _ { k } } \frac { g _ { k , i } ^ { 2 } } { \sqrt { 3 } \sigma _ { i } } } \\ & { \qquad = - \frac { 2 \eta } { 3 } \displaystyle \sum _ { i \in { \cal H } _ { k } } | g _ { k , i } | - \eta \displaystyle \sum _ { i \notin { \cal H } _ { k } } \frac { g _ { k , i } ^ { 2 } } { \sqrt { 3 } \sigma _ { i } } + \frac { \eta ^ { 2 } } { 2 } \| \vec { L } \| _ { 1 } } \end{array}
|
| 393 |
+
$$
|
| 394 |
+
|
| 395 |
+
Interestingly a mixture between an $\ell _ { 1 }$ and a variance weighted $\ell _ { 2 }$ norm has appeared. Now substitute in the learning rate schedule, and we get:
|
| 396 |
+
|
| 397 |
+
$$
|
| 398 |
+
\begin{array} { l } { \displaystyle \mathbb { E } [ f _ { k + 1 } - f _ { k } | x _ { k } ] \leq - \sqrt { \frac { f _ { 0 } - f _ { * } } { \| \vec { L } \| _ { 1 } K } } \Bigg [ \frac { 2 } { 3 } \sum _ { i \in H _ { k } } | g _ { k , i } | + \frac { 1 } { \sqrt { 3 } } \sum _ { i \notin H _ { k } } \frac { g _ { k , i } ^ { 2 } } { \sigma _ { i } } \Bigg ] + \frac { f _ { 0 } - f _ { * } } { 2 K } } \\ { \leq - \sqrt { \frac { f _ { 0 } - f _ { * } } { 3 \| \vec { L } \| _ { 1 } K } } \left[ \displaystyle \sum _ { i \in H _ { k } } | g _ { k , i } | + \displaystyle \sum _ { i \notin H _ { k } } \frac { g _ { k , i } ^ { 2 } } { \sigma _ { i } } \right] + \frac { f _ { 0 } - f _ { * } } { 2 K } } \end{array}
|
| 399 |
+
$$
|
| 400 |
+
|
| 401 |
+
Now extend the expectation over the randomness in the trajectory and telescope over the iterations:
|
| 402 |
+
|
| 403 |
+
$$
|
| 404 |
+
\begin{array} { r l } & { f _ { 0 } - f ^ { * } \geq f _ { 0 } - \mathbb { E } [ f _ { K } ] } \\ & { \qquad = \mathbb { E } \left[ \displaystyle \sum _ { k = 0 } ^ { K - 1 } f _ { k } - f _ { k + 1 } \right] } \\ & { \qquad \geq \sqrt { \displaystyle \frac { f _ { 0 } - f _ { * } } { 3 \| \vec { L } \| _ { 1 } K } } \displaystyle \sum _ { k = 0 } ^ { K - 1 } \mathbb { E } \left[ \displaystyle \sum _ { i \in H _ { k } } | g _ { k , i } | + \displaystyle \sum _ { i \notin H _ { k } } \frac { g _ { k , i } ^ { 2 } } { \sigma _ { i } } \right] - \frac { f _ { 0 } - f _ { * } } { 2 } } \end{array}
|
| 405 |
+
$$
|
| 406 |
+
|
| 407 |
+
Finally, rearrange and substitute in $N = K$ to yield the bound
|
| 408 |
+
|
| 409 |
+
$$
|
| 410 |
+
\frac { 1 } { K } \sum _ { k = 0 } ^ { K - 1 } \mathbb { E } \left[ \sum _ { i \in { \cal H } _ { k } } | g _ { k , i } | + \sum _ { i \notin { \cal H } _ { k } } \frac { g _ { k , i } ^ { 2 } } { \sigma _ { i } } \right] \leq \frac { 3 \sqrt { 3 } } { 2 } \sqrt { \frac { \| \vec { L } \| _ { 1 } ( f _ { 0 } - f _ { * } ) } { N } } \leq 3 \sqrt { \frac { \| \vec { L } \| _ { 1 } ( f _ { 0 } - f _ { * } ) } { N } } .
|
| 411 |
+
$$
|
| 412 |
+
|
| 413 |
+
# C.3 ROBUSTNESS OF MAJORITY VOTE
|
| 414 |
+
|
| 415 |
+
Theorem 2 (Non-convex convergence rate of majority vote with adversarial workers). Run algorithm 1 for $K$ iterations under Assumptions $^ { l }$ to 4. Switch off momentum and weight decay $\beta = \lambda = 0$ ). Set the learning rate, $\eta$ , and mini-batch size, $n _ { : }$ , for each worker as
|
| 416 |
+
|
| 417 |
+
$$
|
| 418 |
+
\eta = \sqrt { \frac { f _ { 0 } - f _ { * } } { \| L \| _ { 1 } K } } , \qquad n = K .
|
| 419 |
+
$$
|
| 420 |
+
|
| 421 |
+
Assume that a fraction $\alpha < \textstyle { \frac { 1 } { 2 } }$ of the $M$ workers behave adversarially according to Definition 1. Then majority vote converges at rate:
|
| 422 |
+
|
| 423 |
+
$$
|
| 424 |
+
\left[ \frac { 1 } { K } \sum _ { k = 0 } ^ { K - 1 } \mathbb { E } \left\| g _ { k } \right\| _ { 1 } \right] ^ { 2 } \leq \frac { 4 } { \sqrt { N } } \left[ \frac { 1 } { 1 - 2 \alpha } \frac { \| \vec { \sigma } \| _ { 1 } } { \sqrt { M } } + \sqrt { \| L \| _ { 1 } ( f _ { 0 } - f ^ { * } ) } \right] ^ { 2 }
|
| 425 |
+
$$
|
| 426 |
+
|
| 427 |
+
where $N = K ^ { 2 }$ is the total number of stochastic gradient calls per worker up to step $K$ .
|
| 428 |
+
|
| 429 |
+
Proof. We need to bound the failure probability of the vote. We can then use this bound to derive a convergence rate. We will begin by showing this bound is worst when the adversary inverts the signs of the sign stochastic gradient.
|
| 430 |
+
|
| 431 |
+
Given an adversary from the class of blind multiplicative adversaries (Definition 1), the adversary may manipulate their stochastic gradient estimate $\tilde { g } _ { t }$ into the form $v _ { t } \otimes \tilde { g } _ { t }$ . Here $v _ { t }$ is a vector of the adversary’s choosing, and $\otimes$ denotes element-wise multiplication. The sign of this quantity obeys:
|
| 432 |
+
|
| 433 |
+
$$
|
| 434 |
+
\operatorname { s i g n } ( v _ { t } \otimes { \tilde { g } } _ { t } ) = \operatorname { s i g n } ( v _ { t } ) \otimes \operatorname { s i g n } ( { \tilde { g } } _ { t } ) .
|
| 435 |
+
$$
|
| 436 |
+
|
| 437 |
+
Therefore, the only thing that matters is the sign of $v _ { t }$ , and rescaling attacks are immediately nullified. For each component of the stochastic gradient, the adversary must decide (without observing $g _ { t }$ , since the adversary is blind) whether or not they would like to invert the sign of that component. We will now show that the failure probability of the vote is always larger when the adversary decides to invert (by setting every component of $\mathrm { s i g n } ( v _ { t } )$ to $^ { - 1 }$ ). Our analysis will then proceed under this worst case.
|
| 438 |
+
|
| 439 |
+
For a gradient component with true value $g$ , let random variable $Z \in [ 0 , M ]$ denote the number of correct sign bits received by the parameter server. For a given adversary, we may decompose $Z$ into the contribution from that adversary and a residual term $X$ from the remaining workers (both regular and adversarial):
|
| 440 |
+
|
| 441 |
+
$$
|
| 442 |
+
Z ( \operatorname { s i g n } ( v ) ) = X + \mathbb { I } [ \operatorname { s i g n } ( v ) \operatorname { s i g n } ( { \tilde { g } } ) = \operatorname { s i g n } ( \operatorname { g } ) ] ,
|
| 443 |
+
$$
|
| 444 |
+
|
| 445 |
+
where $\tilde { g }$ is the adversary’s stochastic gradient estimate for that component, $v$ is the adversary’s chosen scalar for that component, and $\mathbb { I }$ is the 0-1 indicator function. We are considering $\textsf { Z }$ to be a function of $\mathrm { s i g n } ( v )$ .
|
| 446 |
+
|
| 447 |
+
But by Assumption 4 and Lemma 1, we see that $\mathbb { I } [ + 1 \times \mathrm { s i g n } ( \tilde { g } ) = \mathrm { s i g n } ( \mathrm { g } ) ]$ is a Bernoulli random variable with success probability $\begin{array} { r } { p \geq \frac { 1 } { 2 } } \end{array}$ . On the other hand, $\mathbb { I } [ - 1 \times \mathrm { s i g n } ( \tilde { g } ) = \mathrm { s i g n } ( \mathrm { g } ) ]$ is a Bernoulli random variable with success probability $\begin{array} { r } { q = 1 - p \leq \frac { 1 } { 2 } } \end{array}$ .
|
| 448 |
+
|
| 449 |
+
The essential quantity in our analysis is the probability that more than half the workers provide the correct sign bit. But from the preceding discussion, this clearly obeys:
|
| 450 |
+
|
| 451 |
+
$$
|
| 452 |
+
\begin{array} { r l } { { \mathbb { P } \bigg [ Z ( + 1 ) \leq \frac { M } { 2 } \bigg ] = \mathbb { P } \bigg [ X + \mathbb { I } [ + 1 \times \mathrm { s i g n } ( \tilde { g } ) = \mathrm { s i g n } ( \mathrm { g } ) ] \leq \frac { M } { 2 } \bigg ] } } \\ & { \leq \mathbb { P } \bigg [ X + \mathbb { I } [ - 1 \times \mathrm { s i g n } ( \tilde { g } ) = \mathrm { s i g n } ( \mathrm { g } ) ] \leq \frac { M } { 2 } \bigg ] } \\ & { = \mathbb { P } \bigg [ Z ( - 1 ) \leq \frac { M } { 2 } \bigg ] . } \end{array}
|
| 453 |
+
$$
|
| 454 |
+
|
| 455 |
+
As we will see below, the implication of this is that our bounds always worse under the setting $v = - 1$ , and so we will adopt $v = - 1$ hereon. It is worth remarking that blindness in the definition of blind multiplicative adversaries is important to ensure that $\mathbb { I } [ \mathrm { s i g n } ( v ) \mathrm { s i g n } ( \tilde { g } ) = \mathrm { s i g n } ( \mathrm { g } ) ]$ is indeed a random variable as described above. Were the adversary not blind, then the adversary could in effect deterministically set $\mathrm { s i g n } ( v ) \mathrm { s i g n } ( \tilde { g } )$ . Cooperative adversaries, for example, could use this power to control the vote.
|
| 456 |
+
|
| 457 |
+
Now we restrict to our worst case blind multiplicative adversaries, that always choose to invert their sign stochastic gradient estimate. So, we have $( 1 - \alpha ) M$ good machines and $\alpha M$ adversaries. The good workers each compute a stochastic gradient estimate, take its sign and transmit this to the server. The bad workers follow an identical procedure except they negate their sign bits prior to transmission to the server. It is intuitive that because the proportion of adversaries $\begin{array} { r } { \bar { \alpha ^ { } } < \frac { 1 } { 2 } } \end{array}$ , the good workers will win the vote on average. To make this rigorous, we will need Lemma 1 and Cantelli’s inequality. Cantelli (1928) tells us that for a random variable $X$ with mean $\mu$ and variance $\sigma ^ { 2 }$ :
|
| 458 |
+
|
| 459 |
+
$$
|
| 460 |
+
\mathbb { P } [ \mu - X \geq | \lambda | ] \leq \frac { 1 } { 1 + \frac { \lambda ^ { 2 } } { \sigma ^ { 2 } } }
|
| 461 |
+
$$
|
| 462 |
+
|
| 463 |
+
For a given gradient component, again let random variable $Z \in [ 0 , M ]$ denote the number of correct sign bits received by the parameter server. Let random variables $G$ and $B$ denote the number of good and bad workers (respectively) who (possibly inadvertently) sent the correct sign bit. Then, letting $p$ be the probability that a good worker computed the correct sign bit, $q : = 1 - p$ and $\begin{array} { r } { \epsilon : = p - \frac { 1 } { 2 } } \end{array}$ we can decompose $Z$ as follows:
|
| 464 |
+
|
| 465 |
+
$$
|
| 466 |
+
\begin{array} { l } { { \displaystyle Z = G + B } } \\ { { \displaystyle G \sim \mathrm { b i n o m i a l } [ ( 1 - \alpha ) M , p ] } } \\ { { \displaystyle B \sim \mathrm { b i n o m i a l } [ \alpha M , q ] } } \\ { { \displaystyle \mathbb { E } [ Z ] = ( 1 - \alpha ) M p + \alpha M q = \frac { M } { 2 } + ( 1 - 2 \alpha ) M \epsilon } } \\ { { \displaystyle \mathrm { V a r } [ Z ] = ( 1 - \alpha ) M p q + \alpha M p q = M \biggl ( \frac { 1 } { 4 } - \epsilon ^ { 2 } \biggr ) . } } \end{array}
|
| 467 |
+
$$
|
| 468 |
+
|
| 469 |
+
The vote only fails if $Z < \frac { M } { 2 }$ which happens with probability
|
| 470 |
+
|
| 471 |
+
since $1 + x ^ { 2 } \geq 2 x$
|
| 472 |
+
|
| 473 |
+
$$
|
| 474 |
+
\begin{array} { r l } { \mathbb { P } \bigg [ Z \leq \frac { M } { 2 } \bigg ] = \mathbb { P } \bigg [ \mathbb { E } [ Z ] - Z \geq \mathbb { E } [ Z ] - \frac { M } { 2 } \bigg ] } & { } \\ { \leq \frac { 1 } { 1 + \frac { ( \frac { 2 } { \sqrt { | Z | } - \frac { M } { \delta } \big ] ^ { 2 } } } { \sqrt { \kappa ( \frac { \sqrt { | Z | } } { \delta } ) ^ { 2 } } } } } & { } \\ { \leq \frac { 1 } { 2 } \sqrt { \frac { \mathbb { V } \times [ Z ] } { ( \mathbb { E } [ Z ] - \frac { M } { 2 } ) ^ { 2 } } } } & { } \\ { = \frac { 1 } { 2 } \sqrt { \frac { M \big ( \frac { 1 } { 4 } - \epsilon ^ { 2 } \big ) } { ( 1 - 2 \alpha ) ^ { 2 } M ^ { 2 } \epsilon ^ { 2 } } } } & { } \\ { = \frac { 1 } { 2 } \frac { \sqrt { \frac { 1 } { 4 \epsilon ^ { 2 } } - 1 } } { ( 1 - 2 \alpha ) \sqrt { M } } } & { } \end{array}
|
| 475 |
+
$$
|
| 476 |
+
|
| 477 |
+
by Cantelli’s inequality
|
| 478 |
+
|
| 479 |
+
We now need to substitute in a bound on $\epsilon$ . Assumption 4 and Lemma 1 tell us that
|
| 480 |
+
|
| 481 |
+
$$
|
| 482 |
+
\epsilon = \frac { 1 } { 2 } - q \geq \left\{ \begin{array} { l l } { \frac { 1 } { 2 } - \frac { 2 } { 9 } \frac { 1 } { S ^ { 2 } } \quad } & { \mathrm { i f } \ : S > \frac { 2 } { \sqrt { 3 } } , } \\ { \frac { S } { 2 \sqrt { 3 } } \quad } & { \mathrm { o t h e r w i s e . } } \end{array} \right.
|
| 483 |
+
$$
|
| 484 |
+
|
| 485 |
+
Froand $\begin{array} { r } { \frac { 1 } { 4 \epsilon ^ { 2 } } - 1 \le \frac { 3 } { S ^ { 2 } } - 1 < \frac { 4 } { S ^ { 2 } } } \end{array}$ t 142 − 1 < 4S2 as follows. First take the case S ≤ the case $S > \frac { 2 } { \sqrt { 3 } }$ . Then $\epsilon \geq \frac { 1 } { 2 } - \frac { 2 } { 9 } \frac { 1 } { S ^ { 2 } }$ Then and $\begin{array} { r } { \epsilon ^ { 2 } \geq \frac { S ^ { 2 } } { 1 2 } } \end{array}$ $\begin{array} { r } { \frac { 1 } { 4 \epsilon ^ { 2 } } - 1 \leq \frac { 1 } { S ^ { 2 } } \frac { \frac { 8 } { 9 } - \frac { 1 6 } { 8 1 } \frac { 1 } { S ^ { 2 } } } { 1 - \frac { 8 } { 9 } \frac { 1 } { S ^ { 2 } } + \frac { 1 6 } { 8 1 } \frac { 1 } { S ^ { 4 } } } < \frac { 1 } { S ^ { 2 } } \frac { \frac { 8 } { 9 } } { 1 - \frac { 8 } { 9 } \frac { 1 } { S ^ { 2 } } } < \frac { 4 } { S ^ { 2 } } } \end{array}$ by the condition on $S$ .
|
| 486 |
+
|
| 487 |
+
We have now completed the first part of the proof by showing the key statement that for the $i ^ { t h }$ gradient component with signal to noise ratio $\begin{array} { r } { S _ { i } : = \frac { | g _ { i } | } { \sigma _ { i } } } \end{array}$ |gi| , the failure probability of the majority vote is bounded by
|
| 488 |
+
|
| 489 |
+
$$
|
| 490 |
+
\mathbb { P } [ \mathrm { v o t e ~ f a i l s ~ f o r ~ } i ^ { t h } \mathrm { \ c o o r d i n a t e } ] = \mathbb { P } \bigg [ Z _ { i } \leq \frac { M } { 2 } \bigg ] \leq \frac { 1 } { ( 1 - 2 \alpha ) \sqrt { M } S _ { i } }
|
| 491 |
+
$$
|
| 492 |
+
|
| 493 |
+
The second stage of the proof will proceed by straightforwardly substituting this bound into the convergence analysis of SIGNSGD from Bernstein et al. (2018).
|
| 494 |
+
|
| 495 |
+
First let’s bound the improvement of the objective during a single step of the algorithm for one instantiation of the noise. I[.] is the indicator function, ${ g } _ { k , i }$ denotes the $i ^ { t h }$ component of the true gradient $g ( x _ { k } )$ and $\mathrm { s i g n } ( V _ { k } )$ is the outcome of the vote at the $k ^ { t h }$ iteration.
|
| 496 |
+
|
| 497 |
+
First take Assumption 2, plug in the step from Algorithm 1, and decompose the improvement to expose the error induced by stochasticity and adversarial workers:
|
| 498 |
+
|
| 499 |
+
$$
|
| 500 |
+
\begin{array} { r l } { f _ { k + 1 } - f _ { k } \le g _ { k } ^ { T } ( x _ { k + 1 } - x _ { k } ) + \displaystyle \sum _ { i = 1 } ^ { d } \frac { L _ { i } } { 2 } ( x _ { k + 1 } - x _ { k } ) _ { i } ^ { 2 } } & { } \\ { \displaystyle = - \eta g _ { k } ^ { T } \mathrm { s i g n } ( V _ { k } ) + \eta ^ { 2 } \sum _ { i = 1 } ^ { d } \frac { L _ { i } } { 2 } } & { } \\ { \displaystyle = - \eta \| g _ { k } \| _ { 1 } + \frac { \eta ^ { 2 } } { 2 } \| \vec { L } \| _ { 1 } + 2 \eta \displaystyle \sum _ { i = 1 } ^ { d } | g _ { k , i } | \mathbb { I } [ \mathrm { s i g n } ( V _ { k , i } ) \neq \mathrm { s i g n } ( g _ { k , i } ) ] } & { } \end{array}
|
| 501 |
+
$$
|
| 502 |
+
|
| 503 |
+
Next we find the expected improvement at time $k + 1$ conditioned on the previous iterate.
|
| 504 |
+
|
| 505 |
+
$$
|
| 506 |
+
\mathbb { E } [ f _ { k + 1 } - f _ { k } | x _ { k } ] \leq - \eta \| g _ { k } \| _ { 1 } + \frac { \eta ^ { 2 } } { 2 } \| \vec { L } \| _ { 1 } + 2 \eta \sum _ { i = 1 } ^ { d } | g _ { k , i } | \operatorname { \mathbb { P } } [ \mathrm { s i g n } ( V _ { k , i } ) \neq \mathrm { s i g n } ( g _ { k , i } ) ]
|
| 507 |
+
$$
|
| 508 |
+
|
| 509 |
+
From $( \star )$ , we have that the probability of the vote failing for the $i ^ { t h }$ coordinate is bounded by
|
| 510 |
+
|
| 511 |
+
$$
|
| 512 |
+
\mathbb { P } [ \mathrm { s i g n } ( V _ { k , i } ) \neq \mathrm { s i g n } ( g _ { k , i } ) ] \leq \frac { \sigma _ { k , i } } { ( 1 - 2 \alpha ) \sqrt { M } | g _ { k , i } | }
|
| 513 |
+
$$
|
| 514 |
+
|
| 515 |
+
where $\sigma _ { k , i }$ refers to the variance of the $k ^ { t h }$ stochastic gradient estimate, computed over a mini-batch√ of size $n$ . Therefore, by Assumption 3, we have that $\bar { \sigma } _ { k , i } \leq \sigma _ { i } / \sqrt { n }$ .
|
| 516 |
+
|
| 517 |
+
We now substitute these results and our learning rate and mini-batch settings into the expected improvement:
|
| 518 |
+
|
| 519 |
+
$$
|
| 520 |
+
\begin{array} { l } { \displaystyle \mathbb { E } [ f _ { k + 1 } - f _ { k } | x _ { k } ] \leq - \eta \| g _ { k } \| _ { 1 } + \frac { 2 \eta } { \sqrt { n } } \frac { \| \vec { \sigma } \| _ { 1 } } { ( 1 - 2 \alpha ) \sqrt { M } } + \frac { \eta ^ { 2 } } { 2 } \| \vec { L } \| _ { 1 } } \\ { \displaystyle \qquad = - \sqrt { \frac { f _ { 0 } - f _ { * } } { \| L \| _ { 1 } K } } \| g _ { k } \| _ { 1 } + 2 \sqrt { \frac { f _ { 0 } - f _ { * } } { \| L \| _ { 1 } K ^ { 2 } } } \frac { \| \vec { \sigma } \| _ { 1 } } { ( 1 - 2 \alpha ) \sqrt { M } } + \frac { f _ { 0 } - f _ { * } } { 2 K } } \end{array}
|
| 521 |
+
$$
|
| 522 |
+
|
| 523 |
+
Now extend the expectation over randomness in the trajectory, and perform a telescoping sum over the iterations:
|
| 524 |
+
|
| 525 |
+
$$
|
| 526 |
+
\begin{array} { r l } { f _ { 0 } - f ^ { * } \geq f _ { 0 } - \mathbb { E } [ f _ { K } ] } & { } \\ & { \qquad = \displaystyle \sum _ { k = 0 } ^ { K - 1 } \mathbb { E } [ f _ { k } - f _ { k + 1 } ] } \\ & { \qquad \geq \displaystyle \sum _ { k = 0 } ^ { K - 1 } \mathbb { E } \left[ \sqrt { \frac { f _ { 0 } - f _ { * } } { \| L \| _ { 1 } K } } \| g _ { k } \| _ { 1 } - 2 \sqrt { \frac { f _ { 0 } - f _ { * } } { \| L \| _ { 1 } K ^ { 2 } } } \frac { \| \vec { \sigma } \| _ { 1 } } { ( 1 - 2 \alpha ) \sqrt { M } } - \frac { f _ { 0 } - f _ { * } } { 2 K } \right] } \\ & { \qquad = \displaystyle \sqrt { \frac { K ( f _ { 0 } - f _ { * } ) } { \| L \| _ { 1 } } } \mathbb { E } \left[ \frac { 1 } { K } \sum _ { k = 0 } ^ { K - 1 } \| g _ { k } \| _ { 1 } \right] - 2 \sqrt { \frac { f _ { 0 } - f _ { * } } { \| L \| _ { 1 } } } \frac { \| \vec { \sigma } \| _ { 1 } } { ( 1 - 2 \alpha ) \sqrt { M } } - \frac { f _ { 0 } - f _ { * } } { 2 } } \end{array}
|
| 527 |
+
$$
|
| 528 |
+
|
| 529 |
+
We can rearrange this inequality to yield the rate:
|
| 530 |
+
|
| 531 |
+
$$
|
| 532 |
+
\frac { 1 } { K } \sum _ { k = 0 } ^ { K - 1 } \mathbb { E } \| g _ { k } \| _ { 1 } \leq \frac { 1 } { \sqrt { K } } \bigg [ 2 \frac { \| \vec { \sigma } \| _ { 1 } } { ( 1 - 2 \alpha ) \sqrt { M } } + \frac { 3 } { 2 } \sqrt { \| L \| _ { 1 } ( f _ { 0 } - f ^ { * } ) } \bigg ]
|
| 533 |
+
$$
|
| 534 |
+
|
| 535 |
+
$$
|
| 536 |
+
\mathbb { E } \bigg [ \frac { 1 } { K } \sum _ { k = 0 } ^ { K - 1 } \| g _ { k } \| _ { 1 } \bigg ] \leq \frac { 1 } { \sqrt { K } } \bigg [ \frac { 3 } { 2 } \sqrt { \| L \| _ { 1 } } ( f _ { 0 } - f _ { * } ) + 2 \| \vec { \sigma } \| _ { 1 } \bigg ]
|
| 537 |
+
$$
|
| 538 |
+
|
| 539 |
+
Since we are growing our mini-batch size, it will take $N = O ( K ^ { 2 } )$ gradient calls to reach step $K$ Substitute this in on the right hand side, square the result, use that ${ \frac { 3 } { 2 } } < 2$ , and we are done:
|
| 540 |
+
|
| 541 |
+
$$
|
| 542 |
+
\left[ \frac { 1 } { K } \sum _ { k = 0 } ^ { K - 1 } \mathbb { E } \left\| g _ { k } \right\| _ { 1 } \right] ^ { 2 } \leq \frac { 4 } { \sqrt { N } } \left[ \frac { \| \vec { \sigma } \| _ { 1 } } { ( 1 - 2 \alpha ) \sqrt { M } } + \sqrt { \| L \| _ { 1 } ( f _ { 0 } - f ^ { * } ) } \right] ^ { 2 }
|
| 543 |
+
$$
|
parse/train/BJxhijAcY7/BJxhijAcY7_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/BJxhijAcY7/BJxhijAcY7_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/BJxhijAcY7/BJxhijAcY7_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/ByIAPUcee/ByIAPUcee.md
ADDED
|
@@ -0,0 +1,232 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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|
+
Michał Daniluk, Tim Rocktaschel, Johannes Welbl & Sebastian Riedel ¨
|
| 4 |
+
|
| 5 |
+
Department of Computer Science
|
| 6 |
+
University College London
|
| 7 |
+
michal.daniluk.15@ucl.ac.uk,
|
| 8 |
+
{t.rocktaschel,j.welbl,s.riedel}@cs.ucl.ac.uk
|
| 9 |
+
|
| 10 |
+
# ABSTRACT
|
| 11 |
+
|
| 12 |
+
Neural language models predict the next token using a latent representation of the immediate token history. Recently, various methods for augmenting neural language models with an attention mechanism over a differentiable memory have been proposed. For predicting the next token, these models query information from a memory of the recent history which can facilitate learning mid- and long-range dependencies. However, conventional attention mechanisms used in memoryaugmented neural language models produce a single output vector per time step. This vector is used both for predicting the next token as well as for the key and value of a differentiable memory of a token history. In this paper, we propose a neural language model with a key-value attention mechanism that outputs separate representations for the key and value of a differentiable memory, as well as for encoding the next-word distribution. This model outperforms existing memoryaugmented neural language models on two corpora. Yet, we found that our method mainly utilizes a memory of the five most recent output representations. This led to the unexpected main finding that a much simpler model based only on the concatenation of recent output representations from previous time steps is on par with more sophisticated memory-augmented neural language models.
|
| 13 |
+
|
| 14 |
+
# 1 INTRODUCTION
|
| 15 |
+
|
| 16 |
+
At the core of language models (LMs) is their ability to infer the next word given a context. This requires representing context-specific dependencies in a sequence across different time scales. On the one hand, classical $N$ -gram language models capture relevant dependencies between words in short time distances explicitly, but suffer from data sparsity. Neural language models, on the other hand, maintain and update a dense vector representation over a sequence where time dependencies are captured implicitly (Mikolov et al., 2010). A recent extension of neural sequence models are attention mechanisms (Bahdanau et al., 2015), which can capture long-range connections more directly. However, we argue that applying such an attention mechanism directly to neural language models requires output vectors to fulfill several purposes at the same time: they need to (i) encode a distribution for predicting the next token, (ii) serve as a key to compute the attention vector, as well as (iii) encode relevant content to inform future predictions.
|
| 17 |
+
|
| 18 |
+
We hypothesize that such overloaded use of output representations makes training the model difficult and propose a modification to the attention mechanism which separates these functions explicitly, inspired by Miller et al. (2016); Ba et al. (2016); Reed & de Freitas (2015); Gulcehre et al. (2016). Specifically, at every time step our neural language model outputs three vectors. The first is used to encode the next-word distribution, the second serves as key, and the third as value for an attention mechanism. We term the model key-value-predict attention and show that it outperforms existing memory-augmented neural language models on the Children’s Book Test (CBT, Hill et al., 2016) and a new corpus of 7500 Wikipedia articles. However, we observed that this model pays attention mainly to the previous five memories. We thus also experimented with a much simpler model that only uses a concatenation of output vectors from the previous time steps for predicting the next token. This simple model is on par with more sophisticated memory-augmented neural language models. Thus, our main finding is that modeling short attention spans properly works well and provides notable improvements over a neural language model with attention. Conversely, it seems to be notoriously hard to train neural language models to leverage long-range dependencies.
|
| 19 |
+
|
| 20 |
+

|
| 21 |
+
Figure 1: Memory-augmented neural language modelling architectures.
|
| 22 |
+
|
| 23 |
+
In this paper, we investigate various memory-augmented neural language models and compare them against previous architectures. Our contributions are threefold: (i) we propose a key-value attention mechanism that uses specific output representations for querying a sliding-window memory of previous token representations, (ii) we demonstrate that while this new architecture outperforms previous memory-augmented neural language models, it mainly utilizes a memory of the previous five representations, and finally (iii) based on this observation we experiment with a much simpler but effective model that uses the concatenation of three previous output representations to predict the next word.
|
| 24 |
+
|
| 25 |
+
# 2 METHODS
|
| 26 |
+
|
| 27 |
+
In the following, we discuss methods for extending neural language models with differentiable memory. We first present a standard attention mechanism for language modeling (§2.1). Subsequently, we introduce two methods for separating the usage of output vectors in the attention mechanism: (i) using a dedicated key and value (§2.2), and (ii) further separating the value into a memory value and a representation that encodes the next-word distribution (§2.3). Finally, we describe a very simple method that concatenates previous output representations for predicting the next token (§2.4).
|
| 28 |
+
|
| 29 |
+
# 2.1 ATTENTION FOR NEURAL LANGUAGE MODELING
|
| 30 |
+
|
| 31 |
+
Augmenting a neural language model with attention (Bahdanau et al., 2015) is straight-forward. We simply take the previous $L$ output vectors as memory $Y _ { t } = [ \pmb { h } _ { t - L } \ \cdot \ \cdot \ \pmb { h } _ { t - 1 } ] \in \mathbb { R } ^ { k \times \tilde { L } }$ where $k$ is the output dimension of a Long Short-Term Memory (LSTM) unit (Hochreiter & Schmidhuber, 1997). This memory could in principle contain all previous output representations, but for practical reasons we only keep a sliding window of the previous $L$ outputs. Let $\boldsymbol { h } _ { t } \in \mathbb { R } ^ { k }$ be the output representation at time step $t$ and $\mathbf { 1 } \in \mathbb { R } ^ { L }$ be a vector of ones.
|
| 32 |
+
|
| 33 |
+
The attention weights $\pmb { \alpha } \in \mathbb { R } ^ { L }$ are computed from a comparison of the current and previous LSTM outputs. Subsequently, the context vector $\boldsymbol { r } _ { t } \in \mathbb { R } ^ { k }$ is calculated from a sum over previous output vectors weighted by their respective attention value. This can be formulated as
|
| 34 |
+
|
| 35 |
+
$$
|
| 36 |
+
\begin{array} { r l } & { M _ { t } = \operatorname { t a n h } ( W ^ { Y } Y _ { t } + ( W ^ { h } h _ { t } ) \mathbf { 1 } ^ { T } ) } \\ & { ~ \alpha _ { t } = \operatorname { s o f t m a x } ( \pmb { w } ^ { T } M _ { t } ) } \\ & { ~ { \pmb { r } _ { t } } = { \pmb { Y } _ { t } } \pmb { \alpha } ^ { T } } \end{array}
|
| 37 |
+
$$
|
| 38 |
+
|
| 39 |
+
$$
|
| 40 |
+
\begin{array} { l } { \in \mathbb { R } ^ { k \times L } } \\ { \in \mathbb { R } ^ { 1 \times L } } \\ { \in \mathbb { R } ^ { k } } \end{array}
|
| 41 |
+
$$
|
| 42 |
+
|
| 43 |
+
where $W ^ { Y }$ , $W ^ { h } \in \mathbb { R } ^ { k \times k }$ are trainable projection matrices and $\mathbf { \boldsymbol { w } } \in \mathbb { R } ^ { k }$ is a trainable vector. The final representation that encodes the next-word distribution is computed from a non-linear combination of the attention-weighted representation $\mathbf { \nabla } _ { \mathbf { \boldsymbol { r } } _ { t } }$ of previous outputs and the final output vector $\boldsymbol { h } _ { t }$ via
|
| 44 |
+
|
| 45 |
+
$$
|
| 46 |
+
\begin{array} { r } { \pmb { h } _ { t } ^ { * } = \operatorname { t a n h } ( \pmb { W } ^ { r } \pmb { r } _ { t } + \pmb { W } ^ { x } \pmb { h } _ { t } ) } \end{array}
|
| 47 |
+
$$
|
| 48 |
+
|
| 49 |
+
$$
|
| 50 |
+
\in \mathbb { R } ^ { k }
|
| 51 |
+
$$
|
| 52 |
+
|
| 53 |
+
where $W ^ { r }$ , $W ^ { x } \in \mathbb { R } ^ { k \times k }$ are trainable projection matrices. An overview of this architecture is depicted in Figure 1a. Lastly, the probablity distribution ${ \mathbf { } } _ { \mathbf { } } \mathbf { \mathbf { } } _ { \mathbf { } } \mathbf { \mathbf { } } _ { \mathbf { } } \mathbf { \mathbf { } } _ { \mathbf { } } \mathbf { \mathbf { } } _ { \mathbf { } } \mathbf { \mathbf { } } _ { \mathbf { } } \mathbf { \mathbf { } } _ { \mathbf { } } \mathbf { \mathbf { } } _ { \mathbf { } } \mathbf { \Xi } _ { \mathbf { } } \mathbf { \Lambda } _ { \mathbf { } } \mathbf { \Lambda } _ { \mathbf { } } \textbf { } _ { \mathbf { } } \textbf { } \textbf { } _ { \mathrm { } }$ for the next word is represented by
|
| 54 |
+
|
| 55 |
+
$$
|
| 56 |
+
\begin{array} { r } { y _ { t } = \mathrm { s o f t m a x } ( W ^ { * } h _ { t } ^ { * } + b ) \qquad \in \mathbb { R } ^ { | V | } } \end{array}
|
| 57 |
+
$$
|
| 58 |
+
|
| 59 |
+
where $W ^ { \ast } \in \mathbb { R } ^ { | V | \times k }$ and $\pmb { b } \in \mathbb { R } ^ { | V | }$ are a trainable projection matrix and bias, respectively.
|
| 60 |
+
|
| 61 |
+
# 2.2 KEY-VALUE ATTENTION
|
| 62 |
+
|
| 63 |
+
Inspired by Miller et al. (2016); Ba et al. (2016); Reed & de Freitas (2015); Gulcehre et al. (2016), we introduce a key-value attention model that separates output vectors into keys used for calculating the attention distribution $\pmb { \alpha } _ { t }$ , and a value part used for encoding the next-word distribution and context representation. This model is depicted in Figure 1b. Formally, we rewrite Equations 1-4 as follows:
|
| 64 |
+
|
| 65 |
+
$$
|
| 66 |
+
\begin{array} { r l r l } & { \Big [ \pmb { k } _ { t } \Big ] = \pmb { h } _ { t } } & { \qquad } & & { \in \mathbb { R } ^ { 2 k } } \\ & { M _ { t } = \operatorname { t a n h } ( \pmb { W } ^ { Y } [ \pmb { k } _ { t - L } \cdot \cdot \cdot \pmb { k } _ { t - 1 } ] + ( \pmb { W } ^ { h } \pmb { k } _ { t } ) \mathbf { 1 } ^ { T } ) } & & { \qquad \in \mathbb { R } ^ { k \times L } } \\ & { \pmb { \alpha } _ { t } = \operatorname { s o f t m a x } ( \pmb { w } ^ { T } M _ { t } ) } & & { \in \mathbb { R } ^ { 1 \times L } } \\ & { r _ { t } = [ \pmb { v } _ { t - L } \cdot \cdot \cdot \cdot \pmb { v } _ { t - 1 } ] \pmb { \alpha } ^ { T } } & & { \in \mathbb { R } ^ { k } } \\ & { \pmb { h } _ { t } ^ { * } = \operatorname { t a n h } ( \pmb { W } ^ { r } r _ { t } + \pmb { W } ^ { x } \pmb { v } _ { t } ) } & & { \in \mathbb { R } ^ { k } } \end{array}
|
| 67 |
+
$$
|
| 68 |
+
|
| 69 |
+
In essence, Equation 7 compares the key at time step $t$ with the previous $L$ keys to calculate the attention distribution $\pmb { \alpha } _ { t }$ which is then used in Equation 9 to obtain a weighted context representation from values associated with these keys.
|
| 70 |
+
|
| 71 |
+
# 2.3 KEY-VALUE-PREDICT ATTENTION
|
| 72 |
+
|
| 73 |
+
Even with a key-value separation, a potential problem is that the same representation ${ \mathbf { } } v _ { t }$ is still used both for encoding the probability distribution of the next word and for retrieval from the memory via the attention later. Thus, we experimented with another extension of this model where we further separate $\boldsymbol { h } _ { t }$ into a $k e y$ , a value and a predict representation where the latter is only used for encoding the next-word distribution (see Figure 1c). To this end, equations 6 and 10 are replaced by
|
| 74 |
+
|
| 75 |
+
$$
|
| 76 |
+
\begin{array} { r l } & { \left\lceil \begin{array} { l } { k _ { t } } \\ { v _ { t } } \\ { p _ { t } } \end{array} \right\rceil = h _ { t } } \\ & { ~ \left\lceil \begin{array} { l } { k _ { t } } \end{array} \right\rceil } \\ & { ~ h _ { t } ^ { * } = \operatorname { t a n h } ( W ^ { r } r _ { t } + W ^ { x } p _ { t } ) } \end{array}
|
| 77 |
+
$$
|
| 78 |
+
|
| 79 |
+
$$
|
| 80 |
+
\begin{array} { l } { \in \mathbb { R } ^ { 3 k } } \\ { \ } \\ { \in \mathbb { R } ^ { k } } \end{array}
|
| 81 |
+
$$
|
| 82 |
+
|
| 83 |
+
More precisely, the output vector $\boldsymbol { h } _ { t }$ is divided into three equal parts: key, value and predict. In our implementation we simply split the output vector $h _ { t }$ into $k _ { t }$ , ${ \mathbf { } } v _ { t }$ and ${ \pmb p } _ { t }$ . To this end the hidden dimension of the key-value-predict attention model needs to be a multiplicative of three. Consequently, the dimensions of $k _ { t }$ , ${ \mathbf { } } v _ { t }$ and ${ \mathbf { } } p _ { t }$ are 100 for a hidden dimension of 300.
|
| 84 |
+
|
| 85 |
+
# 2.4 $N$ -GRAM RECURRENT NEURAL NETWORK
|
| 86 |
+
|
| 87 |
+
Neural language models often work best in combination with traditional $N$ -gram models (Mikolov et al., 2011; Chelba et al., 2013; Williams et al., 2015; Ji et al., 2016; Shazeer et al., 2015), since the former excel at generalization while the latter ensure memorization. In addition, from initial experiments with memory-augmented neural language models, we found that usually only the previous five output representations are utilized. This is in line with observations by Tran et al. (2016). Hence, we experiment with a much simpler architecture depicted in Figure 1d. Instead of an attention mechanism, the output representations from the previous $N - 1$ time steps are directly used to calculate next-word probabilities. Specifically, at every time step we split the LSTM output into $N - 1$ vectors $[ { \pmb h } _ { t } ^ { 1 } , \dots , { \pmb h } _ { t } ^ { N - 1 } ]$ and replace Equation 4 with
|
| 88 |
+
|
| 89 |
+
$$
|
| 90 |
+
\begin{array} { r } { h _ { t } ^ { * } = \operatorname { t a n h } \left( W ^ { N } \left[ \begin{array} { c } { \ h _ { t } ^ { 1 } } \\ { \vdots } \\ { h _ { t - N + 1 } ^ { N - 1 } } \end{array} \right] \right) } \end{array}
|
| 91 |
+
$$
|
| 92 |
+
|
| 93 |
+
where $W ^ { N } \in \mathbb { R } ^ { k \times ( N - 1 ) k }$ is a trainable projection matrix. This model is related to higher-order RNNs (Soltani $\&$ Jiang, 2016) with the difference that we do not incorporate output vectors from the previous steps into the hidden state but only use them for predicting the next word. Furthermore, note that at time step $t$ the first part of the output vector $ { \boldsymbol { h } } _ { t } ^ { 1 }$ will contribute to predicting the next word, the second part $h _ { t } ^ { 2 }$ will contribute to predicting the second word thereafter, and so on. As the output vectors from the $N - 1$ previous time-steps are used to score the next word, we call the resulting model an $N$ -gram RNN.
|
| 94 |
+
|
| 95 |
+
# 3 RELATED WORK
|
| 96 |
+
|
| 97 |
+
Early attempts of using memory in neural networks have been undertaken by Taylor (1959) and Steinbuch $\&$ Piske (1963) by performing nearest-neighbor operations on input vectors and fitting parametric models to the retrieved sets. The dedicated use of external memory in neural architectures has more recently witnessed increased interest. Weston et al. (2015) introduced Memory Networks to explicitly segregate memory storage from the computation of the neural network, and Sukhbaatar et al. (2015) trained this model end-to-end with an attention-based memory addressing mechanism. The Neural Turing Machines by Graves et al. (2014) add an external differentiable memory with read-write functions to a controller recurrent neural network, and has shown promising results in simple sequence tasks such as copying and sorting. These models make use of external memory, whereas our model directly uses a short sequence from the history of tokens to dynamically populate an addressable memory.
|
| 98 |
+
|
| 99 |
+
In sequence modeling, RNNs such as LSTMs (Hochreiter & Schmidhuber, 1997) maintain an internal memory state as they process an input sequence. Attending over previous state outputs on top of an RNN encoder has improved performances in a wide range of tasks, including machine translation (Bahdanau et al., 2015), recognizing textual entailment (Rocktaschel et al. ¨ , 2016), sentence summarization (Rush et al., 2015), image captioning (Xu et al., 2015) and speech recognition (Chorowski et al., 2015).
|
| 100 |
+
|
| 101 |
+
Recently, Cheng et al. (2016) proposed an architecture that modifies the standard LSTM by replacing the memory cell with a memory network (Weston et al., 2015). Another proposal for conditioning on previous output representations are Higher-order Recurrent Neural Networks (HORNNs, Soltani & Jiang, 2016). Soltani & Jiang found it useful to include information from multiple preceding RNN states when computing the next state. This previous work centers around preceding state vectors, whereas we investigate attention mechanisms on top of RNN outputs, i.e. the vectors used for predicting the next word. Furthermore, instead of pooling we use attention vectors to calculate a context representation of previous memories.
|
| 102 |
+
|
| 103 |
+
Yang et al. (2016) introduced a reference-aware neural language model where at every position a latent variable determines from which source a target token is generated, e.g., by copying entries from a table or referencing entities that were mentioned earlier.
|
| 104 |
+
|
| 105 |
+
Another class of models that include memory into sequence modeling are Recurrent Memory Networks (RMNs) (Tran et al., 2016). Here, a memory block accesses the most recent input words to selectively attend over relevant word representations from a global vocabulary. RMNs use a global memory with two input word vector look-up tables for the attention mechanism, and consequently have a large number of trainable parameters. Instead, we proposed models that need much fewer parameters by producing the vectors that will be attended over in the future, which can be seen as a memory that is dynamically populated by the language model.
|
| 106 |
+
|
| 107 |
+
Finally, the functional separation of look-up keys and memory content has been found useful for Memory Networks (Miller et al., 2016), Neural Programmer-Interpreters (Reed & de Freitas, 2015), Dynamic Neural Turing Machines (Gulcehre et al., 2016), and Fast Associative Memory (Ba et al., 2016). We apply and extend this principle to neural language models.
|
| 108 |
+
|
| 109 |
+
# 4 EXPERIMENTS
|
| 110 |
+
|
| 111 |
+
We evaluate models on two different corpora for language modeling. The first is a subset of the Wikipedia corpus.1 It consists of 7500 English Wikipedia articles (dump from 6 Feb 2015) belonging to one of the following categories: People, Cities, Countries, Universities, and Novels. We chose these categories as we expect articles in these categories to often contain references to previously mentioned entities. Subsequently, we split this corpus into a train, development, and test part, resulting in corpora of $2 2 . 5 \mathbf { M }$ words, 1.2M and 1.2M words, respectively. We map all numbers to a dedicated numerical symbol $N$ and restrict the vocabulary to the 77K most frequent words, encompassing $9 7 \%$ of the training vocabulary. All other words are replaced by the UNK symbol. The average length of sentences is 25 tokens. In addition to this Wikipedia corpus, we also run experiments on the Children’s Book Test (CBT Hill et al., 2016). While this corpus is designed for cloze-style question-answering, in this paper we use it to test how well language models can exploit wider linguistic context.
|
| 112 |
+
|
| 113 |
+
# 4.1 TRAINING PROCEDURE
|
| 114 |
+
|
| 115 |
+
We use ADAM (Kingma & Ba, 2015) with an initial learning rate of 0.001 and a mini-batch size of 64 for optimization. Furthermore, we apply gradient clipping at a gradient norm of 5 (Pascanu et al., 2013). The bias of the LSTM’s forget gate is initialized to 1 (Jozefowicz et al., 2016), while other parameters are initialized uniformly from the range $( - 0 . 1 , 0 . 1 )$ . Backpropagation Through Time (Rumelhart et al., 1985; Werbos, 1990) was used to train the network with 20 steps of unrolling. We reset the hidden states between articles for the Wikipedia corpus and between stories for CBT, respectively. We take the best configuration based on performance on the validation set and evaluate it on the test set.
|
| 116 |
+
|
| 117 |
+
# 5 RESULTS
|
| 118 |
+
|
| 119 |
+
In the first set of experiments we explore how well the proposed models and Tran et al.’s Recurrentmemory Model can make use of histories of varying lengths. Perplexity results for different attention window sizes on the Wikipedia corpus are summarized in Figure 2a. The average attention these models pay to specific positions in the history is illustrated in Figure 3. We observed that although our models attend over tokens further in the past more often than the Recurrent-memory Model, attending over a longer history does not significantly improve the perplexity of any attentive model.
|
| 120 |
+
|
| 121 |
+
The much simpler $N$ -gram RNN model achieves comparable results (Figure 2b) and seems to work best with a history of the previous three output vectors (4-gram RNN). As a result, we choose the 4-gram model for the following $N$ -gram RNN experiments.
|
| 122 |
+
|
| 123 |
+
Figure 2: Perplexities of memory-augmented neural language models on the Wikipedia corpus (a-c) and accuracies on the CBT test set (d).
|
| 124 |
+
|
| 125 |
+
<table><tr><td>Model</td><td colspan="4">Attention Window Size</td></tr><tr><td></td><td>1</td><td>5</td><td>10</td><td>15</td></tr><tr><td>RM(+tM-g) (Tran et al.,2016)</td><td>83.5</td><td>80.5</td><td>80.3</td><td>80.1</td></tr><tr><td>Attention</td><td>82.2</td><td>82.2</td><td>82.0</td><td>82.8</td></tr><tr><td>Key-Value</td><td>78.7</td><td>79.0</td><td>78.2</td><td>78.9</td></tr><tr><td>Key-Value-Predict</td><td>76.1</td><td>75.8</td><td>76.0</td><td>75.8</td></tr></table>
|
| 126 |
+
|
| 127 |
+
(a) Test perplexity of different attention architectures with varying attention window sizes. Best perplexity per model is italic.
|
| 128 |
+
(b) Comparison of $N$ -gram neural language models. $w$ denotes the input size, $k$ the hidden size and $\theta _ { M }$ the total number of model parameters.
|
| 129 |
+
|
| 130 |
+
<table><tr><td>Model</td><td>w</td><td>k</td><td>0M</td><td>Dev</td><td>Test</td></tr><tr><td>2-gram RNN</td><td>300</td><td>564</td><td>23.9M</td><td>76.0</td><td>77.1</td></tr><tr><td>3-gram RNN</td><td>300</td><td>786</td><td>23.9M</td><td>74.9</td><td>75.9</td></tr><tr><td>4-gram RNN</td><td>300</td><td>968</td><td>23.9M</td><td>74.8</td><td>75.9</td></tr><tr><td>5-gram RNN</td><td>300</td><td>1120</td><td>23.9M</td><td>76.0</td><td>77.3</td></tr></table>
|
| 131 |
+
|
| 132 |
+
(c) Summary of models with best attention window size $a$ . The total number of model parameters, including word representations, is denoted by $\theta _ { W + M }$ (without word representations $\theta _ { M }$ ).
|
| 133 |
+
|
| 134 |
+
<table><tr><td>Model</td><td>w</td><td>k</td><td>a</td><td>0W+M</td><td>0M</td><td>Dev</td><td>Test</td></tr><tr><td>RNN</td><td>300</td><td>307</td><td>1</td><td>47.0M</td><td>23.9M</td><td>121.7</td><td>125.7</td></tr><tr><td>LSTM</td><td>300</td><td>300</td><td>-</td><td>47.0M</td><td>23.9M</td><td>83.2</td><td>85.2</td></tr><tr><td>FOFE HORNN (3-rd order) (Soltani & Jiang,2016)</td><td>300</td><td>303</td><td>-</td><td>47.0M</td><td>23.9M</td><td>116.7</td><td>120.5</td></tr><tr><td>Gated HORNN (3-rd order) (Soltani & Jiang, 2016)</td><td>300</td><td>297</td><td>-</td><td>47.0M</td><td>23.9M</td><td>93.9</td><td>97.1</td></tr><tr><td>RM(+tM-g) (Tran et al.,2016)</td><td>300</td><td>300</td><td>15</td><td>93.7M</td><td>70.6M</td><td>78.2</td><td>80.1</td></tr><tr><td>Attention</td><td>300</td><td>296</td><td>10</td><td>47.0M</td><td>23.9M</td><td>80.6</td><td>82.0</td></tr><tr><td>Key-Value</td><td>300</td><td>560</td><td>10</td><td>47.0M</td><td>23.9M</td><td>77.1</td><td>78.2</td></tr><tr><td>Key-Value-Predict</td><td>300</td><td>834</td><td>5</td><td>47.0M</td><td>23.9M</td><td>74.2</td><td>75.8</td></tr><tr><td>4-gram RNN</td><td>300</td><td>968</td><td>-</td><td>47.0M</td><td>23.9M</td><td>74.8</td><td>75.9</td></tr></table>
|
| 135 |
+
|
| 136 |
+
(d) Results on CBT; those marked with ‡ are taken from Hill et al. (2016).
|
| 137 |
+
|
| 138 |
+
<table><tr><td>Model</td><td>Named Entities</td><td>Common Nouns</td><td>Verbs</td><td>Prepositions</td></tr><tr><td>Humans (context+query) ‡</td><td>0.816</td><td>0.816</td><td>0.828</td><td>0.708</td></tr><tr><td>Kneser-Ney LM ‡</td><td>0.390</td><td>0.544</td><td>0.778</td><td>0.768</td></tr><tr><td>Kneser-Ney LM + cache ‡</td><td>0.439</td><td>0.577</td><td>0.772</td><td>0.679</td></tr><tr><td>LSTM (context+query) ‡</td><td>0.418</td><td>0.560</td><td>0.818</td><td>0.791</td></tr><tr><td>Memory Network ‡</td><td>0.666</td><td>0.630</td><td>0.690</td><td>0.703</td></tr><tr><td>AS Reader, avg ensemble (Kadlec et al., 2016)</td><td>0.706</td><td>0.689</td><td>一</td><td>1</td></tr><tr><td>AS Reader, greedy ensemble (Kadlec et al., 2016)</td><td>0.710</td><td>0.675</td><td></td><td></td></tr><tr><td>QANN, 4 hops, GloVe (Weissenborn, 2016)</td><td>0.729</td><td>1</td><td></td><td></td></tr><tr><td>AoA Reader, single model (Cui et al.,2016a)</td><td>0.720</td><td>0.694</td><td></td><td></td></tr><tr><td>CAS Reader, mode avg (Cui et al.,2016b)</td><td>0.692</td><td>0.657</td><td></td><td></td></tr><tr><td>GA Reader, ensemble (Dhingra et al., 2016)</td><td>0.719</td><td>0.694</td><td></td><td></td></tr><tr><td>EpiReader, ensemble (Trischler et al., 2016)</td><td>0.718</td><td>0.706</td><td></td><td></td></tr><tr><td>FOFE HORNN (3-rd order) (Soltani & Jiang,2016)</td><td>0.465</td><td>0.497</td><td>0.774</td><td>0.741</td></tr><tr><td>Gated HORNN (3-rd order) (Soltani & Jiang,2016)</td><td>0.508</td><td>0.547</td><td>0.790</td><td>0.774</td></tr><tr><td>RM(+tM-g) (Tran et al.,2016)</td><td>0.525</td><td>0.597</td><td>0.817</td><td>0.797</td></tr><tr><td>LSTM</td><td>0.523</td><td>0.604</td><td>0.819</td><td>0.786</td></tr><tr><td>Attention</td><td>0.538</td><td>0.595</td><td>0.826</td><td>0.803</td></tr><tr><td>Key-Value</td><td>0.528</td><td>0.601</td><td>0.822</td><td>0.813</td></tr><tr><td>Key-Value-Predict</td><td>0.528</td><td>0.599</td><td>0.829</td><td>0.803</td></tr><tr><td>4-gram RNN</td><td>0.532</td><td>0.598</td><td>0.815</td><td>0.800</td></tr></table>
|
| 139 |
+
|
| 140 |
+
# 5.1 COMPARISON WITH STATE-OF-THE-ART MODELS
|
| 141 |
+
|
| 142 |
+
In the next set of experiments, we compared our proposed models against a variety of state-of-the-art models on the Wikipedia and CBT corpora. Results are shown in Figure 2c and 2d, respectively. Note that the models presented here do not achieve state-of-the-art on CBT as they are language models and not tailored towards cloze-sytle question answering. Thus, we merely use this corpus for comparing different neural language model architectures. We reimplemented the Recurrent-Memory model by Tran et al. (2016) with the temporal matrix and gating composition function $\mathbf { \left( R M + t M - g \right) }$ ).
|
| 143 |
+
|
| 144 |
+

|
| 145 |
+
Figure 3: Attention weights of the Key-Value-Predict model on a randomly sampled Wikipedia article (a) and average attention weight distribution on the whole Wikipedia test set for $\mathbf { R M } ( + \mathbf { t M } - \mathbf { g } )$ , Attention, Key-Value and Key-Value-Predict models (b). The rightmost positions represent the most recent history.
|
| 146 |
+
|
| 147 |
+
Furthermore, we reimplemented Higher Order Recurrent Neural Networks (HORNNs) by Soltani & Jiang (2016).
|
| 148 |
+
|
| 149 |
+
To ensure a comparable number of parameters to a vanilla LSTM model, we adjusted the hidden size of all models to have roughly the same total number of model parameters. The attention window size $N$ for the $N$ -gram RNN model was set to 4 according to the best validation set perplexity on the Wikipedia corpus. Below we discuss the results in detail.
|
| 150 |
+
|
| 151 |
+
Attention By using a neural language model with an attention mechanism over a dynamically populated memory, we observed a 3.2 points lower perplexity over a vanilla LSTM on Wikipedia, but only notable differences for predicting verbs and prepositions in CBT. This indicates that incorporating mechanisms for querying previous output vectors is useful for neural language modeling.
|
| 152 |
+
|
| 153 |
+
Key-Value Decomposing the output vector into a key-value paired memory improves the perplexity by 7.0 points compared to a baseline LSTM, and by 1.9 points compared to the $\mathbf { R M } ( + \mathbf { t M } - \mathbf { g } )$ model. Again, for CBT we see only small improvements.
|
| 154 |
+
|
| 155 |
+
Key-Value-Predict By further separating the output vector into a key, value and next-word prediction part, we get the lowest perplexity and gain 9.4 points over a baseline LSTM, a 4.3 points compared to $\mathbf { R M } ( + \mathbf { t M } - \mathbf { g } )$ , and 2.4 points compared to only splitting the output into a key and value. For CBT, we see an accuracy increase of 1.0 percentage points for verbs, and 1.7 for prepositions. As stated earlier, the performance of the Key-Value-Predict model does not improve significantly when increasing the attention window size. This leads to the conclusion that none of the attentive models investigated in this paper can utilize a large memory of previous token representations. Moreover, none of the presented methods differ significantly for predicting common nouns and named entities in CBT.
|
| 156 |
+
|
| 157 |
+
$N$ -gram RNN Our main finding is that the simple modification of using output vectors from the previous time steps for the next-word prediction leads to perplexities that are on par with or better than more complicated neural language models with attention. Specifically, the 4-gram RNN achieves only slightly worse perplexities than the Key-Value-Predict architecture.
|
| 158 |
+
|
| 159 |
+
# 6 CONCLUSION
|
| 160 |
+
|
| 161 |
+
In this paper, we observed that using an attention mechanism for neural language modeling where we separate output vectors into a key, value and predict part outperform simpler attention mechanisms on a Wikipedia corpus and the Children Book Test (CBT, Hill et al., 2016). However, we found that all attentive neural language models mainly utilize a memory of only the most recent history and fail to exploit long-range dependencies. In fact, a much simpler $N$ -gram RNN model, which only uses a concatenation of output representations from the previous three time steps, is on par with more sophisticated memory-augmented neural language models. Training neural language models that take long-range dependencies into account seems notoriously hard and needs further investigation. Thus, for future work we want to investigate ways to encourage attending over a longer history, for instance by forcing the model to ignore the local context and only allow attention over output representations further behind the local history.
|
| 162 |
+
|
| 163 |
+
# ACKNOWLEDGMENTS
|
| 164 |
+
|
| 165 |
+
This work was supported by Microsoft Research and the Engineering and Physical Sciences Research Council through PhD Scholarship Programmes, an Allen Distinguished Investigator Award, and a Marie Curie Career Integration Award.
|
| 166 |
+
|
| 167 |
+
# REFERENCES
|
| 168 |
+
|
| 169 |
+
Jimmy Ba, Geoffrey E Hinton, Volodymyr Mnih, Joel Z Leibo, and Catalin Ionescu. Using fast weights to attend to the recent past. In NIPS, pp. 4331–4339, 2016.
|
| 170 |
+
|
| 171 |
+
Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. In ICLR, 2015.
|
| 172 |
+
|
| 173 |
+
Ciprian Chelba, Tomas Mikolov, Mike Schuster, Qi Ge, Thorsten Brants, Phillipp Koehn, and Tony Robinson. One billion word benchmark for measuring progress in statistical language modeling. arXiv preprint arXiv:1312.3005, 2013.
|
| 174 |
+
|
| 175 |
+
Jianpeng Cheng, Li Dong, and Mirella Lapata. Long short-term memory-networks for machine reading. In EMNLP, pp. 551–561, 2016.
|
| 176 |
+
|
| 177 |
+
Jan K Chorowski, Dzmitry Bahdanau, Dmitriy Serdyuk, Kyunghyun Cho, and Yoshua Bengio. Attention-based models for speech recognition. In NIPS, pp. 577–585, 2015.
|
| 178 |
+
|
| 179 |
+
Yiming Cui, Zhipeng Chen, Si Wei, Shijin Wang, Ting Liu, and Guoping Hu. Attention-over-attention neural networks for reading comprehension. arXiv preprint arXiv:1607.04423, 2016a.
|
| 180 |
+
|
| 181 |
+
Yiming Cui, Ting Liu, Zhipeng Chen, Shijin Wang, and Guoping Hu. Consensus attention-based neural networks for chinese reading comprehension. arXiv preprint arXiv:1607.02250, 2016b.
|
| 182 |
+
|
| 183 |
+
Bhuwan Dhingra, Hanxiao Liu, William W Cohen, and Ruslan Salakhutdinov. Gated-attention readers for text comprehension. arXiv preprint arXiv:1606.01549, 2016.
|
| 184 |
+
|
| 185 |
+
Alex Graves, Greg Wayne, and Ivo Danihelka. Neural turing machines. arXiv preprint arXiv:1410.5401, 2014.
|
| 186 |
+
|
| 187 |
+
Caglar Gulcehre, Sarath Chandar, Kyunghyun Cho, and Yoshua Bengio. Dynamic neural turing machine with soft and hard addressing schemes. arXiv preprint arXiv:1607.00036, 2016.
|
| 188 |
+
|
| 189 |
+
Felix Hill, Antoine Bordes, Sumit Chopra, and Jason Weston. The goldilocks principle: Reading children’s books with explicit memory representations. In ICLR, 2016.
|
| 190 |
+
|
| 191 |
+
Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural computation, 9(8): 1735–1780, 1997.
|
| 192 |
+
|
| 193 |
+
Shihao Ji, SVN Vishwanathan, Nadathur Satish, Michael J Anderson, and Pradeep Dubey. Blackout: Speeding up recurrent neural network language models with very large vocabularies. In ICLR, 2016.
|
| 194 |
+
|
| 195 |
+
Rafal Jozefowicz, Oriol Vinyals, Mike Schuster, Noam Shazeer, and Yonghui Wu. Exploring the limits of language modeling. arXiv preprint arXiv:1602.02410, 2016.
|
| 196 |
+
|
| 197 |
+
Rudolf Kadlec, Martin Schmid, Ondrej Bajgar, and Jan Kleindienst. Text understanding with the attention sum reader network. In ACL, 2016.
|
| 198 |
+
|
| 199 |
+
Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In ICLR, 2015.
|
| 200 |
+
|
| 201 |
+
Tomas Mikolov, Martin Karafiat, Lukas Burget, Jan Cernock ´ y, and Sanjeev Khudanpur. Recurrent \` neural network based language model. In Interspeech, volume 2, pp. 3, 2010.
|
| 202 |
+
|
| 203 |
+
Tomas Mikolov, Anoop Deoras, Stefan Kombrink, Lukas Burget, and Jan Cernocky. Empirical \` evaluation and combination of advanced language modeling techniques. In Interspeech, 2011.
|
| 204 |
+
|
| 205 |
+
Alexander Miller, Adam Fisch, Jesse Dodge, Amir-Hossein Karimi, Antoine Bordes, and Jason Weston. Key-value memory networks for directly reading documents. arXiv preprint arXiv:1606.03126, 2016.
|
| 206 |
+
|
| 207 |
+
Razvan Pascanu, Tomas Mikolov, and Yoshua Bengio. On the difficulty of training recurrent neural networks. In ICML, pp. 1310–1318, 2013.
|
| 208 |
+
|
| 209 |
+
Scott Reed and Nando de Freitas. Neural programmer-interpreters. arXiv preprint arXiv:1511.06279, 2015.
|
| 210 |
+
|
| 211 |
+
Tim Rocktaschel, Edward Grefenstette, Karl Moritz Hermann, Tomas Kocisky, and Phil Blunsom. ¨ Reasoning about entailment with neural attention. In ICLR, 2016.
|
| 212 |
+
|
| 213 |
+
David E Rumelhart, Geoffrey E Hinton, and Ronald J Williams. Learning internal representations by error propagation. Technical report, DTIC Document, 1985.
|
| 214 |
+
|
| 215 |
+
Alexander M. Rush, Sumit Chopra, and Jason Weston. A neural attention model for abstractive sentence summarization. In EMNLP, pp. 379–389, 2015.
|
| 216 |
+
|
| 217 |
+
Noam Shazeer, Joris Pelemans, and Ciprian Chelba. Sparse non-negative matrix language modeling for skip-grams. In Interspeech, pp. 1428–1432, 2015.
|
| 218 |
+
|
| 219 |
+
Rohollah Soltani and Hui Jiang. Higher order recurrent neural networks. arXiv preprint arXiv:1605.00064, 2016.
|
| 220 |
+
|
| 221 |
+
Karl Steinbuch and UAW Piske. Learning matrices and their applications. IEEE Transactions on Electronic Computers, pp. 846–862, 1963.
|
| 222 |
+
|
| 223 |
+
Sainbayar Sukhbaatar, Jason Weston, and Rob Fergus. End-to-end memory networks. In NIPS, pp. 2440–2448, 2015.
|
| 224 |
+
WK Taylor. Pattern recognition by means of automatic analogue apparatus. Proceedings of the IEE-Part B: Radio and Electronic Engineering, 106(26):198–209, 1959.
|
| 225 |
+
Ke Tran, Arianna Bisazza, and Christof Monz. Recurrent memory networks for language modeling. In NAACL-HLT, pp. 321–331, 2016.
|
| 226 |
+
Adam Trischler, Zheng Ye, Xingdi Yuan, and Kaheer Suleman. Natural language comprehension with the epireader. arXiv preprint arXiv:1606.02270, 2016.
|
| 227 |
+
Dirk Weissenborn. Separating answers from queries for neural reading comprehension. arXiv preprint arXiv:1607.03316, 2016.
|
| 228 |
+
Paul J Werbos. Backpropagation through time: what it does and how to do it. Proceedings of the IEEE, 78(10):1550–1560, 1990.
|
| 229 |
+
Jason Weston, Sumit Chopra, and Antoine Bordes. Memory networks. In ICLR, 2015.
|
| 230 |
+
Will Williams, Niranjani Prasad, David Mrva, Tom Ash, and Tony Robinson. Scaling recurrent neural network language models. In 2015 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 5391–5395. IEEE, 2015.
|
| 231 |
+
Kelvin Xu, Jimmy Ba, Ryan Kiros, Kyunghyun Cho, Aaron Courville, Ruslan Salakhutdinov, Richard S Zemel, and Yoshua Bengio. Show, attend and tell: Neural image caption generation with visual attention. In ICML, 2015.
|
| 232 |
+
Zichao Yang, Phil Blunsom, Chris Dyer, and Wang Ling. Reference-aware language models. arXiv preprint arXiv:1611.01628, 2016.
|
parse/train/ByIAPUcee/ByIAPUcee_content_list.json
ADDED
|
@@ -0,0 +1,1141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "FRUSTRATINGLY SHORT ATTENTION SPANS IN NEURAL LANGUAGE MODELING ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
98,
|
| 9 |
+
732,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Michał Daniluk, Tim Rocktaschel, Johannes Welbl & Sebastian Riedel ¨ ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
184,
|
| 19 |
+
170,
|
| 20 |
+
673,
|
| 21 |
+
185
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Department of Computer Science \nUniversity College London \nmichal.daniluk.15@ucl.ac.uk, \n{t.rocktaschel,j.welbl,s.riedel}@cs.ucl.ac.uk ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
184,
|
| 30 |
+
186,
|
| 31 |
+
624,
|
| 32 |
+
239
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "ABSTRACT ",
|
| 39 |
+
"text_level": 1,
|
| 40 |
+
"bbox": [
|
| 41 |
+
454,
|
| 42 |
+
276,
|
| 43 |
+
544,
|
| 44 |
+
291
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "Neural language models predict the next token using a latent representation of the immediate token history. Recently, various methods for augmenting neural language models with an attention mechanism over a differentiable memory have been proposed. For predicting the next token, these models query information from a memory of the recent history which can facilitate learning mid- and long-range dependencies. However, conventional attention mechanisms used in memoryaugmented neural language models produce a single output vector per time step. This vector is used both for predicting the next token as well as for the key and value of a differentiable memory of a token history. In this paper, we propose a neural language model with a key-value attention mechanism that outputs separate representations for the key and value of a differentiable memory, as well as for encoding the next-word distribution. This model outperforms existing memoryaugmented neural language models on two corpora. Yet, we found that our method mainly utilizes a memory of the five most recent output representations. This led to the unexpected main finding that a much simpler model based only on the concatenation of recent output representations from previous time steps is on par with more sophisticated memory-augmented neural language models. ",
|
| 51 |
+
"bbox": [
|
| 52 |
+
233,
|
| 53 |
+
306,
|
| 54 |
+
766,
|
| 55 |
+
542
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 INTRODUCTION ",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
176,
|
| 65 |
+
566,
|
| 66 |
+
336,
|
| 67 |
+
582
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "At the core of language models (LMs) is their ability to infer the next word given a context. This requires representing context-specific dependencies in a sequence across different time scales. On the one hand, classical $N$ -gram language models capture relevant dependencies between words in short time distances explicitly, but suffer from data sparsity. Neural language models, on the other hand, maintain and update a dense vector representation over a sequence where time dependencies are captured implicitly (Mikolov et al., 2010). A recent extension of neural sequence models are attention mechanisms (Bahdanau et al., 2015), which can capture long-range connections more directly. However, we argue that applying such an attention mechanism directly to neural language models requires output vectors to fulfill several purposes at the same time: they need to (i) encode a distribution for predicting the next token, (ii) serve as a key to compute the attention vector, as well as (iii) encode relevant content to inform future predictions. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
597,
|
| 77 |
+
825,
|
| 78 |
+
750
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "We hypothesize that such overloaded use of output representations makes training the model difficult and propose a modification to the attention mechanism which separates these functions explicitly, inspired by Miller et al. (2016); Ba et al. (2016); Reed & de Freitas (2015); Gulcehre et al. (2016). Specifically, at every time step our neural language model outputs three vectors. The first is used to encode the next-word distribution, the second serves as key, and the third as value for an attention mechanism. We term the model key-value-predict attention and show that it outperforms existing memory-augmented neural language models on the Children’s Book Test (CBT, Hill et al., 2016) and a new corpus of 7500 Wikipedia articles. However, we observed that this model pays attention mainly to the previous five memories. We thus also experimented with a much simpler model that only uses a concatenation of output vectors from the previous time steps for predicting the next token. This simple model is on par with more sophisticated memory-augmented neural language models. Thus, our main finding is that modeling short attention spans properly works well and provides notable improvements over a neural language model with attention. Conversely, it seems to be notoriously hard to train neural language models to leverage long-range dependencies. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
757,
|
| 88 |
+
825,
|
| 89 |
+
924
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "image",
|
| 95 |
+
"img_path": "images/302874ddb64e68d1aa6e176ed09a638b131fc709b70c9e1392500c16fa42bdec.jpg",
|
| 96 |
+
"image_caption": [
|
| 97 |
+
"Figure 1: Memory-augmented neural language modelling architectures. "
|
| 98 |
+
],
|
| 99 |
+
"image_footnote": [],
|
| 100 |
+
"bbox": [
|
| 101 |
+
168,
|
| 102 |
+
101,
|
| 103 |
+
826,
|
| 104 |
+
556
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 1
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "text",
|
| 110 |
+
"text": "",
|
| 111 |
+
"bbox": [
|
| 112 |
+
174,
|
| 113 |
+
621,
|
| 114 |
+
823,
|
| 115 |
+
648
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "In this paper, we investigate various memory-augmented neural language models and compare them against previous architectures. Our contributions are threefold: (i) we propose a key-value attention mechanism that uses specific output representations for querying a sliding-window memory of previous token representations, (ii) we demonstrate that while this new architecture outperforms previous memory-augmented neural language models, it mainly utilizes a memory of the previous five representations, and finally (iii) based on this observation we experiment with a much simpler but effective model that uses the concatenation of three previous output representations to predict the next word. ",
|
| 122 |
+
"bbox": [
|
| 123 |
+
173,
|
| 124 |
+
656,
|
| 125 |
+
825,
|
| 126 |
+
767
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "2 METHODS ",
|
| 133 |
+
"text_level": 1,
|
| 134 |
+
"bbox": [
|
| 135 |
+
174,
|
| 136 |
+
800,
|
| 137 |
+
290,
|
| 138 |
+
816
|
| 139 |
+
],
|
| 140 |
+
"page_idx": 1
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"type": "text",
|
| 144 |
+
"text": "In the following, we discuss methods for extending neural language models with differentiable memory. We first present a standard attention mechanism for language modeling (§2.1). Subsequently, we introduce two methods for separating the usage of output vectors in the attention mechanism: (i) using a dedicated key and value (§2.2), and (ii) further separating the value into a memory value and a representation that encodes the next-word distribution (§2.3). Finally, we describe a very simple method that concatenates previous output representations for predicting the next token (§2.4). ",
|
| 145 |
+
"bbox": [
|
| 146 |
+
174,
|
| 147 |
+
839,
|
| 148 |
+
825,
|
| 149 |
+
924
|
| 150 |
+
],
|
| 151 |
+
"page_idx": 1
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"type": "text",
|
| 155 |
+
"text": "2.1 ATTENTION FOR NEURAL LANGUAGE MODELING ",
|
| 156 |
+
"text_level": 1,
|
| 157 |
+
"bbox": [
|
| 158 |
+
173,
|
| 159 |
+
103,
|
| 160 |
+
560,
|
| 161 |
+
118
|
| 162 |
+
],
|
| 163 |
+
"page_idx": 2
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"type": "text",
|
| 167 |
+
"text": "Augmenting a neural language model with attention (Bahdanau et al., 2015) is straight-forward. We simply take the previous $L$ output vectors as memory $Y _ { t } = [ \\pmb { h } _ { t - L } \\ \\cdot \\ \\cdot \\ \\pmb { h } _ { t - 1 } ] \\in \\mathbb { R } ^ { k \\times \\tilde { L } }$ where $k$ is the output dimension of a Long Short-Term Memory (LSTM) unit (Hochreiter & Schmidhuber, 1997). This memory could in principle contain all previous output representations, but for practical reasons we only keep a sliding window of the previous $L$ outputs. Let $\\boldsymbol { h } _ { t } \\in \\mathbb { R } ^ { k }$ be the output representation at time step $t$ and $\\mathbf { 1 } \\in \\mathbb { R } ^ { L }$ be a vector of ones. ",
|
| 168 |
+
"bbox": [
|
| 169 |
+
173,
|
| 170 |
+
128,
|
| 171 |
+
825,
|
| 172 |
+
213
|
| 173 |
+
],
|
| 174 |
+
"page_idx": 2
|
| 175 |
+
},
|
| 176 |
+
{
|
| 177 |
+
"type": "text",
|
| 178 |
+
"text": "The attention weights $\\pmb { \\alpha } \\in \\mathbb { R } ^ { L }$ are computed from a comparison of the current and previous LSTM outputs. Subsequently, the context vector $\\boldsymbol { r } _ { t } \\in \\mathbb { R } ^ { k }$ is calculated from a sum over previous output vectors weighted by their respective attention value. This can be formulated as ",
|
| 179 |
+
"bbox": [
|
| 180 |
+
174,
|
| 181 |
+
219,
|
| 182 |
+
825,
|
| 183 |
+
262
|
| 184 |
+
],
|
| 185 |
+
"page_idx": 2
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"type": "equation",
|
| 189 |
+
"img_path": "images/ad40128e070864c0b9f8bc745a9ec7cd031746e7ae4cad21c0ebbc84a2c2ad02.jpg",
|
| 190 |
+
"text": "$$\n\\begin{array} { r l } & { M _ { t } = \\operatorname { t a n h } ( W ^ { Y } Y _ { t } + ( W ^ { h } h _ { t } ) \\mathbf { 1 } ^ { T } ) } \\\\ & { ~ \\alpha _ { t } = \\operatorname { s o f t m a x } ( \\pmb { w } ^ { T } M _ { t } ) } \\\\ & { ~ { \\pmb { r } _ { t } } = { \\pmb { Y } _ { t } } \\pmb { \\alpha } ^ { T } } \\end{array}\n$$",
|
| 191 |
+
"text_format": "latex",
|
| 192 |
+
"bbox": [
|
| 193 |
+
290,
|
| 194 |
+
265,
|
| 195 |
+
532,
|
| 196 |
+
327
|
| 197 |
+
],
|
| 198 |
+
"page_idx": 2
|
| 199 |
+
},
|
| 200 |
+
{
|
| 201 |
+
"type": "equation",
|
| 202 |
+
"img_path": "images/391665ff7bb435179cffe57a900fbb1547df2eedbb68dced9e8167d6b9237132.jpg",
|
| 203 |
+
"text": "$$\n\\begin{array} { l } { \\in \\mathbb { R } ^ { k \\times L } } \\\\ { \\in \\mathbb { R } ^ { 1 \\times L } } \\\\ { \\in \\mathbb { R } ^ { k } } \\end{array}\n$$",
|
| 204 |
+
"text_format": "latex",
|
| 205 |
+
"bbox": [
|
| 206 |
+
647,
|
| 207 |
+
265,
|
| 208 |
+
705,
|
| 209 |
+
327
|
| 210 |
+
],
|
| 211 |
+
"page_idx": 2
|
| 212 |
+
},
|
| 213 |
+
{
|
| 214 |
+
"type": "text",
|
| 215 |
+
"text": "where $W ^ { Y }$ , $W ^ { h } \\in \\mathbb { R } ^ { k \\times k }$ are trainable projection matrices and $\\mathbf { \\boldsymbol { w } } \\in \\mathbb { R } ^ { k }$ is a trainable vector. The final representation that encodes the next-word distribution is computed from a non-linear combination of the attention-weighted representation $\\mathbf { \\nabla } _ { \\mathbf { \\boldsymbol { r } } _ { t } }$ of previous outputs and the final output vector $\\boldsymbol { h } _ { t }$ via ",
|
| 216 |
+
"bbox": [
|
| 217 |
+
174,
|
| 218 |
+
330,
|
| 219 |
+
825,
|
| 220 |
+
375
|
| 221 |
+
],
|
| 222 |
+
"page_idx": 2
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"type": "equation",
|
| 226 |
+
"img_path": "images/256e0959299e5b7ee251b778713642fb126040d7ad2d69abb9b085165bf51fb6.jpg",
|
| 227 |
+
"text": "$$\n\\begin{array} { r } { \\pmb { h } _ { t } ^ { * } = \\operatorname { t a n h } ( \\pmb { W } ^ { r } \\pmb { r } _ { t } + \\pmb { W } ^ { x } \\pmb { h } _ { t } ) } \\end{array}\n$$",
|
| 228 |
+
"text_format": "latex",
|
| 229 |
+
"bbox": [
|
| 230 |
+
312,
|
| 231 |
+
380,
|
| 232 |
+
508,
|
| 233 |
+
397
|
| 234 |
+
],
|
| 235 |
+
"page_idx": 2
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"type": "equation",
|
| 239 |
+
"img_path": "images/d492a9e757cf4befd39935df2ead07efd406c15fceb8c6e557b4ca25f4acbe38.jpg",
|
| 240 |
+
"text": "$$\n\\in \\mathbb { R } ^ { k }\n$$",
|
| 241 |
+
"text_format": "latex",
|
| 242 |
+
"bbox": [
|
| 243 |
+
645,
|
| 244 |
+
378,
|
| 245 |
+
686,
|
| 246 |
+
395
|
| 247 |
+
],
|
| 248 |
+
"page_idx": 2
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"type": "text",
|
| 252 |
+
"text": "where $W ^ { r }$ , $W ^ { x } \\in \\mathbb { R } ^ { k \\times k }$ are trainable projection matrices. An overview of this architecture is depicted in Figure 1a. Lastly, the probablity distribution ${ \\mathbf { } } _ { \\mathbf { } } \\mathbf { \\mathbf { } } _ { \\mathbf { } } \\mathbf { \\mathbf { } } _ { \\mathbf { } } \\mathbf { \\mathbf { } } _ { \\mathbf { } } \\mathbf { \\mathbf { } } _ { \\mathbf { } } \\mathbf { \\mathbf { } } _ { \\mathbf { } } \\mathbf { \\mathbf { } } _ { \\mathbf { } } \\mathbf { \\mathbf { } } _ { \\mathbf { } } \\mathbf { \\Xi } _ { \\mathbf { } } \\mathbf { \\Lambda } _ { \\mathbf { } } \\mathbf { \\Lambda } _ { \\mathbf { } } \\textbf { } _ { \\mathbf { } } \\textbf { } \\textbf { } _ { \\mathrm { } }$ for the next word is represented by ",
|
| 253 |
+
"bbox": [
|
| 254 |
+
169,
|
| 255 |
+
404,
|
| 256 |
+
823,
|
| 257 |
+
431
|
| 258 |
+
],
|
| 259 |
+
"page_idx": 2
|
| 260 |
+
},
|
| 261 |
+
{
|
| 262 |
+
"type": "equation",
|
| 263 |
+
"img_path": "images/7c3a9f0c5ccb96cf2c038d5a5ae26ab7ccab6834f80da85a04131f48df751e48.jpg",
|
| 264 |
+
"text": "$$\n\\begin{array} { r } { y _ { t } = \\mathrm { s o f t m a x } ( W ^ { * } h _ { t } ^ { * } + b ) \\qquad \\in \\mathbb { R } ^ { | V | } } \\end{array}\n$$",
|
| 265 |
+
"text_format": "latex",
|
| 266 |
+
"bbox": [
|
| 267 |
+
312,
|
| 268 |
+
435,
|
| 269 |
+
686,
|
| 270 |
+
455
|
| 271 |
+
],
|
| 272 |
+
"page_idx": 2
|
| 273 |
+
},
|
| 274 |
+
{
|
| 275 |
+
"type": "text",
|
| 276 |
+
"text": "where $W ^ { \\ast } \\in \\mathbb { R } ^ { | V | \\times k }$ and $\\pmb { b } \\in \\mathbb { R } ^ { | V | }$ are a trainable projection matrix and bias, respectively. ",
|
| 277 |
+
"bbox": [
|
| 278 |
+
168,
|
| 279 |
+
460,
|
| 280 |
+
764,
|
| 281 |
+
477
|
| 282 |
+
],
|
| 283 |
+
"page_idx": 2
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"type": "text",
|
| 287 |
+
"text": "2.2 KEY-VALUE ATTENTION ",
|
| 288 |
+
"text_level": 1,
|
| 289 |
+
"bbox": [
|
| 290 |
+
174,
|
| 291 |
+
492,
|
| 292 |
+
385,
|
| 293 |
+
507
|
| 294 |
+
],
|
| 295 |
+
"page_idx": 2
|
| 296 |
+
},
|
| 297 |
+
{
|
| 298 |
+
"type": "text",
|
| 299 |
+
"text": "Inspired by Miller et al. (2016); Ba et al. (2016); Reed & de Freitas (2015); Gulcehre et al. (2016), we introduce a key-value attention model that separates output vectors into keys used for calculating the attention distribution $\\pmb { \\alpha } _ { t }$ , and a value part used for encoding the next-word distribution and context representation. This model is depicted in Figure 1b. Formally, we rewrite Equations 1-4 as follows: ",
|
| 300 |
+
"bbox": [
|
| 301 |
+
174,
|
| 302 |
+
517,
|
| 303 |
+
823,
|
| 304 |
+
574
|
| 305 |
+
],
|
| 306 |
+
"page_idx": 2
|
| 307 |
+
},
|
| 308 |
+
{
|
| 309 |
+
"type": "equation",
|
| 310 |
+
"img_path": "images/10d5db40bd26ac4614d51624dac12543688c10c882493be1c75f17867dff1152.jpg",
|
| 311 |
+
"text": "$$\n\\begin{array} { r l r l } & { \\Big [ \\pmb { k } _ { t } \\Big ] = \\pmb { h } _ { t } } & { \\qquad } & & { \\in \\mathbb { R } ^ { 2 k } } \\\\ & { M _ { t } = \\operatorname { t a n h } ( \\pmb { W } ^ { Y } [ \\pmb { k } _ { t - L } \\cdot \\cdot \\cdot \\pmb { k } _ { t - 1 } ] + ( \\pmb { W } ^ { h } \\pmb { k } _ { t } ) \\mathbf { 1 } ^ { T } ) } & & { \\qquad \\in \\mathbb { R } ^ { k \\times L } } \\\\ & { \\pmb { \\alpha } _ { t } = \\operatorname { s o f t m a x } ( \\pmb { w } ^ { T } M _ { t } ) } & & { \\in \\mathbb { R } ^ { 1 \\times L } } \\\\ & { r _ { t } = [ \\pmb { v } _ { t - L } \\cdot \\cdot \\cdot \\cdot \\pmb { v } _ { t - 1 } ] \\pmb { \\alpha } ^ { T } } & & { \\in \\mathbb { R } ^ { k } } \\\\ & { \\pmb { h } _ { t } ^ { * } = \\operatorname { t a n h } ( \\pmb { W } ^ { r } r _ { t } + \\pmb { W } ^ { x } \\pmb { v } _ { t } ) } & & { \\in \\mathbb { R } ^ { k } } \\end{array}\n$$",
|
| 312 |
+
"text_format": "latex",
|
| 313 |
+
"bbox": [
|
| 314 |
+
258,
|
| 315 |
+
579,
|
| 316 |
+
738,
|
| 317 |
+
694
|
| 318 |
+
],
|
| 319 |
+
"page_idx": 2
|
| 320 |
+
},
|
| 321 |
+
{
|
| 322 |
+
"type": "text",
|
| 323 |
+
"text": "In essence, Equation 7 compares the key at time step $t$ with the previous $L$ keys to calculate the attention distribution $\\pmb { \\alpha } _ { t }$ which is then used in Equation 9 to obtain a weighted context representation from values associated with these keys. ",
|
| 324 |
+
"bbox": [
|
| 325 |
+
176,
|
| 326 |
+
696,
|
| 327 |
+
823,
|
| 328 |
+
739
|
| 329 |
+
],
|
| 330 |
+
"page_idx": 2
|
| 331 |
+
},
|
| 332 |
+
{
|
| 333 |
+
"type": "text",
|
| 334 |
+
"text": "2.3 KEY-VALUE-PREDICT ATTENTION ",
|
| 335 |
+
"text_level": 1,
|
| 336 |
+
"bbox": [
|
| 337 |
+
176,
|
| 338 |
+
756,
|
| 339 |
+
452,
|
| 340 |
+
770
|
| 341 |
+
],
|
| 342 |
+
"page_idx": 2
|
| 343 |
+
},
|
| 344 |
+
{
|
| 345 |
+
"type": "text",
|
| 346 |
+
"text": "Even with a key-value separation, a potential problem is that the same representation ${ \\mathbf { } } v _ { t }$ is still used both for encoding the probability distribution of the next word and for retrieval from the memory via the attention later. Thus, we experimented with another extension of this model where we further separate $\\boldsymbol { h } _ { t }$ into a $k e y$ , a value and a predict representation where the latter is only used for encoding the next-word distribution (see Figure 1c). To this end, equations 6 and 10 are replaced by ",
|
| 347 |
+
"bbox": [
|
| 348 |
+
174,
|
| 349 |
+
781,
|
| 350 |
+
823,
|
| 351 |
+
852
|
| 352 |
+
],
|
| 353 |
+
"page_idx": 2
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"type": "equation",
|
| 357 |
+
"img_path": "images/fdaef764ab84d1568b3fa5a8f9e4f8cd5a4de73486cec6d71f5ba3c460164b96.jpg",
|
| 358 |
+
"text": "$$\n\\begin{array} { r l } & { \\left\\lceil \\begin{array} { l } { k _ { t } } \\\\ { v _ { t } } \\\\ { p _ { t } } \\end{array} \\right\\rceil = h _ { t } } \\\\ & { ~ \\left\\lceil \\begin{array} { l } { k _ { t } } \\end{array} \\right\\rceil } \\\\ & { ~ h _ { t } ^ { * } = \\operatorname { t a n h } ( W ^ { r } r _ { t } + W ^ { x } p _ { t } ) } \\end{array}\n$$",
|
| 359 |
+
"text_format": "latex",
|
| 360 |
+
"bbox": [
|
| 361 |
+
303,
|
| 362 |
+
856,
|
| 363 |
+
516,
|
| 364 |
+
924
|
| 365 |
+
],
|
| 366 |
+
"page_idx": 2
|
| 367 |
+
},
|
| 368 |
+
{
|
| 369 |
+
"type": "equation",
|
| 370 |
+
"img_path": "images/0675974f60f411ba0419d0aefd6375cc0ae37c94067f5c78f497e53dfd108819.jpg",
|
| 371 |
+
"text": "$$\n\\begin{array} { l } { \\in \\mathbb { R } ^ { 3 k } } \\\\ { \\ } \\\\ { \\in \\mathbb { R } ^ { k } } \\end{array}\n$$",
|
| 372 |
+
"text_format": "latex",
|
| 373 |
+
"bbox": [
|
| 374 |
+
647,
|
| 375 |
+
866,
|
| 376 |
+
691,
|
| 377 |
+
925
|
| 378 |
+
],
|
| 379 |
+
"page_idx": 2
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"type": "text",
|
| 383 |
+
"text": "More precisely, the output vector $\\boldsymbol { h } _ { t }$ is divided into three equal parts: key, value and predict. In our implementation we simply split the output vector $h _ { t }$ into $k _ { t }$ , ${ \\mathbf { } } v _ { t }$ and ${ \\pmb p } _ { t }$ . To this end the hidden dimension of the key-value-predict attention model needs to be a multiplicative of three. Consequently, the dimensions of $k _ { t }$ , ${ \\mathbf { } } v _ { t }$ and ${ \\mathbf { } } p _ { t }$ are 100 for a hidden dimension of 300. ",
|
| 384 |
+
"bbox": [
|
| 385 |
+
174,
|
| 386 |
+
103,
|
| 387 |
+
825,
|
| 388 |
+
159
|
| 389 |
+
],
|
| 390 |
+
"page_idx": 3
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"type": "text",
|
| 394 |
+
"text": "2.4 $N$ -GRAM RECURRENT NEURAL NETWORK",
|
| 395 |
+
"text_level": 1,
|
| 396 |
+
"bbox": [
|
| 397 |
+
178,
|
| 398 |
+
178,
|
| 399 |
+
509,
|
| 400 |
+
193
|
| 401 |
+
],
|
| 402 |
+
"page_idx": 3
|
| 403 |
+
},
|
| 404 |
+
{
|
| 405 |
+
"type": "text",
|
| 406 |
+
"text": "Neural language models often work best in combination with traditional $N$ -gram models (Mikolov et al., 2011; Chelba et al., 2013; Williams et al., 2015; Ji et al., 2016; Shazeer et al., 2015), since the former excel at generalization while the latter ensure memorization. In addition, from initial experiments with memory-augmented neural language models, we found that usually only the previous five output representations are utilized. This is in line with observations by Tran et al. (2016). Hence, we experiment with a much simpler architecture depicted in Figure 1d. Instead of an attention mechanism, the output representations from the previous $N - 1$ time steps are directly used to calculate next-word probabilities. Specifically, at every time step we split the LSTM output into $N - 1$ vectors $[ { \\pmb h } _ { t } ^ { 1 } , \\dots , { \\pmb h } _ { t } ^ { N - 1 } ]$ and replace Equation 4 with ",
|
| 407 |
+
"bbox": [
|
| 408 |
+
173,
|
| 409 |
+
204,
|
| 410 |
+
826,
|
| 411 |
+
332
|
| 412 |
+
],
|
| 413 |
+
"page_idx": 3
|
| 414 |
+
},
|
| 415 |
+
{
|
| 416 |
+
"type": "equation",
|
| 417 |
+
"img_path": "images/230d20800bae3fec41fa56e4d79790fb3785a124e0e08f73ae7566045267c957.jpg",
|
| 418 |
+
"text": "$$\n\\begin{array} { r } { h _ { t } ^ { * } = \\operatorname { t a n h } \\left( W ^ { N } \\left[ \\begin{array} { c } { \\ h _ { t } ^ { 1 } } \\\\ { \\vdots } \\\\ { h _ { t - N + 1 } ^ { N - 1 } } \\end{array} \\right] \\right) } \\end{array}\n$$",
|
| 419 |
+
"text_format": "latex",
|
| 420 |
+
"bbox": [
|
| 421 |
+
303,
|
| 422 |
+
339,
|
| 423 |
+
521,
|
| 424 |
+
401
|
| 425 |
+
],
|
| 426 |
+
"page_idx": 3
|
| 427 |
+
},
|
| 428 |
+
{
|
| 429 |
+
"type": "text",
|
| 430 |
+
"text": "where $W ^ { N } \\in \\mathbb { R } ^ { k \\times ( N - 1 ) k }$ is a trainable projection matrix. This model is related to higher-order RNNs (Soltani $\\&$ Jiang, 2016) with the difference that we do not incorporate output vectors from the previous steps into the hidden state but only use them for predicting the next word. Furthermore, note that at time step $t$ the first part of the output vector $ { \\boldsymbol { h } } _ { t } ^ { 1 }$ will contribute to predicting the next word, the second part $h _ { t } ^ { 2 }$ will contribute to predicting the second word thereafter, and so on. As the output vectors from the $N - 1$ previous time-steps are used to score the next word, we call the resulting model an $N$ -gram RNN. ",
|
| 431 |
+
"bbox": [
|
| 432 |
+
173,
|
| 433 |
+
409,
|
| 434 |
+
826,
|
| 435 |
+
508
|
| 436 |
+
],
|
| 437 |
+
"page_idx": 3
|
| 438 |
+
},
|
| 439 |
+
{
|
| 440 |
+
"type": "text",
|
| 441 |
+
"text": "3 RELATED WORK ",
|
| 442 |
+
"text_level": 1,
|
| 443 |
+
"bbox": [
|
| 444 |
+
176,
|
| 445 |
+
529,
|
| 446 |
+
344,
|
| 447 |
+
545
|
| 448 |
+
],
|
| 449 |
+
"page_idx": 3
|
| 450 |
+
},
|
| 451 |
+
{
|
| 452 |
+
"type": "text",
|
| 453 |
+
"text": "Early attempts of using memory in neural networks have been undertaken by Taylor (1959) and Steinbuch $\\&$ Piske (1963) by performing nearest-neighbor operations on input vectors and fitting parametric models to the retrieved sets. The dedicated use of external memory in neural architectures has more recently witnessed increased interest. Weston et al. (2015) introduced Memory Networks to explicitly segregate memory storage from the computation of the neural network, and Sukhbaatar et al. (2015) trained this model end-to-end with an attention-based memory addressing mechanism. The Neural Turing Machines by Graves et al. (2014) add an external differentiable memory with read-write functions to a controller recurrent neural network, and has shown promising results in simple sequence tasks such as copying and sorting. These models make use of external memory, whereas our model directly uses a short sequence from the history of tokens to dynamically populate an addressable memory. ",
|
| 454 |
+
"bbox": [
|
| 455 |
+
174,
|
| 456 |
+
561,
|
| 457 |
+
825,
|
| 458 |
+
715
|
| 459 |
+
],
|
| 460 |
+
"page_idx": 3
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"type": "text",
|
| 464 |
+
"text": "In sequence modeling, RNNs such as LSTMs (Hochreiter & Schmidhuber, 1997) maintain an internal memory state as they process an input sequence. Attending over previous state outputs on top of an RNN encoder has improved performances in a wide range of tasks, including machine translation (Bahdanau et al., 2015), recognizing textual entailment (Rocktaschel et al. ¨ , 2016), sentence summarization (Rush et al., 2015), image captioning (Xu et al., 2015) and speech recognition (Chorowski et al., 2015). ",
|
| 465 |
+
"bbox": [
|
| 466 |
+
174,
|
| 467 |
+
722,
|
| 468 |
+
825,
|
| 469 |
+
805
|
| 470 |
+
],
|
| 471 |
+
"page_idx": 3
|
| 472 |
+
},
|
| 473 |
+
{
|
| 474 |
+
"type": "text",
|
| 475 |
+
"text": "Recently, Cheng et al. (2016) proposed an architecture that modifies the standard LSTM by replacing the memory cell with a memory network (Weston et al., 2015). Another proposal for conditioning on previous output representations are Higher-order Recurrent Neural Networks (HORNNs, Soltani & Jiang, 2016). Soltani & Jiang found it useful to include information from multiple preceding RNN states when computing the next state. This previous work centers around preceding state vectors, whereas we investigate attention mechanisms on top of RNN outputs, i.e. the vectors used for predicting the next word. Furthermore, instead of pooling we use attention vectors to calculate a context representation of previous memories. ",
|
| 476 |
+
"bbox": [
|
| 477 |
+
174,
|
| 478 |
+
811,
|
| 479 |
+
825,
|
| 480 |
+
924
|
| 481 |
+
],
|
| 482 |
+
"page_idx": 3
|
| 483 |
+
},
|
| 484 |
+
{
|
| 485 |
+
"type": "text",
|
| 486 |
+
"text": "Yang et al. (2016) introduced a reference-aware neural language model where at every position a latent variable determines from which source a target token is generated, e.g., by copying entries from a table or referencing entities that were mentioned earlier. ",
|
| 487 |
+
"bbox": [
|
| 488 |
+
174,
|
| 489 |
+
103,
|
| 490 |
+
823,
|
| 491 |
+
145
|
| 492 |
+
],
|
| 493 |
+
"page_idx": 4
|
| 494 |
+
},
|
| 495 |
+
{
|
| 496 |
+
"type": "text",
|
| 497 |
+
"text": "Another class of models that include memory into sequence modeling are Recurrent Memory Networks (RMNs) (Tran et al., 2016). Here, a memory block accesses the most recent input words to selectively attend over relevant word representations from a global vocabulary. RMNs use a global memory with two input word vector look-up tables for the attention mechanism, and consequently have a large number of trainable parameters. Instead, we proposed models that need much fewer parameters by producing the vectors that will be attended over in the future, which can be seen as a memory that is dynamically populated by the language model. ",
|
| 498 |
+
"bbox": [
|
| 499 |
+
174,
|
| 500 |
+
152,
|
| 501 |
+
825,
|
| 502 |
+
251
|
| 503 |
+
],
|
| 504 |
+
"page_idx": 4
|
| 505 |
+
},
|
| 506 |
+
{
|
| 507 |
+
"type": "text",
|
| 508 |
+
"text": "Finally, the functional separation of look-up keys and memory content has been found useful for Memory Networks (Miller et al., 2016), Neural Programmer-Interpreters (Reed & de Freitas, 2015), Dynamic Neural Turing Machines (Gulcehre et al., 2016), and Fast Associative Memory (Ba et al., 2016). We apply and extend this principle to neural language models. ",
|
| 509 |
+
"bbox": [
|
| 510 |
+
176,
|
| 511 |
+
257,
|
| 512 |
+
825,
|
| 513 |
+
313
|
| 514 |
+
],
|
| 515 |
+
"page_idx": 4
|
| 516 |
+
},
|
| 517 |
+
{
|
| 518 |
+
"type": "text",
|
| 519 |
+
"text": "4 EXPERIMENTS ",
|
| 520 |
+
"text_level": 1,
|
| 521 |
+
"bbox": [
|
| 522 |
+
176,
|
| 523 |
+
338,
|
| 524 |
+
326,
|
| 525 |
+
353
|
| 526 |
+
],
|
| 527 |
+
"page_idx": 4
|
| 528 |
+
},
|
| 529 |
+
{
|
| 530 |
+
"type": "text",
|
| 531 |
+
"text": "We evaluate models on two different corpora for language modeling. The first is a subset of the Wikipedia corpus.1 It consists of 7500 English Wikipedia articles (dump from 6 Feb 2015) belonging to one of the following categories: People, Cities, Countries, Universities, and Novels. We chose these categories as we expect articles in these categories to often contain references to previously mentioned entities. Subsequently, we split this corpus into a train, development, and test part, resulting in corpora of $2 2 . 5 \\mathbf { M }$ words, 1.2M and 1.2M words, respectively. We map all numbers to a dedicated numerical symbol $N$ and restrict the vocabulary to the 77K most frequent words, encompassing $9 7 \\%$ of the training vocabulary. All other words are replaced by the UNK symbol. The average length of sentences is 25 tokens. In addition to this Wikipedia corpus, we also run experiments on the Children’s Book Test (CBT Hill et al., 2016). While this corpus is designed for cloze-style question-answering, in this paper we use it to test how well language models can exploit wider linguistic context. ",
|
| 532 |
+
"bbox": [
|
| 533 |
+
174,
|
| 534 |
+
372,
|
| 535 |
+
825,
|
| 536 |
+
539
|
| 537 |
+
],
|
| 538 |
+
"page_idx": 4
|
| 539 |
+
},
|
| 540 |
+
{
|
| 541 |
+
"type": "text",
|
| 542 |
+
"text": "4.1 TRAINING PROCEDURE ",
|
| 543 |
+
"text_level": 1,
|
| 544 |
+
"bbox": [
|
| 545 |
+
176,
|
| 546 |
+
560,
|
| 547 |
+
377,
|
| 548 |
+
574
|
| 549 |
+
],
|
| 550 |
+
"page_idx": 4
|
| 551 |
+
},
|
| 552 |
+
{
|
| 553 |
+
"type": "text",
|
| 554 |
+
"text": "We use ADAM (Kingma & Ba, 2015) with an initial learning rate of 0.001 and a mini-batch size of 64 for optimization. Furthermore, we apply gradient clipping at a gradient norm of 5 (Pascanu et al., 2013). The bias of the LSTM’s forget gate is initialized to 1 (Jozefowicz et al., 2016), while other parameters are initialized uniformly from the range $( - 0 . 1 , 0 . 1 )$ . Backpropagation Through Time (Rumelhart et al., 1985; Werbos, 1990) was used to train the network with 20 steps of unrolling. We reset the hidden states between articles for the Wikipedia corpus and between stories for CBT, respectively. We take the best configuration based on performance on the validation set and evaluate it on the test set. ",
|
| 555 |
+
"bbox": [
|
| 556 |
+
174,
|
| 557 |
+
588,
|
| 558 |
+
825,
|
| 559 |
+
699
|
| 560 |
+
],
|
| 561 |
+
"page_idx": 4
|
| 562 |
+
},
|
| 563 |
+
{
|
| 564 |
+
"type": "text",
|
| 565 |
+
"text": "5 RESULTS ",
|
| 566 |
+
"text_level": 1,
|
| 567 |
+
"bbox": [
|
| 568 |
+
174,
|
| 569 |
+
724,
|
| 570 |
+
281,
|
| 571 |
+
741
|
| 572 |
+
],
|
| 573 |
+
"page_idx": 4
|
| 574 |
+
},
|
| 575 |
+
{
|
| 576 |
+
"type": "text",
|
| 577 |
+
"text": "In the first set of experiments we explore how well the proposed models and Tran et al.’s Recurrentmemory Model can make use of histories of varying lengths. Perplexity results for different attention window sizes on the Wikipedia corpus are summarized in Figure 2a. The average attention these models pay to specific positions in the history is illustrated in Figure 3. We observed that although our models attend over tokens further in the past more often than the Recurrent-memory Model, attending over a longer history does not significantly improve the perplexity of any attentive model. ",
|
| 578 |
+
"bbox": [
|
| 579 |
+
174,
|
| 580 |
+
758,
|
| 581 |
+
825,
|
| 582 |
+
843
|
| 583 |
+
],
|
| 584 |
+
"page_idx": 4
|
| 585 |
+
},
|
| 586 |
+
{
|
| 587 |
+
"type": "text",
|
| 588 |
+
"text": "The much simpler $N$ -gram RNN model achieves comparable results (Figure 2b) and seems to work best with a history of the previous three output vectors (4-gram RNN). As a result, we choose the 4-gram model for the following $N$ -gram RNN experiments. ",
|
| 589 |
+
"bbox": [
|
| 590 |
+
174,
|
| 591 |
+
849,
|
| 592 |
+
825,
|
| 593 |
+
892
|
| 594 |
+
],
|
| 595 |
+
"page_idx": 4
|
| 596 |
+
},
|
| 597 |
+
{
|
| 598 |
+
"type": "table",
|
| 599 |
+
"img_path": "images/a2b07665c1c901aed126e3f5284078eaeefd88a9bedf4b76fad451ca63518a6f.jpg",
|
| 600 |
+
"table_caption": [
|
| 601 |
+
"Figure 2: Perplexities of memory-augmented neural language models on the Wikipedia corpus (a-c) and accuracies on the CBT test set (d). "
|
| 602 |
+
],
|
| 603 |
+
"table_footnote": [],
|
| 604 |
+
"table_body": "<table><tr><td>Model</td><td colspan=\"4\">Attention Window Size</td></tr><tr><td></td><td>1</td><td>5</td><td>10</td><td>15</td></tr><tr><td>RM(+tM-g) (Tran et al.,2016)</td><td>83.5</td><td>80.5</td><td>80.3</td><td>80.1</td></tr><tr><td>Attention</td><td>82.2</td><td>82.2</td><td>82.0</td><td>82.8</td></tr><tr><td>Key-Value</td><td>78.7</td><td>79.0</td><td>78.2</td><td>78.9</td></tr><tr><td>Key-Value-Predict</td><td>76.1</td><td>75.8</td><td>76.0</td><td>75.8</td></tr></table>",
|
| 605 |
+
"bbox": [
|
| 606 |
+
179,
|
| 607 |
+
184,
|
| 608 |
+
503,
|
| 609 |
+
263
|
| 610 |
+
],
|
| 611 |
+
"page_idx": 5
|
| 612 |
+
},
|
| 613 |
+
{
|
| 614 |
+
"type": "table",
|
| 615 |
+
"img_path": "images/ceedcb64e0c3e1d18aec1ac3e80dd86338c815affc386bef6777c32dacd288f6.jpg",
|
| 616 |
+
"table_caption": [
|
| 617 |
+
"(a) Test perplexity of different attention architectures with varying attention window sizes. Best perplexity per model is italic. ",
|
| 618 |
+
"(b) Comparison of $N$ -gram neural language models. $w$ denotes the input size, $k$ the hidden size and $\\theta _ { M }$ the total number of model parameters. "
|
| 619 |
+
],
|
| 620 |
+
"table_footnote": [],
|
| 621 |
+
"table_body": "<table><tr><td>Model</td><td>w</td><td>k</td><td>0M</td><td>Dev</td><td>Test</td></tr><tr><td>2-gram RNN</td><td>300</td><td>564</td><td>23.9M</td><td>76.0</td><td>77.1</td></tr><tr><td>3-gram RNN</td><td>300</td><td>786</td><td>23.9M</td><td>74.9</td><td>75.9</td></tr><tr><td>4-gram RNN</td><td>300</td><td>968</td><td>23.9M</td><td>74.8</td><td>75.9</td></tr><tr><td>5-gram RNN</td><td>300</td><td>1120</td><td>23.9M</td><td>76.0</td><td>77.3</td></tr></table>",
|
| 622 |
+
"bbox": [
|
| 623 |
+
526,
|
| 624 |
+
184,
|
| 625 |
+
816,
|
| 626 |
+
251
|
| 627 |
+
],
|
| 628 |
+
"page_idx": 5
|
| 629 |
+
},
|
| 630 |
+
{
|
| 631 |
+
"type": "text",
|
| 632 |
+
"text": "(c) Summary of models with best attention window size $a$ . The total number of model parameters, including word representations, is denoted by $\\theta _ { W + M }$ (without word representations $\\theta _ { M }$ ). ",
|
| 633 |
+
"bbox": [
|
| 634 |
+
173,
|
| 635 |
+
275,
|
| 636 |
+
836,
|
| 637 |
+
301
|
| 638 |
+
],
|
| 639 |
+
"page_idx": 5
|
| 640 |
+
},
|
| 641 |
+
{
|
| 642 |
+
"type": "table",
|
| 643 |
+
"img_path": "images/3f480394fefa0d7831679c9a460745c751e0377da6e0e21f7c9fb38adf5a97e7.jpg",
|
| 644 |
+
"table_caption": [],
|
| 645 |
+
"table_footnote": [],
|
| 646 |
+
"table_body": "<table><tr><td>Model</td><td>w</td><td>k</td><td>a</td><td>0W+M</td><td>0M</td><td>Dev</td><td>Test</td></tr><tr><td>RNN</td><td>300</td><td>307</td><td>1</td><td>47.0M</td><td>23.9M</td><td>121.7</td><td>125.7</td></tr><tr><td>LSTM</td><td>300</td><td>300</td><td>-</td><td>47.0M</td><td>23.9M</td><td>83.2</td><td>85.2</td></tr><tr><td>FOFE HORNN (3-rd order) (Soltani & Jiang,2016)</td><td>300</td><td>303</td><td>-</td><td>47.0M</td><td>23.9M</td><td>116.7</td><td>120.5</td></tr><tr><td>Gated HORNN (3-rd order) (Soltani & Jiang, 2016)</td><td>300</td><td>297</td><td>-</td><td>47.0M</td><td>23.9M</td><td>93.9</td><td>97.1</td></tr><tr><td>RM(+tM-g) (Tran et al.,2016)</td><td>300</td><td>300</td><td>15</td><td>93.7M</td><td>70.6M</td><td>78.2</td><td>80.1</td></tr><tr><td>Attention</td><td>300</td><td>296</td><td>10</td><td>47.0M</td><td>23.9M</td><td>80.6</td><td>82.0</td></tr><tr><td>Key-Value</td><td>300</td><td>560</td><td>10</td><td>47.0M</td><td>23.9M</td><td>77.1</td><td>78.2</td></tr><tr><td>Key-Value-Predict</td><td>300</td><td>834</td><td>5</td><td>47.0M</td><td>23.9M</td><td>74.2</td><td>75.8</td></tr><tr><td>4-gram RNN</td><td>300</td><td>968</td><td>-</td><td>47.0M</td><td>23.9M</td><td>74.8</td><td>75.9</td></tr></table>",
|
| 647 |
+
"bbox": [
|
| 648 |
+
179,
|
| 649 |
+
305,
|
| 650 |
+
826,
|
| 651 |
+
458
|
| 652 |
+
],
|
| 653 |
+
"page_idx": 5
|
| 654 |
+
},
|
| 655 |
+
{
|
| 656 |
+
"type": "table",
|
| 657 |
+
"img_path": "images/a46c0774d10b32d9443dd9e064be58e5b897adb8f721d8bd869ab291cabdf7ed.jpg",
|
| 658 |
+
"table_caption": [
|
| 659 |
+
"(d) Results on CBT; those marked with ‡ are taken from Hill et al. (2016). "
|
| 660 |
+
],
|
| 661 |
+
"table_footnote": [],
|
| 662 |
+
"table_body": "<table><tr><td>Model</td><td>Named Entities</td><td>Common Nouns</td><td>Verbs</td><td>Prepositions</td></tr><tr><td>Humans (context+query) ‡</td><td>0.816</td><td>0.816</td><td>0.828</td><td>0.708</td></tr><tr><td>Kneser-Ney LM ‡</td><td>0.390</td><td>0.544</td><td>0.778</td><td>0.768</td></tr><tr><td>Kneser-Ney LM + cache ‡</td><td>0.439</td><td>0.577</td><td>0.772</td><td>0.679</td></tr><tr><td>LSTM (context+query) ‡</td><td>0.418</td><td>0.560</td><td>0.818</td><td>0.791</td></tr><tr><td>Memory Network ‡</td><td>0.666</td><td>0.630</td><td>0.690</td><td>0.703</td></tr><tr><td>AS Reader, avg ensemble (Kadlec et al., 2016)</td><td>0.706</td><td>0.689</td><td>一</td><td>1</td></tr><tr><td>AS Reader, greedy ensemble (Kadlec et al., 2016)</td><td>0.710</td><td>0.675</td><td></td><td></td></tr><tr><td>QANN, 4 hops, GloVe (Weissenborn, 2016)</td><td>0.729</td><td>1</td><td></td><td></td></tr><tr><td>AoA Reader, single model (Cui et al.,2016a)</td><td>0.720</td><td>0.694</td><td></td><td></td></tr><tr><td>CAS Reader, mode avg (Cui et al.,2016b)</td><td>0.692</td><td>0.657</td><td></td><td></td></tr><tr><td>GA Reader, ensemble (Dhingra et al., 2016)</td><td>0.719</td><td>0.694</td><td></td><td></td></tr><tr><td>EpiReader, ensemble (Trischler et al., 2016)</td><td>0.718</td><td>0.706</td><td></td><td></td></tr><tr><td>FOFE HORNN (3-rd order) (Soltani & Jiang,2016)</td><td>0.465</td><td>0.497</td><td>0.774</td><td>0.741</td></tr><tr><td>Gated HORNN (3-rd order) (Soltani & Jiang,2016)</td><td>0.508</td><td>0.547</td><td>0.790</td><td>0.774</td></tr><tr><td>RM(+tM-g) (Tran et al.,2016)</td><td>0.525</td><td>0.597</td><td>0.817</td><td>0.797</td></tr><tr><td>LSTM</td><td>0.523</td><td>0.604</td><td>0.819</td><td>0.786</td></tr><tr><td>Attention</td><td>0.538</td><td>0.595</td><td>0.826</td><td>0.803</td></tr><tr><td>Key-Value</td><td>0.528</td><td>0.601</td><td>0.822</td><td>0.813</td></tr><tr><td>Key-Value-Predict</td><td>0.528</td><td>0.599</td><td>0.829</td><td>0.803</td></tr><tr><td>4-gram RNN</td><td>0.532</td><td>0.598</td><td>0.815</td><td>0.800</td></tr></table>",
|
| 663 |
+
"bbox": [
|
| 664 |
+
179,
|
| 665 |
+
487,
|
| 666 |
+
826,
|
| 667 |
+
770
|
| 668 |
+
],
|
| 669 |
+
"page_idx": 5
|
| 670 |
+
},
|
| 671 |
+
{
|
| 672 |
+
"type": "text",
|
| 673 |
+
"text": "5.1 COMPARISON WITH STATE-OF-THE-ART MODELS ",
|
| 674 |
+
"text_level": 1,
|
| 675 |
+
"bbox": [
|
| 676 |
+
174,
|
| 677 |
+
814,
|
| 678 |
+
552,
|
| 679 |
+
827
|
| 680 |
+
],
|
| 681 |
+
"page_idx": 5
|
| 682 |
+
},
|
| 683 |
+
{
|
| 684 |
+
"type": "text",
|
| 685 |
+
"text": "In the next set of experiments, we compared our proposed models against a variety of state-of-the-art models on the Wikipedia and CBT corpora. Results are shown in Figure 2c and 2d, respectively. Note that the models presented here do not achieve state-of-the-art on CBT as they are language models and not tailored towards cloze-sytle question answering. Thus, we merely use this corpus for comparing different neural language model architectures. We reimplemented the Recurrent-Memory model by Tran et al. (2016) with the temporal matrix and gating composition function $\\mathbf { \\left( R M + t M - g \\right) }$ ). ",
|
| 686 |
+
"bbox": [
|
| 687 |
+
173,
|
| 688 |
+
840,
|
| 689 |
+
826,
|
| 690 |
+
924
|
| 691 |
+
],
|
| 692 |
+
"page_idx": 5
|
| 693 |
+
},
|
| 694 |
+
{
|
| 695 |
+
"type": "image",
|
| 696 |
+
"img_path": "images/20cbcc35b6f2dc20b08c3b338545fa6758915ab6c15ff82b3db714f15c2813c6.jpg",
|
| 697 |
+
"image_caption": [
|
| 698 |
+
"Figure 3: Attention weights of the Key-Value-Predict model on a randomly sampled Wikipedia article (a) and average attention weight distribution on the whole Wikipedia test set for $\\mathbf { R M } ( + \\mathbf { t M } - \\mathbf { g } )$ , Attention, Key-Value and Key-Value-Predict models (b). The rightmost positions represent the most recent history. "
|
| 699 |
+
],
|
| 700 |
+
"image_footnote": [],
|
| 701 |
+
"bbox": [
|
| 702 |
+
178,
|
| 703 |
+
126,
|
| 704 |
+
828,
|
| 705 |
+
633
|
| 706 |
+
],
|
| 707 |
+
"page_idx": 6
|
| 708 |
+
},
|
| 709 |
+
{
|
| 710 |
+
"type": "text",
|
| 711 |
+
"text": "Furthermore, we reimplemented Higher Order Recurrent Neural Networks (HORNNs) by Soltani & Jiang (2016). ",
|
| 712 |
+
"bbox": [
|
| 713 |
+
174,
|
| 714 |
+
736,
|
| 715 |
+
823,
|
| 716 |
+
763
|
| 717 |
+
],
|
| 718 |
+
"page_idx": 6
|
| 719 |
+
},
|
| 720 |
+
{
|
| 721 |
+
"type": "text",
|
| 722 |
+
"text": "To ensure a comparable number of parameters to a vanilla LSTM model, we adjusted the hidden size of all models to have roughly the same total number of model parameters. The attention window size $N$ for the $N$ -gram RNN model was set to 4 according to the best validation set perplexity on the Wikipedia corpus. Below we discuss the results in detail. ",
|
| 723 |
+
"bbox": [
|
| 724 |
+
174,
|
| 725 |
+
771,
|
| 726 |
+
825,
|
| 727 |
+
827
|
| 728 |
+
],
|
| 729 |
+
"page_idx": 6
|
| 730 |
+
},
|
| 731 |
+
{
|
| 732 |
+
"type": "text",
|
| 733 |
+
"text": "Attention By using a neural language model with an attention mechanism over a dynamically populated memory, we observed a 3.2 points lower perplexity over a vanilla LSTM on Wikipedia, but only notable differences for predicting verbs and prepositions in CBT. This indicates that incorporating mechanisms for querying previous output vectors is useful for neural language modeling. ",
|
| 734 |
+
"bbox": [
|
| 735 |
+
174,
|
| 736 |
+
867,
|
| 737 |
+
825,
|
| 738 |
+
924
|
| 739 |
+
],
|
| 740 |
+
"page_idx": 6
|
| 741 |
+
},
|
| 742 |
+
{
|
| 743 |
+
"type": "text",
|
| 744 |
+
"text": "Key-Value Decomposing the output vector into a key-value paired memory improves the perplexity by 7.0 points compared to a baseline LSTM, and by 1.9 points compared to the $\\mathbf { R M } ( + \\mathbf { t M } - \\mathbf { g } )$ model. Again, for CBT we see only small improvements. ",
|
| 745 |
+
"bbox": [
|
| 746 |
+
174,
|
| 747 |
+
103,
|
| 748 |
+
823,
|
| 749 |
+
145
|
| 750 |
+
],
|
| 751 |
+
"page_idx": 7
|
| 752 |
+
},
|
| 753 |
+
{
|
| 754 |
+
"type": "text",
|
| 755 |
+
"text": "Key-Value-Predict By further separating the output vector into a key, value and next-word prediction part, we get the lowest perplexity and gain 9.4 points over a baseline LSTM, a 4.3 points compared to $\\mathbf { R M } ( + \\mathbf { t M } - \\mathbf { g } )$ , and 2.4 points compared to only splitting the output into a key and value. For CBT, we see an accuracy increase of 1.0 percentage points for verbs, and 1.7 for prepositions. As stated earlier, the performance of the Key-Value-Predict model does not improve significantly when increasing the attention window size. This leads to the conclusion that none of the attentive models investigated in this paper can utilize a large memory of previous token representations. Moreover, none of the presented methods differ significantly for predicting common nouns and named entities in CBT. ",
|
| 756 |
+
"bbox": [
|
| 757 |
+
174,
|
| 758 |
+
161,
|
| 759 |
+
825,
|
| 760 |
+
286
|
| 761 |
+
],
|
| 762 |
+
"page_idx": 7
|
| 763 |
+
},
|
| 764 |
+
{
|
| 765 |
+
"type": "text",
|
| 766 |
+
"text": "$N$ -gram RNN Our main finding is that the simple modification of using output vectors from the previous time steps for the next-word prediction leads to perplexities that are on par with or better than more complicated neural language models with attention. Specifically, the 4-gram RNN achieves only slightly worse perplexities than the Key-Value-Predict architecture. ",
|
| 767 |
+
"bbox": [
|
| 768 |
+
176,
|
| 769 |
+
303,
|
| 770 |
+
825,
|
| 771 |
+
358
|
| 772 |
+
],
|
| 773 |
+
"page_idx": 7
|
| 774 |
+
},
|
| 775 |
+
{
|
| 776 |
+
"type": "text",
|
| 777 |
+
"text": "6 CONCLUSION ",
|
| 778 |
+
"text_level": 1,
|
| 779 |
+
"bbox": [
|
| 780 |
+
176,
|
| 781 |
+
378,
|
| 782 |
+
318,
|
| 783 |
+
395
|
| 784 |
+
],
|
| 785 |
+
"page_idx": 7
|
| 786 |
+
},
|
| 787 |
+
{
|
| 788 |
+
"type": "text",
|
| 789 |
+
"text": "In this paper, we observed that using an attention mechanism for neural language modeling where we separate output vectors into a key, value and predict part outperform simpler attention mechanisms on a Wikipedia corpus and the Children Book Test (CBT, Hill et al., 2016). However, we found that all attentive neural language models mainly utilize a memory of only the most recent history and fail to exploit long-range dependencies. In fact, a much simpler $N$ -gram RNN model, which only uses a concatenation of output representations from the previous three time steps, is on par with more sophisticated memory-augmented neural language models. Training neural language models that take long-range dependencies into account seems notoriously hard and needs further investigation. Thus, for future work we want to investigate ways to encourage attending over a longer history, for instance by forcing the model to ignore the local context and only allow attention over output representations further behind the local history. ",
|
| 790 |
+
"bbox": [
|
| 791 |
+
174,
|
| 792 |
+
410,
|
| 793 |
+
825,
|
| 794 |
+
563
|
| 795 |
+
],
|
| 796 |
+
"page_idx": 7
|
| 797 |
+
},
|
| 798 |
+
{
|
| 799 |
+
"type": "text",
|
| 800 |
+
"text": "ACKNOWLEDGMENTS ",
|
| 801 |
+
"text_level": 1,
|
| 802 |
+
"bbox": [
|
| 803 |
+
176,
|
| 804 |
+
580,
|
| 805 |
+
326,
|
| 806 |
+
593
|
| 807 |
+
],
|
| 808 |
+
"page_idx": 7
|
| 809 |
+
},
|
| 810 |
+
{
|
| 811 |
+
"type": "text",
|
| 812 |
+
"text": "This work was supported by Microsoft Research and the Engineering and Physical Sciences Research Council through PhD Scholarship Programmes, an Allen Distinguished Investigator Award, and a Marie Curie Career Integration Award. ",
|
| 813 |
+
"bbox": [
|
| 814 |
+
176,
|
| 815 |
+
603,
|
| 816 |
+
823,
|
| 817 |
+
646
|
| 818 |
+
],
|
| 819 |
+
"page_idx": 7
|
| 820 |
+
},
|
| 821 |
+
{
|
| 822 |
+
"type": "text",
|
| 823 |
+
"text": "REFERENCES ",
|
| 824 |
+
"text_level": 1,
|
| 825 |
+
"bbox": [
|
| 826 |
+
176,
|
| 827 |
+
666,
|
| 828 |
+
285,
|
| 829 |
+
683
|
| 830 |
+
],
|
| 831 |
+
"page_idx": 7
|
| 832 |
+
},
|
| 833 |
+
{
|
| 834 |
+
"type": "text",
|
| 835 |
+
"text": "Jimmy Ba, Geoffrey E Hinton, Volodymyr Mnih, Joel Z Leibo, and Catalin Ionescu. Using fast weights to attend to the recent past. In NIPS, pp. 4331–4339, 2016. ",
|
| 836 |
+
"bbox": [
|
| 837 |
+
171,
|
| 838 |
+
690,
|
| 839 |
+
823,
|
| 840 |
+
719
|
| 841 |
+
],
|
| 842 |
+
"page_idx": 7
|
| 843 |
+
},
|
| 844 |
+
{
|
| 845 |
+
"type": "text",
|
| 846 |
+
"text": "Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. In ICLR, 2015. ",
|
| 847 |
+
"bbox": [
|
| 848 |
+
171,
|
| 849 |
+
728,
|
| 850 |
+
823,
|
| 851 |
+
757
|
| 852 |
+
],
|
| 853 |
+
"page_idx": 7
|
| 854 |
+
},
|
| 855 |
+
{
|
| 856 |
+
"type": "text",
|
| 857 |
+
"text": "Ciprian Chelba, Tomas Mikolov, Mike Schuster, Qi Ge, Thorsten Brants, Phillipp Koehn, and Tony Robinson. One billion word benchmark for measuring progress in statistical language modeling. arXiv preprint arXiv:1312.3005, 2013. ",
|
| 858 |
+
"bbox": [
|
| 859 |
+
176,
|
| 860 |
+
766,
|
| 861 |
+
823,
|
| 862 |
+
809
|
| 863 |
+
],
|
| 864 |
+
"page_idx": 7
|
| 865 |
+
},
|
| 866 |
+
{
|
| 867 |
+
"type": "text",
|
| 868 |
+
"text": "Jianpeng Cheng, Li Dong, and Mirella Lapata. Long short-term memory-networks for machine reading. In EMNLP, pp. 551–561, 2016. ",
|
| 869 |
+
"bbox": [
|
| 870 |
+
169,
|
| 871 |
+
819,
|
| 872 |
+
823,
|
| 873 |
+
847
|
| 874 |
+
],
|
| 875 |
+
"page_idx": 7
|
| 876 |
+
},
|
| 877 |
+
{
|
| 878 |
+
"type": "text",
|
| 879 |
+
"text": "Jan K Chorowski, Dzmitry Bahdanau, Dmitriy Serdyuk, Kyunghyun Cho, and Yoshua Bengio. Attention-based models for speech recognition. In NIPS, pp. 577–585, 2015. ",
|
| 880 |
+
"bbox": [
|
| 881 |
+
174,
|
| 882 |
+
857,
|
| 883 |
+
821,
|
| 884 |
+
886
|
| 885 |
+
],
|
| 886 |
+
"page_idx": 7
|
| 887 |
+
},
|
| 888 |
+
{
|
| 889 |
+
"type": "text",
|
| 890 |
+
"text": "Yiming Cui, Zhipeng Chen, Si Wei, Shijin Wang, Ting Liu, and Guoping Hu. Attention-over-attention neural networks for reading comprehension. arXiv preprint arXiv:1607.04423, 2016a. ",
|
| 891 |
+
"bbox": [
|
| 892 |
+
176,
|
| 893 |
+
895,
|
| 894 |
+
821,
|
| 895 |
+
924
|
| 896 |
+
],
|
| 897 |
+
"page_idx": 7
|
| 898 |
+
},
|
| 899 |
+
{
|
| 900 |
+
"type": "text",
|
| 901 |
+
"text": "Yiming Cui, Ting Liu, Zhipeng Chen, Shijin Wang, and Guoping Hu. Consensus attention-based neural networks for chinese reading comprehension. arXiv preprint arXiv:1607.02250, 2016b. ",
|
| 902 |
+
"bbox": [
|
| 903 |
+
173,
|
| 904 |
+
103,
|
| 905 |
+
825,
|
| 906 |
+
133
|
| 907 |
+
],
|
| 908 |
+
"page_idx": 8
|
| 909 |
+
},
|
| 910 |
+
{
|
| 911 |
+
"type": "text",
|
| 912 |
+
"text": "Bhuwan Dhingra, Hanxiao Liu, William W Cohen, and Ruslan Salakhutdinov. Gated-attention readers for text comprehension. arXiv preprint arXiv:1606.01549, 2016. ",
|
| 913 |
+
"bbox": [
|
| 914 |
+
173,
|
| 915 |
+
142,
|
| 916 |
+
823,
|
| 917 |
+
171
|
| 918 |
+
],
|
| 919 |
+
"page_idx": 8
|
| 920 |
+
},
|
| 921 |
+
{
|
| 922 |
+
"type": "text",
|
| 923 |
+
"text": "Alex Graves, Greg Wayne, and Ivo Danihelka. Neural turing machines. arXiv preprint arXiv:1410.5401, 2014. ",
|
| 924 |
+
"bbox": [
|
| 925 |
+
174,
|
| 926 |
+
180,
|
| 927 |
+
826,
|
| 928 |
+
210
|
| 929 |
+
],
|
| 930 |
+
"page_idx": 8
|
| 931 |
+
},
|
| 932 |
+
{
|
| 933 |
+
"type": "text",
|
| 934 |
+
"text": "Caglar Gulcehre, Sarath Chandar, Kyunghyun Cho, and Yoshua Bengio. Dynamic neural turing machine with soft and hard addressing schemes. arXiv preprint arXiv:1607.00036, 2016. ",
|
| 935 |
+
"bbox": [
|
| 936 |
+
176,
|
| 937 |
+
219,
|
| 938 |
+
823,
|
| 939 |
+
250
|
| 940 |
+
],
|
| 941 |
+
"page_idx": 8
|
| 942 |
+
},
|
| 943 |
+
{
|
| 944 |
+
"type": "text",
|
| 945 |
+
"text": "Felix Hill, Antoine Bordes, Sumit Chopra, and Jason Weston. The goldilocks principle: Reading children’s books with explicit memory representations. In ICLR, 2016. ",
|
| 946 |
+
"bbox": [
|
| 947 |
+
173,
|
| 948 |
+
258,
|
| 949 |
+
823,
|
| 950 |
+
289
|
| 951 |
+
],
|
| 952 |
+
"page_idx": 8
|
| 953 |
+
},
|
| 954 |
+
{
|
| 955 |
+
"type": "text",
|
| 956 |
+
"text": "Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural computation, 9(8): 1735–1780, 1997. ",
|
| 957 |
+
"bbox": [
|
| 958 |
+
174,
|
| 959 |
+
297,
|
| 960 |
+
825,
|
| 961 |
+
327
|
| 962 |
+
],
|
| 963 |
+
"page_idx": 8
|
| 964 |
+
},
|
| 965 |
+
{
|
| 966 |
+
"type": "text",
|
| 967 |
+
"text": "Shihao Ji, SVN Vishwanathan, Nadathur Satish, Michael J Anderson, and Pradeep Dubey. Blackout: Speeding up recurrent neural network language models with very large vocabularies. In ICLR, 2016. ",
|
| 968 |
+
"bbox": [
|
| 969 |
+
176,
|
| 970 |
+
337,
|
| 971 |
+
826,
|
| 972 |
+
378
|
| 973 |
+
],
|
| 974 |
+
"page_idx": 8
|
| 975 |
+
},
|
| 976 |
+
{
|
| 977 |
+
"type": "text",
|
| 978 |
+
"text": "Rafal Jozefowicz, Oriol Vinyals, Mike Schuster, Noam Shazeer, and Yonghui Wu. Exploring the limits of language modeling. arXiv preprint arXiv:1602.02410, 2016. ",
|
| 979 |
+
"bbox": [
|
| 980 |
+
171,
|
| 981 |
+
388,
|
| 982 |
+
825,
|
| 983 |
+
419
|
| 984 |
+
],
|
| 985 |
+
"page_idx": 8
|
| 986 |
+
},
|
| 987 |
+
{
|
| 988 |
+
"type": "text",
|
| 989 |
+
"text": "Rudolf Kadlec, Martin Schmid, Ondrej Bajgar, and Jan Kleindienst. Text understanding with the attention sum reader network. In ACL, 2016. ",
|
| 990 |
+
"bbox": [
|
| 991 |
+
173,
|
| 992 |
+
428,
|
| 993 |
+
823,
|
| 994 |
+
458
|
| 995 |
+
],
|
| 996 |
+
"page_idx": 8
|
| 997 |
+
},
|
| 998 |
+
{
|
| 999 |
+
"type": "text",
|
| 1000 |
+
"text": "Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In ICLR, 2015. ",
|
| 1001 |
+
"bbox": [
|
| 1002 |
+
173,
|
| 1003 |
+
467,
|
| 1004 |
+
799,
|
| 1005 |
+
483
|
| 1006 |
+
],
|
| 1007 |
+
"page_idx": 8
|
| 1008 |
+
},
|
| 1009 |
+
{
|
| 1010 |
+
"type": "text",
|
| 1011 |
+
"text": "Tomas Mikolov, Martin Karafiat, Lukas Burget, Jan Cernock ´ y, and Sanjeev Khudanpur. Recurrent \\` neural network based language model. In Interspeech, volume 2, pp. 3, 2010. ",
|
| 1012 |
+
"bbox": [
|
| 1013 |
+
173,
|
| 1014 |
+
492,
|
| 1015 |
+
823,
|
| 1016 |
+
522
|
| 1017 |
+
],
|
| 1018 |
+
"page_idx": 8
|
| 1019 |
+
},
|
| 1020 |
+
{
|
| 1021 |
+
"type": "text",
|
| 1022 |
+
"text": "Tomas Mikolov, Anoop Deoras, Stefan Kombrink, Lukas Burget, and Jan Cernocky. Empirical \\` evaluation and combination of advanced language modeling techniques. In Interspeech, 2011. ",
|
| 1023 |
+
"bbox": [
|
| 1024 |
+
174,
|
| 1025 |
+
530,
|
| 1026 |
+
820,
|
| 1027 |
+
560
|
| 1028 |
+
],
|
| 1029 |
+
"page_idx": 8
|
| 1030 |
+
},
|
| 1031 |
+
{
|
| 1032 |
+
"type": "text",
|
| 1033 |
+
"text": "Alexander Miller, Adam Fisch, Jesse Dodge, Amir-Hossein Karimi, Antoine Bordes, and Jason Weston. Key-value memory networks for directly reading documents. arXiv preprint arXiv:1606.03126, 2016. ",
|
| 1034 |
+
"bbox": [
|
| 1035 |
+
173,
|
| 1036 |
+
569,
|
| 1037 |
+
825,
|
| 1038 |
+
613
|
| 1039 |
+
],
|
| 1040 |
+
"page_idx": 8
|
| 1041 |
+
},
|
| 1042 |
+
{
|
| 1043 |
+
"type": "text",
|
| 1044 |
+
"text": "Razvan Pascanu, Tomas Mikolov, and Yoshua Bengio. On the difficulty of training recurrent neural networks. In ICML, pp. 1310–1318, 2013. ",
|
| 1045 |
+
"bbox": [
|
| 1046 |
+
173,
|
| 1047 |
+
622,
|
| 1048 |
+
823,
|
| 1049 |
+
652
|
| 1050 |
+
],
|
| 1051 |
+
"page_idx": 8
|
| 1052 |
+
},
|
| 1053 |
+
{
|
| 1054 |
+
"type": "text",
|
| 1055 |
+
"text": "Scott Reed and Nando de Freitas. Neural programmer-interpreters. arXiv preprint arXiv:1511.06279, 2015. ",
|
| 1056 |
+
"bbox": [
|
| 1057 |
+
174,
|
| 1058 |
+
661,
|
| 1059 |
+
825,
|
| 1060 |
+
690
|
| 1061 |
+
],
|
| 1062 |
+
"page_idx": 8
|
| 1063 |
+
},
|
| 1064 |
+
{
|
| 1065 |
+
"type": "text",
|
| 1066 |
+
"text": "Tim Rocktaschel, Edward Grefenstette, Karl Moritz Hermann, Tomas Kocisky, and Phil Blunsom. ¨ Reasoning about entailment with neural attention. In ICLR, 2016. ",
|
| 1067 |
+
"bbox": [
|
| 1068 |
+
174,
|
| 1069 |
+
700,
|
| 1070 |
+
825,
|
| 1071 |
+
729
|
| 1072 |
+
],
|
| 1073 |
+
"page_idx": 8
|
| 1074 |
+
},
|
| 1075 |
+
{
|
| 1076 |
+
"type": "text",
|
| 1077 |
+
"text": "David E Rumelhart, Geoffrey E Hinton, and Ronald J Williams. Learning internal representations by error propagation. Technical report, DTIC Document, 1985. ",
|
| 1078 |
+
"bbox": [
|
| 1079 |
+
171,
|
| 1080 |
+
739,
|
| 1081 |
+
823,
|
| 1082 |
+
768
|
| 1083 |
+
],
|
| 1084 |
+
"page_idx": 8
|
| 1085 |
+
},
|
| 1086 |
+
{
|
| 1087 |
+
"type": "text",
|
| 1088 |
+
"text": "Alexander M. Rush, Sumit Chopra, and Jason Weston. A neural attention model for abstractive sentence summarization. In EMNLP, pp. 379–389, 2015. ",
|
| 1089 |
+
"bbox": [
|
| 1090 |
+
171,
|
| 1091 |
+
779,
|
| 1092 |
+
823,
|
| 1093 |
+
808
|
| 1094 |
+
],
|
| 1095 |
+
"page_idx": 8
|
| 1096 |
+
},
|
| 1097 |
+
{
|
| 1098 |
+
"type": "text",
|
| 1099 |
+
"text": "Noam Shazeer, Joris Pelemans, and Ciprian Chelba. Sparse non-negative matrix language modeling for skip-grams. In Interspeech, pp. 1428–1432, 2015. ",
|
| 1100 |
+
"bbox": [
|
| 1101 |
+
169,
|
| 1102 |
+
818,
|
| 1103 |
+
825,
|
| 1104 |
+
847
|
| 1105 |
+
],
|
| 1106 |
+
"page_idx": 8
|
| 1107 |
+
},
|
| 1108 |
+
{
|
| 1109 |
+
"type": "text",
|
| 1110 |
+
"text": "Rohollah Soltani and Hui Jiang. Higher order recurrent neural networks. arXiv preprint arXiv:1605.00064, 2016. ",
|
| 1111 |
+
"bbox": [
|
| 1112 |
+
173,
|
| 1113 |
+
856,
|
| 1114 |
+
825,
|
| 1115 |
+
886
|
| 1116 |
+
],
|
| 1117 |
+
"page_idx": 8
|
| 1118 |
+
},
|
| 1119 |
+
{
|
| 1120 |
+
"type": "text",
|
| 1121 |
+
"text": "Karl Steinbuch and UAW Piske. Learning matrices and their applications. IEEE Transactions on Electronic Computers, pp. 846–862, 1963. ",
|
| 1122 |
+
"bbox": [
|
| 1123 |
+
174,
|
| 1124 |
+
895,
|
| 1125 |
+
821,
|
| 1126 |
+
924
|
| 1127 |
+
],
|
| 1128 |
+
"page_idx": 8
|
| 1129 |
+
},
|
| 1130 |
+
{
|
| 1131 |
+
"type": "text",
|
| 1132 |
+
"text": "Sainbayar Sukhbaatar, Jason Weston, and Rob Fergus. End-to-end memory networks. In NIPS, pp. 2440–2448, 2015. \nWK Taylor. Pattern recognition by means of automatic analogue apparatus. Proceedings of the IEE-Part B: Radio and Electronic Engineering, 106(26):198–209, 1959. \nKe Tran, Arianna Bisazza, and Christof Monz. Recurrent memory networks for language modeling. In NAACL-HLT, pp. 321–331, 2016. \nAdam Trischler, Zheng Ye, Xingdi Yuan, and Kaheer Suleman. Natural language comprehension with the epireader. arXiv preprint arXiv:1606.02270, 2016. \nDirk Weissenborn. Separating answers from queries for neural reading comprehension. arXiv preprint arXiv:1607.03316, 2016. \nPaul J Werbos. Backpropagation through time: what it does and how to do it. Proceedings of the IEEE, 78(10):1550–1560, 1990. \nJason Weston, Sumit Chopra, and Antoine Bordes. Memory networks. In ICLR, 2015. \nWill Williams, Niranjani Prasad, David Mrva, Tom Ash, and Tony Robinson. Scaling recurrent neural network language models. In 2015 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 5391–5395. IEEE, 2015. \nKelvin Xu, Jimmy Ba, Ryan Kiros, Kyunghyun Cho, Aaron Courville, Ruslan Salakhutdinov, Richard S Zemel, and Yoshua Bengio. Show, attend and tell: Neural image caption generation with visual attention. In ICML, 2015. \nZichao Yang, Phil Blunsom, Chris Dyer, and Wang Ling. Reference-aware language models. arXiv preprint arXiv:1611.01628, 2016. ",
|
| 1133 |
+
"bbox": [
|
| 1134 |
+
171,
|
| 1135 |
+
103,
|
| 1136 |
+
828,
|
| 1137 |
+
491
|
| 1138 |
+
],
|
| 1139 |
+
"page_idx": 9
|
| 1140 |
+
}
|
| 1141 |
+
]
|
parse/train/ByIAPUcee/ByIAPUcee_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/ByIAPUcee/ByIAPUcee_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/HJGXzmspb/HJGXzmspb.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2 |
+
|
| 3 |
+
Shuang $\mathbf { W } \mathbf { u } ^ { 1 }$ , Guoqi $\mathbf { L i } ^ { 1 }$ , Feng Chen2, Luping Shi1
|
| 4 |
+
|
| 5 |
+
1Department of Precision Instrument
|
| 6 |
+
2Department of Automation
|
| 7 |
+
Center for Brain Inspired Computing Research
|
| 8 |
+
Beijing Innovation Center for Future Chip
|
| 9 |
+
Tsinghua University
|
| 10 |
+
{lpshi,chenfeng}@mail.tsinghua.edu.cn
|
| 11 |
+
|
| 12 |
+
# ABSTRACT
|
| 13 |
+
|
| 14 |
+
Researches on deep neural networks with discrete parameters and their deployment in embedded systems have been active and promising topics. Although previous works have successfully reduced precision in inference, transferring both training and inference processes to low-bitwidth integers has not been demonstrated simultaneously. In this work, we develop a new method termed as “WAGE” to discretize both training and inference, where weights (W), activations (A), gradients (G) and errors (E) among layers are shifted and linearly constrained to low-bitwidth integers. To perform pure discrete dataflow for fixed-point devices, we further replace batch normalization by a constant scaling layer and simplify other components that are arduous for integer implementation. Improved accuracies can be obtained on multiple datasets, which indicates that WAGE somehow acts as a type of regularization. Empirically, we demonstrate the potential to deploy training in hardware systems such as integer-based deep learning accelerators and neuromorphic chips with comparable accuracy and higher energy efficiency, which is crucial to future AI applications in variable scenarios with transfer and continual learning demands.
|
| 15 |
+
|
| 16 |
+
# 1 INTRODUCTION
|
| 17 |
+
|
| 18 |
+
Recently deep neural networks (DNNs) are being widely used for numerous AI applications (Krizhevsky et al., 2012; Hinton et al., 2012; Silver et al., 2016). Depending on the massive tunable parameters, DNNs are considered to have powerful multi-level feature extraction and representation abilities. However, training DNNs needs energy-intensive devices such as GPU and CPU with high precision (float32) processing units and abundant memory, which has greatly challenged their extensive applications for portable devices. In addition, a state-of-art network often has far more weights and effective capacity to shatter all training samples (Zhang et al., 2016), leading to overfitting easily.
|
| 19 |
+
|
| 20 |
+
As a result, there is much interest in reducing the size of network during inference (Hubara et al., 2016; Rastegari et al., 2016; Li et al., 2016), as well as dedicated hardware for commercial solutions (Jouppi et al., 2017; Chen et al., 2017; Shi et al., 2015). Due to the accumulation in stochastic gradient descent (SGD) optimization, the precision demand for training is usually higher than inference (Hubara et al., 2016; Li et al., 2017). Therefore, most of the existing techniques only focus on the deployment of a well-trained compressed network, while still keeping high precision and computational complexity during training. In this work, we address this problem as how to process both training and inference with low-bitwidth integers, which is essential for implementing DNNs in dedicated hardware. To this end, two fundamental issues are addressed for discretely training DNNs: i) how to quantize all the operands and operations, and ii) how many bits or states are needed for SGD computation and accumulation.
|
| 21 |
+
|
| 22 |
+
With respect to the issues, we propose a framework termed as “WAGE” that constrains weights (W), activations (A), gradients (G) and errors (E) among all layers to low-bitwidth integers in both training and inference. Firstly, for operands, linear mapping and orientation-preserved shifting are applied to achieve ternary weights, 8-bit integers for activations and gradients accumulation. Secondly, for operations, batch normalization (Ioffe & Szegedy, 2015) is replaced by a constant scaling factor. Other techniques for fine-tuning such as SGD optimizer with momentum and L2 regularization are simplified or abandoned with little performance degradation. Considering the overall bidirectional propagation, we completely streamline inference into accumulate-compare cycles and training into low-bitwidth multiply-accumulate (MAC) cycles with alignment operations, respectively.
|
| 23 |
+
|
| 24 |
+
We heuristically explore the bitwidth requirements of integers for error computation and gradient accumulation, which have rarely been discussed in previous works. Experiments indicate that it is the relative values (orientations) rather than absolute values (orders of magnitude) in error that guides previous layers to converge. Moreover, small values have negligible effects on previous orientations though propagated layer by layer, which can be partially discarded in quantization. We leverage these phenomena and use an orientation-preserved shifting operation to constrain errors. As for the gradient accumulation, though weights are quantized to ternary values in inference, a relatively higher bitwidth is indispensable to store and accumulate gradient updates.
|
| 25 |
+
|
| 26 |
+
The proposed framework is evaluated on MNIST, CIFAR10, SVHN, ImageNet datasets. Comparing to those who only discretize weights and activations at inference time, it has comparable accuracy and can further alleviate overfitting, indicating some type of regularization. WAGE produces pure bidirectional low-precision integer dataflow for DNNs, which can be applied for training and inference in dedicated hardware neatly. We publish the code on GitHub1.
|
| 27 |
+
|
| 28 |
+
# 2 RELATED WORK
|
| 29 |
+
|
| 30 |
+
We mainly focus on reducing precision of operands and operations in both training and inference. Orthogonal and complementary techniques for reducing complexity like network compression, pruning (Han et al., 2015; Zhou et al., 2017) and compact architectures (Howard et al., 2017) are impressively efficient but outside the scope this paper.
|
| 31 |
+
|
| 32 |
+
Weight and activation Courbariaux et al. (2015); Hubara et al. (2016) propose methods to train DNNs with binary weights (BC) and activations (BNN) successively. They add noises to weights and activations as a form of regularization but real-valued gradients are accumulated in real-valued variables, suggesting that high precision accumulation is likely required for SGD optimization. XNOR-Net (Rastegari et al., 2016) has a filter-wise scaling factor for weights to improve the performance. Convolutions in XNOR-Net can be implemented efficiently using XNOR logical units and bit-count operations. However, these floating-point factors are calculated simultaneously during training, which generally aggravates the training effort. In TWN (Li et al., 2016) and TTQ (Zhu et al., 2016) two symmetric thresholds are introduced to constrain the weights to be ternary-valued: $\{ + 1 , 0 , - 1 \}$ . They claimed a tradeoff between model complexity and expressive ability.
|
| 33 |
+
|
| 34 |
+
Gradient computation and accumulation DoReFa-Net (Zhou et al., 2016) quantizes gradients to low-bitwidth floating-point numbers with discrete states in the backward pass. TernGrad (Wen et al., 2017) quantizes gradient updates to ternary values to reduce the overhead of gradient synchronization in distributed training. Nevertheless, weights in DoReFa-Net and TernGrad are stored and updated with float32 during training like previous works. Besides, the quantization of batch normalization and its derivative is ignored. Thus, the overall computation graph for the training process is still presented with float32 and more complex with external quantization. Generally, it is difficult to apply DoReFa-Net training in an integer-based hardware directly, but it shows potential for exploring high-dimensional discrete spaces with discrete gradient descent directions.
|
| 35 |
+
|
| 36 |
+
# 3 WAGE QUANTIZATION
|
| 37 |
+
|
| 38 |
+
The main idea of WAGE quantization is to constrain four operands to low-bitwidth integers: weight $W$ and activation $^ { a }$ in inference, error $e$ and gradient $\textbf { { g } }$ in backpropagation training, see Figure 1. We extend the original definition of errors to multi-layer: error $e$ is the gradient of activation $\textbf { \em a }$ for the perspective of each convolution or fully-connected layer, while gradient $\textbf { { g } }$ particularly refers to the gradient accumulation of weight $W$ . Considering the $i$ -th layer of a feed-forward network, we
|
| 39 |
+
|
| 40 |
+
have:
|
| 41 |
+
|
| 42 |
+
$$
|
| 43 |
+
e ^ { i } = { \frac { \partial { \mathcal { L } } } { \partial a ^ { i } } } , \pmb { g } ^ { i } = { \frac { \partial { \mathcal { L } } } { \partial W ^ { i } } }
|
| 44 |
+
$$
|
| 45 |
+
|
| 46 |
+
where $\mathcal { L }$ is the loss function. We separate these two terms that are mixed up in most existing schemes. The gradient of weight $\textbf { { g } }$ and the gradient of activation $e$ flow to different paths in each layer, which is a fork both in inference and in backward training and generally acts as node of MAC operations.
|
| 47 |
+
|
| 48 |
+
For the forward propagation in the $i$ -th layer, assuming that weights are stored and accumulated with $k _ { G }$ -bit integers, then numerous works strive for a better quantization function $Q _ { W } ( \cdot )$ that maps higher precision weights to their $k _ { W }$ -bit reflections, for example, $[ - 0 . 9 , 0 . 1 , 0 . 7 ]$ to $[ - 1 , 0 , 1 ]$ . Although weights are accumulated with high precision like float32, the deployment of the reflections in dedicated hardware are much more memory efficient after training. Activations are quantized with function $Q _ { A } ( \cdot )$ to $k _ { A }$ bits to align the increased bitwidth caused by MACs. Weights and activations are discretized to even binary values in previous works, then MACs degrade into logical and bit-count operations that are extremely efficient (Rastegari et al., 2016).
|
| 49 |
+
|
| 50 |
+
For the backward propagation in the $i$ -th layer, the gradients of activations and weights are calculated by the derivatives of MACs that are generally considered to be in 16-bit floating-point precision at least. As illustrated in Figure 1, the MACs between $k _ { A }$ -bit inputs and $k _ { W }$ -bit weights will increase the bitwidth of outputs to $[ k _ { A } + k _ { W } - 1 ]$ in signed integer representation, and the similar broadening happens to errors $e$ as well. In consideration of training with only low-bitwidth integers, we propose additional functions $Q _ { E } ( \cdot )$ and $Q _ { G } ( \cdot )$ to constrain bitwidth of $e$ and $\textbf { { g } }$ to $k _ { E }$ bits and $k _ { G }$ bits, respectively. In general, where there is a MAC operation, there are quantization operators named $Q _ { W } ( \cdot ) , \bar { Q _ { A } ( \cdot ) } , \bar { Q _ { G } ( \cdot ) }$ and $Q _ { E } ( \cdot )$ in inference and backpropagation.
|
| 51 |
+
|
| 52 |
+

|
| 53 |
+
Figure 1: Four operators $Q _ { W } ( \cdot )$ , $Q _ { A } ( \cdot )$ , $Q _ { G } ( \cdot )$ , $Q _ { E } ( \cdot )$ added in WAGE computation dataflow to reduce precision, bitwidth of signed integers are below or on the right of arrows, activations are included in MAC for concision.
|
| 54 |
+
|
| 55 |
+
# 3.1 SHIFT-BASED LINEAR MAPPING AND STOCHASTIC ROUNDING
|
| 56 |
+
|
| 57 |
+
In WAGE quantization, we adopt a linear mapping with $k$ -bit integers for simplicity, where continuous and unbounded values are discretized with uniform distance $\sigma$ :
|
| 58 |
+
|
| 59 |
+
$$
|
| 60 |
+
\sigma ( k ) = 2 ^ { 1 - k } , k \in \mathbb { N } _ { + }
|
| 61 |
+
$$
|
| 62 |
+
|
| 63 |
+
Then the basic quantization function that converts a floating-point number $x$ to its $k$ -bitwidth signed integer representation can be formulated as:
|
| 64 |
+
|
| 65 |
+
$$
|
| 66 |
+
Q ( x , k ) = C l i p \left\{ \sigma ( k ) \cdot r o u n d \left[ \frac { x } { \sigma ( k ) } \right] , - 1 + \sigma ( k ) , 1 - \sigma ( k ) \right\}
|
| 67 |
+
$$
|
| 68 |
+
|
| 69 |
+
where round approximates continuous values to their nearest discrete states. Clip is the saturation function that clips unbounded values to $[ - 1 + \sigma , 1 - \sigma ]$ , where the negative maximum value $- 1$ is removed to maintain symmetry. For example, $Q ( x , 2 )$ quantizes $\{ - 1 , 0 . 2 , 0 . 6 \}$ to $\{ - 0 . 5 , 0 , 0 . 5 \}$ . Equation 3 is merely used for simulation in floating-point hardware like GPU, whereas in a fixedpoint device, quantization and saturation is satisfied automatically.
|
| 70 |
+
|
| 71 |
+
Before applying linear mapping in some operands (e.g., error), we introduce an additional monolithic scaling factor for shifting values distribution to an appropriate order of magnitude, otherwise values will be all saturated or cleared by Equation 3. The scaling factor is calculated by $S h i f t$ function and then divided in later steps:
|
| 72 |
+
|
| 73 |
+
$$
|
| 74 |
+
S h i f t ( x ) = 2 ^ { r o u n d ( \log _ { 2 } x ) }
|
| 75 |
+
$$
|
| 76 |
+
|
| 77 |
+
Finally, we propose stochastic rounding to substitute small and real-valued updates for gradient accumulation in training. Section 3.3.4 will detail the implementation of operator $Q _ { G } ( \cdot )$ , where high bitwidth gradients are constrained to $k _ { G }$ -bit integers stochastically by a 16-bit random number generator. Figure 2 summarizes quantization methods used in WAGE.
|
| 78 |
+
|
| 79 |
+

|
| 80 |
+
Figure 2: Quantization methods used in WAGE. The notation $P , \pmb { x } , \lfloor \cdot \rfloor$ and $\lceil \cdot \rceil$ denotes probability, vector, floor and ceil, respectively. $S h i f t ( \cdot )$ refers to Equation 4 with a certain argument.
|
| 81 |
+
|
| 82 |
+
# 3.2 WEIGHT INITIALIZATION
|
| 83 |
+
|
| 84 |
+
In previous works, weights are binarized directly by sgn function or ternarized by threshold parameters calculated during training. However, BNN fails to converge without batch normalization because weight values $\pm 1$ are rather big for a typical DNN. Batch normalization not only efficiently avoids the problem of exploding and vanishing gradients, but also alleviates the demand for proper initialization. However, normalizing outputs for each layer and computing their gradients are quite complex without floating point unit (FPU). Besides, the moving averages of batch outputs occupy external memory. BNN shows a shift-based variation of batch normalization but it is hard to transform all of the elements to the fixed-point representations. As a result, weights should be cautiously initialized in this work where batch normalization is simplified to a constant scaling layer. A modified initialization method based on MSRA (He et al., 2015) can be formulated as:
|
| 85 |
+
|
| 86 |
+
$$
|
| 87 |
+
W \sim U ( - L , + L ) , L = m a x \{ \sqrt { 6 / n _ { i n } } , L _ { m i n } \} , L _ { m i n } = \beta \sigma
|
| 88 |
+
$$
|
| 89 |
+
|
| 90 |
+
where $n _ { i n }$ is the layer fan-in number, and the original limit $\sqrt { 6 / n _ { i n } }$ in MSRA is calculated to keep same variance between inputs and outputs of the same layer theoretically. The additional limit $L _ { m i n }$ is a minimum value that the uniform distribution $U$ should reach, and $\beta$ is a constant greater than 1 to create overlaps between minimum step size $\sigma$ and maximum value $L$ . In case of $k _ { W }$ -bit linear mapping, if weights $W$ are quantized directly with original limits, we will get all-zero tensors when bitwidth $k _ { W }$ is small enough, e.g., 4, or fan-in $n _ { i n }$ is wide enough, where initialized weights may never reach the minimum step $\sigma$ presented by fixed-point integers. So $L _ { m i n }$ ensures that weights can go beyond $\sigma$ and quantized to non-zero values after $Q _ { W } ( \cdot )$ when initialized randomly.
|
| 91 |
+
|
| 92 |
+
# 3.3 QUANTIZATION DETAILS
|
| 93 |
+
|
| 94 |
+
# 3.3.1 WEIGHT $Q _ { W } ( \cdot )$
|
| 95 |
+
|
| 96 |
+
The modified initialization in Equation 5 will amplify weights holistically and guarantee their proper distribution, then $W$ is quantized directly with Equation 3:
|
| 97 |
+
|
| 98 |
+
$$
|
| 99 |
+
\boldsymbol { W _ { q } } = \boldsymbol { Q _ { W } } ( \boldsymbol { W } ) = \boldsymbol { Q } ( \boldsymbol { W } , \boldsymbol { k _ { W } } )
|
| 100 |
+
$$
|
| 101 |
+
|
| 102 |
+
It should be noted that the variance of weights is scaled compared to the original limit, which will cause exploding of network’s outputs. To alleviate the amplification effect, XNOR-Net proposed a filter-wise scaling factor calculated continuously with full precision. In consideration of integer implementation, we introduce a layer-wise shift-based scaling factor $\alpha$ to attenuate the amplification effect:
|
| 103 |
+
|
| 104 |
+
$$
|
| 105 |
+
\alpha = m a x \{ S h i f t ( L _ { m i n } / L ) , 1 \}
|
| 106 |
+
$$
|
| 107 |
+
|
| 108 |
+
where $\alpha$ is a pre-defined constant for each layer determined by the network structure. The modified initialization and attenuation factor $\alpha$ together approximates floating-point weights to their integer representations, except that $\alpha$ takes effect after activations to maintain precision of weights presented by $k _ { W }$ -bit integers.
|
| 109 |
+
|
| 110 |
+
# 3.3.2 ACTIVATION $Q _ { A } ( \cdot )$
|
| 111 |
+
|
| 112 |
+
As stated above, the bitwidth of operands increases after MACs. Then a typical CNN is usually followed with pooling, normalization and activation. Average pooling is avoided because mean operations will increase precision demand. Besides, we hypothesize that batch outputs of each hidden layer approximately have zero-mean, then batch normalization degenerates into to a scaling layer where trainable and batch-calculated scaling parameters are replaced by $\alpha$ mentioned in Equation 7. If activations are presented in $k _ { A }$ bits, the overall quantization of activations can be formulated as:
|
| 113 |
+
|
| 114 |
+
$$
|
| 115 |
+
\pmb { a } _ { q } = Q _ { A } ( \pmb { a } ) = Q ( \pmb { a } / \alpha , k _ { A } )
|
| 116 |
+
$$
|
| 117 |
+
|
| 118 |
+
# 3.3.3 ERROR $Q _ { E } ( \cdot )$
|
| 119 |
+
|
| 120 |
+
Errors $e$ are calculated layer by layer using the chain rule during training. Although the computation graph of backpropagation is similar to the inference, the inputs are the gradients of $\mathcal { L }$ , which are relatively small compared to actual inputs for networks. More importantly, the errors are unbounded and might have significantly larger ranges than that of activations, e.g., $[ 1 0 ^ { - 9 } , 1 0 ^ { - 4 } ]$ . DoReFa-Net first applies an affine transform on $e$ to map them into $[ - 1 , 1 ]$ , and then inverts the transform after quantization. Thus, the quantized $e$ are still presented as float32 numbers with discrete states and mostly small values.
|
| 121 |
+
|
| 122 |
+
However, experiments uncover that it is the orientations rather than orders of magnitude in errors that guides previous layers to converge, then the inverse transformation after quantization in DoReFa-Net is no longer needed. The orientation-only preservation prompts us to propagate errors with integer√ √ thoroughly, where error distribution is firstly scaled into $[ - { \sqrt { 2 } } , + { \sqrt { 2 } } ]$ by dividing a shift factor as shown in Figure 2 and then quantized by $Q ( e , k _ { E } )$ :
|
| 123 |
+
|
| 124 |
+
$$
|
| 125 |
+
\pmb { e _ { q } } = Q _ { E } ( \pmb { e } ) = Q ( \pmb { e } / S h i f t ( m a x \{ | \pmb { e } | \} ) , k _ { E } )
|
| 126 |
+
$$
|
| 127 |
+
|
| 128 |
+
where $m a x \{ | e | \}$ extracts the layer-wise maximum absolute value among all elements in error $e$ , multi-channel for convolution and multi-sample for batch training. The quantization of error discards large proportion of values smaller than $\sigma$ , we will discuss the influence on accuracy later.
|
| 129 |
+
|
| 130 |
+
# 3.3.4 GRADIENT $Q _ { G } ( \cdot )$
|
| 131 |
+
|
| 132 |
+
Since we only preserve relative values of error after shifting, the gradient updates $\textbf { { g } }$ derived from MACs between backward errors $e$ and forward activations $^ { a }$ are shifted consequently. We first rescale gradients $\textbf { { g } }$ with another scaling factor and then bring in shift-based learning rate $\eta$ :
|
| 133 |
+
|
| 134 |
+
$$
|
| 135 |
+
g _ { s } = \eta \cdot g / S h i f t ( m a x \{ | g | \} )
|
| 136 |
+
$$
|
| 137 |
+
|
| 138 |
+
where $\eta$ is an integer power of 2. The shifted gradients $\mathbf { \nabla } _ { \mathbf { { \boldsymbol { g } } } _ { s } }$ represent for minimum step numbers and directions for updating weights. If weights are stored with $k _ { G }$ -bit numbers, the minimum step of modification will be $\pm 1$ for integers and $\pm \sigma ( k _ { G } )$ for floating-point values, respectively. The implement of learning rate $\eta$ here is quite different from that in a vanilla DNN based on float32. In WAGE, there only remain directions for weights to change and the step sizes are integer multiples of minimum step $\sigma$ . Shifted gradients $\mathbf { \nabla } _ { \mathbf { { \boldsymbol { g } } } _ { s } }$ may get greater than 1 if $\eta$ is 2 or bigger to accelerate training at the beginning, or smaller than 0.5 during latter half of training when learning rate decay is usually applied. As illustrated in Figure 2, to substitute accumulation of small gradients in latter case, we separate $\mathbf { \nabla } _ { \mathbf { { \boldsymbol { g } } } _ { s } }$ into integer parts and decimal parts, then use a 16-bit random number generator to constrain high bitwidth $\mathbf { \nabla } _ { \mathbf { { \boldsymbol { g } } } _ { s } }$ to $k _ { G }$ -bit integers stochastically:
|
| 139 |
+
|
| 140 |
+
$$
|
| 141 |
+
\Delta W = Q _ { G } ( g ) = \sigma ( k _ { G } ) \cdot s g n ( g _ { s } ) \cdot \Big \{ \lfloor | g _ { s } | \rfloor + B e r n o u l l i ( | g _ { s } | - \lfloor | g _ { s } | \rfloor ) \Big \}
|
| 142 |
+
$$
|
| 143 |
+
|
| 144 |
+
where Bernoulli (Zhou et al., 2016) stochastically samples decimal parts to either 0 or 1. With proper setting of $k _ { G }$ , quantization of gradients will restrict the minimum step size, which may avoid local minimum and overfitting. Furthermore, the gradients will be ternary values when $\eta$ is not greater than 1, which reduces communication costs for distributed training (Wen et al., 2017). At last, weights $W$ might exceed the range $[ - 1 + \sigma , 1 - \sigma ]$ presented by $k _ { G }$ -bit integers after updating with discrete increments $\Delta \mathbf { W }$ . So $C l i p$ function is indispensable to saturate and make sure there are only $2 ^ { k _ { G } - 1 } - 1$ states for weights accumulation. In case of the $t$ -th iteration, we have:
|
| 145 |
+
|
| 146 |
+
$$
|
| 147 |
+
W _ { t + 1 } = C l i p \left\{ { \cal W } _ { t } - \Delta { \cal W } _ { t } , - 1 + \sigma ( k _ { G } ) , 1 - \sigma ( k _ { G } ) \right\}
|
| 148 |
+
$$
|
| 149 |
+
|
| 150 |
+
# 3.4 MISCELLANEOUS
|
| 151 |
+
|
| 152 |
+
From the above, we have illustrated our quantization methods for weights, activations, gradients and errors. See Algorithm 1 for the detailed computation graph. There remain some issues to specify in an overall training process with only integers.
|
| 153 |
+
|
| 154 |
+
Gradient descent optimizer like Momentum, RMSProp and Adam contains at least one copy of gradient updates $\Delta \mathbf { W }$ or their moving average, doubling memory consumption for weights during training, which is partially equivalent to use bigger $k _ { G }$ . Since the weight updates $\Delta \mathbf { W }$ are quantized to integer multiple of $\sigma$ and scaled by $\eta$ , we adopt pure mini-batch SGD without any form of momentum or adaptive learning rate to show the potential of reducing storage demands.
|
| 155 |
+
|
| 156 |
+
Although L2 regularization works quite well for many large-scale DNNs where overfitting occurs commonly, WAGE removes small values in Equation 3 and introduces randomness in Equation 11, acting as certain types of regularization and can get comparable accuracy in later experiments. Thus, we remain L2 weight decay and dropout as supplementary regularization methods.
|
| 157 |
+
|
| 158 |
+
The Softmax layer and cross-entropy criterion are widely adopted in classification tasks but the calculation of $e ^ { x }$ can hardly be applied in low-bitwidth linear mapping occasions. For tasks with small number of categories, we avoid Softmax layer and apply mean-square-error criterion but omit mean operation to form a sum-square-error (SSE) criterion since shifted errors will get the same values in Equation 9.
|
| 159 |
+
|
| 160 |
+
# 4 EXPERIMENTS
|
| 161 |
+
|
| 162 |
+
In this section, we set W-A-G-E bits to 2-8-8-8 as default for all layers in a CNN or MLP. The bitwidth $k _ { W }$ is 2 for ternary weights, which implies that there are no multiplications during inference. Constant parameter $\beta$ is 1.5 to make equal probabilities for ternary weights when initialized randomly. Activations and errors should be of the same bitwidth since computation graph of backpropagation is similar to inference and might be applied in the same partition of hardware or memristor array (Sheridan et al., 2017). Although XNOR-Net achieves 1-bit activations, reducing errors to 4 or less bits dramatically degenerates accuracies in our tests, so the bitwidth $k _ { A }$ and $k _ { E }$ are increased to 8 simultaneously. Weights are stored with 8-bit integers during training and ternarized by two constant symmetrical thresholds during inference. We first build the computation graph for a vanilla network, then insert quantization nodes in forward propagation and override gradients in backward propagation for each layer on Tensorflow (Abadi et al., 2016). Our method is evaluated on MNIST, SVHN, CIFAR10 and ILSVRC12 (Russakovsky et al., 2015) and Table 1 shows the comparison results.
|
| 163 |
+
|
| 164 |
+
# 4.1 IMPLEMENT DETAILS
|
| 165 |
+
|
| 166 |
+
MNIST: A variation of LeNet-5 (LeCun et al., 1998) with 32C5-MP2-64C5-MP2-512FC-10SSE is adopted. The input grayscale images are regarded as activations and quantized by Equation 8 where $\alpha$ equals to 1. The learning rate $\eta$ in WAGE remains as 1 for the whole 100 epochs. We report average accuracy of 10 runs on the test set.
|
| 167 |
+
|
| 168 |
+
SVHN & CIFAR10: We use a VGG-like network (Simonyan & Zisserman, 2014) with $2 \times ( 1 2 8 { \bf C } 3 )$ - $\mathbf { M P } 2 . 2 \times ( 2 5 6 \mathbf { C } 3 ) \mathbf { - M P } 2 . 2 \times ( 5 1 2 \mathbf { C } 3 ) .$ -MP2-1024FC-10SSE. For CIFAR10 dataset, we follow the data augmentation in Lee et al. (2015) for training: 4 pixels are padded on each side, and a $3 2 \times 3 2$ patch is randomly cropped from the padded image or its horizontal flip. For testing, only single view of the original $3 2 \times 3 2$ image is evaluated. The model is trained with mini-batch size of 128 and totally 300 epochs. Learning rate $\eta$ is set to 8 and divided by 8 at epoch 200 and epoch 250. The original images are scaled and biased to the range of $[ - 1 , + 1 ]$ for 8-bit integer activation representation. As for SVHN dataset, we leave out randomly flip augmentation and reduce training epochs to 40 since it is a rather big dataset. The error rate is evaluated in the same way as MNIST.
|
| 169 |
+
|
| 170 |
+
ImageNet: WAGE framework is evaluated on ILSVRC12 dataset with AlexNet (Krizhevsky et al., 2012) model but removes dropout and local response normalization layers. Images are firstly resized to $2 5 6 \times 2 5 6$ then randomly cropped to $2 2 4 \times 2 2 4$ and horizontally flipped, followed by bias subtraction as CIFAR10. For testing, the single center crop in validation set is evaluated. Since ImageNet task is much difficult than CIFAR10 and has 1000 categories, it is hard to converge when applying SSE or hinge loss criterion in WAGE, so we add Softmax and remove quantizations in the last layer for fear of severe accuracy drop (Tang et al., 2017). The model is trained with mini-batch size of 256 and totally 70 epochs. Learning rate $\eta$ is set to 4 and divided by 8 at epoch 60 and epoch 65.
|
| 171 |
+
|
| 172 |
+
Table 1: Test or validation error rates $( \% )$ in previous works and WAGE on multiple datasets. Opt denotes gradient descent optimizer and withM means SGD with momentum, BN represents for batch normalization and 32 bits refers to float32, ImageNet top- $\mathbf { \nabla } \cdot \mathbf { k }$ format: top1/top5.
|
| 173 |
+
|
| 174 |
+
<table><tr><td>Method</td><td>kw</td><td>kA</td><td>kG</td><td>kE</td><td>Opt</td><td>BN</td><td>MNIST</td><td>SVHN</td><td>CIFAR10</td><td>ImageNet</td></tr><tr><td>BC</td><td>1</td><td>32</td><td>32</td><td>32</td><td>Adam</td><td>V</td><td>1.29</td><td>2.30</td><td>9.90</td><td>1</td></tr><tr><td>BNN</td><td>1</td><td>1</td><td>32</td><td>32</td><td>Adam</td><td>√</td><td>0.96</td><td>2.53</td><td>10.15</td><td>1</td></tr><tr><td>BWN1</td><td>1</td><td>32</td><td>32</td><td>32</td><td>withM</td><td>√</td><td>1</td><td>1</td><td>1</td><td>43.2/20.6</td></tr><tr><td>XNOR</td><td>1</td><td>1</td><td>32</td><td>32</td><td>Adam</td><td>√</td><td>-</td><td>1</td><td>1</td><td>55.8/30.8</td></tr><tr><td>TWN</td><td>2</td><td>32</td><td>32</td><td>32</td><td>withM</td><td>√</td><td>0.65</td><td>-</td><td>7.44</td><td>34.7/13.8</td></tr><tr><td>TTQ</td><td>2</td><td>32</td><td>32</td><td>32</td><td>Adam</td><td>√</td><td>-</td><td>1</td><td>6.44</td><td>42.5/20.3</td></tr><tr><td>DoReFa²</td><td>8</td><td>8</td><td>32</td><td>8</td><td>Adam</td><td>√</td><td>1</td><td>2.30</td><td>-</td><td>47.0/-</td></tr><tr><td>TernGrad3</td><td>32</td><td>32</td><td>2</td><td>32</td><td>Adam</td><td>√</td><td>1</td><td>1</td><td>14.36</td><td>42.4/19.5</td></tr><tr><td>WAGE</td><td>2</td><td>8</td><td>8</td><td>8</td><td>SGD</td><td>×</td><td>0.40</td><td>1.92</td><td>6.78</td><td>51.6/27.8</td></tr></table>
|
| 175 |
+
|
| 176 |
+
# 4.2 TRAINING CURVES AND REGULARIZATION
|
| 177 |
+
|
| 178 |
+
We further compare WAGE variations and a vanilla CNN on CIFAR10. The vanilla CNN has the same VGG-like architecture described above except that none quantization of any operand or operation is applied. We add batch normalization in each layer and Softmax for the last layer, replace SSE with cross-entropy criterion, and then use a L2 weight decay of 1e-4 and momentum of 0.9 for training. The learning rate is set to 0.1 and divided by 10 at epoch 200 and epoch 250. For variations of WAGE, pattern 28ff has no quantization nodes in backpropagation. Although the 28ff pattern has the same optimizer and learning rate annealing method as the vanilla pattern, we find that weight updates are decreased by the rescale factor $\alpha$ in Equation 7. Therefore, the learning rate for $2 8 \mathrm { f f }$ is amplified and tuned, which reduces the error rate by $3 \%$ . Figure 3 shows the training curves of three counterparts. It can be seen that the 2888 pattern has comparable convergence rate to the vanilla CNN, better accuracy than those who only discretize weights and activations in inference time, though slightly more volatile. The discretization of backpropagation somehow acts as another type of regularization and have significant error rate drop when decreasing learning rate $\eta$ .
|
| 179 |
+
|
| 180 |
+

|
| 181 |
+
Figure 3: Training curves of WAGE variations and a vanilla CNN on CIFAR10.
|
| 182 |
+
|
| 183 |
+
# 4.3 BITWIDTH OF ERRORS
|
| 184 |
+
|
| 185 |
+
The bitwidth $k _ { E }$ is set to 8 as default in previous experiments. To further explore a proper bitwidth and its truncated boundary, we firstly export errors from vanilla CNN for CIFAR10 after 100 training epochs. The histogram of errors in the last convolution layer among 128 mini-batch data is shown in Figure 4. It is obvious that errors approximately obey logarithmic normal distribution where values are relatively small and have significantly large range. When quantized with $k _ { E }$ -bit integers, a proper window function should be chosen to truncate the distribution while retaining the approximate orientations for backpropagation. For more details about the layerwise histograms of all W, A, G, E operands, see Figure 5.
|
| 186 |
+
|
| 187 |
+
Firstly, the upper (right) boundary is immobilized to the maximum absolute value among all elements in errors as described in Equation 9. Then the left boundary will be based on the bitwidth $k _ { E }$ . We conduct a series of experiments for $k _ { E }$ ranging from 4 to 15. The boxplot in Figure 4 indicates that 4-8 bits of errors represented by integers are enough for CIFAR10 classification task. Bitwidth 8 is chosen as default to match the 8-bit image color levels and most operands in the micro control unit (MCU). The histogram of errors in the same layer of WAGE-2888 shows that after being shifted and quantized layer by layer, the distribution of errors reshapes and mostly aggregates into truncated window. Thus, most information for orientations is retained. Besides, the smaller values in errors have negligible effects on previous orientations though accumulated layer by layer, which are partially discarded in quantization.
|
| 188 |
+
|
| 189 |
+
Since the width of the window has been optimized, we left-shift the window with factor $\gamma$ to explore its horizontal position. The right boundary can be formulated as $m a x \{ | e | \} / \gamma$ . Table 2 shows the effect of shifting errors: although large values are in the minority, they play critical roles for backpropagation training while the majority with small values actually act as noises.
|
| 190 |
+
|
| 191 |
+
Table 2: Test error rates $( \% )$ on CIFAR10 when left-shift upper boundary with factor $\gamma$
|
| 192 |
+
|
| 193 |
+
<table><tr><td rowspan=1 colspan=1>2</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>2</td><td rowspan=1 colspan=1>4</td><td rowspan=1 colspan=1>8</td></tr><tr><td rowspan=1 colspan=1>error</td><td rowspan=1 colspan=1>6.78</td><td rowspan=1 colspan=1>7.31</td><td rowspan=1 colspan=1>8.08</td><td rowspan=1 colspan=1>16.92</td></tr></table>
|
| 194 |
+
|
| 195 |
+
# 4.4 BITWIDTH OF GRADIENTS
|
| 196 |
+
|
| 197 |
+
The bitwidth $k _ { G }$ is set to 8 as default in previous experiments. Although weights are propagated with ternary values in inference and achieve $1 6 \times$ compression rate than float32 weights, they are saved and accumulated in a relatively higher bitwidth (8 bits) for backpropagation training. Therefore, the overall compression rate is only $4 \times$ . The inconsistent bitwidth between weight updates $k _ { G }$ and their effects in inference $k _ { W }$ provides indispensable buffer space. Otherwise, there might be too many weights changing their ternary values in each iteration, making training very slow and unstable. To further explore a proper bitwidth for gradients, we use WAGE 2-8-8-8 in CIFAR10 as baseline and range $k _ { G }$ from 2 to 12, the learning rate $\eta$ is divided by 2 every time the $k _ { G }$ decreases 1 bit to keep approximately equal weights accumulation in large number of iterations. Results from Table 3 show the effect of $k _ { G }$ and indicate the similar bitwidth requirement as previous experiments for $k _ { E }$ .
|
| 198 |
+
|
| 199 |
+

|
| 200 |
+
Figure 4: Left are histograms of errors $e$ for same layer in vanilla network and WAGE-2888 network. Upper boundaries are the $m a x \{ | e | \}$ while lower boundaries are determined by the bitwidth $k _ { E }$ . The 10 run accuracies of different $k _ { E }$ are shown on the right.
|
| 201 |
+
|
| 202 |
+
Table 3: Test error rates $( \% )$ on CIFAR10 with different $k _ { G }$
|
| 203 |
+
|
| 204 |
+
<table><tr><td rowspan=1 colspan=1>kG</td><td rowspan=1 colspan=1>2</td><td rowspan=1 colspan=1>3</td><td rowspan=1 colspan=1>4</td><td rowspan=1 colspan=1>5</td><td rowspan=1 colspan=1>6</td><td rowspan=1 colspan=1>7</td><td rowspan=1 colspan=1>8</td><td rowspan=1 colspan=1>9</td><td rowspan=1 colspan=1>10</td><td rowspan=1 colspan=1>11</td><td rowspan=1 colspan=1>12</td></tr><tr><td rowspan=1 colspan=1>error</td><td rowspan=1 colspan=1>54.22</td><td rowspan=1 colspan=1>51.57</td><td rowspan=1 colspan=1>28.22</td><td rowspan=1 colspan=1>18.01</td><td rowspan=1 colspan=1>11.48</td><td rowspan=1 colspan=1>7.61</td><td rowspan=1 colspan=1>6.78</td><td rowspan=1 colspan=1>6.63</td><td rowspan=1 colspan=1>6.43</td><td rowspan=1 colspan=1>6.55</td><td rowspan=1 colspan=1>6.57</td></tr></table>
|
| 205 |
+
|
| 206 |
+
For ImageNet implementation, we conduct six patterns to show bitwidth requirements: 2888 from Table 1, 288C for more accurate errors (12 bits), 28C8 for larger buffer space, 28f8 for none quantization of gradients, 28ff for errors and gradients in float32 as unlimited case and its BN counterpart. The accuracy of original AlexNet reproduction is reported as baseline. Learning rate $\eta$ is set to 64 and divided by 8 in 28C8 pattern, 0.01 and divided by 10 in 28f8, 28ff counterparts and vanilla AlexNet. We observe overfitting when increasing $k _ { G }$ thus add L2 weight decay of 1e-4, 1e-4 and 5e-4 for 28f8, 28ff and 28ff-BN patterns, respectively. In table 4, the comparison between pattern 28C8 and 288C reveals that it might be more important to make more buffer space $k _ { G }$ for gradient accumulation than to keep high-resolution orientation $k _ { E }$ . Besides, when it comes to ImageNet dataset, the gradient accumulation, i.e., the bit width of gradients $( k _ { G } )$ and batch normalization become more important (Li et al., 2017) since samples in training set are so variant.
|
| 207 |
+
|
| 208 |
+
To avoid external memory consumption of full-precision weights during training, Deng et al. (2018) achieved 1-bit weights representation in both training and inference. They use a much larger minibatch size of 1000 and float32 backpropagation dataflow to accumulate more precise weight updates, equally compensating the buffer space in WAGE provided by external bits of $k _ { G }$ . However, large batch size will dramatically increase total training time, counteracting the speed benefits brought by integer arithmetic units. Besides, intermediate variables like feature maps often consume much more memory than weights and linearly correlated with mini-batch size. Therefore, we apply bigger $k _ { G }$ for better convergence rate, accuracy and lower memory usage.
|
| 209 |
+
|
| 210 |
+
Table 4: Top-5 error rates $( \% )$ on ImageNet with different $k _ { G }$ and $k _ { E }$
|
| 211 |
+
|
| 212 |
+
<table><tr><td rowspan=1 colspan=1>Pattern</td><td rowspan=1 colspan=1>Vanilla</td><td rowspan=1 colspan=1>28ff-BN</td><td rowspan=1 colspan=1>28ff</td><td rowspan=1 colspan=1>28f8</td><td rowspan=1 colspan=1>28C8</td><td rowspan=1 colspan=1>288C</td><td rowspan=1 colspan=1>2888</td></tr><tr><td rowspan=1 colspan=1>error</td><td rowspan=1 colspan=1>19.29</td><td rowspan=1 colspan=1>20.67</td><td rowspan=1 colspan=1>24.14</td><td rowspan=1 colspan=1>23.92</td><td rowspan=1 colspan=1>26.88</td><td rowspan=1 colspan=1>28.06</td><td rowspan=1 colspan=1>27.82</td></tr></table>
|
| 213 |
+
|
| 214 |
+
# 5 DISCUSSION AND FUTURE WORK
|
| 215 |
+
|
| 216 |
+
The goal of this work is to demonstrate potentials of applying training and inference with lowbitwidth integers in DNNs. Compared with FP16, 8-bit integer operations will not only reduce the energy and area costs for IC design (about $5 \times$ , see Table 5), but also halve the memory accesses costs and memory size requirements during training, which will greatly benefit mobile devices with on-site learning capability. There are some points not involved in this work but yet to be improved or solved in future algorithm developments and hardware deployment.
|
| 217 |
+
|
| 218 |
+
MAC Operation: WAGE framework is mainly tested with 2-8-8-8 bitwidth configuration, which means that though there are no multiplications during inference with ternary weights, MACs are still needed to calculate $\textbf { { g } }$ in training. Possible solution is 2-2-8-8 pattern if we do not consider the matching of bitwidths between $\textbf { \em a }$ and $e$ . However, ternary $\textbf { \em a }$ will dramatically slow down convergence and hurt accuracy since $Q ( x , 2 )$ has two relatively high thresholds and clear most outputs of each layer at the beginning of training, this phenomenon is also observed in our BNN replication.
|
| 219 |
+
|
| 220 |
+
Non-linear quantization: The linear mapping with uniform distance is adopted in WAGE for its simplicity. However, non-linear quantization method like logarithmic representation (Miyashita et al., 2016; Zhou et al., 2017) might be more efficient because the weights and activations in a trained network naturally have logarithmic normal distributions as shown in Figure 4. Besides, values in logarithmic representation have much larger range with fewer bits than fixed-point representation and are naturally encoded in digital hardware. It is promising to training DNNs with integers encoded with logarithmic representation.
|
| 221 |
+
|
| 222 |
+
Normalization: Normalization layers like Softmax and batch normalization are avoided or removed in some WAGE demonstrations. We think normalizations are essential for end-to-end multi-channel perception where sensors with different modalities have different input distributions, as well as cross-model features encoding and cognition where information from different branches gather to form higher-level representations. Therefore, a better way to quantize normalization is of great interest in further studies.
|
| 223 |
+
|
| 224 |
+
Table 5: Rough relative costs in $4 5 \mathrm { n m } 0 . 9 \mathrm { V }$ from Sze et al. (2017).
|
| 225 |
+
|
| 226 |
+
<table><tr><td rowspan=2 colspan=1>Operation</td><td rowspan=1 colspan=1>Energy(pJ)</td><td rowspan=1 colspan=1>Area(um2)</td></tr><tr><td rowspan=1 colspan=1>MUL ADD</td><td rowspan=1 colspan=1>MUL ADD</td></tr><tr><td rowspan=1 colspan=1>8-bit INT</td><td rowspan=1 colspan=1>0.2 pJ 0.03 pJ</td><td rowspan=1 colspan=1>282 36</td></tr><tr><td rowspan=1 colspan=1>16-bit FP</td><td rowspan=1 colspan=1>1.1 pJ 0.40 pJ</td><td rowspan=1 colspan=1>1640 1360</td></tr><tr><td rowspan=1 colspan=1>32-bit FP</td><td rowspan=1 colspan=1>3.7 pJ 0.90 pJ</td><td rowspan=1 colspan=1>7700 4184</td></tr></table>
|
| 227 |
+
|
| 228 |
+
# 6 CONCLUSION
|
| 229 |
+
|
| 230 |
+
WAGE empowers pure low-bitwidth integer dataflow in DNNs for both training and inference. We introduce a new initialization method and a layer-wise constant scaling factor to replace batch normalization, which is a pain spot for network quantization. Many other components for training are also considered or simplified by alternative solutions. In addition, the bitwidth requirements for error computation and gradient accumulation are explored. Experiments reveal that we can quantize relative values of gradients, as well as discard the majority of small values and their orders of magnitude in backpropagation. Although the accumulation for weights updates are indispensable for stable convergence and final accuracy, there still remain works for compression and memory consumption can be further reduced in training. WAGE achieves state-of-art accuracies on multiple datasets with 2-8-8-8 bitwidth configuration. It is promising for incremental works via fine-tuning, more efficient mapping, quantization of batch normalization, etc. Overall, we introduce a framework without floating-point representation and demonstrate the potential to implement both discrete training and inference on integer-based lightweight ASIC or FPGA with on-site learning capability.
|
| 231 |
+
|
| 232 |
+
# ACKNOWLEDGMENTS
|
| 233 |
+
|
| 234 |
+
This work is partially supported by the Project of NSFC (61327902), the SuZhou-Tsinghua innovation leading program (2016SZ0102), the National Natural Science Foundation of China (61603209) and the Independent Research Plan of Tsinghua University (20151080467). We discuss a lot with Peng Jiao and Lei Deng, gratefully acknowledge for their thoughtful comments.
|
| 235 |
+
|
| 236 |
+
# REFERENCES
|
| 237 |
+
|
| 238 |
+
Mart´ın Abadi, Paul Barham, Jianmin Chen, Zhifeng Chen, Andy Davis, Jeffrey Dean, Matthieu Devin, Sanjay Ghemawat, Geoffrey Irving, Michael Isard, et al. Tensorflow: A system for largescale machine learning. In OSDI, volume 16, pp. 265–283, 2016.
|
| 239 |
+
|
| 240 |
+
Yu-Hsin Chen, Tushar Krishna, Joel S Emer, and Vivienne Sze. Eyeriss: An energy-efficient reconfigurable accelerator for deep convolutional neural networks. IEEE Journal of Solid-State Circuits, 52(1):127–138, 2017.
|
| 241 |
+
|
| 242 |
+
Matthieu Courbariaux, Yoshua Bengio, and Jean-Pierre David. Binaryconnect: Training deep neural networks with binary weights during propagations. In Advances in Neural Information Processing Systems, pp. 3123–3131, 2015.
|
| 243 |
+
|
| 244 |
+
Lei Deng, Peng Jiao, Jing Pei, Zhenzhi Wu, and Guoqi Li. Gxnor-net: Training deep neural networks with ternary weights and activations without full-precision memory under a unified discretization framework. Neural Networks, 2018.
|
| 245 |
+
|
| 246 |
+
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, 2015.
|
| 247 |
+
|
| 248 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Delving deep into rectifiers: Surpassing human-level performance on imagenet classification. In Proceedings of the IEEE international conference on computer vision, pp. 1026–1034, 2015.
|
| 249 |
+
|
| 250 |
+
Geoffrey Hinton, Li Deng, Dong Yu, George E Dahl, Abdel-rahman Mohamed, Navdeep Jaitly, Andrew Senior, Vincent Vanhoucke, Patrick Nguyen, Tara N Sainath, et al. Deep neural networks for acoustic modeling in speech recognition: The shared views of four research groups. IEEE Signal Processing Magazine, 29(6):82–97, 2012.
|
| 251 |
+
|
| 252 |
+
Andrew G Howard, Menglong Zhu, Bo Chen, Dmitry Kalenichenko, Weijun Wang, Tobias Weyand, Marco Andreetto, and Hartwig Adam. Mobilenets: Efficient convolutional neural networks for mobile vision applications. arXiv preprint arXiv:1704.04861, 2017.
|
| 253 |
+
|
| 254 |
+
Itay Hubara, Matthieu Courbariaux, Daniel Soudry, Ran El-Yaniv, and Yoshua Bengio. Binarized neural networks. In Advances in Neural Information Processing Systems, pp. 4107–4115, 2016.
|
| 255 |
+
|
| 256 |
+
Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In International Conference on Machine Learning, pp. 448–456, 2015.
|
| 257 |
+
|
| 258 |
+
Norman P Jouppi, Cliff Young, Nishant Patil, David Patterson, Gaurav Agrawal, Raminder Bajwa, Sarah Bates, Suresh Bhatia, Nan Boden, Al Borchers, et al. In-datacenter performance analysis of a tensor processing unit. In Proceedings of the 44th Annual International Symposium on Computer Architecture, pp. 1–12. ACM, 2017.
|
| 259 |
+
|
| 260 |
+
Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In Advances in neural information processing systems, pp. 1097–1105, 2012.
|
| 261 |
+
|
| 262 |
+
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.
|
| 263 |
+
|
| 264 |
+
Chen-Yu Lee, Saining Xie, Patrick Gallagher, Zhengyou Zhang, and Zhuowen Tu. Deeplysupervised nets. In Artificial Intelligence and Statistics, pp. 562–570, 2015.
|
| 265 |
+
|
| 266 |
+
Fengfu Li, Bo Zhang, and Bin Liu. Ternary weight networks. arXiv preprint arXiv:1605.04711, 2016.
|
| 267 |
+
|
| 268 |
+
Hao Li, Soham De, Zheng Xu, Christoph Studer, Hanan Samet, and Tom Goldstein. Training quantized nets: A deeper understanding. In Advances in Neural Information Processing Systems, pp. 5813–5823, 2017.
|
| 269 |
+
|
| 270 |
+
Daisuke Miyashita, Edward H Lee, and Boris Murmann. Convolutional neural networks using logarithmic data representation. arXiv preprint arXiv:1603.01025, 2016.
|
| 271 |
+
|
| 272 |
+
Mohammad Rastegari, Vicente Ordonez, Joseph Redmon, and Ali Farhadi. Xnor-net: Imagenet classification using binary convolutional neural networks. In European Conference on Computer Vision, pp. 525–542. Springer, 2016.
|
| 273 |
+
|
| 274 |
+
Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, et al. Imagenet large scale visual recognition challenge. International Journal of Computer Vision, 115(3):211–252, 2015.
|
| 275 |
+
|
| 276 |
+
Patrick M Sheridan, Fuxi Cai, Chao Du, Wen Ma, Zhengya Zhang, and Wei D Lu. Sparse coding with memristor networks. Nature nanotechnology, 12(8):784, 2017.
|
| 277 |
+
|
| 278 |
+
Luping Shi, Jing Pei, Ning Deng, Dong Wang, Lei Deng, Yu Wang, Youhui Zhang, Feng Chen, Mingguo Zhao, Sen Song, et al. Development of a neuromorphic computing system. In Electron Devices Meeting (IEDM), 2015 IEEE International, pp. 4–3. IEEE, 2015.
|
| 279 |
+
|
| 280 |
+
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.
|
| 281 |
+
|
| 282 |
+
Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556, 2014.
|
| 283 |
+
|
| 284 |
+
Vivienne Sze, Yu-Hsin Chen, Tien-Ju Yang, and Joel S Emer. Efficient processing of deep neural networks: A tutorial and survey. Proceedings of the IEEE, 105(12):2295–2329, 2017.
|
| 285 |
+
|
| 286 |
+
Wei Tang, Gang Hua, and Liang Wang. How to train a compact binary neural network with high accuracy? In Thirty-First AAAI Conference on Artificial Intelligence, 2017.
|
| 287 |
+
|
| 288 |
+
Wei Wen, Cong Xu, Feng Yan, Chunpeng Wu, Yandan Wang, Yiran Chen, and Hai Li. Terngrad: Ternary gradients to reduce communication in distributed deep learning. In Advances in Neural Information Processing Systems, pp. 1508–1518, 2017.
|
| 289 |
+
|
| 290 |
+
Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning requires rethinking generalization. arXiv preprint arXiv:1611.03530, 2016.
|
| 291 |
+
|
| 292 |
+
Aojun Zhou, Anbang Yao, Yiwen Guo, Lin Xu, and Yurong Chen. Incremental network quantization: Towards lossless cnns with low-precision weights. arXiv preprint arXiv:1702.03044, 2017.
|
| 293 |
+
|
| 294 |
+
Shuchang Zhou, Yuxin Wu, Zekun Ni, Xinyu Zhou, He Wen, and Yuheng Zou. Dorefa-net: Training low bitwidth convolutional neural networks with low bitwidth gradients. arXiv preprint arXiv:1606.06160, 2016.
|
| 295 |
+
|
| 296 |
+
Chenzhuo Zhu, Song Han, Huizi Mao, and William J Dally. Trained ternary quantization. arXiv preprint arXiv:1612.01064, 2016.
|
| 297 |
+
|
| 298 |
+
# A ALGORITHM
|
| 299 |
+
|
| 300 |
+
We assume that network structures are defined and initialized with Equation 5. The annotations after pseudo code are potential corresponding operations for implementation in a fixed-point dataflow.
|
| 301 |
+
|
| 302 |
+
Algorithm 1 Training an $I$ -layer net with WAGE method on floating-point-based or integer-based device. Weights, activations, gradients and errors are quantized according to Equations 6 - 12.
|
| 303 |
+
|
| 304 |
+
Require: a mini-batch of inputs and targets $( \pmb { a } _ { q } ^ { 0 } , \pmb { a } ^ { * } )$ which are quantized to $k _ { A }$ -bit integers, shiftbased $\alpha$ for each layer, learning rate scheduler $\eta$ , previous weight $W$ saved in $k _ { G }$ bits.
|
| 305 |
+
|
| 306 |
+
Ensure: updated weights $W _ { t + 1 }$
|
| 307 |
+
|
| 308 |
+
1. Forward propagation:
|
| 309 |
+
1: for $i = 1$ to $I$ do
|
| 310 |
+
2: $W _ { q } ^ { i } Q _ { W } ( W ^ { i } )$
|
| 311 |
+
3: $\pmb { a } ^ { i } \gets R e L U ( \pmb { a } _ { q } ^ { i - 1 } \pmb { W } _ { q } ^ { i } )$
|
| 312 |
+
4: $\pmb { a } _ { q } ^ { i } Q _ { A } ( \pmb { a } ^ { i } )$
|
| 313 |
+
|
| 314 |
+
5: end for 2. Back propagation: Compute $\mathbf { \Psi } _ { e ^ { I } } \mathbf { \bar { \Psi } } _ { } \mathbf { \frac { \partial \mathcal { L } } { \partial \mathbf { a } ^ { I } } }$ knowing $\pmb { a } ^ { I }$ and $\mathbf { \delta } \mathbf { \textit { a } } ^ { * }$
|
| 315 |
+
|
| 316 |
+
6: for $i = I$ to 1 do
|
| 317 |
+
7: 0 $e _ { q } ^ { i } Q _ { E } ( e ^ { i } )$
|
| 318 |
+
8: $e ^ { i - 1 } e _ { q } ^ { i } W _ { q } ^ { i }$
|
| 319 |
+
9: g i ← e iq T a i − 1q
|
| 320 |
+
10: $\Delta W ^ { i } Q _ { G } ( \pmb { g } ^ { i } )$
|
| 321 |
+
11: Update and Clip $\dot { W } ^ { i }$ according to Equation 12
|
| 322 |
+
12: end for
|
| 323 |
+
|
| 324 |
+
# B LAYERWISE HISTOGRAM
|
| 325 |
+
|
| 326 |
+

|
| 327 |
+
Figure 5: Layerwise histograms of a trained VGG-like network with bitwidth configuration: 2-8- 8-8 and learning rate $\eta$ equals to 8. The Y-axis represents for probability in W-plots and G-plots, and logarithmic probability in A-plots and E-plots, respectively. In A-plots histograms are one-layer ahead so the first figure shows the quantized input data.
|
parse/train/HJGXzmspb/HJGXzmspb_content_list.json
ADDED
|
@@ -0,0 +1,1657 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
+
145
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Shuang $\\mathbf { W } \\mathbf { u } ^ { 1 }$ , Guoqi $\\mathbf { L i } ^ { 1 }$ , Feng Chen2, Luping Shi1 ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
184,
|
| 19 |
+
169,
|
| 20 |
+
534,
|
| 21 |
+
185
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "1Department of Precision Instrument \n2Department of Automation \nCenter for Brain Inspired Computing Research \nBeijing Innovation Center for Future Chip \nTsinghua University \n{lpshi,chenfeng}@mail.tsinghua.edu.cn ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
184,
|
| 30 |
+
185,
|
| 31 |
+
544,
|
| 32 |
+
268
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "ABSTRACT ",
|
| 39 |
+
"text_level": 1,
|
| 40 |
+
"bbox": [
|
| 41 |
+
452,
|
| 42 |
+
305,
|
| 43 |
+
544,
|
| 44 |
+
320
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "Researches on deep neural networks with discrete parameters and their deployment in embedded systems have been active and promising topics. Although previous works have successfully reduced precision in inference, transferring both training and inference processes to low-bitwidth integers has not been demonstrated simultaneously. In this work, we develop a new method termed as “WAGE” to discretize both training and inference, where weights (W), activations (A), gradients (G) and errors (E) among layers are shifted and linearly constrained to low-bitwidth integers. To perform pure discrete dataflow for fixed-point devices, we further replace batch normalization by a constant scaling layer and simplify other components that are arduous for integer implementation. Improved accuracies can be obtained on multiple datasets, which indicates that WAGE somehow acts as a type of regularization. Empirically, we demonstrate the potential to deploy training in hardware systems such as integer-based deep learning accelerators and neuromorphic chips with comparable accuracy and higher energy efficiency, which is crucial to future AI applications in variable scenarios with transfer and continual learning demands. ",
|
| 51 |
+
"bbox": [
|
| 52 |
+
233,
|
| 53 |
+
337,
|
| 54 |
+
764,
|
| 55 |
+
559
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "1 INTRODUCTION ",
|
| 62 |
+
"text_level": 1,
|
| 63 |
+
"bbox": [
|
| 64 |
+
176,
|
| 65 |
+
585,
|
| 66 |
+
336,
|
| 67 |
+
602
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "Recently deep neural networks (DNNs) are being widely used for numerous AI applications (Krizhevsky et al., 2012; Hinton et al., 2012; Silver et al., 2016). Depending on the massive tunable parameters, DNNs are considered to have powerful multi-level feature extraction and representation abilities. However, training DNNs needs energy-intensive devices such as GPU and CPU with high precision (float32) processing units and abundant memory, which has greatly challenged their extensive applications for portable devices. In addition, a state-of-art network often has far more weights and effective capacity to shatter all training samples (Zhang et al., 2016), leading to overfitting easily. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
617,
|
| 77 |
+
823,
|
| 78 |
+
715
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "As a result, there is much interest in reducing the size of network during inference (Hubara et al., 2016; Rastegari et al., 2016; Li et al., 2016), as well as dedicated hardware for commercial solutions (Jouppi et al., 2017; Chen et al., 2017; Shi et al., 2015). Due to the accumulation in stochastic gradient descent (SGD) optimization, the precision demand for training is usually higher than inference (Hubara et al., 2016; Li et al., 2017). Therefore, most of the existing techniques only focus on the deployment of a well-trained compressed network, while still keeping high precision and computational complexity during training. In this work, we address this problem as how to process both training and inference with low-bitwidth integers, which is essential for implementing DNNs in dedicated hardware. To this end, two fundamental issues are addressed for discretely training DNNs: i) how to quantize all the operands and operations, and ii) how many bits or states are needed for SGD computation and accumulation. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
722,
|
| 88 |
+
825,
|
| 89 |
+
875
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "With respect to the issues, we propose a framework termed as “WAGE” that constrains weights (W), activations (A), gradients (G) and errors (E) among all layers to low-bitwidth integers in both training and inference. Firstly, for operands, linear mapping and orientation-preserved shifting are applied to achieve ternary weights, 8-bit integers for activations and gradients accumulation. Secondly, for operations, batch normalization (Ioffe & Szegedy, 2015) is replaced by a constant scaling factor. Other techniques for fine-tuning such as SGD optimizer with momentum and L2 regularization are simplified or abandoned with little performance degradation. Considering the overall bidirectional propagation, we completely streamline inference into accumulate-compare cycles and training into low-bitwidth multiply-accumulate (MAC) cycles with alignment operations, respectively. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
176,
|
| 98 |
+
882,
|
| 99 |
+
823,
|
| 100 |
+
924
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
103,
|
| 110 |
+
823,
|
| 111 |
+
188
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "We heuristically explore the bitwidth requirements of integers for error computation and gradient accumulation, which have rarely been discussed in previous works. Experiments indicate that it is the relative values (orientations) rather than absolute values (orders of magnitude) in error that guides previous layers to converge. Moreover, small values have negligible effects on previous orientations though propagated layer by layer, which can be partially discarded in quantization. We leverage these phenomena and use an orientation-preserved shifting operation to constrain errors. As for the gradient accumulation, though weights are quantized to ternary values in inference, a relatively higher bitwidth is indispensable to store and accumulate gradient updates. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
174,
|
| 120 |
+
194,
|
| 121 |
+
825,
|
| 122 |
+
305
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "The proposed framework is evaluated on MNIST, CIFAR10, SVHN, ImageNet datasets. Comparing to those who only discretize weights and activations at inference time, it has comparable accuracy and can further alleviate overfitting, indicating some type of regularization. WAGE produces pure bidirectional low-precision integer dataflow for DNNs, which can be applied for training and inference in dedicated hardware neatly. We publish the code on GitHub1. ",
|
| 129 |
+
"bbox": [
|
| 130 |
+
174,
|
| 131 |
+
311,
|
| 132 |
+
823,
|
| 133 |
+
382
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 1
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "2 RELATED WORK ",
|
| 140 |
+
"text_level": 1,
|
| 141 |
+
"bbox": [
|
| 142 |
+
176,
|
| 143 |
+
404,
|
| 144 |
+
344,
|
| 145 |
+
420
|
| 146 |
+
],
|
| 147 |
+
"page_idx": 1
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"type": "text",
|
| 151 |
+
"text": "We mainly focus on reducing precision of operands and operations in both training and inference. Orthogonal and complementary techniques for reducing complexity like network compression, pruning (Han et al., 2015; Zhou et al., 2017) and compact architectures (Howard et al., 2017) are impressively efficient but outside the scope this paper. ",
|
| 152 |
+
"bbox": [
|
| 153 |
+
174,
|
| 154 |
+
438,
|
| 155 |
+
823,
|
| 156 |
+
493
|
| 157 |
+
],
|
| 158 |
+
"page_idx": 1
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"type": "text",
|
| 162 |
+
"text": "Weight and activation Courbariaux et al. (2015); Hubara et al. (2016) propose methods to train DNNs with binary weights (BC) and activations (BNN) successively. They add noises to weights and activations as a form of regularization but real-valued gradients are accumulated in real-valued variables, suggesting that high precision accumulation is likely required for SGD optimization. XNOR-Net (Rastegari et al., 2016) has a filter-wise scaling factor for weights to improve the performance. Convolutions in XNOR-Net can be implemented efficiently using XNOR logical units and bit-count operations. However, these floating-point factors are calculated simultaneously during training, which generally aggravates the training effort. In TWN (Li et al., 2016) and TTQ (Zhu et al., 2016) two symmetric thresholds are introduced to constrain the weights to be ternary-valued: $\\{ + 1 , 0 , - 1 \\}$ . They claimed a tradeoff between model complexity and expressive ability. ",
|
| 163 |
+
"bbox": [
|
| 164 |
+
174,
|
| 165 |
+
500,
|
| 166 |
+
825,
|
| 167 |
+
640
|
| 168 |
+
],
|
| 169 |
+
"page_idx": 1
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"type": "text",
|
| 173 |
+
"text": "Gradient computation and accumulation DoReFa-Net (Zhou et al., 2016) quantizes gradients to low-bitwidth floating-point numbers with discrete states in the backward pass. TernGrad (Wen et al., 2017) quantizes gradient updates to ternary values to reduce the overhead of gradient synchronization in distributed training. Nevertheless, weights in DoReFa-Net and TernGrad are stored and updated with float32 during training like previous works. Besides, the quantization of batch normalization and its derivative is ignored. Thus, the overall computation graph for the training process is still presented with float32 and more complex with external quantization. Generally, it is difficult to apply DoReFa-Net training in an integer-based hardware directly, but it shows potential for exploring high-dimensional discrete spaces with discrete gradient descent directions. ",
|
| 174 |
+
"bbox": [
|
| 175 |
+
173,
|
| 176 |
+
646,
|
| 177 |
+
825,
|
| 178 |
+
771
|
| 179 |
+
],
|
| 180 |
+
"page_idx": 1
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"type": "text",
|
| 184 |
+
"text": "3 WAGE QUANTIZATION ",
|
| 185 |
+
"text_level": 1,
|
| 186 |
+
"bbox": [
|
| 187 |
+
176,
|
| 188 |
+
792,
|
| 189 |
+
400,
|
| 190 |
+
810
|
| 191 |
+
],
|
| 192 |
+
"page_idx": 1
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"type": "text",
|
| 196 |
+
"text": "The main idea of WAGE quantization is to constrain four operands to low-bitwidth integers: weight $W$ and activation $^ { a }$ in inference, error $e$ and gradient $\\textbf { { g } }$ in backpropagation training, see Figure 1. We extend the original definition of errors to multi-layer: error $e$ is the gradient of activation $\\textbf { \\em a }$ for the perspective of each convolution or fully-connected layer, while gradient $\\textbf { { g } }$ particularly refers to the gradient accumulation of weight $W$ . Considering the $i$ -th layer of a feed-forward network, we ",
|
| 197 |
+
"bbox": [
|
| 198 |
+
174,
|
| 199 |
+
825,
|
| 200 |
+
825,
|
| 201 |
+
896
|
| 202 |
+
],
|
| 203 |
+
"page_idx": 1
|
| 204 |
+
},
|
| 205 |
+
{
|
| 206 |
+
"type": "text",
|
| 207 |
+
"text": "have: ",
|
| 208 |
+
"bbox": [
|
| 209 |
+
173,
|
| 210 |
+
104,
|
| 211 |
+
210,
|
| 212 |
+
117
|
| 213 |
+
],
|
| 214 |
+
"page_idx": 2
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"type": "equation",
|
| 218 |
+
"img_path": "images/e52fc3b4198793e13a34e9a3c792af01c6092e0cf52f2fbc93067b970e71cf74.jpg",
|
| 219 |
+
"text": "$$\ne ^ { i } = { \\frac { \\partial { \\mathcal { L } } } { \\partial a ^ { i } } } , \\pmb { g } ^ { i } = { \\frac { \\partial { \\mathcal { L } } } { \\partial W ^ { i } } }\n$$",
|
| 220 |
+
"text_format": "latex",
|
| 221 |
+
"bbox": [
|
| 222 |
+
419,
|
| 223 |
+
113,
|
| 224 |
+
576,
|
| 225 |
+
145
|
| 226 |
+
],
|
| 227 |
+
"page_idx": 2
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"type": "text",
|
| 231 |
+
"text": "where $\\mathcal { L }$ is the loss function. We separate these two terms that are mixed up in most existing schemes. The gradient of weight $\\textbf { { g } }$ and the gradient of activation $e$ flow to different paths in each layer, which is a fork both in inference and in backward training and generally acts as node of MAC operations. ",
|
| 232 |
+
"bbox": [
|
| 233 |
+
174,
|
| 234 |
+
146,
|
| 235 |
+
825,
|
| 236 |
+
202
|
| 237 |
+
],
|
| 238 |
+
"page_idx": 2
|
| 239 |
+
},
|
| 240 |
+
{
|
| 241 |
+
"type": "text",
|
| 242 |
+
"text": "For the forward propagation in the $i$ -th layer, assuming that weights are stored and accumulated with $k _ { G }$ -bit integers, then numerous works strive for a better quantization function $Q _ { W } ( \\cdot )$ that maps higher precision weights to their $k _ { W }$ -bit reflections, for example, $[ - 0 . 9 , 0 . 1 , 0 . 7 ]$ to $[ - 1 , 0 , 1 ]$ . Although weights are accumulated with high precision like float32, the deployment of the reflections in dedicated hardware are much more memory efficient after training. Activations are quantized with function $Q _ { A } ( \\cdot )$ to $k _ { A }$ bits to align the increased bitwidth caused by MACs. Weights and activations are discretized to even binary values in previous works, then MACs degrade into logical and bit-count operations that are extremely efficient (Rastegari et al., 2016). ",
|
| 243 |
+
"bbox": [
|
| 244 |
+
173,
|
| 245 |
+
208,
|
| 246 |
+
825,
|
| 247 |
+
320
|
| 248 |
+
],
|
| 249 |
+
"page_idx": 2
|
| 250 |
+
},
|
| 251 |
+
{
|
| 252 |
+
"type": "text",
|
| 253 |
+
"text": "For the backward propagation in the $i$ -th layer, the gradients of activations and weights are calculated by the derivatives of MACs that are generally considered to be in 16-bit floating-point precision at least. As illustrated in Figure 1, the MACs between $k _ { A }$ -bit inputs and $k _ { W }$ -bit weights will increase the bitwidth of outputs to $[ k _ { A } + k _ { W } - 1 ]$ in signed integer representation, and the similar broadening happens to errors $e$ as well. In consideration of training with only low-bitwidth integers, we propose additional functions $Q _ { E } ( \\cdot )$ and $Q _ { G } ( \\cdot )$ to constrain bitwidth of $e$ and $\\textbf { { g } }$ to $k _ { E }$ bits and $k _ { G }$ bits, respectively. In general, where there is a MAC operation, there are quantization operators named $Q _ { W } ( \\cdot ) , \\bar { Q _ { A } ( \\cdot ) } , \\bar { Q _ { G } ( \\cdot ) }$ and $Q _ { E } ( \\cdot )$ in inference and backpropagation. ",
|
| 254 |
+
"bbox": [
|
| 255 |
+
173,
|
| 256 |
+
327,
|
| 257 |
+
826,
|
| 258 |
+
439
|
| 259 |
+
],
|
| 260 |
+
"page_idx": 2
|
| 261 |
+
},
|
| 262 |
+
{
|
| 263 |
+
"type": "image",
|
| 264 |
+
"img_path": "images/817241608beb2d22ed2d6644708fd32b8726cbfd6e15f235e1d6beb8e0af7390.jpg",
|
| 265 |
+
"image_caption": [
|
| 266 |
+
"Figure 1: Four operators $Q _ { W } ( \\cdot )$ , $Q _ { A } ( \\cdot )$ , $Q _ { G } ( \\cdot )$ , $Q _ { E } ( \\cdot )$ added in WAGE computation dataflow to reduce precision, bitwidth of signed integers are below or on the right of arrows, activations are included in MAC for concision. "
|
| 267 |
+
],
|
| 268 |
+
"image_footnote": [],
|
| 269 |
+
"bbox": [
|
| 270 |
+
176,
|
| 271 |
+
458,
|
| 272 |
+
821,
|
| 273 |
+
650
|
| 274 |
+
],
|
| 275 |
+
"page_idx": 2
|
| 276 |
+
},
|
| 277 |
+
{
|
| 278 |
+
"type": "text",
|
| 279 |
+
"text": "3.1 SHIFT-BASED LINEAR MAPPING AND STOCHASTIC ROUNDING ",
|
| 280 |
+
"text_level": 1,
|
| 281 |
+
"bbox": [
|
| 282 |
+
174,
|
| 283 |
+
736,
|
| 284 |
+
648,
|
| 285 |
+
751
|
| 286 |
+
],
|
| 287 |
+
"page_idx": 2
|
| 288 |
+
},
|
| 289 |
+
{
|
| 290 |
+
"type": "text",
|
| 291 |
+
"text": "In WAGE quantization, we adopt a linear mapping with $k$ -bit integers for simplicity, where continuous and unbounded values are discretized with uniform distance $\\sigma$ : ",
|
| 292 |
+
"bbox": [
|
| 293 |
+
173,
|
| 294 |
+
762,
|
| 295 |
+
823,
|
| 296 |
+
791
|
| 297 |
+
],
|
| 298 |
+
"page_idx": 2
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"type": "equation",
|
| 302 |
+
"img_path": "images/52e4450db0c76d518b3f9362e5c9324695287d293150c0fc3743a7afb000483b.jpg",
|
| 303 |
+
"text": "$$\n\\sigma ( k ) = 2 ^ { 1 - k } , k \\in \\mathbb { N } _ { + }\n$$",
|
| 304 |
+
"text_format": "latex",
|
| 305 |
+
"bbox": [
|
| 306 |
+
424,
|
| 307 |
+
795,
|
| 308 |
+
573,
|
| 309 |
+
815
|
| 310 |
+
],
|
| 311 |
+
"page_idx": 2
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"type": "text",
|
| 315 |
+
"text": "Then the basic quantization function that converts a floating-point number $x$ to its $k$ -bitwidth signed integer representation can be formulated as: ",
|
| 316 |
+
"bbox": [
|
| 317 |
+
176,
|
| 318 |
+
820,
|
| 319 |
+
826,
|
| 320 |
+
849
|
| 321 |
+
],
|
| 322 |
+
"page_idx": 2
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"type": "equation",
|
| 326 |
+
"img_path": "images/b6dad99583cc722ff4458adf26f4e666167228c59389bb9d28bcac8273efdb0a.jpg",
|
| 327 |
+
"text": "$$\nQ ( x , k ) = C l i p \\left\\{ \\sigma ( k ) \\cdot r o u n d \\left[ \\frac { x } { \\sigma ( k ) } \\right] , - 1 + \\sigma ( k ) , 1 - \\sigma ( k ) \\right\\}\n$$",
|
| 328 |
+
"text_format": "latex",
|
| 329 |
+
"bbox": [
|
| 330 |
+
281,
|
| 331 |
+
854,
|
| 332 |
+
717,
|
| 333 |
+
890
|
| 334 |
+
],
|
| 335 |
+
"page_idx": 2
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"type": "text",
|
| 339 |
+
"text": "where round approximates continuous values to their nearest discrete states. Clip is the saturation function that clips unbounded values to $[ - 1 + \\sigma , 1 - \\sigma ]$ , where the negative maximum value $- 1$ is removed to maintain symmetry. For example, $Q ( x , 2 )$ quantizes $\\{ - 1 , 0 . 2 , 0 . 6 \\}$ to $\\{ - 0 . 5 , 0 , 0 . 5 \\}$ . Equation 3 is merely used for simulation in floating-point hardware like GPU, whereas in a fixedpoint device, quantization and saturation is satisfied automatically. ",
|
| 340 |
+
"bbox": [
|
| 341 |
+
173,
|
| 342 |
+
895,
|
| 343 |
+
823,
|
| 344 |
+
924
|
| 345 |
+
],
|
| 346 |
+
"page_idx": 2
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"type": "text",
|
| 350 |
+
"text": "",
|
| 351 |
+
"bbox": [
|
| 352 |
+
173,
|
| 353 |
+
103,
|
| 354 |
+
823,
|
| 355 |
+
146
|
| 356 |
+
],
|
| 357 |
+
"page_idx": 3
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"type": "text",
|
| 361 |
+
"text": "Before applying linear mapping in some operands (e.g., error), we introduce an additional monolithic scaling factor for shifting values distribution to an appropriate order of magnitude, otherwise values will be all saturated or cleared by Equation 3. The scaling factor is calculated by $S h i f t$ function and then divided in later steps: ",
|
| 362 |
+
"bbox": [
|
| 363 |
+
173,
|
| 364 |
+
152,
|
| 365 |
+
825,
|
| 366 |
+
208
|
| 367 |
+
],
|
| 368 |
+
"page_idx": 3
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"type": "equation",
|
| 372 |
+
"img_path": "images/a9bcb3be87a40368961ad981326b05b0c150fbcfb26e73ec18f7ed1157271616.jpg",
|
| 373 |
+
"text": "$$\nS h i f t ( x ) = 2 ^ { r o u n d ( \\log _ { 2 } x ) }\n$$",
|
| 374 |
+
"text_format": "latex",
|
| 375 |
+
"bbox": [
|
| 376 |
+
410,
|
| 377 |
+
212,
|
| 378 |
+
586,
|
| 379 |
+
229
|
| 380 |
+
],
|
| 381 |
+
"page_idx": 3
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"type": "text",
|
| 385 |
+
"text": "Finally, we propose stochastic rounding to substitute small and real-valued updates for gradient accumulation in training. Section 3.3.4 will detail the implementation of operator $Q _ { G } ( \\cdot )$ , where high bitwidth gradients are constrained to $k _ { G }$ -bit integers stochastically by a 16-bit random number generator. Figure 2 summarizes quantization methods used in WAGE. ",
|
| 386 |
+
"bbox": [
|
| 387 |
+
173,
|
| 388 |
+
232,
|
| 389 |
+
825,
|
| 390 |
+
289
|
| 391 |
+
],
|
| 392 |
+
"page_idx": 3
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"type": "image",
|
| 396 |
+
"img_path": "images/8125076d734879fbe78137103e8555a0f12b097c5c8576071434819e97b020a4.jpg",
|
| 397 |
+
"image_caption": [
|
| 398 |
+
"Figure 2: Quantization methods used in WAGE. The notation $P , \\pmb { x } , \\lfloor \\cdot \\rfloor$ and $\\lceil \\cdot \\rceil$ denotes probability, vector, floor and ceil, respectively. $S h i f t ( \\cdot )$ refers to Equation 4 with a certain argument. "
|
| 399 |
+
],
|
| 400 |
+
"image_footnote": [],
|
| 401 |
+
"bbox": [
|
| 402 |
+
176,
|
| 403 |
+
303,
|
| 404 |
+
815,
|
| 405 |
+
434
|
| 406 |
+
],
|
| 407 |
+
"page_idx": 3
|
| 408 |
+
},
|
| 409 |
+
{
|
| 410 |
+
"type": "text",
|
| 411 |
+
"text": "3.2 WEIGHT INITIALIZATION",
|
| 412 |
+
"text_level": 1,
|
| 413 |
+
"bbox": [
|
| 414 |
+
174,
|
| 415 |
+
508,
|
| 416 |
+
390,
|
| 417 |
+
522
|
| 418 |
+
],
|
| 419 |
+
"page_idx": 3
|
| 420 |
+
},
|
| 421 |
+
{
|
| 422 |
+
"type": "text",
|
| 423 |
+
"text": "In previous works, weights are binarized directly by sgn function or ternarized by threshold parameters calculated during training. However, BNN fails to converge without batch normalization because weight values $\\pm 1$ are rather big for a typical DNN. Batch normalization not only efficiently avoids the problem of exploding and vanishing gradients, but also alleviates the demand for proper initialization. However, normalizing outputs for each layer and computing their gradients are quite complex without floating point unit (FPU). Besides, the moving averages of batch outputs occupy external memory. BNN shows a shift-based variation of batch normalization but it is hard to transform all of the elements to the fixed-point representations. As a result, weights should be cautiously initialized in this work where batch normalization is simplified to a constant scaling layer. A modified initialization method based on MSRA (He et al., 2015) can be formulated as: ",
|
| 424 |
+
"bbox": [
|
| 425 |
+
173,
|
| 426 |
+
534,
|
| 427 |
+
825,
|
| 428 |
+
674
|
| 429 |
+
],
|
| 430 |
+
"page_idx": 3
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"type": "equation",
|
| 434 |
+
"img_path": "images/ab645a64de455a8e86ef3fc2895e2dd6cbcb050c29f55c93f610992455a4ee52.jpg",
|
| 435 |
+
"text": "$$\nW \\sim U ( - L , + L ) , L = m a x \\{ \\sqrt { 6 / n _ { i n } } , L _ { m i n } \\} , L _ { m i n } = \\beta \\sigma\n$$",
|
| 436 |
+
"text_format": "latex",
|
| 437 |
+
"bbox": [
|
| 438 |
+
299,
|
| 439 |
+
675,
|
| 440 |
+
699,
|
| 441 |
+
695
|
| 442 |
+
],
|
| 443 |
+
"page_idx": 3
|
| 444 |
+
},
|
| 445 |
+
{
|
| 446 |
+
"type": "text",
|
| 447 |
+
"text": "where $n _ { i n }$ is the layer fan-in number, and the original limit $\\sqrt { 6 / n _ { i n } }$ in MSRA is calculated to keep same variance between inputs and outputs of the same layer theoretically. The additional limit $L _ { m i n }$ is a minimum value that the uniform distribution $U$ should reach, and $\\beta$ is a constant greater than 1 to create overlaps between minimum step size $\\sigma$ and maximum value $L$ . In case of $k _ { W }$ -bit linear mapping, if weights $W$ are quantized directly with original limits, we will get all-zero tensors when bitwidth $k _ { W }$ is small enough, e.g., 4, or fan-in $n _ { i n }$ is wide enough, where initialized weights may never reach the minimum step $\\sigma$ presented by fixed-point integers. So $L _ { m i n }$ ensures that weights can go beyond $\\sigma$ and quantized to non-zero values after $Q _ { W } ( \\cdot )$ when initialized randomly. ",
|
| 448 |
+
"bbox": [
|
| 449 |
+
173,
|
| 450 |
+
699,
|
| 451 |
+
825,
|
| 452 |
+
811
|
| 453 |
+
],
|
| 454 |
+
"page_idx": 3
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"type": "text",
|
| 458 |
+
"text": "3.3 QUANTIZATION DETAILS ",
|
| 459 |
+
"text_level": 1,
|
| 460 |
+
"bbox": [
|
| 461 |
+
176,
|
| 462 |
+
827,
|
| 463 |
+
388,
|
| 464 |
+
842
|
| 465 |
+
],
|
| 466 |
+
"page_idx": 3
|
| 467 |
+
},
|
| 468 |
+
{
|
| 469 |
+
"type": "text",
|
| 470 |
+
"text": "3.3.1 WEIGHT $Q _ { W } ( \\cdot )$ ",
|
| 471 |
+
"text_level": 1,
|
| 472 |
+
"bbox": [
|
| 473 |
+
176,
|
| 474 |
+
852,
|
| 475 |
+
338,
|
| 476 |
+
868
|
| 477 |
+
],
|
| 478 |
+
"page_idx": 3
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"type": "text",
|
| 482 |
+
"text": "The modified initialization in Equation 5 will amplify weights holistically and guarantee their proper distribution, then $W$ is quantized directly with Equation 3: ",
|
| 483 |
+
"bbox": [
|
| 484 |
+
176,
|
| 485 |
+
877,
|
| 486 |
+
823,
|
| 487 |
+
906
|
| 488 |
+
],
|
| 489 |
+
"page_idx": 3
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"type": "equation",
|
| 493 |
+
"img_path": "images/d29727bbb0c5cbf73330f7c077997de913a4675f04a76766663cc6e2d995ffbc.jpg",
|
| 494 |
+
"text": "$$\n\\boldsymbol { W _ { q } } = \\boldsymbol { Q _ { W } } ( \\boldsymbol { W } ) = \\boldsymbol { Q } ( \\boldsymbol { W } , \\boldsymbol { k _ { W } } )\n$$",
|
| 495 |
+
"text_format": "latex",
|
| 496 |
+
"bbox": [
|
| 497 |
+
393,
|
| 498 |
+
907,
|
| 499 |
+
604,
|
| 500 |
+
926
|
| 501 |
+
],
|
| 502 |
+
"page_idx": 3
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"type": "text",
|
| 506 |
+
"text": "It should be noted that the variance of weights is scaled compared to the original limit, which will cause exploding of network’s outputs. To alleviate the amplification effect, XNOR-Net proposed a filter-wise scaling factor calculated continuously with full precision. In consideration of integer implementation, we introduce a layer-wise shift-based scaling factor $\\alpha$ to attenuate the amplification effect: ",
|
| 507 |
+
"bbox": [
|
| 508 |
+
173,
|
| 509 |
+
103,
|
| 510 |
+
825,
|
| 511 |
+
172
|
| 512 |
+
],
|
| 513 |
+
"page_idx": 4
|
| 514 |
+
},
|
| 515 |
+
{
|
| 516 |
+
"type": "equation",
|
| 517 |
+
"img_path": "images/af388e26d44d5c9e8bc7520882c9bac02b05c526f7d1955e4ed807597bbb0f58.jpg",
|
| 518 |
+
"text": "$$\n\\alpha = m a x \\{ S h i f t ( L _ { m i n } / L ) , 1 \\}\n$$",
|
| 519 |
+
"text_format": "latex",
|
| 520 |
+
"bbox": [
|
| 521 |
+
393,
|
| 522 |
+
174,
|
| 523 |
+
604,
|
| 524 |
+
191
|
| 525 |
+
],
|
| 526 |
+
"page_idx": 4
|
| 527 |
+
},
|
| 528 |
+
{
|
| 529 |
+
"type": "text",
|
| 530 |
+
"text": "where $\\alpha$ is a pre-defined constant for each layer determined by the network structure. The modified initialization and attenuation factor $\\alpha$ together approximates floating-point weights to their integer representations, except that $\\alpha$ takes effect after activations to maintain precision of weights presented by $k _ { W }$ -bit integers. ",
|
| 531 |
+
"bbox": [
|
| 532 |
+
173,
|
| 533 |
+
195,
|
| 534 |
+
825,
|
| 535 |
+
252
|
| 536 |
+
],
|
| 537 |
+
"page_idx": 4
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"type": "text",
|
| 541 |
+
"text": "3.3.2 ACTIVATION $Q _ { A } ( \\cdot )$ ",
|
| 542 |
+
"text_level": 1,
|
| 543 |
+
"bbox": [
|
| 544 |
+
174,
|
| 545 |
+
267,
|
| 546 |
+
361,
|
| 547 |
+
284
|
| 548 |
+
],
|
| 549 |
+
"page_idx": 4
|
| 550 |
+
},
|
| 551 |
+
{
|
| 552 |
+
"type": "text",
|
| 553 |
+
"text": "As stated above, the bitwidth of operands increases after MACs. Then a typical CNN is usually followed with pooling, normalization and activation. Average pooling is avoided because mean operations will increase precision demand. Besides, we hypothesize that batch outputs of each hidden layer approximately have zero-mean, then batch normalization degenerates into to a scaling layer where trainable and batch-calculated scaling parameters are replaced by $\\alpha$ mentioned in Equation 7. If activations are presented in $k _ { A }$ bits, the overall quantization of activations can be formulated as: ",
|
| 554 |
+
"bbox": [
|
| 555 |
+
173,
|
| 556 |
+
292,
|
| 557 |
+
825,
|
| 558 |
+
377
|
| 559 |
+
],
|
| 560 |
+
"page_idx": 4
|
| 561 |
+
},
|
| 562 |
+
{
|
| 563 |
+
"type": "equation",
|
| 564 |
+
"img_path": "images/79b3ebcf90ea5f6f38d23449395977e7ebcca740e465da29fc4ba2bd29df538b.jpg",
|
| 565 |
+
"text": "$$\n\\pmb { a } _ { q } = Q _ { A } ( \\pmb { a } ) = Q ( \\pmb { a } / \\alpha , k _ { A } )\n$$",
|
| 566 |
+
"text_format": "latex",
|
| 567 |
+
"bbox": [
|
| 568 |
+
401,
|
| 569 |
+
385,
|
| 570 |
+
596,
|
| 571 |
+
404
|
| 572 |
+
],
|
| 573 |
+
"page_idx": 4
|
| 574 |
+
},
|
| 575 |
+
{
|
| 576 |
+
"type": "text",
|
| 577 |
+
"text": "3.3.3 ERROR $Q _ { E } ( \\cdot )$ ",
|
| 578 |
+
"text_level": 1,
|
| 579 |
+
"bbox": [
|
| 580 |
+
174,
|
| 581 |
+
417,
|
| 582 |
+
323,
|
| 583 |
+
434
|
| 584 |
+
],
|
| 585 |
+
"page_idx": 4
|
| 586 |
+
},
|
| 587 |
+
{
|
| 588 |
+
"type": "text",
|
| 589 |
+
"text": "Errors $e$ are calculated layer by layer using the chain rule during training. Although the computation graph of backpropagation is similar to the inference, the inputs are the gradients of $\\mathcal { L }$ , which are relatively small compared to actual inputs for networks. More importantly, the errors are unbounded and might have significantly larger ranges than that of activations, e.g., $[ 1 0 ^ { - 9 } , 1 0 ^ { - 4 } ]$ . DoReFa-Net first applies an affine transform on $e$ to map them into $[ - 1 , 1 ]$ , and then inverts the transform after quantization. Thus, the quantized $e$ are still presented as float32 numbers with discrete states and mostly small values. ",
|
| 590 |
+
"bbox": [
|
| 591 |
+
173,
|
| 592 |
+
443,
|
| 593 |
+
825,
|
| 594 |
+
541
|
| 595 |
+
],
|
| 596 |
+
"page_idx": 4
|
| 597 |
+
},
|
| 598 |
+
{
|
| 599 |
+
"type": "text",
|
| 600 |
+
"text": "However, experiments uncover that it is the orientations rather than orders of magnitude in errors that guides previous layers to converge, then the inverse transformation after quantization in DoReFa-Net is no longer needed. The orientation-only preservation prompts us to propagate errors with integer√ √ thoroughly, where error distribution is firstly scaled into $[ - { \\sqrt { 2 } } , + { \\sqrt { 2 } } ]$ by dividing a shift factor as shown in Figure 2 and then quantized by $Q ( e , k _ { E } )$ : ",
|
| 601 |
+
"bbox": [
|
| 602 |
+
173,
|
| 603 |
+
547,
|
| 604 |
+
825,
|
| 605 |
+
619
|
| 606 |
+
],
|
| 607 |
+
"page_idx": 4
|
| 608 |
+
},
|
| 609 |
+
{
|
| 610 |
+
"type": "equation",
|
| 611 |
+
"img_path": "images/989403af45a7243dda4ad9ad747e2b01bcb79998479a74f75b8d6d11e5e3e526.jpg",
|
| 612 |
+
"text": "$$\n\\pmb { e _ { q } } = Q _ { E } ( \\pmb { e } ) = Q ( \\pmb { e } / S h i f t ( m a x \\{ | \\pmb { e } | \\} ) , k _ { E } )\n$$",
|
| 613 |
+
"text_format": "latex",
|
| 614 |
+
"bbox": [
|
| 615 |
+
348,
|
| 616 |
+
627,
|
| 617 |
+
648,
|
| 618 |
+
645
|
| 619 |
+
],
|
| 620 |
+
"page_idx": 4
|
| 621 |
+
},
|
| 622 |
+
{
|
| 623 |
+
"type": "text",
|
| 624 |
+
"text": "where $m a x \\{ | e | \\}$ extracts the layer-wise maximum absolute value among all elements in error $e$ , multi-channel for convolution and multi-sample for batch training. The quantization of error discards large proportion of values smaller than $\\sigma$ , we will discuss the influence on accuracy later. ",
|
| 625 |
+
"bbox": [
|
| 626 |
+
174,
|
| 627 |
+
652,
|
| 628 |
+
826,
|
| 629 |
+
695
|
| 630 |
+
],
|
| 631 |
+
"page_idx": 4
|
| 632 |
+
},
|
| 633 |
+
{
|
| 634 |
+
"type": "text",
|
| 635 |
+
"text": "3.3.4 GRADIENT $Q _ { G } ( \\cdot )$ ",
|
| 636 |
+
"text_level": 1,
|
| 637 |
+
"bbox": [
|
| 638 |
+
176,
|
| 639 |
+
710,
|
| 640 |
+
349,
|
| 641 |
+
727
|
| 642 |
+
],
|
| 643 |
+
"page_idx": 4
|
| 644 |
+
},
|
| 645 |
+
{
|
| 646 |
+
"type": "text",
|
| 647 |
+
"text": "Since we only preserve relative values of error after shifting, the gradient updates $\\textbf { { g } }$ derived from MACs between backward errors $e$ and forward activations $^ { a }$ are shifted consequently. We first rescale gradients $\\textbf { { g } }$ with another scaling factor and then bring in shift-based learning rate $\\eta$ : ",
|
| 648 |
+
"bbox": [
|
| 649 |
+
174,
|
| 650 |
+
737,
|
| 651 |
+
825,
|
| 652 |
+
779
|
| 653 |
+
],
|
| 654 |
+
"page_idx": 4
|
| 655 |
+
},
|
| 656 |
+
{
|
| 657 |
+
"type": "equation",
|
| 658 |
+
"img_path": "images/a6760e11ab34d23ab15c22c8e402ea4f51adb870812275a98a93fa4912f840a0.jpg",
|
| 659 |
+
"text": "$$\ng _ { s } = \\eta \\cdot g / S h i f t ( m a x \\{ | g | \\} )\n$$",
|
| 660 |
+
"text_format": "latex",
|
| 661 |
+
"bbox": [
|
| 662 |
+
398,
|
| 663 |
+
786,
|
| 664 |
+
599,
|
| 665 |
+
804
|
| 666 |
+
],
|
| 667 |
+
"page_idx": 4
|
| 668 |
+
},
|
| 669 |
+
{
|
| 670 |
+
"type": "text",
|
| 671 |
+
"text": "where $\\eta$ is an integer power of 2. The shifted gradients $\\mathbf { \\nabla } _ { \\mathbf { { \\boldsymbol { g } } } _ { s } }$ represent for minimum step numbers and directions for updating weights. If weights are stored with $k _ { G }$ -bit numbers, the minimum step of modification will be $\\pm 1$ for integers and $\\pm \\sigma ( k _ { G } )$ for floating-point values, respectively. The implement of learning rate $\\eta$ here is quite different from that in a vanilla DNN based on float32. In WAGE, there only remain directions for weights to change and the step sizes are integer multiples of minimum step $\\sigma$ . Shifted gradients $\\mathbf { \\nabla } _ { \\mathbf { { \\boldsymbol { g } } } _ { s } }$ may get greater than 1 if $\\eta$ is 2 or bigger to accelerate training at the beginning, or smaller than 0.5 during latter half of training when learning rate decay is usually applied. As illustrated in Figure 2, to substitute accumulation of small gradients in latter case, we separate $\\mathbf { \\nabla } _ { \\mathbf { { \\boldsymbol { g } } } _ { s } }$ into integer parts and decimal parts, then use a 16-bit random number generator to constrain high bitwidth $\\mathbf { \\nabla } _ { \\mathbf { { \\boldsymbol { g } } } _ { s } }$ to $k _ { G }$ -bit integers stochastically: ",
|
| 672 |
+
"bbox": [
|
| 673 |
+
173,
|
| 674 |
+
811,
|
| 675 |
+
825,
|
| 676 |
+
924
|
| 677 |
+
],
|
| 678 |
+
"page_idx": 4
|
| 679 |
+
},
|
| 680 |
+
{
|
| 681 |
+
"type": "text",
|
| 682 |
+
"text": "",
|
| 683 |
+
"bbox": [
|
| 684 |
+
171,
|
| 685 |
+
103,
|
| 686 |
+
823,
|
| 687 |
+
132
|
| 688 |
+
],
|
| 689 |
+
"page_idx": 5
|
| 690 |
+
},
|
| 691 |
+
{
|
| 692 |
+
"type": "equation",
|
| 693 |
+
"img_path": "images/ddf6aaf699c977944e2de35f4afc6962e05e081863d9c7c3628c43ec957459a9.jpg",
|
| 694 |
+
"text": "$$\n\\Delta W = Q _ { G } ( g ) = \\sigma ( k _ { G } ) \\cdot s g n ( g _ { s } ) \\cdot \\Big \\{ \\lfloor | g _ { s } | \\rfloor + B e r n o u l l i ( | g _ { s } | - \\lfloor | g _ { s } | \\rfloor ) \\Big \\}\n$$",
|
| 695 |
+
"text_format": "latex",
|
| 696 |
+
"bbox": [
|
| 697 |
+
241,
|
| 698 |
+
138,
|
| 699 |
+
756,
|
| 700 |
+
165
|
| 701 |
+
],
|
| 702 |
+
"page_idx": 5
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"type": "text",
|
| 706 |
+
"text": "where Bernoulli (Zhou et al., 2016) stochastically samples decimal parts to either 0 or 1. With proper setting of $k _ { G }$ , quantization of gradients will restrict the minimum step size, which may avoid local minimum and overfitting. Furthermore, the gradients will be ternary values when $\\eta$ is not greater than 1, which reduces communication costs for distributed training (Wen et al., 2017). At last, weights $W$ might exceed the range $[ - 1 + \\sigma , 1 - \\sigma ]$ presented by $k _ { G }$ -bit integers after updating with discrete increments $\\Delta \\mathbf { W }$ . So $C l i p$ function is indispensable to saturate and make sure there are only $2 ^ { k _ { G } - 1 } - 1$ states for weights accumulation. In case of the $t$ -th iteration, we have: ",
|
| 707 |
+
"bbox": [
|
| 708 |
+
174,
|
| 709 |
+
170,
|
| 710 |
+
825,
|
| 711 |
+
268
|
| 712 |
+
],
|
| 713 |
+
"page_idx": 5
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"type": "equation",
|
| 717 |
+
"img_path": "images/bafd3b7540e6cc124866c416ff2daf33d631b4032f9d3594e094c650b281ae98.jpg",
|
| 718 |
+
"text": "$$\nW _ { t + 1 } = C l i p \\left\\{ { \\cal W } _ { t } - \\Delta { \\cal W } _ { t } , - 1 + \\sigma ( k _ { G } ) , 1 - \\sigma ( k _ { G } ) \\right\\}\n$$",
|
| 719 |
+
"text_format": "latex",
|
| 720 |
+
"bbox": [
|
| 721 |
+
316,
|
| 722 |
+
275,
|
| 723 |
+
681,
|
| 724 |
+
292
|
| 725 |
+
],
|
| 726 |
+
"page_idx": 5
|
| 727 |
+
},
|
| 728 |
+
{
|
| 729 |
+
"type": "text",
|
| 730 |
+
"text": "3.4 MISCELLANEOUS ",
|
| 731 |
+
"text_level": 1,
|
| 732 |
+
"bbox": [
|
| 733 |
+
174,
|
| 734 |
+
308,
|
| 735 |
+
336,
|
| 736 |
+
321
|
| 737 |
+
],
|
| 738 |
+
"page_idx": 5
|
| 739 |
+
},
|
| 740 |
+
{
|
| 741 |
+
"type": "text",
|
| 742 |
+
"text": "From the above, we have illustrated our quantization methods for weights, activations, gradients and errors. See Algorithm 1 for the detailed computation graph. There remain some issues to specify in an overall training process with only integers. ",
|
| 743 |
+
"bbox": [
|
| 744 |
+
174,
|
| 745 |
+
333,
|
| 746 |
+
823,
|
| 747 |
+
376
|
| 748 |
+
],
|
| 749 |
+
"page_idx": 5
|
| 750 |
+
},
|
| 751 |
+
{
|
| 752 |
+
"type": "text",
|
| 753 |
+
"text": "Gradient descent optimizer like Momentum, RMSProp and Adam contains at least one copy of gradient updates $\\Delta \\mathbf { W }$ or their moving average, doubling memory consumption for weights during training, which is partially equivalent to use bigger $k _ { G }$ . Since the weight updates $\\Delta \\mathbf { W }$ are quantized to integer multiple of $\\sigma$ and scaled by $\\eta$ , we adopt pure mini-batch SGD without any form of momentum or adaptive learning rate to show the potential of reducing storage demands. ",
|
| 754 |
+
"bbox": [
|
| 755 |
+
174,
|
| 756 |
+
382,
|
| 757 |
+
825,
|
| 758 |
+
453
|
| 759 |
+
],
|
| 760 |
+
"page_idx": 5
|
| 761 |
+
},
|
| 762 |
+
{
|
| 763 |
+
"type": "text",
|
| 764 |
+
"text": "Although L2 regularization works quite well for many large-scale DNNs where overfitting occurs commonly, WAGE removes small values in Equation 3 and introduces randomness in Equation 11, acting as certain types of regularization and can get comparable accuracy in later experiments. Thus, we remain L2 weight decay and dropout as supplementary regularization methods. ",
|
| 765 |
+
"bbox": [
|
| 766 |
+
174,
|
| 767 |
+
459,
|
| 768 |
+
823,
|
| 769 |
+
516
|
| 770 |
+
],
|
| 771 |
+
"page_idx": 5
|
| 772 |
+
},
|
| 773 |
+
{
|
| 774 |
+
"type": "text",
|
| 775 |
+
"text": "The Softmax layer and cross-entropy criterion are widely adopted in classification tasks but the calculation of $e ^ { x }$ can hardly be applied in low-bitwidth linear mapping occasions. For tasks with small number of categories, we avoid Softmax layer and apply mean-square-error criterion but omit mean operation to form a sum-square-error (SSE) criterion since shifted errors will get the same values in Equation 9. ",
|
| 776 |
+
"bbox": [
|
| 777 |
+
174,
|
| 778 |
+
522,
|
| 779 |
+
825,
|
| 780 |
+
592
|
| 781 |
+
],
|
| 782 |
+
"page_idx": 5
|
| 783 |
+
},
|
| 784 |
+
{
|
| 785 |
+
"type": "text",
|
| 786 |
+
"text": "4 EXPERIMENTS ",
|
| 787 |
+
"text_level": 1,
|
| 788 |
+
"bbox": [
|
| 789 |
+
176,
|
| 790 |
+
613,
|
| 791 |
+
326,
|
| 792 |
+
628
|
| 793 |
+
],
|
| 794 |
+
"page_idx": 5
|
| 795 |
+
},
|
| 796 |
+
{
|
| 797 |
+
"type": "text",
|
| 798 |
+
"text": "In this section, we set W-A-G-E bits to 2-8-8-8 as default for all layers in a CNN or MLP. The bitwidth $k _ { W }$ is 2 for ternary weights, which implies that there are no multiplications during inference. Constant parameter $\\beta$ is 1.5 to make equal probabilities for ternary weights when initialized randomly. Activations and errors should be of the same bitwidth since computation graph of backpropagation is similar to inference and might be applied in the same partition of hardware or memristor array (Sheridan et al., 2017). Although XNOR-Net achieves 1-bit activations, reducing errors to 4 or less bits dramatically degenerates accuracies in our tests, so the bitwidth $k _ { A }$ and $k _ { E }$ are increased to 8 simultaneously. Weights are stored with 8-bit integers during training and ternarized by two constant symmetrical thresholds during inference. We first build the computation graph for a vanilla network, then insert quantization nodes in forward propagation and override gradients in backward propagation for each layer on Tensorflow (Abadi et al., 2016). Our method is evaluated on MNIST, SVHN, CIFAR10 and ILSVRC12 (Russakovsky et al., 2015) and Table 1 shows the comparison results. ",
|
| 799 |
+
"bbox": [
|
| 800 |
+
174,
|
| 801 |
+
643,
|
| 802 |
+
825,
|
| 803 |
+
824
|
| 804 |
+
],
|
| 805 |
+
"page_idx": 5
|
| 806 |
+
},
|
| 807 |
+
{
|
| 808 |
+
"type": "text",
|
| 809 |
+
"text": "4.1 IMPLEMENT DETAILS ",
|
| 810 |
+
"text_level": 1,
|
| 811 |
+
"bbox": [
|
| 812 |
+
176,
|
| 813 |
+
842,
|
| 814 |
+
364,
|
| 815 |
+
856
|
| 816 |
+
],
|
| 817 |
+
"page_idx": 5
|
| 818 |
+
},
|
| 819 |
+
{
|
| 820 |
+
"type": "text",
|
| 821 |
+
"text": "MNIST: A variation of LeNet-5 (LeCun et al., 1998) with 32C5-MP2-64C5-MP2-512FC-10SSE is adopted. The input grayscale images are regarded as activations and quantized by Equation 8 where $\\alpha$ equals to 1. The learning rate $\\eta$ in WAGE remains as 1 for the whole 100 epochs. We report average accuracy of 10 runs on the test set. ",
|
| 822 |
+
"bbox": [
|
| 823 |
+
174,
|
| 824 |
+
867,
|
| 825 |
+
823,
|
| 826 |
+
922
|
| 827 |
+
],
|
| 828 |
+
"page_idx": 5
|
| 829 |
+
},
|
| 830 |
+
{
|
| 831 |
+
"type": "text",
|
| 832 |
+
"text": "SVHN & CIFAR10: We use a VGG-like network (Simonyan & Zisserman, 2014) with $2 \\times ( 1 2 8 { \\bf C } 3 )$ - $\\mathbf { M P } 2 . 2 \\times ( 2 5 6 \\mathbf { C } 3 ) \\mathbf { - M P } 2 . 2 \\times ( 5 1 2 \\mathbf { C } 3 ) .$ -MP2-1024FC-10SSE. For CIFAR10 dataset, we follow the data augmentation in Lee et al. (2015) for training: 4 pixels are padded on each side, and a $3 2 \\times 3 2$ patch is randomly cropped from the padded image or its horizontal flip. For testing, only single view of the original $3 2 \\times 3 2$ image is evaluated. The model is trained with mini-batch size of 128 and totally 300 epochs. Learning rate $\\eta$ is set to 8 and divided by 8 at epoch 200 and epoch 250. The original images are scaled and biased to the range of $[ - 1 , + 1 ]$ for 8-bit integer activation representation. As for SVHN dataset, we leave out randomly flip augmentation and reduce training epochs to 40 since it is a rather big dataset. The error rate is evaluated in the same way as MNIST. ",
|
| 833 |
+
"bbox": [
|
| 834 |
+
173,
|
| 835 |
+
103,
|
| 836 |
+
825,
|
| 837 |
+
229
|
| 838 |
+
],
|
| 839 |
+
"page_idx": 6
|
| 840 |
+
},
|
| 841 |
+
{
|
| 842 |
+
"type": "text",
|
| 843 |
+
"text": "ImageNet: WAGE framework is evaluated on ILSVRC12 dataset with AlexNet (Krizhevsky et al., 2012) model but removes dropout and local response normalization layers. Images are firstly resized to $2 5 6 \\times 2 5 6$ then randomly cropped to $2 2 4 \\times 2 2 4$ and horizontally flipped, followed by bias subtraction as CIFAR10. For testing, the single center crop in validation set is evaluated. Since ImageNet task is much difficult than CIFAR10 and has 1000 categories, it is hard to converge when applying SSE or hinge loss criterion in WAGE, so we add Softmax and remove quantizations in the last layer for fear of severe accuracy drop (Tang et al., 2017). The model is trained with mini-batch size of 256 and totally 70 epochs. Learning rate $\\eta$ is set to 4 and divided by 8 at epoch 60 and epoch 65. ",
|
| 844 |
+
"bbox": [
|
| 845 |
+
173,
|
| 846 |
+
236,
|
| 847 |
+
825,
|
| 848 |
+
348
|
| 849 |
+
],
|
| 850 |
+
"page_idx": 6
|
| 851 |
+
},
|
| 852 |
+
{
|
| 853 |
+
"type": "table",
|
| 854 |
+
"img_path": "images/ff6d53cdabfd701becfc22b066472d69515744f47750f0b6b747608fee706dc9.jpg",
|
| 855 |
+
"table_caption": [
|
| 856 |
+
"Table 1: Test or validation error rates $( \\% )$ in previous works and WAGE on multiple datasets. Opt denotes gradient descent optimizer and withM means SGD with momentum, BN represents for batch normalization and 32 bits refers to float32, ImageNet top- $\\mathbf { \\nabla } \\cdot \\mathbf { k }$ format: top1/top5. "
|
| 857 |
+
],
|
| 858 |
+
"table_footnote": [],
|
| 859 |
+
"table_body": "<table><tr><td>Method</td><td>kw</td><td>kA</td><td>kG</td><td>kE</td><td>Opt</td><td>BN</td><td>MNIST</td><td>SVHN</td><td>CIFAR10</td><td>ImageNet</td></tr><tr><td>BC</td><td>1</td><td>32</td><td>32</td><td>32</td><td>Adam</td><td>V</td><td>1.29</td><td>2.30</td><td>9.90</td><td>1</td></tr><tr><td>BNN</td><td>1</td><td>1</td><td>32</td><td>32</td><td>Adam</td><td>√</td><td>0.96</td><td>2.53</td><td>10.15</td><td>1</td></tr><tr><td>BWN1</td><td>1</td><td>32</td><td>32</td><td>32</td><td>withM</td><td>√</td><td>1</td><td>1</td><td>1</td><td>43.2/20.6</td></tr><tr><td>XNOR</td><td>1</td><td>1</td><td>32</td><td>32</td><td>Adam</td><td>√</td><td>-</td><td>1</td><td>1</td><td>55.8/30.8</td></tr><tr><td>TWN</td><td>2</td><td>32</td><td>32</td><td>32</td><td>withM</td><td>√</td><td>0.65</td><td>-</td><td>7.44</td><td>34.7/13.8</td></tr><tr><td>TTQ</td><td>2</td><td>32</td><td>32</td><td>32</td><td>Adam</td><td>√</td><td>-</td><td>1</td><td>6.44</td><td>42.5/20.3</td></tr><tr><td>DoReFa²</td><td>8</td><td>8</td><td>32</td><td>8</td><td>Adam</td><td>√</td><td>1</td><td>2.30</td><td>-</td><td>47.0/-</td></tr><tr><td>TernGrad3</td><td>32</td><td>32</td><td>2</td><td>32</td><td>Adam</td><td>√</td><td>1</td><td>1</td><td>14.36</td><td>42.4/19.5</td></tr><tr><td>WAGE</td><td>2</td><td>8</td><td>8</td><td>8</td><td>SGD</td><td>×</td><td>0.40</td><td>1.92</td><td>6.78</td><td>51.6/27.8</td></tr></table>",
|
| 860 |
+
"bbox": [
|
| 861 |
+
176,
|
| 862 |
+
424,
|
| 863 |
+
823,
|
| 864 |
+
609
|
| 865 |
+
],
|
| 866 |
+
"page_idx": 6
|
| 867 |
+
},
|
| 868 |
+
{
|
| 869 |
+
"type": "text",
|
| 870 |
+
"text": "4.2 TRAINING CURVES AND REGULARIZATION ",
|
| 871 |
+
"text_level": 1,
|
| 872 |
+
"bbox": [
|
| 873 |
+
174,
|
| 874 |
+
652,
|
| 875 |
+
513,
|
| 876 |
+
666
|
| 877 |
+
],
|
| 878 |
+
"page_idx": 6
|
| 879 |
+
},
|
| 880 |
+
{
|
| 881 |
+
"type": "text",
|
| 882 |
+
"text": "We further compare WAGE variations and a vanilla CNN on CIFAR10. The vanilla CNN has the same VGG-like architecture described above except that none quantization of any operand or operation is applied. We add batch normalization in each layer and Softmax for the last layer, replace SSE with cross-entropy criterion, and then use a L2 weight decay of 1e-4 and momentum of 0.9 for training. The learning rate is set to 0.1 and divided by 10 at epoch 200 and epoch 250. For variations of WAGE, pattern 28ff has no quantization nodes in backpropagation. Although the 28ff pattern has the same optimizer and learning rate annealing method as the vanilla pattern, we find that weight updates are decreased by the rescale factor $\\alpha$ in Equation 7. Therefore, the learning rate for $2 8 \\mathrm { f f }$ is amplified and tuned, which reduces the error rate by $3 \\%$ . Figure 3 shows the training curves of three counterparts. It can be seen that the 2888 pattern has comparable convergence rate to the vanilla CNN, better accuracy than those who only discretize weights and activations in inference time, though slightly more volatile. The discretization of backpropagation somehow acts as another type of regularization and have significant error rate drop when decreasing learning rate $\\eta$ . ",
|
| 883 |
+
"bbox": [
|
| 884 |
+
174,
|
| 885 |
+
680,
|
| 886 |
+
825,
|
| 887 |
+
861
|
| 888 |
+
],
|
| 889 |
+
"page_idx": 6
|
| 890 |
+
},
|
| 891 |
+
{
|
| 892 |
+
"type": "image",
|
| 893 |
+
"img_path": "images/4a436c0768c09e887e192b39a7ea39f460e8366485af64c63c70957efd0b1595.jpg",
|
| 894 |
+
"image_caption": [
|
| 895 |
+
"Figure 3: Training curves of WAGE variations and a vanilla CNN on CIFAR10. "
|
| 896 |
+
],
|
| 897 |
+
"image_footnote": [],
|
| 898 |
+
"bbox": [
|
| 899 |
+
174,
|
| 900 |
+
102,
|
| 901 |
+
821,
|
| 902 |
+
287
|
| 903 |
+
],
|
| 904 |
+
"page_idx": 7
|
| 905 |
+
},
|
| 906 |
+
{
|
| 907 |
+
"type": "text",
|
| 908 |
+
"text": "4.3 BITWIDTH OF ERRORS",
|
| 909 |
+
"text_level": 1,
|
| 910 |
+
"bbox": [
|
| 911 |
+
174,
|
| 912 |
+
349,
|
| 913 |
+
370,
|
| 914 |
+
364
|
| 915 |
+
],
|
| 916 |
+
"page_idx": 7
|
| 917 |
+
},
|
| 918 |
+
{
|
| 919 |
+
"type": "text",
|
| 920 |
+
"text": "The bitwidth $k _ { E }$ is set to 8 as default in previous experiments. To further explore a proper bitwidth and its truncated boundary, we firstly export errors from vanilla CNN for CIFAR10 after 100 training epochs. The histogram of errors in the last convolution layer among 128 mini-batch data is shown in Figure 4. It is obvious that errors approximately obey logarithmic normal distribution where values are relatively small and have significantly large range. When quantized with $k _ { E }$ -bit integers, a proper window function should be chosen to truncate the distribution while retaining the approximate orientations for backpropagation. For more details about the layerwise histograms of all W, A, G, E operands, see Figure 5. ",
|
| 921 |
+
"bbox": [
|
| 922 |
+
173,
|
| 923 |
+
376,
|
| 924 |
+
825,
|
| 925 |
+
488
|
| 926 |
+
],
|
| 927 |
+
"page_idx": 7
|
| 928 |
+
},
|
| 929 |
+
{
|
| 930 |
+
"type": "text",
|
| 931 |
+
"text": "Firstly, the upper (right) boundary is immobilized to the maximum absolute value among all elements in errors as described in Equation 9. Then the left boundary will be based on the bitwidth $k _ { E }$ . We conduct a series of experiments for $k _ { E }$ ranging from 4 to 15. The boxplot in Figure 4 indicates that 4-8 bits of errors represented by integers are enough for CIFAR10 classification task. Bitwidth 8 is chosen as default to match the 8-bit image color levels and most operands in the micro control unit (MCU). The histogram of errors in the same layer of WAGE-2888 shows that after being shifted and quantized layer by layer, the distribution of errors reshapes and mostly aggregates into truncated window. Thus, most information for orientations is retained. Besides, the smaller values in errors have negligible effects on previous orientations though accumulated layer by layer, which are partially discarded in quantization. ",
|
| 932 |
+
"bbox": [
|
| 933 |
+
173,
|
| 934 |
+
494,
|
| 935 |
+
825,
|
| 936 |
+
633
|
| 937 |
+
],
|
| 938 |
+
"page_idx": 7
|
| 939 |
+
},
|
| 940 |
+
{
|
| 941 |
+
"type": "text",
|
| 942 |
+
"text": "Since the width of the window has been optimized, we left-shift the window with factor $\\gamma$ to explore its horizontal position. The right boundary can be formulated as $m a x \\{ | e | \\} / \\gamma$ . Table 2 shows the effect of shifting errors: although large values are in the minority, they play critical roles for backpropagation training while the majority with small values actually act as noises. ",
|
| 943 |
+
"bbox": [
|
| 944 |
+
174,
|
| 945 |
+
641,
|
| 946 |
+
825,
|
| 947 |
+
696
|
| 948 |
+
],
|
| 949 |
+
"page_idx": 7
|
| 950 |
+
},
|
| 951 |
+
{
|
| 952 |
+
"type": "table",
|
| 953 |
+
"img_path": "images/63d633a8f70184e5e4c8b5e939242461580d275c708695a19924f9d1c1a2f33f.jpg",
|
| 954 |
+
"table_caption": [
|
| 955 |
+
"Table 2: Test error rates $( \\% )$ on CIFAR10 when left-shift upper boundary with factor $\\gamma$ "
|
| 956 |
+
],
|
| 957 |
+
"table_footnote": [],
|
| 958 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>2</td><td rowspan=1 colspan=1>1</td><td rowspan=1 colspan=1>2</td><td rowspan=1 colspan=1>4</td><td rowspan=1 colspan=1>8</td></tr><tr><td rowspan=1 colspan=1>error</td><td rowspan=1 colspan=1>6.78</td><td rowspan=1 colspan=1>7.31</td><td rowspan=1 colspan=1>8.08</td><td rowspan=1 colspan=1>16.92</td></tr></table>",
|
| 959 |
+
"bbox": [
|
| 960 |
+
370,
|
| 961 |
+
743,
|
| 962 |
+
627,
|
| 963 |
+
780
|
| 964 |
+
],
|
| 965 |
+
"page_idx": 7
|
| 966 |
+
},
|
| 967 |
+
{
|
| 968 |
+
"type": "text",
|
| 969 |
+
"text": "4.4 BITWIDTH OF GRADIENTS",
|
| 970 |
+
"text_level": 1,
|
| 971 |
+
"bbox": [
|
| 972 |
+
176,
|
| 973 |
+
813,
|
| 974 |
+
398,
|
| 975 |
+
828
|
| 976 |
+
],
|
| 977 |
+
"page_idx": 7
|
| 978 |
+
},
|
| 979 |
+
{
|
| 980 |
+
"type": "text",
|
| 981 |
+
"text": "The bitwidth $k _ { G }$ is set to 8 as default in previous experiments. Although weights are propagated with ternary values in inference and achieve $1 6 \\times$ compression rate than float32 weights, they are saved and accumulated in a relatively higher bitwidth (8 bits) for backpropagation training. Therefore, the overall compression rate is only $4 \\times$ . The inconsistent bitwidth between weight updates $k _ { G }$ and their effects in inference $k _ { W }$ provides indispensable buffer space. Otherwise, there might be too many weights changing their ternary values in each iteration, making training very slow and unstable. To further explore a proper bitwidth for gradients, we use WAGE 2-8-8-8 in CIFAR10 as baseline and range $k _ { G }$ from 2 to 12, the learning rate $\\eta$ is divided by 2 every time the $k _ { G }$ decreases 1 bit to keep approximately equal weights accumulation in large number of iterations. Results from Table 3 show the effect of $k _ { G }$ and indicate the similar bitwidth requirement as previous experiments for $k _ { E }$ . ",
|
| 982 |
+
"bbox": [
|
| 983 |
+
173,
|
| 984 |
+
839,
|
| 985 |
+
825,
|
| 986 |
+
924
|
| 987 |
+
],
|
| 988 |
+
"page_idx": 7
|
| 989 |
+
},
|
| 990 |
+
{
|
| 991 |
+
"type": "image",
|
| 992 |
+
"img_path": "images/6656974d908cf6666067d8870d249173758fdec06426277d8625030220173579.jpg",
|
| 993 |
+
"image_caption": [
|
| 994 |
+
"Figure 4: Left are histograms of errors $e$ for same layer in vanilla network and WAGE-2888 network. Upper boundaries are the $m a x \\{ | e | \\}$ while lower boundaries are determined by the bitwidth $k _ { E }$ . The 10 run accuracies of different $k _ { E }$ are shown on the right. "
|
| 995 |
+
],
|
| 996 |
+
"image_footnote": [],
|
| 997 |
+
"bbox": [
|
| 998 |
+
173,
|
| 999 |
+
104,
|
| 1000 |
+
815,
|
| 1001 |
+
349
|
| 1002 |
+
],
|
| 1003 |
+
"page_idx": 8
|
| 1004 |
+
},
|
| 1005 |
+
{
|
| 1006 |
+
"type": "text",
|
| 1007 |
+
"text": "",
|
| 1008 |
+
"bbox": [
|
| 1009 |
+
174,
|
| 1010 |
+
458,
|
| 1011 |
+
825,
|
| 1012 |
+
515
|
| 1013 |
+
],
|
| 1014 |
+
"page_idx": 8
|
| 1015 |
+
},
|
| 1016 |
+
{
|
| 1017 |
+
"type": "table",
|
| 1018 |
+
"img_path": "images/d644021159411c3a7902c6a98feaabc9a59d6c1e874997743d932543e72a5d38.jpg",
|
| 1019 |
+
"table_caption": [
|
| 1020 |
+
"Table 3: Test error rates $( \\% )$ on CIFAR10 with different $k _ { G }$ "
|
| 1021 |
+
],
|
| 1022 |
+
"table_footnote": [],
|
| 1023 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>kG</td><td rowspan=1 colspan=1>2</td><td rowspan=1 colspan=1>3</td><td rowspan=1 colspan=1>4</td><td rowspan=1 colspan=1>5</td><td rowspan=1 colspan=1>6</td><td rowspan=1 colspan=1>7</td><td rowspan=1 colspan=1>8</td><td rowspan=1 colspan=1>9</td><td rowspan=1 colspan=1>10</td><td rowspan=1 colspan=1>11</td><td rowspan=1 colspan=1>12</td></tr><tr><td rowspan=1 colspan=1>error</td><td rowspan=1 colspan=1>54.22</td><td rowspan=1 colspan=1>51.57</td><td rowspan=1 colspan=1>28.22</td><td rowspan=1 colspan=1>18.01</td><td rowspan=1 colspan=1>11.48</td><td rowspan=1 colspan=1>7.61</td><td rowspan=1 colspan=1>6.78</td><td rowspan=1 colspan=1>6.63</td><td rowspan=1 colspan=1>6.43</td><td rowspan=1 colspan=1>6.55</td><td rowspan=1 colspan=1>6.57</td></tr></table>",
|
| 1024 |
+
"bbox": [
|
| 1025 |
+
184,
|
| 1026 |
+
577,
|
| 1027 |
+
815,
|
| 1028 |
+
614
|
| 1029 |
+
],
|
| 1030 |
+
"page_idx": 8
|
| 1031 |
+
},
|
| 1032 |
+
{
|
| 1033 |
+
"type": "text",
|
| 1034 |
+
"text": "For ImageNet implementation, we conduct six patterns to show bitwidth requirements: 2888 from Table 1, 288C for more accurate errors (12 bits), 28C8 for larger buffer space, 28f8 for none quantization of gradients, 28ff for errors and gradients in float32 as unlimited case and its BN counterpart. The accuracy of original AlexNet reproduction is reported as baseline. Learning rate $\\eta$ is set to 64 and divided by 8 in 28C8 pattern, 0.01 and divided by 10 in 28f8, 28ff counterparts and vanilla AlexNet. We observe overfitting when increasing $k _ { G }$ thus add L2 weight decay of 1e-4, 1e-4 and 5e-4 for 28f8, 28ff and 28ff-BN patterns, respectively. In table 4, the comparison between pattern 28C8 and 288C reveals that it might be more important to make more buffer space $k _ { G }$ for gradient accumulation than to keep high-resolution orientation $k _ { E }$ . Besides, when it comes to ImageNet dataset, the gradient accumulation, i.e., the bit width of gradients $( k _ { G } )$ and batch normalization become more important (Li et al., 2017) since samples in training set are so variant. ",
|
| 1035 |
+
"bbox": [
|
| 1036 |
+
173,
|
| 1037 |
+
652,
|
| 1038 |
+
825,
|
| 1039 |
+
805
|
| 1040 |
+
],
|
| 1041 |
+
"page_idx": 8
|
| 1042 |
+
},
|
| 1043 |
+
{
|
| 1044 |
+
"type": "text",
|
| 1045 |
+
"text": "To avoid external memory consumption of full-precision weights during training, Deng et al. (2018) achieved 1-bit weights representation in both training and inference. They use a much larger minibatch size of 1000 and float32 backpropagation dataflow to accumulate more precise weight updates, equally compensating the buffer space in WAGE provided by external bits of $k _ { G }$ . However, large batch size will dramatically increase total training time, counteracting the speed benefits brought by integer arithmetic units. Besides, intermediate variables like feature maps often consume much more memory than weights and linearly correlated with mini-batch size. Therefore, we apply bigger $k _ { G }$ for better convergence rate, accuracy and lower memory usage. ",
|
| 1046 |
+
"bbox": [
|
| 1047 |
+
174,
|
| 1048 |
+
811,
|
| 1049 |
+
825,
|
| 1050 |
+
924
|
| 1051 |
+
],
|
| 1052 |
+
"page_idx": 8
|
| 1053 |
+
},
|
| 1054 |
+
{
|
| 1055 |
+
"type": "table",
|
| 1056 |
+
"img_path": "images/0f764fd3a049484afdcc1adf780762091f36c805741b82f6ea13f33bab2836ad.jpg",
|
| 1057 |
+
"table_caption": [
|
| 1058 |
+
"Table 4: Top-5 error rates $( \\% )$ on ImageNet with different $k _ { G }$ and $k _ { E }$ "
|
| 1059 |
+
],
|
| 1060 |
+
"table_footnote": [],
|
| 1061 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Pattern</td><td rowspan=1 colspan=1>Vanilla</td><td rowspan=1 colspan=1>28ff-BN</td><td rowspan=1 colspan=1>28ff</td><td rowspan=1 colspan=1>28f8</td><td rowspan=1 colspan=1>28C8</td><td rowspan=1 colspan=1>288C</td><td rowspan=1 colspan=1>2888</td></tr><tr><td rowspan=1 colspan=1>error</td><td rowspan=1 colspan=1>19.29</td><td rowspan=1 colspan=1>20.67</td><td rowspan=1 colspan=1>24.14</td><td rowspan=1 colspan=1>23.92</td><td rowspan=1 colspan=1>26.88</td><td rowspan=1 colspan=1>28.06</td><td rowspan=1 colspan=1>27.82</td></tr></table>",
|
| 1062 |
+
"bbox": [
|
| 1063 |
+
250,
|
| 1064 |
+
132,
|
| 1065 |
+
745,
|
| 1066 |
+
170
|
| 1067 |
+
],
|
| 1068 |
+
"page_idx": 9
|
| 1069 |
+
},
|
| 1070 |
+
{
|
| 1071 |
+
"type": "text",
|
| 1072 |
+
"text": "5 DISCUSSION AND FUTURE WORK ",
|
| 1073 |
+
"text_level": 1,
|
| 1074 |
+
"bbox": [
|
| 1075 |
+
176,
|
| 1076 |
+
196,
|
| 1077 |
+
485,
|
| 1078 |
+
214
|
| 1079 |
+
],
|
| 1080 |
+
"page_idx": 9
|
| 1081 |
+
},
|
| 1082 |
+
{
|
| 1083 |
+
"type": "text",
|
| 1084 |
+
"text": "The goal of this work is to demonstrate potentials of applying training and inference with lowbitwidth integers in DNNs. Compared with FP16, 8-bit integer operations will not only reduce the energy and area costs for IC design (about $5 \\times$ , see Table 5), but also halve the memory accesses costs and memory size requirements during training, which will greatly benefit mobile devices with on-site learning capability. There are some points not involved in this work but yet to be improved or solved in future algorithm developments and hardware deployment. ",
|
| 1085 |
+
"bbox": [
|
| 1086 |
+
173,
|
| 1087 |
+
228,
|
| 1088 |
+
825,
|
| 1089 |
+
313
|
| 1090 |
+
],
|
| 1091 |
+
"page_idx": 9
|
| 1092 |
+
},
|
| 1093 |
+
{
|
| 1094 |
+
"type": "text",
|
| 1095 |
+
"text": "MAC Operation: WAGE framework is mainly tested with 2-8-8-8 bitwidth configuration, which means that though there are no multiplications during inference with ternary weights, MACs are still needed to calculate $\\textbf { { g } }$ in training. Possible solution is 2-2-8-8 pattern if we do not consider the matching of bitwidths between $\\textbf { \\em a }$ and $e$ . However, ternary $\\textbf { \\em a }$ will dramatically slow down convergence and hurt accuracy since $Q ( x , 2 )$ has two relatively high thresholds and clear most outputs of each layer at the beginning of training, this phenomenon is also observed in our BNN replication. ",
|
| 1096 |
+
"bbox": [
|
| 1097 |
+
173,
|
| 1098 |
+
319,
|
| 1099 |
+
825,
|
| 1100 |
+
404
|
| 1101 |
+
],
|
| 1102 |
+
"page_idx": 9
|
| 1103 |
+
},
|
| 1104 |
+
{
|
| 1105 |
+
"type": "text",
|
| 1106 |
+
"text": "Non-linear quantization: The linear mapping with uniform distance is adopted in WAGE for its simplicity. However, non-linear quantization method like logarithmic representation (Miyashita et al., 2016; Zhou et al., 2017) might be more efficient because the weights and activations in a trained network naturally have logarithmic normal distributions as shown in Figure 4. Besides, values in logarithmic representation have much larger range with fewer bits than fixed-point representation and are naturally encoded in digital hardware. It is promising to training DNNs with integers encoded with logarithmic representation. ",
|
| 1107 |
+
"bbox": [
|
| 1108 |
+
173,
|
| 1109 |
+
410,
|
| 1110 |
+
825,
|
| 1111 |
+
507
|
| 1112 |
+
],
|
| 1113 |
+
"page_idx": 9
|
| 1114 |
+
},
|
| 1115 |
+
{
|
| 1116 |
+
"type": "text",
|
| 1117 |
+
"text": "Normalization: Normalization layers like Softmax and batch normalization are avoided or removed in some WAGE demonstrations. We think normalizations are essential for end-to-end multi-channel perception where sensors with different modalities have different input distributions, as well as cross-model features encoding and cognition where information from different branches gather to form higher-level representations. Therefore, a better way to quantize normalization is of great interest in further studies. ",
|
| 1118 |
+
"bbox": [
|
| 1119 |
+
173,
|
| 1120 |
+
513,
|
| 1121 |
+
825,
|
| 1122 |
+
598
|
| 1123 |
+
],
|
| 1124 |
+
"page_idx": 9
|
| 1125 |
+
},
|
| 1126 |
+
{
|
| 1127 |
+
"type": "table",
|
| 1128 |
+
"img_path": "images/b7116e8382caa9e6307f608a14085c1b09b912611afff679c2a62fda50cd9559.jpg",
|
| 1129 |
+
"table_caption": [
|
| 1130 |
+
"Table 5: Rough relative costs in $4 5 \\mathrm { n m } 0 . 9 \\mathrm { V }$ from Sze et al. (2017). "
|
| 1131 |
+
],
|
| 1132 |
+
"table_footnote": [],
|
| 1133 |
+
"table_body": "<table><tr><td rowspan=2 colspan=1>Operation</td><td rowspan=1 colspan=1>Energy(pJ)</td><td rowspan=1 colspan=1>Area(um2)</td></tr><tr><td rowspan=1 colspan=1>MUL ADD</td><td rowspan=1 colspan=1>MUL ADD</td></tr><tr><td rowspan=1 colspan=1>8-bit INT</td><td rowspan=1 colspan=1>0.2 pJ 0.03 pJ</td><td rowspan=1 colspan=1>282 36</td></tr><tr><td rowspan=1 colspan=1>16-bit FP</td><td rowspan=1 colspan=1>1.1 pJ 0.40 pJ</td><td rowspan=1 colspan=1>1640 1360</td></tr><tr><td rowspan=1 colspan=1>32-bit FP</td><td rowspan=1 colspan=1>3.7 pJ 0.90 pJ</td><td rowspan=1 colspan=1>7700 4184</td></tr></table>",
|
| 1134 |
+
"bbox": [
|
| 1135 |
+
336,
|
| 1136 |
+
638,
|
| 1137 |
+
661,
|
| 1138 |
+
733
|
| 1139 |
+
],
|
| 1140 |
+
"page_idx": 9
|
| 1141 |
+
},
|
| 1142 |
+
{
|
| 1143 |
+
"type": "text",
|
| 1144 |
+
"text": "6 CONCLUSION ",
|
| 1145 |
+
"text_level": 1,
|
| 1146 |
+
"bbox": [
|
| 1147 |
+
174,
|
| 1148 |
+
767,
|
| 1149 |
+
318,
|
| 1150 |
+
784
|
| 1151 |
+
],
|
| 1152 |
+
"page_idx": 9
|
| 1153 |
+
},
|
| 1154 |
+
{
|
| 1155 |
+
"type": "text",
|
| 1156 |
+
"text": "WAGE empowers pure low-bitwidth integer dataflow in DNNs for both training and inference. We introduce a new initialization method and a layer-wise constant scaling factor to replace batch normalization, which is a pain spot for network quantization. Many other components for training are also considered or simplified by alternative solutions. In addition, the bitwidth requirements for error computation and gradient accumulation are explored. Experiments reveal that we can quantize relative values of gradients, as well as discard the majority of small values and their orders of magnitude in backpropagation. Although the accumulation for weights updates are indispensable for stable convergence and final accuracy, there still remain works for compression and memory consumption can be further reduced in training. WAGE achieves state-of-art accuracies on multiple datasets with 2-8-8-8 bitwidth configuration. It is promising for incremental works via fine-tuning, more efficient mapping, quantization of batch normalization, etc. Overall, we introduce a framework without floating-point representation and demonstrate the potential to implement both discrete training and inference on integer-based lightweight ASIC or FPGA with on-site learning capability. ",
|
| 1157 |
+
"bbox": [
|
| 1158 |
+
173,
|
| 1159 |
+
797,
|
| 1160 |
+
825,
|
| 1161 |
+
924
|
| 1162 |
+
],
|
| 1163 |
+
"page_idx": 9
|
| 1164 |
+
},
|
| 1165 |
+
{
|
| 1166 |
+
"type": "text",
|
| 1167 |
+
"text": "",
|
| 1168 |
+
"bbox": [
|
| 1169 |
+
176,
|
| 1170 |
+
103,
|
| 1171 |
+
823,
|
| 1172 |
+
160
|
| 1173 |
+
],
|
| 1174 |
+
"page_idx": 10
|
| 1175 |
+
},
|
| 1176 |
+
{
|
| 1177 |
+
"type": "text",
|
| 1178 |
+
"text": "ACKNOWLEDGMENTS ",
|
| 1179 |
+
"text_level": 1,
|
| 1180 |
+
"bbox": [
|
| 1181 |
+
176,
|
| 1182 |
+
178,
|
| 1183 |
+
326,
|
| 1184 |
+
189
|
| 1185 |
+
],
|
| 1186 |
+
"page_idx": 10
|
| 1187 |
+
},
|
| 1188 |
+
{
|
| 1189 |
+
"type": "text",
|
| 1190 |
+
"text": "This work is partially supported by the Project of NSFC (61327902), the SuZhou-Tsinghua innovation leading program (2016SZ0102), the National Natural Science Foundation of China (61603209) and the Independent Research Plan of Tsinghua University (20151080467). We discuss a lot with Peng Jiao and Lei Deng, gratefully acknowledge for their thoughtful comments. ",
|
| 1191 |
+
"bbox": [
|
| 1192 |
+
174,
|
| 1193 |
+
199,
|
| 1194 |
+
825,
|
| 1195 |
+
256
|
| 1196 |
+
],
|
| 1197 |
+
"page_idx": 10
|
| 1198 |
+
},
|
| 1199 |
+
{
|
| 1200 |
+
"type": "text",
|
| 1201 |
+
"text": "REFERENCES ",
|
| 1202 |
+
"text_level": 1,
|
| 1203 |
+
"bbox": [
|
| 1204 |
+
176,
|
| 1205 |
+
277,
|
| 1206 |
+
285,
|
| 1207 |
+
292
|
| 1208 |
+
],
|
| 1209 |
+
"page_idx": 10
|
| 1210 |
+
},
|
| 1211 |
+
{
|
| 1212 |
+
"type": "text",
|
| 1213 |
+
"text": "Mart´ın Abadi, Paul Barham, Jianmin Chen, Zhifeng Chen, Andy Davis, Jeffrey Dean, Matthieu Devin, Sanjay Ghemawat, Geoffrey Irving, Michael Isard, et al. Tensorflow: A system for largescale machine learning. In OSDI, volume 16, pp. 265–283, 2016. ",
|
| 1214 |
+
"bbox": [
|
| 1215 |
+
178,
|
| 1216 |
+
301,
|
| 1217 |
+
823,
|
| 1218 |
+
344
|
| 1219 |
+
],
|
| 1220 |
+
"page_idx": 10
|
| 1221 |
+
},
|
| 1222 |
+
{
|
| 1223 |
+
"type": "text",
|
| 1224 |
+
"text": "Yu-Hsin Chen, Tushar Krishna, Joel S Emer, and Vivienne Sze. Eyeriss: An energy-efficient reconfigurable accelerator for deep convolutional neural networks. IEEE Journal of Solid-State Circuits, 52(1):127–138, 2017. ",
|
| 1225 |
+
"bbox": [
|
| 1226 |
+
176,
|
| 1227 |
+
353,
|
| 1228 |
+
823,
|
| 1229 |
+
396
|
| 1230 |
+
],
|
| 1231 |
+
"page_idx": 10
|
| 1232 |
+
},
|
| 1233 |
+
{
|
| 1234 |
+
"type": "text",
|
| 1235 |
+
"text": "Matthieu Courbariaux, Yoshua Bengio, and Jean-Pierre David. Binaryconnect: Training deep neural networks with binary weights during propagations. In Advances in Neural Information Processing Systems, pp. 3123–3131, 2015. ",
|
| 1236 |
+
"bbox": [
|
| 1237 |
+
176,
|
| 1238 |
+
406,
|
| 1239 |
+
823,
|
| 1240 |
+
449
|
| 1241 |
+
],
|
| 1242 |
+
"page_idx": 10
|
| 1243 |
+
},
|
| 1244 |
+
{
|
| 1245 |
+
"type": "text",
|
| 1246 |
+
"text": "Lei Deng, Peng Jiao, Jing Pei, Zhenzhi Wu, and Guoqi Li. Gxnor-net: Training deep neural networks with ternary weights and activations without full-precision memory under a unified discretization framework. Neural Networks, 2018. ",
|
| 1247 |
+
"bbox": [
|
| 1248 |
+
173,
|
| 1249 |
+
459,
|
| 1250 |
+
823,
|
| 1251 |
+
502
|
| 1252 |
+
],
|
| 1253 |
+
"page_idx": 10
|
| 1254 |
+
},
|
| 1255 |
+
{
|
| 1256 |
+
"type": "text",
|
| 1257 |
+
"text": "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, 2015. ",
|
| 1258 |
+
"bbox": [
|
| 1259 |
+
173,
|
| 1260 |
+
511,
|
| 1261 |
+
823,
|
| 1262 |
+
541
|
| 1263 |
+
],
|
| 1264 |
+
"page_idx": 10
|
| 1265 |
+
},
|
| 1266 |
+
{
|
| 1267 |
+
"type": "text",
|
| 1268 |
+
"text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Delving deep into rectifiers: Surpassing human-level performance on imagenet classification. In Proceedings of the IEEE international conference on computer vision, pp. 1026–1034, 2015. ",
|
| 1269 |
+
"bbox": [
|
| 1270 |
+
174,
|
| 1271 |
+
551,
|
| 1272 |
+
823,
|
| 1273 |
+
594
|
| 1274 |
+
],
|
| 1275 |
+
"page_idx": 10
|
| 1276 |
+
},
|
| 1277 |
+
{
|
| 1278 |
+
"type": "text",
|
| 1279 |
+
"text": "Geoffrey Hinton, Li Deng, Dong Yu, George E Dahl, Abdel-rahman Mohamed, Navdeep Jaitly, Andrew Senior, Vincent Vanhoucke, Patrick Nguyen, Tara N Sainath, et al. Deep neural networks for acoustic modeling in speech recognition: The shared views of four research groups. IEEE Signal Processing Magazine, 29(6):82–97, 2012. ",
|
| 1280 |
+
"bbox": [
|
| 1281 |
+
173,
|
| 1282 |
+
603,
|
| 1283 |
+
825,
|
| 1284 |
+
660
|
| 1285 |
+
],
|
| 1286 |
+
"page_idx": 10
|
| 1287 |
+
},
|
| 1288 |
+
{
|
| 1289 |
+
"type": "text",
|
| 1290 |
+
"text": "Andrew G Howard, Menglong Zhu, Bo Chen, Dmitry Kalenichenko, Weijun Wang, Tobias Weyand, Marco Andreetto, and Hartwig Adam. Mobilenets: Efficient convolutional neural networks for mobile vision applications. arXiv preprint arXiv:1704.04861, 2017. ",
|
| 1291 |
+
"bbox": [
|
| 1292 |
+
173,
|
| 1293 |
+
670,
|
| 1294 |
+
823,
|
| 1295 |
+
713
|
| 1296 |
+
],
|
| 1297 |
+
"page_idx": 10
|
| 1298 |
+
},
|
| 1299 |
+
{
|
| 1300 |
+
"type": "text",
|
| 1301 |
+
"text": "Itay Hubara, Matthieu Courbariaux, Daniel Soudry, Ran El-Yaniv, and Yoshua Bengio. Binarized neural networks. In Advances in Neural Information Processing Systems, pp. 4107–4115, 2016. ",
|
| 1302 |
+
"bbox": [
|
| 1303 |
+
173,
|
| 1304 |
+
722,
|
| 1305 |
+
823,
|
| 1306 |
+
752
|
| 1307 |
+
],
|
| 1308 |
+
"page_idx": 10
|
| 1309 |
+
},
|
| 1310 |
+
{
|
| 1311 |
+
"type": "text",
|
| 1312 |
+
"text": "Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In International Conference on Machine Learning, pp. 448–456, 2015. ",
|
| 1313 |
+
"bbox": [
|
| 1314 |
+
173,
|
| 1315 |
+
761,
|
| 1316 |
+
825,
|
| 1317 |
+
804
|
| 1318 |
+
],
|
| 1319 |
+
"page_idx": 10
|
| 1320 |
+
},
|
| 1321 |
+
{
|
| 1322 |
+
"type": "text",
|
| 1323 |
+
"text": "Norman P Jouppi, Cliff Young, Nishant Patil, David Patterson, Gaurav Agrawal, Raminder Bajwa, Sarah Bates, Suresh Bhatia, Nan Boden, Al Borchers, et al. In-datacenter performance analysis of a tensor processing unit. In Proceedings of the 44th Annual International Symposium on Computer Architecture, pp. 1–12. ACM, 2017. ",
|
| 1324 |
+
"bbox": [
|
| 1325 |
+
174,
|
| 1326 |
+
814,
|
| 1327 |
+
825,
|
| 1328 |
+
871
|
| 1329 |
+
],
|
| 1330 |
+
"page_idx": 10
|
| 1331 |
+
},
|
| 1332 |
+
{
|
| 1333 |
+
"type": "text",
|
| 1334 |
+
"text": "Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In Advances in neural information processing systems, pp. 1097–1105, 2012. ",
|
| 1335 |
+
"bbox": [
|
| 1336 |
+
176,
|
| 1337 |
+
882,
|
| 1338 |
+
823,
|
| 1339 |
+
922
|
| 1340 |
+
],
|
| 1341 |
+
"page_idx": 10
|
| 1342 |
+
},
|
| 1343 |
+
{
|
| 1344 |
+
"type": "text",
|
| 1345 |
+
"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. ",
|
| 1346 |
+
"bbox": [
|
| 1347 |
+
173,
|
| 1348 |
+
103,
|
| 1349 |
+
823,
|
| 1350 |
+
133
|
| 1351 |
+
],
|
| 1352 |
+
"page_idx": 11
|
| 1353 |
+
},
|
| 1354 |
+
{
|
| 1355 |
+
"type": "text",
|
| 1356 |
+
"text": "Chen-Yu Lee, Saining Xie, Patrick Gallagher, Zhengyou Zhang, and Zhuowen Tu. Deeplysupervised nets. In Artificial Intelligence and Statistics, pp. 562–570, 2015. ",
|
| 1357 |
+
"bbox": [
|
| 1358 |
+
173,
|
| 1359 |
+
140,
|
| 1360 |
+
821,
|
| 1361 |
+
171
|
| 1362 |
+
],
|
| 1363 |
+
"page_idx": 11
|
| 1364 |
+
},
|
| 1365 |
+
{
|
| 1366 |
+
"type": "text",
|
| 1367 |
+
"text": "Fengfu Li, Bo Zhang, and Bin Liu. Ternary weight networks. arXiv preprint arXiv:1605.04711, 2016. ",
|
| 1368 |
+
"bbox": [
|
| 1369 |
+
173,
|
| 1370 |
+
178,
|
| 1371 |
+
823,
|
| 1372 |
+
208
|
| 1373 |
+
],
|
| 1374 |
+
"page_idx": 11
|
| 1375 |
+
},
|
| 1376 |
+
{
|
| 1377 |
+
"type": "text",
|
| 1378 |
+
"text": "Hao Li, Soham De, Zheng Xu, Christoph Studer, Hanan Samet, and Tom Goldstein. Training quantized nets: A deeper understanding. In Advances in Neural Information Processing Systems, pp. 5813–5823, 2017. ",
|
| 1379 |
+
"bbox": [
|
| 1380 |
+
173,
|
| 1381 |
+
215,
|
| 1382 |
+
823,
|
| 1383 |
+
258
|
| 1384 |
+
],
|
| 1385 |
+
"page_idx": 11
|
| 1386 |
+
},
|
| 1387 |
+
{
|
| 1388 |
+
"type": "text",
|
| 1389 |
+
"text": "Daisuke Miyashita, Edward H Lee, and Boris Murmann. Convolutional neural networks using logarithmic data representation. arXiv preprint arXiv:1603.01025, 2016. ",
|
| 1390 |
+
"bbox": [
|
| 1391 |
+
171,
|
| 1392 |
+
267,
|
| 1393 |
+
825,
|
| 1394 |
+
297
|
| 1395 |
+
],
|
| 1396 |
+
"page_idx": 11
|
| 1397 |
+
},
|
| 1398 |
+
{
|
| 1399 |
+
"type": "text",
|
| 1400 |
+
"text": "Mohammad Rastegari, Vicente Ordonez, Joseph Redmon, and Ali Farhadi. Xnor-net: Imagenet classification using binary convolutional neural networks. In European Conference on Computer Vision, pp. 525–542. Springer, 2016. ",
|
| 1401 |
+
"bbox": [
|
| 1402 |
+
176,
|
| 1403 |
+
305,
|
| 1404 |
+
823,
|
| 1405 |
+
349
|
| 1406 |
+
],
|
| 1407 |
+
"page_idx": 11
|
| 1408 |
+
},
|
| 1409 |
+
{
|
| 1410 |
+
"type": "text",
|
| 1411 |
+
"text": "Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, et al. Imagenet large scale visual recognition challenge. International Journal of Computer Vision, 115(3):211–252, 2015. ",
|
| 1412 |
+
"bbox": [
|
| 1413 |
+
176,
|
| 1414 |
+
357,
|
| 1415 |
+
823,
|
| 1416 |
+
401
|
| 1417 |
+
],
|
| 1418 |
+
"page_idx": 11
|
| 1419 |
+
},
|
| 1420 |
+
{
|
| 1421 |
+
"type": "text",
|
| 1422 |
+
"text": "Patrick M Sheridan, Fuxi Cai, Chao Du, Wen Ma, Zhengya Zhang, and Wei D Lu. Sparse coding with memristor networks. Nature nanotechnology, 12(8):784, 2017. ",
|
| 1423 |
+
"bbox": [
|
| 1424 |
+
173,
|
| 1425 |
+
409,
|
| 1426 |
+
821,
|
| 1427 |
+
439
|
| 1428 |
+
],
|
| 1429 |
+
"page_idx": 11
|
| 1430 |
+
},
|
| 1431 |
+
{
|
| 1432 |
+
"type": "text",
|
| 1433 |
+
"text": "Luping Shi, Jing Pei, Ning Deng, Dong Wang, Lei Deng, Yu Wang, Youhui Zhang, Feng Chen, Mingguo Zhao, Sen Song, et al. Development of a neuromorphic computing system. In Electron Devices Meeting (IEDM), 2015 IEEE International, pp. 4–3. IEEE, 2015. ",
|
| 1434 |
+
"bbox": [
|
| 1435 |
+
174,
|
| 1436 |
+
446,
|
| 1437 |
+
823,
|
| 1438 |
+
489
|
| 1439 |
+
],
|
| 1440 |
+
"page_idx": 11
|
| 1441 |
+
},
|
| 1442 |
+
{
|
| 1443 |
+
"type": "text",
|
| 1444 |
+
"text": "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. ",
|
| 1445 |
+
"bbox": [
|
| 1446 |
+
174,
|
| 1447 |
+
497,
|
| 1448 |
+
823,
|
| 1449 |
+
541
|
| 1450 |
+
],
|
| 1451 |
+
"page_idx": 11
|
| 1452 |
+
},
|
| 1453 |
+
{
|
| 1454 |
+
"type": "text",
|
| 1455 |
+
"text": "Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556, 2014. ",
|
| 1456 |
+
"bbox": [
|
| 1457 |
+
174,
|
| 1458 |
+
549,
|
| 1459 |
+
823,
|
| 1460 |
+
579
|
| 1461 |
+
],
|
| 1462 |
+
"page_idx": 11
|
| 1463 |
+
},
|
| 1464 |
+
{
|
| 1465 |
+
"type": "text",
|
| 1466 |
+
"text": "Vivienne Sze, Yu-Hsin Chen, Tien-Ju Yang, and Joel S Emer. Efficient processing of deep neural networks: A tutorial and survey. Proceedings of the IEEE, 105(12):2295–2329, 2017. ",
|
| 1467 |
+
"bbox": [
|
| 1468 |
+
176,
|
| 1469 |
+
587,
|
| 1470 |
+
823,
|
| 1471 |
+
617
|
| 1472 |
+
],
|
| 1473 |
+
"page_idx": 11
|
| 1474 |
+
},
|
| 1475 |
+
{
|
| 1476 |
+
"type": "text",
|
| 1477 |
+
"text": "Wei Tang, Gang Hua, and Liang Wang. How to train a compact binary neural network with high accuracy? In Thirty-First AAAI Conference on Artificial Intelligence, 2017. ",
|
| 1478 |
+
"bbox": [
|
| 1479 |
+
174,
|
| 1480 |
+
625,
|
| 1481 |
+
823,
|
| 1482 |
+
655
|
| 1483 |
+
],
|
| 1484 |
+
"page_idx": 11
|
| 1485 |
+
},
|
| 1486 |
+
{
|
| 1487 |
+
"type": "text",
|
| 1488 |
+
"text": "Wei Wen, Cong Xu, Feng Yan, Chunpeng Wu, Yandan Wang, Yiran Chen, and Hai Li. Terngrad: Ternary gradients to reduce communication in distributed deep learning. In Advances in Neural Information Processing Systems, pp. 1508–1518, 2017. ",
|
| 1489 |
+
"bbox": [
|
| 1490 |
+
176,
|
| 1491 |
+
662,
|
| 1492 |
+
823,
|
| 1493 |
+
707
|
| 1494 |
+
],
|
| 1495 |
+
"page_idx": 11
|
| 1496 |
+
},
|
| 1497 |
+
{
|
| 1498 |
+
"type": "text",
|
| 1499 |
+
"text": "Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning requires rethinking generalization. arXiv preprint arXiv:1611.03530, 2016. ",
|
| 1500 |
+
"bbox": [
|
| 1501 |
+
171,
|
| 1502 |
+
714,
|
| 1503 |
+
823,
|
| 1504 |
+
744
|
| 1505 |
+
],
|
| 1506 |
+
"page_idx": 11
|
| 1507 |
+
},
|
| 1508 |
+
{
|
| 1509 |
+
"type": "text",
|
| 1510 |
+
"text": "Aojun Zhou, Anbang Yao, Yiwen Guo, Lin Xu, and Yurong Chen. Incremental network quantization: Towards lossless cnns with low-precision weights. arXiv preprint arXiv:1702.03044, 2017. ",
|
| 1511 |
+
"bbox": [
|
| 1512 |
+
171,
|
| 1513 |
+
752,
|
| 1514 |
+
821,
|
| 1515 |
+
781
|
| 1516 |
+
],
|
| 1517 |
+
"page_idx": 11
|
| 1518 |
+
},
|
| 1519 |
+
{
|
| 1520 |
+
"type": "text",
|
| 1521 |
+
"text": "Shuchang Zhou, Yuxin Wu, Zekun Ni, Xinyu Zhou, He Wen, and Yuheng Zou. Dorefa-net: Training low bitwidth convolutional neural networks with low bitwidth gradients. arXiv preprint arXiv:1606.06160, 2016. ",
|
| 1522 |
+
"bbox": [
|
| 1523 |
+
174,
|
| 1524 |
+
790,
|
| 1525 |
+
823,
|
| 1526 |
+
833
|
| 1527 |
+
],
|
| 1528 |
+
"page_idx": 11
|
| 1529 |
+
},
|
| 1530 |
+
{
|
| 1531 |
+
"type": "text",
|
| 1532 |
+
"text": "Chenzhuo Zhu, Song Han, Huizi Mao, and William J Dally. Trained ternary quantization. arXiv preprint arXiv:1612.01064, 2016. ",
|
| 1533 |
+
"bbox": [
|
| 1534 |
+
169,
|
| 1535 |
+
842,
|
| 1536 |
+
825,
|
| 1537 |
+
871
|
| 1538 |
+
],
|
| 1539 |
+
"page_idx": 11
|
| 1540 |
+
},
|
| 1541 |
+
{
|
| 1542 |
+
"type": "text",
|
| 1543 |
+
"text": "A ALGORITHM ",
|
| 1544 |
+
"text_level": 1,
|
| 1545 |
+
"bbox": [
|
| 1546 |
+
176,
|
| 1547 |
+
102,
|
| 1548 |
+
316,
|
| 1549 |
+
117
|
| 1550 |
+
],
|
| 1551 |
+
"page_idx": 12
|
| 1552 |
+
},
|
| 1553 |
+
{
|
| 1554 |
+
"type": "text",
|
| 1555 |
+
"text": "We assume that network structures are defined and initialized with Equation 5. The annotations after pseudo code are potential corresponding operations for implementation in a fixed-point dataflow. ",
|
| 1556 |
+
"bbox": [
|
| 1557 |
+
174,
|
| 1558 |
+
133,
|
| 1559 |
+
823,
|
| 1560 |
+
162
|
| 1561 |
+
],
|
| 1562 |
+
"page_idx": 12
|
| 1563 |
+
},
|
| 1564 |
+
{
|
| 1565 |
+
"type": "text",
|
| 1566 |
+
"text": "Algorithm 1 Training an $I$ -layer net with WAGE method on floating-point-based or integer-based device. Weights, activations, gradients and errors are quantized according to Equations 6 - 12. ",
|
| 1567 |
+
"bbox": [
|
| 1568 |
+
173,
|
| 1569 |
+
176,
|
| 1570 |
+
823,
|
| 1571 |
+
207
|
| 1572 |
+
],
|
| 1573 |
+
"page_idx": 12
|
| 1574 |
+
},
|
| 1575 |
+
{
|
| 1576 |
+
"type": "text",
|
| 1577 |
+
"text": "Require: a mini-batch of inputs and targets $( \\pmb { a } _ { q } ^ { 0 } , \\pmb { a } ^ { * } )$ which are quantized to $k _ { A }$ -bit integers, shiftbased $\\alpha$ for each layer, learning rate scheduler $\\eta$ , previous weight $W$ saved in $k _ { G }$ bits. ",
|
| 1578 |
+
"bbox": [
|
| 1579 |
+
174,
|
| 1580 |
+
209,
|
| 1581 |
+
821,
|
| 1582 |
+
238
|
| 1583 |
+
],
|
| 1584 |
+
"page_idx": 12
|
| 1585 |
+
},
|
| 1586 |
+
{
|
| 1587 |
+
"type": "text",
|
| 1588 |
+
"text": "Ensure: updated weights $W _ { t + 1 }$ ",
|
| 1589 |
+
"bbox": [
|
| 1590 |
+
176,
|
| 1591 |
+
238,
|
| 1592 |
+
388,
|
| 1593 |
+
252
|
| 1594 |
+
],
|
| 1595 |
+
"page_idx": 12
|
| 1596 |
+
},
|
| 1597 |
+
{
|
| 1598 |
+
"type": "text",
|
| 1599 |
+
"text": "1. Forward propagation: \n1: for $i = 1$ to $I$ do \n2: $W _ { q } ^ { i } Q _ { W } ( W ^ { i } )$ \n3: $\\pmb { a } ^ { i } \\gets R e L U ( \\pmb { a } _ { q } ^ { i - 1 } \\pmb { W } _ { q } ^ { i } )$ \n4: $\\pmb { a } _ { q } ^ { i } Q _ { A } ( \\pmb { a } ^ { i } )$ ",
|
| 1600 |
+
"bbox": [
|
| 1601 |
+
179,
|
| 1602 |
+
252,
|
| 1603 |
+
377,
|
| 1604 |
+
327
|
| 1605 |
+
],
|
| 1606 |
+
"page_idx": 12
|
| 1607 |
+
},
|
| 1608 |
+
{
|
| 1609 |
+
"type": "text",
|
| 1610 |
+
"text": "5: end for 2. Back propagation: Compute $\\mathbf { \\Psi } _ { e ^ { I } } \\mathbf { \\bar { \\Psi } } _ { } \\mathbf { \\frac { \\partial \\mathcal { L } } { \\partial \\mathbf { a } ^ { I } } }$ knowing $\\pmb { a } ^ { I }$ and $\\mathbf { \\delta } \\mathbf { \\textit { a } } ^ { * }$ ",
|
| 1611 |
+
"bbox": [
|
| 1612 |
+
181,
|
| 1613 |
+
329,
|
| 1614 |
+
467,
|
| 1615 |
+
369
|
| 1616 |
+
],
|
| 1617 |
+
"page_idx": 12
|
| 1618 |
+
},
|
| 1619 |
+
{
|
| 1620 |
+
"type": "text",
|
| 1621 |
+
"text": "6: for $i = I$ to 1 do \n7: 0 $e _ { q } ^ { i } Q _ { E } ( e ^ { i } )$ \n8: $e ^ { i - 1 } e _ { q } ^ { i } W _ { q } ^ { i }$ \n9: g i ← e iq T a i − 1q \n10: $\\Delta W ^ { i } Q _ { G } ( \\pmb { g } ^ { i } )$ \n11: Update and Clip $\\dot { W } ^ { i }$ according to Equation 12 \n12: end for ",
|
| 1622 |
+
"bbox": [
|
| 1623 |
+
178,
|
| 1624 |
+
369,
|
| 1625 |
+
526,
|
| 1626 |
+
476
|
| 1627 |
+
],
|
| 1628 |
+
"page_idx": 12
|
| 1629 |
+
},
|
| 1630 |
+
{
|
| 1631 |
+
"type": "text",
|
| 1632 |
+
"text": "B LAYERWISE HISTOGRAM ",
|
| 1633 |
+
"text_level": 1,
|
| 1634 |
+
"bbox": [
|
| 1635 |
+
174,
|
| 1636 |
+
102,
|
| 1637 |
+
418,
|
| 1638 |
+
118
|
| 1639 |
+
],
|
| 1640 |
+
"page_idx": 13
|
| 1641 |
+
},
|
| 1642 |
+
{
|
| 1643 |
+
"type": "image",
|
| 1644 |
+
"img_path": "images/43901665d2658825e17c80f353f099762fdcf082af6320b8c868442672e31a6e.jpg",
|
| 1645 |
+
"image_caption": [
|
| 1646 |
+
"Figure 5: Layerwise histograms of a trained VGG-like network with bitwidth configuration: 2-8- 8-8 and learning rate $\\eta$ equals to 8. The Y-axis represents for probability in W-plots and G-plots, and logarithmic probability in A-plots and E-plots, respectively. In A-plots histograms are one-layer ahead so the first figure shows the quantized input data. "
|
| 1647 |
+
],
|
| 1648 |
+
"image_footnote": [],
|
| 1649 |
+
"bbox": [
|
| 1650 |
+
171,
|
| 1651 |
+
132,
|
| 1652 |
+
825,
|
| 1653 |
+
666
|
| 1654 |
+
],
|
| 1655 |
+
"page_idx": 13
|
| 1656 |
+
}
|
| 1657 |
+
]
|
parse/train/HJGXzmspb/HJGXzmspb_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/HJGXzmspb/HJGXzmspb_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/H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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# LEARNING DISENTANGLED REPRESENTATIONS FORCOUNTERFACTUAL REGRESSION
|
| 2 |
+
|
| 3 |
+
Negar Hassanpour & Russell Greiner
|
| 4 |
+
|
| 5 |
+
Department of Computing Science University of Alberta Edmonton, Alberta, T6G 2E8, CANADA {hassanpo,rgreiner}@ualberta.ca
|
| 6 |
+
|
| 7 |
+
# ABSTRACT
|
| 8 |
+
|
| 9 |
+
We consider the challenge of estimating treatment effects from observational data; and point out that, in general, only some factors based on the observed covariates $X$ contribute to selection of the treatment $T$ , and only some to determining the outcomes $Y$ . We model this by considering three underlying sources of $\{ X , T , Y \}$ and show that explicitly modeling these sources offers great insight to guide designing models that better handle selection bias in observational datasets. This paper is an attempt to conceptualize this line of thought and provide a path to explore it further.
|
| 10 |
+
|
| 11 |
+
In this work, we propose an algorithm to (1) identify disentangled representations of the above-mentioned underlying factors from any given observational dataset $\mathcal { D }$ and (2) leverage this knowledge to reduce, as well as account for, the negative impact of selection bias on estimating the treatment effects from $\mathcal { D }$ . Our empirical results show that the proposed method achieves state-of-the-art performance in both individual and population based evaluation measures.
|
| 12 |
+
|
| 13 |
+
# 1 INTRODUCTION
|
| 14 |
+
|
| 15 |
+
As we rely more and more on artificial intelligence (AI) to automate the decision making processes, accurately estimating the causal effects of taking different actions gains an essential role. A prominent example is precision medicine $- i . e .$ , the customization of health-care tailored to each individual patient – which attempts to identify which medical procedure $t \in \tau$ will benefit a certain patient $x$ the most, in terms of the treatment outcome $y \in \mathbb { R }$ . Learning such models requires answering counterfactual questions (Rubin, 1974; Pearl, 2009) such as: “Would this patient have lived longer [and by how much], had she received an alternative treatment?”.
|
| 16 |
+
|
| 17 |
+
For notation: a dataset $\mathcal { D } = \{ [ x _ { i } , t _ { i } , y _ { i } ] \} _ { i = 1 } ^ { N }$ used for treatment effect estimation has the following format: for the $i ^ { t h }$ instance (e.g., patient), we have some context information $x _ { i } \in \mathcal { X } \subseteq \mathbb { R } ^ { K }$ (e.g., age, BMI, blood work, etc.), the administered treatment $t _ { i }$ chosen from a set of treatment options $\tau$ (e.g., {0: medication, 1: surgery}), and the respective observed outcome $y _ { i } \in \mathcal { V }$ (e.g., survival time; $\mathcal { V } \subseteq \mathbb { R } ^ { + }$ ) as a result of receiving treatment $t _ { i }$ . Note that $\mathcal { D }$ only contains the outcome of the administered treatment (aka observed outcome: $y _ { i }$ ), but not the outcome(s) of the alternative treatment(s) (aka counterfactual outcome(s): $y _ { i } ^ { t }$ for $t \in \mathcal { T } \backslash \{ t _ { i } \} )$ , which are inherently unobservable. For the binary-treatment case, we denote the alternative treatment as $\neg t _ { i } = 1 - t _ { i }$ .
|
| 18 |
+
|
| 19 |
+
Pearl (2009) demonstrates that, in general, causal relationships can only be learned by experimentation (on-line exploration), or running a Randomized Controlled Trial (RCT), where the treatment assignment does not depend on the individual $X - { \mathsf { s e e } }$ Figure 1(a). In many cases, however, this is expensive, unethical, or even infeasible. Here, we are forced to approximate treatment effects from off-line datasets collected through Observational Studies. In such datasets, the administered treatment $T$ depends on some or all attributes of individual $X - { \mathsf { s e e } }$ Figure 1(b). Here, as $\operatorname* { P r } ( T | X ) \neq \operatorname* { P r } ( T )$ , we say these datasets exhibit selection bias (Imbens & Rubin, 2015). Figure 2 illustrates selection bias in an example (synthetic) observational dataset.
|
| 20 |
+
|
| 21 |
+

|
| 22 |
+
Figure 1: Belief net structure for randomized controlled trials and observational studies. Here, ${ Y ^ { \overline { { 0 } } } } ( { Y ^ { 1 } } )$ is the outcome of applying $T =$ treatment#0 (#1) to the individual represented by $X$ .
|
| 23 |
+
|
| 24 |
+
Here, we want to accurately estimate the Individual Treatment Effect (ITE) for each instance $i - i . e .$ , to estimate $\mathbf { e } _ { i } = y _ { i } ^ { 1 } - y _ { i } ^ { 0 }$ . We frame the solution as learning the function $f : \mathcal { X } \times \mathcal { T } \mathcal { Y }$ that can accurately predict the outcomes (both observed $\hat { y _ { i } } ^ { t _ { i } }$ as well as counterfactuals $\hat { y _ { i } } ^ { \lnot t _ { i } }$ ) given the context information $x _ { i }$ for each individual. As mentioned earlier, there are two challenges associated with estimating treatment effects:
|
| 25 |
+
|
| 26 |
+
(i) The fact that counterfactual outcomes are unobservable (i.e., not present in any training data) makes estimating treatment effects more difficult than the generalization problem in the supervised learning paradigm. This is an inherent characteristic of this task.
|
| 27 |
+
(ii) Selection bias in observational datasets implies having fewer instances within each treatment arm at specific regions of the domain. This sparsity, in turn, would decrease the accuracy and confidence of predicting counterfactuals at those regions.
|
| 28 |
+
|
| 29 |
+
This paper addresses the second challenge by investigating the root causes of selection bias, by dissecting and identifying the underlying factors that can generate an observational dataset $\mathcal { D }$ , and leveraging this knowledge to reduce, as well as account for, the negative impact of selection bias on estimating the treatment effects from $\mathcal { D }$ . In this work, we borrow ideas from the representation learning literature (Bengio et al., 2013) in order to reduce selection bias and from the domain adaptation literature (Shimodaira, 2000) in order to account for the remainder selection bias that (might) still exist after its reduction.
|
| 30 |
+
|
| 31 |
+
Our analysis relies on the following assumptions: Assumption 1: Unconfoundedness (Rosenbaum & Rubin, 1983) – There are no unobserved confounders (i.e., covariates that contribute to both treatment selection procedure as well as determination of outcomes). Formally, $\{ Y ^ { t } \} _ { t \in { \mathcal { T } } } \bot T \mid X$ .
|
| 32 |
+
|
| 33 |
+
Assumption 2: Overlap (Imbens, 2004) – Every individual $x$ should have a non-zero chance of being assigned to any treatment arm. That is,
|
| 34 |
+
|
| 35 |
+

|
| 36 |
+
Figure 2: An example observational dataset. Here, to treat heart disease, a doctor typically prescribes surgery $( t = 1 )$ to younger patients (•) and medication ${ \bf \boldsymbol { t } } = 0$ ) to older ones ${ \bf \Xi } ( { \bf \Lambda } )$ . Note that instances with larger (resp., smaller) $x$ values have a higher chance to be assigned to the $t = 0$ (resp., 1) treatment arm; hence we have selection bias. The counterfactual outcomes (only used for evaluation purpose) are illustrated by small $\bullet ( \mathbf { \alpha } )$ for $\neg t = 1$ (0).
|
| 37 |
+
|
| 38 |
+
These two assumptions together are called strong ignorability (Rosenbaum & Rubin, 1983). Imbens & Wooldridge (2009) showed that strong ignorability is sufficient for ITE to be identifiable.
|
| 39 |
+
|
| 40 |
+
Without loss of generality, we assume that the random variable $X$ follows a(n unknown) joint probability distribution $\operatorname* { P r } ( X | \Gamma , \Delta , \Upsilon )$ , treatment $T$ follows $\mathrm { P r } ( T | \Gamma , \Delta )$ , and outcome $\boldsymbol { Y } ^ { T }$ follows $\mathrm { P r } _ { { \cal T } } ( { \cal Y } ^ { T } | \Delta , \Upsilon )$ , where $\Gamma , \Delta$ , and $\Upsilon$ represent the three underlying factors1 that generate an observational dataset $\mathcal { D }$ . The respective graphical model is illustrated in Figure 3. Conforming with the statements above, note that the graphical model also suggests that selection bias is induced by factors $\Gamma$ and $\Delta$ , where $\Delta$ represents the confounding factors between $T$ and $Y$ .
|
| 41 |
+
|
| 42 |
+
Main contribution: We argue that explicit identification of the underlying factors $\{ \Gamma , \Delta , \Upsilon \}$ in observational datasets offers great insight to guide designing models that better handle selection bias and consequently achieve better performance in terms of estimating ITEs. In this paper, we propose a model, named Disentangled Representations for CounterFactual Regression (DR-CFR), that is optimized to do exactly that. We also present experiments that demonstrate the advantages of this perspective; and show empirically that the proposed method outperforms state-of-the-art models in a variety of data generation scenarios with different dimensionality of factors; see below.
|
| 43 |
+
|
| 44 |
+

|
| 45 |
+
Figure 3: Underlying factors of $X$ ; $\Gamma$ $( \Upsilon )$ are factors that partially determine only $T$ $( Y )$ but not the other random variable; and $\Delta$ are confounders; Selection bias is induced by factors $\Gamma$ and $\Delta$ .
|
| 46 |
+
|
| 47 |
+
# 2 RELATED WORKS
|
| 48 |
+
|
| 49 |
+
Selection bias in observational datasets is equivalent to a domain adaptation scenario where a model is trained on a “source” (observed) data distribution, but should perform well on a “target” (counterfactual) one. Learning treatment effects from observational datasets is closely related to “off-policy learning from logged bandit feedback” – cf., (Swaminathan & Joachims, 2015a), whose goal is learning an optimal policy that selects the best personalized treatment for each individual. A common statistical solution is re-weighting certain data instances to balance the source and target distributions. The majority of re-weighting approaches belong to the Inverse Propensity Weighting (IPW) family of methods – cf., (Austin, 2011; Bottou et al., 2013; Swaminathan & Joachims, 2015c). While IPW methods are unbiased, they suffer from high variance. Swaminathan & Joachims (2015b) proposed the Counterfactual Risk Minimization (CRM) principle to alleviate this issue. In summary, re-weighting is an attempt to account for the selection bias.
|
| 50 |
+
|
| 51 |
+
Johansson et al. (2016) is among the pioneer works that explored ways to use techniques from representation learning (Bengio et al., 2013) to reduce the selection bias. Shalit et al. (2017) present a refined version of (Johansson et al., 2016)’s method that learns a common representation space $\Phi ( x ) = \phi$ by minimizing the discrepancy (Mansour et al., 2009) (hereinafter “disc”) between the conditional distributions of $\phi$ given $t = 0$ versus $\phi$ , given $t = 1$ . That is,
|
| 52 |
+
|
| 53 |
+
$$
|
| 54 |
+
\mathsf { d i s c } \Big ( \big \{ \Phi ( x _ { i } ) \big \} _ { i : t _ { i } = 0 } , \big \{ \Phi ( x _ { i } ) \big \} _ { i : t _ { i } = 1 } \Big )
|
| 55 |
+
$$
|
| 56 |
+
|
| 57 |
+
which is (effectively) a regularization term that attempts to reduce selection bias in the learned representation. On top of this representation learning network, they trained two regression networks $h ^ { t } ( \phi )$ – one for each treatment arm $( t \in \{ 0 , 1 \} )$ ) – that predict the outcomes.
|
| 58 |
+
|
| 59 |
+
Hassanpour & Greiner (2019) argued that the learned representation cannot and should not remove all the selection bias, as the confounders not only contribute to choosing a treatment but also to determining the respective outcomes.2 As a result, where there are confounders (which is a common situation), even $\phi$ would exhibit some selection bias, although less than that in the original domain $x$ They built on the work of (Shalit et al., 2017) by introducing context-aware importance sampling weights, that attempt to account for the above-mentioned remainder selection bias. These weights
|
| 60 |
+
|
| 61 |
+
$$
|
| 62 |
+
\omega _ { i } = 1 + { \frac { \operatorname* { P r } ( \phi _ { i } \mid \neg t _ { i } ) } { \operatorname* { P r } ( \phi _ { i } \mid t _ { i } ) } } = 1 + { \frac { \operatorname* { P r } ( t _ { i } ) } { 1 - \operatorname* { P r } ( t _ { i } ) } } \cdot { \frac { 1 - \pi { \bigl ( } t _ { i } \mid \phi _ { i } { \bigr ) } } { \pi { \bigl ( } t _ { i } \mid \phi _ { i } { \bigr ) } } }
|
| 63 |
+
$$
|
| 64 |
+
|
| 65 |
+
are designed to enhance performance of estimating both factual as well as counterfacual outcomes (by the 1 and $\frac { \operatorname* { P r } ( \phi \mid \lnot t ) } { \operatorname* { P r } ( \phi \mid t ) }$ terms, respectively), where $\pi ( t _ { i } | \phi _ { i } )$ is the probability of assigning the observed $t _ { i }$ conditioned on the learned context $\phi _ { i }$ .
|
| 66 |
+
|
| 67 |
+
Note that both (Shalit et al., 2017) and (Hassanpour & Greiner, 2019) use $\Phi$ to model the concatenation of factors $\Delta$ and $\Upsilon$ (see Figure 3). Although it does make sense that there should be no discrepancy between conditional distributions of $\Upsilon$ , the $\Delta$ factor should model the confounding factors, which by definition, must embed some information about treatment assignment. This would result in a positive discrepancy between conditional distributions of $\Delta$ that should not be minimized. Thus, minimizing Equation (1) with respect to $\Phi$ can lead to problematic results as it discards some of the confounders.
|
| 68 |
+
|
| 69 |
+
Yao et al. (2018) proposed the Similarity preserved Individual Treatment Effect (SITE) method, which extends Shalit et al. (2017)’s framework by adding a local similarity preserving component. This component acts as a regularization term, that attempts to retain the same neighbourhood relationships in the learned representation space as exhibited in the original space, by matching the propensity scores $\operatorname* { P r } ( t = 1 | \bar { \boldsymbol { x } } )$ and $\textstyle \operatorname* { P r } ( t = { \bar { 1 } } | \phi )$ . This, however, results in learning sub-optimal representations when $\Gamma \neq \emptyset$ as SITE tries to keep instances whose $\Gamma \mathrm { s }$ are far apart, also far apart in $\phi$ . In other words, this component penalizes reducing selection bias in $\phi$ by not discarding the irrelevant information present in $\Gamma$ even when it does not hurt the outcome estimation at all.
|
| 70 |
+
|
| 71 |
+
Our work has many similarities to (Kuang et al., 2017), who decomposed $X$ into two subsets: confounding and adjustment variables, which are similar to our $\Delta$ and $\Upsilon$ factors respectively. They then used an optimization algorithm for identifying these variables, to ultimately find an unbiased estimate of the Average Treatment Effect (ATE). We extend their work in three ways: (i) In addition to confounders and adjustment variables, we also identify the factors that determine the treatment and have no effect on the outcome (i.e., Γ). (ii) Unlike (Kuang et al., 2017) that take a linear approach by tagging the raw features as either confounders or adjustment variables, our proposed method has the capacity to learn [non-linear] representations of the underlying factors. (iii) Our method facilitates estimating both ATE as well ITE, whereas (Kuang et al., 2017) cannot provide estimates of ITEs.
|
| 72 |
+
|
| 73 |
+
# 3 LEARNING DISENTANGLED REPRESENTATIONS
|
| 74 |
+
|
| 75 |
+
We assume, without loss of generality, that any dataset of the form $\{ X , T , Y \}$ is generated from three underlying factors $\{ \Gamma , \bar { \Delta } , \Upsilon \}$ , as illustrated in Figure 3. 3 Observe that the factor $\Gamma$ (resp., $\Upsilon$ ) partially determines only $T$ (resp., $Y$ ), but not the other variables; and $\Delta$ includes the confounding factors between $T$ and $Y$ . This graphical model suggests that selection bias is induced by factors $\Gamma$ and $\Delta$ . It also shows that the outcome depends on the factors $\Delta$ and $\Upsilon$ . Inspired by this graphical model, our model architecture incorporates the following components:
|
| 76 |
+
|
| 77 |
+
• Three representation learning networks; one for each underlying factor: $\Gamma ( x ) , \Delta ( x )$ , and $\Upsilon ( x )$ . • Two regression networks; one for each treatment arm: $h ^ { 0 } ( \Delta ( x ) , \Upsilon ( x ) )$ and $h ^ { 1 } ( \Delta ( x ) , \Upsilon ( x ) )$ . • Two logistic networks: $\pi _ { 0 } ( t | \Gamma ( x ) , \Delta ( x ) )$ to model the logging policy – aka behaviour policy in Reinforcement Learning; $c f .$ , (Sutton & Barto, 1998) – and $\pi ( t | \Delta ( x ) )$ to design weights that account for the confounders’ impact.
|
| 78 |
+
|
| 79 |
+
We therefore try to minimize the following objective function:
|
| 80 |
+
|
| 81 |
+
$$
|
| 82 |
+
\begin{array} { l } { \displaystyle J ( \Gamma , \Delta , \Upsilon , h ^ { 0 } , h ^ { 1 } , \pi _ { 0 } ) = \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \omega \big ( t _ { i } , \Delta ( x _ { i } ) \big ) \cdot \mathcal { L } \big [ y _ { i } , h ^ { t _ { i } } \big ( \Delta ( x _ { i } ) , \Upsilon ( x _ { i } ) \big ) \big ] } \\ { \displaystyle \quad \quad + \alpha \cdot { \mathsf { d i s c } } \big ( \{ \Upsilon ( x _ { i } ) \} _ { i : t _ { i } = 0 } , \{ \Upsilon ( x _ { i } ) \} _ { i : t _ { i } = 1 } \big ) } \\ { \displaystyle \quad \quad + \beta \cdot \frac { 1 } { N } \sum _ { i = 1 } ^ { N } - \log \big [ \pi _ { 0 } \big ( t _ { i } | \Gamma ( x _ { i } ) , \Delta ( x _ { i } ) \big ) \big ] } \\ { \displaystyle \quad \quad + \lambda \cdot \mathfrak { R e g } ( \Gamma , \Delta , \Upsilon , h ^ { 0 } , h ^ { 1 } , \pi _ { 0 } ) } \end{array}
|
| 83 |
+
$$
|
| 84 |
+
|
| 85 |
+
where $\omega \left( t _ { i } , \Delta ( x _ { i } ) \right)$ is the re-weighting function; $\mathcal { L } \big [ y _ { i } , h ^ { t _ { i } } \big ( \Delta ( x _ { i } ) , \Upsilon ( x _ { i } ) \big ) \big ]$ is the prediction loss for observed outcomes (aka factual loss); $\mathsf { d i s c } \big ( \{ \Upsilon ( x ) \} _ { i : t _ { i } = 0 } , \{ \Upsilon ( x ) \} _ { i : t _ { i } = 1 } \big )$ calculates the discrepancy between conditional distributions of $\Upsilon$ given $t = 0$ versus given $t = 1 ; - \log \pi _ { 0 } ( \cdot )$ is the cross entropy loss of predicting the assigned treatments given the learned context; and $\mathfrak { R e g } ( \cdot )$ is the regularization term for penalizing model complexity. The following sections elaborate on each of these terms.
|
| 86 |
+
|
| 87 |
+
# 3.1 FACTUAL LOSS: $\mathcal { L } \big [ \boldsymbol { y } , h ^ { t } \big ( \Delta ( \boldsymbol { x } ) , \Upsilon ( \boldsymbol { x } ) \big ) \big ]$
|
| 88 |
+
|
| 89 |
+
Similar to (Johansson et al., 2016; Shalit et al., 2017; Hassanpour & Greiner, 2019; Yao et al., 2018), we train two regression networks $h ^ { 0 }$ and $h ^ { 1 }$ , one for each treatment arm. As guided by the graphical model in Figure 3, the inputs to these regression networks are the outputs of the $\Delta ( x )$ and $\Upsilon ( x )$ representation networks and their outputs are the predicted outcomes for their respective treatments.
|
| 90 |
+
|
| 91 |
+
Note that the prediction loss $\mathcal { L }$ can only be calculated on the observed outcomes (hence the name factual loss), as counterfactual outcomes are not available in any training set. This would be an L2-loss for real-valued outcomes and a log-loss for binary outcomes. By minimizing the factual loss, we ensure that the union of the learned representations $\dot { \Delta } ( x )$ and $\Upsilon ( x )$ retain enough information needed for accurate estimation of the observed outcomes.
|
| 92 |
+
|
| 93 |
+
# 3.2 RE-WEIGHTING FUNCTION: $\omega ( t , \Delta ( x ) )$
|
| 94 |
+
|
| 95 |
+
We follow (Hassanpour & Greiner, 2019)’s design for weights as re-stated in Equation (2), with the modification that we employ $\Delta$ to calculate the weights instead of $\Phi$ . Although following the same design, we anticipate our weights should perform better in practice than those in (Hassanpour & Greiner, 2019) as: (i) no confounders are discarded due to minimizing the imbalance loss (because our disc is defined based on $\Upsilon$ , not $\Phi$ ); and (ii) only the legitimate confounders are used to derive the weights (i.e., $\Delta )$ , not the ones that have not contributed to treatment selection (i.e., Υ).
|
| 96 |
+
|
| 97 |
+
Notably, the weights design in Equation (2) is different from the common practice in re-weighting techniques (e.g., IPW) in that the weights are calculated based on all factors that determine $T$ (i.e., $\Gamma$ as well as $\Delta$ ). However, we argue that incorporation of $\Gamma$ in the weights might result in emphasizing the wrong instances. In other words, since the factual loss $\mathcal { L }$ is only sensitive to factors $\Delta$ and $\Upsilon$ , and not $\Gamma$ , re-weighting $\mathcal { L }$ according to $\Gamma$ would yield a wrong objective function to be optimized.
|
| 98 |
+
|
| 99 |
+
$$
|
| 100 |
+
\mathsf { d i s c } \big ( \{ \Upsilon ( x _ { i } ) \} _ { i : t _ { i } = 0 } , \{ \Upsilon ( x _ { i } ) \} _ { i : t _ { i } = 1 } \big )
|
| 101 |
+
$$
|
| 102 |
+
|
| 103 |
+
According to Figure 3, $\Upsilon$ should be independent of $T$ due to the collider structure at $Y$ . Therefore,
|
| 104 |
+
|
| 105 |
+
$$
|
| 106 |
+
\Upsilon \ \perp \ T \quad \implies \quad \operatorname* { P r } ( \Upsilon \mid T ) = \operatorname* { P r } ( \Upsilon ) \quad \implies \quad \operatorname* { P r } ( \Upsilon \mid T = 0 ) = \operatorname* { P r } ( \Upsilon \mid T = 1 )
|
| 107 |
+
$$
|
| 108 |
+
|
| 109 |
+
We used Maximum Mean Discrepancy (MMD) (Gretton et al., 2012) to calculate dissimilarity between the two conditional distributions of $\Upsilon$ given $t = 0$ versus $t = 1$ .
|
| 110 |
+
|
| 111 |
+
By minimizing the imbalance loss, we ensure that the learned factor $\Upsilon$ embeds no information about $T$ and all the confounding factors are retained in $\Delta$ . Capturing all the confounders in $\Delta$ and only in $\Delta$ is the hallmark of the proposed method, as we will use it for optimal re-weighting of the factual loss term (next section). Note that this differs from Shalit et al. (2017)’s approach in that they do not distinguish between the independent factors $\Delta$ and $\Upsilon$ ; and minimizing the loss defined on only one factor $\Phi$ which might erroneously suggest discarding some of the confounders in $\Delta$ .
|
| 112 |
+
|
| 113 |
+
# 3.4 CROSS ENTROPY LOSS: $- \log \left[ \pi _ { 0 } \big ( t | \Gamma ( x ) , \Delta ( x ) \big ) \right]$
|
| 114 |
+
|
| 115 |
+
We model the logging policy as a logistic regression network parameterized by $\big [ W _ { 0 } , b _ { 0 } \big ]$ as follows: $\pi _ { 0 } \bigl ( t | \psi \bigr ) = \Bigl [ 1 + e ^ { - \bigl ( 2 t - 1 \bigr ) ( \psi \cdot W _ { 0 } + b _ { 0 } ) } \Bigr ] ^ { - 1 }$ , where $\psi$ is the concatenation of matrices $\Gamma$ and $\Delta$ Minimizing the cross entropy loss enforces learning $\Gamma$ and $\Delta$ in a way that allows $\pi _ { 0 } ( \cdot )$ to predict the assigned treatments. In other words, the union of the learned representations of $\Gamma$ and $\Delta$ retain enough information to recover the logging policy that guided the treatment assignments.
|
| 116 |
+
|
| 117 |
+
# 4 EXPERIMENTS
|
| 118 |
+
|
| 119 |
+
# 4.1 BENCHMARKS
|
| 120 |
+
|
| 121 |
+
Evaluating treatment effect estimation methods is problematic on real-world datasets since, as mentioned earlier, their counterfactual outcomes are inherently unobservable. A common solution is to synthesize datasets where the outcomes of all possible treatments are available, then discard some outcomes to create a proper observational dataset with characteristics (such as selection bias) similar to a real-world one – cf., (Beygelzimer & Langford, 2009; Hassanpour & Greiner, 2018). In this work, we use two such benchmarks: our synthetic series of datasets as well as a publicly available benchmark: the Infant Health and Development Program (IHDP) (Hill, 2011).
|
| 122 |
+
|
| 123 |
+
# 4.1.1 SYNTHETIC DATASETS
|
| 124 |
+
|
| 125 |
+
We generated our synthetic datasets according to the following process, which takes as input the sample size $N$ ; dimensionalities $[ m _ { \Gamma } , m _ { \Delta } , m _ { \Upsilon } ] \in \mathcal { Z } ^ { + ( 3 ) }$ ; for each factor $L \in \{ \Gamma , \Delta , \Upsilon \}$ , the means and covariance matrices $\left( \mu _ { L } , \Sigma _ { L } \right)$ ; and a scalar $\zeta$ that determines the slope of the logistic curve.
|
| 126 |
+
|
| 127 |
+
• For each latent factor $L \in \{ \Gamma , \Delta , \Upsilon \}$
|
| 128 |
+
|
| 129 |
+
– Form $L$ by drawing $N$ instances (each of size $m _ { L }$ ) from $\mathcal { N } ( \mu _ { L } , \Sigma _ { L } )$ ,
|
| 130 |
+
– Concatenate $\Gamma , \Delta$ , and $\Upsilon$ to make the covariates matrix $X$ [of size $N \times ( m _ { \Gamma } + m _ { \Delta } + m _ { \Upsilon } ) ]$
|
| 131 |
+
– Concatenate $\Gamma$ and $\Delta$ to make $\Psi$ [of size $N \times \left( m _ { \Gamma } + m _ { \Delta } \right) ]$
|
| 132 |
+
– Concatenate $\Delta$ and $\Upsilon$ to make $\Phi$ [of size $N \times ( m _ { \Delta } + m _ { \Upsilon } ) ]$
|
| 133 |
+
|
| 134 |
+
• For treatment $T$
|
| 135 |
+
|
| 136 |
+
– Sample $m _ { \Gamma } + m _ { \Delta }$ tuple of coefficients $\theta$ from $\mathcal { N } ( 0 , 1 ) ^ { m _ { \Gamma } + m _ { \Delta } }$
|
| 137 |
+
– Define the logging policy as $\begin{array} { r } { \pi _ { 0 } ( t = 1 | z ) = \frac { 1 } { 1 + \exp ( - \zeta z ) } } \end{array}$ , where $z = \Psi \cdot \theta$
|
| 138 |
+
– For each instance $x _ { i }$ , sample treatment $t _ { i }$ from the Bernoulli distribution with parameter $\pi _ { 0 } ( t = 1 | z _ { i } )$
|
| 139 |
+
|
| 140 |
+
• For outcomes $Y ^ { 0 }$ and $Y ^ { 1 }$ :
|
| 141 |
+
|
| 142 |
+
– Sample $m _ { \Delta } + m _ { \Upsilon }$ tuple of coefficients $\vartheta ^ { 0 }$ and $\vartheta ^ { 1 }$ from $\mathcal { N } ( 0 , 1 ) ^ { m _ { \Delta } + m _ { \Upsilon } }$ – Define $y ^ { 0 } = ( \Phi \circ \Phi \circ \Phi + 0 . 5 ) \cdot \vartheta ^ { 0 } / ( m _ { \Delta } + m _ { \Upsilon } ) + \varepsilon$ and $y ^ { 1 } = ( \Phi \circ \Phi ) \cdot \vartheta ^ { 1 } / ( m _ { \Delta } + m \Upsilon ) + \varepsilon ,$ , where $\varepsilon$ is a white noise sampled from $\mathcal { N } ( 0 , 0 . 1 )$ and $\circ$ is the symbol for element-wise (Hadamard/Schur) product.
|
| 143 |
+
|
| 144 |
+
We considered all the viable datasets in a mesh generated by $m _ { \Gamma } , m _ { \Delta } , m _ { \Upsilon } \in \{ 0 , 4 , 8 \}$ . This creates 24 scenarios4 that consider all possible situations in terms of the relative sizes of the factors $\Gamma , \Delta$ , and $\Upsilon$ . For each scenario, we synthesized five datasets with various initial random seeds.
|
| 145 |
+
|
| 146 |
+
# 4.1.2 INFANT HEALTH AND DEVELOPMENT PROGRAM (IHDP)
|
| 147 |
+
|
| 148 |
+
The original RCT data was designed to evaluate the effect of specialist home visits on future cognitive test scores of premature infants. Hill (2011) induced selection bias by removing a non-random subset of the treated population to create a realistic observational dataset. The resulting dataset contains 747 instances (608 control, 139 treated) with 25 covariates. We run our experiments on the same benchmark (100 realizations of outcomes) provided by and used in (Johansson et al., 2016; Shalit
|
| 149 |
+
|
| 150 |
+

|
| 151 |
+
|
| 152 |
+
(a) Slice of the weights matrix that connects {the variables in $X$ belonging to $\Gamma$ } to {the first layer of the representation network that attempts to identify $\Gamma \}$ . The size of this slice is $m _ { \Gamma } \times K$ .
|
| 153 |
+
|
| 154 |
+

|
| 155 |
+
(b) Slice of the weights matrix that connects {the variables in $X$ not belonging to $\Gamma \}$ to {the first layer of the representation network that attempts to identify $\Gamma$ }. The size of this slice is $( m _ { \Delta } + m _ { \Upsilon } ) \times K$ .
|
| 156 |
+
|
| 157 |
+

|
| 158 |
+
Figure 4: Visualization of slicing the learned weights matrix in the first layer of the representation network (number of neurons: $K$ ) for identifying $\Gamma$ (best viewed in color).
|
| 159 |
+
Figure 5: Radar charts that visualize the capability of DR-CFR in identifying the underlying factors $\Gamma , \Delta$ , and $\Upsilon$ . Each vertex on the polygons is identified with the factors’ dimension sequence $( m _ { \Gamma } \underline { { { m } } } _ { \Delta \underline { { { - } } } } m \underline { { { \Upsilon } } } )$ of the associated synthetic dataset. The polygons’ radii are scaled between $0 { : } 0 . 0 9$ and quantify the average weights of the first slice (in dotted magenta) and the second slice (in cyan).
|
| 160 |
+
|
| 161 |
+
et al., 2017). Outcomes of this semi-synthetic benchmark were simulated according to response surfaces provided in the Non-Parametric Causal Inference (NPCI) package (Dorie, 2016).
|
| 162 |
+
|
| 163 |
+
# 4.2 RESULTS AND DISCUSSIONS
|
| 164 |
+
|
| 165 |
+
# 4.2.1 EVALUATING IDENTIFICATION OF FACTORS $\{ \Gamma , \Delta , \Upsilon \}$
|
| 166 |
+
|
| 167 |
+
First, we want to determine if the proposed method is able to identify the variables that belong to each underlying factor. To do so, we look at the weight matrix in the first layer of each representation network, which is of size $( m _ { \Gamma } + m _ { \Delta } + m _ { \Upsilon } ) \times K$ , where $K$ is the number of neurons in the first hidden layer of the respective representation network. For example, to check if $\Gamma$ is identified properly, we partition the weights matrix into two slices, as shown in Figure 4, and calculate the average of each slice. The first slice [referred to as $\mathbf { S } _ { \Gamma }$ ; highlighted in Figure 4(a)] pertains to “ Γ’s ground truth variables in $X ^ { \dag }$ and the second slice $[ S _ { \neg \Gamma }$ ; Figure 4(b)] pertains to “variables in $X$ that do not belong to $\Gamma ^ { \ast }$ . Constructing $\mathbf { S } _ { \Delta }$ , $\mathbf { S } _ { \lnot \Delta }$ , $\mathtt { S } _ { \mathtt { Y } }$ , and $\mathbf { S } _ { \neg \Upsilon }$ follow a similar procedure.
|
| 168 |
+
|
| 169 |
+
If the proposed method achieves a good identification, then we expect the average of the absolute values of weights in $\mathrm { \bf S _ { \mathrm { { T } } } }$ should be higher than that of $\mathbf { S } _ { \lnot \Gamma }$ ; this same claim should hold for $( \mathsf { S } _ { \Delta } , \mathsf { S } _ { \neg \Delta } )$ and $( \mathsf { S r } , \mathsf { S } _ { \neg \Upsilon } )$ as well. Note that only the relative relationships between the average weights in either of the slices matter; since this analysis is aimed at checking whether, for example, for identifying $\Gamma$ , its respective representation network has indeed learned to emphasize on “Γ’s ground truth variables in $X$ ” more than the other variables in $X$ . Figure 5 illustrates the identification performance of DR-CFR according to this analysis; showing empirically that the proposed method successfully identifies all the three underlying factors, for all synthetic datasets.
|
| 170 |
+
|
| 171 |
+

|
| 172 |
+
Figure 6: Radar charts for visualizing the PEHE performance results on the synthetic datasets. Training sample size on the left chart is 2,500 and on the right chart is 10,000. Each vertex on the polygons is identified with the factors’ dimension sequence $( m _ { \Gamma _ { - } } m _ { \Delta _ { - } } m _ { \Upsilon } )$ of the associated group of datasets. The polygons’ radii are scaled between $0 : 0 . 8$ to quantify the PEHE values (i.e., the closer to the centre, the smaller the PEHE). The dashed purple curve illustrates the results of the proposed method.
|
| 173 |
+
|
| 174 |
+
# 4.2.2 EVALUATING ESTIMATION OF TREATMENT EFFECTS
|
| 175 |
+
|
| 176 |
+
Given a synthetic dataset (that include both factual as well as counterfactual outcomes), one can evaluate treatment effect estimation methods with two types of performance measures:
|
| 177 |
+
|
| 178 |
+
• Individual-based: “Precision in Estimation of Heterogeneous Effect” $\begin{array} { r } { \mathrm { P E H E } { = } \sqrt { \frac { 1 } { N } \sum _ { i = 1 } ^ { N } \left( \hat { \mathbf { e } } _ { i } - \mathbf { e } _ { i } \right) ^ { 2 } } } \end{array}$ where $\hat { \mathbf { e } } _ { i } = \hat { y } _ { i } ^ { 1 } - \hat { y } _ { i } ^ { 0 }$ is the predicted effect and $\mathbf { e } _ { i } = y _ { i } ^ { 1 } - y _ { i } ^ { 0 }$ is the true effect. • Population-based: “Bias of the Average Treatment Effect” $\epsilon _ { \mathrm { A T E } } = \left| { \mathrm { A T E } } - { \widehat { \mathrm { A T E } } } \right|$ where $\mathrm { A T E = }$ $\begin{array} { r } { \frac { 1 } { N } \sum _ { i = 1 } ^ { N } y _ { i } ^ { 1 } - \frac { 1 } { N } \sum _ { j = 1 } ^ { N } y _ { j } ^ { 0 } } \end{array}$ in which $y _ { i } ^ { 1 }$ and $y _ { j } ^ { 0 }$ are the true outcomes for the respective treatments and $\widehat { \mathrm { A T E } }$ is calculated based on the estimated outcomes.
|
| 179 |
+
|
| 180 |
+
In this paper, we compare performances of the following treatment effect estimation methods: 5
|
| 181 |
+
|
| 182 |
+
• CFR: CounterFactual Regression (Shalit et al., 2017).
|
| 183 |
+
• CFR-ISW: CFR with Importance Sampling Weights (Hassanpour & Greiner, 2019).
|
| 184 |
+
• SITE: Similarity preserved Individual Treatment Effect (Yao et al., 2018).
|
| 185 |
+
• DR-CFR: Disentangled Representations for CFR – our proposed method.
|
| 186 |
+
|
| 187 |
+
Figure 6 visualizes the PEHE measures in radar charts for these four methods, trained with datasets of size $N = 2 { , } 5 0 0$ (left) and $N { = } 1 0 { , } 0 0 0$ (right). As expected, all methods perform better with observing more training data; however, DR-CFR took the most advantage by reducing PEHE the most (by 0.15, going down from 0.60 to 0.45), while CFR, CFR-ISW, and SITE reduced PEHE by 0.07, 0.08, and 0.08 respectively.
|
| 188 |
+
|
| 189 |
+
Table 1 summarizes the PEHE and $\epsilon _ { \mathrm { A T E } }$ measures (lower is better) for all scenarios, in terms of mean and standard deviation of all the $2 4 \times 5$ datasets, in order to give a unified view on the performance.
|
| 190 |
+
|
| 191 |
+
Table 2: IHDP datasets (100 with $N { = } 7 4 7$ )
|
| 192 |
+
|
| 193 |
+
<table><tr><td>Methods</td><td>PEHE</td><td>EATE</td></tr><tr><td>CFR</td><td>0.81 (0.30)</td><td>0.13 (0.12)</td></tr><tr><td>CFR-ISW</td><td>0.73 (0.28)</td><td>0.11 (0.10)</td></tr><tr><td>SITE</td><td>0.73 (0.33)</td><td>0.10 (0.09)</td></tr><tr><td>DR-CFR</td><td>0.65 (0.37)</td><td>0.03 (0.04)</td></tr></table>
|
| 194 |
+
|
| 195 |
+
Table 1: Synthetic datasets $2 4 \times 5$ with $N = 1 0 , 0 0 0 )$
|
| 196 |
+
|
| 197 |
+
<table><tr><td>Methods</td><td>PEHE</td><td>EATE</td></tr><tr><td>CFR</td><td>0.61 (0.05)</td><td>0.021 (0.018)</td></tr><tr><td>CFR-ISW</td><td>0.58 (0.06)</td><td>0.017 (0.009)</td></tr><tr><td>SITE</td><td>0.63 (0.05)</td><td>0.035 (0.039)</td></tr><tr><td>DR-CFR</td><td>0.45 (0.11)</td><td>0.013 (0.006)</td></tr></table>
|
| 198 |
+
|
| 199 |
+
PEHE and $\epsilon _ { \mathrm { A T E } }$ measures (lower is better) represented in the form of “mean (standard deviation)”.
|
| 200 |
+
|
| 201 |
+
DR-CFR achieves the best performance among the contending methods. These results are statistically significant based on the Welch’s unpaired t-test with $\alpha { = } 0 . 0 5$ . Table 2 summarizes the PEHE and $\epsilon _ { \mathrm { A T E } }$ measures on the IHDP benchmark. The results are reported in terms of mean and standard deviation over the 100 datasets with various realizations of outcomes. Again, DR-CFR achieves the best performance (statistically significant for $\epsilon _ { \mathrm { A T E } }$ ) among the contending methods.
|
| 202 |
+
|
| 203 |
+
# 5 FUTURE WORKS AND CONCLUSION
|
| 204 |
+
|
| 205 |
+
The majority of methods proposed to estimate treatment effects – including this work – fall under the category of discriminative approaches. A promising direction is to consider developing generative models, in an attempt to shed light on the true underlying data generating mechanism. Perhaps this could also facilitate generating new, virtual, yet realistic data instances – similar to what is done in computer vision. Louizos et al. (2017)’s method is a notable generative approach, which uses Variational Auto-Encoder (VAE) to extract latent confounders from their observed proxies. While that work is an interesting step in that direction, it is not yet capable of addressing the problem of selection bias. We believe that our proposed perspective on the problem can be helpful to solve this open question. This is left to future work.
|
| 206 |
+
|
| 207 |
+
In this paper, we studied the problem of estimating treatment effect from observational studies. We argued that not all factors in the observed covariates $X$ might contribute to the procedure of selecting treatment $T$ , or more importantly, determining the outcomes $Y$ . We modeled this using three underlying sources of $X$ , $T$ , and $Y$ , and showed that explicit identification of these sources offers great insight to help us design models that better handle selection bias in observational datasets. We proposed an algorithm, Disentangled Representations for CounterFactual Regression (DR-CFR), that can (1) identify disentangled representations of the above-mentioned underlying sources and (2) leverage this knowledge to reduce as well as account for the negative impact of selection bias on estimating the treatment effects from observational data. Our empirical results showed that the proposed method achieves state-of-the-art performance in both individual and population based evaluation measures.
|
| 208 |
+
|
| 209 |
+
# ACKNOWLEDGEMENTS
|
| 210 |
+
|
| 211 |
+
The authors gratefully acknowledge financial support from Natural Sciences and Engineering Research Council of Canada (NSERC) and Alberta Machine Intelligence Institute (Amii). We wish to thank Dr. Pouria Ramazi and Shivam Raj for fruitful conversations, and Dr. Fredrik Johansson for publishing/maintaining the code-base for the CFR method online. We also would like to thank the ICLR 2020 anonymous reviewers, as well as Dr. Kun Kuang and Tianle Liu, for their valuable reviews, which helped improve this paper.
|
| 212 |
+
|
| 213 |
+
# REFERENCES
|
| 214 |
+
|
| 215 |
+
Peter C Austin. An introduction to propensity score methods for reducing the effects of confounding in observational studies. Multivariate Behavioral Research, 46(3):399–424, 2011.
|
| 216 |
+
|
| 217 |
+
Yoshua Bengio, Aaron Courville, and Pascal Vincent. Representation learning: A review and new perspectives. IEEE TPAMI, 35(8):1798–1828, 2013.
|
| 218 |
+
|
| 219 |
+
Alina Beygelzimer and John Langford. The offset tree for learning with partial labels. In ACM SIGKDD. ACM, 2009.
|
| 220 |
+
|
| 221 |
+
Léon Bottou, Jonas Peters, Joaquin Quinonero Candela, Denis Xavier Charles, Max Chickering, Elon Portugaly, Dipankar Ray, Patrice Y Simard, and Ed Snelson. Counterfactual reasoning and learning systems: The example of computational advertising. JMLR, 14(1), 2013.
|
| 222 |
+
|
| 223 |
+
Vincent Dorie. NPCI: Non-parametrics for causal inference, 2016. https://github.com/ vdorie/npci.
|
| 224 |
+
|
| 225 |
+
Arthur Gretton, Karsten M Borgwardt, Malte J Rasch, Bernhard Schölkopf, and Alexander Smola. A kernel two-sample test. JMLR, 13(Mar):723–773, 2012.
|
| 226 |
+
|
| 227 |
+
Negar Hassanpour and Russell Greiner. A novel evaluation methodology for assessing off-policy learning methods in contextual bandits. In Canadian AI, pp. 31–44, 2018.
|
| 228 |
+
|
| 229 |
+
Negar Hassanpour and Russell Greiner. Counterfactual regression with importance sampling weights. In IJCAI, pp. 5880–5887, 7 2019.
|
| 230 |
+
|
| 231 |
+
Jennifer L Hill. Bayesian nonparametric modeling for causal inference. Journal of Computational and Graphical Statistics, 20(1):217–240, 2011.
|
| 232 |
+
|
| 233 |
+
Guido W Imbens. Nonparametric estimation of average treatment effects under exogeneity: A review. Review of Economics and Statistics, 86(1):4–29, 2004.
|
| 234 |
+
|
| 235 |
+
Guido W. Imbens and Donald B. Rubin. Causal Inference for Statistics, Social, and Biomedical Sciences: An Introduction. Cambridge University Press, 2015.
|
| 236 |
+
|
| 237 |
+
Guido W Imbens and Jeffrey M Wooldridge. Recent developments in the econometrics of program evaluation. Journal of Economic Literature, 47(1):5–86, 2009.
|
| 238 |
+
|
| 239 |
+
Fredrik Johansson, Uri Shalit, and David Sontag. Learning representations for counterfactual inference. In ICML, pp. 3020–3029, 2016.
|
| 240 |
+
|
| 241 |
+
Kun Kuang, Peng Cui, Bo Li, Meng Jiang, Shiqiang Yang, and Fei Wang. Treatment effect estimation with data-driven variable decomposition. In AAAI, 2017.
|
| 242 |
+
|
| 243 |
+
Christos Louizos, Uri Shalit, Joris M Mooij, David Sontag, Richard Zemel, and Max Welling. Causal effect inference with deep latent-variable models. In NeurIPS, pp. 6446–6456. 2017.
|
| 244 |
+
|
| 245 |
+
Yishay Mansour, Mehryar Mohri, and Afshin Rostamizadeh. Domain adaptation: Learning bounds and algorithms. arXiv preprint arXiv:0902.3430, 2009.
|
| 246 |
+
|
| 247 |
+
Judea Pearl. Causality. Cambridge University Press, 2009.
|
| 248 |
+
|
| 249 |
+
Paul R Rosenbaum and Donald B Rubin. The central role of the propensity score in observational studies for causal effects. Biometrika, 1983.
|
| 250 |
+
|
| 251 |
+
Donald B Rubin. Estimating causal effects of treatments in randomized and nonrandomized studies. Journal of Educational Psychology, 66(5):688, 1974.
|
| 252 |
+
|
| 253 |
+
Uri Shalit, Fredrik D. Johansson, and David Sontag. Estimating individual treatment effect: Generalization bounds and algorithms. In ICML, pp. 3076–3085, 2017.
|
| 254 |
+
|
| 255 |
+
Hidetoshi Shimodaira. Improving predictive inference under covariate shift by weighting the loglikelihood function. Journal of Statistical Planning And Inference, 90(2), 2000.
|
| 256 |
+
|
| 257 |
+
Richard S Sutton and Andrew G Barto. Reinforcement Learning: An Introduction, volume 1. MIT Press Cambridge, 1998.
|
| 258 |
+
|
| 259 |
+
Adith Swaminathan and Thorsten Joachims. Batch learning from logged bandit feedback through counterfactual risk minimization. JMLR, 16, 2015a.
|
| 260 |
+
|
| 261 |
+
Adith Swaminathan and Thorsten Joachims. Counterfactual risk minimization: Learning from logged bandit feedback. In ICML, 2015b.
|
| 262 |
+
|
| 263 |
+
Adith Swaminathan and Thorsten Joachims. The self-normalized estimator for counterfactual learning. In NeurIPS, 2015c.
|
| 264 |
+
|
| 265 |
+
Liuyi Yao, Sheng Li, Yaliang Li, Mengdi Huai, Jing Gao, and Aidong Zhang. Representation learning for treatment effect estimation from observational data. In NeurIPS, pp. 2633–2643, 2018.
|
parse/train/HkxBJT4YvB/HkxBJT4YvB_content_list.json
ADDED
|
@@ -0,0 +1,1389 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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ENTANGLED REPRESENTATIONS FORCOUNTERFACTUAL REGRESSION",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
174,
|
| 8 |
+
98,
|
| 9 |
+
821,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Negar Hassanpour & Russell Greiner ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
184,
|
| 19 |
+
170,
|
| 20 |
+
447,
|
| 21 |
+
184
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Department of Computing Science University of Alberta Edmonton, Alberta, T6G 2E8, CANADA {hassanpo,rgreiner}@ualberta.ca ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
184,
|
| 30 |
+
185,
|
| 31 |
+
488,
|
| 32 |
+
239
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "ABSTRACT ",
|
| 39 |
+
"text_level": 1,
|
| 40 |
+
"bbox": [
|
| 41 |
+
454,
|
| 42 |
+
276,
|
| 43 |
+
544,
|
| 44 |
+
291
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "We consider the challenge of estimating treatment effects from observational data; and point out that, in general, only some factors based on the observed covariates $X$ contribute to selection of the treatment $T$ , and only some to determining the outcomes $Y$ . We model this by considering three underlying sources of $\\{ X , T , Y \\}$ and show that explicitly modeling these sources offers great insight to guide designing models that better handle selection bias in observational datasets. This paper is an attempt to conceptualize this line of thought and provide a path to explore it further. ",
|
| 51 |
+
"bbox": [
|
| 52 |
+
232,
|
| 53 |
+
311,
|
| 54 |
+
766,
|
| 55 |
+
422
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "In this work, we propose an algorithm to (1) identify disentangled representations of the above-mentioned underlying factors from any given observational dataset $\\mathcal { D }$ and (2) leverage this knowledge to reduce, as well as account for, the negative impact of selection bias on estimating the treatment effects from $\\mathcal { D }$ . Our empirical results show that the proposed method achieves state-of-the-art performance in both individual and population based evaluation measures. ",
|
| 62 |
+
"bbox": [
|
| 63 |
+
232,
|
| 64 |
+
428,
|
| 65 |
+
764,
|
| 66 |
+
511
|
| 67 |
+
],
|
| 68 |
+
"page_idx": 0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"type": "text",
|
| 72 |
+
"text": "1 INTRODUCTION ",
|
| 73 |
+
"text_level": 1,
|
| 74 |
+
"bbox": [
|
| 75 |
+
176,
|
| 76 |
+
547,
|
| 77 |
+
336,
|
| 78 |
+
564
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "As we rely more and more on artificial intelligence (AI) to automate the decision making processes, accurately estimating the causal effects of taking different actions gains an essential role. A prominent example is precision medicine $- i . e .$ , the customization of health-care tailored to each individual patient – which attempts to identify which medical procedure $t \\in \\tau$ will benefit a certain patient $x$ the most, in terms of the treatment outcome $y \\in \\mathbb { R }$ . Learning such models requires answering counterfactual questions (Rubin, 1974; Pearl, 2009) such as: “Would this patient have lived longer [and by how much], had she received an alternative treatment?”. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
582,
|
| 88 |
+
825,
|
| 89 |
+
680
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "For notation: a dataset $\\mathcal { D } = \\{ [ x _ { i } , t _ { i } , y _ { i } ] \\} _ { i = 1 } ^ { N }$ used for treatment effect estimation has the following format: for the $i ^ { t h }$ instance (e.g., patient), we have some context information $x _ { i } \\in \\mathcal { X } \\subseteq \\mathbb { R } ^ { K }$ (e.g., age, BMI, blood work, etc.), the administered treatment $t _ { i }$ chosen from a set of treatment options $\\tau$ (e.g., {0: medication, 1: surgery}), and the respective observed outcome $y _ { i } \\in \\mathcal { V }$ (e.g., survival time; $\\mathcal { V } \\subseteq \\mathbb { R } ^ { + }$ ) as a result of receiving treatment $t _ { i }$ . Note that $\\mathcal { D }$ only contains the outcome of the administered treatment (aka observed outcome: $y _ { i }$ ), but not the outcome(s) of the alternative treatment(s) (aka counterfactual outcome(s): $y _ { i } ^ { t }$ for $t \\in \\mathcal { T } \\backslash \\{ t _ { i } \\} )$ , which are inherently unobservable. For the binary-treatment case, we denote the alternative treatment as $\\neg t _ { i } = 1 - t _ { i }$ . ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
173,
|
| 98 |
+
686,
|
| 99 |
+
825,
|
| 100 |
+
803
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "Pearl (2009) demonstrates that, in general, causal relationships can only be learned by experimentation (on-line exploration), or running a Randomized Controlled Trial (RCT), where the treatment assignment does not depend on the individual $X - { \\mathsf { s e e } }$ Figure 1(a). In many cases, however, this is expensive, unethical, or even infeasible. Here, we are forced to approximate treatment effects from off-line datasets collected through Observational Studies. In such datasets, the administered treatment $T$ depends on some or all attributes of individual $X - { \\mathsf { s e e } }$ Figure 1(b). Here, as $\\operatorname* { P r } ( T | X ) \\neq \\operatorname* { P r } ( T )$ , we say these datasets exhibit selection bias (Imbens & Rubin, 2015). Figure 2 illustrates selection bias in an example (synthetic) observational dataset. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
809,
|
| 110 |
+
825,
|
| 111 |
+
921
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "image",
|
| 117 |
+
"img_path": "images/804931ee0a86072e180e54476d4cb5e1b5989772aed93046a37acc8d41743137.jpg",
|
| 118 |
+
"image_caption": [
|
| 119 |
+
"Figure 1: Belief net structure for randomized controlled trials and observational studies. Here, ${ Y ^ { \\overline { { 0 } } } } ( { Y ^ { 1 } } )$ is the outcome of applying $T =$ treatment#0 (#1) to the individual represented by $X$ . "
|
| 120 |
+
],
|
| 121 |
+
"image_footnote": [],
|
| 122 |
+
"bbox": [
|
| 123 |
+
250,
|
| 124 |
+
104,
|
| 125 |
+
746,
|
| 126 |
+
199
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "Here, we want to accurately estimate the Individual Treatment Effect (ITE) for each instance $i - i . e .$ , to estimate $\\mathbf { e } _ { i } = y _ { i } ^ { 1 } - y _ { i } ^ { 0 }$ . We frame the solution as learning the function $f : \\mathcal { X } \\times \\mathcal { T } \\mathcal { Y }$ that can accurately predict the outcomes (both observed $\\hat { y _ { i } } ^ { t _ { i } }$ as well as counterfactuals $\\hat { y _ { i } } ^ { \\lnot t _ { i } }$ ) given the context information $x _ { i }$ for each individual. As mentioned earlier, there are two challenges associated with estimating treatment effects: ",
|
| 133 |
+
"bbox": [
|
| 134 |
+
173,
|
| 135 |
+
276,
|
| 136 |
+
826,
|
| 137 |
+
349
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "(i) The fact that counterfactual outcomes are unobservable (i.e., not present in any training data) makes estimating treatment effects more difficult than the generalization problem in the supervised learning paradigm. This is an inherent characteristic of this task. \n(ii) Selection bias in observational datasets implies having fewer instances within each treatment arm at specific regions of the domain. This sparsity, in turn, would decrease the accuracy and confidence of predicting counterfactuals at those regions. ",
|
| 144 |
+
"bbox": [
|
| 145 |
+
166,
|
| 146 |
+
357,
|
| 147 |
+
826,
|
| 148 |
+
444
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "This paper addresses the second challenge by investigating the root causes of selection bias, by dissecting and identifying the underlying factors that can generate an observational dataset $\\mathcal { D }$ , and leveraging this knowledge to reduce, as well as account for, the negative impact of selection bias on estimating the treatment effects from $\\mathcal { D }$ . In this work, we borrow ideas from the representation learning literature (Bengio et al., 2013) in order to reduce selection bias and from the domain adaptation literature (Shimodaira, 2000) in order to account for the remainder selection bias that (might) still exist after its reduction. ",
|
| 155 |
+
"bbox": [
|
| 156 |
+
174,
|
| 157 |
+
453,
|
| 158 |
+
504,
|
| 159 |
+
632
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 1
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "text",
|
| 165 |
+
"text": "Our analysis relies on the following assumptions: Assumption 1: Unconfoundedness (Rosenbaum & Rubin, 1983) – There are no unobserved confounders (i.e., covariates that contribute to both treatment selection procedure as well as determination of outcomes). Formally, $\\{ Y ^ { t } \\} _ { t \\in { \\mathcal { T } } } \\bot T \\mid X$ . ",
|
| 166 |
+
"bbox": [
|
| 167 |
+
173,
|
| 168 |
+
640,
|
| 169 |
+
503,
|
| 170 |
+
723
|
| 171 |
+
],
|
| 172 |
+
"page_idx": 1
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"type": "text",
|
| 176 |
+
"text": "Assumption 2: Overlap (Imbens, 2004) – Every individual $x$ should have a non-zero chance of being assigned to any treatment arm. That is, ",
|
| 177 |
+
"bbox": [
|
| 178 |
+
173,
|
| 179 |
+
723,
|
| 180 |
+
504,
|
| 181 |
+
763
|
| 182 |
+
],
|
| 183 |
+
"page_idx": 1
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"type": "image",
|
| 187 |
+
"img_path": "images/39cec4ab6746698b4f4b0148329ec8c151b8a7bdc6461f3f11cfeef9f342e9da.jpg",
|
| 188 |
+
"image_caption": [
|
| 189 |
+
"Figure 2: An example observational dataset. Here, to treat heart disease, a doctor typically prescribes surgery $( t = 1 )$ to younger patients (•) and medication ${ \\bf \\boldsymbol { t } } = 0$ ) to older ones ${ \\bf \\Xi } ( { \\bf \\Lambda } )$ . Note that instances with larger (resp., smaller) $x$ values have a higher chance to be assigned to the $t = 0$ (resp., 1) treatment arm; hence we have selection bias. The counterfactual outcomes (only used for evaluation purpose) are illustrated by small $\\bullet ( \\mathbf { \\alpha } )$ for $\\neg t = 1$ (0). "
|
| 190 |
+
],
|
| 191 |
+
"image_footnote": [],
|
| 192 |
+
"bbox": [
|
| 193 |
+
524,
|
| 194 |
+
463,
|
| 195 |
+
816,
|
| 196 |
+
592
|
| 197 |
+
],
|
| 198 |
+
"page_idx": 1
|
| 199 |
+
},
|
| 200 |
+
{
|
| 201 |
+
"type": "text",
|
| 202 |
+
"text": "These two assumptions together are called strong ignorability (Rosenbaum & Rubin, 1983). Imbens & Wooldridge (2009) showed that strong ignorability is sufficient for ITE to be identifiable. ",
|
| 203 |
+
"bbox": [
|
| 204 |
+
174,
|
| 205 |
+
779,
|
| 206 |
+
823,
|
| 207 |
+
806
|
| 208 |
+
],
|
| 209 |
+
"page_idx": 1
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"type": "text",
|
| 213 |
+
"text": "Without loss of generality, we assume that the random variable $X$ follows a(n unknown) joint probability distribution $\\operatorname* { P r } ( X | \\Gamma , \\Delta , \\Upsilon )$ , treatment $T$ follows $\\mathrm { P r } ( T | \\Gamma , \\Delta )$ , and outcome $\\boldsymbol { Y } ^ { T }$ follows $\\mathrm { P r } _ { { \\cal T } } ( { \\cal Y } ^ { T } | \\Delta , \\Upsilon )$ , where $\\Gamma , \\Delta$ , and $\\Upsilon$ represent the three underlying factors1 that generate an observational dataset $\\mathcal { D }$ . The respective graphical model is illustrated in Figure 3. Conforming with the statements above, note that the graphical model also suggests that selection bias is induced by factors $\\Gamma$ and $\\Delta$ , where $\\Delta$ represents the confounding factors between $T$ and $Y$ . ",
|
| 214 |
+
"bbox": [
|
| 215 |
+
174,
|
| 216 |
+
813,
|
| 217 |
+
825,
|
| 218 |
+
862
|
| 219 |
+
],
|
| 220 |
+
"page_idx": 1
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"type": "text",
|
| 224 |
+
"text": "",
|
| 225 |
+
"bbox": [
|
| 226 |
+
174,
|
| 227 |
+
103,
|
| 228 |
+
825,
|
| 229 |
+
146
|
| 230 |
+
],
|
| 231 |
+
"page_idx": 2
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"type": "text",
|
| 235 |
+
"text": "Main contribution: We argue that explicit identification of the underlying factors $\\{ \\Gamma , \\Delta , \\Upsilon \\}$ in observational datasets offers great insight to guide designing models that better handle selection bias and consequently achieve better performance in terms of estimating ITEs. In this paper, we propose a model, named Disentangled Representations for CounterFactual Regression (DR-CFR), that is optimized to do exactly that. We also present experiments that demonstrate the advantages of this perspective; and show empirically that the proposed method outperforms state-of-the-art models in a variety of data generation scenarios with different dimensionality of factors; see below. ",
|
| 236 |
+
"bbox": [
|
| 237 |
+
174,
|
| 238 |
+
154,
|
| 239 |
+
485,
|
| 240 |
+
361
|
| 241 |
+
],
|
| 242 |
+
"page_idx": 2
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"type": "image",
|
| 246 |
+
"img_path": "images/929bc97930536c3a0d904fd3a178ca357f3b04ed0ea44330e957e4f277be2aff.jpg",
|
| 247 |
+
"image_caption": [
|
| 248 |
+
"Figure 3: Underlying factors of $X$ ; $\\Gamma$ $( \\Upsilon )$ are factors that partially determine only $T$ $( Y )$ but not the other random variable; and $\\Delta$ are confounders; Selection bias is induced by factors $\\Gamma$ and $\\Delta$ . "
|
| 249 |
+
],
|
| 250 |
+
"image_footnote": [],
|
| 251 |
+
"bbox": [
|
| 252 |
+
576,
|
| 253 |
+
157,
|
| 254 |
+
745,
|
| 255 |
+
277
|
| 256 |
+
],
|
| 257 |
+
"page_idx": 2
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"type": "text",
|
| 261 |
+
"text": "2 RELATED WORKS ",
|
| 262 |
+
"text_level": 1,
|
| 263 |
+
"bbox": [
|
| 264 |
+
176,
|
| 265 |
+
387,
|
| 266 |
+
352,
|
| 267 |
+
404
|
| 268 |
+
],
|
| 269 |
+
"page_idx": 2
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"type": "text",
|
| 273 |
+
"text": "Selection bias in observational datasets is equivalent to a domain adaptation scenario where a model is trained on a “source” (observed) data distribution, but should perform well on a “target” (counterfactual) one. Learning treatment effects from observational datasets is closely related to “off-policy learning from logged bandit feedback” – cf., (Swaminathan & Joachims, 2015a), whose goal is learning an optimal policy that selects the best personalized treatment for each individual. A common statistical solution is re-weighting certain data instances to balance the source and target distributions. The majority of re-weighting approaches belong to the Inverse Propensity Weighting (IPW) family of methods – cf., (Austin, 2011; Bottou et al., 2013; Swaminathan & Joachims, 2015c). While IPW methods are unbiased, they suffer from high variance. Swaminathan & Joachims (2015b) proposed the Counterfactual Risk Minimization (CRM) principle to alleviate this issue. In summary, re-weighting is an attempt to account for the selection bias. ",
|
| 274 |
+
"bbox": [
|
| 275 |
+
173,
|
| 276 |
+
424,
|
| 277 |
+
826,
|
| 278 |
+
577
|
| 279 |
+
],
|
| 280 |
+
"page_idx": 2
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"type": "text",
|
| 284 |
+
"text": "Johansson et al. (2016) is among the pioneer works that explored ways to use techniques from representation learning (Bengio et al., 2013) to reduce the selection bias. Shalit et al. (2017) present a refined version of (Johansson et al., 2016)’s method that learns a common representation space $\\Phi ( x ) = \\phi$ by minimizing the discrepancy (Mansour et al., 2009) (hereinafter “disc”) between the conditional distributions of $\\phi$ given $t = 0$ versus $\\phi$ , given $t = 1$ . That is, ",
|
| 285 |
+
"bbox": [
|
| 286 |
+
174,
|
| 287 |
+
583,
|
| 288 |
+
825,
|
| 289 |
+
654
|
| 290 |
+
],
|
| 291 |
+
"page_idx": 2
|
| 292 |
+
},
|
| 293 |
+
{
|
| 294 |
+
"type": "equation",
|
| 295 |
+
"img_path": "images/0ecc9f3a92f99c1f757c87eb2e2fd3c14dce0ad4e147c465374da3ba5110eb1c.jpg",
|
| 296 |
+
"text": "$$\n\\mathsf { d i s c } \\Big ( \\big \\{ \\Phi ( x _ { i } ) \\big \\} _ { i : t _ { i } = 0 } , \\big \\{ \\Phi ( x _ { i } ) \\big \\} _ { i : t _ { i } = 1 } \\Big )\n$$",
|
| 297 |
+
"text_format": "latex",
|
| 298 |
+
"bbox": [
|
| 299 |
+
369,
|
| 300 |
+
666,
|
| 301 |
+
627,
|
| 302 |
+
694
|
| 303 |
+
],
|
| 304 |
+
"page_idx": 2
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"type": "text",
|
| 308 |
+
"text": "which is (effectively) a regularization term that attempts to reduce selection bias in the learned representation. On top of this representation learning network, they trained two regression networks $h ^ { t } ( \\phi )$ – one for each treatment arm $( t \\in \\{ 0 , 1 \\} )$ ) – that predict the outcomes. ",
|
| 309 |
+
"bbox": [
|
| 310 |
+
174,
|
| 311 |
+
705,
|
| 312 |
+
825,
|
| 313 |
+
748
|
| 314 |
+
],
|
| 315 |
+
"page_idx": 2
|
| 316 |
+
},
|
| 317 |
+
{
|
| 318 |
+
"type": "text",
|
| 319 |
+
"text": "Hassanpour & Greiner (2019) argued that the learned representation cannot and should not remove all the selection bias, as the confounders not only contribute to choosing a treatment but also to determining the respective outcomes.2 As a result, where there are confounders (which is a common situation), even $\\phi$ would exhibit some selection bias, although less than that in the original domain $x$ They built on the work of (Shalit et al., 2017) by introducing context-aware importance sampling weights, that attempt to account for the above-mentioned remainder selection bias. These weights ",
|
| 320 |
+
"bbox": [
|
| 321 |
+
173,
|
| 322 |
+
753,
|
| 323 |
+
825,
|
| 324 |
+
825
|
| 325 |
+
],
|
| 326 |
+
"page_idx": 2
|
| 327 |
+
},
|
| 328 |
+
{
|
| 329 |
+
"type": "text",
|
| 330 |
+
"text": "",
|
| 331 |
+
"bbox": [
|
| 332 |
+
168,
|
| 333 |
+
103,
|
| 334 |
+
813,
|
| 335 |
+
118
|
| 336 |
+
],
|
| 337 |
+
"page_idx": 3
|
| 338 |
+
},
|
| 339 |
+
{
|
| 340 |
+
"type": "equation",
|
| 341 |
+
"img_path": "images/158f5579e03c69fdaa0d9bd51c94f0b7dd333869d6114bb087d24c6176b70ff3.jpg",
|
| 342 |
+
"text": "$$\n\\omega _ { i } = 1 + { \\frac { \\operatorname* { P r } ( \\phi _ { i } \\mid \\neg t _ { i } ) } { \\operatorname* { P r } ( \\phi _ { i } \\mid t _ { i } ) } } = 1 + { \\frac { \\operatorname* { P r } ( t _ { i } ) } { 1 - \\operatorname* { P r } ( t _ { i } ) } } \\cdot { \\frac { 1 - \\pi { \\bigl ( } t _ { i } \\mid \\phi _ { i } { \\bigr ) } } { \\pi { \\bigl ( } t _ { i } \\mid \\phi _ { i } { \\bigr ) } } }\n$$",
|
| 343 |
+
"text_format": "latex",
|
| 344 |
+
"bbox": [
|
| 345 |
+
297,
|
| 346 |
+
131,
|
| 347 |
+
699,
|
| 348 |
+
169
|
| 349 |
+
],
|
| 350 |
+
"page_idx": 3
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"type": "text",
|
| 354 |
+
"text": "are designed to enhance performance of estimating both factual as well as counterfacual outcomes (by the 1 and $\\frac { \\operatorname* { P r } ( \\phi \\mid \\lnot t ) } { \\operatorname* { P r } ( \\phi \\mid t ) }$ terms, respectively), where $\\pi ( t _ { i } | \\phi _ { i } )$ is the probability of assigning the observed $t _ { i }$ conditioned on the learned context $\\phi _ { i }$ . ",
|
| 355 |
+
"bbox": [
|
| 356 |
+
174,
|
| 357 |
+
181,
|
| 358 |
+
825,
|
| 359 |
+
229
|
| 360 |
+
],
|
| 361 |
+
"page_idx": 3
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"type": "text",
|
| 365 |
+
"text": "Note that both (Shalit et al., 2017) and (Hassanpour & Greiner, 2019) use $\\Phi$ to model the concatenation of factors $\\Delta$ and $\\Upsilon$ (see Figure 3). Although it does make sense that there should be no discrepancy between conditional distributions of $\\Upsilon$ , the $\\Delta$ factor should model the confounding factors, which by definition, must embed some information about treatment assignment. This would result in a positive discrepancy between conditional distributions of $\\Delta$ that should not be minimized. Thus, minimizing Equation (1) with respect to $\\Phi$ can lead to problematic results as it discards some of the confounders. ",
|
| 366 |
+
"bbox": [
|
| 367 |
+
174,
|
| 368 |
+
234,
|
| 369 |
+
825,
|
| 370 |
+
320
|
| 371 |
+
],
|
| 372 |
+
"page_idx": 3
|
| 373 |
+
},
|
| 374 |
+
{
|
| 375 |
+
"type": "text",
|
| 376 |
+
"text": "Yao et al. (2018) proposed the Similarity preserved Individual Treatment Effect (SITE) method, which extends Shalit et al. (2017)’s framework by adding a local similarity preserving component. This component acts as a regularization term, that attempts to retain the same neighbourhood relationships in the learned representation space as exhibited in the original space, by matching the propensity scores $\\operatorname* { P r } ( t = 1 | \\bar { \\boldsymbol { x } } )$ and $\\textstyle \\operatorname* { P r } ( t = { \\bar { 1 } } | \\phi )$ . This, however, results in learning sub-optimal representations when $\\Gamma \\neq \\emptyset$ as SITE tries to keep instances whose $\\Gamma \\mathrm { s }$ are far apart, also far apart in $\\phi$ . In other words, this component penalizes reducing selection bias in $\\phi$ by not discarding the irrelevant information present in $\\Gamma$ even when it does not hurt the outcome estimation at all. ",
|
| 377 |
+
"bbox": [
|
| 378 |
+
173,
|
| 379 |
+
325,
|
| 380 |
+
825,
|
| 381 |
+
438
|
| 382 |
+
],
|
| 383 |
+
"page_idx": 3
|
| 384 |
+
},
|
| 385 |
+
{
|
| 386 |
+
"type": "text",
|
| 387 |
+
"text": "Our work has many similarities to (Kuang et al., 2017), who decomposed $X$ into two subsets: confounding and adjustment variables, which are similar to our $\\Delta$ and $\\Upsilon$ factors respectively. They then used an optimization algorithm for identifying these variables, to ultimately find an unbiased estimate of the Average Treatment Effect (ATE). We extend their work in three ways: (i) In addition to confounders and adjustment variables, we also identify the factors that determine the treatment and have no effect on the outcome (i.e., Γ). (ii) Unlike (Kuang et al., 2017) that take a linear approach by tagging the raw features as either confounders or adjustment variables, our proposed method has the capacity to learn [non-linear] representations of the underlying factors. (iii) Our method facilitates estimating both ATE as well ITE, whereas (Kuang et al., 2017) cannot provide estimates of ITEs. ",
|
| 388 |
+
"bbox": [
|
| 389 |
+
173,
|
| 390 |
+
444,
|
| 391 |
+
825,
|
| 392 |
+
570
|
| 393 |
+
],
|
| 394 |
+
"page_idx": 3
|
| 395 |
+
},
|
| 396 |
+
{
|
| 397 |
+
"type": "text",
|
| 398 |
+
"text": "3 LEARNING DISENTANGLED REPRESENTATIONS",
|
| 399 |
+
"text_level": 1,
|
| 400 |
+
"bbox": [
|
| 401 |
+
174,
|
| 402 |
+
597,
|
| 403 |
+
598,
|
| 404 |
+
613
|
| 405 |
+
],
|
| 406 |
+
"page_idx": 3
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"type": "text",
|
| 410 |
+
"text": "We assume, without loss of generality, that any dataset of the form $\\{ X , T , Y \\}$ is generated from three underlying factors $\\{ \\Gamma , \\bar { \\Delta } , \\Upsilon \\}$ , as illustrated in Figure 3. 3 Observe that the factor $\\Gamma$ (resp., $\\Upsilon$ ) partially determines only $T$ (resp., $Y$ ), but not the other variables; and $\\Delta$ includes the confounding factors between $T$ and $Y$ . This graphical model suggests that selection bias is induced by factors $\\Gamma$ and $\\Delta$ . It also shows that the outcome depends on the factors $\\Delta$ and $\\Upsilon$ . Inspired by this graphical model, our model architecture incorporates the following components: ",
|
| 411 |
+
"bbox": [
|
| 412 |
+
173,
|
| 413 |
+
632,
|
| 414 |
+
825,
|
| 415 |
+
717
|
| 416 |
+
],
|
| 417 |
+
"page_idx": 3
|
| 418 |
+
},
|
| 419 |
+
{
|
| 420 |
+
"type": "text",
|
| 421 |
+
"text": "• Three representation learning networks; one for each underlying factor: $\\Gamma ( x ) , \\Delta ( x )$ , and $\\Upsilon ( x )$ . • Two regression networks; one for each treatment arm: $h ^ { 0 } ( \\Delta ( x ) , \\Upsilon ( x ) )$ and $h ^ { 1 } ( \\Delta ( x ) , \\Upsilon ( x ) )$ . • Two logistic networks: $\\pi _ { 0 } ( t | \\Gamma ( x ) , \\Delta ( x ) )$ to model the logging policy – aka behaviour policy in Reinforcement Learning; $c f .$ , (Sutton & Barto, 1998) – and $\\pi ( t | \\Delta ( x ) )$ to design weights that account for the confounders’ impact. ",
|
| 422 |
+
"bbox": [
|
| 423 |
+
173,
|
| 424 |
+
724,
|
| 425 |
+
823,
|
| 426 |
+
813
|
| 427 |
+
],
|
| 428 |
+
"page_idx": 3
|
| 429 |
+
},
|
| 430 |
+
{
|
| 431 |
+
"type": "text",
|
| 432 |
+
"text": "We therefore try to minimize the following objective function: ",
|
| 433 |
+
"bbox": [
|
| 434 |
+
173,
|
| 435 |
+
103,
|
| 436 |
+
581,
|
| 437 |
+
119
|
| 438 |
+
],
|
| 439 |
+
"page_idx": 4
|
| 440 |
+
},
|
| 441 |
+
{
|
| 442 |
+
"type": "equation",
|
| 443 |
+
"img_path": "images/b583978c0447127039b0390a4b4c19e30d6f2b374ae8a233e5d8116d7d5414c5.jpg",
|
| 444 |
+
"text": "$$\n\\begin{array} { l } { \\displaystyle J ( \\Gamma , \\Delta , \\Upsilon , h ^ { 0 } , h ^ { 1 } , \\pi _ { 0 } ) = \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\omega \\big ( t _ { i } , \\Delta ( x _ { i } ) \\big ) \\cdot \\mathcal { L } \\big [ y _ { i } , h ^ { t _ { i } } \\big ( \\Delta ( x _ { i } ) , \\Upsilon ( x _ { i } ) \\big ) \\big ] } \\\\ { \\displaystyle \\quad \\quad + \\alpha \\cdot { \\mathsf { d i s c } } \\big ( \\{ \\Upsilon ( x _ { i } ) \\} _ { i : t _ { i } = 0 } , \\{ \\Upsilon ( x _ { i } ) \\} _ { i : t _ { i } = 1 } \\big ) } \\\\ { \\displaystyle \\quad \\quad + \\beta \\cdot \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } - \\log \\big [ \\pi _ { 0 } \\big ( t _ { i } | \\Gamma ( x _ { i } ) , \\Delta ( x _ { i } ) \\big ) \\big ] } \\\\ { \\displaystyle \\quad \\quad + \\lambda \\cdot \\mathfrak { R e g } ( \\Gamma , \\Delta , \\Upsilon , h ^ { 0 } , h ^ { 1 } , \\pi _ { 0 } ) } \\end{array}\n$$",
|
| 445 |
+
"text_format": "latex",
|
| 446 |
+
"bbox": [
|
| 447 |
+
248,
|
| 448 |
+
125,
|
| 449 |
+
746,
|
| 450 |
+
253
|
| 451 |
+
],
|
| 452 |
+
"page_idx": 4
|
| 453 |
+
},
|
| 454 |
+
{
|
| 455 |
+
"type": "text",
|
| 456 |
+
"text": "where $\\omega \\left( t _ { i } , \\Delta ( x _ { i } ) \\right)$ is the re-weighting function; $\\mathcal { L } \\big [ y _ { i } , h ^ { t _ { i } } \\big ( \\Delta ( x _ { i } ) , \\Upsilon ( x _ { i } ) \\big ) \\big ]$ is the prediction loss for observed outcomes (aka factual loss); $\\mathsf { d i s c } \\big ( \\{ \\Upsilon ( x ) \\} _ { i : t _ { i } = 0 } , \\{ \\Upsilon ( x ) \\} _ { i : t _ { i } = 1 } \\big )$ calculates the discrepancy between conditional distributions of $\\Upsilon$ given $t = 0$ versus given $t = 1 ; - \\log \\pi _ { 0 } ( \\cdot )$ is the cross entropy loss of predicting the assigned treatments given the learned context; and $\\mathfrak { R e g } ( \\cdot )$ is the regularization term for penalizing model complexity. The following sections elaborate on each of these terms. ",
|
| 457 |
+
"bbox": [
|
| 458 |
+
173,
|
| 459 |
+
260,
|
| 460 |
+
825,
|
| 461 |
+
335
|
| 462 |
+
],
|
| 463 |
+
"page_idx": 4
|
| 464 |
+
},
|
| 465 |
+
{
|
| 466 |
+
"type": "text",
|
| 467 |
+
"text": "3.1 FACTUAL LOSS: $\\mathcal { L } \\big [ \\boldsymbol { y } , h ^ { t } \\big ( \\Delta ( \\boldsymbol { x } ) , \\Upsilon ( \\boldsymbol { x } ) \\big ) \\big ]$ ",
|
| 468 |
+
"text_level": 1,
|
| 469 |
+
"bbox": [
|
| 470 |
+
174,
|
| 471 |
+
351,
|
| 472 |
+
490,
|
| 473 |
+
369
|
| 474 |
+
],
|
| 475 |
+
"page_idx": 4
|
| 476 |
+
},
|
| 477 |
+
{
|
| 478 |
+
"type": "text",
|
| 479 |
+
"text": "Similar to (Johansson et al., 2016; Shalit et al., 2017; Hassanpour & Greiner, 2019; Yao et al., 2018), we train two regression networks $h ^ { 0 }$ and $h ^ { 1 }$ , one for each treatment arm. As guided by the graphical model in Figure 3, the inputs to these regression networks are the outputs of the $\\Delta ( x )$ and $\\Upsilon ( x )$ representation networks and their outputs are the predicted outcomes for their respective treatments. ",
|
| 480 |
+
"bbox": [
|
| 481 |
+
173,
|
| 482 |
+
377,
|
| 483 |
+
826,
|
| 484 |
+
435
|
| 485 |
+
],
|
| 486 |
+
"page_idx": 4
|
| 487 |
+
},
|
| 488 |
+
{
|
| 489 |
+
"type": "text",
|
| 490 |
+
"text": "Note that the prediction loss $\\mathcal { L }$ can only be calculated on the observed outcomes (hence the name factual loss), as counterfactual outcomes are not available in any training set. This would be an L2-loss for real-valued outcomes and a log-loss for binary outcomes. By minimizing the factual loss, we ensure that the union of the learned representations $\\dot { \\Delta } ( x )$ and $\\Upsilon ( x )$ retain enough information needed for accurate estimation of the observed outcomes. ",
|
| 491 |
+
"bbox": [
|
| 492 |
+
173,
|
| 493 |
+
440,
|
| 494 |
+
825,
|
| 495 |
+
512
|
| 496 |
+
],
|
| 497 |
+
"page_idx": 4
|
| 498 |
+
},
|
| 499 |
+
{
|
| 500 |
+
"type": "text",
|
| 501 |
+
"text": "3.2 RE-WEIGHTING FUNCTION: $\\omega ( t , \\Delta ( x ) )$ ",
|
| 502 |
+
"text_level": 1,
|
| 503 |
+
"bbox": [
|
| 504 |
+
176,
|
| 505 |
+
527,
|
| 506 |
+
488,
|
| 507 |
+
544
|
| 508 |
+
],
|
| 509 |
+
"page_idx": 4
|
| 510 |
+
},
|
| 511 |
+
{
|
| 512 |
+
"type": "text",
|
| 513 |
+
"text": "We follow (Hassanpour & Greiner, 2019)’s design for weights as re-stated in Equation (2), with the modification that we employ $\\Delta$ to calculate the weights instead of $\\Phi$ . Although following the same design, we anticipate our weights should perform better in practice than those in (Hassanpour & Greiner, 2019) as: (i) no confounders are discarded due to minimizing the imbalance loss (because our disc is defined based on $\\Upsilon$ , not $\\Phi$ ); and (ii) only the legitimate confounders are used to derive the weights (i.e., $\\Delta )$ , not the ones that have not contributed to treatment selection (i.e., Υ). ",
|
| 514 |
+
"bbox": [
|
| 515 |
+
173,
|
| 516 |
+
554,
|
| 517 |
+
825,
|
| 518 |
+
638
|
| 519 |
+
],
|
| 520 |
+
"page_idx": 4
|
| 521 |
+
},
|
| 522 |
+
{
|
| 523 |
+
"type": "text",
|
| 524 |
+
"text": "Notably, the weights design in Equation (2) is different from the common practice in re-weighting techniques (e.g., IPW) in that the weights are calculated based on all factors that determine $T$ (i.e., $\\Gamma$ as well as $\\Delta$ ). However, we argue that incorporation of $\\Gamma$ in the weights might result in emphasizing the wrong instances. In other words, since the factual loss $\\mathcal { L }$ is only sensitive to factors $\\Delta$ and $\\Upsilon$ , and not $\\Gamma$ , re-weighting $\\mathcal { L }$ according to $\\Gamma$ would yield a wrong objective function to be optimized. ",
|
| 525 |
+
"bbox": [
|
| 526 |
+
173,
|
| 527 |
+
645,
|
| 528 |
+
825,
|
| 529 |
+
717
|
| 530 |
+
],
|
| 531 |
+
"page_idx": 4
|
| 532 |
+
},
|
| 533 |
+
{
|
| 534 |
+
"type": "equation",
|
| 535 |
+
"img_path": "images/e640acdb855954d727921bc796f9b913acb4ad5377a253153476d07d6a2f8b4d.jpg",
|
| 536 |
+
"text": "$$\n\\mathsf { d i s c } \\big ( \\{ \\Upsilon ( x _ { i } ) \\} _ { i : t _ { i } = 0 } , \\{ \\Upsilon ( x _ { i } ) \\} _ { i : t _ { i } = 1 } \\big )\n$$",
|
| 537 |
+
"text_format": "latex",
|
| 538 |
+
"bbox": [
|
| 539 |
+
348,
|
| 540 |
+
731,
|
| 541 |
+
593,
|
| 542 |
+
750
|
| 543 |
+
],
|
| 544 |
+
"page_idx": 4
|
| 545 |
+
},
|
| 546 |
+
{
|
| 547 |
+
"type": "text",
|
| 548 |
+
"text": "According to Figure 3, $\\Upsilon$ should be independent of $T$ due to the collider structure at $Y$ . Therefore, ",
|
| 549 |
+
"bbox": [
|
| 550 |
+
181,
|
| 551 |
+
758,
|
| 552 |
+
820,
|
| 553 |
+
773
|
| 554 |
+
],
|
| 555 |
+
"page_idx": 4
|
| 556 |
+
},
|
| 557 |
+
{
|
| 558 |
+
"type": "equation",
|
| 559 |
+
"img_path": "images/faec3eb9e95bb5ead281b62583f43af95e694b72ada34988c647c6f933c959c9.jpg",
|
| 560 |
+
"text": "$$\n\\Upsilon \\ \\perp \\ T \\quad \\implies \\quad \\operatorname* { P r } ( \\Upsilon \\mid T ) = \\operatorname* { P r } ( \\Upsilon ) \\quad \\implies \\quad \\operatorname* { P r } ( \\Upsilon \\mid T = 0 ) = \\operatorname* { P r } ( \\Upsilon \\mid T = 1 )\n$$",
|
| 561 |
+
"text_format": "latex",
|
| 562 |
+
"bbox": [
|
| 563 |
+
225,
|
| 564 |
+
780,
|
| 565 |
+
771,
|
| 566 |
+
797
|
| 567 |
+
],
|
| 568 |
+
"page_idx": 4
|
| 569 |
+
},
|
| 570 |
+
{
|
| 571 |
+
"type": "text",
|
| 572 |
+
"text": "We used Maximum Mean Discrepancy (MMD) (Gretton et al., 2012) to calculate dissimilarity between the two conditional distributions of $\\Upsilon$ given $t = 0$ versus $t = 1$ . ",
|
| 573 |
+
"bbox": [
|
| 574 |
+
171,
|
| 575 |
+
804,
|
| 576 |
+
823,
|
| 577 |
+
833
|
| 578 |
+
],
|
| 579 |
+
"page_idx": 4
|
| 580 |
+
},
|
| 581 |
+
{
|
| 582 |
+
"type": "text",
|
| 583 |
+
"text": "By minimizing the imbalance loss, we ensure that the learned factor $\\Upsilon$ embeds no information about $T$ and all the confounding factors are retained in $\\Delta$ . Capturing all the confounders in $\\Delta$ and only in $\\Delta$ is the hallmark of the proposed method, as we will use it for optimal re-weighting of the factual loss term (next section). Note that this differs from Shalit et al. (2017)’s approach in that they do not distinguish between the independent factors $\\Delta$ and $\\Upsilon$ ; and minimizing the loss defined on only one factor $\\Phi$ which might erroneously suggest discarding some of the confounders in $\\Delta$ . ",
|
| 584 |
+
"bbox": [
|
| 585 |
+
173,
|
| 586 |
+
839,
|
| 587 |
+
825,
|
| 588 |
+
924
|
| 589 |
+
],
|
| 590 |
+
"page_idx": 4
|
| 591 |
+
},
|
| 592 |
+
{
|
| 593 |
+
"type": "text",
|
| 594 |
+
"text": "3.4 CROSS ENTROPY LOSS: $- \\log \\left[ \\pi _ { 0 } \\big ( t | \\Gamma ( x ) , \\Delta ( x ) \\big ) \\right]$ ",
|
| 595 |
+
"text_level": 1,
|
| 596 |
+
"bbox": [
|
| 597 |
+
173,
|
| 598 |
+
102,
|
| 599 |
+
565,
|
| 600 |
+
121
|
| 601 |
+
],
|
| 602 |
+
"page_idx": 5
|
| 603 |
+
},
|
| 604 |
+
{
|
| 605 |
+
"type": "text",
|
| 606 |
+
"text": "We model the logging policy as a logistic regression network parameterized by $\\big [ W _ { 0 } , b _ { 0 } \\big ]$ as follows: $\\pi _ { 0 } \\bigl ( t | \\psi \\bigr ) = \\Bigl [ 1 + e ^ { - \\bigl ( 2 t - 1 \\bigr ) ( \\psi \\cdot W _ { 0 } + b _ { 0 } ) } \\Bigr ] ^ { - 1 }$ , where $\\psi$ is the concatenation of matrices $\\Gamma$ and $\\Delta$ Minimizing the cross entropy loss enforces learning $\\Gamma$ and $\\Delta$ in a way that allows $\\pi _ { 0 } ( \\cdot )$ to predict the assigned treatments. In other words, the union of the learned representations of $\\Gamma$ and $\\Delta$ retain enough information to recover the logging policy that guided the treatment assignments. ",
|
| 607 |
+
"bbox": [
|
| 608 |
+
174,
|
| 609 |
+
131,
|
| 610 |
+
826,
|
| 611 |
+
207
|
| 612 |
+
],
|
| 613 |
+
"page_idx": 5
|
| 614 |
+
},
|
| 615 |
+
{
|
| 616 |
+
"type": "text",
|
| 617 |
+
"text": "4 EXPERIMENTS ",
|
| 618 |
+
"text_level": 1,
|
| 619 |
+
"bbox": [
|
| 620 |
+
176,
|
| 621 |
+
228,
|
| 622 |
+
326,
|
| 623 |
+
244
|
| 624 |
+
],
|
| 625 |
+
"page_idx": 5
|
| 626 |
+
},
|
| 627 |
+
{
|
| 628 |
+
"type": "text",
|
| 629 |
+
"text": "4.1 BENCHMARKS ",
|
| 630 |
+
"text_level": 1,
|
| 631 |
+
"bbox": [
|
| 632 |
+
174,
|
| 633 |
+
260,
|
| 634 |
+
316,
|
| 635 |
+
275
|
| 636 |
+
],
|
| 637 |
+
"page_idx": 5
|
| 638 |
+
},
|
| 639 |
+
{
|
| 640 |
+
"type": "text",
|
| 641 |
+
"text": "Evaluating treatment effect estimation methods is problematic on real-world datasets since, as mentioned earlier, their counterfactual outcomes are inherently unobservable. A common solution is to synthesize datasets where the outcomes of all possible treatments are available, then discard some outcomes to create a proper observational dataset with characteristics (such as selection bias) similar to a real-world one – cf., (Beygelzimer & Langford, 2009; Hassanpour & Greiner, 2018). In this work, we use two such benchmarks: our synthetic series of datasets as well as a publicly available benchmark: the Infant Health and Development Program (IHDP) (Hill, 2011). ",
|
| 642 |
+
"bbox": [
|
| 643 |
+
173,
|
| 644 |
+
286,
|
| 645 |
+
825,
|
| 646 |
+
385
|
| 647 |
+
],
|
| 648 |
+
"page_idx": 5
|
| 649 |
+
},
|
| 650 |
+
{
|
| 651 |
+
"type": "text",
|
| 652 |
+
"text": "4.1.1 SYNTHETIC DATASETS ",
|
| 653 |
+
"text_level": 1,
|
| 654 |
+
"bbox": [
|
| 655 |
+
174,
|
| 656 |
+
401,
|
| 657 |
+
387,
|
| 658 |
+
415
|
| 659 |
+
],
|
| 660 |
+
"page_idx": 5
|
| 661 |
+
},
|
| 662 |
+
{
|
| 663 |
+
"type": "text",
|
| 664 |
+
"text": "We generated our synthetic datasets according to the following process, which takes as input the sample size $N$ ; dimensionalities $[ m _ { \\Gamma } , m _ { \\Delta } , m _ { \\Upsilon } ] \\in \\mathcal { Z } ^ { + ( 3 ) }$ ; for each factor $L \\in \\{ \\Gamma , \\Delta , \\Upsilon \\}$ , the means and covariance matrices $\\left( \\mu _ { L } , \\Sigma _ { L } \\right)$ ; and a scalar $\\zeta$ that determines the slope of the logistic curve. ",
|
| 665 |
+
"bbox": [
|
| 666 |
+
174,
|
| 667 |
+
426,
|
| 668 |
+
825,
|
| 669 |
+
469
|
| 670 |
+
],
|
| 671 |
+
"page_idx": 5
|
| 672 |
+
},
|
| 673 |
+
{
|
| 674 |
+
"type": "text",
|
| 675 |
+
"text": "• For each latent factor $L \\in \\{ \\Gamma , \\Delta , \\Upsilon \\}$ ",
|
| 676 |
+
"bbox": [
|
| 677 |
+
174,
|
| 678 |
+
477,
|
| 679 |
+
437,
|
| 680 |
+
492
|
| 681 |
+
],
|
| 682 |
+
"page_idx": 5
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"type": "text",
|
| 686 |
+
"text": "– Form $L$ by drawing $N$ instances (each of size $m _ { L }$ ) from $\\mathcal { N } ( \\mu _ { L } , \\Sigma _ { L } )$ , \n– Concatenate $\\Gamma , \\Delta$ , and $\\Upsilon$ to make the covariates matrix $X$ [of size $N \\times ( m _ { \\Gamma } + m _ { \\Delta } + m _ { \\Upsilon } ) ]$ \n– Concatenate $\\Gamma$ and $\\Delta$ to make $\\Psi$ [of size $N \\times \\left( m _ { \\Gamma } + m _ { \\Delta } \\right) ]$ \n– Concatenate $\\Delta$ and $\\Upsilon$ to make $\\Phi$ [of size $N \\times ( m _ { \\Delta } + m _ { \\Upsilon } ) ]$ ",
|
| 687 |
+
"bbox": [
|
| 688 |
+
205,
|
| 689 |
+
496,
|
| 690 |
+
813,
|
| 691 |
+
559
|
| 692 |
+
],
|
| 693 |
+
"page_idx": 5
|
| 694 |
+
},
|
| 695 |
+
{
|
| 696 |
+
"type": "text",
|
| 697 |
+
"text": "• For treatment $T$ ",
|
| 698 |
+
"bbox": [
|
| 699 |
+
174,
|
| 700 |
+
563,
|
| 701 |
+
299,
|
| 702 |
+
575
|
| 703 |
+
],
|
| 704 |
+
"page_idx": 5
|
| 705 |
+
},
|
| 706 |
+
{
|
| 707 |
+
"type": "text",
|
| 708 |
+
"text": "– Sample $m _ { \\Gamma } + m _ { \\Delta }$ tuple of coefficients $\\theta$ from $\\mathcal { N } ( 0 , 1 ) ^ { m _ { \\Gamma } + m _ { \\Delta } }$ \n– Define the logging policy as $\\begin{array} { r } { \\pi _ { 0 } ( t = 1 | z ) = \\frac { 1 } { 1 + \\exp ( - \\zeta z ) } } \\end{array}$ , where $z = \\Psi \\cdot \\theta$ \n– For each instance $x _ { i }$ , sample treatment $t _ { i }$ from the Bernoulli distribution with parameter $\\pi _ { 0 } ( t = 1 | z _ { i } )$ ",
|
| 709 |
+
"bbox": [
|
| 710 |
+
205,
|
| 711 |
+
579,
|
| 712 |
+
825,
|
| 713 |
+
643
|
| 714 |
+
],
|
| 715 |
+
"page_idx": 5
|
| 716 |
+
},
|
| 717 |
+
{
|
| 718 |
+
"type": "text",
|
| 719 |
+
"text": "• For outcomes $Y ^ { 0 }$ and $Y ^ { 1 }$ : ",
|
| 720 |
+
"bbox": [
|
| 721 |
+
176,
|
| 722 |
+
646,
|
| 723 |
+
362,
|
| 724 |
+
661
|
| 725 |
+
],
|
| 726 |
+
"page_idx": 5
|
| 727 |
+
},
|
| 728 |
+
{
|
| 729 |
+
"type": "text",
|
| 730 |
+
"text": "– Sample $m _ { \\Delta } + m _ { \\Upsilon }$ tuple of coefficients $\\vartheta ^ { 0 }$ and $\\vartheta ^ { 1 }$ from $\\mathcal { N } ( 0 , 1 ) ^ { m _ { \\Delta } + m _ { \\Upsilon } }$ – Define $y ^ { 0 } = ( \\Phi \\circ \\Phi \\circ \\Phi + 0 . 5 ) \\cdot \\vartheta ^ { 0 } / ( m _ { \\Delta } + m _ { \\Upsilon } ) + \\varepsilon$ and $y ^ { 1 } = ( \\Phi \\circ \\Phi ) \\cdot \\vartheta ^ { 1 } / ( m _ { \\Delta } + m \\Upsilon ) + \\varepsilon ,$ , where $\\varepsilon$ is a white noise sampled from $\\mathcal { N } ( 0 , 0 . 1 )$ and $\\circ$ is the symbol for element-wise (Hadamard/Schur) product. ",
|
| 731 |
+
"bbox": [
|
| 732 |
+
207,
|
| 733 |
+
665,
|
| 734 |
+
823,
|
| 735 |
+
723
|
| 736 |
+
],
|
| 737 |
+
"page_idx": 5
|
| 738 |
+
},
|
| 739 |
+
{
|
| 740 |
+
"type": "text",
|
| 741 |
+
"text": "We considered all the viable datasets in a mesh generated by $m _ { \\Gamma } , m _ { \\Delta } , m _ { \\Upsilon } \\in \\{ 0 , 4 , 8 \\}$ . This creates 24 scenarios4 that consider all possible situations in terms of the relative sizes of the factors $\\Gamma , \\Delta$ , and $\\Upsilon$ . For each scenario, we synthesized five datasets with various initial random seeds. ",
|
| 742 |
+
"bbox": [
|
| 743 |
+
176,
|
| 744 |
+
731,
|
| 745 |
+
825,
|
| 746 |
+
773
|
| 747 |
+
],
|
| 748 |
+
"page_idx": 5
|
| 749 |
+
},
|
| 750 |
+
{
|
| 751 |
+
"type": "text",
|
| 752 |
+
"text": "4.1.2 INFANT HEALTH AND DEVELOPMENT PROGRAM (IHDP) ",
|
| 753 |
+
"text_level": 1,
|
| 754 |
+
"bbox": [
|
| 755 |
+
173,
|
| 756 |
+
790,
|
| 757 |
+
622,
|
| 758 |
+
804
|
| 759 |
+
],
|
| 760 |
+
"page_idx": 5
|
| 761 |
+
},
|
| 762 |
+
{
|
| 763 |
+
"type": "text",
|
| 764 |
+
"text": "The original RCT data was designed to evaluate the effect of specialist home visits on future cognitive test scores of premature infants. Hill (2011) induced selection bias by removing a non-random subset of the treated population to create a realistic observational dataset. The resulting dataset contains 747 instances (608 control, 139 treated) with 25 covariates. We run our experiments on the same benchmark (100 realizations of outcomes) provided by and used in (Johansson et al., 2016; Shalit ",
|
| 765 |
+
"bbox": [
|
| 766 |
+
173,
|
| 767 |
+
815,
|
| 768 |
+
825,
|
| 769 |
+
886
|
| 770 |
+
],
|
| 771 |
+
"page_idx": 5
|
| 772 |
+
},
|
| 773 |
+
{
|
| 774 |
+
"type": "image",
|
| 775 |
+
"img_path": "images/be8c139c8de9971e467b02283551bfb07a320d6664c0fc239d7f7db750501290.jpg",
|
| 776 |
+
"image_caption": [],
|
| 777 |
+
"image_footnote": [],
|
| 778 |
+
"bbox": [
|
| 779 |
+
232,
|
| 780 |
+
106,
|
| 781 |
+
442,
|
| 782 |
+
234
|
| 783 |
+
],
|
| 784 |
+
"page_idx": 6
|
| 785 |
+
},
|
| 786 |
+
{
|
| 787 |
+
"type": "text",
|
| 788 |
+
"text": "(a) Slice of the weights matrix that connects {the variables in $X$ belonging to $\\Gamma$ } to {the first layer of the representation network that attempts to identify $\\Gamma \\}$ . The size of this slice is $m _ { \\Gamma } \\times K$ . ",
|
| 789 |
+
"bbox": [
|
| 790 |
+
174,
|
| 791 |
+
238,
|
| 792 |
+
485,
|
| 793 |
+
290
|
| 794 |
+
],
|
| 795 |
+
"page_idx": 6
|
| 796 |
+
},
|
| 797 |
+
{
|
| 798 |
+
"type": "image",
|
| 799 |
+
"img_path": "images/ccdfad925bc7e1fbf3b2aa5162f7860b2859be53c1aea4078e98c72a31c0b480.jpg",
|
| 800 |
+
"image_caption": [
|
| 801 |
+
"(b) Slice of the weights matrix that connects {the variables in $X$ not belonging to $\\Gamma \\}$ to {the first layer of the representation network that attempts to identify $\\Gamma$ }. The size of this slice is $( m _ { \\Delta } + m _ { \\Upsilon } ) \\times K$ . "
|
| 802 |
+
],
|
| 803 |
+
"image_footnote": [],
|
| 804 |
+
"bbox": [
|
| 805 |
+
573,
|
| 806 |
+
107,
|
| 807 |
+
782,
|
| 808 |
+
234
|
| 809 |
+
],
|
| 810 |
+
"page_idx": 6
|
| 811 |
+
},
|
| 812 |
+
{
|
| 813 |
+
"type": "image",
|
| 814 |
+
"img_path": "images/bfd1a1a067a00361b4e48b570e7735c213ca23a53bb3a01a6c4410b87ac95c0f.jpg",
|
| 815 |
+
"image_caption": [
|
| 816 |
+
"Figure 4: Visualization of slicing the learned weights matrix in the first layer of the representation network (number of neurons: $K$ ) for identifying $\\Gamma$ (best viewed in color). ",
|
| 817 |
+
"Figure 5: Radar charts that visualize the capability of DR-CFR in identifying the underlying factors $\\Gamma , \\Delta$ , and $\\Upsilon$ . Each vertex on the polygons is identified with the factors’ dimension sequence $( m _ { \\Gamma } \\underline { { { m } } } _ { \\Delta \\underline { { { - } } } } m \\underline { { { \\Upsilon } } } )$ of the associated synthetic dataset. The polygons’ radii are scaled between $0 { : } 0 . 0 9$ and quantify the average weights of the first slice (in dotted magenta) and the second slice (in cyan). "
|
| 818 |
+
],
|
| 819 |
+
"image_footnote": [],
|
| 820 |
+
"bbox": [
|
| 821 |
+
174,
|
| 822 |
+
359,
|
| 823 |
+
825,
|
| 824 |
+
535
|
| 825 |
+
],
|
| 826 |
+
"page_idx": 6
|
| 827 |
+
},
|
| 828 |
+
{
|
| 829 |
+
"type": "text",
|
| 830 |
+
"text": "et al., 2017). Outcomes of this semi-synthetic benchmark were simulated according to response surfaces provided in the Non-Parametric Causal Inference (NPCI) package (Dorie, 2016). ",
|
| 831 |
+
"bbox": [
|
| 832 |
+
174,
|
| 833 |
+
638,
|
| 834 |
+
823,
|
| 835 |
+
667
|
| 836 |
+
],
|
| 837 |
+
"page_idx": 6
|
| 838 |
+
},
|
| 839 |
+
{
|
| 840 |
+
"type": "text",
|
| 841 |
+
"text": "4.2 RESULTS AND DISCUSSIONS ",
|
| 842 |
+
"text_level": 1,
|
| 843 |
+
"bbox": [
|
| 844 |
+
176,
|
| 845 |
+
684,
|
| 846 |
+
411,
|
| 847 |
+
699
|
| 848 |
+
],
|
| 849 |
+
"page_idx": 6
|
| 850 |
+
},
|
| 851 |
+
{
|
| 852 |
+
"type": "text",
|
| 853 |
+
"text": "4.2.1 EVALUATING IDENTIFICATION OF FACTORS $\\{ \\Gamma , \\Delta , \\Upsilon \\}$ ",
|
| 854 |
+
"text_level": 1,
|
| 855 |
+
"bbox": [
|
| 856 |
+
174,
|
| 857 |
+
710,
|
| 858 |
+
604,
|
| 859 |
+
727
|
| 860 |
+
],
|
| 861 |
+
"page_idx": 6
|
| 862 |
+
},
|
| 863 |
+
{
|
| 864 |
+
"type": "text",
|
| 865 |
+
"text": "First, we want to determine if the proposed method is able to identify the variables that belong to each underlying factor. To do so, we look at the weight matrix in the first layer of each representation network, which is of size $( m _ { \\Gamma } + m _ { \\Delta } + m _ { \\Upsilon } ) \\times K$ , where $K$ is the number of neurons in the first hidden layer of the respective representation network. For example, to check if $\\Gamma$ is identified properly, we partition the weights matrix into two slices, as shown in Figure 4, and calculate the average of each slice. The first slice [referred to as $\\mathbf { S } _ { \\Gamma }$ ; highlighted in Figure 4(a)] pertains to “ Γ’s ground truth variables in $X ^ { \\dag }$ and the second slice $[ S _ { \\neg \\Gamma }$ ; Figure 4(b)] pertains to “variables in $X$ that do not belong to $\\Gamma ^ { \\ast }$ . Constructing $\\mathbf { S } _ { \\Delta }$ , $\\mathbf { S } _ { \\lnot \\Delta }$ , $\\mathtt { S } _ { \\mathtt { Y } }$ , and $\\mathbf { S } _ { \\neg \\Upsilon }$ follow a similar procedure. ",
|
| 866 |
+
"bbox": [
|
| 867 |
+
173,
|
| 868 |
+
734,
|
| 869 |
+
825,
|
| 870 |
+
848
|
| 871 |
+
],
|
| 872 |
+
"page_idx": 6
|
| 873 |
+
},
|
| 874 |
+
{
|
| 875 |
+
"type": "text",
|
| 876 |
+
"text": "If the proposed method achieves a good identification, then we expect the average of the absolute values of weights in $\\mathrm { \\bf S _ { \\mathrm { { T } } } }$ should be higher than that of $\\mathbf { S } _ { \\lnot \\Gamma }$ ; this same claim should hold for $( \\mathsf { S } _ { \\Delta } , \\mathsf { S } _ { \\neg \\Delta } )$ and $( \\mathsf { S r } , \\mathsf { S } _ { \\neg \\Upsilon } )$ as well. Note that only the relative relationships between the average weights in either of the slices matter; since this analysis is aimed at checking whether, for example, for identifying $\\Gamma$ , its respective representation network has indeed learned to emphasize on “Γ’s ground truth variables in $X$ ” more than the other variables in $X$ . Figure 5 illustrates the identification performance of DR-CFR according to this analysis; showing empirically that the proposed method successfully identifies all the three underlying factors, for all synthetic datasets. ",
|
| 877 |
+
"bbox": [
|
| 878 |
+
174,
|
| 879 |
+
854,
|
| 880 |
+
825,
|
| 881 |
+
924
|
| 882 |
+
],
|
| 883 |
+
"page_idx": 6
|
| 884 |
+
},
|
| 885 |
+
{
|
| 886 |
+
"type": "image",
|
| 887 |
+
"img_path": "images/40463570b2bcee413d0b671e3a2c4447d89f03f0c4b6d664b2b31356dcb79f68.jpg",
|
| 888 |
+
"image_caption": [
|
| 889 |
+
"Figure 6: Radar charts for visualizing the PEHE performance results on the synthetic datasets. Training sample size on the left chart is 2,500 and on the right chart is 10,000. Each vertex on the polygons is identified with the factors’ dimension sequence $( m _ { \\Gamma _ { - } } m _ { \\Delta _ { - } } m _ { \\Upsilon } )$ of the associated group of datasets. The polygons’ radii are scaled between $0 : 0 . 8$ to quantify the PEHE values (i.e., the closer to the centre, the smaller the PEHE). The dashed purple curve illustrates the results of the proposed method. "
|
| 890 |
+
],
|
| 891 |
+
"image_footnote": [],
|
| 892 |
+
"bbox": [
|
| 893 |
+
171,
|
| 894 |
+
117,
|
| 895 |
+
825,
|
| 896 |
+
339
|
| 897 |
+
],
|
| 898 |
+
"page_idx": 7
|
| 899 |
+
},
|
| 900 |
+
{
|
| 901 |
+
"type": "text",
|
| 902 |
+
"text": "",
|
| 903 |
+
"bbox": [
|
| 904 |
+
173,
|
| 905 |
+
450,
|
| 906 |
+
826,
|
| 907 |
+
493
|
| 908 |
+
],
|
| 909 |
+
"page_idx": 7
|
| 910 |
+
},
|
| 911 |
+
{
|
| 912 |
+
"type": "text",
|
| 913 |
+
"text": "4.2.2 EVALUATING ESTIMATION OF TREATMENT EFFECTS ",
|
| 914 |
+
"text_level": 1,
|
| 915 |
+
"bbox": [
|
| 916 |
+
174,
|
| 917 |
+
508,
|
| 918 |
+
591,
|
| 919 |
+
523
|
| 920 |
+
],
|
| 921 |
+
"page_idx": 7
|
| 922 |
+
},
|
| 923 |
+
{
|
| 924 |
+
"type": "text",
|
| 925 |
+
"text": "Given a synthetic dataset (that include both factual as well as counterfactual outcomes), one can evaluate treatment effect estimation methods with two types of performance measures: ",
|
| 926 |
+
"bbox": [
|
| 927 |
+
173,
|
| 928 |
+
532,
|
| 929 |
+
821,
|
| 930 |
+
561
|
| 931 |
+
],
|
| 932 |
+
"page_idx": 7
|
| 933 |
+
},
|
| 934 |
+
{
|
| 935 |
+
"type": "text",
|
| 936 |
+
"text": "• Individual-based: “Precision in Estimation of Heterogeneous Effect” $\\begin{array} { r } { \\mathrm { P E H E } { = } \\sqrt { \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } \\left( \\hat { \\mathbf { e } } _ { i } - \\mathbf { e } _ { i } \\right) ^ { 2 } } } \\end{array}$ where $\\hat { \\mathbf { e } } _ { i } = \\hat { y } _ { i } ^ { 1 } - \\hat { y } _ { i } ^ { 0 }$ is the predicted effect and $\\mathbf { e } _ { i } = y _ { i } ^ { 1 } - y _ { i } ^ { 0 }$ is the true effect. • Population-based: “Bias of the Average Treatment Effect” $\\epsilon _ { \\mathrm { A T E } } = \\left| { \\mathrm { A T E } } - { \\widehat { \\mathrm { A T E } } } \\right|$ where $\\mathrm { A T E = }$ $\\begin{array} { r } { \\frac { 1 } { N } \\sum _ { i = 1 } ^ { N } y _ { i } ^ { 1 } - \\frac { 1 } { N } \\sum _ { j = 1 } ^ { N } y _ { j } ^ { 0 } } \\end{array}$ in which $y _ { i } ^ { 1 }$ and $y _ { j } ^ { 0 }$ are the true outcomes for the respective treatments and $\\widehat { \\mathrm { A T E } }$ is calculated based on the estimated outcomes. ",
|
| 937 |
+
"bbox": [
|
| 938 |
+
173,
|
| 939 |
+
570,
|
| 940 |
+
826,
|
| 941 |
+
666
|
| 942 |
+
],
|
| 943 |
+
"page_idx": 7
|
| 944 |
+
},
|
| 945 |
+
{
|
| 946 |
+
"type": "text",
|
| 947 |
+
"text": "In this paper, we compare performances of the following treatment effect estimation methods: 5 ",
|
| 948 |
+
"bbox": [
|
| 949 |
+
168,
|
| 950 |
+
674,
|
| 951 |
+
797,
|
| 952 |
+
689
|
| 953 |
+
],
|
| 954 |
+
"page_idx": 7
|
| 955 |
+
},
|
| 956 |
+
{
|
| 957 |
+
"type": "text",
|
| 958 |
+
"text": "• CFR: CounterFactual Regression (Shalit et al., 2017). \n• CFR-ISW: CFR with Importance Sampling Weights (Hassanpour & Greiner, 2019). \n• SITE: Similarity preserved Individual Treatment Effect (Yao et al., 2018). \n• DR-CFR: Disentangled Representations for CFR – our proposed method. ",
|
| 959 |
+
"bbox": [
|
| 960 |
+
215,
|
| 961 |
+
695,
|
| 962 |
+
794,
|
| 963 |
+
762
|
| 964 |
+
],
|
| 965 |
+
"page_idx": 7
|
| 966 |
+
},
|
| 967 |
+
{
|
| 968 |
+
"type": "text",
|
| 969 |
+
"text": "Figure 6 visualizes the PEHE measures in radar charts for these four methods, trained with datasets of size $N = 2 { , } 5 0 0$ (left) and $N { = } 1 0 { , } 0 0 0$ (right). As expected, all methods perform better with observing more training data; however, DR-CFR took the most advantage by reducing PEHE the most (by 0.15, going down from 0.60 to 0.45), while CFR, CFR-ISW, and SITE reduced PEHE by 0.07, 0.08, and 0.08 respectively. ",
|
| 970 |
+
"bbox": [
|
| 971 |
+
173,
|
| 972 |
+
770,
|
| 973 |
+
826,
|
| 974 |
+
840
|
| 975 |
+
],
|
| 976 |
+
"page_idx": 7
|
| 977 |
+
},
|
| 978 |
+
{
|
| 979 |
+
"type": "text",
|
| 980 |
+
"text": "Table 1 summarizes the PEHE and $\\epsilon _ { \\mathrm { A T E } }$ measures (lower is better) for all scenarios, in terms of mean and standard deviation of all the $2 4 \\times 5$ datasets, in order to give a unified view on the performance. ",
|
| 981 |
+
"bbox": [
|
| 982 |
+
176,
|
| 983 |
+
847,
|
| 984 |
+
823,
|
| 985 |
+
876
|
| 986 |
+
],
|
| 987 |
+
"page_idx": 7
|
| 988 |
+
},
|
| 989 |
+
{
|
| 990 |
+
"type": "table",
|
| 991 |
+
"img_path": "images/fe56202948fc249a90925377949232db56aa889337e1db995df4579f2a295049.jpg",
|
| 992 |
+
"table_caption": [
|
| 993 |
+
"Table 2: IHDP datasets (100 with $N { = } 7 4 7$ ) "
|
| 994 |
+
],
|
| 995 |
+
"table_footnote": [],
|
| 996 |
+
"table_body": "<table><tr><td>Methods</td><td>PEHE</td><td>EATE</td></tr><tr><td>CFR</td><td>0.81 (0.30)</td><td>0.13 (0.12)</td></tr><tr><td>CFR-ISW</td><td>0.73 (0.28)</td><td>0.11 (0.10)</td></tr><tr><td>SITE</td><td>0.73 (0.33)</td><td>0.10 (0.09)</td></tr><tr><td>DR-CFR</td><td>0.65 (0.37)</td><td>0.03 (0.04)</td></tr></table>",
|
| 997 |
+
"bbox": [
|
| 998 |
+
540,
|
| 999 |
+
141,
|
| 1000 |
+
808,
|
| 1001 |
+
233
|
| 1002 |
+
],
|
| 1003 |
+
"page_idx": 8
|
| 1004 |
+
},
|
| 1005 |
+
{
|
| 1006 |
+
"type": "table",
|
| 1007 |
+
"img_path": "images/1d9874fd5746ce65422fe71ac402c3d4e031cde364bc64692de7cc70b56086c7.jpg",
|
| 1008 |
+
"table_caption": [
|
| 1009 |
+
"Table 1: Synthetic datasets $2 4 \\times 5$ with $N = 1 0 , 0 0 0 )$ "
|
| 1010 |
+
],
|
| 1011 |
+
"table_footnote": [
|
| 1012 |
+
"PEHE and $\\epsilon _ { \\mathrm { A T E } }$ measures (lower is better) represented in the form of “mean (standard deviation)”. "
|
| 1013 |
+
],
|
| 1014 |
+
"table_body": "<table><tr><td>Methods</td><td>PEHE</td><td>EATE</td></tr><tr><td>CFR</td><td>0.61 (0.05)</td><td>0.021 (0.018)</td></tr><tr><td>CFR-ISW</td><td>0.58 (0.06)</td><td>0.017 (0.009)</td></tr><tr><td>SITE</td><td>0.63 (0.05)</td><td>0.035 (0.039)</td></tr><tr><td>DR-CFR</td><td>0.45 (0.11)</td><td>0.013 (0.006)</td></tr></table>",
|
| 1015 |
+
"bbox": [
|
| 1016 |
+
194,
|
| 1017 |
+
141,
|
| 1018 |
+
475,
|
| 1019 |
+
233
|
| 1020 |
+
],
|
| 1021 |
+
"page_idx": 8
|
| 1022 |
+
},
|
| 1023 |
+
{
|
| 1024 |
+
"type": "text",
|
| 1025 |
+
"text": "DR-CFR achieves the best performance among the contending methods. These results are statistically significant based on the Welch’s unpaired t-test with $\\alpha { = } 0 . 0 5$ . Table 2 summarizes the PEHE and $\\epsilon _ { \\mathrm { A T E } }$ measures on the IHDP benchmark. The results are reported in terms of mean and standard deviation over the 100 datasets with various realizations of outcomes. Again, DR-CFR achieves the best performance (statistically significant for $\\epsilon _ { \\mathrm { A T E } }$ ) among the contending methods. ",
|
| 1026 |
+
"bbox": [
|
| 1027 |
+
173,
|
| 1028 |
+
275,
|
| 1029 |
+
825,
|
| 1030 |
+
344
|
| 1031 |
+
],
|
| 1032 |
+
"page_idx": 8
|
| 1033 |
+
},
|
| 1034 |
+
{
|
| 1035 |
+
"type": "text",
|
| 1036 |
+
"text": "5 FUTURE WORKS AND CONCLUSION ",
|
| 1037 |
+
"text_level": 1,
|
| 1038 |
+
"bbox": [
|
| 1039 |
+
174,
|
| 1040 |
+
364,
|
| 1041 |
+
504,
|
| 1042 |
+
381
|
| 1043 |
+
],
|
| 1044 |
+
"page_idx": 8
|
| 1045 |
+
},
|
| 1046 |
+
{
|
| 1047 |
+
"type": "text",
|
| 1048 |
+
"text": "The majority of methods proposed to estimate treatment effects – including this work – fall under the category of discriminative approaches. A promising direction is to consider developing generative models, in an attempt to shed light on the true underlying data generating mechanism. Perhaps this could also facilitate generating new, virtual, yet realistic data instances – similar to what is done in computer vision. Louizos et al. (2017)’s method is a notable generative approach, which uses Variational Auto-Encoder (VAE) to extract latent confounders from their observed proxies. While that work is an interesting step in that direction, it is not yet capable of addressing the problem of selection bias. We believe that our proposed perspective on the problem can be helpful to solve this open question. This is left to future work. ",
|
| 1049 |
+
"bbox": [
|
| 1050 |
+
173,
|
| 1051 |
+
396,
|
| 1052 |
+
825,
|
| 1053 |
+
521
|
| 1054 |
+
],
|
| 1055 |
+
"page_idx": 8
|
| 1056 |
+
},
|
| 1057 |
+
{
|
| 1058 |
+
"type": "text",
|
| 1059 |
+
"text": "In this paper, we studied the problem of estimating treatment effect from observational studies. We argued that not all factors in the observed covariates $X$ might contribute to the procedure of selecting treatment $T$ , or more importantly, determining the outcomes $Y$ . We modeled this using three underlying sources of $X$ , $T$ , and $Y$ , and showed that explicit identification of these sources offers great insight to help us design models that better handle selection bias in observational datasets. We proposed an algorithm, Disentangled Representations for CounterFactual Regression (DR-CFR), that can (1) identify disentangled representations of the above-mentioned underlying sources and (2) leverage this knowledge to reduce as well as account for the negative impact of selection bias on estimating the treatment effects from observational data. Our empirical results showed that the proposed method achieves state-of-the-art performance in both individual and population based evaluation measures. ",
|
| 1060 |
+
"bbox": [
|
| 1061 |
+
174,
|
| 1062 |
+
529,
|
| 1063 |
+
826,
|
| 1064 |
+
680
|
| 1065 |
+
],
|
| 1066 |
+
"page_idx": 8
|
| 1067 |
+
},
|
| 1068 |
+
{
|
| 1069 |
+
"type": "text",
|
| 1070 |
+
"text": "ACKNOWLEDGEMENTS ",
|
| 1071 |
+
"text_level": 1,
|
| 1072 |
+
"bbox": [
|
| 1073 |
+
176,
|
| 1074 |
+
702,
|
| 1075 |
+
367,
|
| 1076 |
+
717
|
| 1077 |
+
],
|
| 1078 |
+
"page_idx": 8
|
| 1079 |
+
},
|
| 1080 |
+
{
|
| 1081 |
+
"type": "text",
|
| 1082 |
+
"text": "The authors gratefully acknowledge financial support from Natural Sciences and Engineering Research Council of Canada (NSERC) and Alberta Machine Intelligence Institute (Amii). We wish to thank Dr. Pouria Ramazi and Shivam Raj for fruitful conversations, and Dr. Fredrik Johansson for publishing/maintaining the code-base for the CFR method online. We also would like to thank the ICLR 2020 anonymous reviewers, as well as Dr. Kun Kuang and Tianle Liu, for their valuable reviews, which helped improve this paper. ",
|
| 1083 |
+
"bbox": [
|
| 1084 |
+
174,
|
| 1085 |
+
732,
|
| 1086 |
+
825,
|
| 1087 |
+
815
|
| 1088 |
+
],
|
| 1089 |
+
"page_idx": 8
|
| 1090 |
+
},
|
| 1091 |
+
{
|
| 1092 |
+
"type": "text",
|
| 1093 |
+
"text": "REFERENCES ",
|
| 1094 |
+
"text_level": 1,
|
| 1095 |
+
"bbox": [
|
| 1096 |
+
174,
|
| 1097 |
+
837,
|
| 1098 |
+
285,
|
| 1099 |
+
851
|
| 1100 |
+
],
|
| 1101 |
+
"page_idx": 8
|
| 1102 |
+
},
|
| 1103 |
+
{
|
| 1104 |
+
"type": "text",
|
| 1105 |
+
"text": "Peter C Austin. An introduction to propensity score methods for reducing the effects of confounding in observational studies. Multivariate Behavioral Research, 46(3):399–424, 2011. ",
|
| 1106 |
+
"bbox": [
|
| 1107 |
+
174,
|
| 1108 |
+
858,
|
| 1109 |
+
821,
|
| 1110 |
+
887
|
| 1111 |
+
],
|
| 1112 |
+
"page_idx": 8
|
| 1113 |
+
},
|
| 1114 |
+
{
|
| 1115 |
+
"type": "text",
|
| 1116 |
+
"text": "Yoshua Bengio, Aaron Courville, and Pascal Vincent. Representation learning: A review and new perspectives. IEEE TPAMI, 35(8):1798–1828, 2013. ",
|
| 1117 |
+
"bbox": [
|
| 1118 |
+
176,
|
| 1119 |
+
895,
|
| 1120 |
+
820,
|
| 1121 |
+
922
|
| 1122 |
+
],
|
| 1123 |
+
"page_idx": 8
|
| 1124 |
+
},
|
| 1125 |
+
{
|
| 1126 |
+
"type": "text",
|
| 1127 |
+
"text": "Alina Beygelzimer and John Langford. The offset tree for learning with partial labels. In ACM SIGKDD. ACM, 2009. ",
|
| 1128 |
+
"bbox": [
|
| 1129 |
+
173,
|
| 1130 |
+
103,
|
| 1131 |
+
825,
|
| 1132 |
+
132
|
| 1133 |
+
],
|
| 1134 |
+
"page_idx": 9
|
| 1135 |
+
},
|
| 1136 |
+
{
|
| 1137 |
+
"type": "text",
|
| 1138 |
+
"text": "Léon Bottou, Jonas Peters, Joaquin Quinonero Candela, Denis Xavier Charles, Max Chickering, Elon Portugaly, Dipankar Ray, Patrice Y Simard, and Ed Snelson. Counterfactual reasoning and learning systems: The example of computational advertising. JMLR, 14(1), 2013. ",
|
| 1139 |
+
"bbox": [
|
| 1140 |
+
176,
|
| 1141 |
+
140,
|
| 1142 |
+
823,
|
| 1143 |
+
184
|
| 1144 |
+
],
|
| 1145 |
+
"page_idx": 9
|
| 1146 |
+
},
|
| 1147 |
+
{
|
| 1148 |
+
"type": "text",
|
| 1149 |
+
"text": "Vincent Dorie. NPCI: Non-parametrics for causal inference, 2016. https://github.com/ vdorie/npci. ",
|
| 1150 |
+
"bbox": [
|
| 1151 |
+
171,
|
| 1152 |
+
191,
|
| 1153 |
+
823,
|
| 1154 |
+
222
|
| 1155 |
+
],
|
| 1156 |
+
"page_idx": 9
|
| 1157 |
+
},
|
| 1158 |
+
{
|
| 1159 |
+
"type": "text",
|
| 1160 |
+
"text": "Arthur Gretton, Karsten M Borgwardt, Malte J Rasch, Bernhard Schölkopf, and Alexander Smola. A kernel two-sample test. JMLR, 13(Mar):723–773, 2012. ",
|
| 1161 |
+
"bbox": [
|
| 1162 |
+
173,
|
| 1163 |
+
229,
|
| 1164 |
+
825,
|
| 1165 |
+
260
|
| 1166 |
+
],
|
| 1167 |
+
"page_idx": 9
|
| 1168 |
+
},
|
| 1169 |
+
{
|
| 1170 |
+
"type": "text",
|
| 1171 |
+
"text": "Negar Hassanpour and Russell Greiner. A novel evaluation methodology for assessing off-policy learning methods in contextual bandits. In Canadian AI, pp. 31–44, 2018. ",
|
| 1172 |
+
"bbox": [
|
| 1173 |
+
173,
|
| 1174 |
+
267,
|
| 1175 |
+
825,
|
| 1176 |
+
297
|
| 1177 |
+
],
|
| 1178 |
+
"page_idx": 9
|
| 1179 |
+
},
|
| 1180 |
+
{
|
| 1181 |
+
"type": "text",
|
| 1182 |
+
"text": "Negar Hassanpour and Russell Greiner. Counterfactual regression with importance sampling weights. In IJCAI, pp. 5880–5887, 7 2019. ",
|
| 1183 |
+
"bbox": [
|
| 1184 |
+
174,
|
| 1185 |
+
305,
|
| 1186 |
+
825,
|
| 1187 |
+
335
|
| 1188 |
+
],
|
| 1189 |
+
"page_idx": 9
|
| 1190 |
+
},
|
| 1191 |
+
{
|
| 1192 |
+
"type": "text",
|
| 1193 |
+
"text": "Jennifer L Hill. Bayesian nonparametric modeling for causal inference. Journal of Computational and Graphical Statistics, 20(1):217–240, 2011. ",
|
| 1194 |
+
"bbox": [
|
| 1195 |
+
169,
|
| 1196 |
+
343,
|
| 1197 |
+
825,
|
| 1198 |
+
373
|
| 1199 |
+
],
|
| 1200 |
+
"page_idx": 9
|
| 1201 |
+
},
|
| 1202 |
+
{
|
| 1203 |
+
"type": "text",
|
| 1204 |
+
"text": "Guido W Imbens. Nonparametric estimation of average treatment effects under exogeneity: A review. Review of Economics and Statistics, 86(1):4–29, 2004. ",
|
| 1205 |
+
"bbox": [
|
| 1206 |
+
173,
|
| 1207 |
+
381,
|
| 1208 |
+
823,
|
| 1209 |
+
411
|
| 1210 |
+
],
|
| 1211 |
+
"page_idx": 9
|
| 1212 |
+
},
|
| 1213 |
+
{
|
| 1214 |
+
"type": "text",
|
| 1215 |
+
"text": "Guido W. Imbens and Donald B. Rubin. Causal Inference for Statistics, Social, and Biomedical Sciences: An Introduction. Cambridge University Press, 2015. ",
|
| 1216 |
+
"bbox": [
|
| 1217 |
+
176,
|
| 1218 |
+
417,
|
| 1219 |
+
823,
|
| 1220 |
+
449
|
| 1221 |
+
],
|
| 1222 |
+
"page_idx": 9
|
| 1223 |
+
},
|
| 1224 |
+
{
|
| 1225 |
+
"type": "text",
|
| 1226 |
+
"text": "Guido W Imbens and Jeffrey M Wooldridge. Recent developments in the econometrics of program evaluation. Journal of Economic Literature, 47(1):5–86, 2009. ",
|
| 1227 |
+
"bbox": [
|
| 1228 |
+
176,
|
| 1229 |
+
455,
|
| 1230 |
+
821,
|
| 1231 |
+
486
|
| 1232 |
+
],
|
| 1233 |
+
"page_idx": 9
|
| 1234 |
+
},
|
| 1235 |
+
{
|
| 1236 |
+
"type": "text",
|
| 1237 |
+
"text": "Fredrik Johansson, Uri Shalit, and David Sontag. Learning representations for counterfactual inference. In ICML, pp. 3020–3029, 2016. ",
|
| 1238 |
+
"bbox": [
|
| 1239 |
+
174,
|
| 1240 |
+
493,
|
| 1241 |
+
821,
|
| 1242 |
+
523
|
| 1243 |
+
],
|
| 1244 |
+
"page_idx": 9
|
| 1245 |
+
},
|
| 1246 |
+
{
|
| 1247 |
+
"type": "text",
|
| 1248 |
+
"text": "Kun Kuang, Peng Cui, Bo Li, Meng Jiang, Shiqiang Yang, and Fei Wang. Treatment effect estimation with data-driven variable decomposition. In AAAI, 2017. ",
|
| 1249 |
+
"bbox": [
|
| 1250 |
+
173,
|
| 1251 |
+
531,
|
| 1252 |
+
821,
|
| 1253 |
+
560
|
| 1254 |
+
],
|
| 1255 |
+
"page_idx": 9
|
| 1256 |
+
},
|
| 1257 |
+
{
|
| 1258 |
+
"type": "text",
|
| 1259 |
+
"text": "Christos Louizos, Uri Shalit, Joris M Mooij, David Sontag, Richard Zemel, and Max Welling. Causal effect inference with deep latent-variable models. In NeurIPS, pp. 6446–6456. 2017. ",
|
| 1260 |
+
"bbox": [
|
| 1261 |
+
174,
|
| 1262 |
+
569,
|
| 1263 |
+
823,
|
| 1264 |
+
598
|
| 1265 |
+
],
|
| 1266 |
+
"page_idx": 9
|
| 1267 |
+
},
|
| 1268 |
+
{
|
| 1269 |
+
"type": "text",
|
| 1270 |
+
"text": "Yishay Mansour, Mehryar Mohri, and Afshin Rostamizadeh. Domain adaptation: Learning bounds and algorithms. arXiv preprint arXiv:0902.3430, 2009. ",
|
| 1271 |
+
"bbox": [
|
| 1272 |
+
174,
|
| 1273 |
+
607,
|
| 1274 |
+
821,
|
| 1275 |
+
636
|
| 1276 |
+
],
|
| 1277 |
+
"page_idx": 9
|
| 1278 |
+
},
|
| 1279 |
+
{
|
| 1280 |
+
"type": "text",
|
| 1281 |
+
"text": "Judea Pearl. Causality. Cambridge University Press, 2009. ",
|
| 1282 |
+
"bbox": [
|
| 1283 |
+
173,
|
| 1284 |
+
645,
|
| 1285 |
+
562,
|
| 1286 |
+
660
|
| 1287 |
+
],
|
| 1288 |
+
"page_idx": 9
|
| 1289 |
+
},
|
| 1290 |
+
{
|
| 1291 |
+
"type": "text",
|
| 1292 |
+
"text": "Paul R Rosenbaum and Donald B Rubin. The central role of the propensity score in observational studies for causal effects. Biometrika, 1983. ",
|
| 1293 |
+
"bbox": [
|
| 1294 |
+
173,
|
| 1295 |
+
667,
|
| 1296 |
+
823,
|
| 1297 |
+
698
|
| 1298 |
+
],
|
| 1299 |
+
"page_idx": 9
|
| 1300 |
+
},
|
| 1301 |
+
{
|
| 1302 |
+
"type": "text",
|
| 1303 |
+
"text": "Donald B Rubin. Estimating causal effects of treatments in randomized and nonrandomized studies. Journal of Educational Psychology, 66(5):688, 1974. ",
|
| 1304 |
+
"bbox": [
|
| 1305 |
+
176,
|
| 1306 |
+
707,
|
| 1307 |
+
823,
|
| 1308 |
+
736
|
| 1309 |
+
],
|
| 1310 |
+
"page_idx": 9
|
| 1311 |
+
},
|
| 1312 |
+
{
|
| 1313 |
+
"type": "text",
|
| 1314 |
+
"text": "Uri Shalit, Fredrik D. Johansson, and David Sontag. Estimating individual treatment effect: Generalization bounds and algorithms. In ICML, pp. 3076–3085, 2017. ",
|
| 1315 |
+
"bbox": [
|
| 1316 |
+
174,
|
| 1317 |
+
743,
|
| 1318 |
+
821,
|
| 1319 |
+
773
|
| 1320 |
+
],
|
| 1321 |
+
"page_idx": 9
|
| 1322 |
+
},
|
| 1323 |
+
{
|
| 1324 |
+
"type": "text",
|
| 1325 |
+
"text": "Hidetoshi Shimodaira. Improving predictive inference under covariate shift by weighting the loglikelihood function. Journal of Statistical Planning And Inference, 90(2), 2000. ",
|
| 1326 |
+
"bbox": [
|
| 1327 |
+
173,
|
| 1328 |
+
781,
|
| 1329 |
+
820,
|
| 1330 |
+
811
|
| 1331 |
+
],
|
| 1332 |
+
"page_idx": 9
|
| 1333 |
+
},
|
| 1334 |
+
{
|
| 1335 |
+
"type": "text",
|
| 1336 |
+
"text": "Richard S Sutton and Andrew G Barto. Reinforcement Learning: An Introduction, volume 1. MIT Press Cambridge, 1998. ",
|
| 1337 |
+
"bbox": [
|
| 1338 |
+
173,
|
| 1339 |
+
819,
|
| 1340 |
+
821,
|
| 1341 |
+
849
|
| 1342 |
+
],
|
| 1343 |
+
"page_idx": 9
|
| 1344 |
+
},
|
| 1345 |
+
{
|
| 1346 |
+
"type": "text",
|
| 1347 |
+
"text": "Adith Swaminathan and Thorsten Joachims. Batch learning from logged bandit feedback through counterfactual risk minimization. JMLR, 16, 2015a. ",
|
| 1348 |
+
"bbox": [
|
| 1349 |
+
173,
|
| 1350 |
+
857,
|
| 1351 |
+
820,
|
| 1352 |
+
886
|
| 1353 |
+
],
|
| 1354 |
+
"page_idx": 9
|
| 1355 |
+
},
|
| 1356 |
+
{
|
| 1357 |
+
"type": "text",
|
| 1358 |
+
"text": "Adith Swaminathan and Thorsten Joachims. Counterfactual risk minimization: Learning from logged bandit feedback. In ICML, 2015b. ",
|
| 1359 |
+
"bbox": [
|
| 1360 |
+
174,
|
| 1361 |
+
895,
|
| 1362 |
+
821,
|
| 1363 |
+
924
|
| 1364 |
+
],
|
| 1365 |
+
"page_idx": 9
|
| 1366 |
+
},
|
| 1367 |
+
{
|
| 1368 |
+
"type": "text",
|
| 1369 |
+
"text": "Adith Swaminathan and Thorsten Joachims. The self-normalized estimator for counterfactual learning. In NeurIPS, 2015c. ",
|
| 1370 |
+
"bbox": [
|
| 1371 |
+
173,
|
| 1372 |
+
103,
|
| 1373 |
+
825,
|
| 1374 |
+
132
|
| 1375 |
+
],
|
| 1376 |
+
"page_idx": 10
|
| 1377 |
+
},
|
| 1378 |
+
{
|
| 1379 |
+
"type": "text",
|
| 1380 |
+
"text": "Liuyi Yao, Sheng Li, Yaliang Li, Mengdi Huai, Jing Gao, and Aidong Zhang. Representation learning for treatment effect estimation from observational data. In NeurIPS, pp. 2633–2643, 2018. ",
|
| 1381 |
+
"bbox": [
|
| 1382 |
+
174,
|
| 1383 |
+
141,
|
| 1384 |
+
825,
|
| 1385 |
+
170
|
| 1386 |
+
],
|
| 1387 |
+
"page_idx": 10
|
| 1388 |
+
}
|
| 1389 |
+
]
|
parse/train/HkxBJT4YvB/HkxBJT4YvB_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/HkxBJT4YvB/HkxBJT4YvB_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/ryepFJbA-/ryepFJbA-.md
ADDED
|
@@ -0,0 +1,323 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ON CONVERGENCE AND STABILITY OF GANS
|
| 2 |
+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
We propose studying GAN training dynamics as regret minimization, which is in contrast to the popular view that there is consistent minimization of a divergence between real and generated distributions. We analyze the convergence of GAN training from this new point of view to understand why mode collapse happens. We hypothesize the existence of undesirable local equilibria in this non-convex game to be responsible for mode collapse. We observe that these local equilibria often exhibit sharp gradients of the discriminator function around some real data points. We demonstrate that these degenerate local equilibria can be avoided with a gradient penalty scheme called DRAGAN. We show that DRAGAN enables faster training, achieves improved stability with fewer mode collapses, and leads to generator networks with better modeling performance across a variety of architectures and objective functions.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
Generative modeling involves taking a set of samples drawn from an unknown data generating distribution $P _ { r e a l }$ and finding an estimate $P _ { m o d e l }$ that closely resembles it. Generative adversarial networks (GAN) (Goodfellow et al., 2014) is a powerful framework used for fitting implicit generative models. The basic setup consists of two networks, the generator and the discriminator, playing against each other in a repeated zero-sum game setting. The goal here is to reach an equilibrium where $P _ { r e a l }$ , $P _ { m o d e l }$ are close, and the alternating gradient updates procedure (AGD) is used to achieve this. However, this process is highly unstable and often results in mode collapse (Goodfellow, 2017). This calls for an deeper investigation into training dynamics of GANs.
|
| 12 |
+
|
| 13 |
+
In this paper, we propose studying GAN training dynamics as a repeated game in which both the players are using no-regret algorithms (Cesa-Bianchi & Lugosi, 2006) and discuss how AGD 1 falls under this paradigm. In contrast, much of the theory (Goodfellow et al., 2014; Arjovsky & Bottou, 2017) and recent developments (Nowozin et al., 2016; Arjovsky et al., 2017; Gulrajani et al., 2017) are based on the unrealistic assumption that the discriminator is playing optimally (in the function space) at each step and as a result, there is consistent minimization of a divergence between real and generated distributions. This corresponds to at least one player using the best-response algorithm (in the function space), and the resulting game dynamics can be completely different in both these cases (Nisan et al., 2007). Thus, there is a clear disconnect between theoretical arguments used as motivation in recent literature and what actually happens in practice.
|
| 14 |
+
|
| 15 |
+
We would like to point out that the latter view can still be useful for reasoning about the asymptotic equilibrium situation but we argue that regret minimization is the more appropriate way to think about GAN training dynamics. So, we analyze the convergence of GAN training from this new point of view to understand why mode collapse happens. We start with a short analysis of the artificial convex-concave case of the GAN game in section 2.2. This setting has a unique solution and guaranteed convergence (of averaged iterates) using no-regret algorithms can be shown with standard arguments from game theory literature. Here, we make explicit, the critical (previously not widely known) connection between AGD used in GAN training and regret minimization. This immediately yields a novel proof for the asymptotic convergence of GAN training, in the non-parametric limit. Prior to our work, such a result (Goodfellow et al., 2014) required a strong assumption that the discriminator is optimal at each step.
|
| 16 |
+
|
| 17 |
+
However, these convergence results do not hold when the game objective function is non-convex, which is the practical case when deep neural networks are used. In non-convex games, global regret minimization and equilibrium computation are computationally hard in general. Recent gametheoretic literature indicates that AGD can end up cycling (Mertikopoulos et al., 2017) or converging to a (potentially bad) local equilibrium, under some conditions (Hazan et al., 2017). We hypothesize these to be the reasons for cycling and mode collapse observed during GAN training, respectively (section 2.3). In this work, we do not explore the cycling issue but focus our attention on the mode collapse problem. In contrast to our hypothesis, the prevalent view of mode collapse and instability (Arjovsky & Bottou, 2017) is that it results from attempting to minimize a strong divergence during training. However, as we argued earlier, GAN training with AGD does not consistently minimize a divergence and therefore, such a theory is not suitable to discuss convergence or to address the stability issue.
|
| 18 |
+
|
| 19 |
+
Next, if mode collapse is indeed the result of an undesirable local equilibrium, a natural question then is how we can avoid it? We make a simple observation that, in the GAN game, mode collapse situations are often accompanied by sharp gradients of the discriminator function around some real data points (section 2.4). Therefore, a simple strategy to mitigate mode collapse is to regularize the discriminator so as to constrain its gradients in the ambient data space. We demonstrate that this improves the stability using a toy experiment with one hidden layer neural networks. This gives rise to a new explanation for why WGAN and gradient penalties might be improving the stability of GAN training – they are mitigating the mode collapse problem by keeping the gradients of the discriminator function small in data space. From this motivation, we propose a training algorithm involving a novel gradient penalty scheme called DRAGAN (Deep Regret Analytic Generative Adversarial Networks) which enables faster training, achieves improved stability and modeling performance (over WGAN-GP (Gulrajani et al., 2017) which is the state-of-the-art stable training procedure) across a variety of architectures and objective functions.
|
| 20 |
+
|
| 21 |
+
Below, we provide a short literature review. Several recent works focus on stabilizing the training of GANs. While some solutions (Radford et al., 2015; Salimans et al., 2016) require the usage of specific architectures (or) modeling objectives, some (Che et al., 2016; Zhao et al., 2016) significantly deviate from the original GAN framework. Other promising works in this direction (Metz et al., 2016; Arjovsky et al., 2017; Qi, 2017; Gulrajani et al., 2017) impose a significant computational overhead. Thus, a fast and versatile method for consistent stable training of GANs is still missing in the literature. Our work is aimed at addressing this.
|
| 22 |
+
|
| 23 |
+
To summarize, our contributions are as follows:
|
| 24 |
+
|
| 25 |
+
• We propose a new way of reasoning about the GAN training dynamics - by viewing AGD as regret minimization.
|
| 26 |
+
• We provide a novel proof for the asymptotic convergence of GAN training in the nonparametric limit and it does not require the discriminator to be optimal at each step.
|
| 27 |
+
• We discuss how AGD can converge to a potentially bad local equilibrium in non-convex games and hypothesize this to be responsible for mode collapse during GAN training.
|
| 28 |
+
• We characterize mode collapse situations with sharp gradients of the discriminator function around some real data points.
|
| 29 |
+
• A novel gradient penalty scheme called DRAGAN is introduced based on this observation and we demonstrate that it mitigates the mode collapse issue.
|
| 30 |
+
|
| 31 |
+
# 2 THEORETICAL ANALYSIS OF GAN TRAINING DYNAMICS
|
| 32 |
+
|
| 33 |
+
We start with a brief description of the GAN framework (section 2.1). We discuss guaranteed convergence in the artificial convex-concave case using no-regret algorithms, and make a critical connection between GAN training process (AGD) and regret minimization (section 2.2). This immediately yields a novel proof for the asymptotic convergence of GAN training in the nonparametric limit. Then, we consider the practical non-convex case and discuss how AGD can converge to a potentially bad local equilibrium here (section 2.3). We characterize mode collapse situations with sharp gradients of the discriminator function around real samples and this provides an effective strategy to avoid them. This naturally leads to the introduction of our gradient penalty scheme DRAGAN (section 2.4). We end with a discussion and comparison with other gradient penalties in the literature (section 2.5).
|
| 34 |
+
|
| 35 |
+
# 2.1 BACKGROUND
|
| 36 |
+
|
| 37 |
+
The GAN framework can be viewed as a repeated zero-sum game, consisting of two players - the generator, which produces synthetic data given some noise source and the discriminator, which is trained to distinguish generator’s samples from the real data. The generator model G is parameterized by $\phi$ , takes a noise vector $\mathbf { z }$ as input, and produces a synthetic sample $G _ { \phi } ( \mathbf { z } )$ . The discriminator model $\mathrm { D }$ is parameterized by $\theta$ , takes a sample $\mathbf { x }$ as input and computes $D _ { \theta } ( \mathbf { x } )$ , which can be interpreted as the probability that $\mathbf { x }$ is real.
|
| 38 |
+
|
| 39 |
+
The models $\mathbf { G }$ , D can be selected from any arbitrary class of functions – in practice, GANs typical rely on deep networks for both. Their cost functions are defined as
|
| 40 |
+
|
| 41 |
+
$$
|
| 42 |
+
\begin{array} { r l } & { J ^ { ( D ) } ( \phi , \theta ) : = - \mathbb { E } _ { x \sim p _ { r e a l } } \log D _ { \theta } ( x ) - \mathbb { E } _ { \mathbf { z } } \log ( 1 - D _ { \theta } ( G _ { \phi } ( z ) ) ) , \mathrm { ~ a r ~ } } \\ & { J ^ { ( G ) } ( \phi , \theta ) : = - J ^ { ( D ) } ( \phi , \theta ) } \end{array}
|
| 43 |
+
$$
|
| 44 |
+
|
| 45 |
+
And the complete game can be specified as -
|
| 46 |
+
|
| 47 |
+
$$
|
| 48 |
+
\underset { \phi } { \operatorname* { m i n } } \underset { \theta } { \operatorname* { m a x } } \left\{ J ( \phi , \theta ) = \mathbb { E } _ { x \sim p _ { r e a l } } \log D _ { \theta } ( x ) + \mathbb { E } _ { \mathbf { z } } \log ( 1 - D _ { \theta } ( G _ { \phi } ( z ) ) ) \right\}
|
| 49 |
+
$$
|
| 50 |
+
|
| 51 |
+
The generator distribution $P _ { m o d e l }$ asymptotically converges to the real distribution $P _ { r e a l }$ if updates are made in the function space and the discriminator is optimal at each step (Goodfellow et al., 2014).
|
| 52 |
+
|
| 53 |
+
2.2 CONVEX-CONCAVE CASE AND NO-REGRET ALGORITHMS
|
| 54 |
+
|
| 55 |
+
According to Sion’s theorem (Sion, 1958), if $\Phi \subset \mathbb { R } ^ { m }$ , $\Theta \subset \mathbb { R } ^ { n }$ such that they are compact and convex sets, and the function $J : \Phi \times \Theta \mathbb { R }$ is convex in its first argument and concave in its second, then we have -
|
| 56 |
+
|
| 57 |
+
$$
|
| 58 |
+
\operatorname* { m i n } _ { \phi \in \Phi } \operatorname* { m a x } _ { \theta \in \Theta } J ( \phi , \theta ) = \operatorname* { m a x } _ { \theta \in \Theta } \operatorname* { m i n } _ { \phi \in \Phi } J ( \phi , \theta )
|
| 59 |
+
$$
|
| 60 |
+
|
| 61 |
+
That is, an equilibrium is guaranteed to exist in this setting where players’ payoffs correspond to the unique value of the game (Neumann, 1928).
|
| 62 |
+
|
| 63 |
+
A natural question then is how we can find such an equilibrium. A simple procedure that players can use is best-response algorithms (BRD). In each round, best-responding players play their optimal strategy given their opponent’s current strategy. Despite its simplicity, BRD are often computationally intractable and they don’t lead to convergence even in simple games. In contrast, a technique that is both efficient and provably works is regret minimization. If both players update their parameters using no-regret algorithms, then it is easy to show that their averaged iterates will converge to an equilibrium pair (Nisan et al., 2007). Let us first define no-regret algorithms.
|
| 64 |
+
|
| 65 |
+
Definition 2.1 (No-regret algorithm). Given a sequence of convex loss functions $L _ { 1 } , L _ { 2 } , \dots :$ $K \mathbb { R }$ , an algorithm that selects a sequence of $k _ { t }$ ’s, each of which may only depend on previously observed $L _ { 1 } , \dots , L _ { t - 1 }$ , is said to have no regret if $\begin{array} { r } { \frac { R ( T ) } { T } = o ( 1 ) } \end{array}$ , where we define
|
| 66 |
+
|
| 67 |
+
$$
|
| 68 |
+
\begin{array} { r } { R ( T ) : = \sum _ { t = 1 } ^ { T } L _ { t } ( k _ { t } ) - \operatorname* { m i n } _ { k \in K } \sum _ { t = 1 } ^ { T } L _ { t } ( k ) } \end{array}
|
| 69 |
+
$$
|
| 70 |
+
|
| 71 |
+
We can apply no-regret learning to our problem of equilibrium finding in the GAN game $J ( \cdot , \cdot )$ as follows. The generator imagines the function $J ( \cdot , \theta _ { t } )$ as its loss function on round $t$ , and similarly the discriminator imagines computes the average itera $- J ( \phi _ { t } , \cdot )$ unctiand $t$ $T$ oun. If f play, each playeris the equilibrium $\begin{array} { r } { \stackrel { \cdot } { \phi } _ { T } : = \frac { 1 } { T } \sum _ { t = 1 } ^ { T } \phi _ { \underline { { t } } } } \end{array}$ $\begin{array} { r } { \bar { \theta } _ { T } : = \frac { 1 } { T } \sum _ { t = 1 } ^ { T } \theta _ { t } } \end{array}$ $V ^ { * }$ value of the game, and the players suffer regret $R _ { 1 } ( T )$ and $\bar { R _ { 2 } ( T ) }$ respectively, then one can show using standard arguments (Freund & Schapire, 1999) that -
|
| 72 |
+
|
| 73 |
+
$$
|
| 74 |
+
\begin{array} { r } { V ^ { * } - \frac { R _ { 2 } ( T ) } { T } \le \operatorname* { m a x } _ { \theta \in \Theta } J \big ( \bar { \phi } _ { T } , \theta \big ) - \frac { R _ { 2 } ( T ) } { T } \le \operatorname* { m i n } _ { \phi \in \Phi } J \big ( \phi , \bar { \theta } _ { T } \big ) + \frac { R _ { 1 } ( T ) } { T } \le V ^ { * } + \frac { R _ { 1 } ( T ) } { T } . } \end{array}
|
| 75 |
+
$$
|
| 76 |
+
|
| 77 |
+
In other words, $\bar { \theta } _ { T }$ and $\bar { \phi } _ { T }$ are "almost optimal" solutions to the game, where the "almost" approximation factor is given by the average regret terms R1(T )+R2(T ) . Under the no-regret condition, the former will vanish, and hence we can guarantee convergence in the limit. Next, we define a popular family of no-regret algorithms.
|
| 78 |
+
|
| 79 |
+
Definition 2.2 (Follow The Regularized Leader). FTRL (Hazan et al., 2016) selects $k _ { t }$ on round $t$ by solving for arg $\begin{array} { r } { \operatorname* { m i n } _ { k \in \boldsymbol { K } } \{ \bar { \sum } _ { s = 1 } ^ { t - 1 } L _ { s } ( k ) + \frac { 1 } { \eta } \Omega ( k ) \} } \end{array}$ , where $\Omega ( \cdot )$ is some convex regularization function and $\eta$ is a learning rate.
|
| 80 |
+
|
| 81 |
+
Remark: Roughly speaking, if you select the regularization as $\begin{array} { r } { \Omega ( \cdot ) = \frac { 1 } { 2 } \| \cdot \| ^ { 2 } } \end{array}$ , then FTRL becomes the well-known online gradient descent or OGD (Zinkevich, 2003). Ignoring the case of constraint violations, OGD can be written in a simple iterative form: $k _ { t } = k _ { t - 1 } - \eta \nabla L _ { t - 1 } ( k _ { t - 1 } )$ .
|
| 82 |
+
|
| 83 |
+
The typical GAN training procedure using alternating gradient updates (or simultaneous gradient updates) is almost this - both the players applying online gradient descent. Notice that the $\operatorname* { m i n } / \operatorname* { m a x }$ objective function in GANs involves a stochastic component, with two randomized inputs given on each round, $x$ and $z$ which are sampled from the data distribution and a standard multivariate normal, respectively. Let us write $J _ { x , z } ( \phi , \theta \bar ) : = \log { D _ { \theta } ( x ) } + \log ( 1 - D _ { \theta } ( G _ { \phi } ( z ) ) )$ . Taking expectations with respect to $\mathbf { x }$ and $\mathbf { z }$ , we define the full (non-stochastic) game as $J ( \phi , \theta ) = \mathbb { E } _ { \mathbf { x } , \mathbf { z } } \left[ J _ { x , z } ( \phi , \theta ) \right]$ . But the above online training procedure is still valid with stochastic inputs. That is, the equilibrium computation would proceed similarly, where on each round we sample $x _ { t }$ and $z _ { t }$ , and follow the updates
|
| 84 |
+
|
| 85 |
+
$$
|
| 86 |
+
\phi _ { t + 1 } \phi _ { t } - \eta \nabla _ { \phi } J _ { x _ { t } , z _ { t } } ( \phi _ { t } , \theta _ { t } ) . \quad \mathrm { a n d } \quad \theta _ { t + 1 } \theta _ { t } + \eta ^ { ' } \nabla _ { \theta } J _ { x _ { t } , z _ { t } } ( \phi _ { t } , \theta _ { t } )
|
| 87 |
+
$$
|
| 88 |
+
|
| 89 |
+
On a side note, a benefit of this stochastic perspective is that we can get a generalization bound on the mean parameters $\bar { \phi } _ { T }$ after $T$ rounds of optimization. The celebrated "online-to-batch conversion" (Cesa-Bianchi et al., 2004) implies that $\mathbb { E } _ { \mathbf { x } , \mathbf { z } } \big [ J _ { x , z } ( \bar { \phi } _ { T } , \theta ) \big ]$ , for any $\theta$ , is no more than the optimal value $\mathbb { E } _ { \mathbf { x } , \mathbf { z } } [ J _ { x , z } ( \phi ^ { * } , \theta ) ]$ plus an "estimation error" bounded by $\mathbb { E } \left[ { \frac { R _ { 1 } ( T ) + R _ { 2 } ( T ) } { T } } \right]$ , where the expectation is taken with respect to the sequence of samples observed along the way, and any randomness in the algorithm. Analogously, this applies to $\bar { \theta } _ { T } ^ { \star }$ as well. A limitation of this result, however, is that it requires a fresh sample $x _ { t }$ to be used on every round.
|
| 90 |
+
|
| 91 |
+
To summarize, we discussed in this subsection about how the artificial convex-concave case is easy to solve through regret minimization. While this is a standard result in game theory and online learning literature, it is not widely known in the GAN literature. For instance, Salimans et al. (2016) and Goodfellow (2017) discuss a toy game which is convex-concave and show cycling behavior. But, the simple solution in that case is to just average the iterates. Further, we made explicit, the critical connection between regret minimization and alternating gradient updates procedure used for GAN training. Now, Goodfellow et al. (2014) argue that, if $G$ and $D$ have enough capacity (in the non-parametric limit) and updates are made in the function space, then the GAN game can be considered convex-concave. Thus, our analysis based on regret minimization immediately yields a novel proof for the asymptotic convergence of GANs, without requiring that the discriminator be optimal at each step.
|
| 92 |
+
|
| 93 |
+
Moreover, the connection between regret minimization and GAN training process gives a novel way to reason about its dynamics. In contrast, the popular view of GAN training as consistently minimizing a divergence arises if the discriminator uses BRD (in the function space) and thus, it has little to do with the actual training process of GANs. As a result, this calls into question the motivation behind many recent developments like WGAN and gradient penalties among others, which improve the training stability of GANs. In the next subsection, we discuss the practical non-convex case and why training instability arises. This provides the necessary ideas to investigate mode collapse from our new perspective.
|
| 94 |
+
|
| 95 |
+
# 2.3 NON-CONVEX CASE AND LOCAL EQUILIBRIA
|
| 96 |
+
|
| 97 |
+
In practice, we choose $G$ , $D$ to be deep neural networks and the function $J ( \phi , \theta )$ need not be convexconcave anymore. The nice properties we had in the convex-concave case like the existence of a unique solution and guaranteed convergence through regret minimization no longer hold. In fact, regret minimization and equilibrium computation are computationally hard in general non-convex settings. However, analogous to the case of non-convex optimization (also intractable) where we focus on finding local minima, we can look for tractable solution concepts in non-convex games.
|
| 98 |
+
|
| 99 |
+
Recent work by Hazan et al. (2017) introduces the notion of local regret and shows that if both the players use a smoothed variant of OGD to minimize this quantity, then the non-convex game converges to some form of local equilibrium, under mild assumptions. The usual training procedure of GANs (AGD) corresponds to using a window size of 1 in their formulation. Thus, GAN training will eventually converge (approximately) to a local equilibrium which is described below or the updates will cycle. We leave it to future works to explore the equally important cycling issue and focus here on the former case.
|
| 100 |
+
|
| 101 |
+
Definition 2.3 (Local Equilibrium). A pair $( \phi ^ { * } , \theta ^ { * } )$ is called an $\epsilon$ -approximate local equilibrium if it holds that
|
| 102 |
+
|
| 103 |
+
$$
|
| 104 |
+
\begin{array} { l } { { \forall \phi ^ { ' } , \vert \vert \phi ^ { ' } - \phi ^ { * } \vert \vert \le \eta : J ( \phi ^ { * } , \theta ^ { * } ) \le J ( \phi ^ { ' } , \theta ^ { * } ) + \epsilon } } \\ { { \forall \theta ^ { ' } , \vert \vert \theta ^ { ' } - \theta ^ { * } \vert \vert \le \eta : J ( \phi ^ { * } , \theta ^ { * } ) \ge J ( \phi ^ { * } , \theta ^ { ' } ) - \epsilon } } \end{array}
|
| 105 |
+
$$
|
| 106 |
+
|
| 107 |
+
That is, in a local equilibrium, both the players do not have much of an incentive to switch to any other strategy within a small neighborhood of their current strategies. Now, we turn our attention to the mode collapse issue which poses a significant challenge to the GAN training process. The training is said to have resulted in mode collapse if the generator ends up mapping multiple z vectors to the same output $\mathbf { x }$ , which is assigned a high probability of being real by the discriminator (Goodfellow, 2017). We hypothesize this to be the result of the game converging to bad local equilibria.
|
| 108 |
+
|
| 109 |
+
The prevalent view of mode collapse and instability in GAN training (Arjovsky & Bottou, 2017) is that it is caused due to the supports of real and model distributions being disjoint or lying on low-dimensional manifolds. The argument is that this would result in strong distance measures like KL-divergence or JS-divergence getting maxed out, and the generator cannot get useful gradients to learn. In fact, this is the motivation for the introduction of WGAN (Arjovsky et al., 2017). But, as we argued earlier, GAN training does not consistently minimize a divergence as that would require using intractable best-response algorithms. Hence, such a theory is not suitable to discuss convergence or to address the instability of GAN training. Our new view of GAN training process as regret minimization is closer to what is used in practice and provides an alternate explanation for mode collapse - the existence of undesirable local equilibria. The natural question now is how we can avoid them?
|
| 110 |
+
|
| 111 |
+
# 2.4 MODE COLLAPSE AND GRADIENT PENALTIES
|
| 112 |
+
|
| 113 |
+
The problem of dealing with multiple equilibria in games and how to avoid undesirable ones is an important question in algorithmic game theory (Nisan et al., 2007). In this work, we constrain ourselves to the GAN game and aim to characterize the undesirable local equilibria (mode collapse) in an effort to avoid them. In this direction, after empirically studying multiple mode collapse cases, we found that it is often accompanied by the discriminator function having sharp gradients around some real data points (See Figure $1 ^ { 2 }$ ). This intuitively makes sense from the definition of mode collapse discussed earlier. Such sharp gradients encourage the generator to map multiple $z$ vectors to a single output $x$ and lead the game towards a degenerate equilibrium. Now, a simple strategy to mitigate this failure case would be to regularize the discriminator using the following penalty -
|
| 114 |
+
|
| 115 |
+
$$
|
| 116 |
+
\lambda \cdot \mathbb { E } _ { x \sim P _ { r e a l } , \delta \sim N _ { d } ( 0 , c I ) } \big [ \| \nabla _ { \mathbf { x } } D _ { \theta } ( x + \delta ) \| ^ { 2 } \big ]
|
| 117 |
+
$$
|
| 118 |
+
|
| 119 |
+
This strategy indeed improves the stability of GAN training. We show the results of a toy experiment with one hidden layer neural networks in Figure 2 and Figure 3 to demonstrate this. This partly explains the success of WGAN and gradient penalties in the recent literature (Gulrajani et al., 2017; Qi, 2017), and why they improve the training stability of GANs, despite being motivated by reasoning based on unrealistic assumptions. However, we noticed that this scheme in its current form can be brittle and if over-penalized, the discriminator can end up assigning both a real point $x$ and noise $x + \delta$ , the same probability of being real. Thus, a better choice of penalty is -
|
| 120 |
+
|
| 121 |
+
$$
|
| 122 |
+
\lambda \cdot \mathbb { E } _ { x \sim P _ { r e a l } , \delta \sim N _ { d } ( 0 , c I ) } \big [ \operatorname* { m a x } \big ( 0 , \| \nabla _ { \mathbf { x } } D _ { \theta } ( x + \delta ) \| ^ { 2 } - k \big ) \big ]
|
| 123 |
+
$$
|
| 124 |
+
|
| 125 |
+
Finally, due to practical optimization considerations (this has also been observed in Gulrajani et al.
|
| 126 |
+
(2017)), we instead use the penalty shown below in all our experiments.
|
| 127 |
+
|
| 128 |
+
$$
|
| 129 |
+
\lambda \cdot \mathbb { E } _ { x \sim P _ { r e a l } , \delta \sim N _ { d } ( 0 , c I ) } \big [ \| \nabla _ { \mathbf { x } } D _ { \theta } ( x + \delta ) \| - k \big ] ^ { 2 }
|
| 130 |
+
$$
|
| 131 |
+
|
| 132 |
+

|
| 133 |
+
Figure 1: One hidden layer networks as $G$ and $D$ (MNIST). On the left, we plot inception score against time for vanilla GAN training and on the right, we plot the squared norm of discriminator’s gradients around real data points for the same experiment. Notice how this quantity changes before, during and after mode collapse events.
|
| 134 |
+
|
| 135 |
+

|
| 136 |
+
Figure 2: One hidden layer networks as $G$ and $D$ (MNIST). On the left, losses for both the players are shown for vanilla GAN training and on the right, we added a regularization term to penalize the gradients of $D ( x )$ around real data points. Notice the improved stability.
|
| 137 |
+
|
| 138 |
+
This still works as long as small perturbations of real data, $x + \delta$ are likely to lie off the data-manifold, which is true in the case of image domain and some other settings. Because, in these cases, we do want our discriminator to assign different probabilities of being real to training data and noisy samples. We caution the practitioners to keep this important point in mind while making their choice of penalty. All of the above schemes have the same effect of constraining the norm of discriminator’s gradients around real points to be small and can therefore, mitigate the mode collapse situation. We refer to GAN training using these penalty schemes or heuristics as the DRAGAN algorithm.
|
| 139 |
+
|
| 140 |
+
Additional details:
|
| 141 |
+
|
| 142 |
+
• We use the vanilla GAN objective in our experiments, but our penalty improves stability using other objective functions as well. This is demonstrated in section 3.3.
|
| 143 |
+
• The penalty scheme used in our experiments is the one shown in equation 1.
|
| 144 |
+
• We use small pixel-level noise but it is possible to find better ways of imposing this penalty. However, this exploration is beyond the scope of our paper.
|
| 145 |
+
• The optimal configuration of the hyperparameters for DRAGAN depends on the architecture, dataset and data domain. We set them to be $\lambda \sim 1 0$ , $k = 1$ and $c \sim 1 0$ in most of our experiments.
|
| 146 |
+
|
| 147 |
+
# 2.5 COUPLED VS LOCAL PENALTIES
|
| 148 |
+
|
| 149 |
+
Several recent works have also proposed regularization schemes which constrain the discriminator’s gradients in the ambient data space, so as to improve the stability of GAN training. Despite being from different motivations, WGAN-GP and LS-GAN are closely related approaches to ours. First, we show that these two approaches are very similar, which is not widely known in the literature. Qi (2017) introduced LS-GAN with the idea of maintaining a margin between losses assigned to real and fake samples. Further, they also impose Lipschitz constraint on $D$ and the two conditions together result in a situation where the following holds for any real and fake sample pair (roughly) -
|
| 150 |
+
|
| 151 |
+

|
| 152 |
+
Figure 3: One hidden layer networks as $G$ and $D$ (MNIST). On the left, inception score plot is shown for vanilla GAN training and on the right, we added a regularization term to penalize the gradients of $D ( x )$ around real data points. Notice how mode collapse is mitigated.
|
| 153 |
+
|
| 154 |
+
$$
|
| 155 |
+
D _ { \theta } ( x ) - D _ { \theta } ( G _ { \phi } ( z ) ) \approx | | x , G _ { \phi } ( z ) | |
|
| 156 |
+
$$
|
| 157 |
+
|
| 158 |
+
The authors argue that the resulting discriminator function would have non-vanishing gradients almost everywhere between real and fake samples (section 6 of Qi (2017)). Next, Gulrajani et al. (2017) proposed an extension to address various shortcomings of the original WGAN and they impose the following condition on $D$ -
|
| 159 |
+
|
| 160 |
+
$$
|
| 161 |
+
| | \nabla _ { x } D _ { \theta } ( \hat { x } ) | | \approx 1
|
| 162 |
+
$$
|
| 163 |
+
|
| 164 |
+
where $\hat { x } = ( \epsilon ) x + ( 1 - \epsilon ) G _ { \phi } ( z )$ is some point on the line between a real and a fake sample, both chosen independently at random. This leads to $D$ having norm-1 gradients almost everywhere between real and fake samples. Notice that this behavior is very similar to that of LS-GAN’s discriminator function. Thus, WGAN-GP is a slight variation of the original LS-GAN algorithm and we refer to these methods as “coupled penalties”.
|
| 165 |
+
|
| 166 |
+
On a side note, we also want to point out that WGAN-GP’s penalty doesn’t actually follow from KR-duality as claimed in their paper. By Lemma 1 of Gulrajani et al. (2017), the optimal discriminator $D ^ { * }$ will have norm-1 gradients (almost everywhere) only between those $x$ and $G _ { \phi } ( z )$ pairs which are sampled from the optimal coupling or joint distribution $\pi ^ { * }$ . Therefore, there is no basis for WGAN-GP’s penalty (equation 3) where arbitrary pairs of real and fake samples are used. This fact adds more credence to our theory regarding why gradient penalties might be mitigating mode collapse.
|
| 167 |
+
|
| 168 |
+
The most important distinction between coupled penalties and our methods is that we only impose gradient constraints in local regions around real samples. We refer to these penalty schemes as “local penalties”. Coupled penalties impose gradient constraints between real and generated samples and we point out some potential issues that arise from this:
|
| 169 |
+
|
| 170 |
+
• With adversarial training finding applications beyond fitting implicit generative models, penalties which depend on generated samples can be prohibitive.
|
| 171 |
+
• The resulting class of functions when coupled penalties are used will be highly restricted compared to our method and this affects modeling performance. We refer the reader to Figure 4 and appendix section 5.2.2 to see this effect.
|
| 172 |
+
• Our algorithm works with AGD, while WGAN-GP needs multiple inner iterations to optimize D. This is because the generated samples can be anywhere in the data space and they change from one iteration to the next. In contrast, we consistently regularize $D _ { \theta } ( x )$ only along the real data manifold.
|
| 173 |
+
|
| 174 |
+
To conclude, appropriate constraining of the discriminator’s gradients can mitigate mode collapse but we should be careful so that it doesn’t have any negative effects. We pointed out some issues with coupled penalties and how local penalties can help. We refer the reader to section 3 for further experimental results.
|
| 175 |
+
|
| 176 |
+

|
| 177 |
+
Figure 4: Swissroll experiment (different phases of training) - Vanilla GAN (top), WGAN-GP (middle), and DRAGAN (bottom). Real samples are marked orange and generated samples are green. Level sets of $D _ { \theta } ( x )$ are shown in the background where yellow is high and purple is low.
|
| 178 |
+
|
| 179 |
+
# 3 EXPERIMENTAL RESULTS
|
| 180 |
+
|
| 181 |
+
In section 3.1, we compare the modeling performance of our algorithm against vanilla GAN and WGAN variants in the standard DCGAN/CIFAR-10 setup. Section 3.2 demonstrates DRAGAN’s improved stability across a variety of architectures. In section 3.3, we show that our method also works with other objective functions. Appendix contains samples for inspection, some of the missing plots and additional results. Throughout, we use inception score (Salimans et al., 2016) which is a well-studied and reliable metric in the literature, and sample quality to measure the performance.
|
| 182 |
+
|
| 183 |
+
# 3.1 INCEPTION SCORES FOR CIFAR-10 USING DCGAN ARCHITECTURE
|
| 184 |
+
|
| 185 |
+
DCGAN is a family of architectures designed to perform well with the vanilla training procedure. They are ubiquitous in the GAN literature owing to the instability of vanilla GAN in general settings. We use this architecture to model CIFAR-10 and compare against vanilla GAN, WGAN and WGANGP. As WGANs need 5 discriminator iterations for every generator iteration, comparing the modeling performance can be tricky. To address this, we report two scores for vanilla GAN and DRAGAN - one using the same number of generator iterations as WGANs and one using the same number of discriminator iterations. The results are shown in Figure 5 and samples are included in the appendix (Figure 8). Notice that DRAGAN beats WGAN variants in both the configurations, while vanilla GAN is only slightly better. A key point to note here is that our algorithm is fast compared to WGANs, so in practice, the performance will be closer to the DRAGANd case. In the next section, we will show that if we move away from this specific architecture family, vanilla GAN training can become highly unstable and that DRAGAN penalty mitigates this issue.
|
| 186 |
+
|
| 187 |
+
# 3.2 MEASURING STABILITY AND PERFORMANCE ACROSS ARCHITECTURES
|
| 188 |
+
|
| 189 |
+
Ideally, we would want our training procedure to perform well in a stable fashion across a variety of architectures (other than DCGANs). Similar to Arjovsky et al. (2017) and Gulrajani et al. (2017), we remove the stabilizing components of DCGAN architecture and demonstrate improved stability $\&$ modeling performance compared to vanilla GAN training (see appendix section 5.2.3). However, this is a small set of architectures and it is not clear if there is an improvement in general.
|
| 190 |
+
|
| 191 |
+
To address this, we introduce a metric termed the BogoNet score to compare the stability & performance of different GAN training procedures. The basic idea is to choose random architectures for players $G$ and $D$ independently, and evaluate the performance of different algorithms in the resulting games. A good algorithm should achieve stable performance without failing to learn or resulting in mode collapse, despite the potentially imbalanced architectures. In our experiment, each player is assigned a network from a diverse pool of architectures belonging to three different families (MLP, ResNet, DCGAN).
|
| 192 |
+
|
| 193 |
+

|
| 194 |
+
Figure 5: Comparison of modeling performance on CIFAR10
|
| 195 |
+
|
| 196 |
+
<table><tr><td>Algorithm</td><td>Score</td></tr><tr><td>WGAN</td><td>3.25</td></tr><tr><td>WGAN-GP</td><td>5.99</td></tr><tr><td>DRAGAN9</td><td>6.11</td></tr><tr><td>DRAGANd</td><td>6.90</td></tr><tr><td>Vanilla GANg</td><td>6.3</td></tr><tr><td>Vanilla GANd</td><td>6.99</td></tr></table>
|
| 197 |
+
|
| 198 |
+
(b) Inception scores
|
| 199 |
+
|
| 200 |
+
Table 1: Summary of inception score statistics across 100 architectures
|
| 201 |
+
|
| 202 |
+
<table><tr><td rowspan=1 colspan=1>Algorithm</td><td rowspan=1 colspan=2>Final score</td><td rowspan=1 colspan=2>Area under curve</td><td rowspan=1 colspan=1>Qual. score</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>Mean</td><td rowspan=1 colspan=1>Std</td><td rowspan=1 colspan=1>Mean</td><td rowspan=1 colspan=1>Std</td><td rowspan=1 colspan=1>Total</td></tr><tr><td rowspan=1 colspan=1>Vanilla GAN</td><td rowspan=1 colspan=1>2.91</td><td rowspan=1 colspan=1>1.44</td><td rowspan=1 colspan=1>277.72</td><td rowspan=1 colspan=1>126.09</td><td rowspan=1 colspan=1>92.5</td></tr><tr><td rowspan=1 colspan=1>DRAGAN</td><td rowspan=1 colspan=1>3.70</td><td rowspan=1 colspan=1>1.71</td><td rowspan=1 colspan=1>312.15</td><td rowspan=1 colspan=1>135.35</td><td rowspan=1 colspan=1>157.5</td></tr><tr><td rowspan=1 colspan=1>WGAN-GP</td><td rowspan=1 colspan=1>3.49</td><td rowspan=1 colspan=1>1.30</td><td rowspan=1 colspan=1>300.09</td><td rowspan=1 colspan=1>100.96</td><td rowspan=1 colspan=1>1</td></tr></table>
|
| 203 |
+
|
| 204 |
+
To demonstrate that our algorithm performs better compared to vanilla GAN training and WGAN-GP, we created 100 such instances of hard games. Each instance is trained using these algorithms on CIFAR-10 (under similar conditions for a fixed number of generator iterations, which gives a slight advantage to WGAN-GP) and we plot how inception score changes over time. For each algorithm, we calculated the average of final inception scores and area under the curve (AUC) over all 100 instances. The results are shown in Table 1. Notice that we beat the other algorithms in both metrics, which indicates some improvement in stability and modeling performance.
|
| 205 |
+
|
| 206 |
+
Further, we perform some qualitative analysis to verify that BogoNet score indeed captures the improvements in stability. We create another set of 50 hard architectures and compare DRAGAN against vanilla GAN training. Each instance is allotted 5 points and we split this bounty between the two algorithms depending on their performance. If both perform well or perform poorly, they get 2.5 points each, so that we nullify the effect of such non-differentiating architectures. However, if one algorithm achieves stable performance compared to the other (in terms of failure to learn or mode collapses), we assign it higher portions of the bounty. Results were judged by two of the authors in a blind manner: The curves were shown side-by-side with the choice of algorithm for each side being randomized and unlabeled. The vanilla GAN received an average score of 92.5 while our algorithm achieved an average score of 157.5 and this correlates with BogoNet score from earlier. See appendix section 5.3 for some additional details regarding this experiment.
|
| 207 |
+
|
| 208 |
+
# 3.3 STABILITY USING DIFFERENT OBJECTIVE FUNCTIONS
|
| 209 |
+
|
| 210 |
+
Our algorithm improves stability across a variety of objective functions and we demonstrate this using the following experiment. Nowozin et al. (2016) show that we can interpret GAN training as minimizing various $f$ -divergences when an appropriate game objective function is used. We show experiments using the objective functions developed for Forward KL, Reverse KL, Pearson $\chi ^ { 2 }$ , Squared Hellinger, and Total Variation divergence minimization. We use a hard architecture from the previous subsection to demonstrate the improvements in stability. Our algorithm is stable in all cases except for the total variation case, while the vanilla algorithm failed in all the cases (see Figure 6 for two examples and Figure 15 in appendix for all five). Thus, practitioners can now choose their game objective from a larger set of functions and use DRAGAN (unlike WGANs which requires a specific objective function).
|
| 211 |
+
|
| 212 |
+

|
| 213 |
+
Figure 6: Inception score plots for two divergence measures, demonstrating superior stability for our algorithm.
|
| 214 |
+
|
| 215 |
+
# 4 CONCLUSIONS
|
| 216 |
+
|
| 217 |
+
In this paper, we propose to study GAN training process as regret minimization, which is in contrast to the popular view that there is consistent minimization of a divergence between real and generated distributions. We analyze the convergence of GAN training from this new point of view and hypothesize that mode collapse occurs due to the existence of undesirable local equilibria. A simple observation is made about how the mode collapse situation often exhibits sharp gradients of the discriminator function around some real data points. This characterization partly explains the workings of previously proposed WGAN and gradient penalties, and motivates our novel penalty scheme. We show evidence of improved stability using DRAGAN and the resulting improvements in modeling performance across a variety of settings. We leave it to future works to explore our ideas in more depth and come up with improved training algorithms.
|
| 218 |
+
|
| 219 |
+
# REFERENCES
|
| 220 |
+
|
| 221 |
+
Martin Arjovsky and Léon Bottou. Towards principled methods for training generative adversarial networks. arXiv preprint arXiv:1701.04862, 2017.
|
| 222 |
+
Martin Arjovsky, Soumith Chintala, and Léon Bottou. Wasserstein gan. arXiv preprint arXiv:1701.07875, 2017.
|
| 223 |
+
Nicolo Cesa-Bianchi and Gábor Lugosi. Prediction, learning, and games. Cambridge university press, 2006.
|
| 224 |
+
Nicolo Cesa-Bianchi, Alex Conconi, and Claudio Gentile. On the generalization ability of on-line learning algorithms. IEEE Transactions on Information Theory, 50(9):2050–2057, 2004.
|
| 225 |
+
Tong Che, Yanran Li, Athul Paul Jacob, Yoshua Bengio, and Wenjie Li. Mode regularized generative adversarial networks. arXiv preprint arXiv:1612.02136, 2016.
|
| 226 |
+
Yoav Freund and Robert E Schapire. Adaptive game playing using multiplicative weights. Games and Economic Behavior, 29(1-2):79–103, 1999.
|
| 227 |
+
Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Z. Ghahramani, M. Welling, C. Cortes, N. D. Lawrence, and K. Q. Weinberger (eds.), Advances in Neural Information Processing Systems 27, pp. 2672–2680. Curran Associates, Inc., 2014. URL http://papers.nips. cc/paper/5423-generative-adversarial-nets.pdf.
|
| 228 |
+
Ian J. Goodfellow. NIPS 2016 tutorial: Generative adversarial networks. CoRR, abs/1701.00160, 2017. URL http://arxiv.org/abs/1701.00160.
|
| 229 |
+
Ishaan Gulrajani, Faruk Ahmed, Martin Arjovsky, Vincent Dumoulin, and Aaron Courville. Improved training of wasserstein gans. arXiv preprint arXiv:1704.00028, 2017.
|
| 230 |
+
Elad Hazan, Karan Singh, and Cyril Zhang. Efficient regret minimization in non-convex games. arXiv preprint arXiv:1708.00075, 2017.
|
| 231 |
+
Elad Hazan et al. Introduction to online convex optimization. Foundations and Trends® in Optimization, 2(3-4):157–325, 2016.
|
| 232 |
+
Panayotis Mertikopoulos, Christos Papadimitriou, and Georgios Piliouras. Cycles in adversarial regularized learning. arXiv preprint arXiv:1709.02738, 2017.
|
| 233 |
+
Luke Metz, Ben Poole, David Pfau, and Jascha Sohl-Dickstein. Unrolled generative adversarial networks. CoRR, abs/1611.02163, 2016. URL http://arxiv.org/abs/1611.02163.
|
| 234 |
+
J. von Neumann. Zur theorie der gesellschaftsspiele. Mathematische Annalen, 100:295–320, 1928. URL http://eudml.org/doc/159291.
|
| 235 |
+
Noam Nisan, Tim Roughgarden, Eva Tardos, and Vijay V Vazirani. Algorithmic game theory, volume 1. Cambridge University Press Cambridge, 2007.
|
| 236 |
+
Sebastian Nowozin, Botond Cseke, and Ryota Tomioka. f-gan: Training generative neural samplers using variational divergence minimization. In Advances in Neural Information Processing Systems, pp. 271–279, 2016.
|
| 237 |
+
Guo-Jun Qi. Loss-sensitive generative adversarial networks on lipschitz densities. CoRR, abs/1701.06264, 2017. URL http://arxiv.org/abs/1701.06264.
|
| 238 |
+
Alec Radford, Luke Metz, and Soumith Chintala. Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks. arXiv:1511.06434 [cs], November 2015. URL http://arxiv.org/abs/1511.06434. arXiv: 1511.06434.
|
| 239 |
+
Tim Salimans, Ian J. Goodfellow, Wojciech Zaremba, Vicki Cheung, Alec Radford, and Xi Chen. Improved techniques for training gans. CoRR, abs/1606.03498, 2016. URL http://arxiv. org/abs/1606.03498.
|
| 240 |
+
Maurice Sion. On general minimax theorems. Pacific J. Math, 8(1):171–176, 1958.
|
| 241 |
+
Junbo Zhao, Michael Mathieu, and Yann LeCun. Energy-based generative adversarial network. arXiv preprint arXiv:1609.03126, 2016.
|
| 242 |
+
Martin Zinkevich. Online convex programming and generalized infinitesimal gradient ascent. In Proceedings of the 20th International Conference on Machine Learning (ICML-03), pp. 928–936, 2003.
|
| 243 |
+
|
| 244 |
+
# 5 APPENDIX
|
| 245 |
+
|
| 246 |
+
# 5.1 SAMPLES AND LATENT SPACE WALKS
|
| 247 |
+
|
| 248 |
+
In this section, we provide samples from an additional experiment run on CelebA dataset (Figure 7). The samples from the experiment in section 3.1 are shown in Figure 8. Further, Radford et al. (2015) suggest that walking on the manifold learned by the generator can expose signs of memorization. We use DCGAN architecture to model MNIST and CelebA datasets using DRAGAN penalty, and the latent space walks of the learned models are shown in Figure 9 and Figure 10. The results demonstrate that the generator is indeed learning smooth transitions between different images, when our algorithm is used.
|
| 249 |
+
|
| 250 |
+

|
| 251 |
+
Figure 7: Modeling CelebA with DRAGAN using DCGAN architecture.
|
| 252 |
+
|
| 253 |
+

|
| 254 |
+
Figure 8: Modeling CIFAR-10 using DCGAN architecture.
|
| 255 |
+
|
| 256 |
+

|
| 257 |
+
Figure 9: Latent space walk of the model learned on MNIST using DRAGAN
|
| 258 |
+
|
| 259 |
+

|
| 260 |
+
Figure 10: Latent space walk of the model learned on CelebA using DRAGAN
|
| 261 |
+
|
| 262 |
+
# 5.2 ADDITIONAL EXPERIMENTS
|
| 263 |
+
|
| 264 |
+
# 5.2.1 ONE HIDDEN LAYER NETWORK TO MODEL MNIST
|
| 265 |
+
|
| 266 |
+
We design a simple experiment where $G$ and $D$ are both fully connected networks with just one hidden layer. Vanilla GAN performs poorly even in this simple case and we observe severe mode collapses. In contrast, our algorithm is stable throughout and obtains decent quality samples despite the constrained setup.
|
| 267 |
+
|
| 268 |
+

|
| 269 |
+
Figure 11: One hidden layer network to model MNIST - Inception score plots
|
| 270 |
+
|
| 271 |
+

|
| 272 |
+
Figure 12: One hidden layer network to model MNIST - Samples
|
| 273 |
+
|
| 274 |
+
# 5.2.2 8-GAUSSIANS EXPERIMENT
|
| 275 |
+
|
| 276 |
+
We analyze the performance of WGAN-GP and DRAGAN on the 8-Gaussians dataset. As it can be seen in Figure 13, both of them approximately converge to the real distribution but notice that in the case of WGAN-GP, $D _ { \theta } ( x )$ seems overly constrained in the data space. In contrast, DRAGAN’s discriminator is more flexible.
|
| 277 |
+
|
| 278 |
+

|
| 279 |
+
|
| 280 |
+
Figure 13: Comparing the performance of WGAN-GP and DRAGAN on the 8-Gaussians dataset. Orange is real samples, green is generated samples. The level sets of $D _ { \theta } ( x )$ are shown in the background, with yellow as high and purple as low.
|
| 281 |
+
|
| 282 |
+
# 5.2.3 STABILITY ACROSS DCGAN ARCHITECTURE VARIATIONS
|
| 283 |
+
|
| 284 |
+
DCGAN architecture has been designed following specific guidelines to make it stable (Radford et al., 2015). We restate the suggested rules here.
|
| 285 |
+
|
| 286 |
+
1. Use all-convolutional networks which learn their own spatial downsampling (discriminator)
|
| 287 |
+
or upsampling (generator)
|
| 288 |
+
2. Remove fully connected hidden layers for deeper architectures
|
| 289 |
+
3. Use batch normalization in both the generator and the discriminator
|
| 290 |
+
4. Use ReLU activation in the generator for all layers except the output layer, which uses tanh
|
| 291 |
+
5. Use LeakyReLU activation in the discriminator for all layers
|
| 292 |
+
|
| 293 |
+
We show below that such constraints can be relaxed when using our algorithm and still maintain training stability. Below, we present a series of experiments in which we remove different stabilizing components from the DCGAN architecture and analyze the performance of our algorithm. Specifically, we choose the following four architectures which are difficult to train (in each case, we start with base DCGAN architecture and apply the changes) -
|
| 294 |
+
|
| 295 |
+
• No BN and a constant number of filters in the generator • 4-layer 512-dim ReLU MLP generator • tanh nonlinearities everywhere • tanh nonlinearity in the generator and 4-layer 512-dim L
|
| 296 |
+
|
| 297 |
+
Notice that, in each case, our algorithm is stable while the vanilla GAN training fails. A similar approach is used to demonstrate the stability of training procedures in Arjovsky et al. (2017) and Gulrajani et al. (2017).
|
| 298 |
+
|
| 299 |
+

|
| 300 |
+
(a) tanh activation
|
| 301 |
+
|
| 302 |
+

|
| 303 |
+
(b) FC generator
|
| 304 |
+
|
| 305 |
+

|
| 306 |
+
Figure 14: Comparing performance of DRAGAN and Vanilla GAN training in the hard variations of DCGAN architecture.
|
| 307 |
+
|
| 308 |
+
# 5.2.4 STABILITY ACROSS OBJECTIVE FUNCTIONS
|
| 309 |
+
|
| 310 |
+
Due to space limitations, we only showed plots for two cases in section 3.3. Below we show the results for all five cases.
|
| 311 |
+
|
| 312 |
+

|
| 313 |
+
|
| 314 |
+

|
| 315 |
+
Figure 15: Comparing performance of DRAGAN and Vanilla GAN training using different objective functions.
|
| 316 |
+
|
| 317 |
+
# 5.3 BOGONET DETAILS
|
| 318 |
+
|
| 319 |
+
We used three families of architectures with probabilities - DCGAN (0.6), ResNet (0.2), MLP (0.2). Next, we further parameterized each family to create additional variation. For instance, the DCGAN family can result in networks with or without batch normalization, have LeakyReLU or Tanh nonlinearities. The number and width of filters, latent space dimensionality are some other possible variations in our experiment. Similarly, the number of layers and hidden units in each layer for MLP are chosen randomly. For ResNets, we chose their depth randomly. This creates a set of hard games which test the stability of a given training algorithm.
|
| 320 |
+
|
| 321 |
+
We showed qualitative analysis of the inception score plots in section 3.2 to verify that BogoNet score indeed captures the improvements in stability. Below, we show some examples of how the bounty splits were done. The plots in Figure 14 were scored as (averages are shown in DRAGAN, Vanilla GAN order):
|
| 322 |
+
|
| 323 |
+
A - (5, 0), B - (3.5, 1.5), C – (2.25, 2.75), D – (2, 3)
|
parse/train/ryepFJbA-/ryepFJbA-_content_list.json
ADDED
|
@@ -0,0 +1,1512 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "ON CONVERGENCE AND STABILITY OF GANS ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
178,
|
| 8 |
+
99,
|
| 9 |
+
730,
|
| 10 |
+
121
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous authors Paper under double-blind review ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
145,
|
| 20 |
+
400,
|
| 21 |
+
172
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
210,
|
| 32 |
+
544,
|
| 33 |
+
224
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "We propose studying GAN training dynamics as regret minimization, which is in contrast to the popular view that there is consistent minimization of a divergence between real and generated distributions. We analyze the convergence of GAN training from this new point of view to understand why mode collapse happens. We hypothesize the existence of undesirable local equilibria in this non-convex game to be responsible for mode collapse. We observe that these local equilibria often exhibit sharp gradients of the discriminator function around some real data points. We demonstrate that these degenerate local equilibria can be avoided with a gradient penalty scheme called DRAGAN. We show that DRAGAN enables faster training, achieves improved stability with fewer mode collapses, and leads to generator networks with better modeling performance across a variety of architectures and objective functions. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
232,
|
| 42 |
+
243,
|
| 43 |
+
766,
|
| 44 |
+
410
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
443,
|
| 55 |
+
336,
|
| 56 |
+
458
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Generative modeling involves taking a set of samples drawn from an unknown data generating distribution $P _ { r e a l }$ and finding an estimate $P _ { m o d e l }$ that closely resembles it. Generative adversarial networks (GAN) (Goodfellow et al., 2014) is a powerful framework used for fitting implicit generative models. The basic setup consists of two networks, the generator and the discriminator, playing against each other in a repeated zero-sum game setting. The goal here is to reach an equilibrium where $P _ { r e a l }$ , $P _ { m o d e l }$ are close, and the alternating gradient updates procedure (AGD) is used to achieve this. However, this process is highly unstable and often results in mode collapse (Goodfellow, 2017). This calls for an deeper investigation into training dynamics of GANs. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
476,
|
| 66 |
+
825,
|
| 67 |
+
587
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "In this paper, we propose studying GAN training dynamics as a repeated game in which both the players are using no-regret algorithms (Cesa-Bianchi & Lugosi, 2006) and discuss how AGD 1 falls under this paradigm. In contrast, much of the theory (Goodfellow et al., 2014; Arjovsky & Bottou, 2017) and recent developments (Nowozin et al., 2016; Arjovsky et al., 2017; Gulrajani et al., 2017) are based on the unrealistic assumption that the discriminator is playing optimally (in the function space) at each step and as a result, there is consistent minimization of a divergence between real and generated distributions. This corresponds to at least one player using the best-response algorithm (in the function space), and the resulting game dynamics can be completely different in both these cases (Nisan et al., 2007). Thus, there is a clear disconnect between theoretical arguments used as motivation in recent literature and what actually happens in practice. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
594,
|
| 77 |
+
825,
|
| 78 |
+
733
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "We would like to point out that the latter view can still be useful for reasoning about the asymptotic equilibrium situation but we argue that regret minimization is the more appropriate way to think about GAN training dynamics. So, we analyze the convergence of GAN training from this new point of view to understand why mode collapse happens. We start with a short analysis of the artificial convex-concave case of the GAN game in section 2.2. This setting has a unique solution and guaranteed convergence (of averaged iterates) using no-regret algorithms can be shown with standard arguments from game theory literature. Here, we make explicit, the critical (previously not widely known) connection between AGD used in GAN training and regret minimization. This immediately yields a novel proof for the asymptotic convergence of GAN training, in the non-parametric limit. Prior to our work, such a result (Goodfellow et al., 2014) required a strong assumption that the discriminator is optimal at each step. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
741,
|
| 88 |
+
825,
|
| 89 |
+
893
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "However, these convergence results do not hold when the game objective function is non-convex, which is the practical case when deep neural networks are used. In non-convex games, global regret minimization and equilibrium computation are computationally hard in general. Recent gametheoretic literature indicates that AGD can end up cycling (Mertikopoulos et al., 2017) or converging to a (potentially bad) local equilibrium, under some conditions (Hazan et al., 2017). We hypothesize these to be the reasons for cycling and mode collapse observed during GAN training, respectively (section 2.3). In this work, we do not explore the cycling issue but focus our attention on the mode collapse problem. In contrast to our hypothesis, the prevalent view of mode collapse and instability (Arjovsky & Bottou, 2017) is that it results from attempting to minimize a strong divergence during training. However, as we argued earlier, GAN training with AGD does not consistently minimize a divergence and therefore, such a theory is not suitable to discuss convergence or to address the stability issue. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
173,
|
| 98 |
+
103,
|
| 99 |
+
825,
|
| 100 |
+
268
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 1
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "Next, if mode collapse is indeed the result of an undesirable local equilibrium, a natural question then is how we can avoid it? We make a simple observation that, in the GAN game, mode collapse situations are often accompanied by sharp gradients of the discriminator function around some real data points (section 2.4). Therefore, a simple strategy to mitigate mode collapse is to regularize the discriminator so as to constrain its gradients in the ambient data space. We demonstrate that this improves the stability using a toy experiment with one hidden layer neural networks. This gives rise to a new explanation for why WGAN and gradient penalties might be improving the stability of GAN training – they are mitigating the mode collapse problem by keeping the gradients of the discriminator function small in data space. From this motivation, we propose a training algorithm involving a novel gradient penalty scheme called DRAGAN (Deep Regret Analytic Generative Adversarial Networks) which enables faster training, achieves improved stability and modeling performance (over WGAN-GP (Gulrajani et al., 2017) which is the state-of-the-art stable training procedure) across a variety of architectures and objective functions. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
277,
|
| 110 |
+
825,
|
| 111 |
+
457
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "Below, we provide a short literature review. Several recent works focus on stabilizing the training of GANs. While some solutions (Radford et al., 2015; Salimans et al., 2016) require the usage of specific architectures (or) modeling objectives, some (Che et al., 2016; Zhao et al., 2016) significantly deviate from the original GAN framework. Other promising works in this direction (Metz et al., 2016; Arjovsky et al., 2017; Qi, 2017; Gulrajani et al., 2017) impose a significant computational overhead. Thus, a fast and versatile method for consistent stable training of GANs is still missing in the literature. Our work is aimed at addressing this. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
174,
|
| 120 |
+
464,
|
| 121 |
+
825,
|
| 122 |
+
563
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "To summarize, our contributions are as follows: ",
|
| 129 |
+
"bbox": [
|
| 130 |
+
173,
|
| 131 |
+
569,
|
| 132 |
+
485,
|
| 133 |
+
583
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 1
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "• We propose a new way of reasoning about the GAN training dynamics - by viewing AGD as regret minimization. \n• We provide a novel proof for the asymptotic convergence of GAN training in the nonparametric limit and it does not require the discriminator to be optimal at each step. \n• We discuss how AGD can converge to a potentially bad local equilibrium in non-convex games and hypothesize this to be responsible for mode collapse during GAN training. \n• We characterize mode collapse situations with sharp gradients of the discriminator function around some real data points. \n• A novel gradient penalty scheme called DRAGAN is introduced based on this observation and we demonstrate that it mitigates the mode collapse issue. ",
|
| 140 |
+
"bbox": [
|
| 141 |
+
217,
|
| 142 |
+
595,
|
| 143 |
+
825,
|
| 144 |
+
758
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 1
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "text",
|
| 150 |
+
"text": "2 THEORETICAL ANALYSIS OF GAN TRAINING DYNAMICS ",
|
| 151 |
+
"text_level": 1,
|
| 152 |
+
"bbox": [
|
| 153 |
+
176,
|
| 154 |
+
780,
|
| 155 |
+
676,
|
| 156 |
+
796
|
| 157 |
+
],
|
| 158 |
+
"page_idx": 1
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"type": "text",
|
| 162 |
+
"text": "We start with a brief description of the GAN framework (section 2.1). We discuss guaranteed convergence in the artificial convex-concave case using no-regret algorithms, and make a critical connection between GAN training process (AGD) and regret minimization (section 2.2). This immediately yields a novel proof for the asymptotic convergence of GAN training in the nonparametric limit. Then, we consider the practical non-convex case and discuss how AGD can converge to a potentially bad local equilibrium here (section 2.3). We characterize mode collapse situations with sharp gradients of the discriminator function around real samples and this provides an effective strategy to avoid them. This naturally leads to the introduction of our gradient penalty scheme DRAGAN (section 2.4). We end with a discussion and comparison with other gradient penalties in the literature (section 2.5). ",
|
| 163 |
+
"bbox": [
|
| 164 |
+
174,
|
| 165 |
+
811,
|
| 166 |
+
825,
|
| 167 |
+
924
|
| 168 |
+
],
|
| 169 |
+
"page_idx": 1
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"type": "text",
|
| 173 |
+
"text": "",
|
| 174 |
+
"bbox": [
|
| 175 |
+
173,
|
| 176 |
+
103,
|
| 177 |
+
825,
|
| 178 |
+
132
|
| 179 |
+
],
|
| 180 |
+
"page_idx": 2
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"type": "text",
|
| 184 |
+
"text": "2.1 BACKGROUND ",
|
| 185 |
+
"text_level": 1,
|
| 186 |
+
"bbox": [
|
| 187 |
+
174,
|
| 188 |
+
148,
|
| 189 |
+
316,
|
| 190 |
+
162
|
| 191 |
+
],
|
| 192 |
+
"page_idx": 2
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"type": "text",
|
| 196 |
+
"text": "The GAN framework can be viewed as a repeated zero-sum game, consisting of two players - the generator, which produces synthetic data given some noise source and the discriminator, which is trained to distinguish generator’s samples from the real data. The generator model G is parameterized by $\\phi$ , takes a noise vector $\\mathbf { z }$ as input, and produces a synthetic sample $G _ { \\phi } ( \\mathbf { z } )$ . The discriminator model $\\mathrm { D }$ is parameterized by $\\theta$ , takes a sample $\\mathbf { x }$ as input and computes $D _ { \\theta } ( \\mathbf { x } )$ , which can be interpreted as the probability that $\\mathbf { x }$ is real. ",
|
| 197 |
+
"bbox": [
|
| 198 |
+
173,
|
| 199 |
+
174,
|
| 200 |
+
825,
|
| 201 |
+
258
|
| 202 |
+
],
|
| 203 |
+
"page_idx": 2
|
| 204 |
+
},
|
| 205 |
+
{
|
| 206 |
+
"type": "text",
|
| 207 |
+
"text": "The models $\\mathbf { G }$ , D can be selected from any arbitrary class of functions – in practice, GANs typical rely on deep networks for both. Their cost functions are defined as ",
|
| 208 |
+
"bbox": [
|
| 209 |
+
171,
|
| 210 |
+
265,
|
| 211 |
+
823,
|
| 212 |
+
294
|
| 213 |
+
],
|
| 214 |
+
"page_idx": 2
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"type": "equation",
|
| 218 |
+
"img_path": "images/cea4737c7cbdc5c3b03df186a1a41ba8ec5d5c09f4f9072b415b437dc26447f7.jpg",
|
| 219 |
+
"text": "$$\n\\begin{array} { r l } & { J ^ { ( D ) } ( \\phi , \\theta ) : = - \\mathbb { E } _ { x \\sim p _ { r e a l } } \\log D _ { \\theta } ( x ) - \\mathbb { E } _ { \\mathbf { z } } \\log ( 1 - D _ { \\theta } ( G _ { \\phi } ( z ) ) ) , \\mathrm { ~ a r ~ } } \\\\ & { J ^ { ( G ) } ( \\phi , \\theta ) : = - J ^ { ( D ) } ( \\phi , \\theta ) } \\end{array}\n$$",
|
| 220 |
+
"text_format": "latex",
|
| 221 |
+
"bbox": [
|
| 222 |
+
269,
|
| 223 |
+
297,
|
| 224 |
+
709,
|
| 225 |
+
342
|
| 226 |
+
],
|
| 227 |
+
"page_idx": 2
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"type": "text",
|
| 231 |
+
"text": "And the complete game can be specified as - ",
|
| 232 |
+
"bbox": [
|
| 233 |
+
176,
|
| 234 |
+
344,
|
| 235 |
+
467,
|
| 236 |
+
359
|
| 237 |
+
],
|
| 238 |
+
"page_idx": 2
|
| 239 |
+
},
|
| 240 |
+
{
|
| 241 |
+
"type": "equation",
|
| 242 |
+
"img_path": "images/4bea38eca5a6a131257aafbbcb1a724cb6d8b4ab1f31233bbc203efed5a41eac.jpg",
|
| 243 |
+
"text": "$$\n\\underset { \\phi } { \\operatorname* { m i n } } \\underset { \\theta } { \\operatorname* { m a x } } \\left\\{ J ( \\phi , \\theta ) = \\mathbb { E } _ { x \\sim p _ { r e a l } } \\log D _ { \\theta } ( x ) + \\mathbb { E } _ { \\mathbf { z } } \\log ( 1 - D _ { \\theta } ( G _ { \\phi } ( z ) ) ) \\right\\}\n$$",
|
| 244 |
+
"text_format": "latex",
|
| 245 |
+
"bbox": [
|
| 246 |
+
264,
|
| 247 |
+
364,
|
| 248 |
+
730,
|
| 249 |
+
393
|
| 250 |
+
],
|
| 251 |
+
"page_idx": 2
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"type": "text",
|
| 255 |
+
"text": "The generator distribution $P _ { m o d e l }$ asymptotically converges to the real distribution $P _ { r e a l }$ if updates are made in the function space and the discriminator is optimal at each step (Goodfellow et al., 2014). ",
|
| 256 |
+
"bbox": [
|
| 257 |
+
173,
|
| 258 |
+
398,
|
| 259 |
+
825,
|
| 260 |
+
428
|
| 261 |
+
],
|
| 262 |
+
"page_idx": 2
|
| 263 |
+
},
|
| 264 |
+
{
|
| 265 |
+
"type": "text",
|
| 266 |
+
"text": "2.2 CONVEX-CONCAVE CASE AND NO-REGRET ALGORITHMS ",
|
| 267 |
+
"bbox": [
|
| 268 |
+
173,
|
| 269 |
+
444,
|
| 270 |
+
611,
|
| 271 |
+
459
|
| 272 |
+
],
|
| 273 |
+
"page_idx": 2
|
| 274 |
+
},
|
| 275 |
+
{
|
| 276 |
+
"type": "text",
|
| 277 |
+
"text": "According to Sion’s theorem (Sion, 1958), if $\\Phi \\subset \\mathbb { R } ^ { m }$ , $\\Theta \\subset \\mathbb { R } ^ { n }$ such that they are compact and convex sets, and the function $J : \\Phi \\times \\Theta \\mathbb { R }$ is convex in its first argument and concave in its second, then we have - ",
|
| 278 |
+
"bbox": [
|
| 279 |
+
173,
|
| 280 |
+
469,
|
| 281 |
+
826,
|
| 282 |
+
511
|
| 283 |
+
],
|
| 284 |
+
"page_idx": 2
|
| 285 |
+
},
|
| 286 |
+
{
|
| 287 |
+
"type": "equation",
|
| 288 |
+
"img_path": "images/d98535379518beea655b8a76763eaeae867f4c00e57b306e3d220f109c5e3abb.jpg",
|
| 289 |
+
"text": "$$\n\\operatorname* { m i n } _ { \\phi \\in \\Phi } \\operatorname* { m a x } _ { \\theta \\in \\Theta } J ( \\phi , \\theta ) = \\operatorname* { m a x } _ { \\theta \\in \\Theta } \\operatorname* { m i n } _ { \\phi \\in \\Phi } J ( \\phi , \\theta )\n$$",
|
| 290 |
+
"text_format": "latex",
|
| 291 |
+
"bbox": [
|
| 292 |
+
372,
|
| 293 |
+
511,
|
| 294 |
+
622,
|
| 295 |
+
535
|
| 296 |
+
],
|
| 297 |
+
"page_idx": 2
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"type": "text",
|
| 301 |
+
"text": "That is, an equilibrium is guaranteed to exist in this setting where players’ payoffs correspond to the unique value of the game (Neumann, 1928). ",
|
| 302 |
+
"bbox": [
|
| 303 |
+
173,
|
| 304 |
+
537,
|
| 305 |
+
825,
|
| 306 |
+
565
|
| 307 |
+
],
|
| 308 |
+
"page_idx": 2
|
| 309 |
+
},
|
| 310 |
+
{
|
| 311 |
+
"type": "text",
|
| 312 |
+
"text": "A natural question then is how we can find such an equilibrium. A simple procedure that players can use is best-response algorithms (BRD). In each round, best-responding players play their optimal strategy given their opponent’s current strategy. Despite its simplicity, BRD are often computationally intractable and they don’t lead to convergence even in simple games. In contrast, a technique that is both efficient and provably works is regret minimization. If both players update their parameters using no-regret algorithms, then it is easy to show that their averaged iterates will converge to an equilibrium pair (Nisan et al., 2007). Let us first define no-regret algorithms. ",
|
| 313 |
+
"bbox": [
|
| 314 |
+
173,
|
| 315 |
+
571,
|
| 316 |
+
826,
|
| 317 |
+
671
|
| 318 |
+
],
|
| 319 |
+
"page_idx": 2
|
| 320 |
+
},
|
| 321 |
+
{
|
| 322 |
+
"type": "text",
|
| 323 |
+
"text": "Definition 2.1 (No-regret algorithm). Given a sequence of convex loss functions $L _ { 1 } , L _ { 2 } , \\dots :$ $K \\mathbb { R }$ , an algorithm that selects a sequence of $k _ { t }$ ’s, each of which may only depend on previously observed $L _ { 1 } , \\dots , L _ { t - 1 }$ , is said to have no regret if $\\begin{array} { r } { \\frac { R ( T ) } { T } = o ( 1 ) } \\end{array}$ , where we define ",
|
| 324 |
+
"bbox": [
|
| 325 |
+
173,
|
| 326 |
+
686,
|
| 327 |
+
825,
|
| 328 |
+
734
|
| 329 |
+
],
|
| 330 |
+
"page_idx": 2
|
| 331 |
+
},
|
| 332 |
+
{
|
| 333 |
+
"type": "equation",
|
| 334 |
+
"img_path": "images/fbcef7897175891262db9c2de652dd6cb63d43c7566718f1d0eaa387cb4d5c83.jpg",
|
| 335 |
+
"text": "$$\n\\begin{array} { r } { R ( T ) : = \\sum _ { t = 1 } ^ { T } L _ { t } ( k _ { t } ) - \\operatorname* { m i n } _ { k \\in K } \\sum _ { t = 1 } ^ { T } L _ { t } ( k ) } \\end{array}\n$$",
|
| 336 |
+
"text_format": "latex",
|
| 337 |
+
"bbox": [
|
| 338 |
+
343,
|
| 339 |
+
739,
|
| 340 |
+
655,
|
| 341 |
+
761
|
| 342 |
+
],
|
| 343 |
+
"page_idx": 2
|
| 344 |
+
},
|
| 345 |
+
{
|
| 346 |
+
"type": "text",
|
| 347 |
+
"text": "We can apply no-regret learning to our problem of equilibrium finding in the GAN game $J ( \\cdot , \\cdot )$ as follows. The generator imagines the function $J ( \\cdot , \\theta _ { t } )$ as its loss function on round $t$ , and similarly the discriminator imagines computes the average itera $- J ( \\phi _ { t } , \\cdot )$ unctiand $t$ $T$ oun. If f play, each playeris the equilibrium $\\begin{array} { r } { \\stackrel { \\cdot } { \\phi } _ { T } : = \\frac { 1 } { T } \\sum _ { t = 1 } ^ { T } \\phi _ { \\underline { { t } } } } \\end{array}$ $\\begin{array} { r } { \\bar { \\theta } _ { T } : = \\frac { 1 } { T } \\sum _ { t = 1 } ^ { T } \\theta _ { t } } \\end{array}$ $V ^ { * }$ value of the game, and the players suffer regret $R _ { 1 } ( T )$ and $\\bar { R _ { 2 } ( T ) }$ respectively, then one can show using standard arguments (Freund & Schapire, 1999) that - ",
|
| 348 |
+
"bbox": [
|
| 349 |
+
173,
|
| 350 |
+
772,
|
| 351 |
+
825,
|
| 352 |
+
859
|
| 353 |
+
],
|
| 354 |
+
"page_idx": 2
|
| 355 |
+
},
|
| 356 |
+
{
|
| 357 |
+
"type": "equation",
|
| 358 |
+
"img_path": "images/1281c68a33fc597bb621936717dc37edea56b2cab3bd762f421f122fa72b0fdc.jpg",
|
| 359 |
+
"text": "$$\n\\begin{array} { r } { V ^ { * } - \\frac { R _ { 2 } ( T ) } { T } \\le \\operatorname* { m a x } _ { \\theta \\in \\Theta } J \\big ( \\bar { \\phi } _ { T } , \\theta \\big ) - \\frac { R _ { 2 } ( T ) } { T } \\le \\operatorname* { m i n } _ { \\phi \\in \\Phi } J \\big ( \\phi , \\bar { \\theta } _ { T } \\big ) + \\frac { R _ { 1 } ( T ) } { T } \\le V ^ { * } + \\frac { R _ { 1 } ( T ) } { T } . } \\end{array}\n$$",
|
| 360 |
+
"text_format": "latex",
|
| 361 |
+
"bbox": [
|
| 362 |
+
205,
|
| 363 |
+
864,
|
| 364 |
+
790,
|
| 365 |
+
886
|
| 366 |
+
],
|
| 367 |
+
"page_idx": 2
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"type": "text",
|
| 371 |
+
"text": "In other words, $\\bar { \\theta } _ { T }$ and $\\bar { \\phi } _ { T }$ are \"almost optimal\" solutions to the game, where the \"almost\" approximation factor is given by the average regret terms R1(T )+R2(T ) . Under the no-regret condition, the former will vanish, and hence we can guarantee convergence in the limit. Next, we define a popular family of no-regret algorithms. ",
|
| 372 |
+
"bbox": [
|
| 373 |
+
174,
|
| 374 |
+
892,
|
| 375 |
+
823,
|
| 376 |
+
925
|
| 377 |
+
],
|
| 378 |
+
"page_idx": 2
|
| 379 |
+
},
|
| 380 |
+
{
|
| 381 |
+
"type": "text",
|
| 382 |
+
"text": "",
|
| 383 |
+
"bbox": [
|
| 384 |
+
171,
|
| 385 |
+
103,
|
| 386 |
+
823,
|
| 387 |
+
132
|
| 388 |
+
],
|
| 389 |
+
"page_idx": 3
|
| 390 |
+
},
|
| 391 |
+
{
|
| 392 |
+
"type": "text",
|
| 393 |
+
"text": "Definition 2.2 (Follow The Regularized Leader). FTRL (Hazan et al., 2016) selects $k _ { t }$ on round $t$ by solving for arg $\\begin{array} { r } { \\operatorname* { m i n } _ { k \\in \\boldsymbol { K } } \\{ \\bar { \\sum } _ { s = 1 } ^ { t - 1 } L _ { s } ( k ) + \\frac { 1 } { \\eta } \\Omega ( k ) \\} } \\end{array}$ , where $\\Omega ( \\cdot )$ is some convex regularization function and $\\eta$ is a learning rate. ",
|
| 394 |
+
"bbox": [
|
| 395 |
+
174,
|
| 396 |
+
147,
|
| 397 |
+
825,
|
| 398 |
+
195
|
| 399 |
+
],
|
| 400 |
+
"page_idx": 3
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"type": "text",
|
| 404 |
+
"text": "Remark: Roughly speaking, if you select the regularization as $\\begin{array} { r } { \\Omega ( \\cdot ) = \\frac { 1 } { 2 } \\| \\cdot \\| ^ { 2 } } \\end{array}$ , then FTRL becomes the well-known online gradient descent or OGD (Zinkevich, 2003). Ignoring the case of constraint violations, OGD can be written in a simple iterative form: $k _ { t } = k _ { t - 1 } - \\eta \\nabla L _ { t - 1 } ( k _ { t - 1 } )$ . ",
|
| 405 |
+
"bbox": [
|
| 406 |
+
174,
|
| 407 |
+
204,
|
| 408 |
+
823,
|
| 409 |
+
247
|
| 410 |
+
],
|
| 411 |
+
"page_idx": 3
|
| 412 |
+
},
|
| 413 |
+
{
|
| 414 |
+
"type": "text",
|
| 415 |
+
"text": "The typical GAN training procedure using alternating gradient updates (or simultaneous gradient updates) is almost this - both the players applying online gradient descent. Notice that the $\\operatorname* { m i n } / \\operatorname* { m a x }$ objective function in GANs involves a stochastic component, with two randomized inputs given on each round, $x$ and $z$ which are sampled from the data distribution and a standard multivariate normal, respectively. Let us write $J _ { x , z } ( \\phi , \\theta \\bar ) : = \\log { D _ { \\theta } ( x ) } + \\log ( 1 - D _ { \\theta } ( G _ { \\phi } ( z ) ) )$ . Taking expectations with respect to $\\mathbf { x }$ and $\\mathbf { z }$ , we define the full (non-stochastic) game as $J ( \\phi , \\theta ) = \\mathbb { E } _ { \\mathbf { x } , \\mathbf { z } } \\left[ J _ { x , z } ( \\phi , \\theta ) \\right]$ . But the above online training procedure is still valid with stochastic inputs. That is, the equilibrium computation would proceed similarly, where on each round we sample $x _ { t }$ and $z _ { t }$ , and follow the updates ",
|
| 416 |
+
"bbox": [
|
| 417 |
+
173,
|
| 418 |
+
253,
|
| 419 |
+
825,
|
| 420 |
+
380
|
| 421 |
+
],
|
| 422 |
+
"page_idx": 3
|
| 423 |
+
},
|
| 424 |
+
{
|
| 425 |
+
"type": "equation",
|
| 426 |
+
"img_path": "images/becbcfd191cfdd51dd23abede5b79e8b294a94af2641d6ecff0d16ca1d867976.jpg",
|
| 427 |
+
"text": "$$\n\\phi _ { t + 1 } \\phi _ { t } - \\eta \\nabla _ { \\phi } J _ { x _ { t } , z _ { t } } ( \\phi _ { t } , \\theta _ { t } ) . \\quad \\mathrm { a n d } \\quad \\theta _ { t + 1 } \\theta _ { t } + \\eta ^ { ' } \\nabla _ { \\theta } J _ { x _ { t } , z _ { t } } ( \\phi _ { t } , \\theta _ { t } )\n$$",
|
| 428 |
+
"text_format": "latex",
|
| 429 |
+
"bbox": [
|
| 430 |
+
251,
|
| 431 |
+
382,
|
| 432 |
+
745,
|
| 433 |
+
404
|
| 434 |
+
],
|
| 435 |
+
"page_idx": 3
|
| 436 |
+
},
|
| 437 |
+
{
|
| 438 |
+
"type": "text",
|
| 439 |
+
"text": "On a side note, a benefit of this stochastic perspective is that we can get a generalization bound on the mean parameters $\\bar { \\phi } _ { T }$ after $T$ rounds of optimization. The celebrated \"online-to-batch conversion\" (Cesa-Bianchi et al., 2004) implies that $\\mathbb { E } _ { \\mathbf { x } , \\mathbf { z } } \\big [ J _ { x , z } ( \\bar { \\phi } _ { T } , \\theta ) \\big ]$ , for any $\\theta$ , is no more than the optimal value $\\mathbb { E } _ { \\mathbf { x } , \\mathbf { z } } [ J _ { x , z } ( \\phi ^ { * } , \\theta ) ]$ plus an \"estimation error\" bounded by $\\mathbb { E } \\left[ { \\frac { R _ { 1 } ( T ) + R _ { 2 } ( T ) } { T } } \\right]$ , where the expectation is taken with respect to the sequence of samples observed along the way, and any randomness in the algorithm. Analogously, this applies to $\\bar { \\theta } _ { T } ^ { \\star }$ as well. A limitation of this result, however, is that it requires a fresh sample $x _ { t }$ to be used on every round. ",
|
| 440 |
+
"bbox": [
|
| 441 |
+
173,
|
| 442 |
+
412,
|
| 443 |
+
825,
|
| 444 |
+
520
|
| 445 |
+
],
|
| 446 |
+
"page_idx": 3
|
| 447 |
+
},
|
| 448 |
+
{
|
| 449 |
+
"type": "text",
|
| 450 |
+
"text": "To summarize, we discussed in this subsection about how the artificial convex-concave case is easy to solve through regret minimization. While this is a standard result in game theory and online learning literature, it is not widely known in the GAN literature. For instance, Salimans et al. (2016) and Goodfellow (2017) discuss a toy game which is convex-concave and show cycling behavior. But, the simple solution in that case is to just average the iterates. Further, we made explicit, the critical connection between regret minimization and alternating gradient updates procedure used for GAN training. Now, Goodfellow et al. (2014) argue that, if $G$ and $D$ have enough capacity (in the non-parametric limit) and updates are made in the function space, then the GAN game can be considered convex-concave. Thus, our analysis based on regret minimization immediately yields a novel proof for the asymptotic convergence of GANs, without requiring that the discriminator be optimal at each step. ",
|
| 451 |
+
"bbox": [
|
| 452 |
+
173,
|
| 453 |
+
526,
|
| 454 |
+
825,
|
| 455 |
+
680
|
| 456 |
+
],
|
| 457 |
+
"page_idx": 3
|
| 458 |
+
},
|
| 459 |
+
{
|
| 460 |
+
"type": "text",
|
| 461 |
+
"text": "Moreover, the connection between regret minimization and GAN training process gives a novel way to reason about its dynamics. In contrast, the popular view of GAN training as consistently minimizing a divergence arises if the discriminator uses BRD (in the function space) and thus, it has little to do with the actual training process of GANs. As a result, this calls into question the motivation behind many recent developments like WGAN and gradient penalties among others, which improve the training stability of GANs. In the next subsection, we discuss the practical non-convex case and why training instability arises. This provides the necessary ideas to investigate mode collapse from our new perspective. ",
|
| 462 |
+
"bbox": [
|
| 463 |
+
174,
|
| 464 |
+
685,
|
| 465 |
+
825,
|
| 466 |
+
797
|
| 467 |
+
],
|
| 468 |
+
"page_idx": 3
|
| 469 |
+
},
|
| 470 |
+
{
|
| 471 |
+
"type": "text",
|
| 472 |
+
"text": "2.3 NON-CONVEX CASE AND LOCAL EQUILIBRIA ",
|
| 473 |
+
"text_level": 1,
|
| 474 |
+
"bbox": [
|
| 475 |
+
174,
|
| 476 |
+
814,
|
| 477 |
+
529,
|
| 478 |
+
828
|
| 479 |
+
],
|
| 480 |
+
"page_idx": 3
|
| 481 |
+
},
|
| 482 |
+
{
|
| 483 |
+
"type": "text",
|
| 484 |
+
"text": "In practice, we choose $G$ , $D$ to be deep neural networks and the function $J ( \\phi , \\theta )$ need not be convexconcave anymore. The nice properties we had in the convex-concave case like the existence of a unique solution and guaranteed convergence through regret minimization no longer hold. In fact, regret minimization and equilibrium computation are computationally hard in general non-convex settings. However, analogous to the case of non-convex optimization (also intractable) where we focus on finding local minima, we can look for tractable solution concepts in non-convex games. ",
|
| 485 |
+
"bbox": [
|
| 486 |
+
174,
|
| 487 |
+
839,
|
| 488 |
+
825,
|
| 489 |
+
924
|
| 490 |
+
],
|
| 491 |
+
"page_idx": 3
|
| 492 |
+
},
|
| 493 |
+
{
|
| 494 |
+
"type": "text",
|
| 495 |
+
"text": "Recent work by Hazan et al. (2017) introduces the notion of local regret and shows that if both the players use a smoothed variant of OGD to minimize this quantity, then the non-convex game converges to some form of local equilibrium, under mild assumptions. The usual training procedure of GANs (AGD) corresponds to using a window size of 1 in their formulation. Thus, GAN training will eventually converge (approximately) to a local equilibrium which is described below or the updates will cycle. We leave it to future works to explore the equally important cycling issue and focus here on the former case. ",
|
| 496 |
+
"bbox": [
|
| 497 |
+
173,
|
| 498 |
+
103,
|
| 499 |
+
825,
|
| 500 |
+
202
|
| 501 |
+
],
|
| 502 |
+
"page_idx": 4
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"type": "text",
|
| 506 |
+
"text": "Definition 2.3 (Local Equilibrium). A pair $( \\phi ^ { * } , \\theta ^ { * } )$ is called an $\\epsilon$ -approximate local equilibrium if it holds that ",
|
| 507 |
+
"bbox": [
|
| 508 |
+
176,
|
| 509 |
+
217,
|
| 510 |
+
823,
|
| 511 |
+
244
|
| 512 |
+
],
|
| 513 |
+
"page_idx": 4
|
| 514 |
+
},
|
| 515 |
+
{
|
| 516 |
+
"type": "equation",
|
| 517 |
+
"img_path": "images/0fd38d9bf9687dbfce647aaf320e0715e1118ff962cde26b4c6a25822b51bdb5.jpg",
|
| 518 |
+
"text": "$$\n\\begin{array} { l } { { \\forall \\phi ^ { ' } , \\vert \\vert \\phi ^ { ' } - \\phi ^ { * } \\vert \\vert \\le \\eta : J ( \\phi ^ { * } , \\theta ^ { * } ) \\le J ( \\phi ^ { ' } , \\theta ^ { * } ) + \\epsilon } } \\\\ { { \\forall \\theta ^ { ' } , \\vert \\vert \\theta ^ { ' } - \\theta ^ { * } \\vert \\vert \\le \\eta : J ( \\phi ^ { * } , \\theta ^ { * } ) \\ge J ( \\phi ^ { * } , \\theta ^ { ' } ) - \\epsilon } } \\end{array}\n$$",
|
| 519 |
+
"text_format": "latex",
|
| 520 |
+
"bbox": [
|
| 521 |
+
333,
|
| 522 |
+
239,
|
| 523 |
+
663,
|
| 524 |
+
281
|
| 525 |
+
],
|
| 526 |
+
"page_idx": 4
|
| 527 |
+
},
|
| 528 |
+
{
|
| 529 |
+
"type": "text",
|
| 530 |
+
"text": "That is, in a local equilibrium, both the players do not have much of an incentive to switch to any other strategy within a small neighborhood of their current strategies. Now, we turn our attention to the mode collapse issue which poses a significant challenge to the GAN training process. The training is said to have resulted in mode collapse if the generator ends up mapping multiple z vectors to the same output $\\mathbf { x }$ , which is assigned a high probability of being real by the discriminator (Goodfellow, 2017). We hypothesize this to be the result of the game converging to bad local equilibria. ",
|
| 531 |
+
"bbox": [
|
| 532 |
+
173,
|
| 533 |
+
286,
|
| 534 |
+
825,
|
| 535 |
+
371
|
| 536 |
+
],
|
| 537 |
+
"page_idx": 4
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"type": "text",
|
| 541 |
+
"text": "The prevalent view of mode collapse and instability in GAN training (Arjovsky & Bottou, 2017) is that it is caused due to the supports of real and model distributions being disjoint or lying on low-dimensional manifolds. The argument is that this would result in strong distance measures like KL-divergence or JS-divergence getting maxed out, and the generator cannot get useful gradients to learn. In fact, this is the motivation for the introduction of WGAN (Arjovsky et al., 2017). But, as we argued earlier, GAN training does not consistently minimize a divergence as that would require using intractable best-response algorithms. Hence, such a theory is not suitable to discuss convergence or to address the instability of GAN training. Our new view of GAN training process as regret minimization is closer to what is used in practice and provides an alternate explanation for mode collapse - the existence of undesirable local equilibria. The natural question now is how we can avoid them? ",
|
| 542 |
+
"bbox": [
|
| 543 |
+
173,
|
| 544 |
+
377,
|
| 545 |
+
825,
|
| 546 |
+
530
|
| 547 |
+
],
|
| 548 |
+
"page_idx": 4
|
| 549 |
+
},
|
| 550 |
+
{
|
| 551 |
+
"type": "text",
|
| 552 |
+
"text": "2.4 MODE COLLAPSE AND GRADIENT PENALTIES ",
|
| 553 |
+
"text_level": 1,
|
| 554 |
+
"bbox": [
|
| 555 |
+
174,
|
| 556 |
+
546,
|
| 557 |
+
531,
|
| 558 |
+
561
|
| 559 |
+
],
|
| 560 |
+
"page_idx": 4
|
| 561 |
+
},
|
| 562 |
+
{
|
| 563 |
+
"type": "text",
|
| 564 |
+
"text": "The problem of dealing with multiple equilibria in games and how to avoid undesirable ones is an important question in algorithmic game theory (Nisan et al., 2007). In this work, we constrain ourselves to the GAN game and aim to characterize the undesirable local equilibria (mode collapse) in an effort to avoid them. In this direction, after empirically studying multiple mode collapse cases, we found that it is often accompanied by the discriminator function having sharp gradients around some real data points (See Figure $1 ^ { 2 }$ ). This intuitively makes sense from the definition of mode collapse discussed earlier. Such sharp gradients encourage the generator to map multiple $z$ vectors to a single output $x$ and lead the game towards a degenerate equilibrium. Now, a simple strategy to mitigate this failure case would be to regularize the discriminator using the following penalty - ",
|
| 565 |
+
"bbox": [
|
| 566 |
+
173,
|
| 567 |
+
571,
|
| 568 |
+
825,
|
| 569 |
+
698
|
| 570 |
+
],
|
| 571 |
+
"page_idx": 4
|
| 572 |
+
},
|
| 573 |
+
{
|
| 574 |
+
"type": "equation",
|
| 575 |
+
"img_path": "images/df31205e613d1069b730ad82aaf26eb65e92ffb19fb5783db0a6f9864937a29d.jpg",
|
| 576 |
+
"text": "$$\n\\lambda \\cdot \\mathbb { E } _ { x \\sim P _ { r e a l } , \\delta \\sim N _ { d } ( 0 , c I ) } \\big [ \\| \\nabla _ { \\mathbf { x } } D _ { \\theta } ( x + \\delta ) \\| ^ { 2 } \\big ]\n$$",
|
| 577 |
+
"text_format": "latex",
|
| 578 |
+
"bbox": [
|
| 579 |
+
356,
|
| 580 |
+
699,
|
| 581 |
+
642,
|
| 582 |
+
718
|
| 583 |
+
],
|
| 584 |
+
"page_idx": 4
|
| 585 |
+
},
|
| 586 |
+
{
|
| 587 |
+
"type": "text",
|
| 588 |
+
"text": "This strategy indeed improves the stability of GAN training. We show the results of a toy experiment with one hidden layer neural networks in Figure 2 and Figure 3 to demonstrate this. This partly explains the success of WGAN and gradient penalties in the recent literature (Gulrajani et al., 2017; Qi, 2017), and why they improve the training stability of GANs, despite being motivated by reasoning based on unrealistic assumptions. However, we noticed that this scheme in its current form can be brittle and if over-penalized, the discriminator can end up assigning both a real point $x$ and noise $x + \\delta$ , the same probability of being real. Thus, a better choice of penalty is - ",
|
| 589 |
+
"bbox": [
|
| 590 |
+
173,
|
| 591 |
+
724,
|
| 592 |
+
825,
|
| 593 |
+
823
|
| 594 |
+
],
|
| 595 |
+
"page_idx": 4
|
| 596 |
+
},
|
| 597 |
+
{
|
| 598 |
+
"type": "equation",
|
| 599 |
+
"img_path": "images/01755ede9cddf95c4cbca79977adab2fcb8e69b86894c92afdb8d8a71e38531a.jpg",
|
| 600 |
+
"text": "$$\n\\lambda \\cdot \\mathbb { E } _ { x \\sim P _ { r e a l } , \\delta \\sim N _ { d } ( 0 , c I ) } \\big [ \\operatorname* { m a x } \\big ( 0 , \\| \\nabla _ { \\mathbf { x } } D _ { \\theta } ( x + \\delta ) \\| ^ { 2 } - k \\big ) \\big ]\n$$",
|
| 601 |
+
"text_format": "latex",
|
| 602 |
+
"bbox": [
|
| 603 |
+
307,
|
| 604 |
+
824,
|
| 605 |
+
691,
|
| 606 |
+
843
|
| 607 |
+
],
|
| 608 |
+
"page_idx": 4
|
| 609 |
+
},
|
| 610 |
+
{
|
| 611 |
+
"type": "text",
|
| 612 |
+
"text": "Finally, due to practical optimization considerations (this has also been observed in Gulrajani et al. \n(2017)), we instead use the penalty shown below in all our experiments. ",
|
| 613 |
+
"bbox": [
|
| 614 |
+
171,
|
| 615 |
+
851,
|
| 616 |
+
823,
|
| 617 |
+
880
|
| 618 |
+
],
|
| 619 |
+
"page_idx": 4
|
| 620 |
+
},
|
| 621 |
+
{
|
| 622 |
+
"type": "equation",
|
| 623 |
+
"img_path": "images/5011db7721b8181f031a8d97854413ed19cd0345f6fa658805985acc1570aa62.jpg",
|
| 624 |
+
"text": "$$\n\\lambda \\cdot \\mathbb { E } _ { x \\sim P _ { r e a l } , \\delta \\sim N _ { d } ( 0 , c I ) } \\big [ \\| \\nabla _ { \\mathbf { x } } D _ { \\theta } ( x + \\delta ) \\| - k \\big ] ^ { 2 }\n$$",
|
| 625 |
+
"text_format": "latex",
|
| 626 |
+
"bbox": [
|
| 627 |
+
341,
|
| 628 |
+
881,
|
| 629 |
+
655,
|
| 630 |
+
902
|
| 631 |
+
],
|
| 632 |
+
"page_idx": 4
|
| 633 |
+
},
|
| 634 |
+
{
|
| 635 |
+
"type": "image",
|
| 636 |
+
"img_path": "images/60d0ba3aafa834ef689a9a664b53b2eeea17dedc1dbc3bedf725f1116ca44757.jpg",
|
| 637 |
+
"image_caption": [
|
| 638 |
+
"Figure 1: One hidden layer networks as $G$ and $D$ (MNIST). On the left, we plot inception score against time for vanilla GAN training and on the right, we plot the squared norm of discriminator’s gradients around real data points for the same experiment. Notice how this quantity changes before, during and after mode collapse events. "
|
| 639 |
+
],
|
| 640 |
+
"image_footnote": [],
|
| 641 |
+
"bbox": [
|
| 642 |
+
218,
|
| 643 |
+
113,
|
| 644 |
+
774,
|
| 645 |
+
234
|
| 646 |
+
],
|
| 647 |
+
"page_idx": 5
|
| 648 |
+
},
|
| 649 |
+
{
|
| 650 |
+
"type": "image",
|
| 651 |
+
"img_path": "images/d65b27c7cb6a60e92836c2b33369e5c1b231d2b25768acc523e3c0a7f3b42736.jpg",
|
| 652 |
+
"image_caption": [
|
| 653 |
+
"Figure 2: One hidden layer networks as $G$ and $D$ (MNIST). On the left, losses for both the players are shown for vanilla GAN training and on the right, we added a regularization term to penalize the gradients of $D ( x )$ around real data points. Notice the improved stability. "
|
| 654 |
+
],
|
| 655 |
+
"image_footnote": [],
|
| 656 |
+
"bbox": [
|
| 657 |
+
210,
|
| 658 |
+
335,
|
| 659 |
+
777,
|
| 660 |
+
465
|
| 661 |
+
],
|
| 662 |
+
"page_idx": 5
|
| 663 |
+
},
|
| 664 |
+
{
|
| 665 |
+
"type": "text",
|
| 666 |
+
"text": "This still works as long as small perturbations of real data, $x + \\delta$ are likely to lie off the data-manifold, which is true in the case of image domain and some other settings. Because, in these cases, we do want our discriminator to assign different probabilities of being real to training data and noisy samples. We caution the practitioners to keep this important point in mind while making their choice of penalty. All of the above schemes have the same effect of constraining the norm of discriminator’s gradients around real points to be small and can therefore, mitigate the mode collapse situation. We refer to GAN training using these penalty schemes or heuristics as the DRAGAN algorithm. ",
|
| 667 |
+
"bbox": [
|
| 668 |
+
174,
|
| 669 |
+
553,
|
| 670 |
+
825,
|
| 671 |
+
651
|
| 672 |
+
],
|
| 673 |
+
"page_idx": 5
|
| 674 |
+
},
|
| 675 |
+
{
|
| 676 |
+
"type": "text",
|
| 677 |
+
"text": "Additional details: ",
|
| 678 |
+
"bbox": [
|
| 679 |
+
174,
|
| 680 |
+
657,
|
| 681 |
+
295,
|
| 682 |
+
671
|
| 683 |
+
],
|
| 684 |
+
"page_idx": 5
|
| 685 |
+
},
|
| 686 |
+
{
|
| 687 |
+
"type": "text",
|
| 688 |
+
"text": "• We use the vanilla GAN objective in our experiments, but our penalty improves stability using other objective functions as well. This is demonstrated in section 3.3. \n• The penalty scheme used in our experiments is the one shown in equation 1. \n• We use small pixel-level noise but it is possible to find better ways of imposing this penalty. However, this exploration is beyond the scope of our paper. \n• The optimal configuration of the hyperparameters for DRAGAN depends on the architecture, dataset and data domain. We set them to be $\\lambda \\sim 1 0$ , $k = 1$ and $c \\sim 1 0$ in most of our experiments. ",
|
| 689 |
+
"bbox": [
|
| 690 |
+
217,
|
| 691 |
+
683,
|
| 692 |
+
825,
|
| 693 |
+
810
|
| 694 |
+
],
|
| 695 |
+
"page_idx": 5
|
| 696 |
+
},
|
| 697 |
+
{
|
| 698 |
+
"type": "text",
|
| 699 |
+
"text": "2.5 COUPLED VS LOCAL PENALTIES ",
|
| 700 |
+
"text_level": 1,
|
| 701 |
+
"bbox": [
|
| 702 |
+
176,
|
| 703 |
+
828,
|
| 704 |
+
439,
|
| 705 |
+
842
|
| 706 |
+
],
|
| 707 |
+
"page_idx": 5
|
| 708 |
+
},
|
| 709 |
+
{
|
| 710 |
+
"type": "text",
|
| 711 |
+
"text": "Several recent works have also proposed regularization schemes which constrain the discriminator’s gradients in the ambient data space, so as to improve the stability of GAN training. Despite being from different motivations, WGAN-GP and LS-GAN are closely related approaches to ours. First, we show that these two approaches are very similar, which is not widely known in the literature. Qi (2017) introduced LS-GAN with the idea of maintaining a margin between losses assigned to real and fake samples. Further, they also impose Lipschitz constraint on $D$ and the two conditions together result in a situation where the following holds for any real and fake sample pair (roughly) - ",
|
| 712 |
+
"bbox": [
|
| 713 |
+
174,
|
| 714 |
+
854,
|
| 715 |
+
825,
|
| 716 |
+
924
|
| 717 |
+
],
|
| 718 |
+
"page_idx": 5
|
| 719 |
+
},
|
| 720 |
+
{
|
| 721 |
+
"type": "image",
|
| 722 |
+
"img_path": "images/2d12f09eef44f72791080e64a67614c1e4c57e796445fdcaea72ff7b773c9ac3.jpg",
|
| 723 |
+
"image_caption": [
|
| 724 |
+
"Figure 3: One hidden layer networks as $G$ and $D$ (MNIST). On the left, inception score plot is shown for vanilla GAN training and on the right, we added a regularization term to penalize the gradients of $D ( x )$ around real data points. Notice how mode collapse is mitigated. "
|
| 725 |
+
],
|
| 726 |
+
"image_footnote": [],
|
| 727 |
+
"bbox": [
|
| 728 |
+
207,
|
| 729 |
+
109,
|
| 730 |
+
784,
|
| 731 |
+
244
|
| 732 |
+
],
|
| 733 |
+
"page_idx": 6
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"type": "text",
|
| 737 |
+
"text": "",
|
| 738 |
+
"bbox": [
|
| 739 |
+
173,
|
| 740 |
+
330,
|
| 741 |
+
823,
|
| 742 |
+
358
|
| 743 |
+
],
|
| 744 |
+
"page_idx": 6
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"type": "equation",
|
| 748 |
+
"img_path": "images/3c7b0e13b16cde3ef7924dcb6b1f55eae73facdf21996455421d731b35c45962.jpg",
|
| 749 |
+
"text": "$$\nD _ { \\theta } ( x ) - D _ { \\theta } ( G _ { \\phi } ( z ) ) \\approx | | x , G _ { \\phi } ( z ) | |\n$$",
|
| 750 |
+
"text_format": "latex",
|
| 751 |
+
"bbox": [
|
| 752 |
+
379,
|
| 753 |
+
366,
|
| 754 |
+
620,
|
| 755 |
+
385
|
| 756 |
+
],
|
| 757 |
+
"page_idx": 6
|
| 758 |
+
},
|
| 759 |
+
{
|
| 760 |
+
"type": "text",
|
| 761 |
+
"text": "The authors argue that the resulting discriminator function would have non-vanishing gradients almost everywhere between real and fake samples (section 6 of Qi (2017)). Next, Gulrajani et al. (2017) proposed an extension to address various shortcomings of the original WGAN and they impose the following condition on $D$ - ",
|
| 762 |
+
"bbox": [
|
| 763 |
+
173,
|
| 764 |
+
391,
|
| 765 |
+
825,
|
| 766 |
+
446
|
| 767 |
+
],
|
| 768 |
+
"page_idx": 6
|
| 769 |
+
},
|
| 770 |
+
{
|
| 771 |
+
"type": "equation",
|
| 772 |
+
"img_path": "images/344979f5412e152eeb1b997d7ef93f733d76c15c8ce36073bbd53c6003f780fe.jpg",
|
| 773 |
+
"text": "$$\n| | \\nabla _ { x } D _ { \\theta } ( \\hat { x } ) | | \\approx 1\n$$",
|
| 774 |
+
"text_format": "latex",
|
| 775 |
+
"bbox": [
|
| 776 |
+
441,
|
| 777 |
+
446,
|
| 778 |
+
558,
|
| 779 |
+
464
|
| 780 |
+
],
|
| 781 |
+
"page_idx": 6
|
| 782 |
+
},
|
| 783 |
+
{
|
| 784 |
+
"type": "text",
|
| 785 |
+
"text": "where $\\hat { x } = ( \\epsilon ) x + ( 1 - \\epsilon ) G _ { \\phi } ( z )$ is some point on the line between a real and a fake sample, both chosen independently at random. This leads to $D$ having norm-1 gradients almost everywhere between real and fake samples. Notice that this behavior is very similar to that of LS-GAN’s discriminator function. Thus, WGAN-GP is a slight variation of the original LS-GAN algorithm and we refer to these methods as “coupled penalties”. ",
|
| 786 |
+
"bbox": [
|
| 787 |
+
174,
|
| 788 |
+
468,
|
| 789 |
+
825,
|
| 790 |
+
539
|
| 791 |
+
],
|
| 792 |
+
"page_idx": 6
|
| 793 |
+
},
|
| 794 |
+
{
|
| 795 |
+
"type": "text",
|
| 796 |
+
"text": "On a side note, we also want to point out that WGAN-GP’s penalty doesn’t actually follow from KR-duality as claimed in their paper. By Lemma 1 of Gulrajani et al. (2017), the optimal discriminator $D ^ { * }$ will have norm-1 gradients (almost everywhere) only between those $x$ and $G _ { \\phi } ( z )$ pairs which are sampled from the optimal coupling or joint distribution $\\pi ^ { * }$ . Therefore, there is no basis for WGAN-GP’s penalty (equation 3) where arbitrary pairs of real and fake samples are used. This fact adds more credence to our theory regarding why gradient penalties might be mitigating mode collapse. ",
|
| 797 |
+
"bbox": [
|
| 798 |
+
174,
|
| 799 |
+
545,
|
| 800 |
+
825,
|
| 801 |
+
642
|
| 802 |
+
],
|
| 803 |
+
"page_idx": 6
|
| 804 |
+
},
|
| 805 |
+
{
|
| 806 |
+
"type": "text",
|
| 807 |
+
"text": "The most important distinction between coupled penalties and our methods is that we only impose gradient constraints in local regions around real samples. We refer to these penalty schemes as “local penalties”. Coupled penalties impose gradient constraints between real and generated samples and we point out some potential issues that arise from this: ",
|
| 808 |
+
"bbox": [
|
| 809 |
+
174,
|
| 810 |
+
648,
|
| 811 |
+
825,
|
| 812 |
+
705
|
| 813 |
+
],
|
| 814 |
+
"page_idx": 6
|
| 815 |
+
},
|
| 816 |
+
{
|
| 817 |
+
"type": "text",
|
| 818 |
+
"text": "• With adversarial training finding applications beyond fitting implicit generative models, penalties which depend on generated samples can be prohibitive. \n• The resulting class of functions when coupled penalties are used will be highly restricted compared to our method and this affects modeling performance. We refer the reader to Figure 4 and appendix section 5.2.2 to see this effect. \n• Our algorithm works with AGD, while WGAN-GP needs multiple inner iterations to optimize D. This is because the generated samples can be anywhere in the data space and they change from one iteration to the next. In contrast, we consistently regularize $D _ { \\theta } ( x )$ only along the real data manifold. ",
|
| 819 |
+
"bbox": [
|
| 820 |
+
217,
|
| 821 |
+
718,
|
| 822 |
+
825,
|
| 823 |
+
856
|
| 824 |
+
],
|
| 825 |
+
"page_idx": 6
|
| 826 |
+
},
|
| 827 |
+
{
|
| 828 |
+
"type": "text",
|
| 829 |
+
"text": "To conclude, appropriate constraining of the discriminator’s gradients can mitigate mode collapse but we should be careful so that it doesn’t have any negative effects. We pointed out some issues with coupled penalties and how local penalties can help. We refer the reader to section 3 for further experimental results. ",
|
| 830 |
+
"bbox": [
|
| 831 |
+
174,
|
| 832 |
+
867,
|
| 833 |
+
825,
|
| 834 |
+
924
|
| 835 |
+
],
|
| 836 |
+
"page_idx": 6
|
| 837 |
+
},
|
| 838 |
+
{
|
| 839 |
+
"type": "image",
|
| 840 |
+
"img_path": "images/7599d4f33b3ef214e704679a9c30d2442686de23f3f908d8f6d8f1b4dd024757.jpg",
|
| 841 |
+
"image_caption": [
|
| 842 |
+
"Figure 4: Swissroll experiment (different phases of training) - Vanilla GAN (top), WGAN-GP (middle), and DRAGAN (bottom). Real samples are marked orange and generated samples are green. Level sets of $D _ { \\theta } ( x )$ are shown in the background where yellow is high and purple is low. "
|
| 843 |
+
],
|
| 844 |
+
"image_footnote": [],
|
| 845 |
+
"bbox": [
|
| 846 |
+
186,
|
| 847 |
+
111,
|
| 848 |
+
816,
|
| 849 |
+
279
|
| 850 |
+
],
|
| 851 |
+
"page_idx": 7
|
| 852 |
+
},
|
| 853 |
+
{
|
| 854 |
+
"type": "text",
|
| 855 |
+
"text": "3 EXPERIMENTAL RESULTS ",
|
| 856 |
+
"text_level": 1,
|
| 857 |
+
"bbox": [
|
| 858 |
+
176,
|
| 859 |
+
372,
|
| 860 |
+
418,
|
| 861 |
+
387
|
| 862 |
+
],
|
| 863 |
+
"page_idx": 7
|
| 864 |
+
},
|
| 865 |
+
{
|
| 866 |
+
"type": "text",
|
| 867 |
+
"text": "In section 3.1, we compare the modeling performance of our algorithm against vanilla GAN and WGAN variants in the standard DCGAN/CIFAR-10 setup. Section 3.2 demonstrates DRAGAN’s improved stability across a variety of architectures. In section 3.3, we show that our method also works with other objective functions. Appendix contains samples for inspection, some of the missing plots and additional results. Throughout, we use inception score (Salimans et al., 2016) which is a well-studied and reliable metric in the literature, and sample quality to measure the performance. ",
|
| 868 |
+
"bbox": [
|
| 869 |
+
174,
|
| 870 |
+
405,
|
| 871 |
+
825,
|
| 872 |
+
488
|
| 873 |
+
],
|
| 874 |
+
"page_idx": 7
|
| 875 |
+
},
|
| 876 |
+
{
|
| 877 |
+
"type": "text",
|
| 878 |
+
"text": "3.1 INCEPTION SCORES FOR CIFAR-10 USING DCGAN ARCHITECTURE",
|
| 879 |
+
"text_level": 1,
|
| 880 |
+
"bbox": [
|
| 881 |
+
176,
|
| 882 |
+
508,
|
| 883 |
+
687,
|
| 884 |
+
522
|
| 885 |
+
],
|
| 886 |
+
"page_idx": 7
|
| 887 |
+
},
|
| 888 |
+
{
|
| 889 |
+
"type": "text",
|
| 890 |
+
"text": "DCGAN is a family of architectures designed to perform well with the vanilla training procedure. They are ubiquitous in the GAN literature owing to the instability of vanilla GAN in general settings. We use this architecture to model CIFAR-10 and compare against vanilla GAN, WGAN and WGANGP. As WGANs need 5 discriminator iterations for every generator iteration, comparing the modeling performance can be tricky. To address this, we report two scores for vanilla GAN and DRAGAN - one using the same number of generator iterations as WGANs and one using the same number of discriminator iterations. The results are shown in Figure 5 and samples are included in the appendix (Figure 8). Notice that DRAGAN beats WGAN variants in both the configurations, while vanilla GAN is only slightly better. A key point to note here is that our algorithm is fast compared to WGANs, so in practice, the performance will be closer to the DRAGANd case. In the next section, we will show that if we move away from this specific architecture family, vanilla GAN training can become highly unstable and that DRAGAN penalty mitigates this issue. ",
|
| 891 |
+
"bbox": [
|
| 892 |
+
174,
|
| 893 |
+
535,
|
| 894 |
+
826,
|
| 895 |
+
702
|
| 896 |
+
],
|
| 897 |
+
"page_idx": 7
|
| 898 |
+
},
|
| 899 |
+
{
|
| 900 |
+
"type": "text",
|
| 901 |
+
"text": "3.2 MEASURING STABILITY AND PERFORMANCE ACROSS ARCHITECTURES ",
|
| 902 |
+
"text_level": 1,
|
| 903 |
+
"bbox": [
|
| 904 |
+
176,
|
| 905 |
+
723,
|
| 906 |
+
702,
|
| 907 |
+
736
|
| 908 |
+
],
|
| 909 |
+
"page_idx": 7
|
| 910 |
+
},
|
| 911 |
+
{
|
| 912 |
+
"type": "text",
|
| 913 |
+
"text": "Ideally, we would want our training procedure to perform well in a stable fashion across a variety of architectures (other than DCGANs). Similar to Arjovsky et al. (2017) and Gulrajani et al. (2017), we remove the stabilizing components of DCGAN architecture and demonstrate improved stability $\\&$ modeling performance compared to vanilla GAN training (see appendix section 5.2.3). However, this is a small set of architectures and it is not clear if there is an improvement in general. ",
|
| 914 |
+
"bbox": [
|
| 915 |
+
174,
|
| 916 |
+
750,
|
| 917 |
+
825,
|
| 918 |
+
819
|
| 919 |
+
],
|
| 920 |
+
"page_idx": 7
|
| 921 |
+
},
|
| 922 |
+
{
|
| 923 |
+
"type": "text",
|
| 924 |
+
"text": "To address this, we introduce a metric termed the BogoNet score to compare the stability & performance of different GAN training procedures. The basic idea is to choose random architectures for players $G$ and $D$ independently, and evaluate the performance of different algorithms in the resulting games. A good algorithm should achieve stable performance without failing to learn or resulting in mode collapse, despite the potentially imbalanced architectures. In our experiment, each player is assigned a network from a diverse pool of architectures belonging to three different families (MLP, ResNet, DCGAN). ",
|
| 925 |
+
"bbox": [
|
| 926 |
+
174,
|
| 927 |
+
827,
|
| 928 |
+
825,
|
| 929 |
+
922
|
| 930 |
+
],
|
| 931 |
+
"page_idx": 7
|
| 932 |
+
},
|
| 933 |
+
{
|
| 934 |
+
"type": "image",
|
| 935 |
+
"img_path": "images/b082f4f9dcf00a9e09e461643346f431a03dfbd41016cb3e560a08d21c95a83d.jpg",
|
| 936 |
+
"image_caption": [
|
| 937 |
+
"Figure 5: Comparison of modeling performance on CIFAR10 "
|
| 938 |
+
],
|
| 939 |
+
"image_footnote": [],
|
| 940 |
+
"bbox": [
|
| 941 |
+
210,
|
| 942 |
+
102,
|
| 943 |
+
464,
|
| 944 |
+
272
|
| 945 |
+
],
|
| 946 |
+
"page_idx": 8
|
| 947 |
+
},
|
| 948 |
+
{
|
| 949 |
+
"type": "table",
|
| 950 |
+
"img_path": "images/9ef6ebdb1c335d40442a82e34c966185712254ea7ac51aab28308e34ce6f8f9f.jpg",
|
| 951 |
+
"table_caption": [],
|
| 952 |
+
"table_footnote": [
|
| 953 |
+
"(b) Inception scores "
|
| 954 |
+
],
|
| 955 |
+
"table_body": "<table><tr><td>Algorithm</td><td>Score</td></tr><tr><td>WGAN</td><td>3.25</td></tr><tr><td>WGAN-GP</td><td>5.99</td></tr><tr><td>DRAGAN9</td><td>6.11</td></tr><tr><td>DRAGANd</td><td>6.90</td></tr><tr><td>Vanilla GANg</td><td>6.3</td></tr><tr><td>Vanilla GANd</td><td>6.99</td></tr></table>",
|
| 956 |
+
"bbox": [
|
| 957 |
+
576,
|
| 958 |
+
123,
|
| 959 |
+
750,
|
| 960 |
+
229
|
| 961 |
+
],
|
| 962 |
+
"page_idx": 8
|
| 963 |
+
},
|
| 964 |
+
{
|
| 965 |
+
"type": "table",
|
| 966 |
+
"img_path": "images/cef281d5e664e3e27c8bedd06831526b83f0c27f044c425149a38f76e89a2137.jpg",
|
| 967 |
+
"table_caption": [
|
| 968 |
+
"Table 1: Summary of inception score statistics across 100 architectures "
|
| 969 |
+
],
|
| 970 |
+
"table_footnote": [],
|
| 971 |
+
"table_body": "<table><tr><td rowspan=1 colspan=1>Algorithm</td><td rowspan=1 colspan=2>Final score</td><td rowspan=1 colspan=2>Area under curve</td><td rowspan=1 colspan=1>Qual. score</td></tr><tr><td rowspan=1 colspan=1></td><td rowspan=1 colspan=1>Mean</td><td rowspan=1 colspan=1>Std</td><td rowspan=1 colspan=1>Mean</td><td rowspan=1 colspan=1>Std</td><td rowspan=1 colspan=1>Total</td></tr><tr><td rowspan=1 colspan=1>Vanilla GAN</td><td rowspan=1 colspan=1>2.91</td><td rowspan=1 colspan=1>1.44</td><td rowspan=1 colspan=1>277.72</td><td rowspan=1 colspan=1>126.09</td><td rowspan=1 colspan=1>92.5</td></tr><tr><td rowspan=1 colspan=1>DRAGAN</td><td rowspan=1 colspan=1>3.70</td><td rowspan=1 colspan=1>1.71</td><td rowspan=1 colspan=1>312.15</td><td rowspan=1 colspan=1>135.35</td><td rowspan=1 colspan=1>157.5</td></tr><tr><td rowspan=1 colspan=1>WGAN-GP</td><td rowspan=1 colspan=1>3.49</td><td rowspan=1 colspan=1>1.30</td><td rowspan=1 colspan=1>300.09</td><td rowspan=1 colspan=1>100.96</td><td rowspan=1 colspan=1>1</td></tr></table>",
|
| 972 |
+
"bbox": [
|
| 973 |
+
276,
|
| 974 |
+
352,
|
| 975 |
+
720,
|
| 976 |
+
426
|
| 977 |
+
],
|
| 978 |
+
"page_idx": 8
|
| 979 |
+
},
|
| 980 |
+
{
|
| 981 |
+
"type": "text",
|
| 982 |
+
"text": "To demonstrate that our algorithm performs better compared to vanilla GAN training and WGAN-GP, we created 100 such instances of hard games. Each instance is trained using these algorithms on CIFAR-10 (under similar conditions for a fixed number of generator iterations, which gives a slight advantage to WGAN-GP) and we plot how inception score changes over time. For each algorithm, we calculated the average of final inception scores and area under the curve (AUC) over all 100 instances. The results are shown in Table 1. Notice that we beat the other algorithms in both metrics, which indicates some improvement in stability and modeling performance. ",
|
| 983 |
+
"bbox": [
|
| 984 |
+
174,
|
| 985 |
+
464,
|
| 986 |
+
825,
|
| 987 |
+
561
|
| 988 |
+
],
|
| 989 |
+
"page_idx": 8
|
| 990 |
+
},
|
| 991 |
+
{
|
| 992 |
+
"type": "text",
|
| 993 |
+
"text": "Further, we perform some qualitative analysis to verify that BogoNet score indeed captures the improvements in stability. We create another set of 50 hard architectures and compare DRAGAN against vanilla GAN training. Each instance is allotted 5 points and we split this bounty between the two algorithms depending on their performance. If both perform well or perform poorly, they get 2.5 points each, so that we nullify the effect of such non-differentiating architectures. However, if one algorithm achieves stable performance compared to the other (in terms of failure to learn or mode collapses), we assign it higher portions of the bounty. Results were judged by two of the authors in a blind manner: The curves were shown side-by-side with the choice of algorithm for each side being randomized and unlabeled. The vanilla GAN received an average score of 92.5 while our algorithm achieved an average score of 157.5 and this correlates with BogoNet score from earlier. See appendix section 5.3 for some additional details regarding this experiment. ",
|
| 994 |
+
"bbox": [
|
| 995 |
+
174,
|
| 996 |
+
569,
|
| 997 |
+
825,
|
| 998 |
+
722
|
| 999 |
+
],
|
| 1000 |
+
"page_idx": 8
|
| 1001 |
+
},
|
| 1002 |
+
{
|
| 1003 |
+
"type": "text",
|
| 1004 |
+
"text": "3.3 STABILITY USING DIFFERENT OBJECTIVE FUNCTIONS ",
|
| 1005 |
+
"text_level": 1,
|
| 1006 |
+
"bbox": [
|
| 1007 |
+
178,
|
| 1008 |
+
753,
|
| 1009 |
+
581,
|
| 1010 |
+
767
|
| 1011 |
+
],
|
| 1012 |
+
"page_idx": 8
|
| 1013 |
+
},
|
| 1014 |
+
{
|
| 1015 |
+
"type": "text",
|
| 1016 |
+
"text": "Our algorithm improves stability across a variety of objective functions and we demonstrate this using the following experiment. Nowozin et al. (2016) show that we can interpret GAN training as minimizing various $f$ -divergences when an appropriate game objective function is used. We show experiments using the objective functions developed for Forward KL, Reverse KL, Pearson $\\chi ^ { 2 }$ , Squared Hellinger, and Total Variation divergence minimization. We use a hard architecture from the previous subsection to demonstrate the improvements in stability. Our algorithm is stable in all cases except for the total variation case, while the vanilla algorithm failed in all the cases (see Figure 6 for two examples and Figure 15 in appendix for all five). Thus, practitioners can now choose their game objective from a larger set of functions and use DRAGAN (unlike WGANs which requires a specific objective function). ",
|
| 1017 |
+
"bbox": [
|
| 1018 |
+
174,
|
| 1019 |
+
784,
|
| 1020 |
+
825,
|
| 1021 |
+
924
|
| 1022 |
+
],
|
| 1023 |
+
"page_idx": 8
|
| 1024 |
+
},
|
| 1025 |
+
{
|
| 1026 |
+
"type": "image",
|
| 1027 |
+
"img_path": "images/08edb8a49c57f2c9b5265ce764b2a3bfe91b069519917cce9d29be5b8b42f86f.jpg",
|
| 1028 |
+
"image_caption": [
|
| 1029 |
+
"Figure 6: Inception score plots for two divergence measures, demonstrating superior stability for our algorithm. "
|
| 1030 |
+
],
|
| 1031 |
+
"image_footnote": [],
|
| 1032 |
+
"bbox": [
|
| 1033 |
+
218,
|
| 1034 |
+
112,
|
| 1035 |
+
769,
|
| 1036 |
+
281
|
| 1037 |
+
],
|
| 1038 |
+
"page_idx": 9
|
| 1039 |
+
},
|
| 1040 |
+
{
|
| 1041 |
+
"type": "text",
|
| 1042 |
+
"text": "4 CONCLUSIONS ",
|
| 1043 |
+
"text_level": 1,
|
| 1044 |
+
"bbox": [
|
| 1045 |
+
176,
|
| 1046 |
+
345,
|
| 1047 |
+
328,
|
| 1048 |
+
361
|
| 1049 |
+
],
|
| 1050 |
+
"page_idx": 9
|
| 1051 |
+
},
|
| 1052 |
+
{
|
| 1053 |
+
"type": "text",
|
| 1054 |
+
"text": "In this paper, we propose to study GAN training process as regret minimization, which is in contrast to the popular view that there is consistent minimization of a divergence between real and generated distributions. We analyze the convergence of GAN training from this new point of view and hypothesize that mode collapse occurs due to the existence of undesirable local equilibria. A simple observation is made about how the mode collapse situation often exhibits sharp gradients of the discriminator function around some real data points. This characterization partly explains the workings of previously proposed WGAN and gradient penalties, and motivates our novel penalty scheme. We show evidence of improved stability using DRAGAN and the resulting improvements in modeling performance across a variety of settings. We leave it to future works to explore our ideas in more depth and come up with improved training algorithms. ",
|
| 1055 |
+
"bbox": [
|
| 1056 |
+
173,
|
| 1057 |
+
376,
|
| 1058 |
+
825,
|
| 1059 |
+
515
|
| 1060 |
+
],
|
| 1061 |
+
"page_idx": 9
|
| 1062 |
+
},
|
| 1063 |
+
{
|
| 1064 |
+
"type": "text",
|
| 1065 |
+
"text": "REFERENCES ",
|
| 1066 |
+
"text_level": 1,
|
| 1067 |
+
"bbox": [
|
| 1068 |
+
174,
|
| 1069 |
+
536,
|
| 1070 |
+
285,
|
| 1071 |
+
551
|
| 1072 |
+
],
|
| 1073 |
+
"page_idx": 9
|
| 1074 |
+
},
|
| 1075 |
+
{
|
| 1076 |
+
"type": "text",
|
| 1077 |
+
"text": "Martin Arjovsky and Léon Bottou. Towards principled methods for training generative adversarial networks. arXiv preprint arXiv:1701.04862, 2017. \nMartin Arjovsky, Soumith Chintala, and Léon Bottou. Wasserstein gan. arXiv preprint arXiv:1701.07875, 2017. \nNicolo Cesa-Bianchi and Gábor Lugosi. Prediction, learning, and games. Cambridge university press, 2006. \nNicolo Cesa-Bianchi, Alex Conconi, and Claudio Gentile. On the generalization ability of on-line learning algorithms. IEEE Transactions on Information Theory, 50(9):2050–2057, 2004. \nTong Che, Yanran Li, Athul Paul Jacob, Yoshua Bengio, and Wenjie Li. Mode regularized generative adversarial networks. arXiv preprint arXiv:1612.02136, 2016. \nYoav Freund and Robert E Schapire. Adaptive game playing using multiplicative weights. Games and Economic Behavior, 29(1-2):79–103, 1999. \nIan Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Z. Ghahramani, M. Welling, C. Cortes, N. D. Lawrence, and K. Q. Weinberger (eds.), Advances in Neural Information Processing Systems 27, pp. 2672–2680. Curran Associates, Inc., 2014. URL http://papers.nips. cc/paper/5423-generative-adversarial-nets.pdf. \nIan J. Goodfellow. NIPS 2016 tutorial: Generative adversarial networks. CoRR, abs/1701.00160, 2017. URL http://arxiv.org/abs/1701.00160. \nIshaan Gulrajani, Faruk Ahmed, Martin Arjovsky, Vincent Dumoulin, and Aaron Courville. Improved training of wasserstein gans. arXiv preprint arXiv:1704.00028, 2017. \nElad Hazan, Karan Singh, and Cyril Zhang. Efficient regret minimization in non-convex games. arXiv preprint arXiv:1708.00075, 2017. \nElad Hazan et al. Introduction to online convex optimization. Foundations and Trends® in Optimization, 2(3-4):157–325, 2016. \nPanayotis Mertikopoulos, Christos Papadimitriou, and Georgios Piliouras. Cycles in adversarial regularized learning. arXiv preprint arXiv:1709.02738, 2017. \nLuke Metz, Ben Poole, David Pfau, and Jascha Sohl-Dickstein. Unrolled generative adversarial networks. CoRR, abs/1611.02163, 2016. URL http://arxiv.org/abs/1611.02163. \nJ. von Neumann. Zur theorie der gesellschaftsspiele. Mathematische Annalen, 100:295–320, 1928. URL http://eudml.org/doc/159291. \nNoam Nisan, Tim Roughgarden, Eva Tardos, and Vijay V Vazirani. Algorithmic game theory, volume 1. Cambridge University Press Cambridge, 2007. \nSebastian Nowozin, Botond Cseke, and Ryota Tomioka. f-gan: Training generative neural samplers using variational divergence minimization. In Advances in Neural Information Processing Systems, pp. 271–279, 2016. \nGuo-Jun Qi. Loss-sensitive generative adversarial networks on lipschitz densities. CoRR, abs/1701.06264, 2017. URL http://arxiv.org/abs/1701.06264. \nAlec Radford, Luke Metz, and Soumith Chintala. Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks. arXiv:1511.06434 [cs], November 2015. URL http://arxiv.org/abs/1511.06434. arXiv: 1511.06434. \nTim Salimans, Ian J. Goodfellow, Wojciech Zaremba, Vicki Cheung, Alec Radford, and Xi Chen. Improved techniques for training gans. CoRR, abs/1606.03498, 2016. URL http://arxiv. org/abs/1606.03498. \nMaurice Sion. On general minimax theorems. Pacific J. Math, 8(1):171–176, 1958. \nJunbo Zhao, Michael Mathieu, and Yann LeCun. Energy-based generative adversarial network. arXiv preprint arXiv:1609.03126, 2016. \nMartin Zinkevich. Online convex programming and generalized infinitesimal gradient ascent. In Proceedings of the 20th International Conference on Machine Learning (ICML-03), pp. 928–936, 2003. ",
|
| 1078 |
+
"bbox": [
|
| 1079 |
+
171,
|
| 1080 |
+
558,
|
| 1081 |
+
828,
|
| 1082 |
+
925
|
| 1083 |
+
],
|
| 1084 |
+
"page_idx": 9
|
| 1085 |
+
},
|
| 1086 |
+
{
|
| 1087 |
+
"type": "text",
|
| 1088 |
+
"text": "",
|
| 1089 |
+
"bbox": [
|
| 1090 |
+
171,
|
| 1091 |
+
92,
|
| 1092 |
+
828,
|
| 1093 |
+
636
|
| 1094 |
+
],
|
| 1095 |
+
"page_idx": 10
|
| 1096 |
+
},
|
| 1097 |
+
{
|
| 1098 |
+
"type": "text",
|
| 1099 |
+
"text": "5 APPENDIX ",
|
| 1100 |
+
"text_level": 1,
|
| 1101 |
+
"bbox": [
|
| 1102 |
+
174,
|
| 1103 |
+
102,
|
| 1104 |
+
294,
|
| 1105 |
+
117
|
| 1106 |
+
],
|
| 1107 |
+
"page_idx": 11
|
| 1108 |
+
},
|
| 1109 |
+
{
|
| 1110 |
+
"type": "text",
|
| 1111 |
+
"text": "5.1 SAMPLES AND LATENT SPACE WALKS ",
|
| 1112 |
+
"text_level": 1,
|
| 1113 |
+
"bbox": [
|
| 1114 |
+
176,
|
| 1115 |
+
172,
|
| 1116 |
+
478,
|
| 1117 |
+
186
|
| 1118 |
+
],
|
| 1119 |
+
"page_idx": 11
|
| 1120 |
+
},
|
| 1121 |
+
{
|
| 1122 |
+
"type": "text",
|
| 1123 |
+
"text": "In this section, we provide samples from an additional experiment run on CelebA dataset (Figure 7). The samples from the experiment in section 3.1 are shown in Figure 8. Further, Radford et al. (2015) suggest that walking on the manifold learned by the generator can expose signs of memorization. We use DCGAN architecture to model MNIST and CelebA datasets using DRAGAN penalty, and the latent space walks of the learned models are shown in Figure 9 and Figure 10. The results demonstrate that the generator is indeed learning smooth transitions between different images, when our algorithm is used. ",
|
| 1124 |
+
"bbox": [
|
| 1125 |
+
173,
|
| 1126 |
+
224,
|
| 1127 |
+
826,
|
| 1128 |
+
323
|
| 1129 |
+
],
|
| 1130 |
+
"page_idx": 11
|
| 1131 |
+
},
|
| 1132 |
+
{
|
| 1133 |
+
"type": "image",
|
| 1134 |
+
"img_path": "images/253e30feb5d444bfa0f9d2a46c2370020a9aa842e68a8c3101be4d1f05d075f1.jpg",
|
| 1135 |
+
"image_caption": [
|
| 1136 |
+
"Figure 7: Modeling CelebA with DRAGAN using DCGAN architecture. "
|
| 1137 |
+
],
|
| 1138 |
+
"image_footnote": [],
|
| 1139 |
+
"bbox": [
|
| 1140 |
+
174,
|
| 1141 |
+
391,
|
| 1142 |
+
823,
|
| 1143 |
+
895
|
| 1144 |
+
],
|
| 1145 |
+
"page_idx": 11
|
| 1146 |
+
},
|
| 1147 |
+
{
|
| 1148 |
+
"type": "image",
|
| 1149 |
+
"img_path": "images/00a3a72b049e3e37dc6001b4c685352f4e4d6b5af0259c6be6aa8569f5ba080a.jpg",
|
| 1150 |
+
"image_caption": [
|
| 1151 |
+
"Figure 8: Modeling CIFAR-10 using DCGAN architecture. "
|
| 1152 |
+
],
|
| 1153 |
+
"image_footnote": [],
|
| 1154 |
+
"bbox": [
|
| 1155 |
+
269,
|
| 1156 |
+
58,
|
| 1157 |
+
728,
|
| 1158 |
+
922
|
| 1159 |
+
],
|
| 1160 |
+
"page_idx": 12
|
| 1161 |
+
},
|
| 1162 |
+
{
|
| 1163 |
+
"type": "image",
|
| 1164 |
+
"img_path": "images/706df446adbab90e162115d9e647d7d1ef935b7f035a159850b57539a35c150d.jpg",
|
| 1165 |
+
"image_caption": [
|
| 1166 |
+
"Figure 9: Latent space walk of the model learned on MNIST using DRAGAN "
|
| 1167 |
+
],
|
| 1168 |
+
"image_footnote": [],
|
| 1169 |
+
"bbox": [
|
| 1170 |
+
192,
|
| 1171 |
+
104,
|
| 1172 |
+
807,
|
| 1173 |
+
242
|
| 1174 |
+
],
|
| 1175 |
+
"page_idx": 13
|
| 1176 |
+
},
|
| 1177 |
+
{
|
| 1178 |
+
"type": "image",
|
| 1179 |
+
"img_path": "images/315d94d7f7741e9c64b718ad1502e3ef8549793fb818bbe79ade1e9ee7ab1389.jpg",
|
| 1180 |
+
"image_caption": [
|
| 1181 |
+
"Figure 10: Latent space walk of the model learned on CelebA using DRAGAN "
|
| 1182 |
+
],
|
| 1183 |
+
"image_footnote": [],
|
| 1184 |
+
"bbox": [
|
| 1185 |
+
209,
|
| 1186 |
+
308,
|
| 1187 |
+
794,
|
| 1188 |
+
760
|
| 1189 |
+
],
|
| 1190 |
+
"page_idx": 13
|
| 1191 |
+
},
|
| 1192 |
+
{
|
| 1193 |
+
"type": "text",
|
| 1194 |
+
"text": "5.2 ADDITIONAL EXPERIMENTS ",
|
| 1195 |
+
"text_level": 1,
|
| 1196 |
+
"bbox": [
|
| 1197 |
+
176,
|
| 1198 |
+
815,
|
| 1199 |
+
411,
|
| 1200 |
+
830
|
| 1201 |
+
],
|
| 1202 |
+
"page_idx": 13
|
| 1203 |
+
},
|
| 1204 |
+
{
|
| 1205 |
+
"type": "text",
|
| 1206 |
+
"text": "5.2.1 ONE HIDDEN LAYER NETWORK TO MODEL MNIST",
|
| 1207 |
+
"text_level": 1,
|
| 1208 |
+
"bbox": [
|
| 1209 |
+
174,
|
| 1210 |
+
842,
|
| 1211 |
+
580,
|
| 1212 |
+
857
|
| 1213 |
+
],
|
| 1214 |
+
"page_idx": 13
|
| 1215 |
+
},
|
| 1216 |
+
{
|
| 1217 |
+
"type": "text",
|
| 1218 |
+
"text": "We design a simple experiment where $G$ and $D$ are both fully connected networks with just one hidden layer. Vanilla GAN performs poorly even in this simple case and we observe severe mode collapses. In contrast, our algorithm is stable throughout and obtains decent quality samples despite the constrained setup. ",
|
| 1219 |
+
"bbox": [
|
| 1220 |
+
174,
|
| 1221 |
+
867,
|
| 1222 |
+
825,
|
| 1223 |
+
924
|
| 1224 |
+
],
|
| 1225 |
+
"page_idx": 13
|
| 1226 |
+
},
|
| 1227 |
+
{
|
| 1228 |
+
"type": "image",
|
| 1229 |
+
"img_path": "images/21a2f5cc05da6cef15ec214b6e79bdb86cf01dca6d822a107a4e2db884743d92.jpg",
|
| 1230 |
+
"image_caption": [
|
| 1231 |
+
"Figure 11: One hidden layer network to model MNIST - Inception score plots "
|
| 1232 |
+
],
|
| 1233 |
+
"image_footnote": [],
|
| 1234 |
+
"bbox": [
|
| 1235 |
+
183,
|
| 1236 |
+
109,
|
| 1237 |
+
802,
|
| 1238 |
+
289
|
| 1239 |
+
],
|
| 1240 |
+
"page_idx": 14
|
| 1241 |
+
},
|
| 1242 |
+
{
|
| 1243 |
+
"type": "image",
|
| 1244 |
+
"img_path": "images/0746c7e25322ed76843ed863c3f4a1e3db5bf220d06a38a957cd03102051a8a5.jpg",
|
| 1245 |
+
"image_caption": [
|
| 1246 |
+
"Figure 12: One hidden layer network to model MNIST - Samples "
|
| 1247 |
+
],
|
| 1248 |
+
"image_footnote": [],
|
| 1249 |
+
"bbox": [
|
| 1250 |
+
263,
|
| 1251 |
+
352,
|
| 1252 |
+
738,
|
| 1253 |
+
498
|
| 1254 |
+
],
|
| 1255 |
+
"page_idx": 14
|
| 1256 |
+
},
|
| 1257 |
+
{
|
| 1258 |
+
"type": "text",
|
| 1259 |
+
"text": "5.2.2 8-GAUSSIANS EXPERIMENT ",
|
| 1260 |
+
"text_level": 1,
|
| 1261 |
+
"bbox": [
|
| 1262 |
+
176,
|
| 1263 |
+
549,
|
| 1264 |
+
421,
|
| 1265 |
+
564
|
| 1266 |
+
],
|
| 1267 |
+
"page_idx": 14
|
| 1268 |
+
},
|
| 1269 |
+
{
|
| 1270 |
+
"type": "text",
|
| 1271 |
+
"text": "We analyze the performance of WGAN-GP and DRAGAN on the 8-Gaussians dataset. As it can be seen in Figure 13, both of them approximately converge to the real distribution but notice that in the case of WGAN-GP, $D _ { \\theta } ( x )$ seems overly constrained in the data space. In contrast, DRAGAN’s discriminator is more flexible. ",
|
| 1272 |
+
"bbox": [
|
| 1273 |
+
173,
|
| 1274 |
+
573,
|
| 1275 |
+
826,
|
| 1276 |
+
630
|
| 1277 |
+
],
|
| 1278 |
+
"page_idx": 14
|
| 1279 |
+
},
|
| 1280 |
+
{
|
| 1281 |
+
"type": "image",
|
| 1282 |
+
"img_path": "images/9b616a01a4caead05a9e60150cc795f9edabc4a1e5a148a0bfcf30d36f239ef0.jpg",
|
| 1283 |
+
"image_caption": [],
|
| 1284 |
+
"image_footnote": [],
|
| 1285 |
+
"bbox": [
|
| 1286 |
+
200,
|
| 1287 |
+
655,
|
| 1288 |
+
794,
|
| 1289 |
+
911
|
| 1290 |
+
],
|
| 1291 |
+
"page_idx": 14
|
| 1292 |
+
},
|
| 1293 |
+
{
|
| 1294 |
+
"type": "text",
|
| 1295 |
+
"text": "Figure 13: Comparing the performance of WGAN-GP and DRAGAN on the 8-Gaussians dataset. Orange is real samples, green is generated samples. The level sets of $D _ { \\theta } ( x )$ are shown in the background, with yellow as high and purple as low. ",
|
| 1296 |
+
"bbox": [
|
| 1297 |
+
173,
|
| 1298 |
+
99,
|
| 1299 |
+
826,
|
| 1300 |
+
143
|
| 1301 |
+
],
|
| 1302 |
+
"page_idx": 15
|
| 1303 |
+
},
|
| 1304 |
+
{
|
| 1305 |
+
"type": "text",
|
| 1306 |
+
"text": "5.2.3 STABILITY ACROSS DCGAN ARCHITECTURE VARIATIONS ",
|
| 1307 |
+
"text_level": 1,
|
| 1308 |
+
"bbox": [
|
| 1309 |
+
174,
|
| 1310 |
+
194,
|
| 1311 |
+
633,
|
| 1312 |
+
209
|
| 1313 |
+
],
|
| 1314 |
+
"page_idx": 15
|
| 1315 |
+
},
|
| 1316 |
+
{
|
| 1317 |
+
"type": "text",
|
| 1318 |
+
"text": "DCGAN architecture has been designed following specific guidelines to make it stable (Radford et al., 2015). We restate the suggested rules here. ",
|
| 1319 |
+
"bbox": [
|
| 1320 |
+
174,
|
| 1321 |
+
224,
|
| 1322 |
+
825,
|
| 1323 |
+
253
|
| 1324 |
+
],
|
| 1325 |
+
"page_idx": 15
|
| 1326 |
+
},
|
| 1327 |
+
{
|
| 1328 |
+
"type": "text",
|
| 1329 |
+
"text": "1. Use all-convolutional networks which learn their own spatial downsampling (discriminator) \nor upsampling (generator) \n2. Remove fully connected hidden layers for deeper architectures \n3. Use batch normalization in both the generator and the discriminator \n4. Use ReLU activation in the generator for all layers except the output layer, which uses tanh \n5. Use LeakyReLU activation in the discriminator for all layers ",
|
| 1330 |
+
"bbox": [
|
| 1331 |
+
205,
|
| 1332 |
+
268,
|
| 1333 |
+
825,
|
| 1334 |
+
424
|
| 1335 |
+
],
|
| 1336 |
+
"page_idx": 15
|
| 1337 |
+
},
|
| 1338 |
+
{
|
| 1339 |
+
"type": "text",
|
| 1340 |
+
"text": "We show below that such constraints can be relaxed when using our algorithm and still maintain training stability. Below, we present a series of experiments in which we remove different stabilizing components from the DCGAN architecture and analyze the performance of our algorithm. Specifically, we choose the following four architectures which are difficult to train (in each case, we start with base DCGAN architecture and apply the changes) - ",
|
| 1341 |
+
"bbox": [
|
| 1342 |
+
174,
|
| 1343 |
+
440,
|
| 1344 |
+
826,
|
| 1345 |
+
511
|
| 1346 |
+
],
|
| 1347 |
+
"page_idx": 15
|
| 1348 |
+
},
|
| 1349 |
+
{
|
| 1350 |
+
"type": "text",
|
| 1351 |
+
"text": "• No BN and a constant number of filters in the generator • 4-layer 512-dim ReLU MLP generator • tanh nonlinearities everywhere • tanh nonlinearity in the generator and 4-layer 512-dim L ",
|
| 1352 |
+
"bbox": [
|
| 1353 |
+
217,
|
| 1354 |
+
527,
|
| 1355 |
+
599,
|
| 1356 |
+
636
|
| 1357 |
+
],
|
| 1358 |
+
"page_idx": 15
|
| 1359 |
+
},
|
| 1360 |
+
{
|
| 1361 |
+
"type": "text",
|
| 1362 |
+
"text": "Notice that, in each case, our algorithm is stable while the vanilla GAN training fails. A similar approach is used to demonstrate the stability of training procedures in Arjovsky et al. (2017) and Gulrajani et al. (2017). ",
|
| 1363 |
+
"bbox": [
|
| 1364 |
+
174,
|
| 1365 |
+
652,
|
| 1366 |
+
826,
|
| 1367 |
+
695
|
| 1368 |
+
],
|
| 1369 |
+
"page_idx": 15
|
| 1370 |
+
},
|
| 1371 |
+
{
|
| 1372 |
+
"type": "image",
|
| 1373 |
+
"img_path": "images/f08b1ae4765593c628424fef09f6125c39f1f98e2d3d07e01f8a12b5e2fe6dda.jpg",
|
| 1374 |
+
"image_caption": [
|
| 1375 |
+
"(a) tanh activation "
|
| 1376 |
+
],
|
| 1377 |
+
"image_footnote": [],
|
| 1378 |
+
"bbox": [
|
| 1379 |
+
210,
|
| 1380 |
+
729,
|
| 1381 |
+
460,
|
| 1382 |
+
893
|
| 1383 |
+
],
|
| 1384 |
+
"page_idx": 15
|
| 1385 |
+
},
|
| 1386 |
+
{
|
| 1387 |
+
"type": "image",
|
| 1388 |
+
"img_path": "images/7dfd4d64a8431aaf60c273ea45682704b7332c6ff928d3ac858d451ab7d7f023.jpg",
|
| 1389 |
+
"image_caption": [
|
| 1390 |
+
"(b) FC generator "
|
| 1391 |
+
],
|
| 1392 |
+
"image_footnote": [],
|
| 1393 |
+
"bbox": [
|
| 1394 |
+
524,
|
| 1395 |
+
737,
|
| 1396 |
+
781,
|
| 1397 |
+
895
|
| 1398 |
+
],
|
| 1399 |
+
"page_idx": 15
|
| 1400 |
+
},
|
| 1401 |
+
{
|
| 1402 |
+
"type": "image",
|
| 1403 |
+
"img_path": "images/8d15a3fe42dd37e5d63a7ca85bd42e77e855485f63134adcb4f70974bf0eb1cf.jpg",
|
| 1404 |
+
"image_caption": [
|
| 1405 |
+
"Figure 14: Comparing performance of DRAGAN and Vanilla GAN training in the hard variations of DCGAN architecture. "
|
| 1406 |
+
],
|
| 1407 |
+
"image_footnote": [],
|
| 1408 |
+
"bbox": [
|
| 1409 |
+
209,
|
| 1410 |
+
107,
|
| 1411 |
+
784,
|
| 1412 |
+
299
|
| 1413 |
+
],
|
| 1414 |
+
"page_idx": 16
|
| 1415 |
+
},
|
| 1416 |
+
{
|
| 1417 |
+
"type": "text",
|
| 1418 |
+
"text": "5.2.4 STABILITY ACROSS OBJECTIVE FUNCTIONS ",
|
| 1419 |
+
"text_level": 1,
|
| 1420 |
+
"bbox": [
|
| 1421 |
+
178,
|
| 1422 |
+
380,
|
| 1423 |
+
526,
|
| 1424 |
+
393
|
| 1425 |
+
],
|
| 1426 |
+
"page_idx": 16
|
| 1427 |
+
},
|
| 1428 |
+
{
|
| 1429 |
+
"type": "text",
|
| 1430 |
+
"text": "Due to space limitations, we only showed plots for two cases in section 3.3. Below we show the results for all five cases. ",
|
| 1431 |
+
"bbox": [
|
| 1432 |
+
174,
|
| 1433 |
+
409,
|
| 1434 |
+
825,
|
| 1435 |
+
438
|
| 1436 |
+
],
|
| 1437 |
+
"page_idx": 16
|
| 1438 |
+
},
|
| 1439 |
+
{
|
| 1440 |
+
"type": "image",
|
| 1441 |
+
"img_path": "images/318d07b48ece6f833bf757cca8eef723de3f0f3b498fed4e51b99ddc70725895.jpg",
|
| 1442 |
+
"image_caption": [],
|
| 1443 |
+
"image_footnote": [],
|
| 1444 |
+
"bbox": [
|
| 1445 |
+
202,
|
| 1446 |
+
477,
|
| 1447 |
+
785,
|
| 1448 |
+
944
|
| 1449 |
+
],
|
| 1450 |
+
"page_idx": 16
|
| 1451 |
+
},
|
| 1452 |
+
{
|
| 1453 |
+
"type": "image",
|
| 1454 |
+
"img_path": "images/0689a07198cc09bec2e05fb575a141417894d6e5b92e18d11aa07da3f8df33e0.jpg",
|
| 1455 |
+
"image_caption": [
|
| 1456 |
+
"Figure 15: Comparing performance of DRAGAN and Vanilla GAN training using different objective functions. "
|
| 1457 |
+
],
|
| 1458 |
+
"image_footnote": [],
|
| 1459 |
+
"bbox": [
|
| 1460 |
+
367,
|
| 1461 |
+
114,
|
| 1462 |
+
624,
|
| 1463 |
+
299
|
| 1464 |
+
],
|
| 1465 |
+
"page_idx": 17
|
| 1466 |
+
},
|
| 1467 |
+
{
|
| 1468 |
+
"type": "text",
|
| 1469 |
+
"text": "5.3 BOGONET DETAILS",
|
| 1470 |
+
"text_level": 1,
|
| 1471 |
+
"bbox": [
|
| 1472 |
+
176,
|
| 1473 |
+
364,
|
| 1474 |
+
352,
|
| 1475 |
+
378
|
| 1476 |
+
],
|
| 1477 |
+
"page_idx": 17
|
| 1478 |
+
},
|
| 1479 |
+
{
|
| 1480 |
+
"type": "text",
|
| 1481 |
+
"text": "We used three families of architectures with probabilities - DCGAN (0.6), ResNet (0.2), MLP (0.2). Next, we further parameterized each family to create additional variation. For instance, the DCGAN family can result in networks with or without batch normalization, have LeakyReLU or Tanh nonlinearities. The number and width of filters, latent space dimensionality are some other possible variations in our experiment. Similarly, the number of layers and hidden units in each layer for MLP are chosen randomly. For ResNets, we chose their depth randomly. This creates a set of hard games which test the stability of a given training algorithm. ",
|
| 1482 |
+
"bbox": [
|
| 1483 |
+
173,
|
| 1484 |
+
390,
|
| 1485 |
+
825,
|
| 1486 |
+
489
|
| 1487 |
+
],
|
| 1488 |
+
"page_idx": 17
|
| 1489 |
+
},
|
| 1490 |
+
{
|
| 1491 |
+
"type": "text",
|
| 1492 |
+
"text": "We showed qualitative analysis of the inception score plots in section 3.2 to verify that BogoNet score indeed captures the improvements in stability. Below, we show some examples of how the bounty splits were done. The plots in Figure 14 were scored as (averages are shown in DRAGAN, Vanilla GAN order): ",
|
| 1493 |
+
"bbox": [
|
| 1494 |
+
173,
|
| 1495 |
+
496,
|
| 1496 |
+
825,
|
| 1497 |
+
551
|
| 1498 |
+
],
|
| 1499 |
+
"page_idx": 17
|
| 1500 |
+
},
|
| 1501 |
+
{
|
| 1502 |
+
"type": "text",
|
| 1503 |
+
"text": "A - (5, 0), B - (3.5, 1.5), C – (2.25, 2.75), D – (2, 3) ",
|
| 1504 |
+
"bbox": [
|
| 1505 |
+
173,
|
| 1506 |
+
558,
|
| 1507 |
+
513,
|
| 1508 |
+
573
|
| 1509 |
+
],
|
| 1510 |
+
"page_idx": 17
|
| 1511 |
+
}
|
| 1512 |
+
]
|
parse/train/ryepFJbA-/ryepFJbA-_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/ryepFJbA-/ryepFJbA-_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/uqv8-U4lKBe/uqv8-U4lKBe.md
ADDED
|
@@ -0,0 +1,322 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Deep Reinforcement Learning at the Edge of the Statistical Precipice
|
| 2 |
+
|
| 3 |
+
Max Schwarzer MILA, Université de Montréal
|
| 4 |
+
|
| 5 |
+
Rishabh Agarwal∗ Google Research, Brain Team MILA, Université de Montréal
|
| 6 |
+
|
| 7 |
+
Pablo Samuel Castro Google Research, Brain Team
|
| 8 |
+
|
| 9 |
+
Aaron Courville MILA, Université de Montréal
|
| 10 |
+
|
| 11 |
+
Marc G. Bellemare Google Research, Brain Team
|
| 12 |
+
|
| 13 |
+
# Abstract
|
| 14 |
+
|
| 15 |
+
Deep reinforcement learning (RL) algorithms are predominantly evaluated by comparing their relative performance on a large suite of tasks. Most published results on deep RL benchmarks compare point estimates of aggregate performance such as mean and median scores across tasks, ignoring the statistical uncertainty implied by the use of a finite number of training runs. Beginning with the Arcade Learning Environment (ALE), the shift towards computationally-demanding benchmarks has led to the practice of evaluating only a small number of runs per task, exacerbating the statistical uncertainty in point estimates. In this paper, we argue that reliable evaluation in the few-run deep RL regime cannot ignore the uncertainty in results without running the risk of slowing down progress in the field. We illustrate this point using a case study on the Atari $1 0 0 \mathrm { k }$ benchmark, where we find substantial discrepancies between conclusions drawn from point estimates alone versus a more thorough statistical analysis. With the aim of increasing the field’s confidence in reported results with a handful of runs, we advocate for reporting interval estimates of aggregate performance and propose performance profiles to account for the variability in results, as well as present more robust and efficient aggregate metrics, such as interquartile mean scores, to achieve small uncertainty in results. Using such statistical tools, we scrutinize performance evaluations of existing algorithms on other widely used RL benchmarks including the ALE, Procgen, and the DeepMind Control Suite, again revealing discrepancies in prior comparisons. Our findings call for a change in how we evaluate performance in deep RL, for which we present a more rigorous evaluation methodology, accompanied with an open-source library rliable2, to prevent unreliable results from stagnating the field.
|
| 16 |
+
|
| 17 |
+
# 1 Introduction
|
| 18 |
+
|
| 19 |
+
Research in artificial intelligence, and particularly deep reinforcement learning (RL), relies on evaluating aggregate performance on a diverse suite of tasks to assess progress. Quantitative evaluation on a suite of tasks, such as Atari games [5], reveals strengths and limitations of methods while simultaneously guiding researchers towards methods with promising results. Performance of RL algorithms is usually summarized with a point estimate of task performance measure, such as mean and median performance across tasks, aggregated over independent training runs.
|
| 20 |
+
|
| 21 |
+
estimates. While evaluating more runs per task has been prescribed to reduce uncertainty and obtain reliable estimates [20, 41, 49], 3-10 runs are prevalent in deep RL as it is often computationally prohibitive to evaluate more runs. For example, 5 runs each on $5 0 +$ Atari 2600 games in ALE using standard protocol requires more than 1000 GPU training days [15]. As we move towards more challenging and complex RL benchmarks (e.g., StarCraft [110]), evaluating more than a handful of runs will become increasingly demanding due to increased amount of compute and data needed to tackle such tasks. Additional confounding factors, such as exploration in the low-data regime, exacerbates the performance variability in deep RL – as seen on the Atari $1 0 0 \mathrm { k }$ benchmark [50] – often requiring many more runs to achieve negligible statistical uncertainty in reported estimates.
|
| 22 |
+
|
| 23 |
+
Ignoring the statistical uncertainty in deep RL results gives a false impression of fast scientific progress in the field. It inevitably evades the question: “Would similar findings be obtained with new independent runs under different random conditions?” This could steer researchers towards superficially beneficial methods [11, 12, 25], often at the expense of better methods being neglected or even rejected early [67, 74] as such methods fail to outperform inferior methods simply due to less favorable random conditions. Furthermore, only reporting point estimates obscures nuances in comparisons [85] and can erroneously lead the field to conclude which methods are state-ofthe-art [63, 84], ensuing wasted effort when applied in practice [108]. Moreover, not report
|
| 24 |
+
|
| 25 |
+

|
| 26 |
+
Figure 1: Number of runs in RL over the years. Beginning with DQN [75] on the ALE, 5 or less runs are common in the field. Here, we show representative RL papers with empirical results, in the order of their publication year: TD-learning [99], Sparse coding [100], Options [102], Tetris (CEM) [103], Batch-Q [31], ALE [5], DQN [75], AlphaGo [96], A3C [76], DDPG [62], ES [88], PPO [92], SAC [36], Rainbow [42], AlphaStar [110], GoExplore [28], OpenAI Five [8], Balloon navigation [7] and MuZero [91].
|
| 27 |
+
|
| 28 |
+
ing the uncertainty in deep RL results makes them difficult to reproduce except under the exact same random conditions, which could lead to a reproducibility crisis similar to the one that plagues other fields [4, 44, 78]. Finally, unreliable results could erode trust in deep RL research itself [45].
|
| 29 |
+
|
| 30 |
+
In this work, we show that recent deep RL papers compare unreliable point estimates, which are dominated by statistical uncertainty, as well as exploit non-standard evaluation protocols, using a case study on Atari 100k (Section 3). Then, we illustrate how to reliably evaluate performance with only a handful of runs using a more rigorous evaluation methodology that accounts for uncertainty in results (Section 4). To exemplify the necessity of such methodology, we scrutinize performance evaluations of existing algorithms on widely used benchmarks, including the ALE [5] (Atari $1 0 0 \mathrm { k }$ , Atari 200M), Procgen [18] and DeepMind Control Suite [104], again revealing discrepancies in prior comparisons (Section 5). Our findings call for a change in how we evaluate performance in deep RL, for which we present a better methodology to prevent unreliable results from stagnating the field.
|
| 31 |
+
|
| 32 |
+
How do we reliably evaluate performance on deep RL benchmarks with only a handful of runs? As a practical solution that is easily applicable with 3-10 runs per task, we identify three statistical tools (Table 1) for improving the quality of experimental reporting. Since any performance estimate based on a finite number of runs is a random variable, we argue that it should be treated as such. Specifically, we argue for reporting aggregate performance measures using interval estimates via stratified bootstrap confidence intervals, as opposed to point estimates. Among prevalent aggregate measures, mean can be easily dominated by performance on a few outlier tasks, while median has high variability and zero performance on nearly half of the tasks does not change it. To address these deficiencies, we present more efficient and robust alternatives, such as interquartile mean, which are not unduly affected by outliers and have small uncertainty even with a handful of runs. Furthermore, to reveal the variability in performance across tasks, we propose reporting performance distributions across all runs. Compared to prior work [5, 83], these distributions result in performance profiles [26] that are statistically unbiased, more robust to outliers, and require fewer runs for smaller uncertainty.
|
| 33 |
+
|
| 34 |
+
# 2 Formalism
|
| 35 |
+
|
| 36 |
+
We consider the setting in which a reinforcement learning algorithm is evaluated on $M$ tasks. For each of these tasks, we perform $N$ independent runs3 which each provide a scalar, normalized score $x _ { m , n }$ , $m = 1 , \ldots , M$ and $n = 1 , \ldots , N$ . These normalized scores are obtained by linearly rescaling per-task scores4 based on two reference points; for example, performance on the Atari games is typically normalized with respect to a random agent and an average human, who are assigned a normalized score of 0 and 1 respectively [75]. We denote the set of normalized scores by $x _ { 1 : M , 1 : N }$ .
|
| 37 |
+
|
| 38 |
+
Table 1: Our recommendations for reliable evaluation, easily applicable with a handful of runs. Refer to Section 4 for details about recommendations and Section 5 for their application to widely-used RL benchmarks.
|
| 39 |
+
|
| 40 |
+
<table><tr><td>Desideratum</td><td>Current Evaluation Protocol</td><td>Our Recommendation</td></tr><tr><td>Uncertainty in aggregate performance</td><td>Point estimates · Ignore statistical uncertainty ·Hinder resultsreproducibility</td><td>Interval estimates via stratified bootstrap confidence intervals</td></tr><tr><td>Variability in performance across tasks and runs</td><td>Tables with mean scores per task · Overwhelming beyond a few tasks ·Standard deviations often omitted · Incomplete picture for multimodal and heavy-tailed distributions</td><td>Performance profiles (score distributions) · Show tail distribution of scores on com- bined runs across tasks · Allow qualitative comparisons ·Easily read any score percentile</td></tr><tr><td>Aggregate metrics for sum- marizing performance across tasks</td><td>Mean ·Often dominated by performance on outlier tasks Median · Requires large number of runs to claim improvements · Poor indicator of overall perfor-</td><td>Interquartile Mean (IQM) across all runs ·Performance on middle 5O% of com- bined runs · Robust to outlier scores but more statis- tically efficient than median To show other aspects of performance gains, report average probability of improvement</td></tr></table>
|
| 41 |
+
|
| 42 |
+
In most experiments, there is inherent randomness in the scores obtained from different runs. This randomness can arise from stochasticity in the task, exploratory choices made during learning, randomized initial parameters, but also software and hardware considerations such as non-determinism in GPUs and in machine learning frameworks [116]. Thus, we model the algorithm’s normalized score on the $m ^ { t h }$ task as a real-valued random variable $X _ { m }$ . Then, the score $x _ { m , n }$ is a realization of the random variable $X _ { m , n }$ , which is identically distributed as $X _ { m }$ . For $\tau \in \mathbb { R }$ , we define the tail distribution function of $X _ { m }$ as $F _ { m } ( \tau ) = \mathrm { P } ( \dot { X } _ { m } > \tau )$ . For any collection of scores $y _ { 1 : K }$ , the empirical tail distribution function is given by $\begin{array} { r } { \hat { F } ( \tau ; y _ { 1 : K } ) = \frac { 1 } { K } \sum _ { k = 1 } ^ { K } \mathbb { 1 } [ y _ { k } > \tau ] } \end{array}$ . In particular, we write $\hat { F } _ { m } ( \tau ) = \hat { F } ( \tau ; x _ { m , 1 : N } )$ .
|
| 43 |
+
|
| 44 |
+
The aggregate performance of an algorithm maps the set of normalized scores $x _ { 1 : M , 1 : N }$ to a scalar
|
| 45 |
+
value. Two prwe denote by $\begin{array} { r } { \bar { x } _ { m } = \frac { 1 } { N } \bar { \sum _ { n = 1 } ^ { N } } \bar { x _ { m , n } } } \end{array}$ fo t metrics are the age score on task $m$ an and across $N$ dian normalized scores. Ifruns, then these aggregate $\left( \hat { x } _ { 1 : M } \right)$ $\left( \hat { x } _ { 1 : M } \right)$
|
| 46 |
+
median over the task means since they are computed from a finite set of $N$ runs. Since $\hat { x } _ { m }$ is a
|
| 47 |
+
realization of the random variable $\begin{array} { r } { \bar { X } _ { m } = \frac { 1 } { N } \sum _ { n = 1 } ^ { \bar { N } } X _ { m , n } } \end{array}$ , the sample mean and median scores are
|
| 48 |
+
point estimates of the random variables Mean $\left( \hat { X } _ { 1 : M } \right)$ and Median $\left( \hat { X } _ { 1 : M } \right)$ respectively. We call true
|
| 49 |
+
mean and true median the metrics that would be obtained if we had unlimited experimental capacity $N \to \infty$ ), given by Mea $\mathsf { 1 } \big ( \mathbb { E } [ X _ { 1 : M } ] \big )$ and Median $\left( \mathbb { E } [ X _ { 1 : M } ] \right)$ respectively.
|
| 50 |
+
|
| 51 |
+
Confidence intervals (CIs) for a finite-sample score can be interpreted as an estimate of plausible values for the true score. A $\alpha \times 1 0 0 \%$ CI computes an interval such that if we rerun the experiment and construct the CI using a different set of runs, the fraction of calculated CIs (which would differ for each set of runs) that contain the true score would tend towards $\alpha \times 1 0 0 \%$ , where $\alpha \in [ 0 , 1 ]$ is the nominal coverage rate. $9 5 \%$ CIs are typically used in practice. If the true score lies outside the $9 5 \%$ CI, then a sampling event has occurred which had a probability of $5 \%$ of happening by chance.
|
| 52 |
+
|
| 53 |
+

|
| 54 |
+
Figure 2: Left. Distribution of median normalized scores computed using 100,000 different sets of $N$ runs subsampled uniformly with replacement from 100 runs. For a given algorithm, the sampling distribution shows the variation in the median scores when re-estimated using a different set of runs. The reported point estimates of median in publications, as shown by dashed lines, do not provide any information about the variability in median scores and severely overestimate or underestimate the expected median. We use the same number of runs as reported by publications: $N = 5$ runs for DER, OTR and DrQ, $N = 1 0$ runs for SPR and $N = 2 0$ runs for CURL. Right. $9 5 \%$ CIs for median and IQM scores (Section 4.3) for varying $N$ . There is a substantial uncertainty in median scores even with 50 runs. IQM has much smaller CIs than median. Note that when CIs overlap, properly accounting for uncertainty entails computing CIs for score differences (Figure A.15).
|
| 55 |
+
|
| 56 |
+
Remark. Following Amrhein et al. [2], Romer [87], Wasserstein et al. [112], we recommend using confidence intervals for measuring the uncertainty in results and showing effect sizes (e.g., performance improvements over baseline) that are compatible with the given data. Furthermore, we emphasize using statistical thinking but avoid statistical significance tests (e.g., $p$ -value $< 0 . 0 5 )$ because of their dichotomous nature (significant vs. not significant) and common misinterpretations [33, 35, 73] such as 1) lack of statistically significant results does not demonstrate the absence of effect (Figure 2, right), and 2) given enough data, any trivial effect can be statistically significant but may not be practically significant.
|
| 57 |
+
|
| 58 |
+
# 3 Case Study: The Atari 100k benchmark
|
| 59 |
+
|
| 60 |
+
We begin with a case study to illustrate the pitfalls arising from the naïve use of point estimates in the few-run regime. Our case study concerns the Atari 100k benchmark [50], an offshoot of the ALE for evaluating data-efficiency in deep RL. In this benchmark, algorithms are evaluated on only $1 0 0 \mathrm { k }$ steps (2-3 hours of game-play) for each of its 26 games, versus 200M frames in the ALE benchmark. Prior reported results on this benchmark have been computed mostly from 3 [39, 55, 59, 72, 89, 95] or 5 runs [50, 51, 53, 54, 64, 66, 86, 107, 115], and more rarely, 10 [65, 93] or 20 runs [56].
|
| 61 |
+
|
| 62 |
+
Our case study compares the performance of five recent deep RL algorithms, namely: (1) DER [107] and (2) OTR [51], (3) DrQ5 [53], (4) CURL [56], and (5) SPR [93]. We chose these methods as representative of influential algorithms within this benchmark. Since good performance on one game can result in unduly high sample means without providing much information about performance on other games, it is common to measure performance on Atari $1 0 0 \mathrm { k }$ using sample medians. Refer to Appendix A.2 for more details about the experimental setup.
|
| 63 |
+
|
| 64 |
+
We investigate statistical variations in the few-run regime by evaluating 100 independent runs for each algorithm, where the score for a run is the average returns obtained in 100 evaluation episodes taking place after training. Each run corresponds to training one algorithm on each of the 26 games in Atari $1 0 0 \mathrm { k }$ . This provides us with $2 6 \times 1 0 0$ scores per algorithm, which we then subsample with replacement to 3–100 runs. The subsampled scores are then used to produce a collection of point estimates whose statistical variability can be measured. We begin by using this experimental protocol to highlight statistical concerns regarding median normalized scores.
|
| 65 |
+
|
| 66 |
+
High variability in reported results. Our first observation is that the sample medians reported in the literature exhibit substantial variability when viewed as random quantities that depend on a small number of sample runs (Figure 2, left). This shows that there is a fairly large potential for drawing erroneous conclusions based on point estimates alone. As a concrete example, our analysis suggests that DER may in fact be better than OTR, unlike what the reported point estimates suggest. We conclude that in the few-run regime, point estimates are unlikely to provide definitive answers to the question: “Would we draw the same conclusions were we to re-evaluate our algorithm with a different set of runs?”
|
| 67 |
+
|
| 68 |
+
Substantial bias in sample medians. The sample median is a biased estimator of the true median: $\mathbb { E } [ \mathbf { M e d i a n } ( \bar { X } _ { 1 : M } ) ] \neq$ Median $\left( \mathbb { E } [ X _ { 1 : M } ] \right)$ in general. In the few-run regime, we find that this bias can dominate the comparison between algorithms, as evidenced in Fig
|
| 69 |
+
|
| 70 |
+

|
| 71 |
+
Figure 3: Expected sample median of task means. The expected score for $N$ runs is computed by repeatedly subsampling $N$ runs with replacement out of 100 runs for 100,000 times.
|
| 72 |
+
|
| 73 |
+
ure 3. For example, the score difference between sample medians with 5 and 100 runs for SPR $( + 0 . 0 3$ points) is about $36 \%$ of its mean improvement over $\mathrm { D r Q } ( \varepsilon )$ $( + 0 . 0 8$ points). Adding to the issue, the magnitude and sign of this bias strongly depends on the algorithm being evaluated.
|
| 74 |
+
|
| 75 |
+
Statistical concerns cannot be satisfactorily addressed with few runs. While claiming improvements with 3 or fewer runs may naturally raise eyebrows, folk wisdom in experimental RL suggests that 20 or 30 runs are enough. By calculating $9 5 \%$ confidence interval6 on sample medians for a varying number of runs (Figure 2, right), we find that this number is closer to 50–100 runs in Atari $1 0 0 \mathrm { k }$ – far too many to be computationally feasible for most research projects.
|
| 76 |
+
|
| 77 |
+
Consider a setting in which an algorithm is known to be better – what is the reliability of median and IQM (Section 4.3) for accurately assessing performance differences as the number of runs varies? Specifically, we consider two identical $N$ -run experiments involving SPR, except that we artificially inflate one of the experiments’ scores by a fixed fraction or lift of $+ \ell \%$ (Figure 4). In particular, $\ell = 0$ corresponds to running the same experiment twice but with different runs. We find that statistically defensible improvements with median scores is only achieved for 25 runs $\ell = 2 5$ ) and 100 runs $\ell = 1 0$ ). With $\ell = 0$ , even 100 runs are insufficient, with deviations of $2 0 \%$ possible.
|
| 78 |
+
|
| 79 |
+
Changes in evaluation protocols invalidates comparisons to prior work. A typical and relatively safe approach for measuring the performance of an RL algorithm is to average the scores received in their final training episodes [69]. However, the field has seen a number of alternative protocols used, including reporting the maximum evaluation score achieved during training [1, 3, 75] or across multiple runs [32, 47, 82]. A similar protocol is also used by CURL and SUNRISE [59] (Appendix A.4).
|
| 80 |
+
|
| 81 |
+
Results produced under alternative protocols involving maximum are generally incomparable with end-performance reported results. On Atari 100k, we find that the two protocols produce substantially different results (Figure 5), of a magnitude greater than the actual difference in score. In particular, evaluating DER with CURL’s protocol results in scores far above those reported for CURL. In other words, this gap in evaluation procedures resulted in CURL being assessed as achieving a greater true median than DER, where our experiment gives strong support to DER being superior. Similarly, we find that a lot of SUNRISE’s improvement over DER can be explained by the change in evaluation protocol (Figure 5). Refer to Appendix A.4 for discussion on pitfalls of such alternative protocols.
|
| 82 |
+
|
| 83 |
+
# 4 Recommendations and Tools for Reliable Evaluation
|
| 84 |
+
|
| 85 |
+
Our case study shows that the increase in the number of runs required to address the statistical uncertainty issues is typically infeasible for computationally demanding deep RL benchmarks. In this section, we identify three tools for improving the quality of experimental reporting in the few-run regime, all aligned with the principle of accounting for statistical uncertainty in results.
|
| 86 |
+
|
| 87 |
+
# 4.1 Stratified Bootstrap Confidence Intervals
|
| 88 |
+
|
| 89 |
+
We first reaffirm the importance of reporting interval estimates to indicate the range within which an algorithm’s aggregate performance is believed to lie. Concretely, we propose using bootstrap CIs [29] with stratified sampling for aggregate performance, a method that can be applied to small sample sizes and is better justified than reporting sample standard deviations in this context. While prior work has recommended using bootstrap CIs for reporting uncertainty in single task mean scores with $N$ runs [16, 20, 41], this is less useful when $N$ is small (Figure A.18), as bootstrapping assumes that re-sampling from the data approximates sampling from the true distribution. We can do better by aggregating samples across tasks, for a total of $M N$ random samples.
|
| 90 |
+
|
| 91 |
+

|
| 92 |
+
Figure 4: Detecting score lifts. Left. $9 5 \%$ CIs for observed lift with median scores, and Right. $9 5 \%$ CIs for observed lift with IQM (Section 4.3) when comparing SPR with an algorithm that performs $\ell \%$ better. IQM requires fewer runs than median for small uncertainty.
|
| 93 |
+
|
| 94 |
+

|
| 95 |
+
Figure 5: Normalized DER scores with non-standard evaluation protocols. Gains from SUNRISE and CURL over DER can mostly be explained by such protocols.
|
| 96 |
+
|
| 97 |
+

|
| 98 |
+
Figure 6: Validating $95 \%$ Stratified Bootstrap CIs for a varying number of runs for median and IQM scores for DER. The true coverage $\%$ is computed by sampling 10,000 sets of K runs without replacement from 200 runs and checking the fraction of $9 5 \%$ CIs that contains the true estimate approximation based on 200 runs. Note that we evaluate additional 100 runs for DER for an accurate point estimate. Percentile CIs has the best coverage while achieving a small width compared to other methods. Also, CI widths for IQM are much smaller than that of median. We also note that with 3 runs, bootstrap CIs underestimate the true $9 5 \%$ CIs and might require a larger nominal coverage rate to achieve true $9 5 \%$ coverage.
|
| 99 |
+
|
| 100 |
+
To compute the stratified bootstrap CIs, we re-sample runs with replacement independently for each task to construct an empirical bootstrap sample with $N$ runs each for $M$ tasks from which we calculate a statistic and repeat this process many times to approximate the sampling distribution of the statistic. We measure the reliability of this technique in Atari $1 0 0 \mathrm { k }$ for variable $N$ , by comparing the nominal coverage of $9 5 \%$ to the “true” coverage from the estimated CIs (Figure 6) for different bootstrap methods (see [30] and Appendix A.5). We find that percentile CIs provide good interval estimates for as few as $N = 1 0$ runs for both median and IQM scores (Section 4.3).
|
| 101 |
+
|
| 102 |
+
# 4.2 Performance Profiles
|
| 103 |
+
|
| 104 |
+
Most deep RL benchmarks yield scores that vary widely between tasks and may be heavy-tailed, multimodal, or possess outliers (e.g., Figure A.14). In this regime, both point estimates, such as mean and median scores, and interval estimates of these quantities paint an incomplete picture of an algorithm’s performance [24, Section 3]. Instead, we recommend the use of performance profiles [26], commonly used in benchmarking optimization software. While performance profiles from Dolan and Moré [26] correspond to empirical cumulative distribution functions without any uncertainty estimates, profiles proposed herein visualize the empirical tail distribution function (Section 2) of a random score (higher curve is better), with pointwise confidence bands based on stratified bootstrap.
|
| 105 |
+
|
| 106 |
+
By representing the entire set of normalized scores $x _ { 1 : M , 1 : N }$ visually, performance profiles reveal performance variability across tasks much better than interval estimates of aggregate metrics. Although tables containing per-task mean scores and standard deviations can reveal this variability, such tables tend to be overwhelming for more than a few tasks.7 In addition, performance profiles are robust to outlier runs and insensitive to small changes in performance across all tasks [26].
|
| 107 |
+
|
| 108 |
+
In this paper, we propose the use of a performance profile we call run-score distributions or simply score distributions (Figure 7, right), particularly well-suited to the few-run regime. A score distribution shows the fraction of runs above a certain normalized score and is given by
|
| 109 |
+
|
| 110 |
+

|
| 111 |
+
Figure 7: Performance profiles on Atari 100k based on score distributions (left), which we recommend, and average score distributions (right). Shaded regions show pointwise $9 5 \%$ confidence bands based on percentile bootstrap with stratified sampling. The profiles on the left are more robust to outliers and have smaller confidence bands. We use 10 runs to show the robustness of profiles with a few runs. For SimPLe [50], we use the 5 runs from their reported results. The $\tau$ value where the profiles intersect $y = 0 . 5$ shows the median while for a non-negative random variable, area under the performance profile corresponds to the mean.
|
| 112 |
+
|
| 113 |
+
$$
|
| 114 |
+
\hat { F } _ { X } ( \tau ) = \hat { F } ( \tau ; x _ { 1 : M , 1 : N } ) = \frac { 1 } { M } \sum _ { m = 1 } ^ { M } \hat { F } _ { m } ( \tau ) = \frac { 1 } { M } \sum _ { m = 1 } ^ { M } \frac { 1 } { N } \sum _ { n = 1 } ^ { N } \mathbb { 1 } [ x _ { m , n } > \tau ] .
|
| 115 |
+
$$
|
| 116 |
+
|
| 117 |
+
One advantage of the score distribution is that it is an unbiased estimator of the underlying distribution $\begin{array} { r } { F ( \tau ) = \frac { 1 } { N } \sum _ { m = 1 } ^ { M } F _ { m } ( \tau ) } \end{array}$ . Another advantage is that an outlier run with extremely high score can change the output of score distribution for any $\tau$ by at most a value of $\frac { 1 } { M N }$ .
|
| 118 |
+
|
| 119 |
+
It is useful to contrast score distributions to average-score distributions, originally proposed in the context of the ALE [5] as a generalization of the median score. Average-score distributions correspond to the performance profile of a random variable $\bar { X }$ , $\hat { F } _ { \bar { X } } ( \tau ) = \hat { F } ( \tau ; \bar { x } _ { 1 : M } )$ , which shows the fraction of tasks on which an algorithm performs better than a certain score. However, such distributions are a biased estimate of the thing they seek to represent. Run-score distributions are more robust than average-score distributions, as they are a step function in $1 / M N$ versus $1 / M$ intervals, and typically has less variance: $\begin{array} { r } { \sigma _ { X } ^ { 2 } = \frac { 1 } { M ^ { 2 } N } \sum _ { m = 1 } ^ { M } F _ { m } ( \tau ) ( 1 - F _ { m } ( \tau ) ) \quad } \end{array}$ versus $\begin{array} { r } { \sigma _ { \bar { X } } ^ { 2 } = \frac { 1 } { M ^ { 2 } } \sum _ { m = 1 } ^ { M } F _ { \bar { X } _ { m } } ( \tau ) ( 1 - F _ { \bar { X } _ { m } } ( \tau ) ) } \end{array}$ . Figure 7 illustrates these differences.
|
| 120 |
+
|
| 121 |
+
# 4.3 Robust and Efficient Aggregate Metrics
|
| 122 |
+
|
| 123 |
+
Performance profiles allow us to compare different methods at a glance. If one curve is strictly above another, the better method is said to stochastically dominate8 the other [27, 61]. In RL benchmarks with a large number of tasks, however, stochastic dominance is rarely observed: performance profiles often intersect at multiple points. Finer quantitative comparisons must therefore entail aggregate metrics.
|
| 124 |
+
|
| 125 |
+
We can extract a number of aggregate metrics from score distributions, including median (mixing runs and tasks) and mean normalized scores (matching our usual definition). As we already argued that these metrics are deficient, we now consider interesting alternatives also derived from score distributions.
|
| 126 |
+
|
| 127 |
+

|
| 128 |
+
Figure 8: Aggregate metrics. For a non-negative random variable $X$ , IQM corresponds to the red shaded region while optimality gap corresponds to the orange shaded region in the performance profile of $X$ .
|
| 129 |
+
|
| 130 |
+
culates the mean score of the remaining $50 \%$ runs $\scriptstyle ( = \lfloor N M / 2 \rfloor$ for $N$ runs each on $M$ tasks). IQM interpolates between mean and median across runs, which are $0 \%$ and almost $5 0 \%$ trimmed means respectively. Compared to sample median, IQM is a better indicator of overall performance as it is calculated using $50 \%$ of the combined runs while median only depends on the performance ordering across tasks and not on the magnitude except at most 2 tasks. For example, zero scores on nearly half of the tasks does not affect the median while IQM exhibits a severe degradation. Compared to mean, IQM is robust to outliers, yet has considerably less bias than median (Figure A.17). While median is more robust to outliers than IQM, this robustness comes at the expense of statistical efficiency, which is crucial in the few-run regime: IQM results in much smaller CIs (Figure 2 (right) and 6) and is able to detect a given improvement with far fewer runs (Figures 4 and A.15).
|
| 131 |
+
|
| 132 |
+

|
| 133 |
+
Figure 9: Aggregate metrics on Atari 200M with $9 5 \%$ CIs based on 55 games with sticky actions [69]. Higher mean, median and IQM scores and lower optimality gap are better. The CIs are estimated using the percentile bootstrap with stratified sampling. IQM typically results in smaller CIs than median scores. Large values of mean scores relative to median and IQM indicate being dominated by a few high performing tasks, for example, DreamerV2 and M-IQN obtain normalized scores above 50 on the game JAMESBOND. Optimality gap is less susceptible to outliers compared to mean scores. We compare DQN (Nature) [75], DQN with Adam optimizer, C51 [6], REM [1], Rainbow [42], IQN [22], Munchausen-IQN (M-IQN) [109], and DreamerV2 [38]. All results are based on 5 runs per game except for M-IQN and DreamerV2 which report results with 3 and 11 runs.
|
| 134 |
+
|
| 135 |
+
As a robust alternative to mean, we recommend using the optimality gap: the amount by which the algorithm fails to meet a minimum score of $\gamma = 1 . 0$ (orange region in Figure 8). This assumes that a score of 1.0 is a desirable target beyond which improvements are not very important, for example when the aim is to obtain human-level performance [e.g., 3, 23]. Naturally, the threshold $\gamma$ may be chosen differently, which we discuss further in Appendix A.7.
|
| 136 |
+
|
| 137 |
+
If one is interested in knowing how robust an improvement from an algorithm $X$ over an algorithm $Y$ is, another possible metric to consider is the average probability of improvement – this metric shows how likely it is for $X$ to outperform $Y$ on a randomly selected task. Specifically, $P ( X >$ $\begin{array} { r } { Y ) = \frac { 1 } { M } \sum _ { m = 1 } ^ { M } \overset { \textstyle } { P } ( X _ { m } > Y _ { m } ) , } \end{array}$ , where $P ( X _ { m } > Y _ { m } )$ (Equation A.2) is the probability that $X$ is better than $Y$ on task $m$ . Note that, unlike IQM and optimality gap, this metric does not account for the size of improvement. While finding the best aggregate metric is still an open question and is often dependent on underlying normalized score distribution, our proposed alternatives avoid the failure modes of prevalent metrics while being robust and requiring fewer runs to reduce uncertainty.
|
| 138 |
+
|
| 139 |
+
# 5 Re-evaluating Evaluation on Deep RL Benchmarks
|
| 140 |
+
|
| 141 |
+
Arcade Learning Environment. Training RL agents for 200M frames on the ALE [5, 69] is the most widely recognized benchmark in deep RL. We revisit some popular methods which demonstrated progress on this benchmark and reveal discrepancies in their findings as a consequence of ignoring the uncertainty in their results (Figure 9). For example, DreamerV2 [38] exhibits a large amount of uncertainty in aggregate scores. While M-IQN [109] claimed better performance than Dopamine Rainbow9 [42] in terms of median normalized scores, their interval estimates strikingly overlap. Similarly, while C51 [5] is considered substantially better than DQN [75], the interval estimates as well as performance profiles for DQN (Adam) and C51 overlap significantly.
|
| 142 |
+
|
| 143 |
+
Figure 9 reveals an interesting limitation of aggregate metrics: depending on the choice of metric, the ordering between algorithms changes (e.g., Median vs. IQM). The inconsistency in ranking across aggregate metrics arises from the fact that such metrics only capture a specific aspect of overall performance across tasks and runs. Additionally, the change of algorithm ranking between optimality gap and IQM/median scores reveal that while recent algorithms typically show performance gains relative to humans on average, their performance seems to be worse on games below human performance. Since performance profiles capture the full picture, they would often illustrate why such inconsistencies exist. For example, optimality gap and IQM can be both read as areas in the profile (Figure 8). The performance profile in Figure 10 (left) illustrates the nuances present when comparing different algorithms. For example, IQN seems to be better than Rainbow for $\tau \geq 2$ , but worse for $\tau < 2$ . Similarly, the profiles of DreamerV2 and M-IQN for $\tau < 8$ intersect at multiple points. To compare sample efficiency of the agents, we also present their IQM scores as a function of number of frames in Figure 10 (right).
|
| 144 |
+
|
| 145 |
+

|
| 146 |
+
Figure 10: Atari 200M evaluation. Left. Score distributions using human-normalized scores obtained after training for 200M frames. Right. Sample-efficiency of agents as a function of number of frames measured via IQM human-normalized scores. Shaded regions show pointwise $9 5 \%$ percentile stratified bootstrap CIs.
|
| 147 |
+
|
| 148 |
+

|
| 149 |
+
Figure 11: DeepMind Control Suite evaluation results, averaged across 6 tasks, on the 100k and $5 0 0 \mathrm { k }$ benchmark. We compare $\mathrm { S A C + A E }$ [114], SLAC [58], Dreamer [37], CURL [98], RAD [57], DrQ [53], PISAC [60], SUNRISE [59], and CURL-D2RL [97]. The ordering of the algorithms in the left figure is based on their claimed relative performance – all algorithms except Dreamer claimed improvement over at least one algorithm placed below them. (a) Interval estimates show $9 5 \%$ stratified bootstrap CIs for methods with individual runs provided by their respective authors and $9 5 \%$ studentized CIs for CURL, CURL-D2RL, and SUNRISE. Normalized scores are computed by dividing by the maximum score $( = 1 0 0 0 )$ . (b) Score distributions. (c) The $i ^ { t h }$ column in the rank distribution plots show the probability that a given method is assigned rank $_ { i }$ averaged across all tasks. The ranks are estimated using 200,000 stratified bootstrap re-samples.
|
| 150 |
+
|
| 151 |
+
DeepMind Control Suite. Recent continuous control papers benchmark performance on 6 tasks in DM Control [104] at $1 0 0 \mathrm { k }$ and $5 0 0 \mathrm { k }$ steps. Typically, such papers claim improvement based on higher mean scores per task regardless of the variability in those scores. However, we find that when accounting for uncertainty in results, most algorithms do not consistently rank above algorithms they claimed to improve upon (Figure 11c and 11b). Furthermore, there are huge overlaps in $9 5 \%$ CIs of mean normalized scores for most algorithms (Figure 11a). These findings suggest that a lot of the reported improvements are spurious, resulting from randomness in the experimental protocol.
|
| 152 |
+
|
| 153 |
+
Procgen benchmark. Procgen [18] is a popular benchmark, consisting of 16 diverse tasks, for evaluating generalization in RL. Recent papers report mean PPO-normalized scores on this benchmark to emphasize the gains relative to PPO [92] as most methods are built on top of it. However, Figure 12 (left) shows that PPO-normalized scores typically have a heavy-tailed distribution making the mean scores highly dependent on performance on a small fraction of tasks. Instead, we recommend using normalization based on the estimated minimum and maximum scores on ProcGen [18] and reporting aggregate metrics based on such scores (Figure A.32). While publications sometimes make binary claims about whether they improve over prior methods, such improvements are inherently probabilistic. To reveal this discrepancy, we investigate the following question: “What is the probability that an algorithm which claimed improvement over a prior algorithm performs better than it?” (Figure 12, right). While this probability does not distinguish between two algorithms which uniformly improve on all tasks by $1 \%$ and $100 \%$ , it does highlight how likely an improvement is. For example, there is only a $4 0 - 5 0 \%$ chance that UCB-DrAC [81] improves upon PLR [48]. We note that a number of improvements reported in the existing literature are only $5 0 - 7 0 \%$ likely.
|
| 154 |
+
|
| 155 |
+

|
| 156 |
+
Figure 12: Procgen evaluation results based on easy mode comparisons [80] with 16 tasks. Left. Score distributions which compare PPO [92], MixReg [111], UCB-DrAC [81], PLR [48], PPG [19] and IDAAC [80]. Shaded regions indicate $9 5 \%$ percentile stratified bootstrap CIs. Right. Each row shows the probability of improvement, with $9 5 \%$ bootstrap CIs, that the algorithm $X$ on the left outperforms algorithm $Y$ on the right, given that $X$ was claimed to be better than $Y$ . For all algorithms, results are based on 10 runs per task.
|
| 157 |
+
|
| 158 |
+
# 6 Discussion
|
| 159 |
+
|
| 160 |
+
We saw, both in our case study on the Atari $1 0 0 \mathrm { k }$ benchmark and with our analysis of other widely-used RL benchmarks, that statistical issues can have a sizeable influence on reported results, in particular when point estimates are used or evaluation protocols are not kept constant within comparisons. Despite earlier calls for more experimental rigor in deep RL [16, 20, 21, 41, 49, 83] (discussed in Appendix A.3), our analysis shows that the field has not yet found sure footing in this regards.
|
| 161 |
+
|
| 162 |
+
In part, this is because the issue of reproducibility is a complex one; where our work is concerned with our confidence about and interpretation of reported results (what Goodman et al. [34] calls results reproducibility), others [79] have highlighted that there might be missing information about the experiments themselves (methods reproducibility). We remark that the problem is not solved by fixing random seeds, as has sometimes been proposed [52, 77], since it does not really address the question of whether an algorithm would perform well under similar conditions but with different seeds. Furthermore, fixed seeds might benefit certain algorithms more than others. Nor can the problem be solved by the use of dichotomous statistical significance tests, as discussed in Section 2.
|
| 163 |
+
|
| 164 |
+
One way to minimize the risks associated with statistical effects is to report results in a more complete fashion, paying close attention to bias and uncertainty within these estimates. To this end, our recommendations are summarized in Table 1. To further support RL researchers in this endeavour, we released an easy-to-use Python library, rliable along with a Colab notebook for implementing our recommendations, as well as all the individual runs used in our experiments10. Again, we emphasize the importance of published papers providing results for all runs to allow for future statistical analyses.
|
| 165 |
+
|
| 166 |
+
A barrier to adoption of evaluation protocols proposed in this work, and more generally, rigorous evaluation, is whether there are clear incentives for researchers to do so, as more rigor generally entails more nuanced and tempered claims. Arguably, doing good and reproducible science is one such incentive. We hope that our findings about erroneous conclusions in published papers would encourage researchers to avoid fooling themselves, even if that requires tempered claims. That said, a more pragmatic incentive would be if conferences and reviewers required more rigorous evaluation for publication, e.g., NeurIPS 2021 checklist asks whether error bars are reported. Moving towards reliable evaluation is an ongoing process and we believe that this paper would greatly benefit it.
|
| 167 |
+
|
| 168 |
+
Given the substantial influence of statistical considerations in experiments involving 40-year old Atari 2600 video games and low-DOF robotic simulations, we argue that it is unlikely that an increase in available computation will resolve the problem for the future generation of RL benchmarks. Instead, just as a well-prepared rock-climber can skirt the edge of the steepest precipices, it seems likely that ongoing progress in reinforcement learning will require greater experimental discipline.
|
| 169 |
+
|
| 170 |
+
# Societal Impacts
|
| 171 |
+
|
| 172 |
+
This paper calls for statistical sophistication in deep RL research by accounting for statistical uncertainty in reported results. However, statistical sophistication can introduce new forms of statistical abuses and monitoring the literature for such abuses should be an ongoing priority for the research community. Moving towards reliable evaluation and reproducible research is an ongoing process and this paper only partly addresses it by providing tools for more reliable evaluation. That said, while accounting for uncertainty in results is not a panacea, it provides a strong foundation for trustworthy results on which the community can build upon, with increased confidence. In terms of broader societal impact of this work, we do not see any foreseeable strongly negative impacts. However, this paper could positively impact society by constituting a step forwards in rigorous few-run evaluation regime, which reduces computational burden on researchers and is “greener” than evaluating a large number of runs.
|
| 173 |
+
|
| 174 |
+
# Acknowledgments
|
| 175 |
+
|
| 176 |
+
We thank Xavier Bouthillier, Dumitru Erhan, Marlos C. Machado, David Ha, Fabio Viola, Fernando Diaz, Stephanie Chan, Jacob Buckman, Danijar Hafner and anonymous NeurIPS’ reviewers for providing valuable feedback for an earlier draft of this work. We also acknowledge Matteo Hessel, David Silver, Tom Schaul, Csaba Szepesvári, Hado van Hasselt, Rosanne Liu, Simon Kornblith, Aviral Kumar, George Tucker, Kevin Murphy, Ankit Anand, Aravind Srinivas, Matthew Botvinick, Clare Lyle, Kimin Lee, Misha Laskin, Ankesh Anand, Joelle Pineau and Braham Synder for helpful discussions. We also thank all the authors who provided individual runs for their corresponding publications. We are also grateful for general support from Google Research teams in Montréal and elsewhere.
|
| 177 |
+
|
| 178 |
+
# References
|
| 179 |
+
|
| 180 |
+
[1] Rishabh Agarwal, Dale Schuurmans, and Mohammad Norouzi. An optimistic perspective on offline reinforcement learning. In International Conference on Machine Learning, 2020.
|
| 181 |
+
[2] Valentin Amrhein, Sander Greenland, and Blake McShane. Scientists rise up against statistical significance. Nature, 2019.
|
| 182 |
+
[3] Adrià Puigdomènech Badia, Bilal Piot, Steven Kapturowski, Pablo Sprechmann, Alex Vitvitskyi, Zhaohan Daniel Guo, and Charles Blundell. Agent57: Outperforming the atari human benchmark. In International Conference on Machine Learning, pages 507–517. PMLR, 2020.
|
| 183 |
+
[4] Monya Baker. 1,500 scientists lift the lid on reproducibility. Nature News, 2016.
|
| 184 |
+
[5] Marc G Bellemare, Yavar Naddaf, Joel Veness, and Michael Bowling. The arcade learning environment: An evaluation platform for general agents. Journal of Artificial Intelligence Research, 47:253–279, 2013.
|
| 185 |
+
[6] Marc G Bellemare, Will Dabney, and Rémi Munos. A distributional perspective on reinforcement learning. In International Conference on Machine Learning, pages 449–458. PMLR, 2017.
|
| 186 |
+
[7] Marc G Bellemare, Salvatore Candido, Pablo Samuel Castro, Jun Gong, Marlos C Machado, Subhodeep Moitra, Sameera S Ponda, and Ziyu Wang. Autonomous navigation of stratospheric balloons using reinforcement learning. Nature, 2020.
|
| 187 |
+
[8] Christopher Berner, Greg Brockman, Brooke Chan, Vicki Cheung, Przemysław D˛ebiak, Christy Dennison, David Farhi, Quirin Fischer, Shariq Hashme, Chris Hesse, et al. Dota 2 with large scale deep reinforcement learning. arXiv preprint arXiv:1912.06680, 2019.
|
| 188 |
+
[9] Peter J Bickel, Friedrich Götze, and Willem R van Zwet. Resampling fewer than n observations: gains, losses, and remedies for losses. In Selected works of Willem van Zwet, pages 267–297. Springer, 2012.
|
| 189 |
+
[10] Mauro Birattari and Marco Dorigo. How to assess and report the performance of a stochastic algorithm on a benchmark problem: mean or best result on a number of runs? Optimization letters, 2007.
|
| 190 |
+
[11] Xavier Bouthillier, César Laurent, and Pascal Vincent. Unreproducible research is reproducible. In International Conference on Machine Learning, pages 725–734, 2019.
|
| 191 |
+
[12] Xavier Bouthillier, Pierre Delaunay, Mirko Bronzi, Assya Trofimov, Brennan Nichyporuk, Justin Szeto, Nazanin Mohammadi Sepahvand, Edward Raff, Kanika Madan, Vikram Voleti, et al. Accounting for variance in machine learning benchmarks. Proceedings of Machine Learning and Systems, 3, 2021.
|
| 192 |
+
[13] James Bradbury, Roy Frostig, Peter Hawkins, Matthew James Johnson, Chris Leary, Dougal Maclaurin, George Necula, Adam Paszke, Jake VanderPlas, Skye Wanderman-Milne, and Qiao Zhang. JAX: composable transformations of Python $^ +$ NumPy programs, 2018. URL http://github.com/google/ jax.
|
| 193 |
+
[14] Pablo Samuel Castro, Subhodeep Moitra, Carles Gelada, Saurabh Kumar, and Marc G Bellemare. Dopamine: A research framework for deep reinforcement learning. arXiv preprint arXiv:1812.06110, 2018.
|
| 194 |
+
[15] Johan Samir Obando Ceron and Pablo Samuel Castro. Revisiting rainbow: Promoting more insightful and inclusive deep reinforcement learning research. In International Conference on Machine Learning, 2021.
|
| 195 |
+
[16] Stephanie CY Chan, Samuel Fishman, Anoop Korattikara, John Canny, and Sergio Guadarrama. Measuring the reliability of reinforcement learning algorithms. In International Conference on Learning Representations, 2020.
|
| 196 |
+
[17] Kaleigh Clary, Emma Tosch, John Foley, and David Jensen. Let’s play again: Variability of deep reinforcement learning agents in atari environments. arXiv preprint arXiv:1904.06312, 2019.
|
| 197 |
+
[18] Karl Cobbe, Chris Hesse, Jacob Hilton, and John Schulman. Leveraging procedural generation to benchmark reinforcement learning. In International conference on machine learning, pages 2048–2056. PMLR, 2020.
|
| 198 |
+
[19] Karl Cobbe, Jacob Hilton, Oleg Klimov, and John Schulman. Phasic policy gradient. arXiv preprint arXiv:2009.04416, 2020.
|
| 199 |
+
[20] Cédric Colas, Olivier Sigaud, and Pierre-Yves Oudeyer. How many random seeds? statistical power analysis in deep reinforcement learning experiments. arXiv preprint arXiv:1806.08295, 2018.
|
| 200 |
+
[21] Cédric Colas, Olivier Sigaud, and Pierre-Yves Oudeyer. A hitchhiker’s guide to statistical comparisons of reinforcement learning algorithms. arXiv preprint arXiv:1904.06979, 2019.
|
| 201 |
+
[22] Will Dabney, Georg Ostrovski, David Silver, and Rémi Munos. Implicit quantile networks for distributional reinforcement learning. In International conference on machine learning, pages 1096–1105. PMLR, 2018.
|
| 202 |
+
[23] Will Dabney, Mark Rowland, Marc G Bellemare, and Rémi Munos. Distributional reinforcement learning with quantile regression. In Thirty-Second AAAI Conference on Artificial Intelligence, 2018.
|
| 203 |
+
[24] Mostafa Dehghani, Yi Tay, Alexey A Gritsenko, Zhe Zhao, Neil Houlsby, Fernando Diaz, Donald Metzler, and Oriol Vinyals. The benchmark lottery. arXiv preprint arXiv:2107.07002, 2021.
|
| 204 |
+
[25] Jesse Dodge, Gabriel Ilharco, Roy Schwartz, Ali Farhadi, Hannaneh Hajishirzi, and Noah Smith. Finetuning pretrained language models: Weight initializations, data orders, and early stopping. arXiv preprint arXiv:2002.06305, 2020.
|
| 205 |
+
[26] Elizabeth D Dolan and Jorge J Moré. Benchmarking optimization software with performance profiles. Mathematical programming, 91(2):201–213, 2002.
|
| 206 |
+
[27] Rotem Dror, Segev Shlomov, and Roi Reichart. Deep dominance-how to properly compare deep neural models. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, 2019.
|
| 207 |
+
[28] Adrien Ecoffet, Joost Huizinga, Joel Lehman, Kenneth O Stanley, and Jeff Clune. Go-explore: a new approach for hard-exploration problems. arXiv preprint arXiv:1901.10995, 2019.
|
| 208 |
+
[29] Bradley Efron. Bootstrap methods: another look at the jackknife. The Annals of Statistics, 7:1–26, 1979.
|
| 209 |
+
[30] Bradley Efron. Better bootstrap confidence intervals. Journal of the American statistical Association, 1987.
|
| 210 |
+
[31] Damien Ernst, Pierre Geurts, and Louis Wehenkel. Tree-based batch mode reinforcement learning. Journal of Machine Learning Research, 6:503–556, 2005.
|
| 211 |
+
[32] Lasse Espeholt, Hubert Soyer, Remi Munos, Karen Simonyan, Vlad Mnih, Tom Ward, Yotam Doron, Vlad Firoiu, Tim Harley, Iain Dunning, et al. Impala: Scalable distributed deep-rl with importance weighted actor-learner architectures. In International Conference on Machine Learning. PMLR, 2018.
|
| 212 |
+
[33] Gerd Gigerenzer. Statistical rituals: The replication delusion and how we got there. Advances in Methods and Practices in Psychological Science, 1(2):198–218, 2018.
|
| 213 |
+
[34] Steven N Goodman, Daniele Fanelli, and John PA Ioannidis. What does research reproducibility mean? Science translational medicine, 8(341):341ps12–341ps12, 2016.
|
| 214 |
+
[35] Sander Greenland, Stephen J Senn, Kenneth J Rothman, John B Carlin, Charles Poole, Steven N Goodman, and Douglas G Altman. Statistical tests, p values, confidence intervals, and power: a guide to misinterpretations. European journal of epidemiology, 2016.
|
| 215 |
+
[36] Tuomas Haarnoja, Aurick Zhou, Pieter Abbeel, and Sergey Levine. Soft actor-critic: Off-policy maximum entropy deep reinforcement learning with a stochastic actor. In International Conference on Machine Learning, pages 1861–1870. PMLR, 2018.
|
| 216 |
+
[37] Danijar Hafner, Timothy Lillicrap, Jimmy Ba, and Mohammad Norouzi. Dream to control: Learning behaviors by latent imagination. In International Conference on Learning Representations, 2019.
|
| 217 |
+
[38] Danijar Hafner, Timothy Lillicrap, Mohammad Norouzi, and Jimmy Ba. Mastering atari with discrete world models. arXiv preprint arXiv:2010.02193, 2020.
|
| 218 |
+
[39] Steven Hansen, Will Dabney, Andre Barreto, David Warde-Farley, Tom Van de Wiele, and Volodymyr Mnih. Fast task inference with variational intrinsic successor features. In International Conference on Learning Representations, 2020.
|
| 219 |
+
[40] Nathaniel E Helwig. Bootstrap Confidence Intervals, 01 2021. URL http://users.stat.umn.edu/ \~helwig/notes/npboot-notes.html#bootstrap-confidence-intervals.
|
| 220 |
+
[41] Peter Henderson, Riashat Islam, Philip Bachman, Joelle Pineau, Doina Precup, and David Meger. Deep reinforcement learning that matters. In Proceedings of the AAAI Conference on Artificial Intelligence, 2018.
|
| 221 |
+
[42] Matteo Hessel, Joseph Modayil, Hado Van Hasselt, Tom Schaul, Georg Ostrovski, Will Dabney, Dan Horgan, Bilal Piot, Mohammad Azar, and David Silver. Rainbow: Combining improvements in deep reinforcement learning. In Proceedings of the AAAI Conference on Artificial Intelligence, 2018.
|
| 222 |
+
[43] Matteo Hessel, Ivo Danihelka, Fabio Viola, Arthur Guez, Simon Schmitt, Laurent Sifre, Theophane Weber, David Silver, and Hado van Hasselt. Muesli: Combining improvements in policy optimization. Proceedings of the 38th International Conference on Machine Learning, 2021.
|
| 223 |
+
[44] John PA Ioannidis. Why most published research findings are false. PLoS medicine, 2(8):e124, 2005.
|
| 224 |
+
[45] Alex Irpan. Deep reinforcement learning doesn’t work yet. https://www.alexirpan.com/2018/02/ 14/rl-hard.html, 2018.
|
| 225 |
+
[46] Riashat Islam, Peter Henderson, Maziar Gomrokchi, and Doina Precup. Reproducibility of benchmarked deep reinforcement learning tasks for continuous control. arXiv preprint arXiv:1708.04133, 2017.
|
| 226 |
+
[47] Max Jaderberg, Volodymyr Mnih, Wojciech Marian Czarnecki, Tom Schaul, Joel Z Leibo, David Silver, and Koray Kavukcuoglu. Reinforcement learning with unsupervised auxiliary tasks. arXiv preprint arXiv:1611.05397, 2016.
|
| 227 |
+
[48] Minqi Jiang, Ed Grefenstette, and Tim Rocktäschel. Prioritized level replay. International Conference on Machine Learning, 2021.
|
| 228 |
+
[49] Scott Jordan, Yash Chandak, Daniel Cohen, Mengxue Zhang, and Philip Thomas. Evaluating the performance of reinforcement learning algorithms. In International Conference on Machine Learning, pages 4962–4973. PMLR, 2020.
|
| 229 |
+
[50] Lukasz Kaiser, Mohammad Babaeizadeh, Piotr Milos, Blazej Osinski, Roy H Campbell, Konrad Czechowski, Dumitru Erhan, Chelsea Finn, Piotr Kozakowski, Sergey Levine, et al. Model-based reinforcement learning for atari. arXiv preprint arXiv:1903.00374, 2019.
|
| 230 |
+
[51] Kacper Kielak. Do recent advancements in model-based deep reinforcement learning really improve data efficiency? arXiv preprint arXiv:2003.10181, 2020.
|
| 231 |
+
[52] Sergey Kolesnikov and Oleksii Hrinchuk. Catalyst. rl: a distributed framework for reproducible rl research. arXiv preprint arXiv:1903.00027, 2019.
|
| 232 |
+
[53] Ilya Kostrikov\*, Denis Yarats\*, and Rob Fergus. Image augmentation is all you need: Regularizing deep reinforcement learning from pixels. In International Conference on Learning Representations, 2021.
|
| 233 |
+
[54] Piotr Kozakowski, Lukasz Kaiser, Henryk Michalewski, Afroz Mohiuddin, and Katarzyna Kanska. Q- ´ value weighted regression: Reinforcement learning with limited data. arXiv preprint arXiv:2102.06782, 2021.
|
| 234 |
+
[55] Tejas D Kulkarni, Ankush Gupta, Catalin Ionescu, Sebastian Borgeaud, Malcolm Reynolds, Andrew Zisserman, and Volodymyr Mnih. Unsupervised learning of object keypoints for perception and control. NeurIPS, 32:10724–10734, 2019.
|
| 235 |
+
[56] Michael Laskin, Aravind Srinivas, and Pieter Abbeel. Curl: Contrastive unsupervised representations for reinforcement learning. In International Conference on Machine Learning, 2020.
|
| 236 |
+
[57] Misha Laskin, Kimin Lee, Adam Stooke, Lerrel Pinto, Pieter Abbeel, and Aravind Srinivas. Reinforcement learning with augmented data. Advances in Neural Information Processing Systems, 2020.
|
| 237 |
+
[58] Alex Lee, Anusha Nagabandi, Pieter Abbeel, and Sergey Levine. Stochastic latent actor-critic: Deep reinforcement learning with a latent variable model. Advances in Neural Information Processing Systems, 33, 2020.
|
| 238 |
+
[59] Kimin Lee, Michael Laskin, Aravind Srinivas, and Pieter Abbeel. Sunrise: A simple unified framework for ensemble learning in deep reinforcement learning. International Conference on Machine Learning, 2021.
|
| 239 |
+
[60] Kuang-Huei Lee, Ian Fischer, Anthony Liu, Yijie Guo, Honglak Lee, John Canny, and Sergio Guadarrama. Predictive information accelerates learning in rl. Advances in Neural Information Processing Systems, 2020.
|
| 240 |
+
[61] Haim Levy. Stochastic dominance and expected utility: Survey and analysis. Management science, 38(4): 555–593, 1992.
|
| 241 |
+
[62] Timothy P Lillicrap, Jonathan J Hunt, Alexander Pritzel, Nicolas Heess, Tom Erez, Yuval Tassa, David Silver, and Daan Wierstra. Continuous control with deep reinforcement learning. arXiv preprint arXiv:1509.02971, 2015.
|
| 242 |
+
[63] Jimmy Lin, Daniel Campos, Nick Craswell, Bhaskar Mitra, and Emine Yilmaz. Significant improvements over the state of the art? a case study of the ms marco document ranking leaderboard. arXiv preprint arXiv:2102.12887, 2021.
|
| 243 |
+
[64] Guoqing Liu, Chuheng Zhang, Li Zhao, Tao Qin, Jinhua Zhu, Li Jian, Nenghai Yu, and Tie-Yan Liu. Return-based contrastive representation learning for reinforcement learning. In International Conference on Learning Representations, 2021.
|
| 244 |
+
[65] Hao Liu and Pieter Abbeel. Behavior from the void: Unsupervised active pre-training. arXiv preprint arXiv:2103.04551, 2021.
|
| 245 |
+
[66] Hao Liu and Pieter Abbeel. Aps: Active pretraining with successor features. In Proceedings of the 38th International Conference on Machine Learning, 2021.
|
| 246 |
+
[67] Mario Lucic, Karol Kurach, Marcin Michalski, Sylvain Gelly, and Olivier Bousquet. Are gans created equal? a large-scale study. arXiv preprint arXiv:1711.10337, 2017.
|
| 247 |
+
[68] Nicolai A Lynnerup, Laura Nolling, Rasmus Hasle, and John Hallam. A survey on reproducibility by evaluating deep reinforcement learning algorithms on real-world robots. In Conference on Robot Learning, 2020.
|
| 248 |
+
[69] Marlos C Machado, Marc G Bellemare, Erik Talvitie, Joel Veness, Matthew Hausknecht, and Michael Bowling. Revisiting the arcade learning environment: Evaluation protocols and open problems for general agents. Journal of Artificial Intelligence Research, 2018.
|
| 249 |
+
[70] Horia Mania, Aurelia Guy, and Benjamin Recht. Simple random search provides a competitive approach to reinforcement learning. arXiv preprint arXiv:1803.07055, 2018.
|
| 250 |
+
[71] Henry B Mann and Donald R Whitney. On a test of whether one of two random variables is stochastically larger than the other. The annals of mathematical statistics, pages 50–60, 1947.
|
| 251 |
+
[72] Muhammad Rizki Maulana and Wee Sun Lee. Ensemble and auxiliary tasks for data-efficient deep reinforcement learning. arXiv preprint arXiv:2107.01904, 2021.
|
| 252 |
+
[73] Blakeley B McShane, David Gal, Andrew Gelman, Christian Robert, and Jennifer L Tackett. Abandon statistical significance. The American Statistician, 2019.
|
| 253 |
+
[74] Gábor Melis, Chris Dyer, and Phil Blunsom. On the state of the art of evaluation in neural language models. In International Conference on Learning Representations, 2018.
|
| 254 |
+
[75] Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A Rusu, Joel Veness, Marc G Bellemare, Alex Graves, Martin Riedmiller, Andreas K Fidjeland, Georg Ostrovski, et al. Human-level control through deep reinforcement learning. Nature, 2015.
|
| 255 |
+
[76] Volodymyr Mnih, Adria Puigdomenech Badia, Mehdi Mirza, Alex Graves, Timothy Lillicrap, Tim Harley, David Silver, and Koray Kavukcuoglu. Asynchronous methods for deep reinforcement learning. In International conference on machine learning, pages 1928–1937. PMLR, 2016.
|
| 256 |
+
[77] Prabhat Nagarajan, Garrett Warnell, and Peter Stone. Deterministic implementations for reproducibility in deep reinforcement learning. arXiv preprint arXiv:1809.05676, 2018.
|
| 257 |
+
[78] Harold Pashler and Eric-Jan Wagenmakers. Editors’ introduction to the special section on replicability in psychological science: A crisis of confidence? Perspectives on psychological science, 7(6):528–530, 2012.
|
| 258 |
+
[79] Joelle Pineau, Philippe Vincent-Lamarre, Koustuv Sinha, Vincent Larivière, Alina Beygelzimer, Florence d’Alché Buc, Emily Fox, and Hugo Larochelle. Improving reproducibility in machine learning research (a report from the neurips 2019 reproducibility program). arXiv preprint arXiv:2003.12206, 2020.
|
| 259 |
+
[80] Roberta Raileanu and Rob Fergus. Decoupling value and policy for generalization in reinforcement learning. International Conference on Machine Learning, 2021.
|
| 260 |
+
[81] Roberta Raileanu, Max Goldstein, Denis Yarats, Ilya Kostrikov, and Rob Fergus. Automatic data augmentation for generalization in deep reinforcement learning. arXiv preprint arXiv:2006.12862, 2020.
|
| 261 |
+
[82] David Raposo, Sam Ritter, Adam Santoro, Greg Wayne, Theophane Weber, Matt Botvinick, Hado van Hasselt, and Francis Song. Synthetic returns for long-term credit assignment. arXiv preprint arXiv:2102.12425, 2021.
|
| 262 |
+
[83] Ben Recht. Benchmarking Machine Learning with Performance Profiles, 03 2018. URL http://www. argmin.net/2018/03/26/performance-profiles/.
|
| 263 |
+
[84] Nils Reimers and Iryna Gurevych. Reporting score distributions makes a difference: Performance study of lstm-networks for sequence tagging. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pages 338–348, 2017.
|
| 264 |
+
[85] Samuel Ritter, David GT Barrett, Adam Santoro, and Matt M Botvinick. Cognitive psychology for deep neural networks: A shape bias case study. In International conference on machine learning, 2017.
|
| 265 |
+
[86] Jan Robine, Tobias Uelwer, and Stefan Harmeling. Smaller world models for reinforcement learning. arXiv preprint arXiv:2010.05767, 2020.
|
| 266 |
+
[87] David Romer. In praise of confidence intervals. In AEA Papers and Proceedings, volume 110, pages 55–60, 2020.
|
| 267 |
+
[88] Tim Salimans, Jonathan Ho, Xi Chen, Szymon Sidor, and Ilya Sutskever. Evolution strategies as a scalable alternative to reinforcement learning. arXiv preprint arXiv:1703.03864, 2017.
|
| 268 |
+
[89] Rohan Saphal, Balaraman Ravindran, Dheevatsa Mudigere, Sasikant Avancha, and Bharat Kaul. Seerl: Sample efficient ensemble reinforcement learning. In Proceedings of the 20th International Conference on Autonomous Agents and MultiAgent Systems, pages 1100–1108, 2021.
|
| 269 |
+
[90] Tom Schaul, Georg Ostrovski, Iurii Kemaev, and Diana Borsa. Return-based scaling: Yet another normalisation trick for deep rl. arXiv preprint arXiv:2105.05347, 2021.
|
| 270 |
+
[91] Julian Schrittwieser, Ioannis Antonoglou, Thomas Hubert, Karen Simonyan, Laurent Sifre, Simon Schmitt, Arthur Guez, Edward Lockhart, Demis Hassabis, Thore Graepel, et al. Mastering atari, go, chess and shogi by planning with a learned model. Nature, 2020.
|
| 271 |
+
[92] John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017. [93] Max Schwarzer, Ankesh Anand, Rishab Goel, R Devon Hjelm, Aaron Courville, and Philip Bachman. Data-efficient reinforcement learning with self-predictive representations. In International Conference on Learning Representations, 2021. [94] Thibault Sellam, Steve Yadlowsky, Jason Wei, Naomi Saphra, Alexander D’Amour, Tal Linzen, Jasmijn Bastings, Iulia Turc, Jacob Eisenstein, Dipanjan Das, et al. The multiberts: Bert reproductions for robustness analysis. arXiv preprint arXiv:2106.16163, 2021. [95] Younggyo Seo, Lili Chen, Jinwoo Shin, Honglak Lee, Pieter Abbeel, and Kimin Lee. State entropy maximization with random encoders for efficient exploration. In Proceedings of the 38th International Conference on Machine Learning, 2021. [96] 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. [97] Samarth Sinha, Homanga Bharadhwaj, Aravind Srinivas, and Animesh Garg. D2rl: Deep dense architectures in reinforcement learning. arXiv preprint arXiv:2010.09163, 2020. [98] Aravind Srinivas, Michael Laskin, and Pieter Abbeel. Curl: Contrastive unsupervised representations for reinforcement learning. arXiv preprint arXiv:2004.04136v2, 2020. [99] Richard S Sutton. Learning to predict by the methods of temporal differences. Machine learning, 3(1): 9–44, 1988.
|
| 272 |
+
[100] Richard S Sutton. Generalization in reinforcement learning: Successful examples using sparse coarse coding. Advances in neural information processing systems, 1996.
|
| 273 |
+
[101] Richard S. Sutton and Andrew G. Barto. Reinforcement learning: An introduction. MIT Press, 2nd edition, 2018.
|
| 274 |
+
[102] Richard S Sutton, Doina Precup, and Satinder Singh. Between mdps and semi-mdps: A framework for temporal abstraction in reinforcement learning. Artificial intelligence, 1999.
|
| 275 |
+
[103] István Szita and András Lörincz. Learning tetris using the noisy cross-entropy method. Neural computation, 2006.
|
| 276 |
+
[104] Yuval Tassa, Yotam Doron, Alistair Muldal, Tom Erez, Yazhe Li, Diego de Las Casas, David Budden, Abbas Abdolmaleki, Josh Merel, Andrew Lefrancq, et al. Deepmind control suite. arXiv preprint arXiv:1801.00690, 2018.
|
| 277 |
+
[105] Marin Toromanoff, Emilie Wirbel, and Fabien Moutarde. Is deep reinforcement learning really superhuman on atari? leveling the playing field. arXiv preprint arXiv:1908.04683, 2019.
|
| 278 |
+
[106] John W Tukey. A survey of sampling from contaminated distributions. Contributions to probability and statistics, pages 448–485, 1960.
|
| 279 |
+
[107] Hado van Hasselt, Matteo Hessel, and John Aslanides. When to use parametric models in reinforcement learning? NeurIPS, 2019.
|
| 280 |
+
[108] Gaël Varoquaux and Veronika Cheplygina. How i failed machine learning in medical imaging– shortcomings and recommendations. arXiv preprint arXiv:2103.10292, 2021.
|
| 281 |
+
[109] Nino Vieillard, Olivier Pietquin, and Matthieu Geist. Munchausen reinforcement learning. Advances in Neural Information Processing Systems, 33, 2020.
|
| 282 |
+
[110] Oriol Vinyals, Igor Babuschkin, Wojciech M Czarnecki, Michaël Mathieu, Andrew Dudzik, Junyoung Chung, David H Choi, Richard Powell, Timo Ewalds, Petko Georgiev, et al. Grandmaster level in starcraft ii using multi-agent reinforcement learning. Nature, 2019.
|
| 283 |
+
[111] Kaixin Wang, Bingyi Kang, Jie Shao, and Jiashi Feng. Improving generalization in reinforcement learning with mixture regularization. arXiv preprint arXiv:2010.10814, 2020.
|
| 284 |
+
[112] Ronald L. Wasserstein, Allen L. Schirm, and Nicole A. Lazar. Moving to a world beyond “p $< 0 . 0 5 '$ . The American Statistician, 2019.
|
| 285 |
+
[113] Bernard L Welch. The generalization ofstudent’s’ problem when several different population variances are involved. Biometrika, 34(1/2):28–35, 1947.
|
| 286 |
+
[114] Denis Yarats, Amy Zhang, Ilya Kostrikov, Brandon Amos, Joelle Pineau, and Rob Fergus. Improving sample efficiency in model-free reinforcement learning from images. arXiv preprint arXiv:1910.01741, 2019.
|
| 287 |
+
[115] Jinhua Zhu, Yingce Xia, Lijun Wu, Jiajun Deng, Wengang Zhou, Tao Qin, and Houqiang Li. Masked contrastive representation learning for reinforcement learning. arXiv preprint arXiv:2010.07470, 2020.
|
| 288 |
+
[116] Donglin Zhuang, Xingyao Zhang, Shuaiwen Leon Song, and Sara Hooker. Randomness in neural network training: Characterizing the impact of tooling. arXiv preprint arXiv:2106.11872, 2021.
|
| 289 |
+
|
| 290 |
+
# Checklist
|
| 291 |
+
|
| 292 |
+
1. For all authors...
|
| 293 |
+
|
| 294 |
+
(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes]
|
| 295 |
+
(b) Did you describe the limitations of your work? [Yes] See Section 6.
|
| 296 |
+
(c) Did you discuss any potential negative societal impacts of your work? [Yes]
|
| 297 |
+
(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes]
|
| 298 |
+
|
| 299 |
+
2. If you are including theoretical results...
|
| 300 |
+
|
| 301 |
+
(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]
|
| 302 |
+
|
| 303 |
+
3. If you ran experiments...
|
| 304 |
+
|
| 305 |
+
(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] See Appendix A.1.
|
| 306 |
+
(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] See Appendix A.2
|
| 307 |
+
(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes]
|
| 308 |
+
(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 Appendix A.2
|
| 309 |
+
|
| 310 |
+
4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets...
|
| 311 |
+
|
| 312 |
+
(a) If your work uses existing assets, did you cite the creators? [Yes]
|
| 313 |
+
(b) Did you mention the license of the assets? [Yes] Apache License, Version 2.0
|
| 314 |
+
(c) Did you include any new assets either in the supplemental material or as a URL? [Yes]
|
| 315 |
+
(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [N/A]
|
| 316 |
+
(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [N/A]
|
| 317 |
+
|
| 318 |
+
5. If you used crowdsourcing or conducted research with human subjects...
|
| 319 |
+
|
| 320 |
+
(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A]
|
| 321 |
+
(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A]
|
| 322 |
+
(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A]
|
parse/train/uqv8-U4lKBe/uqv8-U4lKBe_content_list.json
ADDED
|
@@ -0,0 +1,1205 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
207,
|
| 8 |
+
122,
|
| 9 |
+
792,
|
| 10 |
+
172
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Max Schwarzer MILA, Université de Montréal ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
398,
|
| 19 |
+
227,
|
| 20 |
+
598,
|
| 21 |
+
253
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Rishabh Agarwal∗ Google Research, Brain Team MILA, Université de Montréal ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
184,
|
| 30 |
+
226,
|
| 31 |
+
382,
|
| 32 |
+
267
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Pablo Samuel Castro Google Research, Brain Team ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
616,
|
| 41 |
+
227,
|
| 42 |
+
815,
|
| 43 |
+
253
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Aaron Courville MILA, Université de Montréal ",
|
| 50 |
+
"bbox": [
|
| 51 |
+
254,
|
| 52 |
+
290,
|
| 53 |
+
455,
|
| 54 |
+
316
|
| 55 |
+
],
|
| 56 |
+
"page_idx": 0
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"type": "text",
|
| 60 |
+
"text": "Marc G. Bellemare Google Research, Brain Team ",
|
| 61 |
+
"bbox": [
|
| 62 |
+
544,
|
| 63 |
+
289,
|
| 64 |
+
743,
|
| 65 |
+
316
|
| 66 |
+
],
|
| 67 |
+
"page_idx": 0
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"type": "text",
|
| 71 |
+
"text": "Abstract ",
|
| 72 |
+
"text_level": 1,
|
| 73 |
+
"bbox": [
|
| 74 |
+
462,
|
| 75 |
+
349,
|
| 76 |
+
535,
|
| 77 |
+
366
|
| 78 |
+
],
|
| 79 |
+
"page_idx": 0
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"type": "text",
|
| 83 |
+
"text": "Deep reinforcement learning (RL) algorithms are predominantly evaluated by comparing their relative performance on a large suite of tasks. Most published results on deep RL benchmarks compare point estimates of aggregate performance such as mean and median scores across tasks, ignoring the statistical uncertainty implied by the use of a finite number of training runs. Beginning with the Arcade Learning Environment (ALE), the shift towards computationally-demanding benchmarks has led to the practice of evaluating only a small number of runs per task, exacerbating the statistical uncertainty in point estimates. In this paper, we argue that reliable evaluation in the few-run deep RL regime cannot ignore the uncertainty in results without running the risk of slowing down progress in the field. We illustrate this point using a case study on the Atari $1 0 0 \\mathrm { k }$ benchmark, where we find substantial discrepancies between conclusions drawn from point estimates alone versus a more thorough statistical analysis. With the aim of increasing the field’s confidence in reported results with a handful of runs, we advocate for reporting interval estimates of aggregate performance and propose performance profiles to account for the variability in results, as well as present more robust and efficient aggregate metrics, such as interquartile mean scores, to achieve small uncertainty in results. Using such statistical tools, we scrutinize performance evaluations of existing algorithms on other widely used RL benchmarks including the ALE, Procgen, and the DeepMind Control Suite, again revealing discrepancies in prior comparisons. Our findings call for a change in how we evaluate performance in deep RL, for which we present a more rigorous evaluation methodology, accompanied with an open-source library rliable2, to prevent unreliable results from stagnating the field. ",
|
| 84 |
+
"bbox": [
|
| 85 |
+
233,
|
| 86 |
+
377,
|
| 87 |
+
766,
|
| 88 |
+
694
|
| 89 |
+
],
|
| 90 |
+
"page_idx": 0
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"type": "text",
|
| 94 |
+
"text": "1 Introduction ",
|
| 95 |
+
"text_level": 1,
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
719,
|
| 99 |
+
310,
|
| 100 |
+
738
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "Research in artificial intelligence, and particularly deep reinforcement learning (RL), relies on evaluating aggregate performance on a diverse suite of tasks to assess progress. Quantitative evaluation on a suite of tasks, such as Atari games [5], reveals strengths and limitations of methods while simultaneously guiding researchers towards methods with promising results. Performance of RL algorithms is usually summarized with a point estimate of task performance measure, such as mean and median performance across tasks, aggregated over independent training runs. ",
|
| 107 |
+
"bbox": [
|
| 108 |
+
174,
|
| 109 |
+
748,
|
| 110 |
+
825,
|
| 111 |
+
832
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "estimates. While evaluating more runs per task has been prescribed to reduce uncertainty and obtain reliable estimates [20, 41, 49], 3-10 runs are prevalent in deep RL as it is often computationally prohibitive to evaluate more runs. For example, 5 runs each on $5 0 +$ Atari 2600 games in ALE using standard protocol requires more than 1000 GPU training days [15]. As we move towards more challenging and complex RL benchmarks (e.g., StarCraft [110]), evaluating more than a handful of runs will become increasingly demanding due to increased amount of compute and data needed to tackle such tasks. Additional confounding factors, such as exploration in the low-data regime, exacerbates the performance variability in deep RL – as seen on the Atari $1 0 0 \\mathrm { k }$ benchmark [50] – often requiring many more runs to achieve negligible statistical uncertainty in reported estimates. ",
|
| 118 |
+
"bbox": [
|
| 119 |
+
173,
|
| 120 |
+
90,
|
| 121 |
+
826,
|
| 122 |
+
215
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "Ignoring the statistical uncertainty in deep RL results gives a false impression of fast scientific progress in the field. It inevitably evades the question: “Would similar findings be obtained with new independent runs under different random conditions?” This could steer researchers towards superficially beneficial methods [11, 12, 25], often at the expense of better methods being neglected or even rejected early [67, 74] as such methods fail to outperform inferior methods simply due to less favorable random conditions. Furthermore, only reporting point estimates obscures nuances in comparisons [85] and can erroneously lead the field to conclude which methods are state-ofthe-art [63, 84], ensuing wasted effort when applied in practice [108]. Moreover, not report",
|
| 129 |
+
"bbox": [
|
| 130 |
+
174,
|
| 131 |
+
223,
|
| 132 |
+
478,
|
| 133 |
+
457
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 1
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "image",
|
| 139 |
+
"img_path": "images/baef0f62fa415bcccbff96b8bd1f5704c329c1997876481d2ea9785708be657d.jpg",
|
| 140 |
+
"image_caption": [
|
| 141 |
+
"Figure 1: Number of runs in RL over the years. Beginning with DQN [75] on the ALE, 5 or less runs are common in the field. Here, we show representative RL papers with empirical results, in the order of their publication year: TD-learning [99], Sparse coding [100], Options [102], Tetris (CEM) [103], Batch-Q [31], ALE [5], DQN [75], AlphaGo [96], A3C [76], DDPG [62], ES [88], PPO [92], SAC [36], Rainbow [42], AlphaStar [110], GoExplore [28], OpenAI Five [8], Balloon navigation [7] and MuZero [91]. "
|
| 142 |
+
],
|
| 143 |
+
"image_footnote": [],
|
| 144 |
+
"bbox": [
|
| 145 |
+
495,
|
| 146 |
+
223,
|
| 147 |
+
816,
|
| 148 |
+
321
|
| 149 |
+
],
|
| 150 |
+
"page_idx": 1
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"type": "text",
|
| 154 |
+
"text": "ing the uncertainty in deep RL results makes them difficult to reproduce except under the exact same random conditions, which could lead to a reproducibility crisis similar to the one that plagues other fields [4, 44, 78]. Finally, unreliable results could erode trust in deep RL research itself [45]. ",
|
| 155 |
+
"bbox": [
|
| 156 |
+
176,
|
| 157 |
+
457,
|
| 158 |
+
825,
|
| 159 |
+
498
|
| 160 |
+
],
|
| 161 |
+
"page_idx": 1
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"type": "text",
|
| 165 |
+
"text": "In this work, we show that recent deep RL papers compare unreliable point estimates, which are dominated by statistical uncertainty, as well as exploit non-standard evaluation protocols, using a case study on Atari 100k (Section 3). Then, we illustrate how to reliably evaluate performance with only a handful of runs using a more rigorous evaluation methodology that accounts for uncertainty in results (Section 4). To exemplify the necessity of such methodology, we scrutinize performance evaluations of existing algorithms on widely used benchmarks, including the ALE [5] (Atari $1 0 0 \\mathrm { k }$ , Atari 200M), Procgen [18] and DeepMind Control Suite [104], again revealing discrepancies in prior comparisons (Section 5). Our findings call for a change in how we evaluate performance in deep RL, for which we present a better methodology to prevent unreliable results from stagnating the field. ",
|
| 166 |
+
"bbox": [
|
| 167 |
+
173,
|
| 168 |
+
505,
|
| 169 |
+
825,
|
| 170 |
+
628
|
| 171 |
+
],
|
| 172 |
+
"page_idx": 1
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"type": "text",
|
| 176 |
+
"text": "How do we reliably evaluate performance on deep RL benchmarks with only a handful of runs? As a practical solution that is easily applicable with 3-10 runs per task, we identify three statistical tools (Table 1) for improving the quality of experimental reporting. Since any performance estimate based on a finite number of runs is a random variable, we argue that it should be treated as such. Specifically, we argue for reporting aggregate performance measures using interval estimates via stratified bootstrap confidence intervals, as opposed to point estimates. Among prevalent aggregate measures, mean can be easily dominated by performance on a few outlier tasks, while median has high variability and zero performance on nearly half of the tasks does not change it. To address these deficiencies, we present more efficient and robust alternatives, such as interquartile mean, which are not unduly affected by outliers and have small uncertainty even with a handful of runs. Furthermore, to reveal the variability in performance across tasks, we propose reporting performance distributions across all runs. Compared to prior work [5, 83], these distributions result in performance profiles [26] that are statistically unbiased, more robust to outliers, and require fewer runs for smaller uncertainty. ",
|
| 177 |
+
"bbox": [
|
| 178 |
+
173,
|
| 179 |
+
636,
|
| 180 |
+
825,
|
| 181 |
+
815
|
| 182 |
+
],
|
| 183 |
+
"page_idx": 1
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"type": "text",
|
| 187 |
+
"text": "2 Formalism ",
|
| 188 |
+
"text_level": 1,
|
| 189 |
+
"bbox": [
|
| 190 |
+
174,
|
| 191 |
+
823,
|
| 192 |
+
295,
|
| 193 |
+
839
|
| 194 |
+
],
|
| 195 |
+
"page_idx": 1
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"type": "text",
|
| 199 |
+
"text": "We consider the setting in which a reinforcement learning algorithm is evaluated on $M$ tasks. For each of these tasks, we perform $N$ independent runs3 which each provide a scalar, normalized score $x _ { m , n }$ , $m = 1 , \\ldots , M$ and $n = 1 , \\ldots , N$ . These normalized scores are obtained by linearly rescaling per-task scores4 based on two reference points; for example, performance on the Atari games is typically normalized with respect to a random agent and an average human, who are assigned a normalized score of 0 and 1 respectively [75]. We denote the set of normalized scores by $x _ { 1 : M , 1 : N }$ . ",
|
| 200 |
+
"bbox": [
|
| 201 |
+
176,
|
| 202 |
+
845,
|
| 203 |
+
823,
|
| 204 |
+
873
|
| 205 |
+
],
|
| 206 |
+
"page_idx": 1
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"type": "table",
|
| 210 |
+
"img_path": "images/0df8afd636b0cf3bb5c44b8acbe857672c39ad88e6ab0d463fa74089e0075d16.jpg",
|
| 211 |
+
"table_caption": [
|
| 212 |
+
"Table 1: Our recommendations for reliable evaluation, easily applicable with a handful of runs. Refer to Section 4 for details about recommendations and Section 5 for their application to widely-used RL benchmarks. "
|
| 213 |
+
],
|
| 214 |
+
"table_footnote": [],
|
| 215 |
+
"table_body": "<table><tr><td>Desideratum</td><td>Current Evaluation Protocol</td><td>Our Recommendation</td></tr><tr><td>Uncertainty in aggregate performance</td><td>Point estimates · Ignore statistical uncertainty ·Hinder resultsreproducibility</td><td>Interval estimates via stratified bootstrap confidence intervals</td></tr><tr><td>Variability in performance across tasks and runs</td><td>Tables with mean scores per task · Overwhelming beyond a few tasks ·Standard deviations often omitted · Incomplete picture for multimodal and heavy-tailed distributions</td><td>Performance profiles (score distributions) · Show tail distribution of scores on com- bined runs across tasks · Allow qualitative comparisons ·Easily read any score percentile</td></tr><tr><td>Aggregate metrics for sum- marizing performance across tasks</td><td>Mean ·Often dominated by performance on outlier tasks Median · Requires large number of runs to claim improvements · Poor indicator of overall perfor-</td><td>Interquartile Mean (IQM) across all runs ·Performance on middle 5O% of com- bined runs · Robust to outlier scores but more statis- tically efficient than median To show other aspects of performance gains, report average probability of improvement</td></tr></table>",
|
| 216 |
+
"bbox": [
|
| 217 |
+
192,
|
| 218 |
+
127,
|
| 219 |
+
805,
|
| 220 |
+
435
|
| 221 |
+
],
|
| 222 |
+
"page_idx": 2
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"type": "text",
|
| 226 |
+
"text": "",
|
| 227 |
+
"bbox": [
|
| 228 |
+
174,
|
| 229 |
+
450,
|
| 230 |
+
825,
|
| 231 |
+
507
|
| 232 |
+
],
|
| 233 |
+
"page_idx": 2
|
| 234 |
+
},
|
| 235 |
+
{
|
| 236 |
+
"type": "text",
|
| 237 |
+
"text": "In most experiments, there is inherent randomness in the scores obtained from different runs. This randomness can arise from stochasticity in the task, exploratory choices made during learning, randomized initial parameters, but also software and hardware considerations such as non-determinism in GPUs and in machine learning frameworks [116]. Thus, we model the algorithm’s normalized score on the $m ^ { t h }$ task as a real-valued random variable $X _ { m }$ . Then, the score $x _ { m , n }$ is a realization of the random variable $X _ { m , n }$ , which is identically distributed as $X _ { m }$ . For $\\tau \\in \\mathbb { R }$ , we define the tail distribution function of $X _ { m }$ as $F _ { m } ( \\tau ) = \\mathrm { P } ( \\dot { X } _ { m } > \\tau )$ . For any collection of scores $y _ { 1 : K }$ , the empirical tail distribution function is given by $\\begin{array} { r } { \\hat { F } ( \\tau ; y _ { 1 : K } ) = \\frac { 1 } { K } \\sum _ { k = 1 } ^ { K } \\mathbb { 1 } [ y _ { k } > \\tau ] } \\end{array}$ . In particular, we write $\\hat { F } _ { m } ( \\tau ) = \\hat { F } ( \\tau ; x _ { m , 1 : N } )$ . ",
|
| 238 |
+
"bbox": [
|
| 239 |
+
173,
|
| 240 |
+
513,
|
| 241 |
+
825,
|
| 242 |
+
647
|
| 243 |
+
],
|
| 244 |
+
"page_idx": 2
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"type": "text",
|
| 248 |
+
"text": "The aggregate performance of an algorithm maps the set of normalized scores $x _ { 1 : M , 1 : N }$ to a scalar \nvalue. Two prwe denote by $\\begin{array} { r } { \\bar { x } _ { m } = \\frac { 1 } { N } \\bar { \\sum _ { n = 1 } ^ { N } } \\bar { x _ { m , n } } } \\end{array}$ fo t metrics are the age score on task $m$ an and across $N$ dian normalized scores. Ifruns, then these aggregate $\\left( \\hat { x } _ { 1 : M } \\right)$ $\\left( \\hat { x } _ { 1 : M } \\right)$ \nmedian over the task means since they are computed from a finite set of $N$ runs. Since $\\hat { x } _ { m }$ is a \nrealization of the random variable $\\begin{array} { r } { \\bar { X } _ { m } = \\frac { 1 } { N } \\sum _ { n = 1 } ^ { \\bar { N } } X _ { m , n } } \\end{array}$ , the sample mean and median scores are \npoint estimates of the random variables Mean $\\left( \\hat { X } _ { 1 : M } \\right)$ and Median $\\left( \\hat { X } _ { 1 : M } \\right)$ respectively. We call true \nmean and true median the metrics that would be obtained if we had unlimited experimental capacity $N \\to \\infty$ ), given by Mea $\\mathsf { 1 } \\big ( \\mathbb { E } [ X _ { 1 : M } ] \\big )$ and Median $\\left( \\mathbb { E } [ X _ { 1 : M } ] \\right)$ respectively. ",
|
| 249 |
+
"bbox": [
|
| 250 |
+
173,
|
| 251 |
+
651,
|
| 252 |
+
825,
|
| 253 |
+
785
|
| 254 |
+
],
|
| 255 |
+
"page_idx": 2
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"type": "text",
|
| 259 |
+
"text": "Confidence intervals (CIs) for a finite-sample score can be interpreted as an estimate of plausible values for the true score. A $\\alpha \\times 1 0 0 \\%$ CI computes an interval such that if we rerun the experiment and construct the CI using a different set of runs, the fraction of calculated CIs (which would differ for each set of runs) that contain the true score would tend towards $\\alpha \\times 1 0 0 \\%$ , where $\\alpha \\in [ 0 , 1 ]$ is the nominal coverage rate. $9 5 \\%$ CIs are typically used in practice. If the true score lies outside the $9 5 \\%$ CI, then a sampling event has occurred which had a probability of $5 \\%$ of happening by chance. ",
|
| 260 |
+
"bbox": [
|
| 261 |
+
173,
|
| 262 |
+
790,
|
| 263 |
+
825,
|
| 264 |
+
873
|
| 265 |
+
],
|
| 266 |
+
"page_idx": 2
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"type": "image",
|
| 270 |
+
"img_path": "images/dbb6f647a07253dbec04886e2c95a85d12dfd055069a80853090b2b8c4850e33.jpg",
|
| 271 |
+
"image_caption": [
|
| 272 |
+
"Figure 2: Left. Distribution of median normalized scores computed using 100,000 different sets of $N$ runs subsampled uniformly with replacement from 100 runs. For a given algorithm, the sampling distribution shows the variation in the median scores when re-estimated using a different set of runs. The reported point estimates of median in publications, as shown by dashed lines, do not provide any information about the variability in median scores and severely overestimate or underestimate the expected median. We use the same number of runs as reported by publications: $N = 5$ runs for DER, OTR and DrQ, $N = 1 0$ runs for SPR and $N = 2 0$ runs for CURL. Right. $9 5 \\%$ CIs for median and IQM scores (Section 4.3) for varying $N$ . There is a substantial uncertainty in median scores even with 50 runs. IQM has much smaller CIs than median. Note that when CIs overlap, properly accounting for uncertainty entails computing CIs for score differences (Figure A.15). "
|
| 273 |
+
],
|
| 274 |
+
"image_footnote": [],
|
| 275 |
+
"bbox": [
|
| 276 |
+
186,
|
| 277 |
+
90,
|
| 278 |
+
812,
|
| 279 |
+
276
|
| 280 |
+
],
|
| 281 |
+
"page_idx": 3
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"type": "text",
|
| 285 |
+
"text": "Remark. Following Amrhein et al. [2], Romer [87], Wasserstein et al. [112], we recommend using confidence intervals for measuring the uncertainty in results and showing effect sizes (e.g., performance improvements over baseline) that are compatible with the given data. Furthermore, we emphasize using statistical thinking but avoid statistical significance tests (e.g., $p$ -value $< 0 . 0 5 )$ because of their dichotomous nature (significant vs. not significant) and common misinterpretations [33, 35, 73] such as 1) lack of statistically significant results does not demonstrate the absence of effect (Figure 2, right), and 2) given enough data, any trivial effect can be statistically significant but may not be practically significant. ",
|
| 286 |
+
"bbox": [
|
| 287 |
+
173,
|
| 288 |
+
416,
|
| 289 |
+
826,
|
| 290 |
+
529
|
| 291 |
+
],
|
| 292 |
+
"page_idx": 3
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"type": "text",
|
| 296 |
+
"text": "3 Case Study: The Atari 100k benchmark ",
|
| 297 |
+
"text_level": 1,
|
| 298 |
+
"bbox": [
|
| 299 |
+
174,
|
| 300 |
+
539,
|
| 301 |
+
539,
|
| 302 |
+
556
|
| 303 |
+
],
|
| 304 |
+
"page_idx": 3
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"type": "text",
|
| 308 |
+
"text": "We begin with a case study to illustrate the pitfalls arising from the naïve use of point estimates in the few-run regime. Our case study concerns the Atari 100k benchmark [50], an offshoot of the ALE for evaluating data-efficiency in deep RL. In this benchmark, algorithms are evaluated on only $1 0 0 \\mathrm { k }$ steps (2-3 hours of game-play) for each of its 26 games, versus 200M frames in the ALE benchmark. Prior reported results on this benchmark have been computed mostly from 3 [39, 55, 59, 72, 89, 95] or 5 runs [50, 51, 53, 54, 64, 66, 86, 107, 115], and more rarely, 10 [65, 93] or 20 runs [56]. ",
|
| 309 |
+
"bbox": [
|
| 310 |
+
174,
|
| 311 |
+
563,
|
| 312 |
+
825,
|
| 313 |
+
646
|
| 314 |
+
],
|
| 315 |
+
"page_idx": 3
|
| 316 |
+
},
|
| 317 |
+
{
|
| 318 |
+
"type": "text",
|
| 319 |
+
"text": "Our case study compares the performance of five recent deep RL algorithms, namely: (1) DER [107] and (2) OTR [51], (3) DrQ5 [53], (4) CURL [56], and (5) SPR [93]. We chose these methods as representative of influential algorithms within this benchmark. Since good performance on one game can result in unduly high sample means without providing much information about performance on other games, it is common to measure performance on Atari $1 0 0 \\mathrm { k }$ using sample medians. Refer to Appendix A.2 for more details about the experimental setup. ",
|
| 320 |
+
"bbox": [
|
| 321 |
+
174,
|
| 322 |
+
652,
|
| 323 |
+
825,
|
| 324 |
+
736
|
| 325 |
+
],
|
| 326 |
+
"page_idx": 3
|
| 327 |
+
},
|
| 328 |
+
{
|
| 329 |
+
"type": "text",
|
| 330 |
+
"text": "We investigate statistical variations in the few-run regime by evaluating 100 independent runs for each algorithm, where the score for a run is the average returns obtained in 100 evaluation episodes taking place after training. Each run corresponds to training one algorithm on each of the 26 games in Atari $1 0 0 \\mathrm { k }$ . This provides us with $2 6 \\times 1 0 0$ scores per algorithm, which we then subsample with replacement to 3–100 runs. The subsampled scores are then used to produce a collection of point estimates whose statistical variability can be measured. We begin by using this experimental protocol to highlight statistical concerns regarding median normalized scores. ",
|
| 331 |
+
"bbox": [
|
| 332 |
+
173,
|
| 333 |
+
742,
|
| 334 |
+
825,
|
| 335 |
+
840
|
| 336 |
+
],
|
| 337 |
+
"page_idx": 3
|
| 338 |
+
},
|
| 339 |
+
{
|
| 340 |
+
"type": "text",
|
| 341 |
+
"text": "High variability in reported results. Our first observation is that the sample medians reported in the literature exhibit substantial variability when viewed as random quantities that depend on a small number of sample runs (Figure 2, left). This shows that there is a fairly large potential for drawing erroneous conclusions based on point estimates alone. As a concrete example, our analysis suggests that DER may in fact be better than OTR, unlike what the reported point estimates suggest. We conclude that in the few-run regime, point estimates are unlikely to provide definitive answers to the question: “Would we draw the same conclusions were we to re-evaluate our algorithm with a different set of runs?” ",
|
| 342 |
+
"bbox": [
|
| 343 |
+
174,
|
| 344 |
+
845,
|
| 345 |
+
821,
|
| 346 |
+
875
|
| 347 |
+
],
|
| 348 |
+
"page_idx": 3
|
| 349 |
+
},
|
| 350 |
+
{
|
| 351 |
+
"type": "text",
|
| 352 |
+
"text": "",
|
| 353 |
+
"bbox": [
|
| 354 |
+
173,
|
| 355 |
+
90,
|
| 356 |
+
826,
|
| 357 |
+
174
|
| 358 |
+
],
|
| 359 |
+
"page_idx": 4
|
| 360 |
+
},
|
| 361 |
+
{
|
| 362 |
+
"type": "text",
|
| 363 |
+
"text": "Substantial bias in sample medians. The sample median is a biased estimator of the true median: $\\mathbb { E } [ \\mathbf { M e d i a n } ( \\bar { X } _ { 1 : M } ) ] \\neq$ Median $\\left( \\mathbb { E } [ X _ { 1 : M } ] \\right)$ in general. In the few-run regime, we find that this bias can dominate the comparison between algorithms, as evidenced in Fig",
|
| 364 |
+
"bbox": [
|
| 365 |
+
173,
|
| 366 |
+
181,
|
| 367 |
+
374,
|
| 368 |
+
304
|
| 369 |
+
],
|
| 370 |
+
"page_idx": 4
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"type": "image",
|
| 374 |
+
"img_path": "images/54c2f614649e9bb0207d69a1082eea7875a56549fabdd02ad13b6dd73af7eb1d.jpg",
|
| 375 |
+
"image_caption": [
|
| 376 |
+
"Figure 3: Expected sample median of task means. The expected score for $N$ runs is computed by repeatedly subsampling $N$ runs with replacement out of 100 runs for 100,000 times. "
|
| 377 |
+
],
|
| 378 |
+
"image_footnote": [],
|
| 379 |
+
"bbox": [
|
| 380 |
+
397,
|
| 381 |
+
179,
|
| 382 |
+
808,
|
| 383 |
+
261
|
| 384 |
+
],
|
| 385 |
+
"page_idx": 4
|
| 386 |
+
},
|
| 387 |
+
{
|
| 388 |
+
"type": "text",
|
| 389 |
+
"text": "ure 3. For example, the score difference between sample medians with 5 and 100 runs for SPR $( + 0 . 0 3$ points) is about $36 \\%$ of its mean improvement over $\\mathrm { D r Q } ( \\varepsilon )$ $( + 0 . 0 8$ points). Adding to the issue, the magnitude and sign of this bias strongly depends on the algorithm being evaluated. ",
|
| 390 |
+
"bbox": [
|
| 391 |
+
176,
|
| 392 |
+
305,
|
| 393 |
+
823,
|
| 394 |
+
347
|
| 395 |
+
],
|
| 396 |
+
"page_idx": 4
|
| 397 |
+
},
|
| 398 |
+
{
|
| 399 |
+
"type": "text",
|
| 400 |
+
"text": "Statistical concerns cannot be satisfactorily addressed with few runs. While claiming improvements with 3 or fewer runs may naturally raise eyebrows, folk wisdom in experimental RL suggests that 20 or 30 runs are enough. By calculating $9 5 \\%$ confidence interval6 on sample medians for a varying number of runs (Figure 2, right), we find that this number is closer to 50–100 runs in Atari $1 0 0 \\mathrm { k }$ – far too many to be computationally feasible for most research projects. ",
|
| 401 |
+
"bbox": [
|
| 402 |
+
173,
|
| 403 |
+
353,
|
| 404 |
+
825,
|
| 405 |
+
422
|
| 406 |
+
],
|
| 407 |
+
"page_idx": 4
|
| 408 |
+
},
|
| 409 |
+
{
|
| 410 |
+
"type": "text",
|
| 411 |
+
"text": "Consider a setting in which an algorithm is known to be better – what is the reliability of median and IQM (Section 4.3) for accurately assessing performance differences as the number of runs varies? Specifically, we consider two identical $N$ -run experiments involving SPR, except that we artificially inflate one of the experiments’ scores by a fixed fraction or lift of $+ \\ell \\%$ (Figure 4). In particular, $\\ell = 0$ corresponds to running the same experiment twice but with different runs. We find that statistically defensible improvements with median scores is only achieved for 25 runs $\\ell = 2 5$ ) and 100 runs $\\ell = 1 0$ ). With $\\ell = 0$ , even 100 runs are insufficient, with deviations of $2 0 \\%$ possible. ",
|
| 412 |
+
"bbox": [
|
| 413 |
+
173,
|
| 414 |
+
428,
|
| 415 |
+
825,
|
| 416 |
+
526
|
| 417 |
+
],
|
| 418 |
+
"page_idx": 4
|
| 419 |
+
},
|
| 420 |
+
{
|
| 421 |
+
"type": "text",
|
| 422 |
+
"text": "Changes in evaluation protocols invalidates comparisons to prior work. A typical and relatively safe approach for measuring the performance of an RL algorithm is to average the scores received in their final training episodes [69]. However, the field has seen a number of alternative protocols used, including reporting the maximum evaluation score achieved during training [1, 3, 75] or across multiple runs [32, 47, 82]. A similar protocol is also used by CURL and SUNRISE [59] (Appendix A.4). ",
|
| 423 |
+
"bbox": [
|
| 424 |
+
174,
|
| 425 |
+
532,
|
| 426 |
+
825,
|
| 427 |
+
602
|
| 428 |
+
],
|
| 429 |
+
"page_idx": 4
|
| 430 |
+
},
|
| 431 |
+
{
|
| 432 |
+
"type": "text",
|
| 433 |
+
"text": "Results produced under alternative protocols involving maximum are generally incomparable with end-performance reported results. On Atari 100k, we find that the two protocols produce substantially different results (Figure 5), of a magnitude greater than the actual difference in score. In particular, evaluating DER with CURL’s protocol results in scores far above those reported for CURL. In other words, this gap in evaluation procedures resulted in CURL being assessed as achieving a greater true median than DER, where our experiment gives strong support to DER being superior. Similarly, we find that a lot of SUNRISE’s improvement over DER can be explained by the change in evaluation protocol (Figure 5). Refer to Appendix A.4 for discussion on pitfalls of such alternative protocols. ",
|
| 434 |
+
"bbox": [
|
| 435 |
+
174,
|
| 436 |
+
607,
|
| 437 |
+
825,
|
| 438 |
+
719
|
| 439 |
+
],
|
| 440 |
+
"page_idx": 4
|
| 441 |
+
},
|
| 442 |
+
{
|
| 443 |
+
"type": "text",
|
| 444 |
+
"text": "4 Recommendations and Tools for Reliable Evaluation ",
|
| 445 |
+
"text_level": 1,
|
| 446 |
+
"bbox": [
|
| 447 |
+
176,
|
| 448 |
+
731,
|
| 449 |
+
643,
|
| 450 |
+
748
|
| 451 |
+
],
|
| 452 |
+
"page_idx": 4
|
| 453 |
+
},
|
| 454 |
+
{
|
| 455 |
+
"type": "text",
|
| 456 |
+
"text": "Our case study shows that the increase in the number of runs required to address the statistical uncertainty issues is typically infeasible for computationally demanding deep RL benchmarks. In this section, we identify three tools for improving the quality of experimental reporting in the few-run regime, all aligned with the principle of accounting for statistical uncertainty in results. ",
|
| 457 |
+
"bbox": [
|
| 458 |
+
174,
|
| 459 |
+
757,
|
| 460 |
+
825,
|
| 461 |
+
814
|
| 462 |
+
],
|
| 463 |
+
"page_idx": 4
|
| 464 |
+
},
|
| 465 |
+
{
|
| 466 |
+
"type": "text",
|
| 467 |
+
"text": "4.1 Stratified Bootstrap Confidence Intervals ",
|
| 468 |
+
"text_level": 1,
|
| 469 |
+
"bbox": [
|
| 470 |
+
173,
|
| 471 |
+
823,
|
| 472 |
+
500,
|
| 473 |
+
838
|
| 474 |
+
],
|
| 475 |
+
"page_idx": 4
|
| 476 |
+
},
|
| 477 |
+
{
|
| 478 |
+
"type": "text",
|
| 479 |
+
"text": "We first reaffirm the importance of reporting interval estimates to indicate the range within which an algorithm’s aggregate performance is believed to lie. Concretely, we propose using bootstrap CIs [29] with stratified sampling for aggregate performance, a method that can be applied to small sample sizes and is better justified than reporting sample standard deviations in this context. While prior work has recommended using bootstrap CIs for reporting uncertainty in single task mean scores with $N$ runs [16, 20, 41], this is less useful when $N$ is small (Figure A.18), as bootstrapping assumes that re-sampling from the data approximates sampling from the true distribution. We can do better by aggregating samples across tasks, for a total of $M N$ random samples. ",
|
| 480 |
+
"bbox": [
|
| 481 |
+
176,
|
| 482 |
+
845,
|
| 483 |
+
823,
|
| 484 |
+
875
|
| 485 |
+
],
|
| 486 |
+
"page_idx": 4
|
| 487 |
+
},
|
| 488 |
+
{
|
| 489 |
+
"type": "image",
|
| 490 |
+
"img_path": "images/a8daa5e50e5dfd4123df034240efdc49a14a53a92a2f1c351c7735e62533768c.jpg",
|
| 491 |
+
"image_caption": [
|
| 492 |
+
"Figure 4: Detecting score lifts. Left. $9 5 \\%$ CIs for observed lift with median scores, and Right. $9 5 \\%$ CIs for observed lift with IQM (Section 4.3) when comparing SPR with an algorithm that performs $\\ell \\%$ better. IQM requires fewer runs than median for small uncertainty. "
|
| 493 |
+
],
|
| 494 |
+
"image_footnote": [],
|
| 495 |
+
"bbox": [
|
| 496 |
+
187,
|
| 497 |
+
64,
|
| 498 |
+
488,
|
| 499 |
+
204
|
| 500 |
+
],
|
| 501 |
+
"page_idx": 5
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"type": "image",
|
| 505 |
+
"img_path": "images/3117fa9de8485892c6b2f981c16f9eacc38c7bd416eb165c11c03de159f077a1.jpg",
|
| 506 |
+
"image_caption": [
|
| 507 |
+
"Figure 5: Normalized DER scores with non-standard evaluation protocols. Gains from SUNRISE and CURL over DER can mostly be explained by such protocols. "
|
| 508 |
+
],
|
| 509 |
+
"image_footnote": [],
|
| 510 |
+
"bbox": [
|
| 511 |
+
187,
|
| 512 |
+
285,
|
| 513 |
+
490,
|
| 514 |
+
376
|
| 515 |
+
],
|
| 516 |
+
"page_idx": 5
|
| 517 |
+
},
|
| 518 |
+
{
|
| 519 |
+
"type": "image",
|
| 520 |
+
"img_path": "images/fe3420cb0332fcf6bf07c8d838a9c81e3d08c6ada3dfe65bb7c8e5e124bba60c.jpg",
|
| 521 |
+
"image_caption": [
|
| 522 |
+
"Figure 6: Validating $95 \\%$ Stratified Bootstrap CIs for a varying number of runs for median and IQM scores for DER. The true coverage $\\%$ is computed by sampling 10,000 sets of K runs without replacement from 200 runs and checking the fraction of $9 5 \\%$ CIs that contains the true estimate approximation based on 200 runs. Note that we evaluate additional 100 runs for DER for an accurate point estimate. Percentile CIs has the best coverage while achieving a small width compared to other methods. Also, CI widths for IQM are much smaller than that of median. We also note that with 3 runs, bootstrap CIs underestimate the true $9 5 \\%$ CIs and might require a larger nominal coverage rate to achieve true $9 5 \\%$ coverage. "
|
| 523 |
+
],
|
| 524 |
+
"image_footnote": [],
|
| 525 |
+
"bbox": [
|
| 526 |
+
527,
|
| 527 |
+
64,
|
| 528 |
+
810,
|
| 529 |
+
218
|
| 530 |
+
],
|
| 531 |
+
"page_idx": 5
|
| 532 |
+
},
|
| 533 |
+
{
|
| 534 |
+
"type": "text",
|
| 535 |
+
"text": "",
|
| 536 |
+
"bbox": [
|
| 537 |
+
174,
|
| 538 |
+
429,
|
| 539 |
+
825,
|
| 540 |
+
512
|
| 541 |
+
],
|
| 542 |
+
"page_idx": 5
|
| 543 |
+
},
|
| 544 |
+
{
|
| 545 |
+
"type": "text",
|
| 546 |
+
"text": "To compute the stratified bootstrap CIs, we re-sample runs with replacement independently for each task to construct an empirical bootstrap sample with $N$ runs each for $M$ tasks from which we calculate a statistic and repeat this process many times to approximate the sampling distribution of the statistic. We measure the reliability of this technique in Atari $1 0 0 \\mathrm { k }$ for variable $N$ , by comparing the nominal coverage of $9 5 \\%$ to the “true” coverage from the estimated CIs (Figure 6) for different bootstrap methods (see [30] and Appendix A.5). We find that percentile CIs provide good interval estimates for as few as $N = 1 0$ runs for both median and IQM scores (Section 4.3). ",
|
| 547 |
+
"bbox": [
|
| 548 |
+
174,
|
| 549 |
+
518,
|
| 550 |
+
825,
|
| 551 |
+
616
|
| 552 |
+
],
|
| 553 |
+
"page_idx": 5
|
| 554 |
+
},
|
| 555 |
+
{
|
| 556 |
+
"type": "text",
|
| 557 |
+
"text": "4.2 Performance Profiles ",
|
| 558 |
+
"text_level": 1,
|
| 559 |
+
"bbox": [
|
| 560 |
+
174,
|
| 561 |
+
626,
|
| 562 |
+
359,
|
| 563 |
+
640
|
| 564 |
+
],
|
| 565 |
+
"page_idx": 5
|
| 566 |
+
},
|
| 567 |
+
{
|
| 568 |
+
"type": "text",
|
| 569 |
+
"text": "Most deep RL benchmarks yield scores that vary widely between tasks and may be heavy-tailed, multimodal, or possess outliers (e.g., Figure A.14). In this regime, both point estimates, such as mean and median scores, and interval estimates of these quantities paint an incomplete picture of an algorithm’s performance [24, Section 3]. Instead, we recommend the use of performance profiles [26], commonly used in benchmarking optimization software. While performance profiles from Dolan and Moré [26] correspond to empirical cumulative distribution functions without any uncertainty estimates, profiles proposed herein visualize the empirical tail distribution function (Section 2) of a random score (higher curve is better), with pointwise confidence bands based on stratified bootstrap. ",
|
| 570 |
+
"bbox": [
|
| 571 |
+
174,
|
| 572 |
+
648,
|
| 573 |
+
825,
|
| 574 |
+
760
|
| 575 |
+
],
|
| 576 |
+
"page_idx": 5
|
| 577 |
+
},
|
| 578 |
+
{
|
| 579 |
+
"type": "text",
|
| 580 |
+
"text": "By representing the entire set of normalized scores $x _ { 1 : M , 1 : N }$ visually, performance profiles reveal performance variability across tasks much better than interval estimates of aggregate metrics. Although tables containing per-task mean scores and standard deviations can reveal this variability, such tables tend to be overwhelming for more than a few tasks.7 In addition, performance profiles are robust to outlier runs and insensitive to small changes in performance across all tasks [26]. ",
|
| 581 |
+
"bbox": [
|
| 582 |
+
174,
|
| 583 |
+
765,
|
| 584 |
+
825,
|
| 585 |
+
835
|
| 586 |
+
],
|
| 587 |
+
"page_idx": 5
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"type": "text",
|
| 591 |
+
"text": "In this paper, we propose the use of a performance profile we call run-score distributions or simply score distributions (Figure 7, right), particularly well-suited to the few-run regime. A score distribution shows the fraction of runs above a certain normalized score and is given by ",
|
| 592 |
+
"bbox": [
|
| 593 |
+
176,
|
| 594 |
+
842,
|
| 595 |
+
823,
|
| 596 |
+
883
|
| 597 |
+
],
|
| 598 |
+
"page_idx": 5
|
| 599 |
+
},
|
| 600 |
+
{
|
| 601 |
+
"type": "image",
|
| 602 |
+
"img_path": "images/5fd641b7327f12c7620484b1d2b213a4fed613e3992194f46d5800443b2c19cd.jpg",
|
| 603 |
+
"image_caption": [
|
| 604 |
+
"Figure 7: Performance profiles on Atari 100k based on score distributions (left), which we recommend, and average score distributions (right). Shaded regions show pointwise $9 5 \\%$ confidence bands based on percentile bootstrap with stratified sampling. The profiles on the left are more robust to outliers and have smaller confidence bands. We use 10 runs to show the robustness of profiles with a few runs. For SimPLe [50], we use the 5 runs from their reported results. The $\\tau$ value where the profiles intersect $y = 0 . 5$ shows the median while for a non-negative random variable, area under the performance profile corresponds to the mean. "
|
| 605 |
+
],
|
| 606 |
+
"image_footnote": [],
|
| 607 |
+
"bbox": [
|
| 608 |
+
207,
|
| 609 |
+
98,
|
| 610 |
+
789,
|
| 611 |
+
281
|
| 612 |
+
],
|
| 613 |
+
"page_idx": 6
|
| 614 |
+
},
|
| 615 |
+
{
|
| 616 |
+
"type": "equation",
|
| 617 |
+
"img_path": "images/277f36ff4bad69cdc64e363699bcd99bf2ea8910900f38c3a0b8d6ecde48b671.jpg",
|
| 618 |
+
"text": "$$\n\\hat { F } _ { X } ( \\tau ) = \\hat { F } ( \\tau ; x _ { 1 : M , 1 : N } ) = \\frac { 1 } { M } \\sum _ { m = 1 } ^ { M } \\hat { F } _ { m } ( \\tau ) = \\frac { 1 } { M } \\sum _ { m = 1 } ^ { M } \\frac { 1 } { N } \\sum _ { n = 1 } ^ { N } \\mathbb { 1 } [ x _ { m , n } > \\tau ] .\n$$",
|
| 619 |
+
"text_format": "latex",
|
| 620 |
+
"bbox": [
|
| 621 |
+
245,
|
| 622 |
+
375,
|
| 623 |
+
751,
|
| 624 |
+
417
|
| 625 |
+
],
|
| 626 |
+
"page_idx": 6
|
| 627 |
+
},
|
| 628 |
+
{
|
| 629 |
+
"type": "text",
|
| 630 |
+
"text": "One advantage of the score distribution is that it is an unbiased estimator of the underlying distribution $\\begin{array} { r } { F ( \\tau ) = \\frac { 1 } { N } \\sum _ { m = 1 } ^ { M } F _ { m } ( \\tau ) } \\end{array}$ . Another advantage is that an outlier run with extremely high score can change the output of score distribution for any $\\tau$ by at most a value of $\\frac { 1 } { M N }$ . ",
|
| 631 |
+
"bbox": [
|
| 632 |
+
173,
|
| 633 |
+
422,
|
| 634 |
+
825,
|
| 635 |
+
467
|
| 636 |
+
],
|
| 637 |
+
"page_idx": 6
|
| 638 |
+
},
|
| 639 |
+
{
|
| 640 |
+
"type": "text",
|
| 641 |
+
"text": "It is useful to contrast score distributions to average-score distributions, originally proposed in the context of the ALE [5] as a generalization of the median score. Average-score distributions correspond to the performance profile of a random variable $\\bar { X }$ , $\\hat { F } _ { \\bar { X } } ( \\tau ) = \\hat { F } ( \\tau ; \\bar { x } _ { 1 : M } )$ , which shows the fraction of tasks on which an algorithm performs better than a certain score. However, such distributions are a biased estimate of the thing they seek to represent. Run-score distributions are more robust than average-score distributions, as they are a step function in $1 / M N$ versus $1 / M$ intervals, and typically has less variance: $\\begin{array} { r } { \\sigma _ { X } ^ { 2 } = \\frac { 1 } { M ^ { 2 } N } \\sum _ { m = 1 } ^ { M } F _ { m } ( \\tau ) ( 1 - F _ { m } ( \\tau ) ) \\quad } \\end{array}$ versus $\\begin{array} { r } { \\sigma _ { \\bar { X } } ^ { 2 } = \\frac { 1 } { M ^ { 2 } } \\sum _ { m = 1 } ^ { M } F _ { \\bar { X } _ { m } } ( \\tau ) ( 1 - F _ { \\bar { X } _ { m } } ( \\tau ) ) } \\end{array}$ . Figure 7 illustrates these differences. ",
|
| 642 |
+
"bbox": [
|
| 643 |
+
173,
|
| 644 |
+
472,
|
| 645 |
+
825,
|
| 646 |
+
594
|
| 647 |
+
],
|
| 648 |
+
"page_idx": 6
|
| 649 |
+
},
|
| 650 |
+
{
|
| 651 |
+
"type": "text",
|
| 652 |
+
"text": "4.3 Robust and Efficient Aggregate Metrics ",
|
| 653 |
+
"text_level": 1,
|
| 654 |
+
"bbox": [
|
| 655 |
+
174,
|
| 656 |
+
604,
|
| 657 |
+
488,
|
| 658 |
+
619
|
| 659 |
+
],
|
| 660 |
+
"page_idx": 6
|
| 661 |
+
},
|
| 662 |
+
{
|
| 663 |
+
"type": "text",
|
| 664 |
+
"text": "Performance profiles allow us to compare different methods at a glance. If one curve is strictly above another, the better method is said to stochastically dominate8 the other [27, 61]. In RL benchmarks with a large number of tasks, however, stochastic dominance is rarely observed: performance profiles often intersect at multiple points. Finer quantitative comparisons must therefore entail aggregate metrics. ",
|
| 665 |
+
"bbox": [
|
| 666 |
+
174,
|
| 667 |
+
626,
|
| 668 |
+
583,
|
| 669 |
+
724
|
| 670 |
+
],
|
| 671 |
+
"page_idx": 6
|
| 672 |
+
},
|
| 673 |
+
{
|
| 674 |
+
"type": "text",
|
| 675 |
+
"text": "We can extract a number of aggregate metrics from score distributions, including median (mixing runs and tasks) and mean normalized scores (matching our usual definition). As we already argued that these metrics are deficient, we now consider interesting alternatives also derived from score distributions. ",
|
| 676 |
+
"bbox": [
|
| 677 |
+
174,
|
| 678 |
+
731,
|
| 679 |
+
583,
|
| 680 |
+
799
|
| 681 |
+
],
|
| 682 |
+
"page_idx": 6
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"type": "image",
|
| 686 |
+
"img_path": "images/175e2902f8bea7f28be7b61b97161f37ba18cc5ee31bd03489da3c3d53d96579.jpg",
|
| 687 |
+
"image_caption": [
|
| 688 |
+
"Figure 8: Aggregate metrics. For a non-negative random variable $X$ , IQM corresponds to the red shaded region while optimality gap corresponds to the orange shaded region in the performance profile of $X$ . "
|
| 689 |
+
],
|
| 690 |
+
"image_footnote": [],
|
| 691 |
+
"bbox": [
|
| 692 |
+
596,
|
| 693 |
+
626,
|
| 694 |
+
816,
|
| 695 |
+
747
|
| 696 |
+
],
|
| 697 |
+
"page_idx": 6
|
| 698 |
+
},
|
| 699 |
+
{
|
| 700 |
+
"type": "text",
|
| 701 |
+
"text": "culates the mean score of the remaining $50 \\%$ runs $\\scriptstyle ( = \\lfloor N M / 2 \\rfloor$ for $N$ runs each on $M$ tasks). IQM interpolates between mean and median across runs, which are $0 \\%$ and almost $5 0 \\%$ trimmed means respectively. Compared to sample median, IQM is a better indicator of overall performance as it is calculated using $50 \\%$ of the combined runs while median only depends on the performance ordering across tasks and not on the magnitude except at most 2 tasks. For example, zero scores on nearly half of the tasks does not affect the median while IQM exhibits a severe degradation. Compared to mean, IQM is robust to outliers, yet has considerably less bias than median (Figure A.17). While median is more robust to outliers than IQM, this robustness comes at the expense of statistical efficiency, which is crucial in the few-run regime: IQM results in much smaller CIs (Figure 2 (right) and 6) and is able to detect a given improvement with far fewer runs (Figures 4 and A.15). ",
|
| 702 |
+
"bbox": [
|
| 703 |
+
176,
|
| 704 |
+
847,
|
| 705 |
+
823,
|
| 706 |
+
875
|
| 707 |
+
],
|
| 708 |
+
"page_idx": 6
|
| 709 |
+
},
|
| 710 |
+
{
|
| 711 |
+
"type": "image",
|
| 712 |
+
"img_path": "images/560e26e5f432686fc445b55c288373a79afcfc1d603e379fa2269bb41358c228.jpg",
|
| 713 |
+
"image_caption": [
|
| 714 |
+
"Figure 9: Aggregate metrics on Atari 200M with $9 5 \\%$ CIs based on 55 games with sticky actions [69]. Higher mean, median and IQM scores and lower optimality gap are better. The CIs are estimated using the percentile bootstrap with stratified sampling. IQM typically results in smaller CIs than median scores. Large values of mean scores relative to median and IQM indicate being dominated by a few high performing tasks, for example, DreamerV2 and M-IQN obtain normalized scores above 50 on the game JAMESBOND. Optimality gap is less susceptible to outliers compared to mean scores. We compare DQN (Nature) [75], DQN with Adam optimizer, C51 [6], REM [1], Rainbow [42], IQN [22], Munchausen-IQN (M-IQN) [109], and DreamerV2 [38]. All results are based on 5 runs per game except for M-IQN and DreamerV2 which report results with 3 and 11 runs. "
|
| 715 |
+
],
|
| 716 |
+
"image_footnote": [],
|
| 717 |
+
"bbox": [
|
| 718 |
+
166,
|
| 719 |
+
88,
|
| 720 |
+
808,
|
| 721 |
+
207
|
| 722 |
+
],
|
| 723 |
+
"page_idx": 7
|
| 724 |
+
},
|
| 725 |
+
{
|
| 726 |
+
"type": "text",
|
| 727 |
+
"text": "",
|
| 728 |
+
"bbox": [
|
| 729 |
+
174,
|
| 730 |
+
328,
|
| 731 |
+
825,
|
| 732 |
+
439
|
| 733 |
+
],
|
| 734 |
+
"page_idx": 7
|
| 735 |
+
},
|
| 736 |
+
{
|
| 737 |
+
"type": "text",
|
| 738 |
+
"text": "As a robust alternative to mean, we recommend using the optimality gap: the amount by which the algorithm fails to meet a minimum score of $\\gamma = 1 . 0$ (orange region in Figure 8). This assumes that a score of 1.0 is a desirable target beyond which improvements are not very important, for example when the aim is to obtain human-level performance [e.g., 3, 23]. Naturally, the threshold $\\gamma$ may be chosen differently, which we discuss further in Appendix A.7. ",
|
| 739 |
+
"bbox": [
|
| 740 |
+
174,
|
| 741 |
+
445,
|
| 742 |
+
825,
|
| 743 |
+
515
|
| 744 |
+
],
|
| 745 |
+
"page_idx": 7
|
| 746 |
+
},
|
| 747 |
+
{
|
| 748 |
+
"type": "text",
|
| 749 |
+
"text": "If one is interested in knowing how robust an improvement from an algorithm $X$ over an algorithm $Y$ is, another possible metric to consider is the average probability of improvement – this metric shows how likely it is for $X$ to outperform $Y$ on a randomly selected task. Specifically, $P ( X >$ $\\begin{array} { r } { Y ) = \\frac { 1 } { M } \\sum _ { m = 1 } ^ { M } \\overset { \\textstyle } { P } ( X _ { m } > Y _ { m } ) , } \\end{array}$ , where $P ( X _ { m } > Y _ { m } )$ (Equation A.2) is the probability that $X$ is better than $Y$ on task $m$ . Note that, unlike IQM and optimality gap, this metric does not account for the size of improvement. While finding the best aggregate metric is still an open question and is often dependent on underlying normalized score distribution, our proposed alternatives avoid the failure modes of prevalent metrics while being robust and requiring fewer runs to reduce uncertainty. ",
|
| 750 |
+
"bbox": [
|
| 751 |
+
173,
|
| 752 |
+
520,
|
| 753 |
+
825,
|
| 754 |
+
636
|
| 755 |
+
],
|
| 756 |
+
"page_idx": 7
|
| 757 |
+
},
|
| 758 |
+
{
|
| 759 |
+
"type": "text",
|
| 760 |
+
"text": "5 Re-evaluating Evaluation on Deep RL Benchmarks ",
|
| 761 |
+
"text_level": 1,
|
| 762 |
+
"bbox": [
|
| 763 |
+
174,
|
| 764 |
+
647,
|
| 765 |
+
632,
|
| 766 |
+
665
|
| 767 |
+
],
|
| 768 |
+
"page_idx": 7
|
| 769 |
+
},
|
| 770 |
+
{
|
| 771 |
+
"type": "text",
|
| 772 |
+
"text": "Arcade Learning Environment. Training RL agents for 200M frames on the ALE [5, 69] is the most widely recognized benchmark in deep RL. We revisit some popular methods which demonstrated progress on this benchmark and reveal discrepancies in their findings as a consequence of ignoring the uncertainty in their results (Figure 9). For example, DreamerV2 [38] exhibits a large amount of uncertainty in aggregate scores. While M-IQN [109] claimed better performance than Dopamine Rainbow9 [42] in terms of median normalized scores, their interval estimates strikingly overlap. Similarly, while C51 [5] is considered substantially better than DQN [75], the interval estimates as well as performance profiles for DQN (Adam) and C51 overlap significantly. ",
|
| 773 |
+
"bbox": [
|
| 774 |
+
173,
|
| 775 |
+
672,
|
| 776 |
+
825,
|
| 777 |
+
785
|
| 778 |
+
],
|
| 779 |
+
"page_idx": 7
|
| 780 |
+
},
|
| 781 |
+
{
|
| 782 |
+
"type": "text",
|
| 783 |
+
"text": "Figure 9 reveals an interesting limitation of aggregate metrics: depending on the choice of metric, the ordering between algorithms changes (e.g., Median vs. IQM). The inconsistency in ranking across aggregate metrics arises from the fact that such metrics only capture a specific aspect of overall performance across tasks and runs. Additionally, the change of algorithm ranking between optimality gap and IQM/median scores reveal that while recent algorithms typically show performance gains relative to humans on average, their performance seems to be worse on games below human performance. Since performance profiles capture the full picture, they would often illustrate why such inconsistencies exist. For example, optimality gap and IQM can be both read as areas in the profile (Figure 8). The performance profile in Figure 10 (left) illustrates the nuances present when comparing different algorithms. For example, IQN seems to be better than Rainbow for $\\tau \\geq 2$ , but worse for $\\tau < 2$ . Similarly, the profiles of DreamerV2 and M-IQN for $\\tau < 8$ intersect at multiple points. To compare sample efficiency of the agents, we also present their IQM scores as a function of number of frames in Figure 10 (right). ",
|
| 784 |
+
"bbox": [
|
| 785 |
+
173,
|
| 786 |
+
790,
|
| 787 |
+
825,
|
| 788 |
+
875
|
| 789 |
+
],
|
| 790 |
+
"page_idx": 7
|
| 791 |
+
},
|
| 792 |
+
{
|
| 793 |
+
"type": "image",
|
| 794 |
+
"img_path": "images/830f89aa4c531f81455785c434fee73d1deb1cbf9f3a25f14b3b4134b3919561.jpg",
|
| 795 |
+
"image_caption": [
|
| 796 |
+
"Figure 10: Atari 200M evaluation. Left. Score distributions using human-normalized scores obtained after training for 200M frames. Right. Sample-efficiency of agents as a function of number of frames measured via IQM human-normalized scores. Shaded regions show pointwise $9 5 \\%$ percentile stratified bootstrap CIs. "
|
| 797 |
+
],
|
| 798 |
+
"image_footnote": [],
|
| 799 |
+
"bbox": [
|
| 800 |
+
191,
|
| 801 |
+
92,
|
| 802 |
+
805,
|
| 803 |
+
272
|
| 804 |
+
],
|
| 805 |
+
"page_idx": 8
|
| 806 |
+
},
|
| 807 |
+
{
|
| 808 |
+
"type": "image",
|
| 809 |
+
"img_path": "images/b8321d1ebb6b89f6d6f64291354fff96a482058779739a0cf3d112c839c891fb.jpg",
|
| 810 |
+
"image_caption": [
|
| 811 |
+
"Figure 11: DeepMind Control Suite evaluation results, averaged across 6 tasks, on the 100k and $5 0 0 \\mathrm { k }$ benchmark. We compare $\\mathrm { S A C + A E }$ [114], SLAC [58], Dreamer [37], CURL [98], RAD [57], DrQ [53], PISAC [60], SUNRISE [59], and CURL-D2RL [97]. The ordering of the algorithms in the left figure is based on their claimed relative performance – all algorithms except Dreamer claimed improvement over at least one algorithm placed below them. (a) Interval estimates show $9 5 \\%$ stratified bootstrap CIs for methods with individual runs provided by their respective authors and $9 5 \\%$ studentized CIs for CURL, CURL-D2RL, and SUNRISE. Normalized scores are computed by dividing by the maximum score $( = 1 0 0 0 )$ . (b) Score distributions. (c) The $i ^ { t h }$ column in the rank distribution plots show the probability that a given method is assigned rank $_ { i }$ averaged across all tasks. The ranks are estimated using 200,000 stratified bootstrap re-samples. "
|
| 812 |
+
],
|
| 813 |
+
"image_footnote": [],
|
| 814 |
+
"bbox": [
|
| 815 |
+
176,
|
| 816 |
+
320,
|
| 817 |
+
816,
|
| 818 |
+
449
|
| 819 |
+
],
|
| 820 |
+
"page_idx": 8
|
| 821 |
+
},
|
| 822 |
+
{
|
| 823 |
+
"type": "text",
|
| 824 |
+
"text": "",
|
| 825 |
+
"bbox": [
|
| 826 |
+
173,
|
| 827 |
+
579,
|
| 828 |
+
825,
|
| 829 |
+
678
|
| 830 |
+
],
|
| 831 |
+
"page_idx": 8
|
| 832 |
+
},
|
| 833 |
+
{
|
| 834 |
+
"type": "text",
|
| 835 |
+
"text": "DeepMind Control Suite. Recent continuous control papers benchmark performance on 6 tasks in DM Control [104] at $1 0 0 \\mathrm { k }$ and $5 0 0 \\mathrm { k }$ steps. Typically, such papers claim improvement based on higher mean scores per task regardless of the variability in those scores. However, we find that when accounting for uncertainty in results, most algorithms do not consistently rank above algorithms they claimed to improve upon (Figure 11c and 11b). Furthermore, there are huge overlaps in $9 5 \\%$ CIs of mean normalized scores for most algorithms (Figure 11a). These findings suggest that a lot of the reported improvements are spurious, resulting from randomness in the experimental protocol. ",
|
| 836 |
+
"bbox": [
|
| 837 |
+
174,
|
| 838 |
+
683,
|
| 839 |
+
825,
|
| 840 |
+
780
|
| 841 |
+
],
|
| 842 |
+
"page_idx": 8
|
| 843 |
+
},
|
| 844 |
+
{
|
| 845 |
+
"type": "text",
|
| 846 |
+
"text": "Procgen benchmark. Procgen [18] is a popular benchmark, consisting of 16 diverse tasks, for evaluating generalization in RL. Recent papers report mean PPO-normalized scores on this benchmark to emphasize the gains relative to PPO [92] as most methods are built on top of it. However, Figure 12 (left) shows that PPO-normalized scores typically have a heavy-tailed distribution making the mean scores highly dependent on performance on a small fraction of tasks. Instead, we recommend using normalization based on the estimated minimum and maximum scores on ProcGen [18] and reporting aggregate metrics based on such scores (Figure A.32). While publications sometimes make binary claims about whether they improve over prior methods, such improvements are inherently probabilistic. To reveal this discrepancy, we investigate the following question: “What is the probability that an algorithm which claimed improvement over a prior algorithm performs better than it?” (Figure 12, right). While this probability does not distinguish between two algorithms which uniformly improve on all tasks by $1 \\%$ and $100 \\%$ , it does highlight how likely an improvement is. For example, there is only a $4 0 - 5 0 \\%$ chance that UCB-DrAC [81] improves upon PLR [48]. We note that a number of improvements reported in the existing literature are only $5 0 - 7 0 \\%$ likely. ",
|
| 847 |
+
"bbox": [
|
| 848 |
+
174,
|
| 849 |
+
786,
|
| 850 |
+
825,
|
| 851 |
+
911
|
| 852 |
+
],
|
| 853 |
+
"page_idx": 8
|
| 854 |
+
},
|
| 855 |
+
{
|
| 856 |
+
"type": "image",
|
| 857 |
+
"img_path": "images/71d17ad3a8d766f85f7b26fa510b8255bb57edd855d91fe0cb5a61a22b7ca5bd.jpg",
|
| 858 |
+
"image_caption": [
|
| 859 |
+
"Figure 12: Procgen evaluation results based on easy mode comparisons [80] with 16 tasks. Left. Score distributions which compare PPO [92], MixReg [111], UCB-DrAC [81], PLR [48], PPG [19] and IDAAC [80]. Shaded regions indicate $9 5 \\%$ percentile stratified bootstrap CIs. Right. Each row shows the probability of improvement, with $9 5 \\%$ bootstrap CIs, that the algorithm $X$ on the left outperforms algorithm $Y$ on the right, given that $X$ was claimed to be better than $Y$ . For all algorithms, results are based on 10 runs per task. "
|
| 860 |
+
],
|
| 861 |
+
"image_footnote": [],
|
| 862 |
+
"bbox": [
|
| 863 |
+
197,
|
| 864 |
+
90,
|
| 865 |
+
794,
|
| 866 |
+
228
|
| 867 |
+
],
|
| 868 |
+
"page_idx": 9
|
| 869 |
+
},
|
| 870 |
+
{
|
| 871 |
+
"type": "text",
|
| 872 |
+
"text": "",
|
| 873 |
+
"bbox": [
|
| 874 |
+
174,
|
| 875 |
+
310,
|
| 876 |
+
825,
|
| 877 |
+
381
|
| 878 |
+
],
|
| 879 |
+
"page_idx": 9
|
| 880 |
+
},
|
| 881 |
+
{
|
| 882 |
+
"type": "text",
|
| 883 |
+
"text": "6 Discussion ",
|
| 884 |
+
"text_level": 1,
|
| 885 |
+
"bbox": [
|
| 886 |
+
174,
|
| 887 |
+
390,
|
| 888 |
+
294,
|
| 889 |
+
407
|
| 890 |
+
],
|
| 891 |
+
"page_idx": 9
|
| 892 |
+
},
|
| 893 |
+
{
|
| 894 |
+
"type": "text",
|
| 895 |
+
"text": "We saw, both in our case study on the Atari $1 0 0 \\mathrm { k }$ benchmark and with our analysis of other widely-used RL benchmarks, that statistical issues can have a sizeable influence on reported results, in particular when point estimates are used or evaluation protocols are not kept constant within comparisons. Despite earlier calls for more experimental rigor in deep RL [16, 20, 21, 41, 49, 83] (discussed in Appendix A.3), our analysis shows that the field has not yet found sure footing in this regards. ",
|
| 896 |
+
"bbox": [
|
| 897 |
+
174,
|
| 898 |
+
416,
|
| 899 |
+
825,
|
| 900 |
+
486
|
| 901 |
+
],
|
| 902 |
+
"page_idx": 9
|
| 903 |
+
},
|
| 904 |
+
{
|
| 905 |
+
"type": "text",
|
| 906 |
+
"text": "In part, this is because the issue of reproducibility is a complex one; where our work is concerned with our confidence about and interpretation of reported results (what Goodman et al. [34] calls results reproducibility), others [79] have highlighted that there might be missing information about the experiments themselves (methods reproducibility). We remark that the problem is not solved by fixing random seeds, as has sometimes been proposed [52, 77], since it does not really address the question of whether an algorithm would perform well under similar conditions but with different seeds. Furthermore, fixed seeds might benefit certain algorithms more than others. Nor can the problem be solved by the use of dichotomous statistical significance tests, as discussed in Section 2. ",
|
| 907 |
+
"bbox": [
|
| 908 |
+
174,
|
| 909 |
+
491,
|
| 910 |
+
825,
|
| 911 |
+
603
|
| 912 |
+
],
|
| 913 |
+
"page_idx": 9
|
| 914 |
+
},
|
| 915 |
+
{
|
| 916 |
+
"type": "text",
|
| 917 |
+
"text": "One way to minimize the risks associated with statistical effects is to report results in a more complete fashion, paying close attention to bias and uncertainty within these estimates. To this end, our recommendations are summarized in Table 1. To further support RL researchers in this endeavour, we released an easy-to-use Python library, rliable along with a Colab notebook for implementing our recommendations, as well as all the individual runs used in our experiments10. Again, we emphasize the importance of published papers providing results for all runs to allow for future statistical analyses. ",
|
| 918 |
+
"bbox": [
|
| 919 |
+
174,
|
| 920 |
+
608,
|
| 921 |
+
825,
|
| 922 |
+
693
|
| 923 |
+
],
|
| 924 |
+
"page_idx": 9
|
| 925 |
+
},
|
| 926 |
+
{
|
| 927 |
+
"type": "text",
|
| 928 |
+
"text": "A barrier to adoption of evaluation protocols proposed in this work, and more generally, rigorous evaluation, is whether there are clear incentives for researchers to do so, as more rigor generally entails more nuanced and tempered claims. Arguably, doing good and reproducible science is one such incentive. We hope that our findings about erroneous conclusions in published papers would encourage researchers to avoid fooling themselves, even if that requires tempered claims. That said, a more pragmatic incentive would be if conferences and reviewers required more rigorous evaluation for publication, e.g., NeurIPS 2021 checklist asks whether error bars are reported. Moving towards reliable evaluation is an ongoing process and we believe that this paper would greatly benefit it. ",
|
| 929 |
+
"bbox": [
|
| 930 |
+
174,
|
| 931 |
+
698,
|
| 932 |
+
825,
|
| 933 |
+
809
|
| 934 |
+
],
|
| 935 |
+
"page_idx": 9
|
| 936 |
+
},
|
| 937 |
+
{
|
| 938 |
+
"type": "text",
|
| 939 |
+
"text": "Given the substantial influence of statistical considerations in experiments involving 40-year old Atari 2600 video games and low-DOF robotic simulations, we argue that it is unlikely that an increase in available computation will resolve the problem for the future generation of RL benchmarks. Instead, just as a well-prepared rock-climber can skirt the edge of the steepest precipices, it seems likely that ongoing progress in reinforcement learning will require greater experimental discipline. ",
|
| 940 |
+
"bbox": [
|
| 941 |
+
174,
|
| 942 |
+
815,
|
| 943 |
+
825,
|
| 944 |
+
885
|
| 945 |
+
],
|
| 946 |
+
"page_idx": 9
|
| 947 |
+
},
|
| 948 |
+
{
|
| 949 |
+
"type": "text",
|
| 950 |
+
"text": "Societal Impacts ",
|
| 951 |
+
"text_level": 1,
|
| 952 |
+
"bbox": [
|
| 953 |
+
174,
|
| 954 |
+
89,
|
| 955 |
+
313,
|
| 956 |
+
107
|
| 957 |
+
],
|
| 958 |
+
"page_idx": 10
|
| 959 |
+
},
|
| 960 |
+
{
|
| 961 |
+
"type": "text",
|
| 962 |
+
"text": "This paper calls for statistical sophistication in deep RL research by accounting for statistical uncertainty in reported results. However, statistical sophistication can introduce new forms of statistical abuses and monitoring the literature for such abuses should be an ongoing priority for the research community. Moving towards reliable evaluation and reproducible research is an ongoing process and this paper only partly addresses it by providing tools for more reliable evaluation. That said, while accounting for uncertainty in results is not a panacea, it provides a strong foundation for trustworthy results on which the community can build upon, with increased confidence. In terms of broader societal impact of this work, we do not see any foreseeable strongly negative impacts. However, this paper could positively impact society by constituting a step forwards in rigorous few-run evaluation regime, which reduces computational burden on researchers and is “greener” than evaluating a large number of runs. ",
|
| 963 |
+
"bbox": [
|
| 964 |
+
174,
|
| 965 |
+
117,
|
| 966 |
+
825,
|
| 967 |
+
270
|
| 968 |
+
],
|
| 969 |
+
"page_idx": 10
|
| 970 |
+
},
|
| 971 |
+
{
|
| 972 |
+
"type": "text",
|
| 973 |
+
"text": "Acknowledgments ",
|
| 974 |
+
"text_level": 1,
|
| 975 |
+
"bbox": [
|
| 976 |
+
174,
|
| 977 |
+
287,
|
| 978 |
+
328,
|
| 979 |
+
304
|
| 980 |
+
],
|
| 981 |
+
"page_idx": 10
|
| 982 |
+
},
|
| 983 |
+
{
|
| 984 |
+
"type": "text",
|
| 985 |
+
"text": "We thank Xavier Bouthillier, Dumitru Erhan, Marlos C. Machado, David Ha, Fabio Viola, Fernando Diaz, Stephanie Chan, Jacob Buckman, Danijar Hafner and anonymous NeurIPS’ reviewers for providing valuable feedback for an earlier draft of this work. We also acknowledge Matteo Hessel, David Silver, Tom Schaul, Csaba Szepesvári, Hado van Hasselt, Rosanne Liu, Simon Kornblith, Aviral Kumar, George Tucker, Kevin Murphy, Ankit Anand, Aravind Srinivas, Matthew Botvinick, Clare Lyle, Kimin Lee, Misha Laskin, Ankesh Anand, Joelle Pineau and Braham Synder for helpful discussions. We also thank all the authors who provided individual runs for their corresponding publications. We are also grateful for general support from Google Research teams in Montréal and elsewhere. ",
|
| 986 |
+
"bbox": [
|
| 987 |
+
174,
|
| 988 |
+
315,
|
| 989 |
+
826,
|
| 990 |
+
439
|
| 991 |
+
],
|
| 992 |
+
"page_idx": 10
|
| 993 |
+
},
|
| 994 |
+
{
|
| 995 |
+
"type": "text",
|
| 996 |
+
"text": "References ",
|
| 997 |
+
"text_level": 1,
|
| 998 |
+
"bbox": [
|
| 999 |
+
174,
|
| 1000 |
+
460,
|
| 1001 |
+
266,
|
| 1002 |
+
476
|
| 1003 |
+
],
|
| 1004 |
+
"page_idx": 10
|
| 1005 |
+
},
|
| 1006 |
+
{
|
| 1007 |
+
"type": "text",
|
| 1008 |
+
"text": "[1] Rishabh Agarwal, Dale Schuurmans, and Mohammad Norouzi. An optimistic perspective on offline reinforcement learning. In International Conference on Machine Learning, 2020. \n[2] Valentin Amrhein, Sander Greenland, and Blake McShane. Scientists rise up against statistical significance. Nature, 2019. \n[3] Adrià Puigdomènech Badia, Bilal Piot, Steven Kapturowski, Pablo Sprechmann, Alex Vitvitskyi, Zhaohan Daniel Guo, and Charles Blundell. Agent57: Outperforming the atari human benchmark. In International Conference on Machine Learning, pages 507–517. PMLR, 2020. \n[4] Monya Baker. 1,500 scientists lift the lid on reproducibility. Nature News, 2016. \n[5] Marc G Bellemare, Yavar Naddaf, Joel Veness, and Michael Bowling. The arcade learning environment: An evaluation platform for general agents. Journal of Artificial Intelligence Research, 47:253–279, 2013. \n[6] Marc G Bellemare, Will Dabney, and Rémi Munos. A distributional perspective on reinforcement learning. In International Conference on Machine Learning, pages 449–458. PMLR, 2017. \n[7] Marc G Bellemare, Salvatore Candido, Pablo Samuel Castro, Jun Gong, Marlos C Machado, Subhodeep Moitra, Sameera S Ponda, and Ziyu Wang. Autonomous navigation of stratospheric balloons using reinforcement learning. Nature, 2020. \n[8] Christopher Berner, Greg Brockman, Brooke Chan, Vicki Cheung, Przemysław D˛ebiak, Christy Dennison, David Farhi, Quirin Fischer, Shariq Hashme, Chris Hesse, et al. Dota 2 with large scale deep reinforcement learning. arXiv preprint arXiv:1912.06680, 2019. \n[9] Peter J Bickel, Friedrich Götze, and Willem R van Zwet. Resampling fewer than n observations: gains, losses, and remedies for losses. In Selected works of Willem van Zwet, pages 267–297. Springer, 2012. \n[10] Mauro Birattari and Marco Dorigo. How to assess and report the performance of a stochastic algorithm on a benchmark problem: mean or best result on a number of runs? Optimization letters, 2007. \n[11] Xavier Bouthillier, César Laurent, and Pascal Vincent. Unreproducible research is reproducible. In International Conference on Machine Learning, pages 725–734, 2019. \n[12] Xavier Bouthillier, Pierre Delaunay, Mirko Bronzi, Assya Trofimov, Brennan Nichyporuk, Justin Szeto, Nazanin Mohammadi Sepahvand, Edward Raff, Kanika Madan, Vikram Voleti, et al. Accounting for variance in machine learning benchmarks. Proceedings of Machine Learning and Systems, 3, 2021. \n[13] James Bradbury, Roy Frostig, Peter Hawkins, Matthew James Johnson, Chris Leary, Dougal Maclaurin, George Necula, Adam Paszke, Jake VanderPlas, Skye Wanderman-Milne, and Qiao Zhang. JAX: composable transformations of Python $^ +$ NumPy programs, 2018. URL http://github.com/google/ jax. \n[14] Pablo Samuel Castro, Subhodeep Moitra, Carles Gelada, Saurabh Kumar, and Marc G Bellemare. Dopamine: A research framework for deep reinforcement learning. arXiv preprint arXiv:1812.06110, 2018. \n[15] Johan Samir Obando Ceron and Pablo Samuel Castro. Revisiting rainbow: Promoting more insightful and inclusive deep reinforcement learning research. In International Conference on Machine Learning, 2021. \n[16] Stephanie CY Chan, Samuel Fishman, Anoop Korattikara, John Canny, and Sergio Guadarrama. Measuring the reliability of reinforcement learning algorithms. In International Conference on Learning Representations, 2020. \n[17] Kaleigh Clary, Emma Tosch, John Foley, and David Jensen. Let’s play again: Variability of deep reinforcement learning agents in atari environments. arXiv preprint arXiv:1904.06312, 2019. \n[18] Karl Cobbe, Chris Hesse, Jacob Hilton, and John Schulman. Leveraging procedural generation to benchmark reinforcement learning. In International conference on machine learning, pages 2048–2056. PMLR, 2020. \n[19] Karl Cobbe, Jacob Hilton, Oleg Klimov, and John Schulman. Phasic policy gradient. arXiv preprint arXiv:2009.04416, 2020. \n[20] Cédric Colas, Olivier Sigaud, and Pierre-Yves Oudeyer. How many random seeds? statistical power analysis in deep reinforcement learning experiments. arXiv preprint arXiv:1806.08295, 2018. \n[21] Cédric Colas, Olivier Sigaud, and Pierre-Yves Oudeyer. A hitchhiker’s guide to statistical comparisons of reinforcement learning algorithms. arXiv preprint arXiv:1904.06979, 2019. \n[22] Will Dabney, Georg Ostrovski, David Silver, and Rémi Munos. Implicit quantile networks for distributional reinforcement learning. In International conference on machine learning, pages 1096–1105. PMLR, 2018. \n[23] Will Dabney, Mark Rowland, Marc G Bellemare, and Rémi Munos. Distributional reinforcement learning with quantile regression. In Thirty-Second AAAI Conference on Artificial Intelligence, 2018. \n[24] Mostafa Dehghani, Yi Tay, Alexey A Gritsenko, Zhe Zhao, Neil Houlsby, Fernando Diaz, Donald Metzler, and Oriol Vinyals. The benchmark lottery. arXiv preprint arXiv:2107.07002, 2021. \n[25] Jesse Dodge, Gabriel Ilharco, Roy Schwartz, Ali Farhadi, Hannaneh Hajishirzi, and Noah Smith. Finetuning pretrained language models: Weight initializations, data orders, and early stopping. arXiv preprint arXiv:2002.06305, 2020. \n[26] Elizabeth D Dolan and Jorge J Moré. Benchmarking optimization software with performance profiles. Mathematical programming, 91(2):201–213, 2002. \n[27] Rotem Dror, Segev Shlomov, and Roi Reichart. Deep dominance-how to properly compare deep neural models. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, 2019. \n[28] Adrien Ecoffet, Joost Huizinga, Joel Lehman, Kenneth O Stanley, and Jeff Clune. Go-explore: a new approach for hard-exploration problems. arXiv preprint arXiv:1901.10995, 2019. \n[29] Bradley Efron. Bootstrap methods: another look at the jackknife. The Annals of Statistics, 7:1–26, 1979. \n[30] Bradley Efron. Better bootstrap confidence intervals. Journal of the American statistical Association, 1987. \n[31] Damien Ernst, Pierre Geurts, and Louis Wehenkel. Tree-based batch mode reinforcement learning. Journal of Machine Learning Research, 6:503–556, 2005. \n[32] Lasse Espeholt, Hubert Soyer, Remi Munos, Karen Simonyan, Vlad Mnih, Tom Ward, Yotam Doron, Vlad Firoiu, Tim Harley, Iain Dunning, et al. Impala: Scalable distributed deep-rl with importance weighted actor-learner architectures. In International Conference on Machine Learning. PMLR, 2018. \n[33] Gerd Gigerenzer. Statistical rituals: The replication delusion and how we got there. Advances in Methods and Practices in Psychological Science, 1(2):198–218, 2018. \n[34] Steven N Goodman, Daniele Fanelli, and John PA Ioannidis. What does research reproducibility mean? Science translational medicine, 8(341):341ps12–341ps12, 2016. \n[35] Sander Greenland, Stephen J Senn, Kenneth J Rothman, John B Carlin, Charles Poole, Steven N Goodman, and Douglas G Altman. Statistical tests, p values, confidence intervals, and power: a guide to misinterpretations. European journal of epidemiology, 2016. \n[36] Tuomas Haarnoja, Aurick Zhou, Pieter Abbeel, and Sergey Levine. Soft actor-critic: Off-policy maximum entropy deep reinforcement learning with a stochastic actor. In International Conference on Machine Learning, pages 1861–1870. PMLR, 2018. \n[37] Danijar Hafner, Timothy Lillicrap, Jimmy Ba, and Mohammad Norouzi. Dream to control: Learning behaviors by latent imagination. In International Conference on Learning Representations, 2019. \n[38] Danijar Hafner, Timothy Lillicrap, Mohammad Norouzi, and Jimmy Ba. Mastering atari with discrete world models. arXiv preprint arXiv:2010.02193, 2020. \n[39] Steven Hansen, Will Dabney, Andre Barreto, David Warde-Farley, Tom Van de Wiele, and Volodymyr Mnih. Fast task inference with variational intrinsic successor features. In International Conference on Learning Representations, 2020. \n[40] Nathaniel E Helwig. Bootstrap Confidence Intervals, 01 2021. URL http://users.stat.umn.edu/ \\~helwig/notes/npboot-notes.html#bootstrap-confidence-intervals. \n[41] Peter Henderson, Riashat Islam, Philip Bachman, Joelle Pineau, Doina Precup, and David Meger. Deep reinforcement learning that matters. In Proceedings of the AAAI Conference on Artificial Intelligence, 2018. \n[42] Matteo Hessel, Joseph Modayil, Hado Van Hasselt, Tom Schaul, Georg Ostrovski, Will Dabney, Dan Horgan, Bilal Piot, Mohammad Azar, and David Silver. Rainbow: Combining improvements in deep reinforcement learning. In Proceedings of the AAAI Conference on Artificial Intelligence, 2018. \n[43] Matteo Hessel, Ivo Danihelka, Fabio Viola, Arthur Guez, Simon Schmitt, Laurent Sifre, Theophane Weber, David Silver, and Hado van Hasselt. Muesli: Combining improvements in policy optimization. Proceedings of the 38th International Conference on Machine Learning, 2021. \n[44] John PA Ioannidis. Why most published research findings are false. PLoS medicine, 2(8):e124, 2005. \n[45] Alex Irpan. Deep reinforcement learning doesn’t work yet. https://www.alexirpan.com/2018/02/ 14/rl-hard.html, 2018. \n[46] Riashat Islam, Peter Henderson, Maziar Gomrokchi, and Doina Precup. Reproducibility of benchmarked deep reinforcement learning tasks for continuous control. arXiv preprint arXiv:1708.04133, 2017. \n[47] Max Jaderberg, Volodymyr Mnih, Wojciech Marian Czarnecki, Tom Schaul, Joel Z Leibo, David Silver, and Koray Kavukcuoglu. Reinforcement learning with unsupervised auxiliary tasks. arXiv preprint arXiv:1611.05397, 2016. \n[48] Minqi Jiang, Ed Grefenstette, and Tim Rocktäschel. Prioritized level replay. International Conference on Machine Learning, 2021. \n[49] Scott Jordan, Yash Chandak, Daniel Cohen, Mengxue Zhang, and Philip Thomas. Evaluating the performance of reinforcement learning algorithms. In International Conference on Machine Learning, pages 4962–4973. PMLR, 2020. \n[50] Lukasz Kaiser, Mohammad Babaeizadeh, Piotr Milos, Blazej Osinski, Roy H Campbell, Konrad Czechowski, Dumitru Erhan, Chelsea Finn, Piotr Kozakowski, Sergey Levine, et al. Model-based reinforcement learning for atari. arXiv preprint arXiv:1903.00374, 2019. \n[51] Kacper Kielak. Do recent advancements in model-based deep reinforcement learning really improve data efficiency? arXiv preprint arXiv:2003.10181, 2020. \n[52] Sergey Kolesnikov and Oleksii Hrinchuk. Catalyst. rl: a distributed framework for reproducible rl research. arXiv preprint arXiv:1903.00027, 2019. \n[53] Ilya Kostrikov\\*, Denis Yarats\\*, and Rob Fergus. Image augmentation is all you need: Regularizing deep reinforcement learning from pixels. In International Conference on Learning Representations, 2021. \n[54] Piotr Kozakowski, Lukasz Kaiser, Henryk Michalewski, Afroz Mohiuddin, and Katarzyna Kanska. Q- ´ value weighted regression: Reinforcement learning with limited data. arXiv preprint arXiv:2102.06782, 2021. \n[55] Tejas D Kulkarni, Ankush Gupta, Catalin Ionescu, Sebastian Borgeaud, Malcolm Reynolds, Andrew Zisserman, and Volodymyr Mnih. Unsupervised learning of object keypoints for perception and control. NeurIPS, 32:10724–10734, 2019. \n[56] Michael Laskin, Aravind Srinivas, and Pieter Abbeel. Curl: Contrastive unsupervised representations for reinforcement learning. In International Conference on Machine Learning, 2020. \n[57] Misha Laskin, Kimin Lee, Adam Stooke, Lerrel Pinto, Pieter Abbeel, and Aravind Srinivas. Reinforcement learning with augmented data. Advances in Neural Information Processing Systems, 2020. \n[58] Alex Lee, Anusha Nagabandi, Pieter Abbeel, and Sergey Levine. Stochastic latent actor-critic: Deep reinforcement learning with a latent variable model. Advances in Neural Information Processing Systems, 33, 2020. \n[59] Kimin Lee, Michael Laskin, Aravind Srinivas, and Pieter Abbeel. Sunrise: A simple unified framework for ensemble learning in deep reinforcement learning. International Conference on Machine Learning, 2021. \n[60] Kuang-Huei Lee, Ian Fischer, Anthony Liu, Yijie Guo, Honglak Lee, John Canny, and Sergio Guadarrama. Predictive information accelerates learning in rl. Advances in Neural Information Processing Systems, 2020. \n[61] Haim Levy. Stochastic dominance and expected utility: Survey and analysis. Management science, 38(4): 555–593, 1992. \n[62] Timothy P Lillicrap, Jonathan J Hunt, Alexander Pritzel, Nicolas Heess, Tom Erez, Yuval Tassa, David Silver, and Daan Wierstra. Continuous control with deep reinforcement learning. arXiv preprint arXiv:1509.02971, 2015. \n[63] Jimmy Lin, Daniel Campos, Nick Craswell, Bhaskar Mitra, and Emine Yilmaz. Significant improvements over the state of the art? a case study of the ms marco document ranking leaderboard. arXiv preprint arXiv:2102.12887, 2021. \n[64] Guoqing Liu, Chuheng Zhang, Li Zhao, Tao Qin, Jinhua Zhu, Li Jian, Nenghai Yu, and Tie-Yan Liu. Return-based contrastive representation learning for reinforcement learning. In International Conference on Learning Representations, 2021. \n[65] Hao Liu and Pieter Abbeel. Behavior from the void: Unsupervised active pre-training. arXiv preprint arXiv:2103.04551, 2021. \n[66] Hao Liu and Pieter Abbeel. Aps: Active pretraining with successor features. In Proceedings of the 38th International Conference on Machine Learning, 2021. \n[67] Mario Lucic, Karol Kurach, Marcin Michalski, Sylvain Gelly, and Olivier Bousquet. Are gans created equal? a large-scale study. arXiv preprint arXiv:1711.10337, 2017. \n[68] Nicolai A Lynnerup, Laura Nolling, Rasmus Hasle, and John Hallam. A survey on reproducibility by evaluating deep reinforcement learning algorithms on real-world robots. In Conference on Robot Learning, 2020. \n[69] Marlos C Machado, Marc G Bellemare, Erik Talvitie, Joel Veness, Matthew Hausknecht, and Michael Bowling. Revisiting the arcade learning environment: Evaluation protocols and open problems for general agents. Journal of Artificial Intelligence Research, 2018. \n[70] Horia Mania, Aurelia Guy, and Benjamin Recht. Simple random search provides a competitive approach to reinforcement learning. arXiv preprint arXiv:1803.07055, 2018. \n[71] Henry B Mann and Donald R Whitney. On a test of whether one of two random variables is stochastically larger than the other. The annals of mathematical statistics, pages 50–60, 1947. \n[72] Muhammad Rizki Maulana and Wee Sun Lee. Ensemble and auxiliary tasks for data-efficient deep reinforcement learning. arXiv preprint arXiv:2107.01904, 2021. \n[73] Blakeley B McShane, David Gal, Andrew Gelman, Christian Robert, and Jennifer L Tackett. Abandon statistical significance. The American Statistician, 2019. \n[74] Gábor Melis, Chris Dyer, and Phil Blunsom. On the state of the art of evaluation in neural language models. In International Conference on Learning Representations, 2018. \n[75] Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A Rusu, Joel Veness, Marc G Bellemare, Alex Graves, Martin Riedmiller, Andreas K Fidjeland, Georg Ostrovski, et al. Human-level control through deep reinforcement learning. Nature, 2015. \n[76] Volodymyr Mnih, Adria Puigdomenech Badia, Mehdi Mirza, Alex Graves, Timothy Lillicrap, Tim Harley, David Silver, and Koray Kavukcuoglu. Asynchronous methods for deep reinforcement learning. In International conference on machine learning, pages 1928–1937. PMLR, 2016. \n[77] Prabhat Nagarajan, Garrett Warnell, and Peter Stone. Deterministic implementations for reproducibility in deep reinforcement learning. arXiv preprint arXiv:1809.05676, 2018. \n[78] Harold Pashler and Eric-Jan Wagenmakers. Editors’ introduction to the special section on replicability in psychological science: A crisis of confidence? Perspectives on psychological science, 7(6):528–530, 2012. \n[79] Joelle Pineau, Philippe Vincent-Lamarre, Koustuv Sinha, Vincent Larivière, Alina Beygelzimer, Florence d’Alché Buc, Emily Fox, and Hugo Larochelle. Improving reproducibility in machine learning research (a report from the neurips 2019 reproducibility program). arXiv preprint arXiv:2003.12206, 2020. \n[80] Roberta Raileanu and Rob Fergus. Decoupling value and policy for generalization in reinforcement learning. International Conference on Machine Learning, 2021. \n[81] Roberta Raileanu, Max Goldstein, Denis Yarats, Ilya Kostrikov, and Rob Fergus. Automatic data augmentation for generalization in deep reinforcement learning. arXiv preprint arXiv:2006.12862, 2020. \n[82] David Raposo, Sam Ritter, Adam Santoro, Greg Wayne, Theophane Weber, Matt Botvinick, Hado van Hasselt, and Francis Song. Synthetic returns for long-term credit assignment. arXiv preprint arXiv:2102.12425, 2021. \n[83] Ben Recht. Benchmarking Machine Learning with Performance Profiles, 03 2018. URL http://www. argmin.net/2018/03/26/performance-profiles/. \n[84] Nils Reimers and Iryna Gurevych. Reporting score distributions makes a difference: Performance study of lstm-networks for sequence tagging. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pages 338–348, 2017. \n[85] Samuel Ritter, David GT Barrett, Adam Santoro, and Matt M Botvinick. Cognitive psychology for deep neural networks: A shape bias case study. In International conference on machine learning, 2017. \n[86] Jan Robine, Tobias Uelwer, and Stefan Harmeling. Smaller world models for reinforcement learning. arXiv preprint arXiv:2010.05767, 2020. \n[87] David Romer. In praise of confidence intervals. In AEA Papers and Proceedings, volume 110, pages 55–60, 2020. \n[88] Tim Salimans, Jonathan Ho, Xi Chen, Szymon Sidor, and Ilya Sutskever. Evolution strategies as a scalable alternative to reinforcement learning. arXiv preprint arXiv:1703.03864, 2017. \n[89] Rohan Saphal, Balaraman Ravindran, Dheevatsa Mudigere, Sasikant Avancha, and Bharat Kaul. Seerl: Sample efficient ensemble reinforcement learning. In Proceedings of the 20th International Conference on Autonomous Agents and MultiAgent Systems, pages 1100–1108, 2021. \n[90] Tom Schaul, Georg Ostrovski, Iurii Kemaev, and Diana Borsa. Return-based scaling: Yet another normalisation trick for deep rl. arXiv preprint arXiv:2105.05347, 2021. \n[91] Julian Schrittwieser, Ioannis Antonoglou, Thomas Hubert, Karen Simonyan, Laurent Sifre, Simon Schmitt, Arthur Guez, Edward Lockhart, Demis Hassabis, Thore Graepel, et al. Mastering atari, go, chess and shogi by planning with a learned model. Nature, 2020. \n[92] John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017. [93] Max Schwarzer, Ankesh Anand, Rishab Goel, R Devon Hjelm, Aaron Courville, and Philip Bachman. Data-efficient reinforcement learning with self-predictive representations. In International Conference on Learning Representations, 2021. [94] Thibault Sellam, Steve Yadlowsky, Jason Wei, Naomi Saphra, Alexander D’Amour, Tal Linzen, Jasmijn Bastings, Iulia Turc, Jacob Eisenstein, Dipanjan Das, et al. The multiberts: Bert reproductions for robustness analysis. arXiv preprint arXiv:2106.16163, 2021. [95] Younggyo Seo, Lili Chen, Jinwoo Shin, Honglak Lee, Pieter Abbeel, and Kimin Lee. State entropy maximization with random encoders for efficient exploration. In Proceedings of the 38th International Conference on Machine Learning, 2021. [96] 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. [97] Samarth Sinha, Homanga Bharadhwaj, Aravind Srinivas, and Animesh Garg. D2rl: Deep dense architectures in reinforcement learning. arXiv preprint arXiv:2010.09163, 2020. [98] Aravind Srinivas, Michael Laskin, and Pieter Abbeel. Curl: Contrastive unsupervised representations for reinforcement learning. arXiv preprint arXiv:2004.04136v2, 2020. [99] Richard S Sutton. Learning to predict by the methods of temporal differences. Machine learning, 3(1): 9–44, 1988. \n[100] Richard S Sutton. Generalization in reinforcement learning: Successful examples using sparse coarse coding. Advances in neural information processing systems, 1996. \n[101] Richard S. Sutton and Andrew G. Barto. Reinforcement learning: An introduction. MIT Press, 2nd edition, 2018. \n[102] Richard S Sutton, Doina Precup, and Satinder Singh. Between mdps and semi-mdps: A framework for temporal abstraction in reinforcement learning. Artificial intelligence, 1999. \n[103] István Szita and András Lörincz. Learning tetris using the noisy cross-entropy method. Neural computation, 2006. \n[104] Yuval Tassa, Yotam Doron, Alistair Muldal, Tom Erez, Yazhe Li, Diego de Las Casas, David Budden, Abbas Abdolmaleki, Josh Merel, Andrew Lefrancq, et al. Deepmind control suite. arXiv preprint arXiv:1801.00690, 2018. \n[105] Marin Toromanoff, Emilie Wirbel, and Fabien Moutarde. Is deep reinforcement learning really superhuman on atari? leveling the playing field. arXiv preprint arXiv:1908.04683, 2019. \n[106] John W Tukey. A survey of sampling from contaminated distributions. Contributions to probability and statistics, pages 448–485, 1960. \n[107] Hado van Hasselt, Matteo Hessel, and John Aslanides. When to use parametric models in reinforcement learning? NeurIPS, 2019. \n[108] Gaël Varoquaux and Veronika Cheplygina. How i failed machine learning in medical imaging– shortcomings and recommendations. arXiv preprint arXiv:2103.10292, 2021. \n[109] Nino Vieillard, Olivier Pietquin, and Matthieu Geist. Munchausen reinforcement learning. Advances in Neural Information Processing Systems, 33, 2020. \n[110] Oriol Vinyals, Igor Babuschkin, Wojciech M Czarnecki, Michaël Mathieu, Andrew Dudzik, Junyoung Chung, David H Choi, Richard Powell, Timo Ewalds, Petko Georgiev, et al. Grandmaster level in starcraft ii using multi-agent reinforcement learning. Nature, 2019. \n[111] Kaixin Wang, Bingyi Kang, Jie Shao, and Jiashi Feng. Improving generalization in reinforcement learning with mixture regularization. arXiv preprint arXiv:2010.10814, 2020. \n[112] Ronald L. Wasserstein, Allen L. Schirm, and Nicole A. Lazar. Moving to a world beyond “p $< 0 . 0 5 '$ . The American Statistician, 2019. \n[113] Bernard L Welch. The generalization ofstudent’s’ problem when several different population variances are involved. Biometrika, 34(1/2):28–35, 1947. \n[114] Denis Yarats, Amy Zhang, Ilya Kostrikov, Brandon Amos, Joelle Pineau, and Rob Fergus. Improving sample efficiency in model-free reinforcement learning from images. arXiv preprint arXiv:1910.01741, 2019. \n[115] Jinhua Zhu, Yingce Xia, Lijun Wu, Jiajun Deng, Wengang Zhou, Tao Qin, and Houqiang Li. Masked contrastive representation learning for reinforcement learning. arXiv preprint arXiv:2010.07470, 2020. \n[116] Donglin Zhuang, Xingyao Zhang, Shuaiwen Leon Song, and Sara Hooker. Randomness in neural network training: Characterizing the impact of tooling. arXiv preprint arXiv:2106.11872, 2021. ",
|
| 1009 |
+
"bbox": [
|
| 1010 |
+
187,
|
| 1011 |
+
483,
|
| 1012 |
+
826,
|
| 1013 |
+
912
|
| 1014 |
+
],
|
| 1015 |
+
"page_idx": 10
|
| 1016 |
+
},
|
| 1017 |
+
{
|
| 1018 |
+
"type": "text",
|
| 1019 |
+
"text": "",
|
| 1020 |
+
"bbox": [
|
| 1021 |
+
178,
|
| 1022 |
+
71,
|
| 1023 |
+
828,
|
| 1024 |
+
919
|
| 1025 |
+
],
|
| 1026 |
+
"page_idx": 11
|
| 1027 |
+
},
|
| 1028 |
+
{
|
| 1029 |
+
"type": "text",
|
| 1030 |
+
"text": "",
|
| 1031 |
+
"bbox": [
|
| 1032 |
+
176,
|
| 1033 |
+
68,
|
| 1034 |
+
828,
|
| 1035 |
+
916
|
| 1036 |
+
],
|
| 1037 |
+
"page_idx": 12
|
| 1038 |
+
},
|
| 1039 |
+
{
|
| 1040 |
+
"type": "text",
|
| 1041 |
+
"text": "",
|
| 1042 |
+
"bbox": [
|
| 1043 |
+
176,
|
| 1044 |
+
60,
|
| 1045 |
+
828,
|
| 1046 |
+
917
|
| 1047 |
+
],
|
| 1048 |
+
"page_idx": 13
|
| 1049 |
+
},
|
| 1050 |
+
{
|
| 1051 |
+
"type": "text",
|
| 1052 |
+
"text": "",
|
| 1053 |
+
"bbox": [
|
| 1054 |
+
178,
|
| 1055 |
+
59,
|
| 1056 |
+
828,
|
| 1057 |
+
920
|
| 1058 |
+
],
|
| 1059 |
+
"page_idx": 14
|
| 1060 |
+
},
|
| 1061 |
+
{
|
| 1062 |
+
"type": "text",
|
| 1063 |
+
"text": "",
|
| 1064 |
+
"bbox": [
|
| 1065 |
+
171,
|
| 1066 |
+
73,
|
| 1067 |
+
828,
|
| 1068 |
+
916
|
| 1069 |
+
],
|
| 1070 |
+
"page_idx": 15
|
| 1071 |
+
},
|
| 1072 |
+
{
|
| 1073 |
+
"type": "text",
|
| 1074 |
+
"text": "",
|
| 1075 |
+
"bbox": [
|
| 1076 |
+
173,
|
| 1077 |
+
92,
|
| 1078 |
+
826,
|
| 1079 |
+
202
|
| 1080 |
+
],
|
| 1081 |
+
"page_idx": 16
|
| 1082 |
+
},
|
| 1083 |
+
{
|
| 1084 |
+
"type": "text",
|
| 1085 |
+
"text": "Checklist ",
|
| 1086 |
+
"text_level": 1,
|
| 1087 |
+
"bbox": [
|
| 1088 |
+
174,
|
| 1089 |
+
227,
|
| 1090 |
+
254,
|
| 1091 |
+
243
|
| 1092 |
+
],
|
| 1093 |
+
"page_idx": 16
|
| 1094 |
+
},
|
| 1095 |
+
{
|
| 1096 |
+
"type": "text",
|
| 1097 |
+
"text": "1. For all authors... ",
|
| 1098 |
+
"bbox": [
|
| 1099 |
+
214,
|
| 1100 |
+
253,
|
| 1101 |
+
339,
|
| 1102 |
+
267
|
| 1103 |
+
],
|
| 1104 |
+
"page_idx": 16
|
| 1105 |
+
},
|
| 1106 |
+
{
|
| 1107 |
+
"type": "text",
|
| 1108 |
+
"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] \n(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes] ",
|
| 1109 |
+
"bbox": [
|
| 1110 |
+
238,
|
| 1111 |
+
272,
|
| 1112 |
+
825,
|
| 1113 |
+
364
|
| 1114 |
+
],
|
| 1115 |
+
"page_idx": 16
|
| 1116 |
+
},
|
| 1117 |
+
{
|
| 1118 |
+
"type": "text",
|
| 1119 |
+
"text": "2. If you are including theoretical results... ",
|
| 1120 |
+
"bbox": [
|
| 1121 |
+
214,
|
| 1122 |
+
367,
|
| 1123 |
+
493,
|
| 1124 |
+
382
|
| 1125 |
+
],
|
| 1126 |
+
"page_idx": 16
|
| 1127 |
+
},
|
| 1128 |
+
{
|
| 1129 |
+
"type": "text",
|
| 1130 |
+
"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] ",
|
| 1131 |
+
"bbox": [
|
| 1132 |
+
238,
|
| 1133 |
+
386,
|
| 1134 |
+
738,
|
| 1135 |
+
417
|
| 1136 |
+
],
|
| 1137 |
+
"page_idx": 16
|
| 1138 |
+
},
|
| 1139 |
+
{
|
| 1140 |
+
"type": "text",
|
| 1141 |
+
"text": "3. If you ran experiments... ",
|
| 1142 |
+
"bbox": [
|
| 1143 |
+
212,
|
| 1144 |
+
422,
|
| 1145 |
+
393,
|
| 1146 |
+
436
|
| 1147 |
+
],
|
| 1148 |
+
"page_idx": 16
|
| 1149 |
+
},
|
| 1150 |
+
{
|
| 1151 |
+
"type": "text",
|
| 1152 |
+
"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] See Appendix A.1. \n(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] See Appendix A.2 \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] See Appendix A.2 ",
|
| 1153 |
+
"bbox": [
|
| 1154 |
+
238,
|
| 1155 |
+
440,
|
| 1156 |
+
825,
|
| 1157 |
+
573
|
| 1158 |
+
],
|
| 1159 |
+
"page_idx": 16
|
| 1160 |
+
},
|
| 1161 |
+
{
|
| 1162 |
+
"type": "text",
|
| 1163 |
+
"text": "4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets... ",
|
| 1164 |
+
"bbox": [
|
| 1165 |
+
215,
|
| 1166 |
+
577,
|
| 1167 |
+
825,
|
| 1168 |
+
592
|
| 1169 |
+
],
|
| 1170 |
+
"page_idx": 16
|
| 1171 |
+
},
|
| 1172 |
+
{
|
| 1173 |
+
"type": "text",
|
| 1174 |
+
"text": "(a) If your work uses existing assets, did you cite the creators? [Yes] \n(b) Did you mention the license of the assets? [Yes] Apache License, Version 2.0 \n(c) Did you include any new assets either in the supplemental material or as a URL? [Yes] \n(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [N/A] \n(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [N/A] ",
|
| 1175 |
+
"bbox": [
|
| 1176 |
+
238,
|
| 1177 |
+
595,
|
| 1178 |
+
823,
|
| 1179 |
+
704
|
| 1180 |
+
],
|
| 1181 |
+
"page_idx": 16
|
| 1182 |
+
},
|
| 1183 |
+
{
|
| 1184 |
+
"type": "text",
|
| 1185 |
+
"text": "5. If you used crowdsourcing or conducted research with human subjects... ",
|
| 1186 |
+
"bbox": [
|
| 1187 |
+
214,
|
| 1188 |
+
707,
|
| 1189 |
+
705,
|
| 1190 |
+
722
|
| 1191 |
+
],
|
| 1192 |
+
"page_idx": 16
|
| 1193 |
+
},
|
| 1194 |
+
{
|
| 1195 |
+
"type": "text",
|
| 1196 |
+
"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] ",
|
| 1197 |
+
"bbox": [
|
| 1198 |
+
238,
|
| 1199 |
+
727,
|
| 1200 |
+
825,
|
| 1201 |
+
815
|
| 1202 |
+
],
|
| 1203 |
+
"page_idx": 16
|
| 1204 |
+
}
|
| 1205 |
+
]
|
parse/train/uqv8-U4lKBe/uqv8-U4lKBe_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/uqv8-U4lKBe/uqv8-U4lKBe_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/vvi7KqHQiA/vvi7KqHQiA.md
ADDED
|
@@ -0,0 +1,289 @@
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Implicit Bias of SGD for Diagonal Linear Networks: a Provable Benefit of Stochasticity
|
| 2 |
+
|
| 3 |
+
Scott Pesme EPFL scott.pesme@epfl.ch
|
| 4 |
+
|
| 5 |
+
Loucas Pillaud-Vivien EPFL loucas.pillaud-vivien@epfl.ch
|
| 6 |
+
|
| 7 |
+
Nicolas Flammarion EPFL nicolas.flammarion@epfl.ch
|
| 8 |
+
|
| 9 |
+
# Abstract
|
| 10 |
+
|
| 11 |
+
Understanding the implicit bias of training algorithms is of crucial importance in order to explain the success of overparametrised neural networks. In this paper, we study the dynamics of stochastic gradient descent over diagonal linear networks through its continuous time version, namely stochastic gradient flow. We explicitly characterise the solution chosen by the stochastic flow and prove that it always enjoys better generalisation properties than that of gradient flow. Quite surprisingly, we show that the convergence speed of the training loss controls the magnitude of the biasing effect: the slower the convergence, the better the bias. To fully complete our analysis, we provide convergence guarantees for the dynamics. We also give experimental results which support our theoretical claims. Our findings highlight the fact that structured noise can induce better generalisation and they help explain the greater performances of stochastic gradient descent over gradient descent observed in practice.
|
| 12 |
+
|
| 13 |
+
# 1 Introduction
|
| 14 |
+
|
| 15 |
+
Understanding the performance of neural networks is certainly one of the most thrilling challenges for the current machine learning community. From the theoretical point of view, progress has been made in several directions: we have a better functional analysis description of neural networks [3] and we steadily understand the convergence of training algorithms [29, 10] as well as the role of initialisation [20, 12]. Yet there remain many unanswered questions. One of which is why do the currently used training algorithms converge to solutions which generalise well, and this with very little use of explicit regularisation [39].
|
| 16 |
+
|
| 17 |
+
To understand this phenomenon, the concept of implicit bias has emerged: if over-fitting is benign, it must be because the optimisation procedure converges towards some particular global minimum which enjoys good generalisation properties. Though no explicit regularisation is added, the algorithm is implicitly selecting a particular solution: this is referred to as the implicit bias of the training procedure. The implicit regularisation of several algorithms has been studied, the simplest and most emblematic being that of gradient descent and stochastic gradient descent in the least-squares framework: they both converge towards the global solution which has the lowest squared distance from the initialisation. For logistic regression on separable data, Soudry et al. show in the seminal paper [31] that gradient descent selects the max-margin classifier. This type of result has then been extended to neural networks and to other frameworks. Overall, characterising the implicit bias of gradient methods has almost always come down to unveiling mirror-descent like structures which underlie the algorithms.
|
| 18 |
+
|
| 19 |
+

|
| 20 |
+
Figure 1: Sparse regression with $n = 4 0$ , $d = 1 0 0$ , $\| \beta _ { \ell _ { 0 } } ^ { * } \| _ { 0 } = 5$ , $x _ { i } \sim \mathcal { N } ( 0 , I ) y _ { i } = x _ { i } ^ { \top } \beta _ { \ell _ { 0 } } ^ { * } .$ Left: for initialisation scale $\alpha = 0 . 0 5$ , SGD converges towards a solution which generalises better than GD. Right: for different values of the initialisation scale $\alpha$ , the solution recovered by SGD has better validation loss than that of GD. The sparsifying effect due to their implicit biases differ by more than an order of magnitude. See Section 5.1 for the precise experimental setup.
|
| 21 |
+
|
| 22 |
+
While mostly all of the results focus on gradient descent, it must be pointed out that this full batch algorithm is not used in practice for neural networks since it does not lead to solutions which generalise well [23]. Instead, results on stochastic gradient descent, which is widely used and shows impressive results, are still missing or unsatisfactory. This has certainly to do with the fact that grasping the nature of the noise induced by the stochasticity of the algorithm is particularly hard: it mixes properties from the model’s architecture, the data’s distribution and the loss. In our work, by focusing on simplified neural networks, we answer to the following fundamental questions: do SGD’s and GD’s implicit bias differ? What is the role of SGD’s noise over the algorithm’s implicit bias?
|
| 23 |
+
|
| 24 |
+
The simplified neural networks which we consider are diagonal linear neural networks; despite their simplicity they have become popular since they already enable to grasp the complexity of more general networks. Indeed, they highlight important aspects of the theoretical concerns of modern machine learning: the neural tangent kernel regime, the roles of over-parametrisation, of the initialisation and of the step size. For a regression problem where we assume the existence of an interpolating solution, we study stochastic gradient descent through its continuous version, namely stochastic gradient flow (SGF). Though the continuous modelling of SGD has not yet led to many fruitful results compared to the well studied gradient flow, we believe it is because capturing the essence of the stochastic noise is particularly difficult. It has generally been done in a non realistic and over simplified manner, such as considering constant and isotropic noise. In our work, we attach peculiar attention to the adequate modelling of the noise. Tools from Itô calculus are then leveraged in order to derive exact formulas, quantitative bounds and interesting interpretations for our problem.
|
| 25 |
+
|
| 26 |
+
# 1.1 Main contributions and paper organisation.
|
| 27 |
+
|
| 28 |
+
In Section 2, we start by introducing the setup of our problem as well as the continuous modelisation of stochastic gradient descent. Then, in Section 3, we state our main result on the implicit bias of the stochastic gradient flow. We informally formulate it here and illustrate it in Figure 1:
|
| 29 |
+
|
| 30 |
+
Theorem 1 (Informal). Stochastic gradient flow over diagonal linear networks converges with high probability to a zero-loss solution which enjoys better generalisation properties than the one obtained by gradient flow. Furthermore, the speed of convergence of the training loss controls the magnitude of the biasing effect: the slower the convergence, the better the bias.
|
| 31 |
+
|
| 32 |
+
Unlike previous works [14, 36], in addition to characterising the implicit bias effect of SGF, we also prove the convergence of the iterates towards a zero-loss solution with high-probability. To accomplish this, we leverage in Section 4 the fact that the iterates follow a stochastic continuous mirror descent with a time-varying potential. We support our results experimentally and validate our model in Section 5.
|
| 33 |
+
|
| 34 |
+
# 1.2 Related work
|
| 35 |
+
|
| 36 |
+
As recalled, implicit bias has a recent history that has been initiated by the seminal work [31] on max-margin classification with log-loss for a linear setup and separable data. This work has been extended to other architectures, e.g. multiplicative parametrisations [14], linear networks [22] and more general homogeneous neural networks [27, 11]. In [36] the authors show that the scale of the initialisation leads to an interpolation between the neural tangent kernel regime [20, 12] (which is a linear regression on fixed features) leading to $\ell _ { 2 }$ minimum norm solutions and the rich regimes leading to $\ell _ { 1 }$ minimum norm solutions. Note that these works focus on full batch gradient descent (or flow) and are deeply linked to mirror descent.
|
| 37 |
+
|
| 38 |
+
While the links between SGD’s stochasticity and generalisation have been looked into in numerous works [28, 21, 16, 18, 24], no such explicit characterisation of implicit regularisation have ever been given. It has been empirically observed that SGD often outputs models which generalise better than GD [23, 21, 16]. One suggested explanation is that SGD is prone to pick flatter solutions than GD and that bad generalisation solutions are correlated with sharp minima, i.e., with strong curvature, while good generalisation solutions are correlated with flat minima, i.e., with low curvature [17, 23]. This idea has been further investigated by adopting a random walk on random landscape modelling [18], by suggesting that SGD’s noise is smoothing the loss landscape, thus eliminating the sharp minima [24], by considering a dynamical stability perspective [38] or by interpreting SGD as a diffusion process [16, 21, 8]. Recently, label-noise has been shown to influence the implicit bias of SGD, by biasing the solution towards the origin for quadratically-parameterized models [15] or by implicitly regularising the expected squared norm of the gradient of the model with respect to the weights [5]. Thus, if the notion of implicit bias of GD is fairly well understood both in the cases of regression and classification, it remains unclear for SGD, and its explicit characterisation is missing.
|
| 39 |
+
|
| 40 |
+
The linear diagonal neural networks we consider have been studied in the case of gradient descent [33] and stochastic gradient descent with label noise [15]. In both cases the authors show that this model has the ability to implicitly bias the training procedure to help retrieve a sparse predictor. The link between gradient descent and mirror descent for this model has been initiated by [13] and further exploited by the same author in [37, 34] for its sparse inducing property.
|
| 41 |
+
|
| 42 |
+
Contrary to the deterministic case, the modelling of stochastic gradient descent as a stochastic differential equation is quite recent, see [28, 21]. However, as highlighted by [1], early attempts often suffer from the drawback that they model the noise using a constant covariance matrix. On the contrary, state dependant noise has now become the legitimate manner for modelling SGD as a stochastic gradient flow and it is shown in [26] that it can be done consistently. Yet, noise modelling still remains the principal issue [35] as it influences largely the behaviour of the dynamics [8, 9].
|
| 43 |
+
|
| 44 |
+
# 1.3 Notations
|
| 45 |
+
|
| 46 |
+
For input data $( x _ { 1 } , \ldots , x _ { n } ) \in ( \mathbb { R } ^ { d } ) ^ { n }$ and output $( y _ { 1 } , \dots , y _ { n } ) \in \mathbb { R } ^ { n }$ , we denote respectively $X \in$ $\mathbb { R } ^ { n \times d }$ the design matrix whose $i$ -th row is feature $x _ { i } \in \mathbb { R } ^ { d }$ and $y \in \mathbb { R } ^ { n }$ the vector of outputs. $\mathbb { R } _ { + } ^ { * }$ denotes the set of strictly positive real numbers. For $p = 1 , 2$ , the $\ell _ { p }$ -norm of $x \in \mathbb { R } ^ { d }$ is $\| x \| _ { p } ^ { p } =$ $\sum _ { i } ^ { d } | x _ { i } | ^ { p }$ . The operations $\odot$ will stand for coordinate-wise product between vector: $[ u \odot v ] _ { i } = u _ { i } v _ { i }$ and $u ^ { 2 } = u \odot u$ . For $p \in \mathbb { N } ^ { * }$ , we also define $u ^ { p } : = u \odot \ldots \odot u$ , the $p$ times product of $u$ with itself. All inequalities between vectors should be understood value by value. For $f , g \in \mathbb { R }$ , the existence of $C > 0$ such that $f \leq C g$ and $C g \leq f$ will be denoted $f \leq O ( g )$ and $\Omega ( g ) \leq f$ respectively. We shall use the symbole $\widetilde O$ when this is true up to log factors. For a vector $u \in \mathbb { R } ^ { d }$ , $\mathrm { d i a g } ( u )$ denotes the $d \times d$ diagonal matrix which has its diagonal equal to $u$ . For a matrix $M \in \mathbb { R } ^ { d \times d }$ , $\mathrm { d i a g } ( M )$ denotes the vector $( M _ { 1 1 } , \dots , M _ { d d } ) \in \mathbb { R } ^ { d }$ . The indexed vector $\beta ^ { * }$ will stand for any $\beta$ interpolating the data, i.e. any vector in the affine space $\{ \beta \in \mathbb { R } ^ { d } s . t$ , $X \beta = Y \}$ of dimension at least $d - n$ . Out of all these, let $\begin{array} { r l } { \beta _ { \ell _ { 1 } } ^ { * } = } & { { } \arg \operatorname* { m i n } \quad \| \beta \| _ { 1 } } \end{array}$ . For $z$ any vector, $z _ { \infty }$ or $z ^ { \infty }$ will always designate of $\operatorname* { l i m } _ { t \to \infty } z _ { t }$ . ${ \boldsymbol { \beta } } \in { \mathbb { R } } ^ { d }$ $X \beta { = } y$
|
| 47 |
+
|
| 48 |
+
# 2 Setup and preliminaries
|
| 49 |
+
|
| 50 |
+
# 2.1 Architecture and algorithm.
|
| 51 |
+
|
| 52 |
+
Overparametrised noiseless regression. We consider a linear regression problem with outputs $( y _ { 1 } , \dotsc , y _ { n } ) \in \mathbb { R } ^ { n }$ and inputs $( x _ { 1 } , \ldots , x _ { n } ) \in ( \mathbb { R } ^ { d } ) ^ { n }$ . We study an overparametrised setting $( n < d )$
|
| 53 |
+
|
| 54 |
+
and assume that there exists at least one interpolating parameter $\beta ^ { * } \in \mathbb { R } ^ { d }$ which perfectly fits the training set, i.e. $y _ { i } = \langle \beta ^ { * } , x _ { i } \rangle$ for all $1 \leq i \leq n$ . We parametrise the regression vector $\beta$ as $\beta _ { w }$ with $w \in \mathbb { R } ^ { p }$ . We will see that though in the end our final models $x \mapsto \langle \beta _ { w } , x \rangle$ are classical linear models whatever the parametrisation $w \mapsto \beta _ { w }$ , the choice of this parametrisation has crucial consequences on the solution recovered by the learning algorithms. We study the quadratic loss and the overall loss is written as:
|
| 55 |
+
|
| 56 |
+
$$
|
| 57 |
+
L ( w ) = L ( \beta _ { w } ) : = \frac { 1 } { 4 n } \sum _ { i = 1 } ^ { n } ( \langle \beta _ { w } , x _ { i } \rangle - y _ { i } ) ^ { 2 } = \frac { 1 } { 4 n } \sum _ { i = 1 } ^ { n } \langle \beta _ { w } - \beta ^ { * } , x _ { i } \rangle ^ { 2 } ,
|
| 58 |
+
$$
|
| 59 |
+
|
| 60 |
+
where by abuse of notation we use $L ( w ) = L ( \beta _ { w } )$ .
|
| 61 |
+
|
| 62 |
+
2-layer diagonal linear network. The simplest parametrisation of $\beta _ { w }$ is to consider $\beta _ { w } \ = \ w$ which corresponds to the classical least-squares framework. It is well known that in this case, many first order methods (GD, SGD, with and without momentum) will converge towards the same solution: we say that they have the same implicit bias. This is experimentally not the case for neural networks where SGD has been shown to lead to solutions which have better generalisation properties compared to GD [23]. To theoretically confirm this observation, we study a simple non-linear parametrisation: $\beta _ { w } = w _ { + } ^ { 2 } - w _ { - } ^ { 2 }$ with $w \doteq [ w _ { + } , w _ { - } ] ^ { \intercal } \in \mathbb { R } ^ { 2 d }$ . We point out that it is 2-positive homogeneous and that it is equivalent to the parametrisation $\beta _ { u , v } = u \odot v$ with $u , v \in \mathbb { R } ^ { d }$ . It should be thought of a simplified linear network of depth 2 (see [36, Section 4] for more details). We consider two weight vectors $w _ { + }$ and $w _ { - }$ (and not only $\beta _ { w } = w ^ { 2 }$ ) in order to ensure that our final linear predictor parameter $\beta _ { w }$ can take negative values. For the sake of completeness, the study of diagonal linear networks of arbitrary depth $p \geq 3$ is done in Appendix E.2. Also note that additionally to being a toy neural model, it has received recent attention for its practical ability to induce sparsity [33, 34, 15] or to solve phase retrieval problems [37].
|
| 63 |
+
|
| 64 |
+
Stochastic Gradient Descent. With this quadratic parametrisation, the loss now rewrites as: $\begin{array} { r } { L ( w ) = \frac { 1 } { 4 n } \sum _ { i = 1 } ^ { n } \langle w _ { + } ^ { 2 } - w _ { - } ^ { 2 } - \beta ^ { * } , x _ { i } \rangle ^ { 2 } } \end{array}$ . Note that despite its simplicity, this loss is non convex and its minimisation is non trivial. The algorithm we shall consider is the well known SGD algorithm, where for a step size $\gamma > 0$ :
|
| 65 |
+
|
| 66 |
+
$$
|
| 67 |
+
\begin{array} { r l } & { w _ { t + 1 , + } = w _ { t , + } - \gamma \langle \beta _ { w } - \beta ^ { * } , x _ { i _ { t } } \rangle x _ { i _ { t } } \odot w _ { t , + } } \\ & { w _ { t + 1 , - } = w _ { t , - } + \gamma \langle \beta _ { w } - \beta ^ { * } , x _ { i _ { t } } \rangle x _ { i _ { t } } \odot w _ { t , - } } \end{array} \qquad \mathrm { w h e r e } i _ { t } \sim \mathrm { U n i f } ( 1 , n ) .
|
| 68 |
+
$$
|
| 69 |
+
|
| 70 |
+
It is convenient to rewrite this recursion as
|
| 71 |
+
|
| 72 |
+
$$
|
| 73 |
+
w _ { t + 1 , \pm } = w _ { t , \pm } - \gamma \nabla _ { w _ { \pm } } L ( w _ { t } ) \pm \gamma \mathrm { d i a g } ( w _ { t , \pm } ) X ^ { \top } \xi _ { i _ { t } } ( \beta _ { t } ) ,
|
| 74 |
+
$$
|
| 75 |
+
|
| 76 |
+
where $\xi _ { i _ { t } } ( \beta ) = - \big ( \langle \beta - \beta ^ { * } , x _ { i _ { t } } \rangle \mathbf { e } _ { i _ { t } } - \mathbb { E } _ { i _ { t } } \big [ \langle \beta - \beta ^ { * } , x _ { i _ { t } } \rangle \mathbf { e } _ { i _ { t } } \big ] \big ) \in \mathbb { R } ^ { n }$ is a zero-mean multiplicative noise which vanishes at any global optimum $\mathrm { i } \mathbf { e } _ { i }$ denotes the $i ^ { \mathrm { { t h } } }$ element of the canonical basis). We point out that all the results we shall give hold for any initialisation such that $w _ { t = 0 , + } = w _ { t = 0 , - } \in \mathbb { R } ^ { d }$ , under which we have that $\beta _ { w _ { t = 0 } } = 0$ . To understand under what conditions the SGD procedure converges and towards which point it does, we shall consider its continuous counterpart which has the advantage of leading to clean and intuitive calculations. We highlight the fact that we consider a bath-size equal to 1 for clarity, however all our analysis holds for mini-batch SGD (with and without replacement) simply by considering an effective step-size $\gamma _ { \mathrm { e f f } }$ instead of $\gamma$ , this is clearly explained in Appendix A.
|
| 77 |
+
|
| 78 |
+
# 2.2 Stochastic gradient flow
|
| 79 |
+
|
| 80 |
+
Continuous time modelling of sequential processes offer a large set of tools, such as derivation, which come in helpful to understand the dynamics of the processes. This has led to a large part of the recent literature to consider continuous gradient flow in order and understand the behaviour of gradient descent on complicated architectures such as neural nets. However, the continuous time modelling of stochastic gradient descent is more challenging: it requires to add on top of the gradient flow a diffusion term whose covariance matches the one of SGD. Hence, it is fundamental to understand its structure and scale.
|
| 81 |
+
|
| 82 |
+
Understanding the noise’s structure. As seen in equation (2), evaluated at $w _ { \pm }$ , the stochastic noise $\gamma \mathrm { d i a g } ( \tilde { w _ { \pm } } ) X ^ { \top } \xi _ { i _ { t } } ( w )$ has two main characteristics which we want to preserve:
|
| 83 |
+
|
| 84 |
+
$$
|
| 85 |
+
\begin{array} { r } { \ast \Sigma _ { \mathrm { s o p } } ( w _ { \pm } ) : = \gamma ^ { 2 } \dim ( w _ { \pm } ) X ^ { \top } \mathbf { C o v } _ { i _ { t } } ( \xi _ { i _ { t } } ( \beta ) ) X \operatorname { d i a g } ( w _ { \pm } ) \in \mathbb { R } ^ { d \times d } } \end{array}
|
| 86 |
+
$$
|
| 87 |
+
|
| 88 |
+
It remains to understand the structure of the covariance of $\xi _ { i _ { t } }$ which has the following closed form: $\begin{array} { r } { \mathrm { C o v } _ { i _ { t } } \big ( \xi _ { i _ { t } } ( \beta ) \big ) = \frac { 1 } { n } \operatorname { d i a g } \big ( \langle \beta - \beta ^ { * } , x _ { i } \rangle ^ { 2 } \big ) _ { 1 \leq i \leq n } - \frac { 1 } { n ^ { 2 } } \big ( \langle \beta - \beta ^ { * } , x _ { i } \rangle \langle \beta - \beta ^ { * } , x _ { j } \rangle \big ) _ { 1 < i , i < n } } \end{array}$ . We identify the two key facts: (i) it is diagonal at the leading $n ^ { - 1 }$ order and (ii) its trace is linked to the loss as $\begin{array} { r } { \operatorname { V a r } _ { i _ { t } } ( \| \dot { \xi } _ { i _ { t } } ( \beta ) \| _ { 2 } ) = \frac { 4 } { n } L ( \beta ) + O ( \frac { 1 } { n ^ { 2 } } ) } \end{array}$ . This leads us in modelling $\xi _ { i _ { t } } ( \beta )$ ’s covariance matrix as $\textstyle { \frac { 4 } { n } } L ( \beta ) I _ { n }$ as it preserves these two characteristics 1. Finally this brings us to consider the following modelling of the overall noise’s structure: $\begin{array} { r } { \Sigma _ { \scriptscriptstyle \mathrm { S G D } } ( w _ { \pm } ) \cong \frac { 4 } { n } \gamma ^ { 2 } L ( w ) [ \mathrm { d i a g } ( w _ { \pm } ) X ^ { \top } ] ^ { \otimes 2 } } \end{array}$ .
|
| 89 |
+
|
| 90 |
+
Stochastic differentiable equation modelling. Guided by the previous considerations, we study the following stochastic gradient flow:
|
| 91 |
+
|
| 92 |
+
$$
|
| 93 |
+
\begin{array} { r l } & { \mathrm { d } w _ { t , + } = - \nabla _ { w _ { + } } L ( w _ { t } ) \mathrm { d } t + 2 \sqrt { \gamma n ^ { - 1 } L ( w _ { t } ) } w _ { t , + } \odot [ X ^ { \top } \mathrm { d } B _ { t } ] } \\ & { \mathrm { d } w _ { t , - } = - \nabla _ { w _ { - } } L ( w _ { t } ) \mathrm { d } t - 2 \sqrt { \gamma n ^ { - 1 } L ( w _ { t } ) } w _ { t , - } \odot [ X ^ { \top } \mathrm { d } B _ { t } ] , } \end{array}
|
| 94 |
+
$$
|
| 95 |
+
|
| 96 |
+
where $\mathrm { d } B _ { t }$ is a standard $\mathbb { R } ^ { n }$ Brownian motion. The SDE is a perturbed gradient flow with a diffusion term that is defined such that its Euler discretisation with step size $\gamma$ leads to a Markov Chain whose covariance exactly matches SGD’s noise covariance $\Sigma _ { \mathrm { s g D } } ( w _ { \pm } )$ . We refer to [26] or [25] for the technical details regarding consistency of such a procedure in the limit of small step sizes. This stochastic differential equation is the starting point of the analysis.
|
| 97 |
+
|
| 98 |
+
# 3 The implicit bias of the stochastic gradient flow
|
| 99 |
+
|
| 100 |
+
Implicit bias and hyperbolic entropy. To understand the relevance of the main result and how stochasticity induces a preferable bias, we start by recalling some known results for gradient flow. In [36] it is shown, assuming global convergence, that the solution selected by the gradient flow initialised at $\alpha \in \mathbb { R } ^ { d }$ and denoted $\beta _ { \infty } ^ { \alpha }$ solves a constrained optimisation problem involving the hyperbolic entropy introduced by [13]:
|
| 101 |
+
|
| 102 |
+
$$
|
| 103 |
+
\beta _ { \infty } ^ { \alpha } = \operatorname * { a r g m i n } _ { \beta \in \mathbb { R } ^ { d } } \operatorname* { m i n } _ { s . t . X \beta = y } \phi _ { \alpha } ( \beta ) : = \frac { 1 } { 4 } \big [ \sum _ { i = 1 } ^ { d } \beta _ { i } \mathrm { a r c s i n h } ( \frac { \beta _ { i } } { 2 \alpha _ { i } ^ { 2 } } ) - \sqrt { \beta _ { i } ^ { 2 } + 4 \alpha _ { i } ^ { 4 } } \big ] ,
|
| 104 |
+
$$
|
| 105 |
+
|
| 106 |
+
Though the hyperbolic entropy function has a non-trivial expression, its principal characteristic is $\ell _ { 1 }$ nd thand $\ell _ { 2 }$ $\alpha$ precisely for. We refer to $\begin{array} { r } { \tau \in \mathbb { R } ^ { 2 } \colon \dot { \phi _ { \alpha } } ( \beta ) \underset { \alpha \to 0 } { \sim } \frac { 1 } { 2 } \ln \left( \frac { 1 } { \alpha } \right) \| \bar { \beta } \| _ { 1 } } \end{array}$ $\begin{array} { r } { \bar { \phi _ { \alpha } ( \beta ) } \underset { \alpha \to + \infty } { = } - \frac { 1 } { 2 } \bar { \alpha ^ { 2 } } + \frac { 1 } { 1 6 \alpha ^ { 2 } } \| \beta \| _ { 2 } ^ { 2 } + o ( \alpha ^ { - 2 } ) . } \end{array}$ [36, Theorem 2] for more details on the asymptotic analysis. The implicit optimisation problem (4) therefore highlights the fact that the initialisation scale of the weights controls the shape of the recovered solution. Small initialisations lead to low $\ell _ { 1 }$ -norm solutions which are known to induce good generalisation properties: this is what is often referred to as the rich regime. Large initialisations lead to low $\ell _ { 2 }$ -norm solutions: this is referred to as the kernel regime or lazy regime in which the weights move only very slightly. The dynamics of the gradient flow are then very similar to the one of kernel linear regression with the kernel depending on the initialisation [20, 12]. Overall, to retrieve a sparse solution, one should initialise with the smallest $\alpha$ possible. However, as is clearly explained in [36], it is important to stress out that there is a generalisation $/$ optimisation tradeoff: the point $w = 0$ happens to be a saddle point for the loss and a smaller $\alpha$ will lead to a longer training time.
|
| 107 |
+
|
| 108 |
+
Main result. In the main theorem we show that, for an initialisation scale $\alpha$ , the stochasticity of SGF biases the flow towards solutions which still minimise the hyperbolic entropy. However, what is remarkable is that it does so with an effective parameter $\alpha _ { \infty }$ which is strictly smaller than $\alpha$ . The recovered solution therefore minimises an optimisation problem which has better sparsity inducing properties than that of gradient flow.
|
| 109 |
+
|
| 110 |
+
Theorem 1. For $\begin{array} { l } { p \ \leq \ \frac { 1 } { 2 } } \end{array}$ and $w _ { 0 , \pm } = \alpha \in ( \mathbb { R } _ { + } ^ { * } ) ^ { d }$ , let $( w _ { t } ) _ { t \geq 0 }$ follow the stochastic gradient flow (3) with step size $\begin{array} { r } { \gamma \leq O \big ( \big [ \ln ( \frac { 4 } { p } ) \lambda _ { \operatorname* { m a x } } \operatorname* { m a x } \{ \| \beta _ { \ell _ { 1 } } ^ { * } \| _ { 1 } \ln \big ( \frac { \| \beta _ { \ell _ { 1 } } ^ { * } \| _ { 1 } } { \operatorname* { m i n } _ { i } \alpha _ { i } ^ { 2 } } \big ) , \| \alpha \| _ { 2 } ^ { 2 } \} \big ] ^ { - 1 } \big ) } \end{array}$ where $\beta _ { \ell _ { 1 } } ^ { * } =$ arg min $\| \beta \| _ { 1 }$ and $\lambda _ { \mathrm { m a x } }$ is the largest eigenvalue of $X ^ { \top } X / n$ . Then, with probability at least $1 - p$ : $\beta \in \mathbb { R } ^ { d } \ s . t . \ X \beta = y$
|
| 111 |
+
|
| 112 |
+
• $( \beta _ { t } ) _ { t \geq 0 }$ converges towards a zero-training error solution $\beta _ { \infty } ^ { \alpha }$
|
| 113 |
+
|
| 114 |
+
• the solution $\beta _ { \infty } ^ { \alpha }$ satisfies
|
| 115 |
+
|
| 116 |
+
$$
|
| 117 |
+
\beta _ { \infty } ^ { \alpha } = \underset { \beta \in \mathbb { R } ^ { d } } { \arg \operatorname* { m i n } } \quad \phi _ { \alpha _ { \infty } } ( \beta ) \quad w h e r e \quad \alpha _ { \infty } = \alpha \odot \exp \left( - 2 \gamma \dim \operatorname { g } \left( \frac { X ^ { \top } X } { n } \right) \int _ { 0 } ^ { + \infty } L ( \beta _ { s } ) \mathrm { d } s \right) .
|
| 118 |
+
$$
|
| 119 |
+
|
| 120 |
+
The theorem is three-fold: with high probability and for an explicit choice of constant step size $\gamma$ , (i) the flow $( \beta _ { t } ) _ { t \geq 0 }$ converges, (ii) its limit $\beta _ { \infty } ^ { \alpha }$ is an interpolating solution, i.e. $X \beta _ { \infty } ^ { \alpha } = y$ , (iii) this solution minimises the hyperbolic entropy problem with a parameter that depends on the dynamics. We illustrate these results in Figure 2. Now let us comment further the theorem.
|
| 121 |
+
|
| 122 |
+

|
| 123 |
+
Figure 2: Sparse regression (see Section 5.1 for the detailed experimental setting). Both SGD and GD are initialised at $\alpha = 0 . 1$ . 2 different runs of SGD over the training set are performed, they differ due to the inner stochasticity of the algorithm. Left: GD and SGD both converge towards a global minimum. Middle and right: for two different trajectories of SGD, the higher the value of the loss integral at convergence, the better the validation loss. In both cases SGD converges towards a solution which generalises better than GD. This figure illustrates Theorem 1.
|
| 124 |
+
|
| 125 |
+
Beneficial implicit bias through effective initialisation. The most remarkable aspect of the result is that the recovered solution $\beta _ { \infty } ^ { \alpha }$ minimises the same potential as for gradient flow but with an effective parameter $\alpha _ { \infty }$ which is strictly smaller than $\alpha$ . Hence, the hyperbolic entropy is closer to the $\ell _ { 1 }$ norm compared to the deterministic case, proving a systematic benefit of stochasticity. Note that this effective parameter is random and controlled by the loss integral $\begin{array} { r l } { \int _ { 0 } ^ { + \infty } L ( \beta _ { s } ) \mathrm { d } s , } \end{array}$ : the higher the integral, the smaller the effective initialisation scale. In other words and quite surprisingly, the slower the loss converges to 0, the “richer” the implicit bias. However, it must be kept in mind that, as explained in [36], there is a tension between generalisation and optimisation: a longer training time might improve generalisation but comes at the cost of... a longer training time. Yet it is clear experimentally that SGD systematically largely wins the trade-off over GD (see Figure 2). Interestingly, Problem (5) tells us that the implicit bias of SGD initialised at $\alpha$ acts as if we run GD initialised at $\alpha _ { \infty }$ (see Section 5.3). Note that the minimisation problem (5) only makes sense $a$ posteriori since the quantity $\alpha _ { \infty }$ depends on the whole stochastic trajectory. Finally, an interesting question is whether one can quantify the scale of this beneficial phenomenon, i.e. how small $\alpha _ { \infty }$ is compared to $\alpha$ . To answer this, we quantify the scale of the loss integral w.r.t. $\gamma$ and $\alpha$ (see Proposition 3) and show under slightly stronger conditions that the relative scale $\alpha _ { \infty } / \alpha$ decays as power of $\alpha$ (See Eq. (8) of the main text and Proposition 6 of the appendix for a proof).
|
| 126 |
+
|
| 127 |
+
Kernel regime. Though it is less our focus, our result still holds as $\alpha + \infty$ which corresponds to the kernel regime. In this regime, we believe that $\begin{array} { r } { \int _ { 0 } ^ { + \infty } L ( \beta _ { s } ) \mathrm { d } s \underset { \alpha \infty } { } 0 } \end{array}$ (not shown in the paper but experimentally observed) and hence SGF and GF converge towards the same solution. This is expected since in the NTK regime, the iterates follow a kernel linear regression for which the bias of SGF and GF are the same.
|
| 128 |
+
|
| 129 |
+
Step size. Note that the convergence of the iterates holds for a constant step size. This is not illogical since in the overparametrised setting, the noise vanishes at the optimum (see [32] for a convergence result in the overparametrised least-squares setup). The explicit formula for the $\gamma$ upper bound is $\begin{array} { r } { \gamma \leq \left( 4 0 0 \ln \left( \frac { 4 } { p } \right) \lambda _ { \operatorname* { m a x } } \big ( \frac { X ^ { \top } X } { n } \big ) \operatorname* { m a x } \left\{ \| \beta _ { \ell _ { 1 } } ^ { * } \| _ { 1 } \ln \left( \sqrt { 2 } \frac { \| \beta _ { \ell _ { 1 } } ^ { * } \| _ { 1 } } { \operatorname* { m i n } _ { i } \alpha _ { i } ^ { 2 } } \right) , \| \alpha \| _ { 2 } ^ { 2 } \right\} \right) ^ { - 1 } } \end{array}$ . It has a classical dependence on $\lambda _ { \operatorname* { m a x } } ( X ^ { \top } X / n )$ which can be computed, but also on the unknown value of $\| \beta _ { \ell _ { 1 } } ^ { * } \| _ { 1 }$ . However in practice we choose the highest value of $\gamma$ for which the iterates converge. Note that in practice the weights are often initialised such that $\| \alpha \| _ { 2 } ^ { 2 }$ is roughly equal to 1 and hence it is sensible to consider $\| \alpha \| _ { 2 } ^ { 2 } < \| \beta _ { \ell _ { 1 } } ^ { * } \| _ { 1 }$ . In the explicit bound, there is a $\ln \left( \lVert \boldsymbol { \beta } _ { \ell _ { 1 } } ^ { * } \rVert _ { 1 } / \operatorname* { m i n } _ { i } \alpha _ { i } ^ { 2 } \right) ^ { - 1 }$ factor, we believe that it is an artefact of our analysis and could be removed. It is hence best to think of the upperbound on $\gamma$ to simply be $\begin{array} { r } { \gamma \le O ( \frac { 1 } { \lambda _ { \operatorname* { m a x } } \| \beta _ { \ell _ { 1 } } ^ { * } \| _ { 1 } } ) } \end{array}$ .
|
| 130 |
+
|
| 131 |
+
Convergence and proof sketch. Let us put emphasis on the fact that since we deal with a nonconvex problem, neither convergence nor convergence towards a global minimum are obvious. In most of similar works, convergence of the iterates is assumed [36, 14]. In fact, the hardest and most technical part of our result is to show the convergence of the flow with high probability: once the convergence is shown, describing the minimisation problem $\beta _ { \infty } ^ { \alpha }$ verifies is straightforward. In the following section we give several properties which constitute the major keys of the theorem’s proof.
|
| 132 |
+
|
| 133 |
+
# 4 Links with mirror descent
|
| 134 |
+
|
| 135 |
+
The aim of this section is to show that the sequence $( \beta _ { t } ) _ { t \geq 0 }$ follows a stochastic version of continuous mirror descent with a time dependent mirror. From this crucial property, we show how the convergence and implicit bias characterisation follow. Finally, as it is one of the central objects of our main theorem, we give an estimation of $\int _ { 0 } ^ { \infty } L ( \beta _ { s } ) \mathrm { d } s$ .
|
| 136 |
+
|
| 137 |
+
# 4.1 Stochastic continuous mirror descent with time-varying potential
|
| 138 |
+
|
| 139 |
+
We start by recalling known results on the link between implicit bias and mirror descent. We recall also convergence guarantees for mirror descent dynamics.
|
| 140 |
+
|
| 141 |
+
Mirror descent: convergence and implicit bias. For any $\beta _ { 0 } \in \mathbb { R } ^ { d }$ and convex potential function $\Psi$ , consider the mirror descent flow $( \beta _ { t } ) _ { t }$ which corresponds to $\mathrm { d } \nabla \Psi ( \beta _ { t } ) = - \bar { \nabla L } ( \beta _ { t } ) \mathrm { d } t$ . Though the convergence of the loss to 0 is straightforward, showing the convergence of the iterates requires more work and is shown in [4, Theorem 2] for strongly convex potentials. Yet, once the convergence of the iterates is shown, deriving the implicit minimisation problem is straightforward. We recall the reasoning here (see Section 3 of [2] for more details): integrating the flow yields $\nabla \Psi ( \beta _ { \infty } ) -$ $\begin{array} { r } { \nabla \Psi ( \beta _ { 0 } ) = - \int _ { 0 } ^ { \infty } \nabla L ( \beta _ { s } ) \mathrm { d } s = - 4 X ^ { \top } \int _ { 0 } ^ { \infty } X ( \beta _ { s } - \beta _ { \infty } ) \mathrm { d } s \in \mathrm { s p a n } ( X ) } \end{array}$ . This condition, along with the fact that $X \beta _ { \infty } = y$ exactly corresponds to the KKT conditions of the problem:
|
| 142 |
+
|
| 143 |
+
$$
|
| 144 |
+
\beta _ { \infty } = \underset { \beta \in \mathbb { R } ^ { d } \mathrm { ~ s . t . ~ } X \beta = y } { \arg \operatorname* { m i n } } D _ { \Psi } ( \beta , \beta _ { 0 } ) ,
|
| 145 |
+
$$
|
| 146 |
+
|
| 147 |
+
where $D _ { \Psi } ( \beta , \beta _ { 0 } ) = \Psi ( \beta ) - \Psi ( \beta _ { 0 } ) - \langle \nabla \Psi ( \beta _ { 0 } ) , \beta - \beta _ { 0 } \rangle$ is the Bregman divergence w.r.t. $\Psi$ .
|
| 148 |
+
|
| 149 |
+
Link with our model. It turns out that these general observations on mirror descent apply to our framework when $( w _ { t } ) _ { t }$ follows the gradient flow $\mathrm { d } w _ { t , \pm } = - \nabla _ { w _ { \pm } } L ( w _ { t } ) \mathrm { d } t$ . Indeed it has been shown in [36] that the corresponding iterates $\beta _ { t } = w _ { t , + } ^ { 2 } - w _ { t , - } ^ { 2 }$ follow a mirror descent with potential $\phi _ { \alpha }$ defined in Eq.(4). Therefore we can apply the previous remarks to obtain the convergence towards an interpolator3, as well as the associated implicit minimisation problem which in our case can be rewritten as $\beta _ { \infty } ^ { \alpha } = \arg \operatorname* { m i n } \quad \phi _ { \alpha } ( \beta )$ since $\nabla \phi _ { \alpha } ( \beta _ { 0 } = 0 ) = 0$ .
|
| 150 |
+
$\beta \in \mathbb { R } ^ { d }$ s.t. $X \beta { = } y$
|
| 151 |
+
|
| 152 |
+
Stochastic Mirror descent with a time varying potential. To address the problem where $( w _ { t } ) _ { t }$ follows a stochastic gradient flow instead of a gradient flow, it is natural, as in the deterministic framework, to see what type of flow $( \beta _ { t } ) _ { t }$ follows. Because of the noise, we cannot hope to simply recover a classical mirror descent. However interestingly the next property shows that it follows a stochastic mirror-like descent with a geometry that depends on time.
|
| 153 |
+
|
| 154 |
+
Proposition 1. Consider the iterates $( w _ { t } ) _ { t \geq 0 }$ issued from the stochastic gradient flow in Eq.(3) with initialisation $w _ { 0 , \pm } = \alpha \in ( \mathbb { R } _ { + } ^ { * } ) ^ { d }$ . Then the corresponding flow $( \beta _ { t } ) _ { t \geq 0 }$ follows a “stochastic continuous mirror descent with time varying potential” defined by:
|
| 155 |
+
|
| 156 |
+
$$
|
| 157 |
+
\mathrm { d } \nabla \phi _ { \alpha _ { t } } ( \beta _ { t } ) = - \nabla L ( \beta _ { t } ) \mathrm { d } t + \sqrt { \gamma n ^ { - 1 } L ( \beta _ { t } ) } \boldsymbol { X } ^ { \top } \mathrm { d } \boldsymbol { B } _ { t } ,
|
| 158 |
+
$$
|
| 159 |
+
|
| 160 |
+
where $\begin{array} { r } { \alpha _ { t } = \alpha \odot \exp \left( - 2 \gamma \operatorname { d i a g } \left( \frac { X ^ { \top } X } { n } \right) \int _ { 0 } ^ { t } L ( \beta _ { s } ) \mathrm { d } s \right) } \end{array}$ and $\phi _ { \alpha }$ is the hyperbolic entropy defined in (4).
|
| 161 |
+
|
| 162 |
+
Under this form we clearly see that the iterates $( \beta _ { t } ) _ { t }$ follow a flow which closely resembles that of mirror descent but with two major differences: (i) the potential $\phi _ { \alpha _ { t } }$ changes over time according to the random quantity $\int _ { 0 } ^ { t } L ( \beta _ { s } ) \mathrm { d } s$ , (ii) the flow is perturbed by noise. We highlight the fact that viewing the dynamics this way has the major advantage of giving a clear roadmap for the proof of Theorem 1: (i) we can adapt classical mirror-descent results to our framework and construct appropriate Lyapunov functions to prove the convergence of the flow with high probability to some interpolator $\beta _ { \infty } ^ { \alpha }$ , (ii) we immediately recover the corresponding minimisation problem as in the deterministic case. Indeed, integrating Eq.(7) still yields $\nabla \phi _ { \alpha _ { \infty } } ( \beta _ { \infty } ^ { \alpha } ) \in \mathrm { s p a n } ( X )$ which, along with $X \beta _ { \infty } ^ { \alpha } = y$ , are the KKT conditions of the implicit minimisation problem (5). We emphasise the fact that the structure of the noise, belonging to $\operatorname { s p a n } ( X )$ , is crucial in order to obtain this minimisation problem. This would for instance clearly not be true if we considered isotropic noise in the SDE modelling. This highlights the fact that not every form of noise improves the implicit bias: the shape of the intrinsic SGD noise is of primal importance [15].
|
| 163 |
+
|
| 164 |
+
# 4.2 Convergence and control of $\int _ { 0 } ^ { \infty } L ( \beta _ { s } ) \mathrm { d } s$
|
| 165 |
+
|
| 166 |
+
Though it seems easy to derive the implicit minimisation problem (5) from the mirror-like structure of Eq.(7), it is necessary to ensure that the iterates converge towards an interpolator $\beta _ { \infty }$ . This is the purpose of the following proposition.
|
| 167 |
+
|
| 168 |
+
Proposition 2 (Convergence of the iterates). Consider the iterates $( w _ { t } ) _ { t \geq 0 }$ issued from the stochastic gradient flow (3), initialised at $w _ { 0 , \pm } = \alpha \in ( \mathbb { R } _ { + } ^ { * } ) ^ { d }$ . For $\begin{array} { r } { p \leq \frac { 1 } { 2 } } \end{array}$ and $\gamma$ such as in Theorem $^ { l }$ , then with probability at least $1 - p ,$ the flow $( \beta _ { t } ) _ { t }$ converges to an interpolating solution $\beta _ { \infty } ^ { \alpha }$ .
|
| 169 |
+
|
| 170 |
+
The convergence of the iterates is technical and requires several intermediate results. We start by considering an appropriate Bregman-type stochastic function with a time-varying potential and show that it converges with high probability. Leveraging the fact that we are able to bound the iterates $\beta _ { t }$ , we are able to show that the limit of the function is in fact 0. Owing to the fact that the function we consider also controls the distance of $\beta _ { t }$ to a particular $\beta ^ { * }$ we finally get that the iterates converge.
|
| 171 |
+
|
| 172 |
+
However for the objects (such as $\alpha _ { \infty }$ ) and functions we introduce to be well defined, we need to guarantee the convergence of $\int _ { 0 } ^ { \infty } L ( \beta _ { s } ) \mathrm { d } s$ . Besides, it is crucial to grasp the scale of this quantity since it gives the overall scale of $\alpha _ { \infty }$ . This is done in the following proposition where we lower and upper bound its value.
|
| 173 |
+
|
| 174 |
+
Proposition 3. Under the same setting as in Proposition 2 with initialisation $w _ { 0 , \pm } = \alpha \mathbf { 1 }$ , we have with probability at least $1 - p$ :
|
| 175 |
+
|
| 176 |
+
$$
|
| 177 |
+
\Omega \Big ( \| \beta _ { \ell _ { 1 } } ^ { * } \| _ { 1 } \ln \Big ( \frac { \| \beta _ { \ell _ { 1 } } ^ { * } \| _ { 1 } } { \alpha ^ { 2 } } \Big ) \Big ) \underset { \alpha \to 0 } { \leqslant } \int _ { 0 } ^ { + \infty } L ( \beta _ { s } ) { \mathrm { d } } s \leqslant O \Big ( \operatorname* { m a x } \big \{ \| \beta _ { \ell _ { 1 } } ^ { * } \| _ { 1 } \ln \Big ( \frac { \| \beta _ { \ell _ { 1 } } ^ { * } \| _ { 1 } } { \alpha ^ { 2 } } \Big ) , \alpha ^ { 2 } d \big \} \Big ) .
|
| 178 |
+
$$
|
| 179 |
+
|
| 180 |
+
We point out that the lower bound is given for small $\alpha$ ’s for simplicity but we provide in Lemma 7 (Appendix B.5) a lower bound which holds for all $\alpha$ ’s. Note that when $\gamma = 0$ , which corresponds to deterministic gradient flow, we can give the exact value for the integral: $\begin{array} { r } { \int _ { 0 } ^ { + \infty } L ( \beta _ { s } ) \mathrm { d } s = } \end{array}$ $\begin{array} { c l c r } { \frac { 1 } { 2 } D _ { \phi _ { \alpha } } \big ( \beta _ { \infty } ^ { \alpha } , \beta _ { 0 } \big ) } \end{array}$ (see Proposition 7 in Appendix C). This matches the scale of the bounds given in Proposition 3, hence showing the tightness of the result. We focus now on how this translates to the scale of the effective initialisation w.r.t. $\alpha$ when this latter is small enough. In fact, this lower bound on the integral of the loss along with a stronger assumption on the boundedness of the iterates lead to
|
| 181 |
+
|
| 182 |
+
$$
|
| 183 |
+
\frac { \alpha _ { \infty } } { \alpha } \underset { \alpha 0 } { \leqslant } ( \frac { \alpha ^ { 2 } } { \| \beta _ { \ell _ { 1 } } ^ { * } \| _ { 1 } } ) ^ { \zeta } ,
|
| 184 |
+
$$
|
| 185 |
+
|
| 186 |
+
for some $\zeta > 0$ . Hence the smaller the initialisation scale $\alpha$ and the greater the benefit of SGD over GD in terms of implicit bias (see Appendix B.6 for more details).
|
| 187 |
+
|
| 188 |
+
Again, the proof of this proposition is technical and relies on considering appropriate Lyapunov functions which highly resemble to Bregman divergences, but which take into account the fact that the geometry changes over time. These overall decreasing Lyapunov’s enable to bound the iterates as well as lower and upper bound the integral of the loss. The stochastic integrals which naturally appear are controlled with high probability using time-uniform concentration of martingales [19].
|
| 189 |
+
|
| 190 |
+
# 5 Experiments
|
| 191 |
+
|
| 192 |
+
# 5.1 Experimental setup for sparse regression
|
| 193 |
+
|
| 194 |
+
We consider the following sparse regression setup for our experiments. We choose $n = 4 0$ , $d = 1 0 0$ and randomly generate a sparse model $\beta _ { \ell _ { 0 } } ^ { \ast }$ such that $\| \beta _ { \ell _ { 0 } } ^ { * } \| _ { 0 } = 5$ . We generate the features as $x _ { i } \sim \mathcal { N } ( 0 , I )$ and the labels as $y _ { i } = x _ { i } ^ { \top } \beta _ { \ell _ { 0 } } ^ { * }$ . SGD, GD and the SGF are always initialised using the same scale $\alpha > 0$ and it is specified each time. We use the same step size for GD and SGD and choose it to be the biggest as possible why still ensuring convergence. Note that since the true population covariance $\mathbb { E } [ x x ^ { \top } ]$ is equal to identity, the quantity $\lVert \beta _ { t } - \beta _ { \ell _ { 0 } } ^ { * } \rVert _ { 2 } ^ { 2 }$ corresponds to the validation loss.
|
| 195 |
+
|
| 196 |
+
# 5.2 Validation of the SDE model
|
| 197 |
+
|
| 198 |
+
In this section, we present an experimental validation of the stochastic gradient flow model. In Figure 3, for the same step size, we run: (i) the trajectory of gradient descent, (ii) 5 trajectories of stochastic gradient descent that correspond to different realisations of the uniform sampling over the data, (iii) 5 trajectories of the stochastic gradient flow (its Euler discretisation with $\mathrm { d } t = \gamma / 1 0 $ )) corresponding to different realisations of the Brownian. We clearly see (left) that the loss behaves similarly for SGD and SGF across time. We also see that the validation losses (right) of the iterates of SGD and SGF have very similar behaviours. This tends to validate our continuous modelling from Section 2.2.
|
| 199 |
+
|
| 200 |
+

|
| 201 |
+
Figure 3: Sparse regression (see Section 5.1 for the detailed experimental setup). Left and right: the training and the validation losses behave very similarly, corroborating the continuous modelling.
|
| 202 |
+
|
| 203 |
+
# 5.3 GD and SGD have the same implicit bias, but from different initialisations.
|
| 204 |
+
|
| 205 |
+
In order to confirm and illustrate the main Theorem 1, we provide the following experiment which is illustrated Figure 4. We first run GD and SGD with the same step-size and initialise them both at $\alpha \mathbf { 1 }$ with $\alpha ~ = ~ 0 . 0 1$ . As expected, the solution recovered by SGD generalises better. Then, using the iterates $\beta _ { t } ^ { \mathrm { S G D } }$ from the first SGD run, we compute the value $\begin{array} { r } { \alpha _ { \infty } = \alpha \exp ( - 2 \gamma \operatorname { d i a g } ( X ^ { \top } X / n ) \int _ { 0 } ^ { \infty } L ( \beta _ { s } ^ { \mathrm { S G D } } ) \mathrm { d } s ) \in \mathbb { R } ^ { d } } \end{array}$ (the integral is approximated by its discrete time approximation with $\mathrm { d } t = \gamma$ ). We then run gradient descent but this time initialised at $w _ { 0 , \pm } = \alpha _ { \infty }$ . According to our main result from Theorem 1, it should approximately (it would be exact if we ran SGF and GF) converge to the same solution as SGD initialised at $\alpha \mathbf { 1 }$ . This is clearly observed Figure 4 (right). Also note that SGD and GD (initialised at $\alpha _ { \infty }$ ) seem to have overall very similar dynamics, this is not shown by our results and we leave this as future work. However keep in mind that though the validation losses converge at the same iteration rate, in terms of computation time, SGD is $n$ times faster.
|
| 206 |
+
|
| 207 |
+

|
| 208 |
+
Figure 4: Sparse regression (see Section 5.1 for the detailed experimental setup). Left and right: SGD initialised at $\alpha \mathbf { 1 }$ converges towards the same point as GD initialised at $\begin{array} { r l } { \alpha _ { \infty } } & { { } = } \end{array}$ $\begin{array} { r } { \tilde { \alpha \exp ( - 2 \gamma \operatorname { d i a g } ( X ^ { \top } X / n ) \int _ { 0 } ^ { \infty } { { L } ( \beta _ { s } ^ { \mathrm { { S G } \tilde { D } } } ) \mathrm { { d } } s } ) } } \end{array}$ .
|
| 209 |
+
|
| 210 |
+
# 5.4 Doping the implicit bias with label noise
|
| 211 |
+
|
| 212 |
+
As largely discussed throughout the paper, the effect of the implicit bias is controlled by the convergence speed of the loss: the slower it converges, the sparser the selected solution will be. Hence the following question: can we leverage this knowledge to dope the implicit bias? We argue in this Section that the answer to this question is affirmative. Indeed, consider a sequence $( \delta _ { t } ) _ { t \in \mathbb { N } } \overline { { \in } } { \mathbb { R } } _ { + } ^ { \mathbb { N } }$ and assume that we artificially inject some label noise $\Delta _ { t }$ at time $t$ , say for example $\Delta _ { t } \sim \mathrm { U n i f } \{ 2 \delta _ { t } , - 2 \delta _ { t } \}$ (independently from $i _ { t }$ ). This injected label noise perturbs the SGD recursion as follows:
|
| 213 |
+
|
| 214 |
+
$$
|
| 215 |
+
w _ { t + 1 , \pm } = w _ { t , \pm } \mp \gamma \left( \langle \beta _ { w } - \beta ^ { * } , x _ { i _ { t } } \rangle + \Delta _ { t } \right) x _ { i _ { t } } \odot w _ { t , + } ,
|
| 216 |
+
$$
|
| 217 |
+
|
| 218 |
+
As in Section 2.2, we can derive its related stochastic gradient flow (see Appendix D.1 for more details):
|
| 219 |
+
|
| 220 |
+
$$
|
| 221 |
+
\mathrm { d } w _ { t , \pm } = - \nabla _ { w _ { \pm } } L ( w _ { t } ) \mathrm { d } t \pm 2 \sqrt { \gamma n ^ { - 1 } ( L ( w _ { t } ) + \delta _ { t } ^ { 2 } ) } w _ { t , + } \odot [ X ^ { \top } \mathrm { d } B _ { t } ] .
|
| 222 |
+
$$
|
| 223 |
+
|
| 224 |
+
Assuming that $( \delta _ { t } ) _ { t \geq 0 } \in ( \mathbb { R } _ { + } ) ^ { \mathbb { R } }$ and $\gamma$ are such that the iterates converge, the corresponding implicit regularisation minimisation problem is preserved but with a "slowed down" loss: $\tilde { L } ( \beta _ { t } ) : = L ( \beta _ { t } ) + \delta _ { t } ^ { 2 }$ and the effective initialisation writes: $\begin{array} { r } { \tilde { \alpha } _ { \infty } = \alpha \odot \exp \left( - 2 \gamma \mathrm { d i a g } ( \frac { X ^ { \top } X } { n } ) \int _ { 0 } ^ { + \infty } \tilde { L } ( \beta _ { s } ) \mathrm { d } s \right) } \end{array}$ . The label noise therefore helps recovering a solution which has better sparsity properties. However, it must be kept in mind that adding too much label noise can significantly slow down the convergence of the validation loss or even prevent the iterates from converging. Yet, experimental results showing the impressive effect of label noise are provided Figure 5 in Appendix D.1.
|
| 225 |
+
|
| 226 |
+
# 6 Conclusion and Perspectives
|
| 227 |
+
|
| 228 |
+
In this paper, we have shown the benefit of using stochastic gradient descent over gradient descent for diagonal linear networks in terms of their implicit bias. Indeed, we prove that stochastic gradient flow acts as gradient flow but initialised at a smaller scale: this induces a sparser finale iterate. This effect is controlled by the speed of convergence of the loss. Moreover, we prove the convergence of the flow and exhibit an interesting link with mirror descent. Fully understanding this novel type of dynamics could help to grasp the implicit biasing properties of stochastic gradient descent in other frameworks. It is also natural to ask whether the integral of the loss also controls the difference of implicit regularisation for more general architectures. It would also be interesting to analyse how this property adapts to log losses known to lead to max-margin solutions in classification.
|
| 229 |
+
|
| 230 |
+
Acknowledgements. NF would like to thank Nathan Srebro for introducing him to the question of SGD’s implicit bias as well as for the stimulating discussions they had during his visit at EPFL.
|
| 231 |
+
|
| 232 |
+
References
|
| 233 |
+
[1] Alnur Ali, Edgar Dobriban, and Ryan Tibshirani. The implicit regularization of stochastic gradient flow for least squares. In International Conference on Machine Learning, pages 233–244. PMLR, 2020.
|
| 234 |
+
[2] Shahar Azulay, Edward Moroshko, Mor Shpigel Nacson, Blake Woodworth, Nathan Srebro, Amir Globerson, and Daniel Soudry. On the implicit bias of initialization shape: Beyond infinitesimal mirror descent. arXiv preprint arXiv:2102.09769, 2021.
|
| 235 |
+
[3] Francis Bach. Breaking the curse of dimensionality with convex neural networks. Journal of Machine Learning Research, 18(19):1–53, 2017.
|
| 236 |
+
[4] Heinz H Bauschke, Jérôme Bolte, and Marc Teboulle. A descent lemma beyond lipschitz gradient continuity: first-order methods revisited and applications. Mathematics of Operations Research, 42(2):330–348, 2017.
|
| 237 |
+
[5] Guy Blanc, Neha Gupta, Gregory Valiant, and Paul Valiant. Implicit regularization for deep neural networks driven by an ornstein-uhlenbeck like process. In Conference on learning theory, pages 483–513. PMLR, 2020.
|
| 238 |
+
[6] Stéphane Boucheron, Gábor Lugosi, and Pascal Massart. Concentration inequalities: A nonasymptotic theory of independence. Oxford university press, 2013.
|
| 239 |
+
[7] Ioannis Chatzigeorgiou. Bounds on the lambert function and their application to the outage analysis of user cooperation. IEEE Communications Letters, 17(8):1505–1508, 2013.
|
| 240 |
+
[8] Pratik Chaudhari and Stefano Soatto. Stochastic gradient descent performs variational inference, converges to limit cycles for deep networks. In 2018 Information Theory and Applications Workshop (ITA), pages 1–10. IEEE, 2018.
|
| 241 |
+
[9] Xiang Cheng, Dong Yin, Peter Bartlett, and Michael Jordan. Stochastic gradient and Langevin processes. In Proceedings of the 37th International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pages 1810–1819. PMLR, 13–18 Jul 2020.
|
| 242 |
+
[10] Lénaïc Chizat and Francis Bach. On the global convergence of gradient descent for overparameterized models using optimal transport. In Advances in Neural Information Processing Systems, volume 31. Curran Associates, Inc., 2018.
|
| 243 |
+
[11] Lenaic Chizat and Francis Bach. Implicit bias of gradient descent for wide two-layer neural networks trained with the logistic loss. In Conference on Learning Theory, pages 1305–1338. PMLR, 2020.
|
| 244 |
+
[12] Lénaïc Chizat, Edouard Oyallon, and Francis Bach. On lazy training in differentiable programming. In Advances in Neural Information Processing Systems, volume 32. Curran Associates, Inc., 2019.
|
| 245 |
+
[13] Udaya Ghai, Elad Hazan, and Yoram Singer. Exponentiated gradient meets gradient descent. In Proceedings of the 31st International Conference on Algorithmic Learning Theory, volume 117 of Proceedings of Machine Learning Research, pages 386–407, San Diego, California, USA, 08 Feb–11 Feb 2020. PMLR.
|
| 246 |
+
[14] Suriya Gunasekar, Jason Lee, Daniel Soudry, and Nathan Srebro. Characterizing implicit bias in terms of optimization geometry. In International Conference on Machine Learning, pages 1832–1841. PMLR, 2018.
|
| 247 |
+
[15] Jeff Z HaoChen, Colin Wei, Jason D Lee, and Tengyu Ma. Shape matters: Understanding the implicit bias of the noise covariance. arXiv preprint arXiv:2006.08680, 2020.
|
| 248 |
+
[16] Fengxiang He, Tongliang Liu, and Dacheng Tao. Control batch size and learning rate to generalize well: Theoretical and empirical evidence. In Advances in Neural Information Processing Systems, volume 32, 2019.
|
| 249 |
+
[17] Sepp Hochreiter and Jürgen Schmidhuber. Flat minima. Neural Comput., 9(1):1–42, jan 1997.
|
| 250 |
+
|
| 251 |
+
[18] Elad Hoffer, Itay Hubara, and Daniel Soudry. Train longer, generalize better: Closing the generalization gap in large batch training of neural networks. In Proceedings of the 31st International Conference on Neural Information Processing Systems, NIPS’17, page 1729–1739, 2017.
|
| 252 |
+
|
| 253 |
+
[19] Steven R. Howard, Aaditya Ramdas, Jon McAuliffe, and Jasjeet Sekhon. Time-uniform Chernoff bounds via nonnegative supermartingales. Probability Surveys, 17(none):257 – 317, 2020. doi: 10.1214/18-PS321.
|
| 254 |
+
|
| 255 |
+
[20] Arthur Jacot, Franck Gabriel, and Clement Hongler. Neural tangent kernel: Convergence and generalization in neural networks. In Advances in Neural Information Processing Systems, volume 31. Curran Associates, Inc., 2018.
|
| 256 |
+
|
| 257 |
+
[21] Stanislaw Jastrzebski, Zac Kenton, Devansh Arpit, Nicolas Ballas, Asja Fischer, Amos Storkey, and Yoshua Bengio. Three factors influencing minima in SGD. In International Conference on Learning Representations, 2018.
|
| 258 |
+
|
| 259 |
+
[22] Ziwei Ji and Matus Telgarsky. Gradient descent aligns the layers of deep linear networks. In International Conference on Learning Representations, 2019.
|
| 260 |
+
|
| 261 |
+
[23] Nitish Shirish Keskar, Dheevatsa Mudigere, Jorge Nocedal, Mikhail Smelyanskiy, and Ping Tak Peter Tang. On large-batch training for deep learning: Generalization gap and sharp minima. In International Conference on Learning Representations, 2017.
|
| 262 |
+
|
| 263 |
+
[24] Bobby Kleinberg, Yuanzhi Li, and Yang Yuan. An alternative view: When does SGD escape local minima? In Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pages 2698–2707. PMLR, 10–15 Jul 2018.
|
| 264 |
+
|
| 265 |
+
[25] Peter E Kloeden and Eckhard Platen. Stochastic differential equations. In Numerical Solution of Stochastic Differential Equations, pages 103–160. Springer, 1992.
|
| 266 |
+
|
| 267 |
+
[26] Qianxiao Li, Cheng Tai, and Weinan E. Stochastic modified equations and dynamics of stochastic gradient algorithms i: Mathematical foundations. Journal of Machine Learning Research, 20(40):1–47, 2019.
|
| 268 |
+
|
| 269 |
+
[27] Kaifeng Lyu and Jian Li. Gradient descent maximizes the margin of homogeneous neural networks. In International Conference on Learning Representations, 2020.
|
| 270 |
+
|
| 271 |
+
[28] Stephan Mandt, Matthew D. Hoffman, and David M. Blei. A variational analysis of stochastic gradient algorithms. In Proceedings of the 33rd International Conference on International Conference on Machine Learning - Volume 48, ICML’16, page 354–363, 2016.
|
| 272 |
+
|
| 273 |
+
[29] Song Mei, Andrea Montanari, and Phan-Minh Nguyen. A mean field view of the landscape of two-layer neural networks. Proceedings of the National Academy of Sciences, 115(33): E7665–E7671, 2018.
|
| 274 |
+
|
| 275 |
+
[30] Daniel Revuz and Marc Yor. Continuous martingales and Brownian motion, volume 293. Springer Science & Business Media, 2013.
|
| 276 |
+
|
| 277 |
+
[31] Daniel Soudry, Elad Hoffer, Mor Shpigel Nacson, Suriya Gunasekar, and Nathan Srebro. The implicit bias of gradient descent on separable data. The Journal of Machine Learning Research, 19(1):2822–2878, 2018.
|
| 278 |
+
|
| 279 |
+
[32] Aditya Varre, Loucas Pillaud-Vivien, and Nicolas Flammarion. Last iterate convergence of sgd for least-squares in the interpolation regime. 2021.
|
| 280 |
+
|
| 281 |
+
[33] Tomas Vaškevicius, Varun Kanade, and Patrick Rebeschini. Implicit regularization for optimal ˇ sparse recovery. arXiv preprint arXiv:1909.05122, 2019.
|
| 282 |
+
|
| 283 |
+
[34] Tomas Vaskevicius, Varun Kanade, and Patrick Rebeschini. The statistical complexity of earlystopped mirror descent. In Advances in Neural Information Processing Systems, volume 33, pages 253–264. Curran Associates, Inc., 2020.
|
| 284 |
+
|
| 285 |
+
[35] Stephan Wojtowytsch. Stochastic gradient descent with noise of machine learning type. Part I: Discrete time analysis, 2021.
|
| 286 |
+
[36] Blake Woodworth, Suriya Gunasekar, Jason D Lee, Edward Moroshko, Pedro Savarese, Itay Golan, Daniel Soudry, and Nathan Srebro. Kernel and rich regimes in overparametrized models. In Conference on Learning Theory, pages 3635–3673. PMLR, 2020.
|
| 287 |
+
[37] Fan Wu and Patrick Rebeschini. A continuous-time mirror descent approach to sparse phase retrieval. In Advances in Neural Information Processing Systems, volume 33, pages 20192– 20203. Curran Associates, Inc., 2020.
|
| 288 |
+
[38] Lei Wu, Chao Ma, and Weinan E. How SGD selects the global minima in over-parameterized learning: A dynamical stability perspective. In Advances in Neural Information Processing Systems, volume 31, 2018.
|
| 289 |
+
[39] Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning requires rethinking generalization. In 5th International Conference on Learning Representations, ICLR 2017, Toulon, France, April 24-26, 2017, Conference Track Proceedings. OpenReview.net, 2017.
|
parse/train/vvi7KqHQiA/vvi7KqHQiA_content_list.json
ADDED
|
@@ -0,0 +1,1394 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Implicit Bias of SGD for Diagonal Linear Networks: a Provable Benefit of Stochasticity ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
186,
|
| 8 |
+
122,
|
| 9 |
+
816,
|
| 10 |
+
172
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Scott Pesme EPFL scott.pesme@epfl.ch ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
251,
|
| 19 |
+
233,
|
| 20 |
+
418,
|
| 21 |
+
275
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Loucas Pillaud-Vivien EPFL loucas.pillaud-vivien@epfl.ch ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
495,
|
| 30 |
+
233,
|
| 31 |
+
745,
|
| 32 |
+
275
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Nicolas Flammarion EPFL nicolas.flammarion@epfl.ch ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
385,
|
| 41 |
+
290,
|
| 42 |
+
611,
|
| 43 |
+
332
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Abstract ",
|
| 50 |
+
"text_level": 1,
|
| 51 |
+
"bbox": [
|
| 52 |
+
462,
|
| 53 |
+
367,
|
| 54 |
+
535,
|
| 55 |
+
383
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "Understanding the implicit bias of training algorithms is of crucial importance in order to explain the success of overparametrised neural networks. In this paper, we study the dynamics of stochastic gradient descent over diagonal linear networks through its continuous time version, namely stochastic gradient flow. We explicitly characterise the solution chosen by the stochastic flow and prove that it always enjoys better generalisation properties than that of gradient flow. Quite surprisingly, we show that the convergence speed of the training loss controls the magnitude of the biasing effect: the slower the convergence, the better the bias. To fully complete our analysis, we provide convergence guarantees for the dynamics. We also give experimental results which support our theoretical claims. Our findings highlight the fact that structured noise can induce better generalisation and they help explain the greater performances of stochastic gradient descent over gradient descent observed in practice. ",
|
| 62 |
+
"bbox": [
|
| 63 |
+
233,
|
| 64 |
+
397,
|
| 65 |
+
766,
|
| 66 |
+
578
|
| 67 |
+
],
|
| 68 |
+
"page_idx": 0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"type": "text",
|
| 72 |
+
"text": "1 Introduction ",
|
| 73 |
+
"text_level": 1,
|
| 74 |
+
"bbox": [
|
| 75 |
+
174,
|
| 76 |
+
602,
|
| 77 |
+
310,
|
| 78 |
+
619
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "Understanding the performance of neural networks is certainly one of the most thrilling challenges for the current machine learning community. From the theoretical point of view, progress has been made in several directions: we have a better functional analysis description of neural networks [3] and we steadily understand the convergence of training algorithms [29, 10] as well as the role of initialisation [20, 12]. Yet there remain many unanswered questions. One of which is why do the currently used training algorithms converge to solutions which generalise well, and this with very little use of explicit regularisation [39]. ",
|
| 85 |
+
"bbox": [
|
| 86 |
+
174,
|
| 87 |
+
633,
|
| 88 |
+
825,
|
| 89 |
+
731
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "To understand this phenomenon, the concept of implicit bias has emerged: if over-fitting is benign, it must be because the optimisation procedure converges towards some particular global minimum which enjoys good generalisation properties. Though no explicit regularisation is added, the algorithm is implicitly selecting a particular solution: this is referred to as the implicit bias of the training procedure. The implicit regularisation of several algorithms has been studied, the simplest and most emblematic being that of gradient descent and stochastic gradient descent in the least-squares framework: they both converge towards the global solution which has the lowest squared distance from the initialisation. For logistic regression on separable data, Soudry et al. show in the seminal paper [31] that gradient descent selects the max-margin classifier. This type of result has then been extended to neural networks and to other frameworks. Overall, characterising the implicit bias of gradient methods has almost always come down to unveiling mirror-descent like structures which underlie the algorithms. ",
|
| 96 |
+
"bbox": [
|
| 97 |
+
174,
|
| 98 |
+
736,
|
| 99 |
+
825,
|
| 100 |
+
902
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "image",
|
| 106 |
+
"img_path": "images/4845f93997685dd5783933ff3e9d3b42c81826d435a11147baa74f7318c4bd5b.jpg",
|
| 107 |
+
"image_caption": [
|
| 108 |
+
"Figure 1: Sparse regression with $n = 4 0$ , $d = 1 0 0$ , $\\| \\beta _ { \\ell _ { 0 } } ^ { * } \\| _ { 0 } = 5$ , $x _ { i } \\sim \\mathcal { N } ( 0 , I ) y _ { i } = x _ { i } ^ { \\top } \\beta _ { \\ell _ { 0 } } ^ { * } .$ Left: for initialisation scale $\\alpha = 0 . 0 5$ , SGD converges towards a solution which generalises better than GD. Right: for different values of the initialisation scale $\\alpha$ , the solution recovered by SGD has better validation loss than that of GD. The sparsifying effect due to their implicit biases differ by more than an order of magnitude. See Section 5.1 for the precise experimental setup. "
|
| 109 |
+
],
|
| 110 |
+
"image_footnote": [],
|
| 111 |
+
"bbox": [
|
| 112 |
+
196,
|
| 113 |
+
87,
|
| 114 |
+
789,
|
| 115 |
+
258
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "While mostly all of the results focus on gradient descent, it must be pointed out that this full batch algorithm is not used in practice for neural networks since it does not lead to solutions which generalise well [23]. Instead, results on stochastic gradient descent, which is widely used and shows impressive results, are still missing or unsatisfactory. This has certainly to do with the fact that grasping the nature of the noise induced by the stochasticity of the algorithm is particularly hard: it mixes properties from the model’s architecture, the data’s distribution and the loss. In our work, by focusing on simplified neural networks, we answer to the following fundamental questions: do SGD’s and GD’s implicit bias differ? What is the role of SGD’s noise over the algorithm’s implicit bias? ",
|
| 122 |
+
"bbox": [
|
| 123 |
+
174,
|
| 124 |
+
373,
|
| 125 |
+
825,
|
| 126 |
+
484
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "The simplified neural networks which we consider are diagonal linear neural networks; despite their simplicity they have become popular since they already enable to grasp the complexity of more general networks. Indeed, they highlight important aspects of the theoretical concerns of modern machine learning: the neural tangent kernel regime, the roles of over-parametrisation, of the initialisation and of the step size. For a regression problem where we assume the existence of an interpolating solution, we study stochastic gradient descent through its continuous version, namely stochastic gradient flow (SGF). Though the continuous modelling of SGD has not yet led to many fruitful results compared to the well studied gradient flow, we believe it is because capturing the essence of the stochastic noise is particularly difficult. It has generally been done in a non realistic and over simplified manner, such as considering constant and isotropic noise. In our work, we attach peculiar attention to the adequate modelling of the noise. Tools from Itô calculus are then leveraged in order to derive exact formulas, quantitative bounds and interesting interpretations for our problem. ",
|
| 133 |
+
"bbox": [
|
| 134 |
+
174,
|
| 135 |
+
491,
|
| 136 |
+
825,
|
| 137 |
+
656
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "1.1 Main contributions and paper organisation. ",
|
| 144 |
+
"text_level": 1,
|
| 145 |
+
"bbox": [
|
| 146 |
+
176,
|
| 147 |
+
686,
|
| 148 |
+
516,
|
| 149 |
+
700
|
| 150 |
+
],
|
| 151 |
+
"page_idx": 1
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"type": "text",
|
| 155 |
+
"text": "In Section 2, we start by introducing the setup of our problem as well as the continuous modelisation of stochastic gradient descent. Then, in Section 3, we state our main result on the implicit bias of the stochastic gradient flow. We informally formulate it here and illustrate it in Figure 1: ",
|
| 156 |
+
"bbox": [
|
| 157 |
+
176,
|
| 158 |
+
717,
|
| 159 |
+
823,
|
| 160 |
+
758
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 1
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "text",
|
| 166 |
+
"text": "Theorem 1 (Informal). Stochastic gradient flow over diagonal linear networks converges with high probability to a zero-loss solution which enjoys better generalisation properties than the one obtained by gradient flow. Furthermore, the speed of convergence of the training loss controls the magnitude of the biasing effect: the slower the convergence, the better the bias. ",
|
| 167 |
+
"bbox": [
|
| 168 |
+
174,
|
| 169 |
+
768,
|
| 170 |
+
823,
|
| 171 |
+
824
|
| 172 |
+
],
|
| 173 |
+
"page_idx": 1
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"type": "text",
|
| 177 |
+
"text": "Unlike previous works [14, 36], in addition to characterising the implicit bias effect of SGF, we also prove the convergence of the iterates towards a zero-loss solution with high-probability. To accomplish this, we leverage in Section 4 the fact that the iterates follow a stochastic continuous mirror descent with a time-varying potential. We support our results experimentally and validate our model in Section 5. ",
|
| 178 |
+
"bbox": [
|
| 179 |
+
176,
|
| 180 |
+
842,
|
| 181 |
+
823,
|
| 182 |
+
911
|
| 183 |
+
],
|
| 184 |
+
"page_idx": 1
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"type": "text",
|
| 188 |
+
"text": "1.2 Related work ",
|
| 189 |
+
"text_level": 1,
|
| 190 |
+
"bbox": [
|
| 191 |
+
174,
|
| 192 |
+
90,
|
| 193 |
+
305,
|
| 194 |
+
106
|
| 195 |
+
],
|
| 196 |
+
"page_idx": 2
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"type": "text",
|
| 200 |
+
"text": "As recalled, implicit bias has a recent history that has been initiated by the seminal work [31] on max-margin classification with log-loss for a linear setup and separable data. This work has been extended to other architectures, e.g. multiplicative parametrisations [14], linear networks [22] and more general homogeneous neural networks [27, 11]. In [36] the authors show that the scale of the initialisation leads to an interpolation between the neural tangent kernel regime [20, 12] (which is a linear regression on fixed features) leading to $\\ell _ { 2 }$ minimum norm solutions and the rich regimes leading to $\\ell _ { 1 }$ minimum norm solutions. Note that these works focus on full batch gradient descent (or flow) and are deeply linked to mirror descent. ",
|
| 201 |
+
"bbox": [
|
| 202 |
+
173,
|
| 203 |
+
116,
|
| 204 |
+
825,
|
| 205 |
+
227
|
| 206 |
+
],
|
| 207 |
+
"page_idx": 2
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"type": "text",
|
| 211 |
+
"text": "While the links between SGD’s stochasticity and generalisation have been looked into in numerous works [28, 21, 16, 18, 24], no such explicit characterisation of implicit regularisation have ever been given. It has been empirically observed that SGD often outputs models which generalise better than GD [23, 21, 16]. One suggested explanation is that SGD is prone to pick flatter solutions than GD and that bad generalisation solutions are correlated with sharp minima, i.e., with strong curvature, while good generalisation solutions are correlated with flat minima, i.e., with low curvature [17, 23]. This idea has been further investigated by adopting a random walk on random landscape modelling [18], by suggesting that SGD’s noise is smoothing the loss landscape, thus eliminating the sharp minima [24], by considering a dynamical stability perspective [38] or by interpreting SGD as a diffusion process [16, 21, 8]. Recently, label-noise has been shown to influence the implicit bias of SGD, by biasing the solution towards the origin for quadratically-parameterized models [15] or by implicitly regularising the expected squared norm of the gradient of the model with respect to the weights [5]. Thus, if the notion of implicit bias of GD is fairly well understood both in the cases of regression and classification, it remains unclear for SGD, and its explicit characterisation is missing. ",
|
| 212 |
+
"bbox": [
|
| 213 |
+
173,
|
| 214 |
+
233,
|
| 215 |
+
825,
|
| 216 |
+
426
|
| 217 |
+
],
|
| 218 |
+
"page_idx": 2
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"type": "text",
|
| 222 |
+
"text": "The linear diagonal neural networks we consider have been studied in the case of gradient descent [33] and stochastic gradient descent with label noise [15]. In both cases the authors show that this model has the ability to implicitly bias the training procedure to help retrieve a sparse predictor. The link between gradient descent and mirror descent for this model has been initiated by [13] and further exploited by the same author in [37, 34] for its sparse inducing property. ",
|
| 223 |
+
"bbox": [
|
| 224 |
+
174,
|
| 225 |
+
433,
|
| 226 |
+
825,
|
| 227 |
+
503
|
| 228 |
+
],
|
| 229 |
+
"page_idx": 2
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"type": "text",
|
| 233 |
+
"text": "Contrary to the deterministic case, the modelling of stochastic gradient descent as a stochastic differential equation is quite recent, see [28, 21]. However, as highlighted by [1], early attempts often suffer from the drawback that they model the noise using a constant covariance matrix. On the contrary, state dependant noise has now become the legitimate manner for modelling SGD as a stochastic gradient flow and it is shown in [26] that it can be done consistently. Yet, noise modelling still remains the principal issue [35] as it influences largely the behaviour of the dynamics [8, 9]. ",
|
| 234 |
+
"bbox": [
|
| 235 |
+
174,
|
| 236 |
+
508,
|
| 237 |
+
825,
|
| 238 |
+
593
|
| 239 |
+
],
|
| 240 |
+
"page_idx": 2
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"type": "text",
|
| 244 |
+
"text": "1.3 Notations ",
|
| 245 |
+
"text_level": 1,
|
| 246 |
+
"bbox": [
|
| 247 |
+
174,
|
| 248 |
+
601,
|
| 249 |
+
281,
|
| 250 |
+
614
|
| 251 |
+
],
|
| 252 |
+
"page_idx": 2
|
| 253 |
+
},
|
| 254 |
+
{
|
| 255 |
+
"type": "text",
|
| 256 |
+
"text": "For input data $( x _ { 1 } , \\ldots , x _ { n } ) \\in ( \\mathbb { R } ^ { d } ) ^ { n }$ and output $( y _ { 1 } , \\dots , y _ { n } ) \\in \\mathbb { R } ^ { n }$ , we denote respectively $X \\in$ $\\mathbb { R } ^ { n \\times d }$ the design matrix whose $i$ -th row is feature $x _ { i } \\in \\mathbb { R } ^ { d }$ and $y \\in \\mathbb { R } ^ { n }$ the vector of outputs. $\\mathbb { R } _ { + } ^ { * }$ denotes the set of strictly positive real numbers. For $p = 1 , 2$ , the $\\ell _ { p }$ -norm of $x \\in \\mathbb { R } ^ { d }$ is $\\| x \\| _ { p } ^ { p } =$ $\\sum _ { i } ^ { d } | x _ { i } | ^ { p }$ . The operations $\\odot$ will stand for coordinate-wise product between vector: $[ u \\odot v ] _ { i } = u _ { i } v _ { i }$ and $u ^ { 2 } = u \\odot u$ . For $p \\in \\mathbb { N } ^ { * }$ , we also define $u ^ { p } : = u \\odot \\ldots \\odot u$ , the $p$ times product of $u$ with itself. All inequalities between vectors should be understood value by value. For $f , g \\in \\mathbb { R }$ , the existence of $C > 0$ such that $f \\leq C g$ and $C g \\leq f$ will be denoted $f \\leq O ( g )$ and $\\Omega ( g ) \\leq f$ respectively. We shall use the symbole $\\widetilde O$ when this is true up to log factors. For a vector $u \\in \\mathbb { R } ^ { d }$ , $\\mathrm { d i a g } ( u )$ denotes the $d \\times d$ diagonal matrix which has its diagonal equal to $u$ . For a matrix $M \\in \\mathbb { R } ^ { d \\times d }$ , $\\mathrm { d i a g } ( M )$ denotes the vector $( M _ { 1 1 } , \\dots , M _ { d d } ) \\in \\mathbb { R } ^ { d }$ . The indexed vector $\\beta ^ { * }$ will stand for any $\\beta$ interpolating the data, i.e. any vector in the affine space $\\{ \\beta \\in \\mathbb { R } ^ { d } s . t$ , $X \\beta = Y \\}$ of dimension at least $d - n$ . Out of all these, let $\\begin{array} { r l } { \\beta _ { \\ell _ { 1 } } ^ { * } = } & { { } \\arg \\operatorname* { m i n } \\quad \\| \\beta \\| _ { 1 } } \\end{array}$ . For $z$ any vector, $z _ { \\infty }$ or $z ^ { \\infty }$ will always designate of $\\operatorname* { l i m } _ { t \\to \\infty } z _ { t }$ . ${ \\boldsymbol { \\beta } } \\in { \\mathbb { R } } ^ { d }$ $X \\beta { = } y$ ",
|
| 257 |
+
"bbox": [
|
| 258 |
+
173,
|
| 259 |
+
625,
|
| 260 |
+
825,
|
| 261 |
+
820
|
| 262 |
+
],
|
| 263 |
+
"page_idx": 2
|
| 264 |
+
},
|
| 265 |
+
{
|
| 266 |
+
"type": "text",
|
| 267 |
+
"text": "2 Setup and preliminaries ",
|
| 268 |
+
"text_level": 1,
|
| 269 |
+
"bbox": [
|
| 270 |
+
176,
|
| 271 |
+
827,
|
| 272 |
+
406,
|
| 273 |
+
844
|
| 274 |
+
],
|
| 275 |
+
"page_idx": 2
|
| 276 |
+
},
|
| 277 |
+
{
|
| 278 |
+
"type": "text",
|
| 279 |
+
"text": "2.1 Architecture and algorithm. ",
|
| 280 |
+
"text_level": 1,
|
| 281 |
+
"bbox": [
|
| 282 |
+
174,
|
| 283 |
+
858,
|
| 284 |
+
406,
|
| 285 |
+
872
|
| 286 |
+
],
|
| 287 |
+
"page_idx": 2
|
| 288 |
+
},
|
| 289 |
+
{
|
| 290 |
+
"type": "text",
|
| 291 |
+
"text": "Overparametrised noiseless regression. We consider a linear regression problem with outputs $( y _ { 1 } , \\dotsc , y _ { n } ) \\in \\mathbb { R } ^ { n }$ and inputs $( x _ { 1 } , \\ldots , x _ { n } ) \\in ( \\mathbb { R } ^ { d } ) ^ { n }$ . We study an overparametrised setting $( n < d )$ ",
|
| 292 |
+
"bbox": [
|
| 293 |
+
173,
|
| 294 |
+
883,
|
| 295 |
+
821,
|
| 296 |
+
912
|
| 297 |
+
],
|
| 298 |
+
"page_idx": 2
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"type": "text",
|
| 302 |
+
"text": "and assume that there exists at least one interpolating parameter $\\beta ^ { * } \\in \\mathbb { R } ^ { d }$ which perfectly fits the training set, i.e. $y _ { i } = \\langle \\beta ^ { * } , x _ { i } \\rangle$ for all $1 \\leq i \\leq n$ . We parametrise the regression vector $\\beta$ as $\\beta _ { w }$ with $w \\in \\mathbb { R } ^ { p }$ . We will see that though in the end our final models $x \\mapsto \\langle \\beta _ { w } , x \\rangle$ are classical linear models whatever the parametrisation $w \\mapsto \\beta _ { w }$ , the choice of this parametrisation has crucial consequences on the solution recovered by the learning algorithms. We study the quadratic loss and the overall loss is written as: ",
|
| 303 |
+
"bbox": [
|
| 304 |
+
173,
|
| 305 |
+
90,
|
| 306 |
+
826,
|
| 307 |
+
174
|
| 308 |
+
],
|
| 309 |
+
"page_idx": 3
|
| 310 |
+
},
|
| 311 |
+
{
|
| 312 |
+
"type": "equation",
|
| 313 |
+
"img_path": "images/026a34e831f7ad0d265167e31a3d9a29e1f371cb6e6c827fa44925b636f52bd4.jpg",
|
| 314 |
+
"text": "$$\nL ( w ) = L ( \\beta _ { w } ) : = \\frac { 1 } { 4 n } \\sum _ { i = 1 } ^ { n } ( \\langle \\beta _ { w } , x _ { i } \\rangle - y _ { i } ) ^ { 2 } = \\frac { 1 } { 4 n } \\sum _ { i = 1 } ^ { n } \\langle \\beta _ { w } - \\beta ^ { * } , x _ { i } \\rangle ^ { 2 } ,\n$$",
|
| 315 |
+
"text_format": "latex",
|
| 316 |
+
"bbox": [
|
| 317 |
+
267,
|
| 318 |
+
181,
|
| 319 |
+
727,
|
| 320 |
+
223
|
| 321 |
+
],
|
| 322 |
+
"page_idx": 3
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"type": "text",
|
| 326 |
+
"text": "where by abuse of notation we use $L ( w ) = L ( \\beta _ { w } )$ . ",
|
| 327 |
+
"bbox": [
|
| 328 |
+
173,
|
| 329 |
+
233,
|
| 330 |
+
509,
|
| 331 |
+
248
|
| 332 |
+
],
|
| 333 |
+
"page_idx": 3
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"type": "text",
|
| 337 |
+
"text": "2-layer diagonal linear network. The simplest parametrisation of $\\beta _ { w }$ is to consider $\\beta _ { w } \\ = \\ w$ which corresponds to the classical least-squares framework. It is well known that in this case, many first order methods (GD, SGD, with and without momentum) will converge towards the same solution: we say that they have the same implicit bias. This is experimentally not the case for neural networks where SGD has been shown to lead to solutions which have better generalisation properties compared to GD [23]. To theoretically confirm this observation, we study a simple non-linear parametrisation: $\\beta _ { w } = w _ { + } ^ { 2 } - w _ { - } ^ { 2 }$ with $w \\doteq [ w _ { + } , w _ { - } ] ^ { \\intercal } \\in \\mathbb { R } ^ { 2 d }$ . We point out that it is 2-positive homogeneous and that it is equivalent to the parametrisation $\\beta _ { u , v } = u \\odot v$ with $u , v \\in \\mathbb { R } ^ { d }$ . It should be thought of a simplified linear network of depth 2 (see [36, Section 4] for more details). We consider two weight vectors $w _ { + }$ and $w _ { - }$ (and not only $\\beta _ { w } = w ^ { 2 }$ ) in order to ensure that our final linear predictor parameter $\\beta _ { w }$ can take negative values. For the sake of completeness, the study of diagonal linear networks of arbitrary depth $p \\geq 3$ is done in Appendix E.2. Also note that additionally to being a toy neural model, it has received recent attention for its practical ability to induce sparsity [33, 34, 15] or to solve phase retrieval problems [37]. ",
|
| 338 |
+
"bbox": [
|
| 339 |
+
173,
|
| 340 |
+
265,
|
| 341 |
+
826,
|
| 342 |
+
462
|
| 343 |
+
],
|
| 344 |
+
"page_idx": 3
|
| 345 |
+
},
|
| 346 |
+
{
|
| 347 |
+
"type": "text",
|
| 348 |
+
"text": "Stochastic Gradient Descent. With this quadratic parametrisation, the loss now rewrites as: $\\begin{array} { r } { L ( w ) = \\frac { 1 } { 4 n } \\sum _ { i = 1 } ^ { n } \\langle w _ { + } ^ { 2 } - w _ { - } ^ { 2 } - \\beta ^ { * } , x _ { i } \\rangle ^ { 2 } } \\end{array}$ . Note that despite its simplicity, this loss is non convex and its minimisation is non trivial. The algorithm we shall consider is the well known SGD algorithm, where for a step size $\\gamma > 0$ : ",
|
| 349 |
+
"bbox": [
|
| 350 |
+
174,
|
| 351 |
+
479,
|
| 352 |
+
825,
|
| 353 |
+
536
|
| 354 |
+
],
|
| 355 |
+
"page_idx": 3
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"type": "equation",
|
| 359 |
+
"img_path": "images/af101a6d89f0097b1be70844d36946c73cfdf2e114655791936ebd3b66d17640.jpg",
|
| 360 |
+
"text": "$$\n\\begin{array} { r l } & { w _ { t + 1 , + } = w _ { t , + } - \\gamma \\langle \\beta _ { w } - \\beta ^ { * } , x _ { i _ { t } } \\rangle x _ { i _ { t } } \\odot w _ { t , + } } \\\\ & { w _ { t + 1 , - } = w _ { t , - } + \\gamma \\langle \\beta _ { w } - \\beta ^ { * } , x _ { i _ { t } } \\rangle x _ { i _ { t } } \\odot w _ { t , - } } \\end{array} \\qquad \\mathrm { w h e r e } i _ { t } \\sim \\mathrm { U n i f } ( 1 , n ) .\n$$",
|
| 361 |
+
"text_format": "latex",
|
| 362 |
+
"bbox": [
|
| 363 |
+
259,
|
| 364 |
+
545,
|
| 365 |
+
766,
|
| 366 |
+
578
|
| 367 |
+
],
|
| 368 |
+
"page_idx": 3
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"type": "text",
|
| 372 |
+
"text": "It is convenient to rewrite this recursion as ",
|
| 373 |
+
"bbox": [
|
| 374 |
+
174,
|
| 375 |
+
587,
|
| 376 |
+
452,
|
| 377 |
+
601
|
| 378 |
+
],
|
| 379 |
+
"page_idx": 3
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"type": "equation",
|
| 383 |
+
"img_path": "images/dac707330c9914d46adb89e0870ada6d826861fb28f152fb1988ac3f4f74fab6.jpg",
|
| 384 |
+
"text": "$$\nw _ { t + 1 , \\pm } = w _ { t , \\pm } - \\gamma \\nabla _ { w _ { \\pm } } L ( w _ { t } ) \\pm \\gamma \\mathrm { d i a g } ( w _ { t , \\pm } ) X ^ { \\top } \\xi _ { i _ { t } } ( \\beta _ { t } ) ,\n$$",
|
| 385 |
+
"text_format": "latex",
|
| 386 |
+
"bbox": [
|
| 387 |
+
302,
|
| 388 |
+
609,
|
| 389 |
+
692,
|
| 390 |
+
630
|
| 391 |
+
],
|
| 392 |
+
"page_idx": 3
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"type": "text",
|
| 396 |
+
"text": "where $\\xi _ { i _ { t } } ( \\beta ) = - \\big ( \\langle \\beta - \\beta ^ { * } , x _ { i _ { t } } \\rangle \\mathbf { e } _ { i _ { t } } - \\mathbb { E } _ { i _ { t } } \\big [ \\langle \\beta - \\beta ^ { * } , x _ { i _ { t } } \\rangle \\mathbf { e } _ { i _ { t } } \\big ] \\big ) \\in \\mathbb { R } ^ { n }$ is a zero-mean multiplicative noise which vanishes at any global optimum $\\mathrm { i } \\mathbf { e } _ { i }$ denotes the $i ^ { \\mathrm { { t h } } }$ element of the canonical basis). We point out that all the results we shall give hold for any initialisation such that $w _ { t = 0 , + } = w _ { t = 0 , - } \\in \\mathbb { R } ^ { d }$ , under which we have that $\\beta _ { w _ { t = 0 } } = 0$ . To understand under what conditions the SGD procedure converges and towards which point it does, we shall consider its continuous counterpart which has the advantage of leading to clean and intuitive calculations. We highlight the fact that we consider a bath-size equal to 1 for clarity, however all our analysis holds for mini-batch SGD (with and without replacement) simply by considering an effective step-size $\\gamma _ { \\mathrm { e f f } }$ instead of $\\gamma$ , this is clearly explained in Appendix A. ",
|
| 397 |
+
"bbox": [
|
| 398 |
+
173,
|
| 399 |
+
638,
|
| 400 |
+
826,
|
| 401 |
+
768
|
| 402 |
+
],
|
| 403 |
+
"page_idx": 3
|
| 404 |
+
},
|
| 405 |
+
{
|
| 406 |
+
"type": "text",
|
| 407 |
+
"text": "2.2 Stochastic gradient flow ",
|
| 408 |
+
"text_level": 1,
|
| 409 |
+
"bbox": [
|
| 410 |
+
176,
|
| 411 |
+
787,
|
| 412 |
+
379,
|
| 413 |
+
803
|
| 414 |
+
],
|
| 415 |
+
"page_idx": 3
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"type": "text",
|
| 419 |
+
"text": "Continuous time modelling of sequential processes offer a large set of tools, such as derivation, which come in helpful to understand the dynamics of the processes. This has led to a large part of the recent literature to consider continuous gradient flow in order and understand the behaviour of gradient descent on complicated architectures such as neural nets. However, the continuous time modelling of stochastic gradient descent is more challenging: it requires to add on top of the gradient flow a diffusion term whose covariance matches the one of SGD. Hence, it is fundamental to understand its structure and scale. ",
|
| 420 |
+
"bbox": [
|
| 421 |
+
174,
|
| 422 |
+
814,
|
| 423 |
+
825,
|
| 424 |
+
911
|
| 425 |
+
],
|
| 426 |
+
"page_idx": 3
|
| 427 |
+
},
|
| 428 |
+
{
|
| 429 |
+
"type": "text",
|
| 430 |
+
"text": "Understanding the noise’s structure. As seen in equation (2), evaluated at $w _ { \\pm }$ , the stochastic noise $\\gamma \\mathrm { d i a g } ( \\tilde { w _ { \\pm } } ) X ^ { \\top } \\xi _ { i _ { t } } ( w )$ has two main characteristics which we want to preserve: ",
|
| 431 |
+
"bbox": [
|
| 432 |
+
169,
|
| 433 |
+
90,
|
| 434 |
+
823,
|
| 435 |
+
121
|
| 436 |
+
],
|
| 437 |
+
"page_idx": 4
|
| 438 |
+
},
|
| 439 |
+
{
|
| 440 |
+
"type": "equation",
|
| 441 |
+
"img_path": "images/06344cb695af9037aeba3eb91f371fb4a07e5d7206e8f65209ea1bd0c6af3cff.jpg",
|
| 442 |
+
"text": "$$\n\\begin{array} { r } { \\ast \\Sigma _ { \\mathrm { s o p } } ( w _ { \\pm } ) : = \\gamma ^ { 2 } \\dim ( w _ { \\pm } ) X ^ { \\top } \\mathbf { C o v } _ { i _ { t } } ( \\xi _ { i _ { t } } ( \\beta ) ) X \\operatorname { d i a g } ( w _ { \\pm } ) \\in \\mathbb { R } ^ { d \\times d } } \\end{array}\n$$",
|
| 443 |
+
"text_format": "latex",
|
| 444 |
+
"bbox": [
|
| 445 |
+
339,
|
| 446 |
+
145,
|
| 447 |
+
782,
|
| 448 |
+
165
|
| 449 |
+
],
|
| 450 |
+
"page_idx": 4
|
| 451 |
+
},
|
| 452 |
+
{
|
| 453 |
+
"type": "text",
|
| 454 |
+
"text": "It remains to understand the structure of the covariance of $\\xi _ { i _ { t } }$ which has the following closed form: $\\begin{array} { r } { \\mathrm { C o v } _ { i _ { t } } \\big ( \\xi _ { i _ { t } } ( \\beta ) \\big ) = \\frac { 1 } { n } \\operatorname { d i a g } \\big ( \\langle \\beta - \\beta ^ { * } , x _ { i } \\rangle ^ { 2 } \\big ) _ { 1 \\leq i \\leq n } - \\frac { 1 } { n ^ { 2 } } \\big ( \\langle \\beta - \\beta ^ { * } , x _ { i } \\rangle \\langle \\beta - \\beta ^ { * } , x _ { j } \\rangle \\big ) _ { 1 < i , i < n } } \\end{array}$ . We identify the two key facts: (i) it is diagonal at the leading $n ^ { - 1 }$ order and (ii) its trace is linked to the loss as $\\begin{array} { r } { \\operatorname { V a r } _ { i _ { t } } ( \\| \\dot { \\xi } _ { i _ { t } } ( \\beta ) \\| _ { 2 } ) = \\frac { 4 } { n } L ( \\beta ) + O ( \\frac { 1 } { n ^ { 2 } } ) } \\end{array}$ . This leads us in modelling $\\xi _ { i _ { t } } ( \\beta )$ ’s covariance matrix as $\\textstyle { \\frac { 4 } { n } } L ( \\beta ) I _ { n }$ as it preserves these two characteristics 1. Finally this brings us to consider the following modelling of the overall noise’s structure: $\\begin{array} { r } { \\Sigma _ { \\scriptscriptstyle \\mathrm { S G D } } ( w _ { \\pm } ) \\cong \\frac { 4 } { n } \\gamma ^ { 2 } L ( w ) [ \\mathrm { d i a g } ( w _ { \\pm } ) X ^ { \\top } ] ^ { \\otimes 2 } } \\end{array}$ . ",
|
| 455 |
+
"bbox": [
|
| 456 |
+
173,
|
| 457 |
+
172,
|
| 458 |
+
826,
|
| 459 |
+
270
|
| 460 |
+
],
|
| 461 |
+
"page_idx": 4
|
| 462 |
+
},
|
| 463 |
+
{
|
| 464 |
+
"type": "text",
|
| 465 |
+
"text": "Stochastic differentiable equation modelling. Guided by the previous considerations, we study the following stochastic gradient flow: ",
|
| 466 |
+
"bbox": [
|
| 467 |
+
171,
|
| 468 |
+
280,
|
| 469 |
+
823,
|
| 470 |
+
309
|
| 471 |
+
],
|
| 472 |
+
"page_idx": 4
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"type": "equation",
|
| 476 |
+
"img_path": "images/63b9612044fa4096cbf47e3cca1babfcd6e1e95d56735cd742e3876a7089d3f6.jpg",
|
| 477 |
+
"text": "$$\n\\begin{array} { r l } & { \\mathrm { d } w _ { t , + } = - \\nabla _ { w _ { + } } L ( w _ { t } ) \\mathrm { d } t + 2 \\sqrt { \\gamma n ^ { - 1 } L ( w _ { t } ) } w _ { t , + } \\odot [ X ^ { \\top } \\mathrm { d } B _ { t } ] } \\\\ & { \\mathrm { d } w _ { t , - } = - \\nabla _ { w _ { - } } L ( w _ { t } ) \\mathrm { d } t - 2 \\sqrt { \\gamma n ^ { - 1 } L ( w _ { t } ) } w _ { t , - } \\odot [ X ^ { \\top } \\mathrm { d } B _ { t } ] , } \\end{array}\n$$",
|
| 478 |
+
"text_format": "latex",
|
| 479 |
+
"bbox": [
|
| 480 |
+
290,
|
| 481 |
+
311,
|
| 482 |
+
705,
|
| 483 |
+
356
|
| 484 |
+
],
|
| 485 |
+
"page_idx": 4
|
| 486 |
+
},
|
| 487 |
+
{
|
| 488 |
+
"type": "text",
|
| 489 |
+
"text": "where $\\mathrm { d } B _ { t }$ is a standard $\\mathbb { R } ^ { n }$ Brownian motion. The SDE is a perturbed gradient flow with a diffusion term that is defined such that its Euler discretisation with step size $\\gamma$ leads to a Markov Chain whose covariance exactly matches SGD’s noise covariance $\\Sigma _ { \\mathrm { s g D } } ( w _ { \\pm } )$ . We refer to [26] or [25] for the technical details regarding consistency of such a procedure in the limit of small step sizes. This stochastic differential equation is the starting point of the analysis. ",
|
| 490 |
+
"bbox": [
|
| 491 |
+
173,
|
| 492 |
+
356,
|
| 493 |
+
825,
|
| 494 |
+
428
|
| 495 |
+
],
|
| 496 |
+
"page_idx": 4
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"type": "text",
|
| 500 |
+
"text": "3 The implicit bias of the stochastic gradient flow ",
|
| 501 |
+
"text_level": 1,
|
| 502 |
+
"bbox": [
|
| 503 |
+
174,
|
| 504 |
+
444,
|
| 505 |
+
599,
|
| 506 |
+
462
|
| 507 |
+
],
|
| 508 |
+
"page_idx": 4
|
| 509 |
+
},
|
| 510 |
+
{
|
| 511 |
+
"type": "text",
|
| 512 |
+
"text": "Implicit bias and hyperbolic entropy. To understand the relevance of the main result and how stochasticity induces a preferable bias, we start by recalling some known results for gradient flow. In [36] it is shown, assuming global convergence, that the solution selected by the gradient flow initialised at $\\alpha \\in \\mathbb { R } ^ { d }$ and denoted $\\beta _ { \\infty } ^ { \\alpha }$ solves a constrained optimisation problem involving the hyperbolic entropy introduced by [13]: ",
|
| 513 |
+
"bbox": [
|
| 514 |
+
173,
|
| 515 |
+
474,
|
| 516 |
+
826,
|
| 517 |
+
545
|
| 518 |
+
],
|
| 519 |
+
"page_idx": 4
|
| 520 |
+
},
|
| 521 |
+
{
|
| 522 |
+
"type": "equation",
|
| 523 |
+
"img_path": "images/aa607356210d74c376c05fa1d572f6b1317369a77fa9adb15224ab10ae0991df.jpg",
|
| 524 |
+
"text": "$$\n\\beta _ { \\infty } ^ { \\alpha } = \\operatorname * { a r g m i n } _ { \\beta \\in \\mathbb { R } ^ { d } } \\operatorname* { m i n } _ { s . t . X \\beta = y } \\phi _ { \\alpha } ( \\beta ) : = \\frac { 1 } { 4 } \\big [ \\sum _ { i = 1 } ^ { d } \\beta _ { i } \\mathrm { a r c s i n h } ( \\frac { \\beta _ { i } } { 2 \\alpha _ { i } ^ { 2 } } ) - \\sqrt { \\beta _ { i } ^ { 2 } + 4 \\alpha _ { i } ^ { 4 } } \\big ] ,\n$$",
|
| 525 |
+
"text_format": "latex",
|
| 526 |
+
"bbox": [
|
| 527 |
+
261,
|
| 528 |
+
547,
|
| 529 |
+
735,
|
| 530 |
+
590
|
| 531 |
+
],
|
| 532 |
+
"page_idx": 4
|
| 533 |
+
},
|
| 534 |
+
{
|
| 535 |
+
"type": "text",
|
| 536 |
+
"text": "Though the hyperbolic entropy function has a non-trivial expression, its principal characteristic is $\\ell _ { 1 }$ nd thand $\\ell _ { 2 }$ $\\alpha$ precisely for. We refer to $\\begin{array} { r } { \\tau \\in \\mathbb { R } ^ { 2 } \\colon \\dot { \\phi _ { \\alpha } } ( \\beta ) \\underset { \\alpha \\to 0 } { \\sim } \\frac { 1 } { 2 } \\ln \\left( \\frac { 1 } { \\alpha } \\right) \\| \\bar { \\beta } \\| _ { 1 } } \\end{array}$ $\\begin{array} { r } { \\bar { \\phi _ { \\alpha } ( \\beta ) } \\underset { \\alpha \\to + \\infty } { = } - \\frac { 1 } { 2 } \\bar { \\alpha ^ { 2 } } + \\frac { 1 } { 1 6 \\alpha ^ { 2 } } \\| \\beta \\| _ { 2 } ^ { 2 } + o ( \\alpha ^ { - 2 } ) . } \\end{array}$ [36, Theorem 2] for more details on the asymptotic analysis. The implicit optimisation problem (4) therefore highlights the fact that the initialisation scale of the weights controls the shape of the recovered solution. Small initialisations lead to low $\\ell _ { 1 }$ -norm solutions which are known to induce good generalisation properties: this is what is often referred to as the rich regime. Large initialisations lead to low $\\ell _ { 2 }$ -norm solutions: this is referred to as the kernel regime or lazy regime in which the weights move only very slightly. The dynamics of the gradient flow are then very similar to the one of kernel linear regression with the kernel depending on the initialisation [20, 12]. Overall, to retrieve a sparse solution, one should initialise with the smallest $\\alpha$ possible. However, as is clearly explained in [36], it is important to stress out that there is a generalisation $/$ optimisation tradeoff: the point $w = 0$ happens to be a saddle point for the loss and a smaller $\\alpha$ will lead to a longer training time. ",
|
| 537 |
+
"bbox": [
|
| 538 |
+
173,
|
| 539 |
+
593,
|
| 540 |
+
826,
|
| 541 |
+
779
|
| 542 |
+
],
|
| 543 |
+
"page_idx": 4
|
| 544 |
+
},
|
| 545 |
+
{
|
| 546 |
+
"type": "text",
|
| 547 |
+
"text": "Main result. In the main theorem we show that, for an initialisation scale $\\alpha$ , the stochasticity of SGF biases the flow towards solutions which still minimise the hyperbolic entropy. However, what is remarkable is that it does so with an effective parameter $\\alpha _ { \\infty }$ which is strictly smaller than $\\alpha$ . The recovered solution therefore minimises an optimisation problem which has better sparsity inducing properties than that of gradient flow. ",
|
| 548 |
+
"bbox": [
|
| 549 |
+
174,
|
| 550 |
+
792,
|
| 551 |
+
825,
|
| 552 |
+
863
|
| 553 |
+
],
|
| 554 |
+
"page_idx": 4
|
| 555 |
+
},
|
| 556 |
+
{
|
| 557 |
+
"type": "text",
|
| 558 |
+
"text": "Theorem 1. For $\\begin{array} { l } { p \\ \\leq \\ \\frac { 1 } { 2 } } \\end{array}$ and $w _ { 0 , \\pm } = \\alpha \\in ( \\mathbb { R } _ { + } ^ { * } ) ^ { d }$ , let $( w _ { t } ) _ { t \\geq 0 }$ follow the stochastic gradient flow (3) with step size $\\begin{array} { r } { \\gamma \\leq O \\big ( \\big [ \\ln ( \\frac { 4 } { p } ) \\lambda _ { \\operatorname* { m a x } } \\operatorname* { m a x } \\{ \\| \\beta _ { \\ell _ { 1 } } ^ { * } \\| _ { 1 } \\ln \\big ( \\frac { \\| \\beta _ { \\ell _ { 1 } } ^ { * } \\| _ { 1 } } { \\operatorname* { m i n } _ { i } \\alpha _ { i } ^ { 2 } } \\big ) , \\| \\alpha \\| _ { 2 } ^ { 2 } \\} \\big ] ^ { - 1 } \\big ) } \\end{array}$ where $\\beta _ { \\ell _ { 1 } } ^ { * } =$ arg min $\\| \\beta \\| _ { 1 }$ and $\\lambda _ { \\mathrm { m a x } }$ is the largest eigenvalue of $X ^ { \\top } X / n$ . Then, with probability at least $1 - p$ : $\\beta \\in \\mathbb { R } ^ { d } \\ s . t . \\ X \\beta = y$ ",
|
| 559 |
+
"bbox": [
|
| 560 |
+
173,
|
| 561 |
+
89,
|
| 562 |
+
826,
|
| 563 |
+
159
|
| 564 |
+
],
|
| 565 |
+
"page_idx": 5
|
| 566 |
+
},
|
| 567 |
+
{
|
| 568 |
+
"type": "text",
|
| 569 |
+
"text": "• $( \\beta _ { t } ) _ { t \\geq 0 }$ converges towards a zero-training error solution $\\beta _ { \\infty } ^ { \\alpha }$ ",
|
| 570 |
+
"bbox": [
|
| 571 |
+
215,
|
| 572 |
+
167,
|
| 573 |
+
632,
|
| 574 |
+
184
|
| 575 |
+
],
|
| 576 |
+
"page_idx": 5
|
| 577 |
+
},
|
| 578 |
+
{
|
| 579 |
+
"type": "text",
|
| 580 |
+
"text": "• the solution $\\beta _ { \\infty } ^ { \\alpha }$ satisfies ",
|
| 581 |
+
"bbox": [
|
| 582 |
+
215,
|
| 583 |
+
191,
|
| 584 |
+
395,
|
| 585 |
+
207
|
| 586 |
+
],
|
| 587 |
+
"page_idx": 5
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"type": "equation",
|
| 591 |
+
"img_path": "images/b4cf0cc113776f03fde8e3bbe1c16cd177d270f348fbbc1190c4ccf58ac14410.jpg",
|
| 592 |
+
"text": "$$\n\\beta _ { \\infty } ^ { \\alpha } = \\underset { \\beta \\in \\mathbb { R } ^ { d } } { \\arg \\operatorname* { m i n } } \\quad \\phi _ { \\alpha _ { \\infty } } ( \\beta ) \\quad w h e r e \\quad \\alpha _ { \\infty } = \\alpha \\odot \\exp \\left( - 2 \\gamma \\dim \\operatorname { g } \\left( \\frac { X ^ { \\top } X } { n } \\right) \\int _ { 0 } ^ { + \\infty } L ( \\beta _ { s } ) \\mathrm { d } s \\right) .\n$$",
|
| 593 |
+
"text_format": "latex",
|
| 594 |
+
"bbox": [
|
| 595 |
+
192,
|
| 596 |
+
219,
|
| 597 |
+
797,
|
| 598 |
+
257
|
| 599 |
+
],
|
| 600 |
+
"page_idx": 5
|
| 601 |
+
},
|
| 602 |
+
{
|
| 603 |
+
"type": "text",
|
| 604 |
+
"text": "The theorem is three-fold: with high probability and for an explicit choice of constant step size $\\gamma$ , (i) the flow $( \\beta _ { t } ) _ { t \\geq 0 }$ converges, (ii) its limit $\\beta _ { \\infty } ^ { \\alpha }$ is an interpolating solution, i.e. $X \\beta _ { \\infty } ^ { \\alpha } = y$ , (iii) this solution minimises the hyperbolic entropy problem with a parameter that depends on the dynamics. We illustrate these results in Figure 2. Now let us comment further the theorem. ",
|
| 605 |
+
"bbox": [
|
| 606 |
+
173,
|
| 607 |
+
270,
|
| 608 |
+
826,
|
| 609 |
+
327
|
| 610 |
+
],
|
| 611 |
+
"page_idx": 5
|
| 612 |
+
},
|
| 613 |
+
{
|
| 614 |
+
"type": "image",
|
| 615 |
+
"img_path": "images/fec063349e8357718e26e29511e1cf5c2fea77e382260222c4aad05d6c7c350b.jpg",
|
| 616 |
+
"image_caption": [
|
| 617 |
+
"Figure 2: Sparse regression (see Section 5.1 for the detailed experimental setting). Both SGD and GD are initialised at $\\alpha = 0 . 1$ . 2 different runs of SGD over the training set are performed, they differ due to the inner stochasticity of the algorithm. Left: GD and SGD both converge towards a global minimum. Middle and right: for two different trajectories of SGD, the higher the value of the loss integral at convergence, the better the validation loss. In both cases SGD converges towards a solution which generalises better than GD. This figure illustrates Theorem 1. "
|
| 618 |
+
],
|
| 619 |
+
"image_footnote": [],
|
| 620 |
+
"bbox": [
|
| 621 |
+
184,
|
| 622 |
+
330,
|
| 623 |
+
794,
|
| 624 |
+
465
|
| 625 |
+
],
|
| 626 |
+
"page_idx": 5
|
| 627 |
+
},
|
| 628 |
+
{
|
| 629 |
+
"type": "text",
|
| 630 |
+
"text": "Beneficial implicit bias through effective initialisation. The most remarkable aspect of the result is that the recovered solution $\\beta _ { \\infty } ^ { \\alpha }$ minimises the same potential as for gradient flow but with an effective parameter $\\alpha _ { \\infty }$ which is strictly smaller than $\\alpha$ . Hence, the hyperbolic entropy is closer to the $\\ell _ { 1 }$ norm compared to the deterministic case, proving a systematic benefit of stochasticity. Note that this effective parameter is random and controlled by the loss integral $\\begin{array} { r l } { \\int _ { 0 } ^ { + \\infty } L ( \\beta _ { s } ) \\mathrm { d } s , } \\end{array}$ : the higher the integral, the smaller the effective initialisation scale. In other words and quite surprisingly, the slower the loss converges to 0, the “richer” the implicit bias. However, it must be kept in mind that, as explained in [36], there is a tension between generalisation and optimisation: a longer training time might improve generalisation but comes at the cost of... a longer training time. Yet it is clear experimentally that SGD systematically largely wins the trade-off over GD (see Figure 2). Interestingly, Problem (5) tells us that the implicit bias of SGD initialised at $\\alpha$ acts as if we run GD initialised at $\\alpha _ { \\infty }$ (see Section 5.3). Note that the minimisation problem (5) only makes sense $a$ posteriori since the quantity $\\alpha _ { \\infty }$ depends on the whole stochastic trajectory. Finally, an interesting question is whether one can quantify the scale of this beneficial phenomenon, i.e. how small $\\alpha _ { \\infty }$ is compared to $\\alpha$ . To answer this, we quantify the scale of the loss integral w.r.t. $\\gamma$ and $\\alpha$ (see Proposition 3) and show under slightly stronger conditions that the relative scale $\\alpha _ { \\infty } / \\alpha$ decays as power of $\\alpha$ (See Eq. (8) of the main text and Proposition 6 of the appendix for a proof). ",
|
| 631 |
+
"bbox": [
|
| 632 |
+
173,
|
| 633 |
+
582,
|
| 634 |
+
825,
|
| 635 |
+
820
|
| 636 |
+
],
|
| 637 |
+
"page_idx": 5
|
| 638 |
+
},
|
| 639 |
+
{
|
| 640 |
+
"type": "text",
|
| 641 |
+
"text": "Kernel regime. Though it is less our focus, our result still holds as $\\alpha + \\infty$ which corresponds to the kernel regime. In this regime, we believe that $\\begin{array} { r } { \\int _ { 0 } ^ { + \\infty } L ( \\beta _ { s } ) \\mathrm { d } s \\underset { \\alpha \\infty } { } 0 } \\end{array}$ (not shown in the paper but experimentally observed) and hence SGF and GF converge towards the same solution. This is expected since in the NTK regime, the iterates follow a kernel linear regression for which the bias of SGF and GF are the same. ",
|
| 642 |
+
"bbox": [
|
| 643 |
+
174,
|
| 644 |
+
833,
|
| 645 |
+
825,
|
| 646 |
+
911
|
| 647 |
+
],
|
| 648 |
+
"page_idx": 5
|
| 649 |
+
},
|
| 650 |
+
{
|
| 651 |
+
"type": "text",
|
| 652 |
+
"text": "Step size. Note that the convergence of the iterates holds for a constant step size. This is not illogical since in the overparametrised setting, the noise vanishes at the optimum (see [32] for a convergence result in the overparametrised least-squares setup). The explicit formula for the $\\gamma$ upper bound is $\\begin{array} { r } { \\gamma \\leq \\left( 4 0 0 \\ln \\left( \\frac { 4 } { p } \\right) \\lambda _ { \\operatorname* { m a x } } \\big ( \\frac { X ^ { \\top } X } { n } \\big ) \\operatorname* { m a x } \\left\\{ \\| \\beta _ { \\ell _ { 1 } } ^ { * } \\| _ { 1 } \\ln \\left( \\sqrt { 2 } \\frac { \\| \\beta _ { \\ell _ { 1 } } ^ { * } \\| _ { 1 } } { \\operatorname* { m i n } _ { i } \\alpha _ { i } ^ { 2 } } \\right) , \\| \\alpha \\| _ { 2 } ^ { 2 } \\right\\} \\right) ^ { - 1 } } \\end{array}$ . It has a classical dependence on $\\lambda _ { \\operatorname* { m a x } } ( X ^ { \\top } X / n )$ which can be computed, but also on the unknown value of $\\| \\beta _ { \\ell _ { 1 } } ^ { * } \\| _ { 1 }$ . However in practice we choose the highest value of $\\gamma$ for which the iterates converge. Note that in practice the weights are often initialised such that $\\| \\alpha \\| _ { 2 } ^ { 2 }$ is roughly equal to 1 and hence it is sensible to consider $\\| \\alpha \\| _ { 2 } ^ { 2 } < \\| \\beta _ { \\ell _ { 1 } } ^ { * } \\| _ { 1 }$ . In the explicit bound, there is a $\\ln \\left( \\lVert \\boldsymbol { \\beta } _ { \\ell _ { 1 } } ^ { * } \\rVert _ { 1 } / \\operatorname* { m i n } _ { i } \\alpha _ { i } ^ { 2 } \\right) ^ { - 1 }$ factor, we believe that it is an artefact of our analysis and could be removed. It is hence best to think of the upperbound on $\\gamma$ to simply be $\\begin{array} { r } { \\gamma \\le O ( \\frac { 1 } { \\lambda _ { \\operatorname* { m a x } } \\| \\beta _ { \\ell _ { 1 } } ^ { * } \\| _ { 1 } } ) } \\end{array}$ . ",
|
| 653 |
+
"bbox": [
|
| 654 |
+
173,
|
| 655 |
+
90,
|
| 656 |
+
825,
|
| 657 |
+
252
|
| 658 |
+
],
|
| 659 |
+
"page_idx": 6
|
| 660 |
+
},
|
| 661 |
+
{
|
| 662 |
+
"type": "text",
|
| 663 |
+
"text": "Convergence and proof sketch. Let us put emphasis on the fact that since we deal with a nonconvex problem, neither convergence nor convergence towards a global minimum are obvious. In most of similar works, convergence of the iterates is assumed [36, 14]. In fact, the hardest and most technical part of our result is to show the convergence of the flow with high probability: once the convergence is shown, describing the minimisation problem $\\beta _ { \\infty } ^ { \\alpha }$ verifies is straightforward. In the following section we give several properties which constitute the major keys of the theorem’s proof. ",
|
| 664 |
+
"bbox": [
|
| 665 |
+
173,
|
| 666 |
+
267,
|
| 667 |
+
826,
|
| 668 |
+
351
|
| 669 |
+
],
|
| 670 |
+
"page_idx": 6
|
| 671 |
+
},
|
| 672 |
+
{
|
| 673 |
+
"type": "text",
|
| 674 |
+
"text": "4 Links with mirror descent ",
|
| 675 |
+
"text_level": 1,
|
| 676 |
+
"bbox": [
|
| 677 |
+
176,
|
| 678 |
+
369,
|
| 679 |
+
424,
|
| 680 |
+
386
|
| 681 |
+
],
|
| 682 |
+
"page_idx": 6
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"type": "text",
|
| 686 |
+
"text": "The aim of this section is to show that the sequence $( \\beta _ { t } ) _ { t \\geq 0 }$ follows a stochastic version of continuous mirror descent with a time dependent mirror. From this crucial property, we show how the convergence and implicit bias characterisation follow. Finally, as it is one of the central objects of our main theorem, we give an estimation of $\\int _ { 0 } ^ { \\infty } L ( \\beta _ { s } ) \\mathrm { d } s$ . ",
|
| 687 |
+
"bbox": [
|
| 688 |
+
174,
|
| 689 |
+
400,
|
| 690 |
+
825,
|
| 691 |
+
458
|
| 692 |
+
],
|
| 693 |
+
"page_idx": 6
|
| 694 |
+
},
|
| 695 |
+
{
|
| 696 |
+
"type": "text",
|
| 697 |
+
"text": "4.1 Stochastic continuous mirror descent with time-varying potential ",
|
| 698 |
+
"text_level": 1,
|
| 699 |
+
"bbox": [
|
| 700 |
+
176,
|
| 701 |
+
472,
|
| 702 |
+
665,
|
| 703 |
+
488
|
| 704 |
+
],
|
| 705 |
+
"page_idx": 6
|
| 706 |
+
},
|
| 707 |
+
{
|
| 708 |
+
"type": "text",
|
| 709 |
+
"text": "We start by recalling known results on the link between implicit bias and mirror descent. We recall also convergence guarantees for mirror descent dynamics. ",
|
| 710 |
+
"bbox": [
|
| 711 |
+
174,
|
| 712 |
+
497,
|
| 713 |
+
825,
|
| 714 |
+
526
|
| 715 |
+
],
|
| 716 |
+
"page_idx": 6
|
| 717 |
+
},
|
| 718 |
+
{
|
| 719 |
+
"type": "text",
|
| 720 |
+
"text": "Mirror descent: convergence and implicit bias. For any $\\beta _ { 0 } \\in \\mathbb { R } ^ { d }$ and convex potential function $\\Psi$ , consider the mirror descent flow $( \\beta _ { t } ) _ { t }$ which corresponds to $\\mathrm { d } \\nabla \\Psi ( \\beta _ { t } ) = - \\bar { \\nabla L } ( \\beta _ { t } ) \\mathrm { d } t$ . Though the convergence of the loss to 0 is straightforward, showing the convergence of the iterates requires more work and is shown in [4, Theorem 2] for strongly convex potentials. Yet, once the convergence of the iterates is shown, deriving the implicit minimisation problem is straightforward. We recall the reasoning here (see Section 3 of [2] for more details): integrating the flow yields $\\nabla \\Psi ( \\beta _ { \\infty } ) -$ $\\begin{array} { r } { \\nabla \\Psi ( \\beta _ { 0 } ) = - \\int _ { 0 } ^ { \\infty } \\nabla L ( \\beta _ { s } ) \\mathrm { d } s = - 4 X ^ { \\top } \\int _ { 0 } ^ { \\infty } X ( \\beta _ { s } - \\beta _ { \\infty } ) \\mathrm { d } s \\in \\mathrm { s p a n } ( X ) } \\end{array}$ . This condition, along with the fact that $X \\beta _ { \\infty } = y$ exactly corresponds to the KKT conditions of the problem: ",
|
| 721 |
+
"bbox": [
|
| 722 |
+
173,
|
| 723 |
+
540,
|
| 724 |
+
825,
|
| 725 |
+
654
|
| 726 |
+
],
|
| 727 |
+
"page_idx": 6
|
| 728 |
+
},
|
| 729 |
+
{
|
| 730 |
+
"type": "equation",
|
| 731 |
+
"img_path": "images/8032265633ba6e1dbae35881117f45588a10b3e6886866b7b9a76784d068d4a1.jpg",
|
| 732 |
+
"text": "$$\n\\beta _ { \\infty } = \\underset { \\beta \\in \\mathbb { R } ^ { d } \\mathrm { ~ s . t . ~ } X \\beta = y } { \\arg \\operatorname* { m i n } } D _ { \\Psi } ( \\beta , \\beta _ { 0 } ) ,\n$$",
|
| 733 |
+
"text_format": "latex",
|
| 734 |
+
"bbox": [
|
| 735 |
+
388,
|
| 736 |
+
659,
|
| 737 |
+
607,
|
| 738 |
+
686
|
| 739 |
+
],
|
| 740 |
+
"page_idx": 6
|
| 741 |
+
},
|
| 742 |
+
{
|
| 743 |
+
"type": "text",
|
| 744 |
+
"text": "where $D _ { \\Psi } ( \\beta , \\beta _ { 0 } ) = \\Psi ( \\beta ) - \\Psi ( \\beta _ { 0 } ) - \\langle \\nabla \\Psi ( \\beta _ { 0 } ) , \\beta - \\beta _ { 0 } \\rangle$ is the Bregman divergence w.r.t. $\\Psi$ . ",
|
| 745 |
+
"bbox": [
|
| 746 |
+
173,
|
| 747 |
+
691,
|
| 748 |
+
785,
|
| 749 |
+
708
|
| 750 |
+
],
|
| 751 |
+
"page_idx": 6
|
| 752 |
+
},
|
| 753 |
+
{
|
| 754 |
+
"type": "text",
|
| 755 |
+
"text": "Link with our model. It turns out that these general observations on mirror descent apply to our framework when $( w _ { t } ) _ { t }$ follows the gradient flow $\\mathrm { d } w _ { t , \\pm } = - \\nabla _ { w _ { \\pm } } L ( w _ { t } ) \\mathrm { d } t$ . Indeed it has been shown in [36] that the corresponding iterates $\\beta _ { t } = w _ { t , + } ^ { 2 } - w _ { t , - } ^ { 2 }$ follow a mirror descent with potential $\\phi _ { \\alpha }$ defined in Eq.(4). Therefore we can apply the previous remarks to obtain the convergence towards an interpolator3, as well as the associated implicit minimisation problem which in our case can be rewritten as $\\beta _ { \\infty } ^ { \\alpha } = \\arg \\operatorname* { m i n } \\quad \\phi _ { \\alpha } ( \\beta )$ since $\\nabla \\phi _ { \\alpha } ( \\beta _ { 0 } = 0 ) = 0$ . \n$\\beta \\in \\mathbb { R } ^ { d }$ s.t. $X \\beta { = } y$ ",
|
| 756 |
+
"bbox": [
|
| 757 |
+
173,
|
| 758 |
+
720,
|
| 759 |
+
825,
|
| 760 |
+
818
|
| 761 |
+
],
|
| 762 |
+
"page_idx": 6
|
| 763 |
+
},
|
| 764 |
+
{
|
| 765 |
+
"type": "text",
|
| 766 |
+
"text": "Stochastic Mirror descent with a time varying potential. To address the problem where $( w _ { t } ) _ { t }$ follows a stochastic gradient flow instead of a gradient flow, it is natural, as in the deterministic framework, to see what type of flow $( \\beta _ { t } ) _ { t }$ follows. Because of the noise, we cannot hope to simply recover a classical mirror descent. However interestingly the next property shows that it follows a stochastic mirror-like descent with a geometry that depends on time. ",
|
| 767 |
+
"bbox": [
|
| 768 |
+
174,
|
| 769 |
+
832,
|
| 770 |
+
825,
|
| 771 |
+
876
|
| 772 |
+
],
|
| 773 |
+
"page_idx": 6
|
| 774 |
+
},
|
| 775 |
+
{
|
| 776 |
+
"type": "text",
|
| 777 |
+
"text": "",
|
| 778 |
+
"bbox": [
|
| 779 |
+
171,
|
| 780 |
+
90,
|
| 781 |
+
823,
|
| 782 |
+
119
|
| 783 |
+
],
|
| 784 |
+
"page_idx": 7
|
| 785 |
+
},
|
| 786 |
+
{
|
| 787 |
+
"type": "text",
|
| 788 |
+
"text": "Proposition 1. Consider the iterates $( w _ { t } ) _ { t \\geq 0 }$ issued from the stochastic gradient flow in Eq.(3) with initialisation $w _ { 0 , \\pm } = \\alpha \\in ( \\mathbb { R } _ { + } ^ { * } ) ^ { d }$ . Then the corresponding flow $( \\beta _ { t } ) _ { t \\geq 0 }$ follows a “stochastic continuous mirror descent with time varying potential” defined by: ",
|
| 789 |
+
"bbox": [
|
| 790 |
+
173,
|
| 791 |
+
122,
|
| 792 |
+
825,
|
| 793 |
+
165
|
| 794 |
+
],
|
| 795 |
+
"page_idx": 7
|
| 796 |
+
},
|
| 797 |
+
{
|
| 798 |
+
"type": "equation",
|
| 799 |
+
"img_path": "images/f534a5258dcd0553c7cda83c0e7d1f0884c89265ffbf8245cf3e29bfcc35f3a8.jpg",
|
| 800 |
+
"text": "$$\n\\mathrm { d } \\nabla \\phi _ { \\alpha _ { t } } ( \\beta _ { t } ) = - \\nabla L ( \\beta _ { t } ) \\mathrm { d } t + \\sqrt { \\gamma n ^ { - 1 } L ( \\beta _ { t } ) } \\boldsymbol { X } ^ { \\top } \\mathrm { d } \\boldsymbol { B } _ { t } ,\n$$",
|
| 801 |
+
"text_format": "latex",
|
| 802 |
+
"bbox": [
|
| 803 |
+
321,
|
| 804 |
+
166,
|
| 805 |
+
673,
|
| 806 |
+
186
|
| 807 |
+
],
|
| 808 |
+
"page_idx": 7
|
| 809 |
+
},
|
| 810 |
+
{
|
| 811 |
+
"type": "text",
|
| 812 |
+
"text": "where $\\begin{array} { r } { \\alpha _ { t } = \\alpha \\odot \\exp \\left( - 2 \\gamma \\operatorname { d i a g } \\left( \\frac { X ^ { \\top } X } { n } \\right) \\int _ { 0 } ^ { t } L ( \\beta _ { s } ) \\mathrm { d } s \\right) } \\end{array}$ and $\\phi _ { \\alpha }$ is the hyperbolic entropy defined in (4). ",
|
| 813 |
+
"bbox": [
|
| 814 |
+
178,
|
| 815 |
+
189,
|
| 816 |
+
825,
|
| 817 |
+
227
|
| 818 |
+
],
|
| 819 |
+
"page_idx": 7
|
| 820 |
+
},
|
| 821 |
+
{
|
| 822 |
+
"type": "text",
|
| 823 |
+
"text": "Under this form we clearly see that the iterates $( \\beta _ { t } ) _ { t }$ follow a flow which closely resembles that of mirror descent but with two major differences: (i) the potential $\\phi _ { \\alpha _ { t } }$ changes over time according to the random quantity $\\int _ { 0 } ^ { t } L ( \\beta _ { s } ) \\mathrm { d } s$ , (ii) the flow is perturbed by noise. We highlight the fact that viewing the dynamics this way has the major advantage of giving a clear roadmap for the proof of Theorem 1: (i) we can adapt classical mirror-descent results to our framework and construct appropriate Lyapunov functions to prove the convergence of the flow with high probability to some interpolator $\\beta _ { \\infty } ^ { \\alpha }$ , (ii) we immediately recover the corresponding minimisation problem as in the deterministic case. Indeed, integrating Eq.(7) still yields $\\nabla \\phi _ { \\alpha _ { \\infty } } ( \\beta _ { \\infty } ^ { \\alpha } ) \\in \\mathrm { s p a n } ( X )$ which, along with $X \\beta _ { \\infty } ^ { \\alpha } = y$ , are the KKT conditions of the implicit minimisation problem (5). We emphasise the fact that the structure of the noise, belonging to $\\operatorname { s p a n } ( X )$ , is crucial in order to obtain this minimisation problem. This would for instance clearly not be true if we considered isotropic noise in the SDE modelling. This highlights the fact that not every form of noise improves the implicit bias: the shape of the intrinsic SGD noise is of primal importance [15]. ",
|
| 824 |
+
"bbox": [
|
| 825 |
+
173,
|
| 826 |
+
234,
|
| 827 |
+
826,
|
| 828 |
+
419
|
| 829 |
+
],
|
| 830 |
+
"page_idx": 7
|
| 831 |
+
},
|
| 832 |
+
{
|
| 833 |
+
"type": "text",
|
| 834 |
+
"text": "4.2 Convergence and control of $\\int _ { 0 } ^ { \\infty } L ( \\beta _ { s } ) \\mathrm { d } s$ ",
|
| 835 |
+
"text_level": 1,
|
| 836 |
+
"bbox": [
|
| 837 |
+
173,
|
| 838 |
+
431,
|
| 839 |
+
495,
|
| 840 |
+
449
|
| 841 |
+
],
|
| 842 |
+
"page_idx": 7
|
| 843 |
+
},
|
| 844 |
+
{
|
| 845 |
+
"type": "text",
|
| 846 |
+
"text": "Though it seems easy to derive the implicit minimisation problem (5) from the mirror-like structure of Eq.(7), it is necessary to ensure that the iterates converge towards an interpolator $\\beta _ { \\infty }$ . This is the purpose of the following proposition. ",
|
| 847 |
+
"bbox": [
|
| 848 |
+
174,
|
| 849 |
+
458,
|
| 850 |
+
825,
|
| 851 |
+
501
|
| 852 |
+
],
|
| 853 |
+
"page_idx": 7
|
| 854 |
+
},
|
| 855 |
+
{
|
| 856 |
+
"type": "text",
|
| 857 |
+
"text": "Proposition 2 (Convergence of the iterates). Consider the iterates $( w _ { t } ) _ { t \\geq 0 }$ issued from the stochastic gradient flow (3), initialised at $w _ { 0 , \\pm } = \\alpha \\in ( \\mathbb { R } _ { + } ^ { * } ) ^ { d }$ . For $\\begin{array} { r } { p \\leq \\frac { 1 } { 2 } } \\end{array}$ and $\\gamma$ such as in Theorem $^ { l }$ , then with probability at least $1 - p ,$ the flow $( \\beta _ { t } ) _ { t }$ converges to an interpolating solution $\\beta _ { \\infty } ^ { \\alpha }$ . ",
|
| 858 |
+
"bbox": [
|
| 859 |
+
174,
|
| 860 |
+
502,
|
| 861 |
+
825,
|
| 862 |
+
547
|
| 863 |
+
],
|
| 864 |
+
"page_idx": 7
|
| 865 |
+
},
|
| 866 |
+
{
|
| 867 |
+
"type": "text",
|
| 868 |
+
"text": "The convergence of the iterates is technical and requires several intermediate results. We start by considering an appropriate Bregman-type stochastic function with a time-varying potential and show that it converges with high probability. Leveraging the fact that we are able to bound the iterates $\\beta _ { t }$ , we are able to show that the limit of the function is in fact 0. Owing to the fact that the function we consider also controls the distance of $\\beta _ { t }$ to a particular $\\beta ^ { * }$ we finally get that the iterates converge. ",
|
| 869 |
+
"bbox": [
|
| 870 |
+
173,
|
| 871 |
+
555,
|
| 872 |
+
825,
|
| 873 |
+
626
|
| 874 |
+
],
|
| 875 |
+
"page_idx": 7
|
| 876 |
+
},
|
| 877 |
+
{
|
| 878 |
+
"type": "text",
|
| 879 |
+
"text": "However for the objects (such as $\\alpha _ { \\infty }$ ) and functions we introduce to be well defined, we need to guarantee the convergence of $\\int _ { 0 } ^ { \\infty } L ( \\beta _ { s } ) \\mathrm { d } s$ . Besides, it is crucial to grasp the scale of this quantity since it gives the overall scale of $\\alpha _ { \\infty }$ . This is done in the following proposition where we lower and upper bound its value. ",
|
| 880 |
+
"bbox": [
|
| 881 |
+
174,
|
| 882 |
+
631,
|
| 883 |
+
825,
|
| 884 |
+
686
|
| 885 |
+
],
|
| 886 |
+
"page_idx": 7
|
| 887 |
+
},
|
| 888 |
+
{
|
| 889 |
+
"type": "text",
|
| 890 |
+
"text": "Proposition 3. Under the same setting as in Proposition 2 with initialisation $w _ { 0 , \\pm } = \\alpha \\mathbf { 1 }$ , we have with probability at least $1 - p$ : ",
|
| 891 |
+
"bbox": [
|
| 892 |
+
171,
|
| 893 |
+
689,
|
| 894 |
+
823,
|
| 895 |
+
717
|
| 896 |
+
],
|
| 897 |
+
"page_idx": 7
|
| 898 |
+
},
|
| 899 |
+
{
|
| 900 |
+
"type": "equation",
|
| 901 |
+
"img_path": "images/b37d9063dbef10395361243242e9518512fc02421666456c8c9b5a25e1e7bdcc.jpg",
|
| 902 |
+
"text": "$$\n\\Omega \\Big ( \\| \\beta _ { \\ell _ { 1 } } ^ { * } \\| _ { 1 } \\ln \\Big ( \\frac { \\| \\beta _ { \\ell _ { 1 } } ^ { * } \\| _ { 1 } } { \\alpha ^ { 2 } } \\Big ) \\Big ) \\underset { \\alpha \\to 0 } { \\leqslant } \\int _ { 0 } ^ { + \\infty } L ( \\beta _ { s } ) { \\mathrm { d } } s \\leqslant O \\Big ( \\operatorname* { m a x } \\big \\{ \\| \\beta _ { \\ell _ { 1 } } ^ { * } \\| _ { 1 } \\ln \\Big ( \\frac { \\| \\beta _ { \\ell _ { 1 } } ^ { * } \\| _ { 1 } } { \\alpha ^ { 2 } } \\Big ) , \\alpha ^ { 2 } d \\big \\} \\Big ) .\n$$",
|
| 903 |
+
"text_format": "latex",
|
| 904 |
+
"bbox": [
|
| 905 |
+
204,
|
| 906 |
+
718,
|
| 907 |
+
790,
|
| 908 |
+
753
|
| 909 |
+
],
|
| 910 |
+
"page_idx": 7
|
| 911 |
+
},
|
| 912 |
+
{
|
| 913 |
+
"type": "text",
|
| 914 |
+
"text": "We point out that the lower bound is given for small $\\alpha$ ’s for simplicity but we provide in Lemma 7 (Appendix B.5) a lower bound which holds for all $\\alpha$ ’s. Note that when $\\gamma = 0$ , which corresponds to deterministic gradient flow, we can give the exact value for the integral: $\\begin{array} { r } { \\int _ { 0 } ^ { + \\infty } L ( \\beta _ { s } ) \\mathrm { d } s = } \\end{array}$ $\\begin{array} { c l c r } { \\frac { 1 } { 2 } D _ { \\phi _ { \\alpha } } \\big ( \\beta _ { \\infty } ^ { \\alpha } , \\beta _ { 0 } \\big ) } \\end{array}$ (see Proposition 7 in Appendix C). This matches the scale of the bounds given in Proposition 3, hence showing the tightness of the result. We focus now on how this translates to the scale of the effective initialisation w.r.t. $\\alpha$ when this latter is small enough. In fact, this lower bound on the integral of the loss along with a stronger assumption on the boundedness of the iterates lead to ",
|
| 915 |
+
"bbox": [
|
| 916 |
+
173,
|
| 917 |
+
760,
|
| 918 |
+
825,
|
| 919 |
+
864
|
| 920 |
+
],
|
| 921 |
+
"page_idx": 7
|
| 922 |
+
},
|
| 923 |
+
{
|
| 924 |
+
"type": "equation",
|
| 925 |
+
"img_path": "images/42b998f00cc0a581decc3c7e9278118d14d05703f778c317a34d0cd3bc2654e6.jpg",
|
| 926 |
+
"text": "$$\n\\frac { \\alpha _ { \\infty } } { \\alpha } \\underset { \\alpha 0 } { \\leqslant } ( \\frac { \\alpha ^ { 2 } } { \\| \\beta _ { \\ell _ { 1 } } ^ { * } \\| _ { 1 } } ) ^ { \\zeta } ,\n$$",
|
| 927 |
+
"text_format": "latex",
|
| 928 |
+
"bbox": [
|
| 929 |
+
419,
|
| 930 |
+
864,
|
| 931 |
+
576,
|
| 932 |
+
910
|
| 933 |
+
],
|
| 934 |
+
"page_idx": 7
|
| 935 |
+
},
|
| 936 |
+
{
|
| 937 |
+
"type": "text",
|
| 938 |
+
"text": "for some $\\zeta > 0$ . Hence the smaller the initialisation scale $\\alpha$ and the greater the benefit of SGD over GD in terms of implicit bias (see Appendix B.6 for more details). ",
|
| 939 |
+
"bbox": [
|
| 940 |
+
171,
|
| 941 |
+
90,
|
| 942 |
+
823,
|
| 943 |
+
119
|
| 944 |
+
],
|
| 945 |
+
"page_idx": 8
|
| 946 |
+
},
|
| 947 |
+
{
|
| 948 |
+
"type": "text",
|
| 949 |
+
"text": "Again, the proof of this proposition is technical and relies on considering appropriate Lyapunov functions which highly resemble to Bregman divergences, but which take into account the fact that the geometry changes over time. These overall decreasing Lyapunov’s enable to bound the iterates as well as lower and upper bound the integral of the loss. The stochastic integrals which naturally appear are controlled with high probability using time-uniform concentration of martingales [19]. ",
|
| 950 |
+
"bbox": [
|
| 951 |
+
174,
|
| 952 |
+
126,
|
| 953 |
+
825,
|
| 954 |
+
195
|
| 955 |
+
],
|
| 956 |
+
"page_idx": 8
|
| 957 |
+
},
|
| 958 |
+
{
|
| 959 |
+
"type": "text",
|
| 960 |
+
"text": "5 Experiments ",
|
| 961 |
+
"text_level": 1,
|
| 962 |
+
"bbox": [
|
| 963 |
+
174,
|
| 964 |
+
208,
|
| 965 |
+
312,
|
| 966 |
+
226
|
| 967 |
+
],
|
| 968 |
+
"page_idx": 8
|
| 969 |
+
},
|
| 970 |
+
{
|
| 971 |
+
"type": "text",
|
| 972 |
+
"text": "5.1 Experimental setup for sparse regression ",
|
| 973 |
+
"text_level": 1,
|
| 974 |
+
"bbox": [
|
| 975 |
+
173,
|
| 976 |
+
239,
|
| 977 |
+
498,
|
| 978 |
+
255
|
| 979 |
+
],
|
| 980 |
+
"page_idx": 8
|
| 981 |
+
},
|
| 982 |
+
{
|
| 983 |
+
"type": "text",
|
| 984 |
+
"text": "We consider the following sparse regression setup for our experiments. We choose $n = 4 0$ , $d = 1 0 0$ and randomly generate a sparse model $\\beta _ { \\ell _ { 0 } } ^ { \\ast }$ such that $\\| \\beta _ { \\ell _ { 0 } } ^ { * } \\| _ { 0 } = 5$ . We generate the features as $x _ { i } \\sim \\mathcal { N } ( 0 , I )$ and the labels as $y _ { i } = x _ { i } ^ { \\top } \\beta _ { \\ell _ { 0 } } ^ { * }$ . SGD, GD and the SGF are always initialised using the same scale $\\alpha > 0$ and it is specified each time. We use the same step size for GD and SGD and choose it to be the biggest as possible why still ensuring convergence. Note that since the true population covariance $\\mathbb { E } [ x x ^ { \\top } ]$ is equal to identity, the quantity $\\lVert \\beta _ { t } - \\beta _ { \\ell _ { 0 } } ^ { * } \\rVert _ { 2 } ^ { 2 }$ corresponds to the validation loss. ",
|
| 985 |
+
"bbox": [
|
| 986 |
+
173,
|
| 987 |
+
263,
|
| 988 |
+
826,
|
| 989 |
+
352
|
| 990 |
+
],
|
| 991 |
+
"page_idx": 8
|
| 992 |
+
},
|
| 993 |
+
{
|
| 994 |
+
"type": "text",
|
| 995 |
+
"text": "5.2 Validation of the SDE model ",
|
| 996 |
+
"text_level": 1,
|
| 997 |
+
"bbox": [
|
| 998 |
+
174,
|
| 999 |
+
367,
|
| 1000 |
+
411,
|
| 1001 |
+
382
|
| 1002 |
+
],
|
| 1003 |
+
"page_idx": 8
|
| 1004 |
+
},
|
| 1005 |
+
{
|
| 1006 |
+
"type": "text",
|
| 1007 |
+
"text": "In this section, we present an experimental validation of the stochastic gradient flow model. In Figure 3, for the same step size, we run: (i) the trajectory of gradient descent, (ii) 5 trajectories of stochastic gradient descent that correspond to different realisations of the uniform sampling over the data, (iii) 5 trajectories of the stochastic gradient flow (its Euler discretisation with $\\mathrm { d } t = \\gamma / 1 0 $ )) corresponding to different realisations of the Brownian. We clearly see (left) that the loss behaves similarly for SGD and SGF across time. We also see that the validation losses (right) of the iterates of SGD and SGF have very similar behaviours. This tends to validate our continuous modelling from Section 2.2. ",
|
| 1008 |
+
"bbox": [
|
| 1009 |
+
173,
|
| 1010 |
+
392,
|
| 1011 |
+
825,
|
| 1012 |
+
503
|
| 1013 |
+
],
|
| 1014 |
+
"page_idx": 8
|
| 1015 |
+
},
|
| 1016 |
+
{
|
| 1017 |
+
"type": "image",
|
| 1018 |
+
"img_path": "images/c80042837b130c94a7a101d35c6c494c46490def198558b9ee38e05f11479992.jpg",
|
| 1019 |
+
"image_caption": [
|
| 1020 |
+
"Figure 3: Sparse regression (see Section 5.1 for the detailed experimental setup). Left and right: the training and the validation losses behave very similarly, corroborating the continuous modelling. "
|
| 1021 |
+
],
|
| 1022 |
+
"image_footnote": [],
|
| 1023 |
+
"bbox": [
|
| 1024 |
+
178,
|
| 1025 |
+
508,
|
| 1026 |
+
792,
|
| 1027 |
+
698
|
| 1028 |
+
],
|
| 1029 |
+
"page_idx": 8
|
| 1030 |
+
},
|
| 1031 |
+
{
|
| 1032 |
+
"type": "text",
|
| 1033 |
+
"text": "5.3 GD and SGD have the same implicit bias, but from different initialisations. ",
|
| 1034 |
+
"text_level": 1,
|
| 1035 |
+
"bbox": [
|
| 1036 |
+
174,
|
| 1037 |
+
760,
|
| 1038 |
+
730,
|
| 1039 |
+
775
|
| 1040 |
+
],
|
| 1041 |
+
"page_idx": 8
|
| 1042 |
+
},
|
| 1043 |
+
{
|
| 1044 |
+
"type": "text",
|
| 1045 |
+
"text": "In order to confirm and illustrate the main Theorem 1, we provide the following experiment which is illustrated Figure 4. We first run GD and SGD with the same step-size and initialise them both at $\\alpha \\mathbf { 1 }$ with $\\alpha ~ = ~ 0 . 0 1$ . As expected, the solution recovered by SGD generalises better. Then, using the iterates $\\beta _ { t } ^ { \\mathrm { S G D } }$ from the first SGD run, we compute the value $\\begin{array} { r } { \\alpha _ { \\infty } = \\alpha \\exp ( - 2 \\gamma \\operatorname { d i a g } ( X ^ { \\top } X / n ) \\int _ { 0 } ^ { \\infty } L ( \\beta _ { s } ^ { \\mathrm { S G D } } ) \\mathrm { d } s ) \\in \\mathbb { R } ^ { d } } \\end{array}$ (the integral is approximated by its discrete time approximation with $\\mathrm { d } t = \\gamma$ ). We then run gradient descent but this time initialised at $w _ { 0 , \\pm } = \\alpha _ { \\infty }$ . According to our main result from Theorem 1, it should approximately (it would be exact if we ran SGF and GF) converge to the same solution as SGD initialised at $\\alpha \\mathbf { 1 }$ . This is clearly observed Figure 4 (right). Also note that SGD and GD (initialised at $\\alpha _ { \\infty }$ ) seem to have overall very similar dynamics, this is not shown by our results and we leave this as future work. However keep in mind that though the validation losses converge at the same iteration rate, in terms of computation time, SGD is $n$ times faster. ",
|
| 1046 |
+
"bbox": [
|
| 1047 |
+
173,
|
| 1048 |
+
785,
|
| 1049 |
+
825,
|
| 1050 |
+
911
|
| 1051 |
+
],
|
| 1052 |
+
"page_idx": 8
|
| 1053 |
+
},
|
| 1054 |
+
{
|
| 1055 |
+
"type": "text",
|
| 1056 |
+
"text": "",
|
| 1057 |
+
"bbox": [
|
| 1058 |
+
176,
|
| 1059 |
+
90,
|
| 1060 |
+
823,
|
| 1061 |
+
132
|
| 1062 |
+
],
|
| 1063 |
+
"page_idx": 9
|
| 1064 |
+
},
|
| 1065 |
+
{
|
| 1066 |
+
"type": "image",
|
| 1067 |
+
"img_path": "images/9bf19469529b7bb71b26709898ba73a91666e10c1a9460bfd728fa9d739a7fb5.jpg",
|
| 1068 |
+
"image_caption": [
|
| 1069 |
+
"Figure 4: Sparse regression (see Section 5.1 for the detailed experimental setup). Left and right: SGD initialised at $\\alpha \\mathbf { 1 }$ converges towards the same point as GD initialised at $\\begin{array} { r l } { \\alpha _ { \\infty } } & { { } = } \\end{array}$ $\\begin{array} { r } { \\tilde { \\alpha \\exp ( - 2 \\gamma \\operatorname { d i a g } ( X ^ { \\top } X / n ) \\int _ { 0 } ^ { \\infty } { { L } ( \\beta _ { s } ^ { \\mathrm { { S G } \\tilde { D } } } ) \\mathrm { { d } } s } ) } } \\end{array}$ . "
|
| 1070 |
+
],
|
| 1071 |
+
"image_footnote": [],
|
| 1072 |
+
"bbox": [
|
| 1073 |
+
191,
|
| 1074 |
+
138,
|
| 1075 |
+
779,
|
| 1076 |
+
318
|
| 1077 |
+
],
|
| 1078 |
+
"page_idx": 9
|
| 1079 |
+
},
|
| 1080 |
+
{
|
| 1081 |
+
"type": "text",
|
| 1082 |
+
"text": "5.4 Doping the implicit bias with label noise ",
|
| 1083 |
+
"text_level": 1,
|
| 1084 |
+
"bbox": [
|
| 1085 |
+
176,
|
| 1086 |
+
391,
|
| 1087 |
+
490,
|
| 1088 |
+
406
|
| 1089 |
+
],
|
| 1090 |
+
"page_idx": 9
|
| 1091 |
+
},
|
| 1092 |
+
{
|
| 1093 |
+
"type": "text",
|
| 1094 |
+
"text": "As largely discussed throughout the paper, the effect of the implicit bias is controlled by the convergence speed of the loss: the slower it converges, the sparser the selected solution will be. Hence the following question: can we leverage this knowledge to dope the implicit bias? We argue in this Section that the answer to this question is affirmative. Indeed, consider a sequence $( \\delta _ { t } ) _ { t \\in \\mathbb { N } } \\overline { { \\in } } { \\mathbb { R } } _ { + } ^ { \\mathbb { N } }$ and assume that we artificially inject some label noise $\\Delta _ { t }$ at time $t$ , say for example $\\Delta _ { t } \\sim \\mathrm { U n i f } \\{ 2 \\delta _ { t } , - 2 \\delta _ { t } \\}$ (independently from $i _ { t }$ ). This injected label noise perturbs the SGD recursion as follows: ",
|
| 1095 |
+
"bbox": [
|
| 1096 |
+
173,
|
| 1097 |
+
416,
|
| 1098 |
+
825,
|
| 1099 |
+
500
|
| 1100 |
+
],
|
| 1101 |
+
"page_idx": 9
|
| 1102 |
+
},
|
| 1103 |
+
{
|
| 1104 |
+
"type": "equation",
|
| 1105 |
+
"img_path": "images/d4c1efa4e607861dd2c5b3e8b631d2ba1877fa79b72b206368722a21b2ab69ea.jpg",
|
| 1106 |
+
"text": "$$\nw _ { t + 1 , \\pm } = w _ { t , \\pm } \\mp \\gamma \\left( \\langle \\beta _ { w } - \\beta ^ { * } , x _ { i _ { t } } \\rangle + \\Delta _ { t } \\right) x _ { i _ { t } } \\odot w _ { t , + } ,\n$$",
|
| 1107 |
+
"text_format": "latex",
|
| 1108 |
+
"bbox": [
|
| 1109 |
+
215,
|
| 1110 |
+
503,
|
| 1111 |
+
583,
|
| 1112 |
+
521
|
| 1113 |
+
],
|
| 1114 |
+
"page_idx": 9
|
| 1115 |
+
},
|
| 1116 |
+
{
|
| 1117 |
+
"type": "text",
|
| 1118 |
+
"text": "As in Section 2.2, we can derive its related stochastic gradient flow (see Appendix D.1 for more details): ",
|
| 1119 |
+
"bbox": [
|
| 1120 |
+
176,
|
| 1121 |
+
523,
|
| 1122 |
+
825,
|
| 1123 |
+
551
|
| 1124 |
+
],
|
| 1125 |
+
"page_idx": 9
|
| 1126 |
+
},
|
| 1127 |
+
{
|
| 1128 |
+
"type": "equation",
|
| 1129 |
+
"img_path": "images/798075e2ad55d90fd7fb3a6a89b38d2fb95ec7007ed74506d22095b9427154b9.jpg",
|
| 1130 |
+
"text": "$$\n\\mathrm { d } w _ { t , \\pm } = - \\nabla _ { w _ { \\pm } } L ( w _ { t } ) \\mathrm { d } t \\pm 2 \\sqrt { \\gamma n ^ { - 1 } ( L ( w _ { t } ) + \\delta _ { t } ^ { 2 } ) } w _ { t , + } \\odot [ X ^ { \\top } \\mathrm { d } B _ { t } ] .\n$$",
|
| 1131 |
+
"text_format": "latex",
|
| 1132 |
+
"bbox": [
|
| 1133 |
+
267,
|
| 1134 |
+
554,
|
| 1135 |
+
728,
|
| 1136 |
+
582
|
| 1137 |
+
],
|
| 1138 |
+
"page_idx": 9
|
| 1139 |
+
},
|
| 1140 |
+
{
|
| 1141 |
+
"type": "text",
|
| 1142 |
+
"text": "Assuming that $( \\delta _ { t } ) _ { t \\geq 0 } \\in ( \\mathbb { R } _ { + } ) ^ { \\mathbb { R } }$ and $\\gamma$ are such that the iterates converge, the corresponding implicit regularisation minimisation problem is preserved but with a \"slowed down\" loss: $\\tilde { L } ( \\beta _ { t } ) : = L ( \\beta _ { t } ) + \\delta _ { t } ^ { 2 }$ and the effective initialisation writes: $\\begin{array} { r } { \\tilde { \\alpha } _ { \\infty } = \\alpha \\odot \\exp \\left( - 2 \\gamma \\mathrm { d i a g } ( \\frac { X ^ { \\top } X } { n } ) \\int _ { 0 } ^ { + \\infty } \\tilde { L } ( \\beta _ { s } ) \\mathrm { d } s \\right) } \\end{array}$ . The label noise therefore helps recovering a solution which has better sparsity properties. However, it must be kept in mind that adding too much label noise can significantly slow down the convergence of the validation loss or even prevent the iterates from converging. Yet, experimental results showing the impressive effect of label noise are provided Figure 5 in Appendix D.1. ",
|
| 1143 |
+
"bbox": [
|
| 1144 |
+
173,
|
| 1145 |
+
584,
|
| 1146 |
+
825,
|
| 1147 |
+
695
|
| 1148 |
+
],
|
| 1149 |
+
"page_idx": 9
|
| 1150 |
+
},
|
| 1151 |
+
{
|
| 1152 |
+
"type": "text",
|
| 1153 |
+
"text": "6 Conclusion and Perspectives ",
|
| 1154 |
+
"text_level": 1,
|
| 1155 |
+
"bbox": [
|
| 1156 |
+
174,
|
| 1157 |
+
713,
|
| 1158 |
+
442,
|
| 1159 |
+
731
|
| 1160 |
+
],
|
| 1161 |
+
"page_idx": 9
|
| 1162 |
+
},
|
| 1163 |
+
{
|
| 1164 |
+
"type": "text",
|
| 1165 |
+
"text": "In this paper, we have shown the benefit of using stochastic gradient descent over gradient descent for diagonal linear networks in terms of their implicit bias. Indeed, we prove that stochastic gradient flow acts as gradient flow but initialised at a smaller scale: this induces a sparser finale iterate. This effect is controlled by the speed of convergence of the loss. Moreover, we prove the convergence of the flow and exhibit an interesting link with mirror descent. Fully understanding this novel type of dynamics could help to grasp the implicit biasing properties of stochastic gradient descent in other frameworks. It is also natural to ask whether the integral of the loss also controls the difference of implicit regularisation for more general architectures. It would also be interesting to analyse how this property adapts to log losses known to lead to max-margin solutions in classification. ",
|
| 1166 |
+
"bbox": [
|
| 1167 |
+
173,
|
| 1168 |
+
743,
|
| 1169 |
+
825,
|
| 1170 |
+
869
|
| 1171 |
+
],
|
| 1172 |
+
"page_idx": 9
|
| 1173 |
+
},
|
| 1174 |
+
{
|
| 1175 |
+
"type": "text",
|
| 1176 |
+
"text": "Acknowledgements. NF would like to thank Nathan Srebro for introducing him to the question of SGD’s implicit bias as well as for the stimulating discussions they had during his visit at EPFL. ",
|
| 1177 |
+
"bbox": [
|
| 1178 |
+
173,
|
| 1179 |
+
882,
|
| 1180 |
+
823,
|
| 1181 |
+
911
|
| 1182 |
+
],
|
| 1183 |
+
"page_idx": 9
|
| 1184 |
+
},
|
| 1185 |
+
{
|
| 1186 |
+
"type": "text",
|
| 1187 |
+
"text": "References \n[1] Alnur Ali, Edgar Dobriban, and Ryan Tibshirani. The implicit regularization of stochastic gradient flow for least squares. In International Conference on Machine Learning, pages 233–244. PMLR, 2020. \n[2] Shahar Azulay, Edward Moroshko, Mor Shpigel Nacson, Blake Woodworth, Nathan Srebro, Amir Globerson, and Daniel Soudry. On the implicit bias of initialization shape: Beyond infinitesimal mirror descent. arXiv preprint arXiv:2102.09769, 2021. \n[3] Francis Bach. Breaking the curse of dimensionality with convex neural networks. Journal of Machine Learning Research, 18(19):1–53, 2017. \n[4] Heinz H Bauschke, Jérôme Bolte, and Marc Teboulle. A descent lemma beyond lipschitz gradient continuity: first-order methods revisited and applications. Mathematics of Operations Research, 42(2):330–348, 2017. \n[5] Guy Blanc, Neha Gupta, Gregory Valiant, and Paul Valiant. Implicit regularization for deep neural networks driven by an ornstein-uhlenbeck like process. In Conference on learning theory, pages 483–513. PMLR, 2020. \n[6] Stéphane Boucheron, Gábor Lugosi, and Pascal Massart. Concentration inequalities: A nonasymptotic theory of independence. Oxford university press, 2013. \n[7] Ioannis Chatzigeorgiou. Bounds on the lambert function and their application to the outage analysis of user cooperation. IEEE Communications Letters, 17(8):1505–1508, 2013. \n[8] Pratik Chaudhari and Stefano Soatto. Stochastic gradient descent performs variational inference, converges to limit cycles for deep networks. In 2018 Information Theory and Applications Workshop (ITA), pages 1–10. IEEE, 2018. \n[9] Xiang Cheng, Dong Yin, Peter Bartlett, and Michael Jordan. Stochastic gradient and Langevin processes. In Proceedings of the 37th International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pages 1810–1819. PMLR, 13–18 Jul 2020. \n[10] Lénaïc Chizat and Francis Bach. On the global convergence of gradient descent for overparameterized models using optimal transport. In Advances in Neural Information Processing Systems, volume 31. Curran Associates, Inc., 2018. \n[11] Lenaic Chizat and Francis Bach. Implicit bias of gradient descent for wide two-layer neural networks trained with the logistic loss. In Conference on Learning Theory, pages 1305–1338. PMLR, 2020. \n[12] Lénaïc Chizat, Edouard Oyallon, and Francis Bach. On lazy training in differentiable programming. In Advances in Neural Information Processing Systems, volume 32. Curran Associates, Inc., 2019. \n[13] Udaya Ghai, Elad Hazan, and Yoram Singer. Exponentiated gradient meets gradient descent. In Proceedings of the 31st International Conference on Algorithmic Learning Theory, volume 117 of Proceedings of Machine Learning Research, pages 386–407, San Diego, California, USA, 08 Feb–11 Feb 2020. PMLR. \n[14] Suriya Gunasekar, Jason Lee, Daniel Soudry, and Nathan Srebro. Characterizing implicit bias in terms of optimization geometry. In International Conference on Machine Learning, pages 1832–1841. PMLR, 2018. \n[15] Jeff Z HaoChen, Colin Wei, Jason D Lee, and Tengyu Ma. Shape matters: Understanding the implicit bias of the noise covariance. arXiv preprint arXiv:2006.08680, 2020. \n[16] Fengxiang He, Tongliang Liu, and Dacheng Tao. Control batch size and learning rate to generalize well: Theoretical and empirical evidence. In Advances in Neural Information Processing Systems, volume 32, 2019. \n[17] Sepp Hochreiter and Jürgen Schmidhuber. Flat minima. Neural Comput., 9(1):1–42, jan 1997. ",
|
| 1188 |
+
"bbox": [
|
| 1189 |
+
169,
|
| 1190 |
+
68,
|
| 1191 |
+
828,
|
| 1192 |
+
912
|
| 1193 |
+
],
|
| 1194 |
+
"page_idx": 10
|
| 1195 |
+
},
|
| 1196 |
+
{
|
| 1197 |
+
"type": "text",
|
| 1198 |
+
"text": "[18] Elad Hoffer, Itay Hubara, and Daniel Soudry. Train longer, generalize better: Closing the generalization gap in large batch training of neural networks. In Proceedings of the 31st International Conference on Neural Information Processing Systems, NIPS’17, page 1729–1739, 2017. ",
|
| 1199 |
+
"bbox": [
|
| 1200 |
+
173,
|
| 1201 |
+
90,
|
| 1202 |
+
826,
|
| 1203 |
+
146
|
| 1204 |
+
],
|
| 1205 |
+
"page_idx": 11
|
| 1206 |
+
},
|
| 1207 |
+
{
|
| 1208 |
+
"type": "text",
|
| 1209 |
+
"text": "[19] Steven R. Howard, Aaditya Ramdas, Jon McAuliffe, and Jasjeet Sekhon. Time-uniform Chernoff bounds via nonnegative supermartingales. Probability Surveys, 17(none):257 – 317, 2020. doi: 10.1214/18-PS321. ",
|
| 1210 |
+
"bbox": [
|
| 1211 |
+
173,
|
| 1212 |
+
156,
|
| 1213 |
+
823,
|
| 1214 |
+
199
|
| 1215 |
+
],
|
| 1216 |
+
"page_idx": 11
|
| 1217 |
+
},
|
| 1218 |
+
{
|
| 1219 |
+
"type": "text",
|
| 1220 |
+
"text": "[20] Arthur Jacot, Franck Gabriel, and Clement Hongler. Neural tangent kernel: Convergence and generalization in neural networks. In Advances in Neural Information Processing Systems, volume 31. Curran Associates, Inc., 2018. ",
|
| 1221 |
+
"bbox": [
|
| 1222 |
+
173,
|
| 1223 |
+
208,
|
| 1224 |
+
825,
|
| 1225 |
+
252
|
| 1226 |
+
],
|
| 1227 |
+
"page_idx": 11
|
| 1228 |
+
},
|
| 1229 |
+
{
|
| 1230 |
+
"type": "text",
|
| 1231 |
+
"text": "[21] Stanislaw Jastrzebski, Zac Kenton, Devansh Arpit, Nicolas Ballas, Asja Fischer, Amos Storkey, and Yoshua Bengio. Three factors influencing minima in SGD. In International Conference on Learning Representations, 2018. ",
|
| 1232 |
+
"bbox": [
|
| 1233 |
+
171,
|
| 1234 |
+
261,
|
| 1235 |
+
825,
|
| 1236 |
+
304
|
| 1237 |
+
],
|
| 1238 |
+
"page_idx": 11
|
| 1239 |
+
},
|
| 1240 |
+
{
|
| 1241 |
+
"type": "text",
|
| 1242 |
+
"text": "[22] Ziwei Ji and Matus Telgarsky. Gradient descent aligns the layers of deep linear networks. In International Conference on Learning Representations, 2019. ",
|
| 1243 |
+
"bbox": [
|
| 1244 |
+
173,
|
| 1245 |
+
313,
|
| 1246 |
+
823,
|
| 1247 |
+
343
|
| 1248 |
+
],
|
| 1249 |
+
"page_idx": 11
|
| 1250 |
+
},
|
| 1251 |
+
{
|
| 1252 |
+
"type": "text",
|
| 1253 |
+
"text": "[23] Nitish Shirish Keskar, Dheevatsa Mudigere, Jorge Nocedal, Mikhail Smelyanskiy, and Ping Tak Peter Tang. On large-batch training for deep learning: Generalization gap and sharp minima. In International Conference on Learning Representations, 2017. ",
|
| 1254 |
+
"bbox": [
|
| 1255 |
+
174,
|
| 1256 |
+
351,
|
| 1257 |
+
823,
|
| 1258 |
+
395
|
| 1259 |
+
],
|
| 1260 |
+
"page_idx": 11
|
| 1261 |
+
},
|
| 1262 |
+
{
|
| 1263 |
+
"type": "text",
|
| 1264 |
+
"text": "[24] Bobby Kleinberg, Yuanzhi Li, and Yang Yuan. An alternative view: When does SGD escape local minima? In Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pages 2698–2707. PMLR, 10–15 Jul 2018. ",
|
| 1265 |
+
"bbox": [
|
| 1266 |
+
173,
|
| 1267 |
+
402,
|
| 1268 |
+
825,
|
| 1269 |
+
459
|
| 1270 |
+
],
|
| 1271 |
+
"page_idx": 11
|
| 1272 |
+
},
|
| 1273 |
+
{
|
| 1274 |
+
"type": "text",
|
| 1275 |
+
"text": "[25] Peter E Kloeden and Eckhard Platen. Stochastic differential equations. In Numerical Solution of Stochastic Differential Equations, pages 103–160. Springer, 1992. ",
|
| 1276 |
+
"bbox": [
|
| 1277 |
+
173,
|
| 1278 |
+
468,
|
| 1279 |
+
823,
|
| 1280 |
+
498
|
| 1281 |
+
],
|
| 1282 |
+
"page_idx": 11
|
| 1283 |
+
},
|
| 1284 |
+
{
|
| 1285 |
+
"type": "text",
|
| 1286 |
+
"text": "[26] Qianxiao Li, Cheng Tai, and Weinan E. Stochastic modified equations and dynamics of stochastic gradient algorithms i: Mathematical foundations. Journal of Machine Learning Research, 20(40):1–47, 2019. ",
|
| 1287 |
+
"bbox": [
|
| 1288 |
+
174,
|
| 1289 |
+
507,
|
| 1290 |
+
821,
|
| 1291 |
+
550
|
| 1292 |
+
],
|
| 1293 |
+
"page_idx": 11
|
| 1294 |
+
},
|
| 1295 |
+
{
|
| 1296 |
+
"type": "text",
|
| 1297 |
+
"text": "[27] Kaifeng Lyu and Jian Li. Gradient descent maximizes the margin of homogeneous neural networks. In International Conference on Learning Representations, 2020. ",
|
| 1298 |
+
"bbox": [
|
| 1299 |
+
173,
|
| 1300 |
+
559,
|
| 1301 |
+
821,
|
| 1302 |
+
589
|
| 1303 |
+
],
|
| 1304 |
+
"page_idx": 11
|
| 1305 |
+
},
|
| 1306 |
+
{
|
| 1307 |
+
"type": "text",
|
| 1308 |
+
"text": "[28] Stephan Mandt, Matthew D. Hoffman, and David M. Blei. A variational analysis of stochastic gradient algorithms. In Proceedings of the 33rd International Conference on International Conference on Machine Learning - Volume 48, ICML’16, page 354–363, 2016. ",
|
| 1309 |
+
"bbox": [
|
| 1310 |
+
173,
|
| 1311 |
+
597,
|
| 1312 |
+
821,
|
| 1313 |
+
641
|
| 1314 |
+
],
|
| 1315 |
+
"page_idx": 11
|
| 1316 |
+
},
|
| 1317 |
+
{
|
| 1318 |
+
"type": "text",
|
| 1319 |
+
"text": "[29] Song Mei, Andrea Montanari, and Phan-Minh Nguyen. A mean field view of the landscape of two-layer neural networks. Proceedings of the National Academy of Sciences, 115(33): E7665–E7671, 2018. ",
|
| 1320 |
+
"bbox": [
|
| 1321 |
+
173,
|
| 1322 |
+
650,
|
| 1323 |
+
825,
|
| 1324 |
+
693
|
| 1325 |
+
],
|
| 1326 |
+
"page_idx": 11
|
| 1327 |
+
},
|
| 1328 |
+
{
|
| 1329 |
+
"type": "text",
|
| 1330 |
+
"text": "[30] Daniel Revuz and Marc Yor. Continuous martingales and Brownian motion, volume 293. Springer Science & Business Media, 2013. ",
|
| 1331 |
+
"bbox": [
|
| 1332 |
+
166,
|
| 1333 |
+
702,
|
| 1334 |
+
826,
|
| 1335 |
+
731
|
| 1336 |
+
],
|
| 1337 |
+
"page_idx": 11
|
| 1338 |
+
},
|
| 1339 |
+
{
|
| 1340 |
+
"type": "text",
|
| 1341 |
+
"text": "[31] Daniel Soudry, Elad Hoffer, Mor Shpigel Nacson, Suriya Gunasekar, and Nathan Srebro. The implicit bias of gradient descent on separable data. The Journal of Machine Learning Research, 19(1):2822–2878, 2018. ",
|
| 1342 |
+
"bbox": [
|
| 1343 |
+
173,
|
| 1344 |
+
739,
|
| 1345 |
+
825,
|
| 1346 |
+
784
|
| 1347 |
+
],
|
| 1348 |
+
"page_idx": 11
|
| 1349 |
+
},
|
| 1350 |
+
{
|
| 1351 |
+
"type": "text",
|
| 1352 |
+
"text": "[32] Aditya Varre, Loucas Pillaud-Vivien, and Nicolas Flammarion. Last iterate convergence of sgd for least-squares in the interpolation regime. 2021. ",
|
| 1353 |
+
"bbox": [
|
| 1354 |
+
171,
|
| 1355 |
+
792,
|
| 1356 |
+
825,
|
| 1357 |
+
821
|
| 1358 |
+
],
|
| 1359 |
+
"page_idx": 11
|
| 1360 |
+
},
|
| 1361 |
+
{
|
| 1362 |
+
"type": "text",
|
| 1363 |
+
"text": "[33] Tomas Vaškevicius, Varun Kanade, and Patrick Rebeschini. Implicit regularization for optimal ˇ sparse recovery. arXiv preprint arXiv:1909.05122, 2019. ",
|
| 1364 |
+
"bbox": [
|
| 1365 |
+
169,
|
| 1366 |
+
830,
|
| 1367 |
+
823,
|
| 1368 |
+
859
|
| 1369 |
+
],
|
| 1370 |
+
"page_idx": 11
|
| 1371 |
+
},
|
| 1372 |
+
{
|
| 1373 |
+
"type": "text",
|
| 1374 |
+
"text": "[34] Tomas Vaskevicius, Varun Kanade, and Patrick Rebeschini. The statistical complexity of earlystopped mirror descent. In Advances in Neural Information Processing Systems, volume 33, pages 253–264. Curran Associates, Inc., 2020. ",
|
| 1375 |
+
"bbox": [
|
| 1376 |
+
174,
|
| 1377 |
+
869,
|
| 1378 |
+
828,
|
| 1379 |
+
911
|
| 1380 |
+
],
|
| 1381 |
+
"page_idx": 11
|
| 1382 |
+
},
|
| 1383 |
+
{
|
| 1384 |
+
"type": "text",
|
| 1385 |
+
"text": "[35] Stephan Wojtowytsch. Stochastic gradient descent with noise of machine learning type. Part I: Discrete time analysis, 2021. \n[36] Blake Woodworth, Suriya Gunasekar, Jason D Lee, Edward Moroshko, Pedro Savarese, Itay Golan, Daniel Soudry, and Nathan Srebro. Kernel and rich regimes in overparametrized models. In Conference on Learning Theory, pages 3635–3673. PMLR, 2020. \n[37] Fan Wu and Patrick Rebeschini. A continuous-time mirror descent approach to sparse phase retrieval. In Advances in Neural Information Processing Systems, volume 33, pages 20192– 20203. Curran Associates, Inc., 2020. \n[38] Lei Wu, Chao Ma, and Weinan E. How SGD selects the global minima in over-parameterized learning: A dynamical stability perspective. In Advances in Neural Information Processing Systems, volume 31, 2018. \n[39] Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning requires rethinking generalization. In 5th International Conference on Learning Representations, ICLR 2017, Toulon, France, April 24-26, 2017, Conference Track Proceedings. OpenReview.net, 2017. ",
|
| 1386 |
+
"bbox": [
|
| 1387 |
+
169,
|
| 1388 |
+
88,
|
| 1389 |
+
828,
|
| 1390 |
+
338
|
| 1391 |
+
],
|
| 1392 |
+
"page_idx": 12
|
| 1393 |
+
}
|
| 1394 |
+
]
|
parse/train/vvi7KqHQiA/vvi7KqHQiA_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/vvi7KqHQiA/vvi7KqHQiA_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
pdf/dev/-70L8lpp9DF.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7f328a99ca72e8b0f16956a9eee0efe7108c76ed4bbe99c0ebabe7f62eec9037
|
| 3 |
+
size 596114
|
pdf/dev/-H48S9ePSUC.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:733317ca9e47a5fde064d3e59a0c4072a9b1cabb0fe94ae7974c0041ed0a081f
|
| 3 |
+
size 1093238
|
pdf/dev/-NOQJw5z_KY.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7459cd8a2a8dd8c822290ba0697724874566305c5a073aaf9583089d40d78e89
|
| 3 |
+
size 8389986
|
pdf/dev/-P7G-8dmSh4.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d73ffb0bce0271f04fedd0fc502fddf93d2becaba53718fea80915c5d63523e5
|
| 3 |
+
size 915794
|
pdf/dev/-QHUWgkh1OY.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b3d5d9906ae1f24ae6100780aa1ed6507d22758a0cec062bd18e8e35eca2b200
|
| 3 |
+
size 475225
|
pdf/dev/-h6WAS6eE4.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d714e196bf8efa72ce6bc843b61a1e3e770f202911e6e5b26a6663910643e0a3
|
| 3 |
+
size 2014385
|
pdf/dev/-kS21GWVJU.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bf2aae90781fc03e55b24346c251cd00831c97cbc050638547c0e2b5e04f3f31
|
| 3 |
+
size 536343
|
pdf/dev/-ltZ1uw8ZE7.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7fe985b906b1068250b0e60b00e61cfe65d277168d3414f4f23fa2136483d2ca
|
| 3 |
+
size 483612
|
pdf/dev/03RLpj-tc_.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:73fa5f936523055e88588255320943125f18c5c59fe1c3f78e6fe1ed2b2a71cc
|
| 3 |
+
size 1739053
|