ZHANGYUXUAN-zR commited on
Commit
61c8005
·
verified ·
1 Parent(s): 0d73a55

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +182 -0
  2. parse/dev/CZZFRxbOLC/CZZFRxbOLC_middle.json +0 -0
  3. parse/dev/CZZFRxbOLC/CZZFRxbOLC_model.json +0 -0
  4. parse/dev/FKXVK9dyMM/FKXVK9dyMM_content_list.json +2000 -0
  5. parse/dev/FKXVK9dyMM/FKXVK9dyMM_middle.json +0 -0
  6. parse/dev/FKXVK9dyMM/FKXVK9dyMM_model.json +0 -0
  7. parse/dev/HtqnVSCj3q/HtqnVSCj3q_middle.json +0 -0
  8. parse/dev/RYTBAtyXqJ/RYTBAtyXqJ.md +348 -0
  9. parse/dev/RYTBAtyXqJ/RYTBAtyXqJ_content_list.json +1883 -0
  10. parse/dev/RYTBAtyXqJ/RYTBAtyXqJ_middle.json +0 -0
  11. parse/dev/RYTBAtyXqJ/RYTBAtyXqJ_model.json +0 -0
  12. parse/dev/_XNtisL32jv/_XNtisL32jv.md +342 -0
  13. parse/dev/_XNtisL32jv/_XNtisL32jv_model.json +0 -0
  14. parse/dev/iEvAf8i6JjO/iEvAf8i6JjO.md +364 -0
  15. parse/dev/iEvAf8i6JjO/iEvAf8i6JjO_content_list.json +0 -0
  16. parse/dev/iEvAf8i6JjO/iEvAf8i6JjO_model.json +0 -0
  17. parse/dev/kTcRljax0x9/kTcRljax0x9_middle.json +0 -0
  18. parse/dev/mxzIrQIOGIK/mxzIrQIOGIK.md +517 -0
  19. parse/dev/mxzIrQIOGIK/mxzIrQIOGIK_model.json +0 -0
  20. parse/train/-1AAgrS5FF/-1AAgrS5FF_layout.pdf +3 -0
  21. parse/train/-1AAgrS5FF/-1AAgrS5FF_origin.pdf +3 -0
  22. parse/train/-1AAgrS5FF/-1AAgrS5FF_span.pdf +3 -0
  23. parse/train/-_FVMKvxVCQo1/-_FVMKvxVCQo1_layout.pdf +3 -0
  24. parse/train/-_FVMKvxVCQo1/-_FVMKvxVCQo1_origin.pdf +3 -0
  25. parse/train/-_FVMKvxVCQo1/-_FVMKvxVCQo1_span.pdf +3 -0
  26. parse/train/3WbWmdTd8fN/3WbWmdTd8fN_layout.pdf +3 -0
  27. parse/train/3WbWmdTd8fN/3WbWmdTd8fN_origin.pdf +3 -0
  28. parse/train/3WbWmdTd8fN/3WbWmdTd8fN_span.pdf +3 -0
  29. parse/train/5kTlVBkzSRx/5kTlVBkzSRx_layout.pdf +3 -0
  30. parse/train/5kTlVBkzSRx/5kTlVBkzSRx_origin.pdf +3 -0
  31. parse/train/5kTlVBkzSRx/5kTlVBkzSRx_span.pdf +3 -0
  32. parse/train/6ugK-RQhIP5/6ugK-RQhIP5_layout.pdf +3 -0
  33. parse/train/6ugK-RQhIP5/6ugK-RQhIP5_origin.pdf +3 -0
  34. parse/train/6ugK-RQhIP5/6ugK-RQhIP5_span.pdf +3 -0
  35. parse/train/7aogOj_VYO0/7aogOj_VYO0_layout.pdf +3 -0
  36. parse/train/7aogOj_VYO0/7aogOj_VYO0_origin.pdf +3 -0
  37. parse/train/7aogOj_VYO0/7aogOj_VYO0_span.pdf +3 -0
  38. parse/train/AJTAcS7SZzf/AJTAcS7SZzf_layout.pdf +3 -0
  39. parse/train/AJTAcS7SZzf/AJTAcS7SZzf_origin.pdf +3 -0
  40. parse/train/AJTAcS7SZzf/AJTAcS7SZzf_span.pdf +3 -0
  41. parse/train/B1-Hhnslg/B1-Hhnslg_layout.pdf +3 -0
  42. parse/train/B1-Hhnslg/B1-Hhnslg_origin.pdf +3 -0
  43. parse/train/B1-Hhnslg/B1-Hhnslg_span.pdf +3 -0
  44. parse/train/B14TlG-RW/B14TlG-RW_layout.pdf +3 -0
  45. parse/train/B14TlG-RW/B14TlG-RW_origin.pdf +3 -0
  46. parse/train/B14TlG-RW/B14TlG-RW_span.pdf +3 -0
  47. parse/train/B1edvs05Y7/B1edvs05Y7_layout.pdf +3 -0
  48. parse/train/B1edvs05Y7/B1edvs05Y7_origin.pdf +3 -0
  49. parse/train/B1edvs05Y7/B1edvs05Y7_span.pdf +3 -0
  50. parse/train/B1ffQnRcKX/B1ffQnRcKX_layout.pdf +3 -0
.gitattributes CHANGED
@@ -3849,3 +3849,185 @@ parse/train/SyfdsjA9FX/SyfdsjA9FX_origin.pdf filter=lfs diff=lfs merge=lfs -text
3849
  parse/train/SyfdsjA9FX/SyfdsjA9FX_layout.pdf filter=lfs diff=lfs merge=lfs -text
3850
  parse/train/Bkeuz20cYm/Bkeuz20cYm_layout.pdf filter=lfs diff=lfs merge=lfs -text
3851
  parse/train/Bkeuz20cYm/Bkeuz20cYm_origin.pdf filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3849
  parse/train/SyfdsjA9FX/SyfdsjA9FX_layout.pdf filter=lfs diff=lfs merge=lfs -text
3850
  parse/train/Bkeuz20cYm/Bkeuz20cYm_layout.pdf filter=lfs diff=lfs merge=lfs -text
3851
  parse/train/Bkeuz20cYm/Bkeuz20cYm_origin.pdf filter=lfs diff=lfs merge=lfs -text
3852
+ parse/train/Bkeuz20cYm/Bkeuz20cYm_span.pdf filter=lfs diff=lfs merge=lfs -text
3853
+ parse/train/pmWeMLm411_/pmWeMLm411__layout.pdf filter=lfs diff=lfs merge=lfs -text
3854
+ parse/train/pmWeMLm411_/pmWeMLm411__span.pdf filter=lfs diff=lfs merge=lfs -text
3855
+ parse/train/pmWeMLm411_/pmWeMLm411__origin.pdf filter=lfs diff=lfs merge=lfs -text
3856
+ parse/train/H1g6osRcFQ/H1g6osRcFQ_layout.pdf filter=lfs diff=lfs merge=lfs -text
3857
+ parse/train/H1g6osRcFQ/H1g6osRcFQ_span.pdf filter=lfs diff=lfs merge=lfs -text
3858
+ parse/train/H1g6osRcFQ/H1g6osRcFQ_origin.pdf filter=lfs diff=lfs merge=lfs -text
3859
+ parse/train/-_FVMKvxVCQo1/-_FVMKvxVCQo1_span.pdf filter=lfs diff=lfs merge=lfs -text
3860
+ parse/train/-_FVMKvxVCQo1/-_FVMKvxVCQo1_origin.pdf filter=lfs diff=lfs merge=lfs -text
3861
+ parse/train/-_FVMKvxVCQo1/-_FVMKvxVCQo1_layout.pdf filter=lfs diff=lfs merge=lfs -text
3862
+ parse/train/Hkl5aoR5tm/Hkl5aoR5tm_span.pdf filter=lfs diff=lfs merge=lfs -text
3863
+ parse/train/Hkl5aoR5tm/Hkl5aoR5tm_origin.pdf filter=lfs diff=lfs merge=lfs -text
3864
+ parse/train/Hkl5aoR5tm/Hkl5aoR5tm_layout.pdf filter=lfs diff=lfs merge=lfs -text
3865
+ parse/train/b36m4ZYG1gD/b36m4ZYG1gD_layout.pdf filter=lfs diff=lfs merge=lfs -text
3866
+ parse/train/b36m4ZYG1gD/b36m4ZYG1gD_origin.pdf filter=lfs diff=lfs merge=lfs -text
3867
+ parse/train/b36m4ZYG1gD/b36m4ZYG1gD_span.pdf filter=lfs diff=lfs merge=lfs -text
3868
+ parse/train/HkEI22jeg/HkEI22jeg_origin.pdf filter=lfs diff=lfs merge=lfs -text
3869
+ parse/train/HkEI22jeg/HkEI22jeg_span.pdf filter=lfs diff=lfs merge=lfs -text
3870
+ parse/train/HkEI22jeg/HkEI22jeg_layout.pdf filter=lfs diff=lfs merge=lfs -text
3871
+ parse/train/6ugK-RQhIP5/6ugK-RQhIP5_layout.pdf filter=lfs diff=lfs merge=lfs -text
3872
+ parse/train/6ugK-RQhIP5/6ugK-RQhIP5_span.pdf filter=lfs diff=lfs merge=lfs -text
3873
+ parse/train/6ugK-RQhIP5/6ugK-RQhIP5_origin.pdf filter=lfs diff=lfs merge=lfs -text
3874
+ parse/train/B1-Hhnslg/B1-Hhnslg_layout.pdf filter=lfs diff=lfs merge=lfs -text
3875
+ parse/train/B1-Hhnslg/B1-Hhnslg_span.pdf filter=lfs diff=lfs merge=lfs -text
3876
+ parse/train/B1-Hhnslg/B1-Hhnslg_origin.pdf filter=lfs diff=lfs merge=lfs -text
3877
+ parse/train/AJTAcS7SZzf/AJTAcS7SZzf_origin.pdf filter=lfs diff=lfs merge=lfs -text
3878
+ parse/train/AJTAcS7SZzf/AJTAcS7SZzf_span.pdf filter=lfs diff=lfs merge=lfs -text
3879
+ parse/train/AJTAcS7SZzf/AJTAcS7SZzf_layout.pdf filter=lfs diff=lfs merge=lfs -text
3880
+ parse/train/H1MczcgR-/H1MczcgR-_origin.pdf filter=lfs diff=lfs merge=lfs -text
3881
+ parse/train/H1MczcgR-/H1MczcgR-_layout.pdf filter=lfs diff=lfs merge=lfs -text
3882
+ parse/train/H1MczcgR-/H1MczcgR-_span.pdf filter=lfs diff=lfs merge=lfs -text
3883
+ parse/train/Sy-tszZRZ/Sy-tszZRZ_span.pdf filter=lfs diff=lfs merge=lfs -text
3884
+ parse/train/Sy-tszZRZ/Sy-tszZRZ_layout.pdf filter=lfs diff=lfs merge=lfs -text
3885
+ parse/train/Sy-tszZRZ/Sy-tszZRZ_origin.pdf filter=lfs diff=lfs merge=lfs -text
3886
+ parse/train/HkeeITEYDr/HkeeITEYDr_layout.pdf filter=lfs diff=lfs merge=lfs -text
3887
+ parse/train/HkeeITEYDr/HkeeITEYDr_span.pdf filter=lfs diff=lfs merge=lfs -text
3888
+ parse/train/HkeeITEYDr/HkeeITEYDr_origin.pdf filter=lfs diff=lfs merge=lfs -text
3889
+ parse/train/SJGCiw5gl/SJGCiw5gl_origin.pdf filter=lfs diff=lfs merge=lfs -text
3890
+ parse/train/SJGCiw5gl/SJGCiw5gl_span.pdf filter=lfs diff=lfs merge=lfs -text
3891
+ parse/train/SJGCiw5gl/SJGCiw5gl_layout.pdf filter=lfs diff=lfs merge=lfs -text
3892
+ parse/train/ilVv1LO0Ew/ilVv1LO0Ew_origin.pdf filter=lfs diff=lfs merge=lfs -text
3893
+ parse/train/ilVv1LO0Ew/ilVv1LO0Ew_span.pdf filter=lfs diff=lfs merge=lfs -text
3894
+ parse/train/ilVv1LO0Ew/ilVv1LO0Ew_layout.pdf filter=lfs diff=lfs merge=lfs -text
3895
+ parse/train/JdQ2-DTaGF/JdQ2-DTaGF_layout.pdf filter=lfs diff=lfs merge=lfs -text
3896
+ parse/train/JdQ2-DTaGF/JdQ2-DTaGF_origin.pdf filter=lfs diff=lfs merge=lfs -text
3897
+ parse/train/JdQ2-DTaGF/JdQ2-DTaGF_span.pdf filter=lfs diff=lfs merge=lfs -text
3898
+ parse/train/Hyq4yhile/Hyq4yhile_span.pdf filter=lfs diff=lfs merge=lfs -text
3899
+ parse/train/Hyq4yhile/Hyq4yhile_layout.pdf filter=lfs diff=lfs merge=lfs -text
3900
+ parse/train/Hyq4yhile/Hyq4yhile_origin.pdf filter=lfs diff=lfs merge=lfs -text
3901
+ parse/train/S1cZsf-RW/S1cZsf-RW_layout.pdf filter=lfs diff=lfs merge=lfs -text
3902
+ parse/train/S1cZsf-RW/S1cZsf-RW_span.pdf filter=lfs diff=lfs merge=lfs -text
3903
+ parse/train/S1cZsf-RW/S1cZsf-RW_origin.pdf filter=lfs diff=lfs merge=lfs -text
3904
+ parse/train/rylV-2C9KQ/rylV-2C9KQ_layout.pdf filter=lfs diff=lfs merge=lfs -text
3905
+ parse/train/rylV-2C9KQ/rylV-2C9KQ_span.pdf filter=lfs diff=lfs merge=lfs -text
3906
+ parse/train/rylV-2C9KQ/rylV-2C9KQ_origin.pdf filter=lfs diff=lfs merge=lfs -text
3907
+ parse/train/OKrNPg3xR3T/OKrNPg3xR3T_origin.pdf filter=lfs diff=lfs merge=lfs -text
3908
+ parse/train/OKrNPg3xR3T/OKrNPg3xR3T_layout.pdf filter=lfs diff=lfs merge=lfs -text
3909
+ parse/train/OKrNPg3xR3T/OKrNPg3xR3T_span.pdf filter=lfs diff=lfs merge=lfs -text
3910
+ parse/train/-1AAgrS5FF/-1AAgrS5FF_layout.pdf filter=lfs diff=lfs merge=lfs -text
3911
+ parse/train/-1AAgrS5FF/-1AAgrS5FF_span.pdf filter=lfs diff=lfs merge=lfs -text
3912
+ parse/train/-1AAgrS5FF/-1AAgrS5FF_origin.pdf filter=lfs diff=lfs merge=lfs -text
3913
+ parse/train/ByS1VpgRZ/ByS1VpgRZ_span.pdf filter=lfs diff=lfs merge=lfs -text
3914
+ parse/train/ByS1VpgRZ/ByS1VpgRZ_layout.pdf filter=lfs diff=lfs merge=lfs -text
3915
+ parse/train/ByS1VpgRZ/ByS1VpgRZ_origin.pdf filter=lfs diff=lfs merge=lfs -text
3916
+ parse/train/3WbWmdTd8fN/3WbWmdTd8fN_origin.pdf filter=lfs diff=lfs merge=lfs -text
3917
+ parse/train/3WbWmdTd8fN/3WbWmdTd8fN_span.pdf filter=lfs diff=lfs merge=lfs -text
3918
+ parse/train/3WbWmdTd8fN/3WbWmdTd8fN_layout.pdf filter=lfs diff=lfs merge=lfs -text
3919
+ parse/train/BkgWHnR5tm/BkgWHnR5tm_layout.pdf filter=lfs diff=lfs merge=lfs -text
3920
+ parse/train/BkgWHnR5tm/BkgWHnR5tm_span.pdf filter=lfs diff=lfs merge=lfs -text
3921
+ parse/train/BkgWHnR5tm/BkgWHnR5tm_origin.pdf filter=lfs diff=lfs merge=lfs -text
3922
+ parse/train/Bk9zbyZCZ/Bk9zbyZCZ_layout.pdf filter=lfs diff=lfs merge=lfs -text
3923
+ parse/train/Bk9zbyZCZ/Bk9zbyZCZ_origin.pdf filter=lfs diff=lfs merge=lfs -text
3924
+ parse/train/Bk9zbyZCZ/Bk9zbyZCZ_span.pdf filter=lfs diff=lfs merge=lfs -text
3925
+ parse/train/IDFQI9OY6K/IDFQI9OY6K_span.pdf filter=lfs diff=lfs merge=lfs -text
3926
+ parse/train/IDFQI9OY6K/IDFQI9OY6K_origin.pdf filter=lfs diff=lfs merge=lfs -text
3927
+ parse/train/IDFQI9OY6K/IDFQI9OY6K_layout.pdf filter=lfs diff=lfs merge=lfs -text
3928
+ parse/train/B1edvs05Y7/B1edvs05Y7_layout.pdf filter=lfs diff=lfs merge=lfs -text
3929
+ parse/train/B1edvs05Y7/B1edvs05Y7_span.pdf filter=lfs diff=lfs merge=lfs -text
3930
+ parse/train/B1edvs05Y7/B1edvs05Y7_origin.pdf filter=lfs diff=lfs merge=lfs -text
3931
+ parse/train/B14TlG-RW/B14TlG-RW_origin.pdf filter=lfs diff=lfs merge=lfs -text
3932
+ parse/train/B14TlG-RW/B14TlG-RW_span.pdf filter=lfs diff=lfs merge=lfs -text
3933
+ parse/train/B14TlG-RW/B14TlG-RW_layout.pdf filter=lfs diff=lfs merge=lfs -text
3934
+ parse/train/i80OPhOCVH2/i80OPhOCVH2_span.pdf filter=lfs diff=lfs merge=lfs -text
3935
+ parse/train/i80OPhOCVH2/i80OPhOCVH2_layout.pdf filter=lfs diff=lfs merge=lfs -text
3936
+ parse/train/i80OPhOCVH2/i80OPhOCVH2_origin.pdf filter=lfs diff=lfs merge=lfs -text
3937
+ parse/train/H1BLjgZCb/H1BLjgZCb_origin.pdf filter=lfs diff=lfs merge=lfs -text
3938
+ parse/train/H1BLjgZCb/H1BLjgZCb_span.pdf filter=lfs diff=lfs merge=lfs -text
3939
+ parse/train/H1BLjgZCb/H1BLjgZCb_layout.pdf filter=lfs diff=lfs merge=lfs -text
3940
+ parse/train/rJl8viCqKQ/rJl8viCqKQ_layout.pdf filter=lfs diff=lfs merge=lfs -text
3941
+ parse/train/rJl8viCqKQ/rJl8viCqKQ_origin.pdf filter=lfs diff=lfs merge=lfs -text
3942
+ parse/train/rJl8viCqKQ/rJl8viCqKQ_span.pdf filter=lfs diff=lfs merge=lfs -text
3943
+ parse/train/kmG8vRXTFv/kmG8vRXTFv_layout.pdf filter=lfs diff=lfs merge=lfs -text
3944
+ parse/train/kmG8vRXTFv/kmG8vRXTFv_origin.pdf filter=lfs diff=lfs merge=lfs -text
3945
+ parse/train/kmG8vRXTFv/kmG8vRXTFv_span.pdf filter=lfs diff=lfs merge=lfs -text
3946
+ parse/train/Byg3y3C9Km/Byg3y3C9Km_layout.pdf filter=lfs diff=lfs merge=lfs -text
3947
+ parse/train/Byg3y3C9Km/Byg3y3C9Km_origin.pdf filter=lfs diff=lfs merge=lfs -text
3948
+ parse/train/Byg3y3C9Km/Byg3y3C9Km_span.pdf filter=lfs diff=lfs merge=lfs -text
3949
+ parse/train/BJDEbngCZ/BJDEbngCZ_origin.pdf filter=lfs diff=lfs merge=lfs -text
3950
+ parse/train/BJDEbngCZ/BJDEbngCZ_span.pdf filter=lfs diff=lfs merge=lfs -text
3951
+ parse/train/BJDEbngCZ/BJDEbngCZ_layout.pdf filter=lfs diff=lfs merge=lfs -text
3952
+ parse/train/S1lOTC4tDS/S1lOTC4tDS_origin.pdf filter=lfs diff=lfs merge=lfs -text
3953
+ parse/train/S1lOTC4tDS/S1lOTC4tDS_span.pdf filter=lfs diff=lfs merge=lfs -text
3954
+ parse/train/S1lOTC4tDS/S1lOTC4tDS_layout.pdf filter=lfs diff=lfs merge=lfs -text
3955
+ parse/train/S5S3eTEmouw/S5S3eTEmouw_layout.pdf filter=lfs diff=lfs merge=lfs -text
3956
+ parse/train/S5S3eTEmouw/S5S3eTEmouw_origin.pdf filter=lfs diff=lfs merge=lfs -text
3957
+ parse/train/S5S3eTEmouw/S5S3eTEmouw_span.pdf filter=lfs diff=lfs merge=lfs -text
3958
+ parse/train/S1lIMn05F7/S1lIMn05F7_span.pdf filter=lfs diff=lfs merge=lfs -text
3959
+ parse/train/S1lIMn05F7/S1lIMn05F7_layout.pdf filter=lfs diff=lfs merge=lfs -text
3960
+ parse/train/S1lIMn05F7/S1lIMn05F7_origin.pdf filter=lfs diff=lfs merge=lfs -text
3961
+ parse/train/XPZIaotutsD/XPZIaotutsD_layout.pdf filter=lfs diff=lfs merge=lfs -text
3962
+ parse/train/XPZIaotutsD/XPZIaotutsD_span.pdf filter=lfs diff=lfs merge=lfs -text
3963
+ parse/train/XPZIaotutsD/XPZIaotutsD_origin.pdf filter=lfs diff=lfs merge=lfs -text
3964
+ parse/train/7aogOj_VYO0/7aogOj_VYO0_origin.pdf filter=lfs diff=lfs merge=lfs -text
3965
+ parse/train/7aogOj_VYO0/7aogOj_VYO0_span.pdf filter=lfs diff=lfs merge=lfs -text
3966
+ parse/train/7aogOj_VYO0/7aogOj_VYO0_layout.pdf filter=lfs diff=lfs merge=lfs -text
3967
+ parse/train/5kTlVBkzSRx/5kTlVBkzSRx_span.pdf filter=lfs diff=lfs merge=lfs -text
3968
+ parse/train/5kTlVBkzSRx/5kTlVBkzSRx_layout.pdf filter=lfs diff=lfs merge=lfs -text
3969
+ parse/train/5kTlVBkzSRx/5kTlVBkzSRx_origin.pdf filter=lfs diff=lfs merge=lfs -text
3970
+ parse/train/S1ldO2EFPr/S1ldO2EFPr_layout.pdf filter=lfs diff=lfs merge=lfs -text
3971
+ parse/train/S1ldO2EFPr/S1ldO2EFPr_span.pdf filter=lfs diff=lfs merge=lfs -text
3972
+ parse/train/S1ldO2EFPr/S1ldO2EFPr_origin.pdf filter=lfs diff=lfs merge=lfs -text
3973
+ parse/train/Skl4mRNYDr/Skl4mRNYDr_layout.pdf filter=lfs diff=lfs merge=lfs -text
3974
+ parse/train/Skl4mRNYDr/Skl4mRNYDr_origin.pdf filter=lfs diff=lfs merge=lfs -text
3975
+ parse/train/Skl4mRNYDr/Skl4mRNYDr_span.pdf filter=lfs diff=lfs merge=lfs -text
3976
+ parse/train/B1kJ6H9ex/B1kJ6H9ex_span.pdf filter=lfs diff=lfs merge=lfs -text
3977
+ parse/train/B1kJ6H9ex/B1kJ6H9ex_origin.pdf filter=lfs diff=lfs merge=lfs -text
3978
+ parse/train/B1kJ6H9ex/B1kJ6H9ex_layout.pdf filter=lfs diff=lfs merge=lfs -text
3979
+ parse/train/Dx3x05MlFwj/Dx3x05MlFwj_origin.pdf filter=lfs diff=lfs merge=lfs -text
3980
+ parse/train/Dx3x05MlFwj/Dx3x05MlFwj_span.pdf filter=lfs diff=lfs merge=lfs -text
3981
+ parse/train/Dx3x05MlFwj/Dx3x05MlFwj_layout.pdf filter=lfs diff=lfs merge=lfs -text
3982
+ parse/train/BkMWx309FX/BkMWx309FX_origin.pdf filter=lfs diff=lfs merge=lfs -text
3983
+ parse/train/BkMWx309FX/BkMWx309FX_layout.pdf filter=lfs diff=lfs merge=lfs -text
3984
+ parse/train/BkMWx309FX/BkMWx309FX_span.pdf filter=lfs diff=lfs merge=lfs -text
3985
+ parse/train/ryxyCeHtPB/ryxyCeHtPB_layout.pdf filter=lfs diff=lfs merge=lfs -text
3986
+ parse/train/ryxyCeHtPB/ryxyCeHtPB_origin.pdf filter=lfs diff=lfs merge=lfs -text
3987
+ parse/train/ryxyCeHtPB/ryxyCeHtPB_span.pdf filter=lfs diff=lfs merge=lfs -text
3988
+ parse/train/Hkemdj09YQ/Hkemdj09YQ_origin.pdf filter=lfs diff=lfs merge=lfs -text
3989
+ parse/train/Hkemdj09YQ/Hkemdj09YQ_span.pdf filter=lfs diff=lfs merge=lfs -text
3990
+ parse/train/Hkemdj09YQ/Hkemdj09YQ_layout.pdf filter=lfs diff=lfs merge=lfs -text
3991
+ parse/train/cKnKJcTPRcV/cKnKJcTPRcV_span.pdf filter=lfs diff=lfs merge=lfs -text
3992
+ parse/train/cKnKJcTPRcV/cKnKJcTPRcV_layout.pdf filter=lfs diff=lfs merge=lfs -text
3993
+ parse/train/cKnKJcTPRcV/cKnKJcTPRcV_origin.pdf filter=lfs diff=lfs merge=lfs -text
3994
+ parse/train/WtmMyno9Tq2/WtmMyno9Tq2_layout.pdf filter=lfs diff=lfs merge=lfs -text
3995
+ parse/train/WtmMyno9Tq2/WtmMyno9Tq2_span.pdf filter=lfs diff=lfs merge=lfs -text
3996
+ parse/train/WtmMyno9Tq2/WtmMyno9Tq2_origin.pdf filter=lfs diff=lfs merge=lfs -text
3997
+ parse/train/ryxjnREFwH/ryxjnREFwH_layout.pdf filter=lfs diff=lfs merge=lfs -text
3998
+ parse/train/ryxjnREFwH/ryxjnREFwH_origin.pdf filter=lfs diff=lfs merge=lfs -text
3999
+ parse/train/ryxjnREFwH/ryxjnREFwH_span.pdf filter=lfs diff=lfs merge=lfs -text
4000
+ parse/train/hb1sDDSLbV/hb1sDDSLbV_span.pdf filter=lfs diff=lfs merge=lfs -text
4001
+ parse/train/hb1sDDSLbV/hb1sDDSLbV_layout.pdf filter=lfs diff=lfs merge=lfs -text
4002
+ parse/train/hb1sDDSLbV/hb1sDDSLbV_origin.pdf filter=lfs diff=lfs merge=lfs -text
4003
+ parse/train/ZS394D3djsg/ZS394D3djsg_origin.pdf filter=lfs diff=lfs merge=lfs -text
4004
+ parse/train/ZS394D3djsg/ZS394D3djsg_layout.pdf filter=lfs diff=lfs merge=lfs -text
4005
+ parse/train/ZS394D3djsg/ZS394D3djsg_span.pdf filter=lfs diff=lfs merge=lfs -text
4006
+ parse/train/ry_WPG-A-/ry_WPG-A-_origin.pdf filter=lfs diff=lfs merge=lfs -text
4007
+ parse/train/ry_WPG-A-/ry_WPG-A-_span.pdf filter=lfs diff=lfs merge=lfs -text
4008
+ parse/train/ry_WPG-A-/ry_WPG-A-_layout.pdf filter=lfs diff=lfs merge=lfs -text
4009
+ parse/train/O0ow9RQW1nP/O0ow9RQW1nP_origin.pdf filter=lfs diff=lfs merge=lfs -text
4010
+ parse/train/O0ow9RQW1nP/O0ow9RQW1nP_layout.pdf filter=lfs diff=lfs merge=lfs -text
4011
+ parse/train/O0ow9RQW1nP/O0ow9RQW1nP_span.pdf filter=lfs diff=lfs merge=lfs -text
4012
+ parse/train/BJg866NFvB/BJg866NFvB_layout.pdf filter=lfs diff=lfs merge=lfs -text
4013
+ parse/train/BJg866NFvB/BJg866NFvB_origin.pdf filter=lfs diff=lfs merge=lfs -text
4014
+ parse/train/BJg866NFvB/BJg866NFvB_span.pdf filter=lfs diff=lfs merge=lfs -text
4015
+ parse/train/B1ffQnRcKX/B1ffQnRcKX_span.pdf filter=lfs diff=lfs merge=lfs -text
4016
+ parse/train/B1ffQnRcKX/B1ffQnRcKX_origin.pdf filter=lfs diff=lfs merge=lfs -text
4017
+ parse/train/B1ffQnRcKX/B1ffQnRcKX_layout.pdf filter=lfs diff=lfs merge=lfs -text
4018
+ parse/train/rbdKZJxDWWx/rbdKZJxDWWx_origin.pdf filter=lfs diff=lfs merge=lfs -text
4019
+ parse/train/rbdKZJxDWWx/rbdKZJxDWWx_span.pdf filter=lfs diff=lfs merge=lfs -text
4020
+ parse/train/rbdKZJxDWWx/rbdKZJxDWWx_layout.pdf filter=lfs diff=lfs merge=lfs -text
4021
+ parse/train/ry-TW-WAb/ry-TW-WAb_span.pdf filter=lfs diff=lfs merge=lfs -text
4022
+ parse/train/ry-TW-WAb/ry-TW-WAb_layout.pdf filter=lfs diff=lfs merge=lfs -text
4023
+ parse/train/ry-TW-WAb/ry-TW-WAb_origin.pdf filter=lfs diff=lfs merge=lfs -text
4024
+ parse/train/SQxuiYf2TT/SQxuiYf2TT_span.pdf filter=lfs diff=lfs merge=lfs -text
4025
+ parse/train/SQxuiYf2TT/SQxuiYf2TT_origin.pdf filter=lfs diff=lfs merge=lfs -text
4026
+ parse/train/SQxuiYf2TT/SQxuiYf2TT_layout.pdf filter=lfs diff=lfs merge=lfs -text
4027
+ parse/train/ryzECoAcY7/ryzECoAcY7_span.pdf filter=lfs diff=lfs merge=lfs -text
4028
+ parse/train/ryzECoAcY7/ryzECoAcY7_layout.pdf filter=lfs diff=lfs merge=lfs -text
4029
+ parse/train/ryzECoAcY7/ryzECoAcY7_origin.pdf filter=lfs diff=lfs merge=lfs -text
4030
+ parse/train/r1te3Fqel/r1te3Fqel_layout.pdf filter=lfs diff=lfs merge=lfs -text
4031
+ parse/train/r1te3Fqel/r1te3Fqel_span.pdf filter=lfs diff=lfs merge=lfs -text
4032
+ parse/train/r1te3Fqel/r1te3Fqel_origin.pdf filter=lfs diff=lfs merge=lfs -text
4033
+ parse/train/wCrH0JBCFNm/wCrH0JBCFNm_span.pdf filter=lfs diff=lfs merge=lfs -text
parse/dev/CZZFRxbOLC/CZZFRxbOLC_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/CZZFRxbOLC/CZZFRxbOLC_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/FKXVK9dyMM/FKXVK9dyMM_content_list.json ADDED
@@ -0,0 +1,2000 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "LIGHTGCL: SIMPLE YET EFFECTIVE GRAPH CON-TRASTIVE LEARNING FOR RECOMMENDATION",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 176,
8
+ 98,
9
+ 820,
10
+ 146
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Xuheng Cai Chao Huang∗ Lianghao Xia Xubin Ren Department of Computer Science, University of Hong Kong {rickcai, lhaoxia}@hku.hk chaohuang75gmail.com ",
17
+ "bbox": [
18
+ 184,
19
+ 170,
20
+ 593,
21
+ 212
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "xubinrencs@gmail.com ",
28
+ "bbox": [
29
+ 612,
30
+ 200,
31
+ 789,
32
+ 212
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "ABSTRACT ",
39
+ "text_level": 1,
40
+ "bbox": [
41
+ 454,
42
+ 250,
43
+ 544,
44
+ 263
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "Graph neural network (GNN) is a powerful learning approach for graph-based recommender systems. Recently, GNNs integrated with contrastive learning have shown superior performance in recommendation with their data augmentation schemes, aiming at dealing with highly sparse data. Despite their success, most existing graph contrastive learning methods either perform stochastic augmentation (e.g., node/edge perturbation) on the user-item interaction graph, or rely on the heuristic-based augmentation techniques (e.g., user clustering) for generating contrastive views. We argue that these methods cannot well preserve the intrinsic semantic structures and are easily biased by the noise perturbation. In this paper, we propose a simple yet effective graph contrastive learning paradigm LightGCL that mitigates these issues impairing the generality and robustness of CL-based recommenders. Our model exclusively utilizes singular value decomposition for contrastive augmentation, which enables the unconstrained structural refinement with global collaborative relation modeling. Experiments conducted on several benchmark datasets demonstrate the significant improvement in performance of our model over the state-of-the-arts. Further analyses demonstrate the superiority of LightGCL’s robustness against data sparsity and popularity bias. The source code of our model is available at https://github.com/HKUDS/LightGCL. ",
51
+ "bbox": [
52
+ 233,
53
+ 280,
54
+ 764,
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
+ 571,
66
+ 336,
67
+ 587
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Graph neural networks (GNNs) have shown effectiveness in graph-based recommender systems by extracting local collaborative signals via neighborhood representation aggregation (Wang et al., 2019; Chen et al., 2020b). In general, to learn user and item representations, GNN-based recommenders perform embedding propagation on the user-item interaction graph by stacking multiple message passing layers for exploring high-order connectivity (He et al., 2020; Zhang et al., 2019; Liu et al., 2021a). Most GNN-based collaborative filtering models adhere to the supervised learning paradigm, requiring sufficient quality labelled data for model training. However, many practical recommendation scenarios struggle with the data sparsity issue in learning high-quality user and item representations from limited interaction data (Liu et al., 2021b; Lin et al., 2021). To address the label scarcity issue, the benefits of contrastive learning have been brought into the recommendation for data augmentation (Wu et al., 2021). The main idea of contrastive learning in enhancing the user and item representation is to research the agreement between the generated embedding views by contrasting the defined positive pairs with negative instance counterparts (Xie et al., 2022). ",
74
+ "bbox": [
75
+ 174,
76
+ 602,
77
+ 825,
78
+ 784
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "While contrastive learning has been shown to be effective in improving the performance of graphbased recommendation methods, the view generators serve as the core part of data augmentation through identifying accurate contrasting samples. Most of current graph contrastive learning (GCL) approaches employ heuristic-based contrastive view generators to maximize the mutual information between the input positive pairs and push apart negative instances(Wu et al., 2021; Yu et al., 2022a; Xia et al., 2022b). To construct perturbed views, SGL (Wu et al., 2021) has been proposed to generate node pairs of positive view by corrupting the structural information of user-item interaction graph using stochastic augmentation strategies, e.g., node dropping and edge perturbation. To improve the graph contrastive learning in recommendation, SimGCL (Yu et al., 2022a) offers embedding augmentation with random noise perturbation. To work on identifying semantic neighbors of nodes (users and items), HCCF (Xia et al., 2022b) and NCL (Lin et al., 2022) are introduced to pursue consistent representations between the structurally adjacent nodes and semantic neighbors. Despite their effectiveness, state-of-the-art contrastive recommender systems suffer from several inherent limitations: i) Graph augmentation with random perturbation may lose useful structural information, which misleads the representation learning. ii) The success of heuristic-guided representation contrasting schemes is largely built upon the view generator, which limits the model generality and is vulnerable to the noisy user behaviors. iii) Most of current GNN-based contrastive recommenders are limited by the over-smoothing issue which leads to indistinguishable representations. ",
85
+ "bbox": [
86
+ 174,
87
+ 790,
88
+ 825,
89
+ 901
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "",
96
+ "bbox": [
97
+ 173,
98
+ 103,
99
+ 825,
100
+ 242
101
+ ],
102
+ "page_idx": 1
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "In light of the above limitations and challenges, we revisit the graph contrastive learning paradigm for recommendation with a proposed simple yet effective augmentation method LightGCL. In our model, the graph augmentation is guided by singular value decomposition (SVD) to not only distill the useful information of user-item interactions but also inject the global collaborative context into the representation alignment of contrastive learning. Instead of generating two handcrafted augmented views, important semantic of user-item interactions can be well preserved with our robust graph contrastive learning paradigm. This enables our self-augmented representations to be reflective of both user-specific preferences and cross-user global dependencies. ",
107
+ "bbox": [
108
+ 174,
109
+ 250,
110
+ 825,
111
+ 361
112
+ ],
113
+ "page_idx": 1
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "Our contributions are highlighted as follows: ",
118
+ "bbox": [
119
+ 176,
120
+ 367,
121
+ 467,
122
+ 382
123
+ ],
124
+ "page_idx": 1
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "• In this paper, we enhance the recommender systems by designing a lightweight and robust graph contrastive learning framework to address the identified key challenges pertaining to this task. • We propose an effective and efficient contrastive learning paradigm LightGCL for graph augmentation. With the injection of global collaborative relations, our model can mitigate the issues brought by inaccurate contrastive signals. • Our method exhibits improved training efficiency compared to existing GCL-based approaches. • Extensive experiments on several real-world datasets justify the performance superiority of our LightGCL. In-depth analyzes demonstrate the rationality and robustness of LightGCL. ",
129
+ "bbox": [
130
+ 173,
131
+ 397,
132
+ 826,
133
+ 529
134
+ ],
135
+ "page_idx": 1
136
+ },
137
+ {
138
+ "type": "text",
139
+ "text": "2 RELATED WORK ",
140
+ "text_level": 1,
141
+ "bbox": [
142
+ 176,
143
+ 550,
144
+ 344,
145
+ 566
146
+ ],
147
+ "page_idx": 1
148
+ },
149
+ {
150
+ "type": "text",
151
+ "text": "Graph Contrastive Learning for Recommendation. A promising line of recent studies has incorporated contrastive learning (CL) into graph-based recommenders, to address the label sparsity issue with self-supervision signals. Particularly, SGL (Wu et al., 2021) and SimGCL (Yu et al., 2022a) perform data augmentation over graph structure and embeddings with random dropout operations. However, such stochastic augmentation may drop important information, which may make the sparsity issue of inactive users even worse. Furthermore, some recent alternative CL-based recommenders, such as HCCF (Xia et al., 2022b) and NCL (Lin et al., 2022), design heuristic-based strategies to construct view for embedding contrasting. Despite their effectiveness, their success heavily relies on their incorporated heuristics (e.g., the number of hyperedges or user clusters) for contrastive view generation, which can hardly be adaptive to different recommendation tasks. ",
152
+ "bbox": [
153
+ 174,
154
+ 583,
155
+ 825,
156
+ 723
157
+ ],
158
+ "page_idx": 1
159
+ },
160
+ {
161
+ "type": "text",
162
+ "text": "Self-Supervised Learning on Graphs. Recently, self-supervised learning (SSL) has advanced the graph learning paradigm by enhancing node representation from unlabeled graph data (Zhu et al., 2021a;b; Velickovic et al., 2019; Hassani & Khasahmadi, 2020; Peng et al., 2020; Zhu et al., 2020; Wu et al., 2022). For example, to improve the predictive SSL paradigm, AutoSSL (Jin et al., 2022) automatically combines multiple pretext tasks for augmentation. Towards the line of contrastive SSL over graph structures, recent efforts focus on designing various graph contrastive learning methods (Yu et al., 2022b; Yin et al., 2022; Zhang et al., 2022; Xia et al., 2022a; Suresh et al., 2021). For instance, SimGRACE Xia et al. (2022a) proposes to generate contrastive views with the GNN encoder perturbations. In AutoGCL Yin et al. (2022), graph view generators are designed to be jointly trained with the graph encoder in an end-to-end way. Additionally, GCA (Zhu et al., 2021b) performs both topology-level and attribute-level data augmentation for contrastive view generation. In this method, important edges and features will be identified for adaptive augmentation. GraphCL (You et al., 2020) generates correlated graph representation views using various augmentation strategies, such as node/edge perturbation and attribute masking. ",
163
+ "bbox": [
164
+ 174,
165
+ 729,
166
+ 825,
167
+ 924
168
+ ],
169
+ "page_idx": 1
170
+ },
171
+ {
172
+ "type": "image",
173
+ "img_path": "images/0feaf6d22694bb9f83b4e1a65bef3f8fa8b0bec94a5309d7d6e04c5aec214e73.jpg",
174
+ "image_caption": [
175
+ "Figure 1: Overall structure of LightGCL. "
176
+ ],
177
+ "image_footnote": [],
178
+ "bbox": [
179
+ 254,
180
+ 99,
181
+ 743,
182
+ 299
183
+ ],
184
+ "page_idx": 2
185
+ },
186
+ {
187
+ "type": "text",
188
+ "text": "3 METHODOLOGY ",
189
+ "text_level": 1,
190
+ "bbox": [
191
+ 174,
192
+ 356,
193
+ 341,
194
+ 372
195
+ ],
196
+ "page_idx": 2
197
+ },
198
+ {
199
+ "type": "text",
200
+ "text": "In this section, we describe our proposed LightGCL framework in detail. LightGCL is a lightweight graph contrastive learning paradigm as illustrated in Fig. 1. Complementary to the GCN backbone (the upper half of the figure) extracting the local graph dependency, the SVD-guided augmentation (the lower half of the figure) empowers the graph contrastive learning with global collaborative relation analysis for learning effective user and item representations. ",
201
+ "bbox": [
202
+ 173,
203
+ 387,
204
+ 825,
205
+ 458
206
+ ],
207
+ "page_idx": 2
208
+ },
209
+ {
210
+ "type": "text",
211
+ "text": "3.1 LOCAL GRAPH DEPENDENCY MODELING ",
212
+ "text_level": 1,
213
+ "bbox": [
214
+ 173,
215
+ 473,
216
+ 504,
217
+ 489
218
+ ],
219
+ "page_idx": 2
220
+ },
221
+ {
222
+ "type": "text",
223
+ "text": "As a common practice of collaborative filtering, we assign each user $u _ { i }$ and item $v _ { j }$ with an embedding vector $e _ { i } ^ { ( u ) } , e _ { j } ^ { ( v ) } \\in \\mathbb { R } ^ { d }$ , where $d$ is the embedding size. The collections of all user and item embeddings are defined as $\\pmb { { E } } ^ { ( u ) } \\in \\mathbb { R } ^ { I \\times d }$ and $\\pmb { { \\cal E } } ^ { ( v ) } \\in \\mathbb { R } ^ { J \\times d }$ , where $I$ and $J$ are the number of users and items, respectively. Following Xia et al. (2022b), we adopt a two-layer GCN to aggregate the neighboring information for each node. In layer $l$ , the aggregation process is expressed as follows: ",
224
+ "bbox": [
225
+ 173,
226
+ 500,
227
+ 825,
228
+ 579
229
+ ],
230
+ "page_idx": 2
231
+ },
232
+ {
233
+ "type": "equation",
234
+ "img_path": "images/2bfc1dbf19743c67bcf230d16f894e06c6e477f45af5642958ccbb83782641ef.jpg",
235
+ "text": "$$\n\\begin{array} { r } { \\boldsymbol { z } _ { i , l } ^ { ( u ) } = \\sigma ( p ( \\tilde { \\boldsymbol { A } } _ { i , : } ) \\cdot \\boldsymbol { E } _ { l - 1 } ^ { ( v ) } ) , \\quad \\boldsymbol { z } _ { j , l } ^ { ( v ) } = \\sigma ( p ( \\tilde { \\boldsymbol { A } } _ { : , j } ) \\cdot \\boldsymbol { E } _ { l - 1 } ^ { ( u ) } ) } \\end{array}\n$$",
236
+ "text_format": "latex",
237
+ "bbox": [
238
+ 318,
239
+ 584,
240
+ 679,
241
+ 608
242
+ ],
243
+ "page_idx": 2
244
+ },
245
+ {
246
+ "type": "text",
247
+ "text": "where z(u)i,l and z(v)j,l denote the $l$ -th layer aggregated embedding for user $u _ { i }$ and item $v _ { j }$ . $\\sigma ( \\cdot )$ represents the LeakyReLU with a negative slope of 0.5. $\\tilde { \\boldsymbol { \\mathcal { A } } }$ is the normalized adjacency matrix, on which we perform the edge dropout denoted as $p ( \\cdot )$ , to mitigate the overfitting issue. We implement the residual connections in each layer to retain the original information of the nodes as follows: ",
248
+ "bbox": [
249
+ 173,
250
+ 614,
251
+ 825,
252
+ 678
253
+ ],
254
+ "page_idx": 2
255
+ },
256
+ {
257
+ "type": "equation",
258
+ "img_path": "images/c82a92d128934329f50f8e5849b9a7498399a16edf21adf480df00e18e0b0b13.jpg",
259
+ "text": "$$\n\\pmb { e } _ { i , l } ^ { ( u ) } = \\pmb { z } _ { i , l } ^ { ( u ) } + \\pmb { e } _ { i , l - 1 } ^ { ( u ) } , \\quad \\pmb { e } _ { j , l } ^ { ( v ) } = \\pmb { z } _ { j , l } ^ { ( v ) } + \\pmb { e } _ { j , l - 1 } ^ { ( v ) }\n$$",
260
+ "text_format": "latex",
261
+ "bbox": [
262
+ 348,
263
+ 683,
264
+ 648,
265
+ 707
266
+ ],
267
+ "page_idx": 2
268
+ },
269
+ {
270
+ "type": "text",
271
+ "text": "The final embedding for a node is the sum of its embeddings across all layers, and the inner product between the final embedding of a user $u _ { i }$ and an item $v _ { j }$ predicts $u _ { i }$ ’s preference towards $v _ { j }$ : ",
272
+ "bbox": [
273
+ 174,
274
+ 719,
275
+ 826,
276
+ 748
277
+ ],
278
+ "page_idx": 2
279
+ },
280
+ {
281
+ "type": "equation",
282
+ "img_path": "images/79258680c5f1ed11d5da615267d2befb178324d6474d9c4bc14f7af385f006a4.jpg",
283
+ "text": "$$\n\\pmb { e } _ { i } ^ { ( u ) } = \\sum _ { l = 0 } ^ { L } \\pmb { e } _ { i , l } ^ { ( u ) } , \\quad \\pmb { e } _ { j } ^ { ( v ) } = \\sum _ { l = 0 } ^ { L } \\pmb { e } _ { j , l } ^ { ( v ) } , \\quad \\hat { y } _ { i , j } = e _ { i } ^ { ( u ) \\top } \\pmb { e } _ { j } ^ { ( v ) }\n$$",
284
+ "text_format": "latex",
285
+ "bbox": [
286
+ 316,
287
+ 755,
288
+ 679,
289
+ 799
290
+ ],
291
+ "page_idx": 2
292
+ },
293
+ {
294
+ "type": "text",
295
+ "text": "3.2 EFFICIENT GLOBAL COLLABORATIVE RELATION LEARNING ",
296
+ "text_level": 1,
297
+ "bbox": [
298
+ 174,
299
+ 813,
300
+ 635,
301
+ 828
302
+ ],
303
+ "page_idx": 2
304
+ },
305
+ {
306
+ "type": "text",
307
+ "text": "To empower graph contrastive learning for recommendation with global structure learning, we equip our LightGCL with the SVD scheme (Rajwade et al., 2012; Rangarajan, 2001) to efficiently distill important collaborative signals from the global perspective. Specifically, we first perform SVD on the adjacency matrix $\\mathcal { A }$ as $\\mathbf { \\mathcal { A } } = U S V ^ { \\top }$ . Here, $U / V$ is an $I \\times I / J \\times J$ orthonormal matrix with columns being the eigenvectors of $\\mathcal { A }$ ’s row-row $/$ column-column correlation matrix. $_ { s }$ is an $I \\times J$ diagonal matrix storing the singular values of $\\mathcal { A }$ . The largest singular values are usually associated with the principal components of the matrix. Thus, we truncate the list of singular values to keep the largest q values, and reconstruct the adjacency matrix with the truncated matrices as $\\hat { \\ b { A } } = \\ b { U } _ { q } \\ b { S } _ { q } \\ b { V } _ { q } ^ { \\top }$ , where $U _ { q } \\in \\mathbb { R } ^ { I \\times q }$ and $V _ { q } \\in \\mathbb { R } ^ { J \\times q }$ contain the first $q$ columns of $U$ and $V$ respectively. $S _ { q } \\in \\mathbb { R } ^ { q \\times q }$ is the diagonal matrix of the $q$ largest singular values. ",
308
+ "bbox": [
309
+ 173,
310
+ 838,
311
+ 825,
312
+ 924
313
+ ],
314
+ "page_idx": 2
315
+ },
316
+ {
317
+ "type": "text",
318
+ "text": "",
319
+ "bbox": [
320
+ 173,
321
+ 102,
322
+ 825,
323
+ 166
324
+ ],
325
+ "page_idx": 3
326
+ },
327
+ {
328
+ "type": "text",
329
+ "text": "The reconstructed matrix $\\hat { A }$ is a low-rank approximation of the adjacency matrix $\\mathcal { A }$ , for it holds that $r a n k ( { \\hat { A } } ) = q$ . The advantages of SVD-based graph structure learning are two-folds. Firstly, it emphasizes the principal components of the graph by identifying the user-item interactions that are important and reliable to user preference representations. Secondly, the generated new graph structures preserve the global collaborative signals by considering each user-item pair. Given the $\\hat { A }$ , we perform message propagation on the reconstructed user-item relation graph in each layer: ",
330
+ "bbox": [
331
+ 173,
332
+ 172,
333
+ 825,
334
+ 262
335
+ ],
336
+ "page_idx": 3
337
+ },
338
+ {
339
+ "type": "equation",
340
+ "img_path": "images/b67fb8342e715e6be972f944d3ae27d737e2c99ac5c5ccc8adbee06ccd579b1f.jpg",
341
+ "text": "$$\n\\pmb { g } _ { i , l } ^ { ( u ) } = \\sigma ( \\hat { \\mathcal { A } } _ { i , : } \\cdot \\pmb { E } _ { l - 1 } ^ { ( v ) } ) , \\quad \\pmb { g } _ { j , l } ^ { ( v ) } = \\sigma ( \\hat { \\mathcal { A } } _ { : , j } \\cdot \\pmb { E } _ { l - 1 } ^ { ( u ) } )\n$$",
342
+ "text_format": "latex",
343
+ "bbox": [
344
+ 339,
345
+ 268,
346
+ 658,
347
+ 291
348
+ ],
349
+ "page_idx": 3
350
+ },
351
+ {
352
+ "type": "text",
353
+ "text": "However, performing the exact SVD on large matrices is highly expensive, making it impractical for handling large-scale user-item matrix. Therefore, we adopt the randomized SVD algorithm proposed by Halko et al. (2011), whose key idea is to first approximate the range of the input matrix with a low-rank orthonormal matrix, and then perform SVD on this smaller matrix. ",
354
+ "bbox": [
355
+ 173,
356
+ 304,
357
+ 825,
358
+ 361
359
+ ],
360
+ "page_idx": 3
361
+ },
362
+ {
363
+ "type": "equation",
364
+ "img_path": "images/8a7883b2feec20f71bc1431bcb2f565953eb5232bffab5ad1bb8e34b6d496986.jpg",
365
+ "text": "$$\n\\hat { U } _ { q } , \\hat { S } _ { q } , \\hat { V } _ { q } ^ { \\top } = \\mathrm { A p p r o x } { \\mathrm { S V D } } ( { \\cal A } , q ) , \\quad \\hat { A } _ { S V D } = \\hat { U } _ { q } \\hat { S } _ { q } \\hat { V } _ { q } ^ { \\top }\n$$",
366
+ "text_format": "latex",
367
+ "bbox": [
368
+ 307,
369
+ 377,
370
+ 691,
371
+ 400
372
+ ],
373
+ "page_idx": 3
374
+ },
375
+ {
376
+ "type": "text",
377
+ "text": "where $q$ is the required rank for the decomposed matrices, and $\\hat { { \\cal U } } _ { q } \\in \\mathbb { R } ^ { I \\times q } , \\hat { { \\cal S } } _ { q } \\in \\mathbb { R } ^ { q \\times q } , \\hat { { \\cal V } } _ { q } \\in \\mathbb { R } ^ { J \\times q }$ are the approximated versions of $U _ { q }$ , $S _ { q }$ , $V _ { q }$ . Thus, we rewrite the message propagation rules in Eq. 4 with the approximated matrices and the collective representations of the embeddings as follows: ",
378
+ "bbox": [
379
+ 174,
380
+ 411,
381
+ 825,
382
+ 455
383
+ ],
384
+ "page_idx": 3
385
+ },
386
+ {
387
+ "type": "equation",
388
+ "img_path": "images/df13dac002614ec774fc3c9dc898354a3e66908516a2242984f7c9215ee685b1.jpg",
389
+ "text": "$$\n\\pmb { G } _ { l } ^ { ( u ) } = \\sigma ( \\hat { A } _ { S V D } \\pmb { E } _ { l - 1 } ^ { ( v ) } ) = \\sigma ( \\hat { U } _ { q } \\hat { S } _ { q } \\hat { V } _ { q } ^ { \\top } \\pmb { E } _ { l - 1 } ^ { ( v ) } ) ; \\quad \\pmb { G } _ { l } ^ { ( v ) } = \\sigma ( \\hat { A } _ { S V D } ^ { \\top } \\pmb { E } _ { l - 1 } ^ { ( u ) } ) = \\sigma ( \\hat { V } _ { q } \\hat { S } _ { q } \\hat { U } _ { q } ^ { \\top } \\pmb { E } _ { l - 1 } ^ { ( u ) } )\n$$",
390
+ "text_format": "latex",
391
+ "bbox": [
392
+ 186,
393
+ 460,
394
+ 810,
395
+ 486
396
+ ],
397
+ "page_idx": 3
398
+ },
399
+ {
400
+ "type": "text",
401
+ "text": "where $G _ { l } ^ { ( u ) }$ and $G _ { l } ^ { ( v ) }$ are the collections of user and item embeddings encoded from the new generated graph structure view. Note that we do not need to compute and store the large dense matrix $\\hat { \\boldsymbol { \\mathcal { A } } } _ { S V D }$ . Instead, we can store $\\hat { U } _ { q } , \\hat { S } _ { q }$ and $\\hat { V } _ { q }$ , which are of low dimensions. By pre-calculating $( \\hat { U } _ { q } \\hat { S } _ { q } )$ and $( \\hat { V } _ { q } \\hat { S } _ { q } )$ during the preprocessing stage with SVD, the model efficiency is improved. ",
402
+ "bbox": [
403
+ 173,
404
+ 507,
405
+ 825,
406
+ 573
407
+ ],
408
+ "page_idx": 3
409
+ },
410
+ {
411
+ "type": "text",
412
+ "text": "3.3 SIMPLIFIED LOCAL-GLOBAL CONTRASTIVE LEARNING ",
413
+ "text_level": 1,
414
+ "bbox": [
415
+ 174,
416
+ 588,
417
+ 601,
418
+ 604
419
+ ],
420
+ "page_idx": 3
421
+ },
422
+ {
423
+ "type": "text",
424
+ "text": "The conventional GCL methods such as SGL and SimGCL contrast node embeddings by constructing two extra views, while the embeddings generated from the original graph (the main-view) are not directly involved in the InfoNCE loss. The reason for adopting such a cumbersome three-view paradigm may be that the random perturbation used to augment the graph may provide misleading signals to the main-view embeddings. In our proposed method, however, the augmented graph view is created with global collaborative relations, which can enhance the main-view representations. Therefore, we simplify the CL framework by directly contrasting the SVD-augmented view embeddings g(u)i,l with the main-view embeddings $\\boldsymbol { z } _ { i , l } ^ { ( u ) }$ in the InfoNCE loss (Oord et al., 2018): ",
425
+ "bbox": [
426
+ 173,
427
+ 613,
428
+ 826,
429
+ 731
430
+ ],
431
+ "page_idx": 3
432
+ },
433
+ {
434
+ "type": "equation",
435
+ "img_path": "images/398555fb60a0985ddd844350d7ef2299b07735c1205121838ed5e3034536b790.jpg",
436
+ "text": "$$\n\\mathcal { L } _ { s } ^ { ( u ) } = \\sum _ { i = 0 } ^ { I } \\sum _ { l = 0 } ^ { L } - \\log \\frac { \\exp ( s ( z _ { i , l } ^ { ( u ) } , \\pmb { g } _ { i , l } ^ { ( u ) } / \\tau ) ) } { \\sum _ { i ^ { \\prime } = 0 } ^ { I } \\exp ( s ( z _ { i , l } ^ { ( u ) } , \\pmb { g } _ { i ^ { \\prime } , l } ^ { ( u ) } ) / \\tau ) }\n$$",
437
+ "text_format": "latex",
438
+ "bbox": [
439
+ 330,
440
+ 738,
441
+ 666,
442
+ 784
443
+ ],
444
+ "page_idx": 3
445
+ },
446
+ {
447
+ "type": "text",
448
+ "text": "where $s ( \\cdot )$ and $\\tau$ stand for the cosine similarity and the temperature respectively. The InfoNCE loss $\\mathcal { L } _ { s } ^ { ( v ) }$ for the items are defined in the same way. To prevent overfitting, we implement a random node dropout in each batch to exclude some nodes from participating in the contrastive learning. As shown in Eq. 8, the contrastive loss is jointly optimized with our main objective function for the recommendation task (where $\\hat { y } _ { i , p _ { s } }$ and $\\hat { y } _ { i , n _ { s } }$ denote the predicted scores for a pair of positive and negative items of user $\\romannumeral 1$ ): ",
449
+ "bbox": [
450
+ 173,
451
+ 790,
452
+ 826,
453
+ 878
454
+ ],
455
+ "page_idx": 3
456
+ },
457
+ {
458
+ "type": "equation",
459
+ "img_path": "images/2e19e09d238be4582375cbcfb627b9ce2b4736cc782edc41c306753002e5835d.jpg",
460
+ "text": "$$\n\\mathcal { L } = \\mathcal { L } _ { r } + \\lambda _ { 1 } \\cdot ( \\mathcal { L } _ { s } ^ { ( u ) } + \\mathcal { L } _ { s } ^ { ( v ) } ) + \\lambda _ { 2 } \\cdot \\Vert \\Theta \\Vert _ { 2 } ^ { 2 } ; \\quad \\mathcal { L } _ { r } = \\sum _ { i = 0 } ^ { I } \\sum _ { s = 1 } ^ { S } \\operatorname* { m a x } ( 0 , 1 - \\hat { y } _ { i , p _ { s } } + \\hat { y } _ { i , n _ { s } } )\n$$",
461
+ "text_format": "latex",
462
+ "bbox": [
463
+ 214,
464
+ 883,
465
+ 782,
466
+ 928
467
+ ],
468
+ "page_idx": 3
469
+ },
470
+ {
471
+ "type": "text",
472
+ "text": "4 EVALUATION ",
473
+ "text_level": 1,
474
+ "bbox": [
475
+ 174,
476
+ 102,
477
+ 315,
478
+ 118
479
+ ],
480
+ "page_idx": 4
481
+ },
482
+ {
483
+ "type": "text",
484
+ "text": "To verify the superiority and effectiveness of the proposed LightGCL method, we perform extensive experiments to answer the following research questions: ",
485
+ "bbox": [
486
+ 174,
487
+ 132,
488
+ 823,
489
+ 161
490
+ ],
491
+ "page_idx": 4
492
+ },
493
+ {
494
+ "type": "text",
495
+ "text": "• RQ1: How does LightGCL perform on different datasets compared to various SOTA baselines? • RQ2: How does the lightweight graph contrastive learning improve the model efficiency? • RQ3: How does our model perform against data sparsity, popularity bias and over-smoothing? • RQ4: How does the local-global contrastive learning contribute to the performance of our model? • RQ5: How do different parameter settings affect our model performance? ",
496
+ "bbox": [
497
+ 173,
498
+ 172,
499
+ 825,
500
+ 251
501
+ ],
502
+ "page_idx": 4
503
+ },
504
+ {
505
+ "type": "text",
506
+ "text": "4.1 EXPERIMENTAL SETTINGS ",
507
+ "text_level": 1,
508
+ "bbox": [
509
+ 174,
510
+ 267,
511
+ 400,
512
+ 281
513
+ ],
514
+ "page_idx": 4
515
+ },
516
+ {
517
+ "type": "text",
518
+ "text": "4.1.1 DATASETS AND EVALUATION PROTOCOLS ",
519
+ "text_level": 1,
520
+ "bbox": [
521
+ 173,
522
+ 292,
523
+ 519,
524
+ 308
525
+ ],
526
+ "page_idx": 4
527
+ },
528
+ {
529
+ "type": "text",
530
+ "text": "We evaluate our model and the baselines on five real-world datasets: Yelp (29,601 users, 24,734 items, 1,517,326 interactions): a dataset collected from the rating interactions on Yelp platform; Gowalla (50,821 users, 57,440 items, 1,172,425 interactions): a dataset containing users’ check-in records collected from Gowalla platform; ML-10M (69,878 users, 10,195 items, 9,988,816 interactions): a well-known movie-rating dataset for collaborative filtering; Amazon-book (78,578 users, 77,801 items, 2,240,156 interactions): a dataset composed of users’ ratings on books collected from Amazon; and Tmall (47,939 users, 41,390 items, 2,357,450 interactions): a E-commerce dataset containing users’ purchase records on different products in Tmall platform. ",
531
+ "bbox": [
532
+ 173,
533
+ 316,
534
+ 825,
535
+ 429
536
+ ],
537
+ "page_idx": 4
538
+ },
539
+ {
540
+ "type": "text",
541
+ "text": "In accordance with He et al. (2020) and Wu et al. (2021), we split the datasets into training, validation and testing sets with a ratio of 7:2:1. We adopt the Recall $@ \\mathbf { N }$ and Normalized Discounted Cumulative Gain $( \\mathrm { N D C G } ) @ \\mathrm { N }$ , where $\\Nu = \\{ 2 0 , 4 0 \\}$ , as the evaluation metrics. ",
542
+ "bbox": [
543
+ 174,
544
+ 435,
545
+ 825,
546
+ 478
547
+ ],
548
+ "page_idx": 4
549
+ },
550
+ {
551
+ "type": "text",
552
+ "text": "4.1.2 BASELINE METHODS",
553
+ "text_level": 1,
554
+ "bbox": [
555
+ 174,
556
+ 492,
557
+ 375,
558
+ 507
559
+ ],
560
+ "page_idx": 4
561
+ },
562
+ {
563
+ "type": "text",
564
+ "text": "We compare our model against 16 state-of-the-art baselines with different learning paradigms: ",
565
+ "bbox": [
566
+ 173,
567
+ 516,
568
+ 790,
569
+ 531
570
+ ],
571
+ "page_idx": 4
572
+ },
573
+ {
574
+ "type": "text",
575
+ "text": "• MLP-enhanced Collaborative Filtering: NCF (He et al., 2017). \n• GNN-based Collaborative Filtering: GCCF (Chen et al., 2020c), LightGCN (He et al., 2020). \n• Disentangled Graph Collaborative Filtering: DGCF (Wang et al., 2020b). \n• Hypergraph-based Collaborative Filtering: HyRec (Wang et al., 2020a). \n• Self-Supervised Learning Recommender Systems: GraphCL (You et al., 2020), GRACE (Zhu et al., 2020), GCA (Zhu et al., 2021b), MHCN (Yu et al., 2021), SAIL (Yu et al., 2022b), AutoGCL (Yin et al., 2022), SimGRACE (Xia et al., 2022a), SGL (Wu et al., 2021), HCCF (Xia et al., 2022b), SHT (Xia et al., 2022c), SimGCL (Yu et al., 2022a). ",
576
+ "bbox": [
577
+ 173,
578
+ 541,
579
+ 825,
580
+ 662
581
+ ],
582
+ "page_idx": 4
583
+ },
584
+ {
585
+ "type": "text",
586
+ "text": "Due to space limit, the detailed descriptions of baselines are presented in Appendix A. ",
587
+ "bbox": [
588
+ 176,
589
+ 674,
590
+ 736,
591
+ 689
592
+ ],
593
+ "page_idx": 4
594
+ },
595
+ {
596
+ "type": "text",
597
+ "text": "4.1.3 HYPERPARAMETER SETTINGS ",
598
+ "text_level": 1,
599
+ "bbox": [
600
+ 176,
601
+ 703,
602
+ 436,
603
+ 718
604
+ ],
605
+ "page_idx": 4
606
+ },
607
+ {
608
+ "type": "text",
609
+ "text": "To ensure a fair comparison, we tune the hyperparameters of all the baselines within the ranges suggested in the original papers, except the following fixed settings for all the models: the embedding size is set as 32; the batch size is 256; two convolutional layers are used for GCN models. ",
610
+ "bbox": [
611
+ 176,
612
+ 727,
613
+ 823,
614
+ 770
615
+ ],
616
+ "page_idx": 4
617
+ },
618
+ {
619
+ "type": "text",
620
+ "text": "For our LightGCL, the regularization weights $\\lambda _ { 1 }$ and $\\lambda _ { 2 }$ are tuned from $\\{ 1 \\mathrm { e } { - } 5 , 1 \\mathrm { e } { - } 6 , 1 \\mathrm { e } { - } 7 \\}$ and {1e4, 1e- $\\{ 5 \\}$ , respectively. The temperature $\\tau$ is searched from $\\{ 0 . 3 , 0 . 5 , 1 , \\dot { 3 } , 1 0 \\}$ . The dropout rate is chosen from $\\{ 0 , 0 . 2 5 \\}$ . The rank (i.e., $\\grave { q } ,$ ) for SVD, is set as 5. We use the Adam optimizer with a learning rate of 0.001 decaying at the rate of 0.98 until the rate reaches 0.0005.\\* ",
621
+ "bbox": [
622
+ 173,
623
+ 776,
624
+ 825,
625
+ 832
626
+ ],
627
+ "page_idx": 4
628
+ },
629
+ {
630
+ "type": "text",
631
+ "text": "4.2 PERFORMANCE VALIDATION (RQ1) ",
632
+ "text_level": 1,
633
+ "bbox": [
634
+ 176,
635
+ 848,
636
+ 464,
637
+ 863
638
+ ],
639
+ "page_idx": 4
640
+ },
641
+ {
642
+ "type": "text",
643
+ "text": "We summarize the experimental result in Table $1 ^ { \\dagger }$ , with the following observations and conclusions: ",
644
+ "bbox": [
645
+ 174,
646
+ 873,
647
+ 823,
648
+ 890
649
+ ],
650
+ "page_idx": 4
651
+ },
652
+ {
653
+ "type": "table",
654
+ "img_path": "images/62660177d19c3fbe115eb8b94d7716456a30d8c53b4de95abc745c8ac4d566ac.jpg",
655
+ "table_caption": [
656
+ "Table 1: Performance comparison with baselines on five datasets. "
657
+ ],
658
+ "table_footnote": [],
659
+ "table_body": "<table><tr><td>Data</td><td>Metric</td><td>DGCF</td><td>HyRec</td><td>LightGCN</td><td>MHCN</td><td>SGL</td><td>SimGRACE</td><td>GCA</td><td>HCCF</td><td>SHT</td><td>SimGCL</td><td>LightGCL</td><td>p-val.</td><td>impr.</td></tr><tr><td rowspan=\"4\">o</td><td>R@20</td><td>0.0466</td><td>0.0472</td><td>0.0482</td><td>0.0503</td><td>0.0526</td><td>0.0603</td><td>0.0621</td><td>0.0626</td><td>0.0651</td><td>0.0718</td><td>0.0793</td><td>7e-9</td><td>10%</td></tr><tr><td>N@20</td><td>0.0395</td><td>0.0395</td><td>0.0409</td><td>0.0424</td><td>0.0444</td><td>0.0435</td><td>0.0530</td><td>0.0527</td><td>0.0546</td><td>0.0615</td><td>0.0668</td><td>8e-9</td><td>8%</td></tr><tr><td>R@40</td><td>0.0774</td><td>0.0791</td><td>0.0803</td><td>0.0826</td><td>0.0869</td><td>0.0989</td><td>0.1021</td><td>0.1040</td><td>0.1091</td><td>0.1166</td><td>0.1292</td><td>2e-9</td><td>10%</td></tr><tr><td>N@40</td><td>0.0511</td><td>0.0522</td><td>0.0527</td><td>0.0544</td><td>0.0571</td><td>0.0656</td><td>0.0677</td><td>0.0681</td><td>0.0709</td><td>0.0778</td><td>0.0852</td><td>2e-9</td><td>9%</td></tr><tr><td rowspan=\"5\">Goeaal</td><td>R@20</td><td>0.0944</td><td>0.0901</td><td>0.0985</td><td>0.0955</td><td>0.1030</td><td>0.0869</td><td>0.0896</td><td>0.1070</td><td>0.1232</td><td>0.1357</td><td>0.1578</td><td>1e-6</td><td>16%</td></tr><tr><td>N@20</td><td>0.0522</td><td>0.0498</td><td>0.0593</td><td>0.0574</td><td>0.0623</td><td>0.0528</td><td>0.0537</td><td>0.0644</td><td>0.0731</td><td>0.0818</td><td>0.0935</td><td>2e-6</td><td>14%</td></tr><tr><td>R@40</td><td>0.1401</td><td>0.1356</td><td>0.1431</td><td>0.1393</td><td>0.1500</td><td>0.1276</td><td>0.1322</td><td>0.1535</td><td>0.1804</td><td>0.1956</td><td>0.2245</td><td>3e-6</td><td>14%</td></tr><tr><td>N@40</td><td>0.0671</td><td>0.0660</td><td>0.0710</td><td>0.0689</td><td>0.0746</td><td>0.0637</td><td>0.0651</td><td>0.0767</td><td>0.0881</td><td>0.0975</td><td>0.1108</td><td>3e-6</td><td>13%</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td rowspan=\"4\">WOI-TN</td><td>R@20</td><td>0.1763</td><td>0.1801</td><td>0.1789</td><td>0.1497</td><td>0.1833</td><td>0.2254</td><td>0.2145</td><td>0.2219</td><td>0.2173</td><td>0.2265</td><td>0.2613</td><td>1e-9</td><td>15%</td></tr><tr><td>N@20</td><td>0.2101</td><td>0.2178</td><td>0.2128</td><td>0.1814</td><td>0.2205</td><td>0.2686</td><td>0.2613</td><td>0.2629</td><td>0.2573</td><td>0.2613</td><td>0.3106</td><td>3e-9</td><td>18%</td></tr><tr><td>R@40</td><td>0.2681</td><td>0.2685</td><td>0.2650</td><td>0.2250</td><td>0.2768</td><td>0.3295</td><td>0.3231</td><td>0.3265</td><td>0.3211</td><td>0.3345</td><td>0.3799</td><td>7e-10</td><td>13%</td></tr><tr><td>N@40</td><td>0.2340</td><td>0.2340</td><td>0.2322</td><td>0.1962</td><td>0.2426</td><td>0.2939</td><td>0.2871</td><td>0.2880</td><td>0.3318</td><td>0.2880</td><td>0.3387</td><td>1e-9</td><td>17%</td></tr><tr><td rowspan=\"4\">VAzaao</td><td>R@20</td><td>0.0211</td><td>0.0302</td><td>0.0319</td><td>0.0296</td><td>0.0327</td><td>0.0381</td><td>0.0309</td><td>0.0322</td><td>0.0441</td><td>0.0474</td><td>0.0585</td><td>2e-7</td><td>23%</td></tr><tr><td>N@20</td><td>0.0154</td><td>0.0225</td><td>0.0236</td><td>0.0219</td><td>0.0249</td><td>0.0291</td><td>0.0238</td><td>0.0247</td><td>0.0328</td><td>0.0360</td><td>0.0436</td><td>2e-6</td><td>21%</td></tr><tr><td>R@40</td><td>0.0351</td><td>0.0432</td><td>0.0499</td><td>0.0489</td><td>0.0531</td><td>0.0621</td><td>0.0498</td><td>0.0525</td><td>0.0719</td><td>0.0750</td><td>0.0933</td><td>1e-7</td><td>24%</td></tr><tr><td>N@40</td><td>0.0201</td><td>0.0246</td><td>0.0290</td><td>0.0284</td><td>0.0312</td><td>0.0371</td><td>0.0301</td><td>0.0314</td><td>0.0420</td><td>0.0451</td><td>0.0551</td><td>9e-7</td><td>22%</td></tr><tr><td rowspan=\"4\">[ig</td><td>R@20</td><td>0.0235</td><td>0.0233</td><td>0.0225</td><td>0.0203</td><td>0.0268</td><td>0.0222</td><td>0.0373</td><td>0.0314</td><td>0.0387</td><td>0.0473</td><td>0.0528</td><td>3e-5</td><td>11%</td></tr><tr><td>N@20</td><td>0.0163</td><td>0.0160</td><td>0.0154</td><td>0.0139</td><td>0.0183</td><td>0.0152</td><td>0.0252</td><td>0.0213</td><td>0.0262</td><td>0.0328</td><td>0.0361</td><td>1e-4</td><td>10%</td></tr><tr><td>R@40</td><td>0.0394</td><td>0.0350</td><td>0.0378</td><td>0.0340</td><td>0.0446</td><td>0.0367</td><td>0.0616</td><td>0.0519</td><td>0.0645</td><td>0.0766</td><td>0.0852</td><td>1e-5</td><td>11%</td></tr><tr><td>N@40</td><td>0.0218</td><td>0.0199</td><td>0.0208</td><td>0.0188</td><td>0.0246</td><td>0.0203</td><td>0.0337</td><td>0.0284</td><td>0.0352</td><td>0.0429</td><td>0.0473</td><td>7e-5</td><td>10%</td></tr></table>",
660
+ "bbox": [
661
+ 173,
662
+ 121,
663
+ 826,
664
+ 351
665
+ ],
666
+ "page_idx": 5
667
+ },
668
+ {
669
+ "type": "text",
670
+ "text": "• Contrastive Learning Dominates. As can be seen from the table, recent methods implementing contrastive learning (SGL, HCCF, SimGCL) exhibit consistent superiority as compared to traditional graph-based (GCCF, LightGCN) or hypergraph-based (HyRec) models. They also perform better than some of other self-supervised learning approaches (MHCN). This could be attributed to the effectiveness of CL to learn evenly distributed embeddings (Yu et al., 2022a). ",
671
+ "bbox": [
672
+ 174,
673
+ 377,
674
+ 825,
675
+ 446
676
+ ],
677
+ "page_idx": 5
678
+ },
679
+ {
680
+ "type": "text",
681
+ "text": "• Contrastive Learning Enhancement. Our method consistently outperforms all the contrastive learning baselines. We attribute such performance improvement to the effective augmentation of graph contrastive learning via injecting global collaborative contextual signals. Other compared contrastive learning-based recommenders (e.g., SGL, SimGCL, and HCCF) are easily biased by noisy interaction information and generate misleading self-supervised signals. ",
682
+ "bbox": [
683
+ 174,
684
+ 452,
685
+ 825,
686
+ 521
687
+ ],
688
+ "page_idx": 5
689
+ },
690
+ {
691
+ "type": "text",
692
+ "text": "4.3 EFFICIENCY STUDY (RQ2) ",
693
+ "text_level": 1,
694
+ "bbox": [
695
+ 176,
696
+ 544,
697
+ 400,
698
+ 558
699
+ ],
700
+ "page_idx": 5
701
+ },
702
+ {
703
+ "type": "text",
704
+ "text": "GCL models often suffer from a high computational cost due to the construction of extra views and the convolution operations performed on them during training. However, the low-rank nature of the SVD-reconstructed graph and the simplified CL structure enable the training of our LightGCL to be highly efficient. We analyze the pre-processing and per-batch training complexity of our model in comparison to three competitive baselines, as summarized in Table 2.‡ ",
705
+ "bbox": [
706
+ 174,
707
+ 570,
708
+ 825,
709
+ 638
710
+ ],
711
+ "page_idx": 5
712
+ },
713
+ {
714
+ "type": "table",
715
+ "img_path": "images/19990a465e289b9f89859de857c1ad9b16704f0f462a1224f1e7317098f8bcda.jpg",
716
+ "table_caption": [
717
+ "Table 2: Comparisons of computational complexity against baselines. "
718
+ ],
719
+ "table_footnote": [],
720
+ "table_body": "<table><tr><td>Stage</td><td>Computation</td><td>LightGCN</td><td>SGL</td><td>SimGCL</td><td>LightGCL</td></tr><tr><td>Pre-processing</td><td>Normalization SVD</td><td>O(E)</td><td>O(E)</td><td>O(E)</td><td>O(E) O(qE)</td></tr><tr><td>Training</td><td>Augmentation Graph Convolution BPRLoss InfoNCE Loss</td><td>O(2ELd) O(2Bd) 1</td><td>O(2pE) O(2ELd+4pELd) O(2Bd) O(Bd+BMd)</td><td>O(6ELd) O(2Bd) O(Bd+BMd)</td><td>O[2ELd+ 2q(I+ J)Ld] O(2Bd) O[(Bd+BMd)L]</td></tr></table>",
721
+ "bbox": [
722
+ 173,
723
+ 672,
724
+ 828,
725
+ 767
726
+ ],
727
+ "page_idx": 5
728
+ },
729
+ {
730
+ "type": "text",
731
+ "text": "• Although our model requires performing the SVD in the pre-processing stage which takes $O ( q E )$ , the computational cost is negligible compared to the training stage since it only needs to be performed once. In fact, by moving the construction of contrastive view to the pre-processing stage, we avoid the repetitive graph augmentation during training, which improves model efficiency. ",
732
+ "bbox": [
733
+ 174,
734
+ 786,
735
+ 825,
736
+ 842
737
+ ],
738
+ "page_idx": 5
739
+ },
740
+ {
741
+ "type": "text",
742
+ "text": "• Traditional GCN methods (e.g., LightGCN) only perform convolution on one graph, inducing a complexity of $O ( 2 E L d )$ per batch. For most GCL-based methods, three contrastive views are computed per batch, leading to a complexity of roughly three times of LightGCN. In our model, instead, only two contrastive views are involved. Additionally, due to the low-rank property of SVD-based graph structure learning, our graph encoder takes only $O [ 2 q ( I + J ) L d ]$ time. For most datasets, including the five we use, $\\bar { 2 q } ( \\bar { I } + J ) < E$ . Therefore, the training complexity of our model is less than half of that of the SOTA efficient model SimGCL. ",
743
+ "bbox": [
744
+ 176,
745
+ 847,
746
+ 821,
747
+ 875
748
+ ],
749
+ "page_idx": 5
750
+ },
751
+ {
752
+ "type": "text",
753
+ "text": "",
754
+ "bbox": [
755
+ 187,
756
+ 103,
757
+ 825,
758
+ 172
759
+ ],
760
+ "page_idx": 6
761
+ },
762
+ {
763
+ "type": "text",
764
+ "text": "4.4 RESISTANCE AGAINST DATA SPARSITY AND POPULARITY BIAS (RQ3) ",
765
+ "text_level": 1,
766
+ "bbox": [
767
+ 178,
768
+ 191,
769
+ 702,
770
+ 207
771
+ ],
772
+ "page_idx": 6
773
+ },
774
+ {
775
+ "type": "text",
776
+ "text": "To evaluate the robustness of our model in alleviating data sparsity, we group the sparse users by their interaction degrees and calculate the Recall $@ 2 0$ of each group on $Y e l p$ and Gowalla datasets. As can be seen from the figures, the performance of HCCF and SimGCL varies across datasets, but our LightGCL consistently outperforms them in all cases. In particular, our model performs notably well on the extremely sparse user group $< 1 5$ interactions), as the Recall $@ 2 0$ of these users is not much lower (and is even higher on Gowalla) than that of the whole dataset. ",
777
+ "bbox": [
778
+ 173,
779
+ 218,
780
+ 825,
781
+ 303
782
+ ],
783
+ "page_idx": 6
784
+ },
785
+ {
786
+ "type": "image",
787
+ "img_path": "images/623a815fd9843e8009e8316113509191d0a46ab26971881711679e6dbbf83323.jpg",
788
+ "image_caption": [
789
+ "Figure 2: Performance on users of different sparsity degrees, in terms of Recall (histograms) and relative Recall w.r.t overall performances (charts). "
790
+ ],
791
+ "image_footnote": [],
792
+ "bbox": [
793
+ 184,
794
+ 315,
795
+ 504,
796
+ 491
797
+ ],
798
+ "page_idx": 6
799
+ },
800
+ {
801
+ "type": "image",
802
+ "img_path": "images/df5b9e7ff55f07f0a4528b1c2879a17d632a723aaf9dab688e698d6d4aa45616.jpg",
803
+ "image_caption": [
804
+ "Figure 3: LightGCL’s ability to alleviate popularity bias in comparison to SOTA CLbased methods HCCF and SimGCL. "
805
+ ],
806
+ "image_footnote": [],
807
+ "bbox": [
808
+ 522,
809
+ 333,
810
+ 813,
811
+ 473
812
+ ],
813
+ "page_idx": 6
814
+ },
815
+ {
816
+ "type": "text",
817
+ "text": "Additionally, we illustrate our model’s ability to mitigate popularity bias compared to HCCF and SimGCL. Similar to Section 4.4, we group the long-tail items by their degree of interactions. Following Wu et al. (2021), we adopt the decomposed Recall@20 defined as Recall(g) = |(Vurec)(g)∩Vutest||Vu | where $\\mathbb { V } _ { t e s t } ^ { u }$ refers to the set of test items for the user $u$ , and $( \\mathbb { V } _ { r e c } ^ { u } ) ^ { ( g ) }$ is the set of Top-K recommended items for $u$ that belong to group $g$ . The results are shown in Fig. 3. Similar to the results on sparse users, HCCF and SimGCL’s performance fluctuates a lot with the influence of popularity bias. Our model performs better in most cases, which shows its resistance against popularity bias. Note that since the extremely sparse group ( $< 1 5$ interactions) is significantly larger than the other groups in Gowalla, they contribute to a large fraction of the Recall $@ 2 0$ , resulting in a different trend from that of Yelp in the figure. ",
818
+ "bbox": [
819
+ 173,
820
+ 560,
821
+ 825,
822
+ 712
823
+ ],
824
+ "page_idx": 6
825
+ },
826
+ {
827
+ "type": "text",
828
+ "text": "4.5 BALANCING BETWEEN OVER-SMOOTHING AND OVER-UNIFORMITY (RQ3) ",
829
+ "text_level": 1,
830
+ "bbox": [
831
+ 176,
832
+ 728,
833
+ 733,
834
+ 743
835
+ ],
836
+ "page_idx": 6
837
+ },
838
+ {
839
+ "type": "text",
840
+ "text": "In this section, we illustrate the effectiveness of our model in learning a moderately dispersed embedding distribution, by preserving user unique preference pattern and inter-user collaborative dependencies. We randomly sample 2,000 nodes from Yelp and Gowalla and map their embeddings to the 2-D space with t-SNE (Van der Maaten & Hinton, 2008). The visualizations of these embeddings are presented in Fig. 4. We also calculate the Mean Average Distance (MAD) (Chen et al., 2020a) of the embeddings, summarized in Table 3. ",
841
+ "bbox": [
842
+ 174,
843
+ 756,
844
+ 825,
845
+ 839
846
+ ],
847
+ "page_idx": 6
848
+ },
849
+ {
850
+ "type": "table",
851
+ "img_path": "images/436be5247ca8fb5f9270954ea6c2b27a6e459eadbfc1a36c4f3fe577a7542976.jpg",
852
+ "table_caption": [
853
+ "Table 3: Mean Average Distance (MAD) of the embeddings learned by different methods. "
854
+ ],
855
+ "table_footnote": [],
856
+ "table_body": "<table><tr><td>Dataset</td><td>MHCN</td><td>LightGCN</td><td>LightGCL</td><td>SGL</td><td>SimGCL</td></tr><tr><td>Yelp</td><td>0.8806</td><td>0.9469</td><td>0.9657</td><td>0.9962</td><td>0.9956</td></tr><tr><td>Gowalla</td><td>0.9247</td><td>0.9568</td><td>0.9721</td><td>0.9859</td><td>0.9897</td></tr></table>",
857
+ "bbox": [
858
+ 315,
859
+ 873,
860
+ 679,
861
+ 921
862
+ ],
863
+ "page_idx": 6
864
+ },
865
+ {
866
+ "type": "image",
867
+ "img_path": "images/d6c1337ddbfe6f8ae387e691750f79a7851bc9a61889505c08a8bf2562dd6e5b.jpg",
868
+ "image_caption": [
869
+ "Figure 4: Embedding distributions on Yelp and Gowalla visualized with t-SNE. "
870
+ ],
871
+ "image_footnote": [],
872
+ "bbox": [
873
+ 171,
874
+ 98,
875
+ 823,
876
+ 271
877
+ ],
878
+ "page_idx": 7
879
+ },
880
+ {
881
+ "type": "text",
882
+ "text": "As can be seen from Fig. 4, the embedding distributions of non-CL methods (i.e., LightGCN, MHCN) exhibit indistinguishable clusters in the embedding space, which indicates the limitation of addressing the over-smoothing issue. On the contrary, the existing CL-based methods tend to learn i) over-uniform distributions, e.g., SGL on $Y e l p$ learns a huge cloud of evenly-distanced embeddings with no clear community structure to well capture the collaborative relations between users; ii) highly dispersed small clusters with severe over-smoothing issue inside the clusters, e.g., the embeddings of SimGCL on Gowalla appear to be scattered grained clusters inside which embeddings are highly similar. Compared with them, clear community structures could be identified by our method to capture collaborative effects, while the embeddings inside each community are reasonably dispersed to be reflective of user-specific preference. The MAD of our model’s learned features is also in between of the two types of baselines as shown in Table 3. ",
883
+ "bbox": [
884
+ 173,
885
+ 305,
886
+ 825,
887
+ 458
888
+ ],
889
+ "page_idx": 7
890
+ },
891
+ {
892
+ "type": "text",
893
+ "text": "4.6 ABLATION STUDY (RQ4) ",
894
+ "text_level": 1,
895
+ "bbox": [
896
+ 174,
897
+ 474,
898
+ 392,
899
+ 488
900
+ ],
901
+ "page_idx": 7
902
+ },
903
+ {
904
+ "type": "text",
905
+ "text": "To investigate the effectiveness of our SVD-based graph augmentation scheme, we perform the ablation study to answer the question of whether we could provide guidance to the contrastive learning with a different approach of matrix decomposition. To this end, we implement two variants of our model, replacing the approximated SVD algorithm with other matrix decomposition methods: $C L .$ - $M F$ adopts the view generated by a pre-trained MF (Koren et al., 2009); $C L { \\cdot } S V D { + } +$ utilizes the $\\mathrm { S V D + + }$ (Koren, 2008) which takes implicit user feedback into consideration. As shown in Table 4, with the information distilled from MF or $\\mathrm { S V D + + }$ , the model is able to achieve satisfactory results, indicating the effectiveness of using matrix decomposition to empower CL and the flexibility of our proposed framework. However, adopting a pre-trained CL component is not only tedious and timeconsuming but also inferior to utilizing the approximate SVD algorithm in terms of performance. ",
906
+ "bbox": [
907
+ 173,
908
+ 500,
909
+ 825,
910
+ 640
911
+ ],
912
+ "page_idx": 7
913
+ },
914
+ {
915
+ "type": "table",
916
+ "img_path": "images/76c28c200cc857d058d26cba967f0acb9768d9ae5b2f7b6c215f4517d98b68f7.jpg",
917
+ "table_caption": [
918
+ "Table 4: Ablation study on LightGCL. "
919
+ ],
920
+ "table_footnote": [],
921
+ "table_body": "<table><tr><td rowspan=\"2\">Variant</td><td colspan=\"2\">Yelp</td><td colspan=\"2\">Gowalla</td></tr><tr><td>Recall@20</td><td>NDCG@20</td><td>Recall@20</td><td>NDCG@20</td></tr><tr><td>CL-MF</td><td>0.0781</td><td>0.0659</td><td>0.1561</td><td>0.0929</td></tr><tr><td>CL-SVD++</td><td>0.0788</td><td>0.0666</td><td>0.1568</td><td>0.0932</td></tr><tr><td>LightGCL</td><td>0.0793</td><td>0.0668</td><td>0.1578</td><td>0.0935</td></tr></table>",
922
+ "bbox": [
923
+ 433,
924
+ 698,
925
+ 799,
926
+ 766
927
+ ],
928
+ "page_idx": 7
929
+ },
930
+ {
931
+ "type": "image",
932
+ "img_path": "images/c7d33ed9b133947ba2331f5482f7173be513676421a01b0aa11b0d82d20ada44.jpg",
933
+ "image_caption": [
934
+ "Figure 5: Recall change w.r.t. $q$ "
935
+ ],
936
+ "image_footnote": [],
937
+ "bbox": [
938
+ 204,
939
+ 654,
940
+ 413,
941
+ 765
942
+ ],
943
+ "page_idx": 7
944
+ },
945
+ {
946
+ "type": "text",
947
+ "text": "4.7 HYPERPARAMETER ANALYSIS (RQ5) ",
948
+ "text_level": 1,
949
+ "bbox": [
950
+ 176,
951
+ 815,
952
+ 473,
953
+ 830
954
+ ],
955
+ "page_idx": 7
956
+ },
957
+ {
958
+ "type": "text",
959
+ "text": "In this section, we investigate our model’s sensitivity in relation to several key hyperparameters: the regularization weight for InfoNCE loss $\\lambda _ { 1 }$ , the temperature $\\tau$ , and the required rank of SVD $q$ . ",
960
+ "bbox": [
961
+ 171,
962
+ 842,
963
+ 823,
964
+ 869
965
+ ],
966
+ "page_idx": 7
967
+ },
968
+ {
969
+ "type": "text",
970
+ "text": "• The impact of $\\lambda _ { 1 }$ . As illustrated in Fig. 6, for the three datasets Yelp, Gowalla and ML-10M, the model’s performance reaches the peak when $\\lambda _ { 1 } = 1 0 ^ { - 7 }$ . It can be noticed that $\\lambda _ { 1 }$ with the range of $[ 1 0 ^ { - 6 } , 1 0 ^ { - 8 } ]$ can often lead to performance improvement. ",
971
+ "bbox": [
972
+ 174,
973
+ 881,
974
+ 823,
975
+ 924
976
+ ],
977
+ "page_idx": 7
978
+ },
979
+ {
980
+ "type": "image",
981
+ "img_path": "images/7ebdb10fbddab17d11c287f95d8996357b8aceba9a290f32cbc12ce43d03d72c.jpg",
982
+ "image_caption": [
983
+ "Figure 6: Impact of $\\lambda _ { 1 }$ . "
984
+ ],
985
+ "image_footnote": [],
986
+ "bbox": [
987
+ 194,
988
+ 103,
989
+ 486,
990
+ 202
991
+ ],
992
+ "page_idx": 8
993
+ },
994
+ {
995
+ "type": "image",
996
+ "img_path": "images/9fb35ccdc532666d6f84c206ac95d489d159d8d812f187c41a03b6b1c6914a77.jpg",
997
+ "image_caption": [
998
+ "Figure 7: Impact of $\\tau$ "
999
+ ],
1000
+ "image_footnote": [],
1001
+ "bbox": [
1002
+ 504,
1003
+ 99,
1004
+ 800,
1005
+ 205
1006
+ ],
1007
+ "page_idx": 8
1008
+ },
1009
+ {
1010
+ "type": "text",
1011
+ "text": "• The impact of $\\tau$ . Fig. 7 indicates that the model’s performance is relatively stable across different selections of $\\tau$ from 0.1 to 10, while the best configuration of $\\tau$ value varies by datasets. ",
1012
+ "bbox": [
1013
+ 169,
1014
+ 256,
1015
+ 823,
1016
+ 284
1017
+ ],
1018
+ "page_idx": 8
1019
+ },
1020
+ {
1021
+ "type": "text",
1022
+ "text": "• The selection of $q$ . $q$ determines the rank of SVD in our model. Experiments have shown that satisfactory results can be achieved with a small $q$ . Specifically, as in Fig. 5, we observe that $q = 5$ is sufficient to preserve important structures of the user-item interaction graph. ",
1023
+ "bbox": [
1024
+ 174,
1025
+ 287,
1026
+ 825,
1027
+ 330
1028
+ ],
1029
+ "page_idx": 8
1030
+ },
1031
+ {
1032
+ "type": "text",
1033
+ "text": "4.8 CASE STUDY (RQ4) ",
1034
+ "text_level": 1,
1035
+ "bbox": [
1036
+ 174,
1037
+ 347,
1038
+ 356,
1039
+ 361
1040
+ ],
1041
+ "page_idx": 8
1042
+ },
1043
+ {
1044
+ "type": "text",
1045
+ "text": "In this section, we present a case study to intuitively show the effectiveness of our model to identify useful knowledge from noisy user-item interactions and make accurate recommendations accordingly. In Fig. 8, we can see that the venues visited by user $\\# 2 6$ in Yelp mainly fall into two communities: Cleveland (where the user probably lives) and Arizona (where the user may have travelled to). In the reconstructed graph, these venues are assigned a new weight according to their potential importance. Note that item $\\# 2 5 8 3$ , a car rental agency in Arizona, has been assigned a negative weight, which conforms to our common sense that people generally would not visit multiple car rental agencies in one trip. The SVD-augmented view also provides predictions on invisible links by assigning a large weight§ to potential venues of interest, such as #2647 and #658. Note that when exploiting the graph, the augmented view does not overlook the smaller Arizona community, which enables the model to predict items of minor interests that are usually overshadowed by the majority. ",
1046
+ "bbox": [
1047
+ 173,
1048
+ 372,
1049
+ 825,
1050
+ 526
1051
+ ],
1052
+ "page_idx": 8
1053
+ },
1054
+ {
1055
+ "type": "image",
1056
+ "img_path": "images/0503ae1e241b24805cdeae8bafec2ea5b3c686916a0f5795d1e74dec13771edf.jpg",
1057
+ "image_caption": [
1058
+ "Figure 8: Case study on user $\\# 2 6$ in Yelp dataset. "
1059
+ ],
1060
+ "image_footnote": [],
1061
+ "bbox": [
1062
+ 214,
1063
+ 537,
1064
+ 782,
1065
+ 702
1066
+ ],
1067
+ "page_idx": 8
1068
+ },
1069
+ {
1070
+ "type": "text",
1071
+ "text": "5 CONCLUSION ",
1072
+ "text_level": 1,
1073
+ "bbox": [
1074
+ 174,
1075
+ 748,
1076
+ 318,
1077
+ 763
1078
+ ],
1079
+ "page_idx": 8
1080
+ },
1081
+ {
1082
+ "type": "text",
1083
+ "text": "In this paper, we propose a simple and effective augmentation method to the graph contrastive learning framework for recommendation. Specifically, we explore the key idea of making the singular value decomposition powerful enough to augment user-item interaction graph structures. Our key findings indicate that our graph augmentation scheme exhibits strong ability in resisting data sparsity and popularity bias. Extensive experiments show that our model achieves new state-of-the-art results on several public evaluation datasets. In future work, we plan to explore the potential of incorporating casual analysis into our lightweight graph contrastive learning model to enhance the recommender system with mitigating confounding effects for data augmentation. ",
1084
+ "bbox": [
1085
+ 173,
1086
+ 779,
1087
+ 825,
1088
+ 891
1089
+ ],
1090
+ "page_idx": 8
1091
+ },
1092
+ {
1093
+ "type": "text",
1094
+ "text": "REFERENCES ",
1095
+ "text_level": 1,
1096
+ "bbox": [
1097
+ 176,
1098
+ 102,
1099
+ 285,
1100
+ 117
1101
+ ],
1102
+ "page_idx": 9
1103
+ },
1104
+ {
1105
+ "type": "text",
1106
+ "text": "Deli Chen, Yankai Lin, Wei Li, Peng Li, Jie Zhou, and Xu Sun. Measuring and relieving the oversmoothing problem for graph neural networks from the topological view. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pp. 3438–3445, 2020a. ",
1107
+ "bbox": [
1108
+ 174,
1109
+ 126,
1110
+ 821,
1111
+ 169
1112
+ ],
1113
+ "page_idx": 9
1114
+ },
1115
+ {
1116
+ "type": "text",
1117
+ "text": "Lei Chen, Le Wu, Richang Hong, Kun Zhang, and Meng Wang. Revisiting graph based collaborative filtering: A linear residual graph convolutional network approach. In AAAI conference on artificial intelligence, volume 34, pp. 27–34, 2020b. ",
1118
+ "bbox": [
1119
+ 176,
1120
+ 178,
1121
+ 821,
1122
+ 220
1123
+ ],
1124
+ "page_idx": 9
1125
+ },
1126
+ {
1127
+ "type": "text",
1128
+ "text": "Lei Chen, Le Wu, Richang Hong, Kun Zhang, and Meng Wang. Revisiting graph based collaborative filtering: A linear residual graph convolutional network approach. In Proceedings of the AAAI conference on artificial intelligence, volume 34, pp. 27–34, 2020c. ",
1129
+ "bbox": [
1130
+ 176,
1131
+ 231,
1132
+ 823,
1133
+ 273
1134
+ ],
1135
+ "page_idx": 9
1136
+ },
1137
+ {
1138
+ "type": "text",
1139
+ "text": "Nathan Halko, Per-Gunnar Martinsson, and Joel A Tropp. Finding structure with randomness: Probabilistic algorithms for constructing approximate matrix decompositions. SIAM review, 53 (2):217–288, 2011. ",
1140
+ "bbox": [
1141
+ 173,
1142
+ 282,
1143
+ 825,
1144
+ 325
1145
+ ],
1146
+ "page_idx": 9
1147
+ },
1148
+ {
1149
+ "type": "text",
1150
+ "text": "Kaveh Hassani and Amir Hosein Khasahmadi. Contrastive multi-view representation learning on graphs. In International Conference on Machine Learning (ICML), pp. 4116–4126. PMLR, 2020. ",
1151
+ "bbox": [
1152
+ 174,
1153
+ 335,
1154
+ 823,
1155
+ 364
1156
+ ],
1157
+ "page_idx": 9
1158
+ },
1159
+ {
1160
+ "type": "text",
1161
+ "text": "Xiangnan He, Lizi Liao, Hanwang Zhang, Liqiang Nie, Xia Hu, and Tat-Seng Chua. Neural collaborative filtering. In International conference on world wide web (WWW), pp. 173–182, 2017. ",
1162
+ "bbox": [
1163
+ 173,
1164
+ 373,
1165
+ 825,
1166
+ 404
1167
+ ],
1168
+ "page_idx": 9
1169
+ },
1170
+ {
1171
+ "type": "text",
1172
+ "text": "Xiangnan He, Kuan Deng, Xiang Wang, Yan Li, Yongdong Zhang, and Meng Wang. Lightgcn: Simplifying and powering graph convolution network for recommendation. In International conference on research and development in Information Retrieval (SIGIR), pp. 639–648, 2020. ",
1173
+ "bbox": [
1174
+ 173,
1175
+ 412,
1176
+ 823,
1177
+ 455
1178
+ ],
1179
+ "page_idx": 9
1180
+ },
1181
+ {
1182
+ "type": "text",
1183
+ "text": "Wei Jin, Xiaorui Liu, Xiangyu Zhao, Yao Ma, Neil Shah, and Jiliang Tang. Automated selfsupervised learning for graphs. ICLR, 2022. ",
1184
+ "bbox": [
1185
+ 168,
1186
+ 464,
1187
+ 823,
1188
+ 494
1189
+ ],
1190
+ "page_idx": 9
1191
+ },
1192
+ {
1193
+ "type": "text",
1194
+ "text": "Yehuda Koren. Factorization meets the neighborhood: a multifaceted collaborative filtering model. In Proceedings of the 14th ACM SIGKDD international conference on Knowledge discovery and data mining, pp. 426–434, 2008. ",
1195
+ "bbox": [
1196
+ 174,
1197
+ 503,
1198
+ 823,
1199
+ 546
1200
+ ],
1201
+ "page_idx": 9
1202
+ },
1203
+ {
1204
+ "type": "text",
1205
+ "text": "Yehuda Koren, Robert Bell, and Chris Volinsky. Matrix factorization techniques for recommender systems. Computer, 42(8):30–37, 2009. ",
1206
+ "bbox": [
1207
+ 171,
1208
+ 555,
1209
+ 823,
1210
+ 585
1211
+ ],
1212
+ "page_idx": 9
1213
+ },
1214
+ {
1215
+ "type": "text",
1216
+ "text": "Xixun Lin, Jia Wu, Chuan Zhou, Shirui Pan, Yanan Cao, and Bin Wang. Task-adaptive neural process for user cold-start recommendation. In Proceedings of the Web Conference (WWW), pp. 1306–1316, 2021. ",
1217
+ "bbox": [
1218
+ 174,
1219
+ 593,
1220
+ 825,
1221
+ 637
1222
+ ],
1223
+ "page_idx": 9
1224
+ },
1225
+ {
1226
+ "type": "text",
1227
+ "text": "Zihan Lin, Changxin Tian, Yupeng Hou, and Wayne Xin Zhao. Improving graph collaborative filtering with neighborhood-enriched contrastive learning. In Proceedings of the ACM Web Conference (WWW), pp. 2320–2329, 2022. ",
1228
+ "bbox": [
1229
+ 173,
1230
+ 646,
1231
+ 825,
1232
+ 689
1233
+ ],
1234
+ "page_idx": 9
1235
+ },
1236
+ {
1237
+ "type": "text",
1238
+ "text": "Fan Liu, Zhiyong Cheng, Lei Zhu, Zan Gao, and Liqiang Nie. Interest-aware message-passing gcn for recommendation. In The Web Conference (WWW), pp. 1296–1305, 2021a. ",
1239
+ "bbox": [
1240
+ 173,
1241
+ 699,
1242
+ 821,
1243
+ 729
1244
+ ],
1245
+ "page_idx": 9
1246
+ },
1247
+ {
1248
+ "type": "text",
1249
+ "text": "Weiming Liu, Jiajie Su, Chaochao Chen, and Xiaolin Zheng. Leveraging distribution alignment via stein path for cross-domain cold-start recommendation. Advances in Neural Information Processing Systems (NeurIPS), 34:19223–19234, 2021b. ",
1250
+ "bbox": [
1251
+ 173,
1252
+ 737,
1253
+ 823,
1254
+ 780
1255
+ ],
1256
+ "page_idx": 9
1257
+ },
1258
+ {
1259
+ "type": "text",
1260
+ "text": "Aaron van den Oord, Yazhe Li, and Oriol Vinyals. Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748, 2018. ",
1261
+ "bbox": [
1262
+ 168,
1263
+ 790,
1264
+ 823,
1265
+ 819
1266
+ ],
1267
+ "page_idx": 9
1268
+ },
1269
+ {
1270
+ "type": "text",
1271
+ "text": "Zhen Peng, Wenbing Huang, Minnan Luo, Qinghua Zheng, Yu Rong, Tingyang Xu, and Junzhou Huang. Graph representation learning via graphical mutual information maximization. In The Web Conference (WWW), pp. 259–270, 2020. ",
1272
+ "bbox": [
1273
+ 176,
1274
+ 829,
1275
+ 823,
1276
+ 872
1277
+ ],
1278
+ "page_idx": 9
1279
+ },
1280
+ {
1281
+ "type": "text",
1282
+ "text": "Ajit Rajwade, Anand Rangarajan, and Arunava Banerjee. Image denoising using the higher order singular value decomposition. IEEE Transactions on Pattern Analysis and Machine Intelligence, 35(4):849–862, 2012. ",
1283
+ "bbox": [
1284
+ 174,
1285
+ 882,
1286
+ 825,
1287
+ 924
1288
+ ],
1289
+ "page_idx": 9
1290
+ },
1291
+ {
1292
+ "type": "text",
1293
+ "text": "Anand Rangarajan. Learning matrix space image representations. In International Workshop on Energy Minimization Methods in Computer Vision and Pattern Recognition, pp. 153–168. Springer, 2001. ",
1294
+ "bbox": [
1295
+ 174,
1296
+ 103,
1297
+ 821,
1298
+ 146
1299
+ ],
1300
+ "page_idx": 10
1301
+ },
1302
+ {
1303
+ "type": "text",
1304
+ "text": "Susheel Suresh, Pan Li, Cong Hao, and Jennifer Neville. Adversarial graph augmentation to improve graph contrastive learning. Advances in Neural Information Processing Systems (NeurIPS), 34: 15920–15933, 2021. ",
1305
+ "bbox": [
1306
+ 173,
1307
+ 156,
1308
+ 825,
1309
+ 199
1310
+ ],
1311
+ "page_idx": 10
1312
+ },
1313
+ {
1314
+ "type": "text",
1315
+ "text": "Laurens Van der Maaten and Geoffrey Hinton. Visualizing data using t-sne. Journal of machine learning research, 9(11), 2008. ",
1316
+ "bbox": [
1317
+ 171,
1318
+ 208,
1319
+ 823,
1320
+ 238
1321
+ ],
1322
+ "page_idx": 10
1323
+ },
1324
+ {
1325
+ "type": "text",
1326
+ "text": "Petar Velickovic, William Fedus, William L Hamilton, Pietro Lio, Yoshua Bengio, and R Devon \\` Hjelm. Deep graph infomax. ICLR, 2(3):4, 2019. ",
1327
+ "bbox": [
1328
+ 173,
1329
+ 247,
1330
+ 825,
1331
+ 276
1332
+ ],
1333
+ "page_idx": 10
1334
+ },
1335
+ {
1336
+ "type": "text",
1337
+ "text": "Jianling Wang, Kaize Ding, Liangjie Hong, Huan Liu, and James Caverlee. Next-item recommendation with sequential hypergraphs. In Proceedings of the 43rd international ACM SIGIR conference on research and development in information retrieval, pp. 1101–1110, 2020a. ",
1338
+ "bbox": [
1339
+ 173,
1340
+ 286,
1341
+ 825,
1342
+ 330
1343
+ ],
1344
+ "page_idx": 10
1345
+ },
1346
+ {
1347
+ "type": "text",
1348
+ "text": "Xiang Wang, Xiangnan He, Meng Wang, Fuli Feng, and Tat-Seng Chua. Neural graph collaborative filtering. In International Conference on Research and Development in Information Retrieval (SIGIR), pp. 165–174, 2019. ",
1349
+ "bbox": [
1350
+ 173,
1351
+ 339,
1352
+ 825,
1353
+ 382
1354
+ ],
1355
+ "page_idx": 10
1356
+ },
1357
+ {
1358
+ "type": "text",
1359
+ "text": "Xiang Wang, Hongye Jin, An Zhang, Xiangnan He, Tong Xu, and Tat-Seng Chua. Disentangled graph collaborative filtering. In Proceedings of the 43rd international ACM SIGIR conference on research and development in information retrieval, pp. 1001–1010, 2020b. ",
1360
+ "bbox": [
1361
+ 173,
1362
+ 392,
1363
+ 823,
1364
+ 435
1365
+ ],
1366
+ "page_idx": 10
1367
+ },
1368
+ {
1369
+ "type": "text",
1370
+ "text": "Jiancan Wu, Xiang Wang, Fuli Feng, Xiangnan He, Liang Chen, Jianxun Lian, and Xing Xie. Selfsupervised graph learning for recommendation. In International conference on research and development in information retrieval (SIGIR), pp. 726–735, 2021. ",
1371
+ "bbox": [
1372
+ 173,
1373
+ 444,
1374
+ 825,
1375
+ 488
1376
+ ],
1377
+ "page_idx": 10
1378
+ },
1379
+ {
1380
+ "type": "text",
1381
+ "text": "Zhebin Wu, Lin Shu, Ziyue Xu, Yaomin Chang, Chuan Chen, and Zibin Zheng. Robust tensor graph convolutional networks via t-svd based graph augmentation. In International Conference on Knowledge Discovery and Data Mining (KDD), pp. 2090–2099, 2022. ",
1382
+ "bbox": [
1383
+ 173,
1384
+ 497,
1385
+ 826,
1386
+ 541
1387
+ ],
1388
+ "page_idx": 10
1389
+ },
1390
+ {
1391
+ "type": "text",
1392
+ "text": "Jun Xia, Lirong Wu, Jintao Chen, Bozhen Hu, and Stan Z Li. Simgrace: A simple framework for graph contrastive learning without data augmentation. In the ACM Web Conference (WWW), pp. 1070–1079, 2022a. ",
1393
+ "bbox": [
1394
+ 171,
1395
+ 550,
1396
+ 823,
1397
+ 593
1398
+ ],
1399
+ "page_idx": 10
1400
+ },
1401
+ {
1402
+ "type": "text",
1403
+ "text": "Lianghao Xia, Chao Huang, Yong Xu, Jiashu Zhao, Dawei Yin, and Jimmy Xiangji Huang. Hypergraph contrastive collaborative filtering. In Proceedings of the 45th International ACM SIGIR Conference on Research and Development in Information Retrieval, SIGIR 2022, Madrid, Spain, July 11-15, 2022., 2022b. ",
1404
+ "bbox": [
1405
+ 173,
1406
+ 603,
1407
+ 825,
1408
+ 660
1409
+ ],
1410
+ "page_idx": 10
1411
+ },
1412
+ {
1413
+ "type": "text",
1414
+ "text": "Lianghao Xia, Chao Huang, and Chuxu Zhang. Self-supervised hypergraph transformer for recommender systems. In International Conference on Knowledge Discovery and Data Mining, KDD 2022, Washington DC, USA, August 14-18, 2022., 2022c. ",
1415
+ "bbox": [
1416
+ 173,
1417
+ 670,
1418
+ 825,
1419
+ 713
1420
+ ],
1421
+ "page_idx": 10
1422
+ },
1423
+ {
1424
+ "type": "text",
1425
+ "text": "Xu Xie, Fei Sun, Zhaoyang Liu, Shiwen Wu, Jinyang Gao, Jiandong Zhang, Bolin Ding, and Bin Cui. Contrastive learning for sequential recommendation. In International Conference on Data Engineering (ICDE), pp. 1259–1273. IEEE, 2022. ",
1426
+ "bbox": [
1427
+ 173,
1428
+ 722,
1429
+ 825,
1430
+ 766
1431
+ ],
1432
+ "page_idx": 10
1433
+ },
1434
+ {
1435
+ "type": "text",
1436
+ "text": "Yihang Yin, Qingzhong Wang, Siyu Huang, Haoyi Xiong, and Xiang Zhang. Autogcl: Automated graph contrastive learning via learnable view generators. In AAAI Conference on Artificial Intelligence (AAAI), volume 36, pp. 8892–8900, 2022. ",
1437
+ "bbox": [
1438
+ 173,
1439
+ 775,
1440
+ 823,
1441
+ 819
1442
+ ],
1443
+ "page_idx": 10
1444
+ },
1445
+ {
1446
+ "type": "text",
1447
+ "text": "Yuning You, Tianlong Chen, Yongduo Sui, Ting Chen, Zhangyang Wang, and Yang Shen. Graph contrastive learning with augmentations. Advances in Neural Information Processing Systems (NeurIPS), 33:5812–5823, 2020. ",
1448
+ "bbox": [
1449
+ 174,
1450
+ 828,
1451
+ 825,
1452
+ 871
1453
+ ],
1454
+ "page_idx": 10
1455
+ },
1456
+ {
1457
+ "type": "text",
1458
+ "text": "Junliang Yu, Hongzhi Yin, Jundong Li, Qinyong Wang, Nguyen Quoc Viet Hung, and Xiangliang Zhang. Self-supervised multi-channel hypergraph convolutional network for social recommendation. In Proceedings of the Web Conference 2021, pp. 413–424, 2021. ",
1459
+ "bbox": [
1460
+ 174,
1461
+ 882,
1462
+ 825,
1463
+ 924
1464
+ ],
1465
+ "page_idx": 10
1466
+ },
1467
+ {
1468
+ "type": "text",
1469
+ "text": "Junliang Yu, Hongzhi Yin, Xin Xia, Tong Chen, Lizhen Cui, and Quoc Viet Hung Nguyen. Are graph augmentations necessary? simple graph contrastive learning for recommendation. In International Conference on Research and Development in Information Retrieval (SIGIR), pp. 1294– 1303, 2022a. ",
1470
+ "bbox": [
1471
+ 173,
1472
+ 103,
1473
+ 825,
1474
+ 159
1475
+ ],
1476
+ "page_idx": 11
1477
+ },
1478
+ {
1479
+ "type": "text",
1480
+ "text": "Lu Yu, Shichao Pei, Lizhong Ding, Jun Zhou, Longfei Li, Chuxu Zhang, and Xiangliang Zhang. Sail: Self-augmented graph contrastive learning. In AAAI Conference on Artificial Intelligence (AAAI), volume 36, pp. 8927–8935, 2022b. ",
1481
+ "bbox": [
1482
+ 173,
1483
+ 169,
1484
+ 823,
1485
+ 212
1486
+ ],
1487
+ "page_idx": 11
1488
+ },
1489
+ {
1490
+ "type": "text",
1491
+ "text": "Jiani Zhang, Xingjian Shi, Shenglin Zhao, and Irwin King. Star-gcn: Stacked and reconstructed graph convolutional networks for recommender systems. International Joint Conference on Artificial Intelligence (IJCAI), 2019. ",
1492
+ "bbox": [
1493
+ 173,
1494
+ 219,
1495
+ 823,
1496
+ 262
1497
+ ],
1498
+ "page_idx": 11
1499
+ },
1500
+ {
1501
+ "type": "text",
1502
+ "text": "Yixin Zhang, Yong Liu, Yonghui Xu, Hao Xiong, Chenyi Lei, Wei He, Lizhen Cui, and Chunyan Miao. Enhancing sequential recommendation with graph contrastive learning. International Joint Conference on Artificial Intelligence (IJCAI), 2022. ",
1503
+ "bbox": [
1504
+ 173,
1505
+ 271,
1506
+ 826,
1507
+ 314
1508
+ ],
1509
+ "page_idx": 11
1510
+ },
1511
+ {
1512
+ "type": "text",
1513
+ "text": "Yanqiao Zhu, Yichen Xu, Feng Yu, Qiang Liu, Shu Wu, and Liang Wang. Deep graph contrastive representation learning. arXiv preprint arXiv:2006.04131, 2020. ",
1514
+ "bbox": [
1515
+ 174,
1516
+ 323,
1517
+ 823,
1518
+ 352
1519
+ ],
1520
+ "page_idx": 11
1521
+ },
1522
+ {
1523
+ "type": "text",
1524
+ "text": "Yanqiao Zhu, Yichen Xu, Qiang Liu, and Shu Wu. An empirical study of graph contrastive learning. arXiv preprint arXiv:2109.01116, 2021a. ",
1525
+ "bbox": [
1526
+ 176,
1527
+ 361,
1528
+ 823,
1529
+ 390
1530
+ ],
1531
+ "page_idx": 11
1532
+ },
1533
+ {
1534
+ "type": "text",
1535
+ "text": "Yanqiao Zhu, Yichen Xu, Feng Yu, Qiang Liu, Shu Wu, and Liang Wang. Graph contrastive learning with adaptive augmentation. In The Web Conference (WWW), pp. 2069–2080, 2021b. ",
1536
+ "bbox": [
1537
+ 173,
1538
+ 398,
1539
+ 825,
1540
+ 428
1541
+ ],
1542
+ "page_idx": 11
1543
+ },
1544
+ {
1545
+ "type": "text",
1546
+ "text": "A DETAILS OF THE BASELINES",
1547
+ "text_level": 1,
1548
+ "bbox": [
1549
+ 178,
1550
+ 102,
1551
+ 449,
1552
+ 118
1553
+ ],
1554
+ "page_idx": 12
1555
+ },
1556
+ {
1557
+ "type": "text",
1558
+ "text": "MLP-enhanced Collaborative Filtering: ",
1559
+ "bbox": [
1560
+ 174,
1561
+ 133,
1562
+ 434,
1563
+ 148
1564
+ ],
1565
+ "page_idx": 12
1566
+ },
1567
+ {
1568
+ "type": "text",
1569
+ "text": "• NCF (He et al., 2017) is a collaborative filtering model that leverages neural network to exploit non-linearity. Two hidden layers are used in our evaluation. ",
1570
+ "bbox": [
1571
+ 174,
1572
+ 161,
1573
+ 823,
1574
+ 190
1575
+ ],
1576
+ "page_idx": 12
1577
+ },
1578
+ {
1579
+ "type": "text",
1580
+ "text": "GNN-based Collaborative Filtering: ",
1581
+ "bbox": [
1582
+ 174,
1583
+ 202,
1584
+ 411,
1585
+ 217
1586
+ ],
1587
+ "page_idx": 12
1588
+ },
1589
+ {
1590
+ "type": "text",
1591
+ "text": "• GCCF (Chen et al., 2020c) strengthens the GNN-based collaborative filtering by implementing a residual network and reducing the non-linear transformation. \n• LightGCN (He et al., 2020) adopts a simplified GCN structure without embedding weight matrices and non-linear projection. ",
1592
+ "bbox": [
1593
+ 173,
1594
+ 229,
1595
+ 826,
1596
+ 292
1597
+ ],
1598
+ "page_idx": 12
1599
+ },
1600
+ {
1601
+ "type": "text",
1602
+ "text": "Disentangled Graph Collaborative Filtering: ",
1603
+ "bbox": [
1604
+ 174,
1605
+ 305,
1606
+ 464,
1607
+ 320
1608
+ ],
1609
+ "page_idx": 12
1610
+ },
1611
+ {
1612
+ "type": "text",
1613
+ "text": "• DGCF (Wang et al., 2020b) learns a more sophisticated representation by segmenting the embedding vectors to represent multiple latent intentions. ",
1614
+ "bbox": [
1615
+ 174,
1616
+ 333,
1617
+ 821,
1618
+ 361
1619
+ ],
1620
+ "page_idx": 12
1621
+ },
1622
+ {
1623
+ "type": "text",
1624
+ "text": "Hypergraph-based Collaborative Filtering: ",
1625
+ "bbox": [
1626
+ 174,
1627
+ 373,
1628
+ 452,
1629
+ 388
1630
+ ],
1631
+ "page_idx": 12
1632
+ },
1633
+ {
1634
+ "type": "text",
1635
+ "text": "• HyRec (Wang et al., 2020a) makes use of hypergraph to encode multi-order information between users and items. ",
1636
+ "bbox": [
1637
+ 174,
1638
+ 401,
1639
+ 825,
1640
+ 429
1641
+ ],
1642
+ "page_idx": 12
1643
+ },
1644
+ {
1645
+ "type": "text",
1646
+ "text": "Self-Supervised Learning Recommender Systems: ",
1647
+ "bbox": [
1648
+ 176,
1649
+ 443,
1650
+ 503,
1651
+ 457
1652
+ ],
1653
+ "page_idx": 12
1654
+ },
1655
+ {
1656
+ "type": "text",
1657
+ "text": "• GraphCL (You et al., 2020) utilizes random node dropping and edge masking to generate two contrastive views, which were aligned by optimizing the SSL loss function. ",
1658
+ "bbox": [
1659
+ 174,
1660
+ 468,
1661
+ 823,
1662
+ 498
1663
+ ],
1664
+ "page_idx": 12
1665
+ },
1666
+ {
1667
+ "type": "text",
1668
+ "text": "• GRACE (Zhu et al., 2020) proposes to corrupt the graph structure by both random edge dropout and random node feature dropping, and uses the corrupted graphs as the contrastive views. ",
1669
+ "bbox": [
1670
+ 174,
1671
+ 503,
1672
+ 823,
1673
+ 532
1674
+ ],
1675
+ "page_idx": 12
1676
+ },
1677
+ {
1678
+ "type": "text",
1679
+ "text": "• GCA (Zhu et al., 2021b) adaptively dropout the nodes and edges by their importance calculated with node centrality. ",
1680
+ "bbox": [
1681
+ 174,
1682
+ 537,
1683
+ 821,
1684
+ 566
1685
+ ],
1686
+ "page_idx": 12
1687
+ },
1688
+ {
1689
+ "type": "text",
1690
+ "text": "• MHCN (Yu et al., 2021) creates self-supervised signals for the graph representation learning by graph infomax network. ",
1691
+ "bbox": [
1692
+ 174,
1693
+ 571,
1694
+ 820,
1695
+ 599
1696
+ ],
1697
+ "page_idx": 12
1698
+ },
1699
+ {
1700
+ "type": "text",
1701
+ "text": "• SAIL (Yu et al., 2022b) maximizes the neighborhood predicting probability between GNNgenerated high-level features and input node features. ",
1702
+ "bbox": [
1703
+ 173,
1704
+ 606,
1705
+ 821,
1706
+ 635
1707
+ ],
1708
+ "page_idx": 12
1709
+ },
1710
+ {
1711
+ "type": "text",
1712
+ "text": "• AutoGCL (Yin et al., 2022) uses GNN to learn to mask nodes and edges in the augmented graph. It minimizes the similarity between the augmented and the original graph, while maximizing the similarity of the embeddings generated through them, so as to uncover the most important information in the graph. ",
1713
+ "bbox": [
1714
+ 174,
1715
+ 640,
1716
+ 825,
1717
+ 696
1718
+ ],
1719
+ "page_idx": 12
1720
+ },
1721
+ {
1722
+ "type": "text",
1723
+ "text": "• SimGRACE (Xia et al., 2022a) creates augmented view by randomly perturbing the parameters of the GNN network. ",
1724
+ "bbox": [
1725
+ 173,
1726
+ 703,
1727
+ 823,
1728
+ 731
1729
+ ],
1730
+ "page_idx": 12
1731
+ },
1732
+ {
1733
+ "type": "text",
1734
+ "text": "• SGL (Wu et al., 2021) adopts random walk sampling and probabilistic edge/node dropout to create augmented views for contrastive learning. In our experiments, we adopt the SGL-ED variant, which implements random edge dropout and exhibits the strongest performance according to the original paper. ",
1735
+ "bbox": [
1736
+ 173,
1737
+ 737,
1738
+ 825,
1739
+ 792
1740
+ ],
1741
+ "page_idx": 12
1742
+ },
1743
+ {
1744
+ "type": "text",
1745
+ "text": "• HCCF (Xia et al., 2022b) encodes global graph information with hypergraph and contrasts it against the local information encoded with GCN. In our experiments, the number of hyper-edges are set as 128 following the original paper. ",
1746
+ "bbox": [
1747
+ 174,
1748
+ 799,
1749
+ 823,
1750
+ 842
1751
+ ],
1752
+ "page_idx": 12
1753
+ },
1754
+ {
1755
+ "type": "text",
1756
+ "text": "• SHT (Xia et al., 2022c) adopts a hypergraph transformer framework to exploit global collaborative relationships and distills the global information to generate the cross-view self-supervised signals. In our experiments, the number of hyper-edges are set as 128 following the original paper. ",
1757
+ "bbox": [
1758
+ 174,
1759
+ 848,
1760
+ 820,
1761
+ 890
1762
+ ],
1763
+ "page_idx": 12
1764
+ },
1765
+ {
1766
+ "type": "text",
1767
+ "text": "• SimGCL (Yu et al., 2022a) propose to simplify the graph augmentation process of contrastive learning by directly injecting random noises into the feature representation. ",
1768
+ "bbox": [
1769
+ 173,
1770
+ 895,
1771
+ 821,
1772
+ 924
1773
+ ],
1774
+ "page_idx": 12
1775
+ },
1776
+ {
1777
+ "type": "text",
1778
+ "text": "B PERFORMANCE COMPARISON WITH BASELINES (CONTINUED) ",
1779
+ "text_level": 1,
1780
+ "bbox": [
1781
+ 173,
1782
+ 102,
1783
+ 728,
1784
+ 118
1785
+ ],
1786
+ "page_idx": 13
1787
+ },
1788
+ {
1789
+ "type": "text",
1790
+ "text": "In this appendix, we show the performance of NCF, GCCF, GraphCL, SAIL, GRACE, and AutoGCL, which are not shown in Table 1 due to space limit. The results are summarized in Table 5. As can be seen from the table, our model outperforms these baselines consistently. ",
1791
+ "bbox": [
1792
+ 174,
1793
+ 133,
1794
+ 823,
1795
+ 176
1796
+ ],
1797
+ "page_idx": 13
1798
+ },
1799
+ {
1800
+ "type": "table",
1801
+ "img_path": "images/3dc5dc7489393a0033f221b1b984629c1521f82b15aa7cb58d38557f66c5d208.jpg",
1802
+ "table_caption": [
1803
+ "Table 5: Performance comparison with baselines on five datasets (continued). "
1804
+ ],
1805
+ "table_footnote": [],
1806
+ "table_body": "<table><tr><td rowspan=1 colspan=1>Data</td><td rowspan=1 colspan=1>Metric</td><td rowspan=1 colspan=1>NCF</td><td rowspan=1 colspan=1>GCCF</td><td rowspan=1 colspan=1>GraphCL</td><td rowspan=1 colspan=1>SAIL</td><td rowspan=1 colspan=1>GRACE</td><td rowspan=1 colspan=1>AutoGCL</td><td rowspan=1 colspan=1>LightGCL</td></tr><tr><td rowspan=2 colspan=1>Yelp</td><td rowspan=1 colspan=1>R@20N@20</td><td rowspan=1 colspan=1>0.02520.0202</td><td rowspan=1 colspan=1>0.04620.0398</td><td rowspan=1 colspan=1>0.04620.0401</td><td rowspan=1 colspan=1>0.04710.0405</td><td rowspan=1 colspan=1>0.05500.0470</td><td rowspan=1 colspan=1>0.05930.0494</td><td rowspan=1 colspan=1>0.07930.0668</td></tr><tr><td rowspan=1 colspan=1>R@40N@40</td><td rowspan=1 colspan=1>0.04870.0289</td><td rowspan=1 colspan=1>0.07600.0508</td><td rowspan=1 colspan=1>0.07640.0511</td><td rowspan=1 colspan=1>0.07730.0516</td><td rowspan=1 colspan=1>0.09170.0605</td><td rowspan=1 colspan=1>0.10090.0650</td><td rowspan=1 colspan=1>0.12920.0852</td></tr><tr><td rowspan=2 colspan=1>Gowalla</td><td rowspan=1 colspan=1>R@20N@20</td><td rowspan=1 colspan=1>0.01710.0106</td><td rowspan=1 colspan=1>0.09510.0535</td><td rowspan=1 colspan=1>0.09970.0603</td><td rowspan=1 colspan=1>0.09990.0602</td><td rowspan=1 colspan=1>0.07440.0452</td><td rowspan=1 colspan=1>0.08320.0484</td><td rowspan=1 colspan=1>0.15780.0935</td></tr><tr><td rowspan=1 colspan=1>R@40N@40</td><td rowspan=1 colspan=1>0.02160.0118</td><td rowspan=1 colspan=1>0.13920.0684</td><td rowspan=1 colspan=1>0.14730.0727</td><td rowspan=1 colspan=1>0.14720.0725</td><td rowspan=1 colspan=1>0.10710.0539</td><td rowspan=1 colspan=1>0.12910.0605</td><td rowspan=1 colspan=1>0.22450.1108</td></tr><tr><td rowspan=2 colspan=1>ML-10M</td><td rowspan=1 colspan=1>R@20N@20</td><td rowspan=1 colspan=1>0.10970.1297</td><td rowspan=1 colspan=1>0.17420.2109</td><td rowspan=1 colspan=1>0.16590.2038</td><td rowspan=1 colspan=1>0.17280.2118</td><td rowspan=1 colspan=1>0.21070.2476</td><td rowspan=1 colspan=1>0.23250.2755</td><td rowspan=1 colspan=1>0.26130.3106</td></tr><tr><td rowspan=1 colspan=1>R@40N@40</td><td rowspan=1 colspan=1>0.16340.1427</td><td rowspan=1 colspan=1>0.26060.2331</td><td rowspan=1 colspan=1>0.25600.2250</td><td rowspan=1 colspan=1>0.26390.2332</td><td rowspan=1 colspan=1>0.30750.2711</td><td rowspan=1 colspan=1>0.34150.3023</td><td rowspan=1 colspan=1>0.37990.3387</td></tr><tr><td rowspan=2 colspan=1>Amazon</td><td rowspan=1 colspan=1>R@20N@20</td><td rowspan=1 colspan=1>0.01420.0085</td><td rowspan=1 colspan=1>0.03170.0243</td><td rowspan=1 colspan=1>0.03600.0266</td><td rowspan=1 colspan=1>0.03570.0264</td><td rowspan=1 colspan=1>0.03600.0271</td><td rowspan=1 colspan=1>0.03250.0241</td><td rowspan=1 colspan=1>0.05850.0436</td></tr><tr><td rowspan=1 colspan=1>R@40N@40</td><td rowspan=1 colspan=1>0.02230.0133</td><td rowspan=1 colspan=1>0.04830.0285</td><td rowspan=1 colspan=1>0.05850.0340</td><td rowspan=1 colspan=1>0.05810.0338</td><td rowspan=1 colspan=1>0.05830.0345</td><td rowspan=1 colspan=1>0.05530.0318</td><td rowspan=1 colspan=1>0.09330.0551</td></tr><tr><td rowspan=2 colspan=1>Tmall</td><td rowspan=1 colspan=1>R@20N@20</td><td rowspan=1 colspan=1>0.00820.0059</td><td rowspan=1 colspan=1>0.02090.0141</td><td rowspan=1 colspan=1>0.02510.0175</td><td rowspan=1 colspan=1>0.02540.0177</td><td rowspan=1 colspan=1>0.03030.0210</td><td rowspan=1 colspan=1>0.03120.0204</td><td rowspan=1 colspan=1>0.05280.0361</td></tr><tr><td rowspan=1 colspan=1>R@40N@40</td><td rowspan=1 colspan=1>0.01400.0079</td><td rowspan=1 colspan=1>0.03560.0196</td><td rowspan=1 colspan=1>0.04160.0233</td><td rowspan=1 colspan=1>0.04240.0236</td><td rowspan=1 colspan=1>0.05050.0281</td><td rowspan=1 colspan=1>0.05240.0278</td><td rowspan=1 colspan=1>0.08520.0473</td></tr></table>",
1807
+ "bbox": [
1808
+ 281,
1809
+ 210,
1810
+ 714,
1811
+ 440
1812
+ ],
1813
+ "page_idx": 13
1814
+ },
1815
+ {
1816
+ "type": "text",
1817
+ "text": "C THEORETICAL ANALYSIS ",
1818
+ "text_level": 1,
1819
+ "bbox": [
1820
+ 174,
1821
+ 460,
1822
+ 419,
1823
+ 477
1824
+ ],
1825
+ "page_idx": 13
1826
+ },
1827
+ {
1828
+ "type": "text",
1829
+ "text": "We conduct theoretical analyses to show that our local-global CL (Eq. 7) is augmented to maximize the similarity between embeddings of potentially related nodes, based on the SVD-based global relation learning. Specifically, for a node $v _ { j } ~ \\in { \\mathcal { U } }$ , where $\\mathcal { U } = \\{ u _ { i ^ { \\prime } } | \\mathcal { A } _ { i , i ^ { \\prime } } = 0 , \\hat { \\mathcal { A } } _ { i , i ^ { \\prime } } \\neq 0 \\}$ , the embeddings are not updated by $s ( z _ { i , l } , g _ { i , l } )$ in the vanilla InfoNCE loss, as $v _ { j }$ is not adjacent to $u _ { i }$ . Instead, our local-global contrastive assigns the following gradients to the embeddings of $v _ { j }$ : ",
1830
+ "bbox": [
1831
+ 174,
1832
+ 492,
1833
+ 825,
1834
+ 564
1835
+ ],
1836
+ "page_idx": 13
1837
+ },
1838
+ {
1839
+ "type": "equation",
1840
+ "img_path": "images/6061d58517a08d6de0dab015b6576eb9921840d67e4f05dc43b6d213a6e9865b.jpg",
1841
+ "text": "$$\n\\begin{array} { l } { \\displaystyle \\partial s ( z _ { i , l } , g _ { i , l } ) / \\partial g _ { i , l - 1 } = \\partial s \\left( z _ { i , l } , \\sigma ( \\displaystyle \\sum _ { j \\in \\mathcal { U } } \\alpha _ { i , j } g _ { j , l - 1 } + \\displaystyle \\sum _ { A _ { i , j ^ { \\prime } } \\neq 0 } \\alpha _ { i , j ^ { \\prime } } g _ { j ^ { \\prime } , l - 1 } ) \\right) / \\partial g _ { j , l - 1 } } \\\\ { = \\frac { z _ { i , l } } { \\| z _ { i , l } \\| \\| g _ { i , l } \\| } \\cdot \\boldsymbol { \\sigma } ^ { \\prime } ( \\cdot ) \\cdot \\boldsymbol { \\alpha } _ { i , j } } \\end{array}\n$$",
1842
+ "text_format": "latex",
1843
+ "bbox": [
1844
+ 217,
1845
+ 571,
1846
+ 781,
1847
+ 656
1848
+ ],
1849
+ "page_idx": 13
1850
+ },
1851
+ {
1852
+ "type": "text",
1853
+ "text": "where $\\alpha _ { i , j }$ denotes the normalization weight for node $u _ { i }$ and $v _ { j }$ . In this way, the embeddings of nodes in $\\mathcal { U }$ are also pulled close to $s _ { i , l }$ , which injects relatedness information learned by the SVD into the local-global CL optimization. ",
1854
+ "bbox": [
1855
+ 176,
1856
+ 660,
1857
+ 823,
1858
+ 703
1859
+ ],
1860
+ "page_idx": 13
1861
+ },
1862
+ {
1863
+ "type": "text",
1864
+ "text": "D CALCULATION OF COMPLEXITY ",
1865
+ "text_level": 1,
1866
+ "bbox": [
1867
+ 174,
1868
+ 723,
1869
+ 477,
1870
+ 739
1871
+ ],
1872
+ "page_idx": 13
1873
+ },
1874
+ {
1875
+ "type": "text",
1876
+ "text": "D.1 ADJACENCY MATRIX NORMALIZATION ",
1877
+ "text_level": 1,
1878
+ "bbox": [
1879
+ 176,
1880
+ 755,
1881
+ 490,
1882
+ 770
1883
+ ],
1884
+ "page_idx": 13
1885
+ },
1886
+ {
1887
+ "type": "text",
1888
+ "text": "For a sparse user-item matrix stored in the Coordinate Format (COO), it requires visiting every nonzero elements in the matrix to perform normalization. Thus, the computational complexity is in the order of the number of edges ${ \\bf \\bar { \\boldsymbol { O } } } ( E )$ . Note that for the baseline SGL, it requires normalizing the two augmented graph structures during the training phase, each of which contains $\\rho E$ edges, so it induces a complexity of $O ( 2 \\rho E )$ per batch. ",
1889
+ "bbox": [
1890
+ 174,
1891
+ 780,
1892
+ 825,
1893
+ 852
1894
+ ],
1895
+ "page_idx": 13
1896
+ },
1897
+ {
1898
+ "type": "text",
1899
+ "text": "D.2 APPROXIMATE SVD ALGORITHM ",
1900
+ "text_level": 1,
1901
+ "bbox": [
1902
+ 176,
1903
+ 868,
1904
+ 450,
1905
+ 883
1906
+ ],
1907
+ "page_idx": 13
1908
+ },
1909
+ {
1910
+ "type": "text",
1911
+ "text": "We refer the readers to Halko et al. (2011) in which the complexity of the approximate SVD algorithm is explained in detail. ",
1912
+ "bbox": [
1913
+ 174,
1914
+ 895,
1915
+ 821,
1916
+ 924
1917
+ ],
1918
+ "page_idx": 13
1919
+ },
1920
+ {
1921
+ "type": "text",
1922
+ "text": "D.3 GRAPH CONVOLUTION ",
1923
+ "text_level": 1,
1924
+ "bbox": [
1925
+ 174,
1926
+ 103,
1927
+ 379,
1928
+ 118
1929
+ ],
1930
+ "page_idx": 14
1931
+ },
1932
+ {
1933
+ "type": "text",
1934
+ "text": "Given a sparse COO matrix $\\mathcal { A }$ with $E$ edges and a dense matrix $\\pmb { \\cal E }$ with dimensions $I ( J ) \\times d$ , it takes $O ( E d )$ time to calculate $\\mathcal { A } E$ . To perform graph convolution on a graph, we need to multiply the sparse adjacency matrix with $\\pmb { { E } } _ { l - 1 } ^ { ( v ) } \\in \\mathbb { R } ^ { J \\times d }$ and its transpose with $E _ { l - 1 } ^ { ( u ) } \\in \\mathbb { R } ^ { I \\times d }$ , which takes $O ( E d )$ each, and $O ( 2 E d )$ in total. For $L$ layers, $O ( 2 E L d )$ is required. For traditional CL-based methods such as SGL and $\\mathrm { S i m C G L }$ , a three-view structure is adopted, resulting in a complexity of $O ( 1 2 E L d )$ (for SGL it again varies a bit depending on $\\rho$ ). ",
1935
+ "bbox": [
1936
+ 173,
1937
+ 128,
1938
+ 825,
1939
+ 219
1940
+ ],
1941
+ "page_idx": 14
1942
+ },
1943
+ {
1944
+ "type": "text",
1945
+ "text": "For the SVD-view of our model, $\\hat { V } _ { q } ^ { \\top } E _ { l - 1 } ^ { ( v ) }$ takes $O ( q J d )$ , and multiplying the result with the precalculated $( \\hat { U } _ { q } \\hat { S } _ { q } )$ takes $O ( q I d )$ ; $\\hat { U } _ { q } ^ { \\top } E _ { l - 1 } ^ { ( v ) }$ takes $O ( q I d )$ , and multiplying the result with the precalculated $( \\hat { V } _ { q } \\hat { S } _ { q } )$ takes $O ( q J d )$ . So in total it takes $O ( 2 q ( I + J ) d )$ . ",
1946
+ "bbox": [
1947
+ 174,
1948
+ 226,
1949
+ 825,
1950
+ 282
1951
+ ],
1952
+ "page_idx": 14
1953
+ },
1954
+ {
1955
+ "type": "text",
1956
+ "text": "D.4 BPR LOSS ",
1957
+ "text_level": 1,
1958
+ "bbox": [
1959
+ 174,
1960
+ 297,
1961
+ 294,
1962
+ 313
1963
+ ],
1964
+ "page_idx": 14
1965
+ },
1966
+ {
1967
+ "type": "text",
1968
+ "text": "In each batch with $B$ users, calculating the scores for positive and negative items both take $O ( B d )$ , so in total it takes $O ( 2 B d )$ . ",
1969
+ "bbox": [
1970
+ 173,
1971
+ 324,
1972
+ 823,
1973
+ 353
1974
+ ],
1975
+ "page_idx": 14
1976
+ },
1977
+ {
1978
+ "type": "text",
1979
+ "text": "D.5 CL LOSS ",
1980
+ "text_level": 1,
1981
+ "bbox": [
1982
+ 174,
1983
+ 369,
1984
+ 282,
1985
+ 383
1986
+ ],
1987
+ "page_idx": 14
1988
+ },
1989
+ {
1990
+ "type": "text",
1991
+ "text": "In each batch with $B$ users, calculating the numerator of InfoNCE loss takes $O ( B d )$ , and calculating the denominator takes $O ( B M d )$ where $M$ denotes the total number of nodes in the batch. Since our model adopts a per layer InfoNCE loss, a factor of $L$ is appended. ",
1992
+ "bbox": [
1993
+ 174,
1994
+ 395,
1995
+ 825,
1996
+ 438
1997
+ ],
1998
+ "page_idx": 14
1999
+ }
2000
+ ]
parse/dev/FKXVK9dyMM/FKXVK9dyMM_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/FKXVK9dyMM/FKXVK9dyMM_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/HtqnVSCj3q/HtqnVSCj3q_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/RYTBAtyXqJ/RYTBAtyXqJ.md ADDED
@@ -0,0 +1,348 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # CARTOON EXPLANATIONS OF IMAGE CLASSIFIERS
2
+
3
+ Anonymous authors Paper under double-blind review
4
+
5
+ # ABSTRACT
6
+
7
+ We present CartoonX (Cartoon Explanation), a novel model-agnostic explanation method tailored towards image classifiers and based on the rate-distortion explanation (RDE) framework. Natural images are roughly piece-wise smooth signals—also called cartoon images—and tend to be sparse in the wavelet domain. CartoonX is the first explanation method to exploit this by requiring its explanations to be sparse in the wavelet domain, thus extracting the relevant piece-wise smooth part of an image instead of relevant pixel-sparse regions. We demonstrate experimentally that CartoonX is not only highly interpretable due to its piece-wise smooth nature but also particularly apt at explaining misclassifications.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ Powerful machine learning models such as deep neural networks are inherently opaque, which has motivated numerous explanation methods over the last decade (see for example the survey by Das & Rad (2020)). A significant fraction of the research literature has focused on explaining image classifications due to both the practical relevance of computer vision tasks and the ease at which heatmaps can communicate explanatory information. Despite the great variety in methods and explanation philosophies, all current methods share the following characteristic: they operate in pixel space. Roughly speaking, existing explanation methods for image classifiers either allocate additive attribution scores to each pixel or optimize a deletion mask on the pixel coefficients to mark a relevant set of pixels. The result is typically a pixel-sparse and jittery explanation. We challenge the conventional approach to explain in pixel space by successfully applying the rate-distortion explanation (RDE) framework (Macdonald et al., 2019; Heiß et al., 2020) in the wavelet domain of images. Our novel explanation method, CartoonX, extracts the relevant piece-wise smooth part of an image (see Figure 1). Instead of demanding sparsity in pixel space, as in (Macdonald et al., 2019; Chang et al., 2019), CartoonX demands sparsity in the wavelet domain, which produces piece-wise smooth explanations (cartoon-like images). Our work makes the following contributions:
12
+
13
+ ![](images/dc24c4587f388205daecba23a270da795c248d00d7e21388c915cc977296fc88.jpg)
14
+ Dog classified as Egyptian cat
15
+
16
+ ![](images/7b8be6eda1c4fcf43ca641d589d627f2f43768ac5cd270644d7bf6bc47659f3e.jpg)
17
+ CartoonX of misclassification
18
+
19
+ Reformulation and reinterpretation of the RDE framework: We reformulate the RDE framework in a more general manner with enhanced flexibility in the input representation to accommodate complex interpretation queries such as “What is the piece-wise smooth part of the input signal that leads to its model decision?”. Thereby, we reinterpret RDE as a simplification of the input signal, which is interpretable to humans and adheres to a meaningful interpretation query. The simplification is achieved by demanding sparsity in a suitable representation system, which sparsely represents the class of explanations that are desirable for the interpretation query.
20
+
21
+ ![](images/151279dd372408cf29d741b90adc464dd546cc38901a0c7f5d08c3f7889b1f20.jpg)
22
+ Slam dunk classified as basketball
23
+
24
+ CartoonX, a novel explanation method tailored to image classifiers: CartoonX is the first explanation method to extract the relevant piece-wise smooth part of an image instead of relevant pixel sparse regions. This is achieved by demanding sparsity in the wavelet domain of images, where
25
+
26
+ ![](images/f1dc4810d3ca077a16c122ad81a791c1b7bed617df1470748dde8659528a1338.jpg)
27
+ Figure 1: Examples of CartoonX explanations.
28
+
29
+ sparsity translates into piece-wise smooth images. We demonstrate that
30
+ our piece-wise smooth explanations are more interpretable than jittery
31
+ pixel-sparse explanations and that they can reveal relevant piece-wise smooth patterns that are not easily visible with existing pixel-based methods. Surprisingly, we find that our method is particularly well-equipped to explain misclassifications, often showing “what the neural network actually saw” (see Figure 1).
32
+
33
+ # 2 RELATED WORK
34
+
35
+ The Rate-Distortion Explanation (RDE) framework was first introduced in (Macdonald et al., 2019), and extended in (Heiß et al., 2020), as a mathematically well-founded and intuitive explanation framework. RDEs are model-agnostic explanations and inspired by rate-distortion theory, which studies lossy-data compression. An explanation in RDE consists of a relatively sparse mask over the input features, highlighting the relevant set of features. The mask is optimized to produce low distortion in the model output after applying perturbations to the unselected features in the input while remaining relatively sparse. Heiß et al. (2020) also applied RDE to non-canonical input representations to explain model decisions in challenging domains such as audio classification (Engel et al., 2017) and radio-map estimation (Levie et al., 2021; 2020).
36
+
37
+ The explanation principle of optimizing a mask $s \in [ 0 , 1 ] ^ { n }$ was first proposed by Fong & Vedaldi (2017) who explained image classification decisions by considering one of the two “deletion games”: (1) optimizing for the smallest deletion mask that causes the class score to drop significantly or (2) optimizing for the largest deletion mask that has no significant effect on the class score. The original RDE approach (Macdonald et al., 2019) is based on the second deletion game.
38
+
39
+ Other explanation methods developed by the research community are typically either (1) gradientbased such as Smoothgrad (Smilkov et al., 2017), Integrated Gradients (Sundararajan et al., 2017), Image-Specific Class Saliency (Simonyan et al., 2014), and Guided Backpropagation (Springenberg et al., 2015), (2) surrogate models such as LIME (Ribeiro et al., 2016), (3) based on propagation of activations in neurons such as LRP (Bach et al., 2015; Shrikumar et al., 2017), and DeepLIFT (Shrikumar et al., 2017), (4) based on Shapely values from game-theory (Lundberg & Lee, 2017), (6) concept-based such as Concept Activation Vectors (Kim et al., 2018), or (7) based on generative causal explanations (O' Shaughnessy et al., 2020). Also related are methods that were developed to explain individual neurons such as in (Nguyen et al., 2016; Dhamdhere et al., 2019). To our knowledge, all existing explainability methods operate in pixel space and all methods looking for sparse explanations demand sparsity in pixel space (Macdonald et al., 2019; Fong & Vedaldi, 2017; Chang et al., 2019).
40
+
41
+ # 3 BACKGROUND: RATE-DISTORTION EXPLANATION FRAMEWORK
42
+
43
+ In this section, we review the rate-distortion explanation (RDE) framework, which was introduced by Macdonald et al. (2019) and later extended by Heiß et al. (2020) by applying RDE to noncanonical input representations. Suppose $\Phi : \mathbb { R } ^ { n } \mathbb { R } ^ { m }$ is a pre-trained model, e.g., a classifier (with $m$ class labels) or a regression model (with $m$ -dimensional output), where $n$ denotes the dimension of the model input. RDE produces an explanation for a model decision $\Phi ( x )$ with $x \in \mathbb { R } ^ { n }$ as a relatively sparse mask $s \in \{ 0 , 1 \}$ marking the relevant input features in $x$ . More precisely, RDE aims to solve the following optimization problem over a mask $s \in \{ 0 , 1 \} ^ { n }$ :
44
+
45
+ $$
46
+ \operatorname* { m i n } _ { s \in \{ 0 , 1 \} ^ { n } } \quad \operatorname { \mathbb { E } } _ { v \sim \mathcal { V } } \left[ d \Bigl ( \Phi ( x ) , \Phi ( x \odot s + ( 1 - s ) \odot v ) \Bigr ) \right] \quad \mathrm { s . t . } \quad \| s \| _ { 0 } \leq \ell ,
47
+ $$
48
+
49
+ where $\odot$ denotes the Hadamard product (element-wise multiplication), $d ( \Phi ( x ) , \cdot )$ is a measure of distortion (e.g. $d ( \Phi ( x ) , \cdot ) = \lVert \Phi ( { \bar { x } } ) - \cdot \rVert _ { 2 } )$ , $\nu$ is a distribution over input perturbations $v \in \mathbb { R } ^ { n }$ , and $\ell \in \{ 1 , . . . , n \}$ is a given sparsity level for the explanation mask $s$ . A solution $s ^ { * }$ to the optimization problem in (1) marks relatively few components in the model input $x$ that suffice to approximately retain the model output $\Phi ( x )$ . This approach is in the spirit of rate-distortion theory, which deals with lossy compression of data. Therefore, Macdonald et al. (2019) coined such explanations ratedistortion explanations (RDEs).
50
+
51
+ In practice, the optimization problem in (1) is relaxed to continuous masks $s \in [ 0 , 1 ]$ solving
52
+
53
+ $$
54
+ \operatorname* { m i n } _ { s \in \{ 0 , 1 \} ^ { n } } \quad \operatorname { \mathbb { E } } _ { v \sim \mathcal { V } } \left[ d \Bigl ( \Phi ( x ) , \Phi ( x \odot s + ( 1 - s ) \odot v ) \Bigr ) \right] + \lambda \left\| s \right\| _ { 1 } ,
55
+ $$
56
+
57
+ where $\lambda > 0$ determines the sparsity level of the mask. The relaxed optimization problem can be solved with stochastic gradient descent in $s \in [ 0 , 1 ]$ if $\Phi$ is differentiable—as is the case for deep neural networks. Macdonald et al. (2019) applied the RDE method as described above to image classifiers in the pixel domain of images, where each mask entry $s _ { i } \in [ 0 , 1 ]$ corresponds to the $i$ -th pixel values. We refer to this method as Pixel RDE throughout this work.
58
+
59
+ # 4 RDE REFORMULATED AND REINTERPRETED
60
+
61
+ Instead of applying RDE to the standard input representation $\boldsymbol { x } = [ x _ { 1 } \dots x _ { n } ] ^ { T }$ , we can apply RDE to a different representation of $x$ to answer a particular interpretation query. For example, consider a 1D-signal $x \in \mathbb { R } ^ { n }$ : if we ask “What is the smooth part in the signal $x$ that leads to the model decision $\Phi ( x ) ? ^ { , }$ , then we can apply RDE in the Fourier basis of $x$ . Since frequency-sparse signals are smooth, applying RDE in the Fourier basis of $x$ extracts the relevant smooth part of the signal. To accommodate such interpretation queries, we reformulate RDE in Section 4.1. Finally, based on the reformulation, we reinterpret RDE in Section 4.2. Later in Section 5, we use our reformulation and reinterpretation of RDE to derive and motivate CartoonX as a special case and novel explanation method tailored towards image classifiers.
62
+
63
+ # 4.1 GENERAL FORMULATION
64
+
65
+ An input signal $\boldsymbol { x } = [ x _ { 1 } , \dots , x _ { n } ] ^ { T }$ is represented in a basis $\{ b _ { 1 } , \ldots , b _ { n } \}$ as a linear combination $\textstyle \sum _ { i = 1 } ^ { n } h _ { i } b _ { i }$ with coefficients $[ h _ { i } ] _ { i = 1 } ^ { n }$ . As we argued above and demonstrate later on, some choices for a basis may be more suitable than others to explain a model decision $\Phi ( x )$ . Therefore, we define the RDE mask not only on the canonical input representation $[ x _ { i } ] _ { i = 1 } ^ { n }$ but also on a different representation $[ h _ { i } ] _ { i = 1 } ^ { n }$ with respect to a choice of basis $\{ b _ { 1 } , \ldots , b _ { n } \}$ . Examples of non-canonical choices for a basis include the Fourier basis and the wavelet basis. This work is centered around CartoonX, which applies RDE in the wavelet basis, i.e., a linear data representation since $x$ is represented as a linear combination of basis vectors. Nevertheless, there also exist other domains and interpretation queries where applying RDE to a non-linear data representation can make sense (see the interpretation query “Is phase or magnitude more important for an audio classifier?” in (Heiß et al., 2020)). Therefore, we formulate RDE in terms of a data representation function $\textstyle f : \prod _ { i = 1 } ^ { k } \mathbb { R } ^ { c } \to \mathbb { R } ^ { n }$ , $f ( h _ { 1 } , \ldots , h _ { k } ) = x .$ , which does notlinear case and o be linear, we have $c$ ls in the, where e imare ortantfixed $c = 1$ $\begin{array} { r } { f ( h _ { 1 } , \ldots , h _ { k } ) = \sum _ { i = 1 } ^ { k } h _ { i } b _ { i } } \end{array}$ $\{ b _ { i } , \ldots , b _ { k } \} \subset \mathbb { R } ^ { n }$ $k$ $c > 1$
66
+ channels at once, e.g., all color channels of an image, to reduce the number of entries in the mask that will operate on $[ h _ { i } ] _ { i = 1 } ^ { k }$ . In the following, we introduce the important definitions of obfuscations, expected distortion, the RDE mask, and $R D E ' s \ell _ { 1 }$ -relaxation, which generalize the RDE framework of (Macdonald et al., 2019) to abstract input representations.
67
+
68
+ # 4.1.1 DEFINITIONS
69
+
70
+ The first two key concepts in RDE are obfuscations and expected distortion, which are defined below.
71
+
72
+ Definition 1 (Obfuscations and expected distortion) Let $\Phi : \mathbb { R } ^ { n } \mathbb { R } ^ { m }$ be a model and $x \in \mathbb { R } ^ { n }$ a data point with a data representation $x = f ( h _ { 1 } , . . . , h _ { k } )$ as discussed above. For every mask $s \in [ 0 , 1 ] ^ { k }$ , let $\gamma _ { s }$ be a probability distribution over $\textstyle \prod _ { i = 1 } ^ { k } \mathbb { R } ^ { c }$ . Then the obfuscation of $x$ with respect to s and $\gamma _ { s }$ is defined as the random vector $y : = { f ( s \odot h + ( 1 - s ) \odot v ) }$ , where $v \sim \mathcal { V } _ { s }$ , $( s \odot h ) _ { i } = s _ { i } h _ { i } \in \mathbb { R } ^ { c }$ and $( ( 1 - s ) \odot v ) _ { i } = ( 1 - s _ { i } ) v _ { i } \in \mathbb R ^ { c }$ , for $i \in \{ 1 , \ldots , k \}$ . A choice for the distribution $\gamma _ { s }$ is called obfuscation strategy. Furthermore, the expected distortion of $x$ with respect to the mask s and the perturbation distribution $\gamma _ { s }$ is defined as
73
+
74
+ $$
75
+ D ( x , s , \mathcal { V } _ { s } , \Phi ) : = \underset { v \sim \mathcal { V } _ { s } } { \mathbb { E } } \left[ d \Big ( \Phi ( x ) , \Phi ( y ) \Big ) \right] ,
76
+ $$
77
+
78
+ where $d : \mathbb { R } ^ { m } \times \mathbb { R } ^ { m } \to \mathbb { R } _ { + }$ is a measure of distortion between two model outputs.
79
+
80
+ In the RDE framework, the explanation is given by a mask that minimizes distortion while remaining relatively sparse. The rate-distortion explanation mask is defined as follows.
81
+
82
+ Definition 2 (The RDE mask) In the setting of Definition $I$ we define the RDE mask as a solution $s ^ { * } ( \ell )$ to the minimization problem
83
+
84
+ $$
85
+ \operatorname* { m i n } _ { s \in \{ 0 , 1 \} ^ { k } } \quad D ( x , s , \mathcal { V } _ { s } , \Phi ) \quad s . t . \quad \| s \| _ { 0 } \leq \ell ,
86
+ $$
87
+
88
+ where $\ell \in \{ 1 , \ldots , k \}$ is the desired level of sparsity.
89
+
90
+ Geometrically, the RDE mask $s$ is associated with a particular subspace. The complement mask $( 1 - s )$ can be seen as selecting a large stable subspace of $\Phi$ , with each point representing a possible perturbation in unselected coefficients in $h$ . The RDE mask minimizes the expected distortion along its associated subspace, which requires non-local information of $\Phi$ . We illustrate this geometric view of RDE in Figure 2 with a toy example for a hypothetical classifier $\Phi : \mathbb { R } ^ { 2 } \mathbb { R } ^ { \bar { m } }$ and two distinct input representations: (1) Euclidean coordinates, i.e., $f$ is the identity in $x = f ( h )$ , and (2) polar coordinates, i.e. $f ( h ) = ( h _ { 2 } \cos h _ { 1 } , h _ { 2 } \sin h _ { 1 } ) = x$ . In the example, we assume $\gamma _ { s }$ to be a uniform distribution on $[ - 1 , 1 ] ^ { 2 }$ in the Euclidean representation and a uniform distribution on $[ - \pi , \pi ] \times [ 0 , 1 ]$ in the polar representation. The expected distortion associated with the masks $s = ( 1 , 0 )$ and $s = ( 0 , 1 )$ is given by the red and green shaded area, respectively. The RDE mask aims for low expected distortion, and hence, in polar coordinates, the RDE mask would be the green subspace, i.e., $s = ( 0 , 1 )$ . On the other hand, in Euclidean coordinates, neither $s = ( 1 , 0 )$ nor $s = ( 0 , 1 )$ produces a particularly low expected distortion, making the Euclidean explanation less meaningful than the polar explanation. The example illustrates why certain input representations can yield more meaningful explanatory insight for a given classifier than others—an insight that underpins our novel CartoonX method. Moreover, the plot in polar coordinates illustrates why the RDE mask cannot be simply chosen with local distortion information, e.g., with the lowest eigenvalue of the Hessian of $\bar { h } \mathbin { \stackrel { \cdot } { \mapsto } } d ( \Phi ( x ) , \Phi ( f ( h ) ) )$ : the lowest eigenvalue in polar coordinates belongs to the red subspace and does not see the large distortion on the tails.
91
+
92
+ ![](images/479683e2b0840f5f992b0532f0d8810568debf14e35b168351c2027f9e57a0b2.jpg)
93
+ Figure 2: The RDE mask can find low expected distortion in polar coordinates but not in Euclidean coordinates. Therefore, in this example, polar coordinates are more appropriate to explain $\Phi ( x )$ , and RDE would determine that the angle $\varphi$ , not the magnitude $r$ , is relevant for $\Phi ( x )$ .
94
+
95
+ As was shown by Macdonald et al. (2019), the RDE mask from Definition 2 cannot be computed efficiently for non-trivial input sizes. Nevertheless, one can find an approximate solution by considering continuous masks $s \in [ 0 , 1 ] ^ { k }$ and encouraging sparsity through the $\ell _ { 1 }$ -norm.
96
+
97
+ Definition 3 (RDE’s $\ell _ { 1 }$ -relaxation with Lagrange multipliers) In the setting of Definition $I$ , we define RDE’s $\ell _ { 1 }$ -relaxation with Lagrange multipliers as a solution $s ^ { * } ( \lambda )$ to the minimization problem
98
+
99
+ $$
100
+ \begin{array} { r l } { \underset { s \in [ 0 , 1 ] ^ { k } } { \operatorname* { m i n } } } & { { } D ( \boldsymbol { x } , s , \mathcal { V } _ { s } , \boldsymbol { \Phi } ) + \lambda \| s \| _ { 1 } , } \end{array}
101
+ $$
102
+
103
+ where $\lambda > 0$ is a hyperparameter for the sparsity level.
104
+
105
+ The $\ell _ { 1 }$ -relaxation above can be solved with stochastic gradient descent (SGD) over the mask $s$ while approximating $D ( x , s , \mathcal { V } _ { s } , \Phi )$ with i.i.d. samples from $v \sim \mathcal { V } _ { s }$ .
106
+
107
+ # 4.1.2 OBFUSCATION STRATEGIES
108
+
109
+ An obfuscation strategy is defined by the choice of the perturbation distribution $\mathcal { V } _ { s }$ . Common choices are Gaussian noise (Macdonald et al., 2019; Fong & Vedaldi, 2017), blurring (Fong & Vedaldi, 2017), constants (Fong $\&$ Vedaldi, 2017), and inpainting GANs (Heiß et al., 2020; Chang et al., 2019). Inpainting GANs train a generator $G ( s , z , h )$ ( $z$ denotes random latent factors) such that for samples $v \sim G ( s , z , h )$ the obfuscation $f ( s \odot h + ( 1 - s ) \odot v )$ remains in the data manifold. In our work, we refrain from using an inpainting GAN due to the following reason: it is hard to tell whether a GAN-based mask did not select coefficients because they are unimportant or because the GAN can easily inpaint them from a biased context. Instead, we choose a simple and wellunderstood obfuscation strategy, which we call Gaussian adaptive noise, making the explanation as transparent as possible.
110
+
111
+ Gaussian adaptive noise works as follows: Let $A _ { 1 } , . . . , A _ { j }$ be a pre-defined choice of a disjoint partition of $\{ 1 , \ldots , k \}$ (recall $s \in [ 0 , 1 ] ^ { k } )$ . For $i = 1 , . . . , j$ , we compute the empirical mean and empirical standard deviation for each partition across all partition instances:
112
+
113
+ $$
114
+ \mu _ { i } : = \frac { 1 } { \sum _ { a \in A _ { i } } d _ { a } } \sum _ { a \in A _ { i } , t = 1 , \ldots , d _ { a } } h _ { a t } , \sigma _ { i } : = \sqrt { \frac { 1 } { \sum _ { a \in A _ { i } } d _ { a } } \sum _ { a \in A _ { i } , t = 1 , \ldots , d _ { a } } ( \mu _ { i } - h _ { a t } ) ^ { 2 } }
115
+ $$
116
+
117
+ The adaptive Gaussian noise strategy then samples $v _ { a t \_ } \sim \mathcal { N } ( \mu _ { i } , \sigma _ { i } ^ { 2 } )$ for all partition members $a \in$ $A _ { i }$ and channels $t = 1 , . . . , d _ { a }$ . We write $v \sim \mathcal { N } ( \mu , \sigma ^ { 2 } )$ for the resulting Gaussian random vector $\boldsymbol { v } \in \prod _ { i = 1 } ^ { k } \mathbb { R } ^ { c }$ . Note that the distribution $\gamma _ { s }$ chosen as Gaussian adaptive noise does depend on $s$ (unlike with an inpainting GAN). For Pixel RDE, we only use one set $A _ { 1 } = \left\{ 1 , . . . , k \right\}$ for all $k$ pixels. In CartoonX, which represents input signals in the discrete wavelet domain, we will partition $\{ 1 , . . . , k \}$ along the scales of the discrete wavelet transform.
118
+
119
+ # 4.1.3 MEASURES OF DISTORTION
120
+
121
+ There are various choices for the measure of distortion $d ( \Phi ( x ) , \Phi ( y ) )$ . For example, one can take the squared distance in the post-softmax probability of the predicted label for $x$ , i.e.,
122
+
123
+ $$
124
+ d \big ( \Phi ( x ) , \Phi ( y ) \big ) : = \big ( \Phi _ { j ^ { * } } ( x ) - \Phi _ { j ^ { * } } ( y ) \big ) ^ { 2 } ,
125
+ $$
126
+
127
+ where $j ^ { * } : = \arg \operatorname* { m a x } _ { i = 1 , \ldots , m } \Phi _ { i } ( x )$ and $\Phi ( x )$ is assumed to be the post-softmax probabilities of a neural net. Alternatively, one could also choose $d ( \Phi ( x ) , \Phi ( y ) )$ as the $\ell _ { 2 }$ -distance or the KLDivergence in the post-softmax layer of $\Phi$ . In our experiments for CartoonX, we found that these choices had no significant effect on the explanation (see Appendix A.3.3).
128
+
129
+ # 4.2 INTERPRETATION
130
+
131
+ The philosophy of the generalized RDE framework is that an explanation for a decision $\Phi ( x )$ on a generic input signal $x = f ( h )$ should be some simplified version of the signal, which is interpretable to humans. The simplification is achieved by demanding sparsity in a suitable representation system $h$ , which sparsely represents the class of explanations that are desirable for the interpretation query. This philosophy is the fundamental premise of CartoonX, which aims to answer the interpretation query “What is the relevant piece-wise smooth part of the image for a given image classifier?”. CartoonX first employs RDE on a representation system $x = f ( h )$ that sparsely represents piecewise smooth images and finally visualizes the relevant piece-wise smooth part as an image back in pixel space. In the following section, we explain why wavelets provide an appropriate representation system in CartoonX, present the CartoonX implementation, and finally provide experiments on ImageNet to demonstrate the capability of CartoonX.
132
+
133
+ # 5 CARTOONX
134
+
135
+ The focus of this paper is CartoonX, a novel explanation method—tailored to image classifications— that we obtain as a special case of our generalized RDE framework formulated in Section 4. CartoonX first performs RDE in the discrete wavelet position-scale domain of an image $x$ , and finally, visualizes the wavelet mask $s$ as a piece-wise smooth image in pixel space. Wavelets provide optimal representations for piece-wise smooth 1D functions (DeVore, 1998), and represent 2D piecewise smooth images, also called cartoon-like images (Kutyniok & Lim, 2011), efficiently as well (Romberg et al., 2006). In particular, sparse vectors in the wavelet coefficient space encode cartoonlike images reasonably well (Stephane, 2009a)—certainly better than sparse pixel representations. ´ Moreover, wavelets constitute an established tool in signal processing (Stephane, 2009c). ´
136
+
137
+ ![](images/600d34c48f6449578084ae2acb04f5102f541072c868e8f11c61d9f05a838409.jpg)
138
+ Figure 3: CartoonX has many interesting parallels to wavelet-based image compression. Distortion is denoted as $d$ , $\Phi$ is an image classifier, $h$ denotes the discrete wavelet coefficients, $\tau$ is the discrete wavelet transform, and $\ell$ is the coefficient budget.
139
+
140
+ The optimization process underlying CartoonX produces sparse vectors in the discrete wavelet coefficient space, which results in cartoon-like images as explanations. This is the fundamental difference to Pixel RDE, which produces rough, jittery, and pixel-sparse explanations. Cartoon-like images are more interpretable and provide a natural model of simplified images. Since the goal of the RDE framework is to generate an easy to interpret simplified version of the input signal, we argue that CartoonX explanations are more appropriate for image classification than Pixel RDEs.
141
+
142
+ CartoonX exhibits interesting parallels to wavelet-based image compression. In image compression, distortion is minimized in the data domain, which is equivalent to selecting the $\ell$ largest entries in the discrete wavelet transform (DWT) coefficients. In comparison, CartoonX minimizes distortion in the model output of $\Phi$ , which translates to selecting the $\ell$ most relevant entries in the DWT coefficients. The objective in image compression is efficient data representation, i.e., producing minimal data distortion with a budget of $\ell$ entries in the DWT coefficients. Conversely, in CartoonX, the objective is extracting the relevant piece-wise smooth part, i.e., producing minimal model distortion with a budget of $\ell$ entries in the DWT coefficients. We illustrate this connection in Figure 3—highlighting once more the rate-distortion spirit of the RDE framework.
143
+
144
+ # 5.1 IMPLEMENTATION
145
+
146
+ An image $x \in [ 0 , 1 ] ^ { c \times w \times t }$ with $c \in \{ 1 , 3 \}$ channels, width $w \in \mathbb { N }$ , height $t \in \mathbb N$ , and a total of $p = w t$ pixels can be represented in a wavelet basis by computing its discrete wavelet transform (DWT). The DWT of an image is defined by the number of scales $J \in \{ 1 , \ldots , \lfloor \log _ { 2 } p \rfloor \}$ , the padding mode, and a choice of the wavelet family (such as the Haar or Daubechies family). For images, the DWT computes four types of coefficients: details in (1) horizontal, (2) vertical, and (3) diagonal orientation at scale $j \in \{ 1 , \dots , J \}$ , and (4) coefficients of the image at the very coarsest resolution. We briefly illustrate the DWT for an example image in Figure 4.
147
+
148
+ ![](images/39ebb784157d2c6edd31b1dadc49ecf3ff916b928f9b9fd1b5f08907bedcccf9.jpg)
149
+ Figure 4: Left side: an image of a memorial arch dedicated to peace. Right side: visualization of the DWT coefficients for five scales. Three L-shaped sub-images describe coefficients for details in vertical, horizontal, and diagonal orientation at a particular scale. The largest sub-images (the outer L-shape) belong to the lowest scale, i.e., the highest resolution. The smaller L-shaped sub-images gradually build up to higher scales, i.e., lower resolution features.
150
+
151
+ CartoonX, as described in Algorithm 1 in Appendix A.1, computes the RDE mask in the wavelet domain of images. More precisely, for the data representation ${ \bar { \boldsymbol { x } } } = f ( h )$ , we choose $h$ as the concatenation of all the DWT coefficients along the channels, i.e., $\boldsymbol { h } _ { i } \in \mathbb { R } ^ { c }$ . The representation function $f$ is then the discrete inverse wavelet transform, i.e., the summation of the DWT coefficients times the DWT basis vectors. We optimize the mask $s \in [ 0 , 1 ] ^ { k }$ on the DWT coefficients $[ h _ { 1 } , \ldots , h _ { k } ] ^ { T }$ to minimize RDE’s $\ell _ { 1 }$ -relaxation from Definition 3. For the obfuscation strategy $\gamma _ { s }$ , we use adaptive Gaussian noise with a partition by the DWT scale (see Section 4.1.2), i.e., we compute the empirical mean and standard deviation per scale. We measure distortion as the squared difference in the postsoftmax score of the predicted label for $x$ (see Section 4.1.3). To visualize the final DWT mask $s$ as a piece-wise smooth image in pixel space, we multiply the mask with the DWT coefficients of the greyscale image $\hat { x } : = ( 1 \breve { / c } \sum _ { l = 1 } ^ { \hat { c } } x _ { l a i } \dot { ) } _ { a i }$ before inverting the product back to pixel space with the discrete inverse wavelet transform. The inversion is finally clipped into $[ 0 , 1 ] ^ { w \times \dot { t } }$ as are obfuscations during the RDE optimization to avoid overflow (we assume here the pixel values in $x$ are normalized into $[ 0 , 1 ] )$ . The clipped inversion in pixel space is the final explanation, which we call CartoonX.
152
+
153
+ # 5.2 EXPERIMENTS AND ANALYSIS
154
+
155
+ We compare CartoonX to the closely related Pixel RDE (Macdonald et al., 2019) and several other state-of-the-art explanation methods , that is, Integrated Gradients (Sundararajan et al., 2017), Smoothgrad (Smilkov et al., 2017), Guided Backprop (Springenberg et al., 2015), and LRP (Bach et al., 2015). Our experiments show that CartoonX carries the following strengths: Cartoon X is (1) highly interpretable due to its cartoon-like nature and (2) remarkably apt at explaining misclassifications, and highlighting meaningful patterns that are otherwise hard to see. Due to the fast implementation of the DWT, Cartoon RDE is not significantly slower than Pixel RDE. For the ImageNet classifier MobileNetV3-Small, an image of 256 times 256 pixels, and 2001 optimization steps, we reported a runtime of 81.56 seconds for CartoonX and 70.53 seconds for Pixel RDE on the NVIDIA Titan RTX GPU. However, like other perturbation-based methods, CartoonX is significantly slower than gradient or propagation-based methods, which only compute a single or few forward and backward passes and are very fast (Integrated Gradients computes an explanation in 0.48 seconds for the same image, model, and hardware).
156
+
157
+ Our experiments use the pre-trained ImageNet classifiers MobileNetV3-Small (Howard et al., 2019) (top-1 accuracy of $6 7 . 6 6 8 \%$ and VGG16 (Simonyan & Zisserman, 2015) (top-1 accuracy of $7 1 . 5 9 2 \%$ ). We note that the open-source implementation of LRP did not implement propagation rules for certain layers in MobileNetV3-Small, therefore we compare CartoonX to LRP only for VGG16. Images were preprocessed to have 256 times 256 pixel values in [0, 1]. We provide further details about the choice of hyperparameters in the experiments in Appendix A.2. The three main hyperparameters for CartoonX are: (1) the sparsity level $\lambda > 0$ , (2) the measure of distortion $d$ , and (3) the obfuscation strategy (perturbation distribution) $\gamma _ { s }$ . We discuss the sensitivity of CartoonX to these hyperparameters in Appendix A.3. In Appendix A.5, we also shed light on the evolution of ImageNet classifiers from an explanation angle by comparing CartoonX explanations for classifiers of varying generalization power, i.e., AlexNet (Krizhevsky et al., 2012), VGG16 (Simonyan & Zisserman, 2015), InceptionV3 (Szegedy et al., 2016), ResNeXt50 (Xie et al., 2017). Moreover, in Appendix A.4, we argue experimentally why CartoonX is less susceptible than Pixel RDE to so-called explanation artifacts—an unwanted phenomenon that we observed empirically.
158
+
159
+ ![](images/0a1f842c7c2f27339003af5f5ca74ec6399ee2beaa7f81924ce3ed1fbaf9fc58.jpg)
160
+ Figure 5: Each row compares CartoonX explanations of misclassifications by MobileNetV3-Smal to Pixel RDE (Macdonald et al., 2019), Integrated Gradients (Sundararajan et al., 2017), and Smoothgrad (Smilkov et al., 2017). The predicted label is depicted above each misclassified image.
161
+
162
+ In practice, explaining misclassifications is particularly relevant since good explanations can pinpoint model biases and causes for model failures. We observe that CartoonX is particularly good at explaining certain misclassifications, which we illustrate for three examples in Figure 5 and many more in Appendix A.6. In the first row in Figure 5, the input image shows a man holding a dog that was classified as a “diaper”. CartoonX shows the man not holding a dog but a baby, revealing that the neural net associated diapers with babies and babies with the pose with which the man is holding the dog. In the second row, the input image shows a dog sitting on an armchair with leopard patterns. The dog was classified as an “Egyptian cat”, which can exhibit leopard-like patterns. CartoonX exposes the Egyptian cat by connecting the dog’s head to parts of the armchair forming the cat’s torso and legs. In the last row, the input image displays the backside of a man wearing a striped sweater that was classified as a “screw”. CartoonX reveals how the stripe patterns look like a screw to the neural net.
163
+
164
+ ![](images/93b3a56308de3770000542d827bd0e4671770354a0f003b0ff69f08314095854.jpg)
165
+ Figure 6: CartoonX explanations for VGG16 compared to state-of-the-art methods, that is, Pixel RDE (Macdonald et al., 2019), Integrated Gradients (Sundararajan et al., 2017), Smoothgrad (Smilkov et al., 2017), Guided Backprop (Springenberg et al., 2015), and LRP (Bach et al., 2015).
166
+
167
+ # 6 CONCLUSION
168
+
169
+ CartoonX is the first explainability method to extract the relevant piece-wise smooth part of an image and is based on our novel formulation of the RDE framework. We corroborated experimentally that CartoonX explanations are highly interpretable due to their cartoon-like nature and surprisingly well-suited to explain misclassifications. Nonetheless, Cartoon RDE is still computationally quite expensive, like other perturbation-based explanation methods. In the future, we hope to devise new techniques to speed up the runtime for CartoonX. Moreover, we are pursuing applications of CartoonX beyond explanation tasks, such as detecting adversarial examples. We believe CartoonX is a valuable new explanation method for practitioners and potentially a great source of inspiration for future explanation methods aiming to tailor their explanations to other data domains. Our reformulation and reinterpretation of the RDE framework provide a blueprint for such future work: First, formulate an interpretation query related to the underlying model task, then find a representation system that sparsely represents the class of desirable explanations for the interpretation query.
170
+
171
+ # REFERENCES
172
+
173
+ Sebastian Bach, Alexander Binder, Gregoire Montavon, Frederick Klauschen, Klaus-Robert M ´ uller, ¨ and Wojciech Samek. On pixel-wise explanations for non-linear classifier decisions by layer-wise relevance propagation. PLoS ONE, 10(7):e0130140, 2015.
174
+
175
+ Chun-Hao Chang, Elliot Creager, Anna Goldenberg, and David Duvenaud. Explaining image classifiers by counterfactual generation. In Proceedings of the 7th International Conference on Learning Representations, ICLR, 2019.
176
+
177
+ Arun Das and Paul Rad. Opportunities and challenges in explainable artificial intelligence (xai): A survey. ArXiv, abs/2006.11371, 2020.
178
+
179
+ Ronald A. DeVore. Nonlinear approximation. Acta Numerica, 7:51–150, 1998.
180
+
181
+ Kedar Dhamdhere, Mukund Sundararajan, and Qiqi Yan. How important is a neuron. In International Conference on Learning Representations, 2019.
182
+
183
+ Jesse Engel, Cinjon Resnick, Adam Roberts, Sander Dieleman, Mohammad Norouzi, Douglas Eck, and Karen Simonyan. Neural audio synthesis of musical notes with wavenet autoencoders. In Proceedings of the 34th International Conference on Machine Learning, ICML, volume 70, pp. 1068–1077, 2017.
184
+
185
+ R. C. Fong and A. Vedaldi. Interpretable explanations of black boxes by meaningful perturbation. In Proceedings of 2017 IEEE International Conference on Computer Vision (ICCV), pp. 3449–3457, 2017.
186
+
187
+ Cosmas Heiß, Ron Levie, Cinjon Resnick, Gitta Kutyniok, and Joan Bruna. In-distribution interpretability for challenging modalities. Preprint arXiv:2007.00758, 2020.
188
+
189
+ Andrew Howard, Mark Sandler, Bo Chen, Weijun Wang, Liang-Chieh Chen, Mingxing Tan, Grace Chu, Vijay Vasudevan, Yukun Zhu, Ruoming Pang, Hartwig Adam, and Quoc Le. Searching for MobileNetV3. In Proceedings of the 2019 IEEE/CVF International Conference on Computer Vision (ICCV), pp. 1314–1324, 2019.
190
+
191
+ Been Kim, M. Wattenberg, J. Gilmer, Carrie J. Cai, James Wexler, F. Viegas, and R. Sayres. Inter- ´ pretability beyond feature attribution: Quantitative testing with concept activation vectors (tcav). In ICML, 2018.
192
+
193
+ Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In F. Pereira, C. J. C. Burges, L. Bottou, and K. Q. Weinberger (eds.), Advances in Neural Information Processing Systems, volume 25. Curran Associates, Inc., 2012.
194
+
195
+ Gitta Kutyniok and Wang-Q Lim. Compactly supported shearlets are optimally sparse. Journal of Approximation Theory, 163(11):1564–1589, 2011. ISSN 0021-9045.
196
+
197
+ Ron Levie, Cagkan Yapar, Gitta Kutyniok, and Giuseppe Caire. Pathloss prediction using deep learning with applications to cellular optimization and efficient d2d link scheduling. In ICASSP 2020 - 2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 8678–8682, 2020. doi: 10.1109/ICASSP40776.2020.9053347.
198
+
199
+ Ron Levie, Cagkan Yapar, Gitta Kutyniok, and Giuseppe Caire. RadioUNet: Fast radio map estimation with convolutional neural networks. IEEE Transactions on Wireless Communications, 20 (6):4001–4015, 2021.
200
+
201
+ Scott M. Lundberg and Su-In Lee. A unified approach to interpreting model predictions. In Proceedings of the 31st International Conference on Neural Information Processing Systems, NeurIPS, pp. 4768–4777, 2017.
202
+
203
+ Jan Macdonald, Stephan Waldchen, Sascha Hauch, and Gitta Kutyniok. A rate-distortion framework ¨ for explaining neural network decisions. Preprint arXiv:1905.11092, 2019.
204
+
205
+ A. Nguyen, A. Dosovitskiy, J. Yosinski, T. Brox, and J. Clune. Synthesizing the preferred inputs for neurons in neural networks via deep generator networks. In Advances in Neural Information Processing Systems (NIPS), 2016.
206
+
207
+ Matthew O' Shaughnessy, Gregory Canal, Marissa Connor, Christopher Rozell, and Mark Davenport. Generative causal explanations of black-box classifiers. In H. Larochelle, M. Ranzato, R. Hadsell, M. F. Balcan, and H. Lin (eds.), Advances in Neural Information Processing Systems, volume 33, pp. 5453–5467. Curran Associates, Inc., 2020.
208
+
209
+ Marco Tulio Ribeiro, Sameer Singh, and Carlos Guestrin. ”Why should I trust you?”: Explaining the predictions of any classifier. In Proceedings of the 22nd International Conference on Knowledge Discovery and Data Mining, ACM SIGKDD, pp. 1135–1144. Association for Computing Machinery, 2016. ISBN 9781450342322.
210
+
211
+ Justin K. Romberg, Michael B. Wakin, and Richard G. Baraniuk. Wavelet-domain approximation and compression of piecewise smooth images. IEEE Trans. Image Processing, 15:1071–1087, 2006.
212
+
213
+ Avanti Shrikumar, Peyton Greenside, and Anshul Kundaje. Learning important features through propagating activation differences. In Proceedings of the 34th International Conference on Machine Learning, ICML, volume 70, pp. 3145–3153, 2017.
214
+
215
+ K. Simonyan, A. Vedaldi, and Andrew Zisserman. Deep inside convolutional networks: Visualising image classification models and saliency maps. CoRR, abs/1312.6034, 2014.
216
+
217
+ Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. In International Conference on Learning Representations, 2015.
218
+
219
+ Daniel Smilkov, Nikhil Thorat, Been Kim, Fernanda Viegas, and Martin Wattenberg. Smoothgrad: ´ removing noise by adding noise. In Workshop on Visualization for Deep Learning, ICML, 2017.
220
+
221
+ J.T. Springenberg, A. Dosovitskiy, T. Brox, and M. Riedmiller. Striving for simplicity: The all convolutional net. In ICLR (workshop track), 2015.
222
+
223
+ Mallat Stephane. Chapter 11.3. In Mallat St ´ ephane (ed.), ´ A Wavelet Tour of Signal Processing (Third Edition), pp. 535–610. Academic Press, Boston, third edition edition, 2009a. ISBN 978- 0-12-374370-1.
224
+
225
+ Mallat Stephane. Chapter 6. In Mallat St ´ ephane (ed.), ´ A Wavelet Tour of Signal Processing (Third Edition), pp. 232. Academic Press, Boston, third edition edition, 2009b. ISBN 978-0-12-374370- 1.
226
+
227
+ Mallat Stephane. In Mallat St ´ ephane (ed.), ´ A Wavelet Tour of Signal Processing (Third Edition), pp. 232. Academic Press, Boston, third edition edition, 2009c. ISBN 978-0-12-374370-1.
228
+
229
+ Mukund Sundararajan, Ankur Taly, and Qiqi Yan. Axiomatic attribution for deep networks. In Proceedings of the 34th International Conference on Machine Learning, ICML, volume 70, pp. 3319–3328, 2017.
230
+
231
+ Christian Szegedy, Vincent Vanhoucke, Sergey Ioffe, Jonathon Shlens, and Zbigniew Wojna. Rethinking the inception architecture for computer vision. 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 2818–2826, 2016.
232
+
233
+ Saining Xie, Ross B. Girshick, Piotr Dollar, Zhuowen Tu, and Kaiming He. Aggregated residual ´ transformations for deep neural networks. 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 5987–5995, 2017.
234
+
235
+ # A APPENDIX
236
+
237
+ # A.1 CARTOONX ALGORITHM
238
+
239
+ The final CartoonX algorithm is depicted in Algorithm 1.
240
+
241
+ # Algorithm 1: CartoonX
242
+
243
+ <table><tr><td>AigormmmrT.CartoonA Data: Image x ∈ [0,1]exwxt with c channels and wt pixels, classifier Φ. Result: CartoonX explanation ε ∈ [0,1]w×t for decision Φ(x). Hyperparameters: Sparsity level X &gt; O, number of steps N, number of noise samples L. Initialize mask s := [1,..,1]T ∈ [0,1]k on DWT coefficients h = [h1,.., hk] with x = f(h), where f is the discrete inverse wavelet transform; Compute predicted label j* := arg maxi Φ(x); fori←1toNdo</td></tr><tr><td>Sample L adaptive Gaussian noise samples u(1),., u(L) ~ N(μ,o²); Compute obfuscations y(1), ),.,y(L) with y() := f(h ① s+ (1- s) ①u(i)); Clip obfuscations into [0,1]cx w ×t;</td></tr><tr><td>Approximate expected distortion D(𝑥x,s,Φ) :=∑𝑖=1(Φj+(x)- Φj(y())²/L;</td></tr><tr><td>Compute loss for the mask l(s) := D(x,s,Φ) + λ|lsll1 and gradient Vsl(s); Update mask s with gradient descent step and clip s back to [0,1]k ;</td></tr><tr><td>end Compute wavelet coefficients h for greyscale image x of x;</td></tr><tr><td>Invert wavelet mask s back to pixel space as &amp; := f(h s) ; Clip the explanation ε into [0,1]w×t to obtain ε. Visualize ε;</td></tr></table>
244
+
245
+ # A.2 EXPERIMENT DETAILS
246
+
247
+ Throughout our experiments with CartoonX and Pixel RDE, we used a learning rate of $\epsilon = 0 . 0 0 1$ , a sample size of $L = 6 4$ for the adaptive Gaussian noise, and $N = 2 0 0 0$ steps. Several different sparsity levels were used. We recommend specifying the sparsity level in terms of the number of mask entries $k$ , i.e., choosing the product $\lambda k$ . Pixel RDE typically requires a smaller sparsity level than CartoonX. We chose $\bar { \lambda k } \in [ \bar { 2 0 } , 8 0 ]$ for CartoonX and $\bar { \lambda } k \in [ 3 , 2 \bar { 0 } ]$ for Pixel RDE. The obfuscation strategy for Pixel RDE was chosen as Gaussian adaptive noise with mean and standard deviation computed for all pixel values (see Section 4.1.2). In Appendix 8, we show that Gaussian adaptive noise produces much more interpretable explanations than using a zero baseline perturbation. We implemented the DWT for CartoonX with the Pytorch Wavelets package, which is compatible with PyTorch gradient computations, and chose the Daubechies wavelet system with $J = 5$ scales and zero-padding. For the Integrated Gradients method, we used 100 steps, and for the Smoothgrad method, we used 10 samples and a standard deviation of 0.1.
248
+
249
+ # A.3 SENSITIVITY TO HYPERPARAMETERS
250
+
251
+ We compare CartoonX’s sensitivity to its main hyperparameters, i.e., the sparsity level $\lambda$ , the perturbation distribution $\gamma _ { s }$ , and the distortion measure $\bar { d ( \Phi ( x ) , \Phi ( y ) ) }$ . For each experiment, we fix all but one of the three parameters.
252
+
253
+ # A.3.1 SENSITVITY TO THE SPARSITY LEVEL $\lambda$
254
+
255
+ Figure 7 plots CartoonX explanations and Pixel RDEs for increasing $\lambda$ —the hyperparameter determining the explanation’s sparsity in the respective representation system. We find that CartoonX is less sensitive than Pixel RDE to $\lambda$ . In practice, this means one can find a suitable $\lambda$ faster for CartoonX than for Pixel RDE.
256
+
257
+ # A.3.2 SENSITVITY TO THE DISTRIBUTION $\gamma _ { s }$
258
+
259
+ Figure 8 plots CartoonX explanations for two choices of $\gamma _ { s }$ : (1) Gaussian adaptive noise (see Section 4.1.2) and (2) constant zero perturbations (i.e. $v = 0$ with probability one under $\gamma _ { s }$ ). We observe that the Gaussian adaptive noise gives much more meaningful explanations than the simple zero baseline perturbations.
260
+
261
+ ![](images/669376803cf15b48772f47190fc15e7b3958a45c1013353768d96a6ea5ac042a.jpg)
262
+ Figure 7: We compare the sensitivity of CartoonX and Pixel RDE to the sparsity level $\lambda$ . The top row depicts CartoonX, and the bottom row depicts Pixel RDE, for increasing values of $\lambda$ . Note that for $\lambda = 0$ , Pixel RDE is entirely yellow because the mask is initialized as $s ^ { \check { = } } [ 1 \ldots 1 ] ^ { T }$ and $\lambda = 0$ provides no incentive to make s sparser. For the same reason, CatoonX is simply the greyscale image for $\lambda = 0$ .
263
+
264
+ ![](images/014f60850b885dee2e6d5318a68d96e55506ad31ed7a0b81c56dda8b69fa0b6c.jpg)
265
+ Figure 8: We compare the sensitivity of CartoonX to the perturbation distribution $\gamma _ { s }$ . The top image was classified as a fountain and the bottom image as a viaduct. The second column depicts CartoonX with $\gamma _ { s }$ as Gaussian adaptive noise, and the third column depicts CartoonX with $\gamma _ { s }$ as constant zero perturbations (zero baseline). We observe that Gaussian adaptive noise is much more interpretable than the zero baseline.
266
+
267
+ # A.3.3 SENSITVITY TO THE DISTORTION MEASURE $d ( \Phi ( x ) , \Phi ( y ) )$
268
+
269
+ Figure 9 plots CartoonX explanations for the following four choices of $d ( \Phi ( x ) , \Phi ( y ) )$ , where $x$ is the original input, $y$ is the RDE obfuscation, and $\Phi$ outputs post-softmax probabilities:
270
+
271
+ 1. $d ( \Phi ( x ) , \Phi ( y ) ) = ( \Phi _ { j ^ { * } } ( x ) - \Phi _ { j ^ { * } } ( y ) ) ^ { 2 }$ , where $j ^ { * } : = \arg \operatorname* { m a x } _ { j } \Phi _ { j } ( x )$ (squared $\ell _ { 2 }$ in label )
272
+
273
+ 2. $d ( \Phi ( x ) , \Phi ( y ) ) = ( \Phi _ { j ^ { * } } ( x ) - 1 ) ^ { 2 }$ , where $j ^ { * } : = \arg \operatorname* { m a x } _ { j } \Phi _ { j } ( x )$ (maximize label)
274
+ 3. $d ( \Phi ( x ) , \Phi ( y ) ) = \lVert \Phi ( x ) - \Phi ( y ) \rVert _ { 2 }$ ( $\ell _ { 2 }$ probabilities)
275
+ 4. $d ( \Phi ( x ) , \Phi ( y ) ) = K L ( \Phi ( y ) , \Phi ( x ) )$ (KL-Divergence)
276
+
277
+ The explanations for $d ( \Phi ( x ) , \Phi ( y ) )$ as “squared $\ell _ { 2 }$ in label”, “maximize label”, and ${ } ^ { 6 6 } \ell _ { 2 }$ probabilities” look indistinguishable. For $\bar { d } ( \Phi ( x ) , \mathbf { \bar { \Phi } } ( y ) )$ as KL-Divergence, we see a slightly less smooth explanation, which may be due to the fact that the KL-Divergence is unbounded unlike the other measures of distortion.
278
+
279
+ ![](images/9187ae880a8b62675d03bda7eac035f50f4ff1e5be910d54d869700c0b8877f3.jpg)
280
+ Figure 9: We compare the sensitivity of CartoonX to four measures of distortion $d ( \Phi ( x ) , \Phi ( y ) )$ . Each of the measures of distortion is marked at the top of each column. We observe almost no difference in the CartoonX explanations for the four distortion measures.
281
+
282
+ # A.4 RELIABILITY AND EXPLANATION ARTIFACTS
283
+
284
+ We argue experimentally why CartoonX is more reliable than Pixel RDE for image data. More precisely, we show that CartoonX is less susceptible to so-called explanation artifacts than Pixel RDE. An explanation artifact is an unwanted phenomenon that we observed for Pixel RDE: instead of marking the relevant entries in $x$ , the mask $s$ creates artificial edges that end up making up an artificial class prototype. Explanation artifacts are problematic because they highlight not actual substructures but artificial structures that trigger the classification. Examples for explanation artifacts in Pixel RDE are given in Figure 11.
285
+
286
+ ![](images/202f6780abcf94eb3a89b7f1a8d763a4bce9c8a43edc6cc45602844f237f5f61.jpg)
287
+ Figure 10: CartoonX and Pixel RDE are both performed on the image of the blue sky. However, both methods are adjusted here to find evidence for the output probabilities of the image of the airplane instead of the blue sky. Pixel RDE, unlike CartoonX, can create an artificial airplane as evidence for an airplane in the smooth blue sky.
288
+
289
+ Pixel RDE can produce artificial edges in smooth regions for the following reason: When $s$ has a curve-like structure in some region, unselected points near $s$ are replaced with perturbations that tend to differ from the values of the curve-like structure in $s$ . Thus, the curve-like structure also appears in the obfuscation and can produce low distortion if the structure makes up a prototypical class feature (see, for example, the airplane in Figure 10).
290
+
291
+ We suspect CartoonX is inherently less susceptible to explanation artifacts for the following reason: Natural images tend to be piece-wise smooth, and piece-wise smooth images have sparse high-frequency DWT coefficients that cluster about the edges Stephane (2009b) (see for example ´ Figure 4). For a DWT mask to create artificial edges, it has to select a curve-like structure in the high-frequency coefficients (low-frequency coefficients cannot create edges) and replace surrounding unselected values with different values. However, in CartoonX, perturbations of high-frequency coefficients are Gaussian with low variance centered close to zero (see adaptive Gaussian noise in Section 4.1.2), which are not very different from the values along the selected curve due to the sparsity of the coefficients.
292
+
293
+ We illustrate our previous reasoning about explanation artifacts in a controlled example (see Figure 10). We take an image $x ^ { ( \mathrm { s k y } ) }$ of a blue sky that is very smooth and an image $x ^ { \mathrm { ( p l a n e ) } }$ of a airplane. The goal is to show that Pixel RDE, unlike CartoonX, can create artificial evidence for the class airplane on the image of the smooth blue sky. We perform CartoonX and Pixel RDE on the blue sky image with the distortion function
294
+
295
+ $$
296
+ \forall y \in \mathbb { R } ^ { n } : \ d ( \Phi ( x ^ { ( \mathrm { s k y } ) } ) , \Phi ( y ) ) = 1 0 ^ { 6 } \| \Phi ( x ^ { ( \mathrm { p l a n e } ) } ) - \Phi ( y ) \| _ { 2 } ,
297
+ $$
298
+
299
+ and a sparsity level of $\lambda = 8 0 0 0 0$ . As expected, we observe that Pixel RDE, unlike CartoonX, can create an artificial plane in the smooth blue sky(see Figure 10).
300
+
301
+ A.5 EXPLAINING THROUGH IMAGENET HISTORY: FROM ALEXNET TO RESNETXT50
302
+
303
+ In the deep learning community, it is well-known that AlexNet (Krizhevsky et al., 2012) provided a major breakthrough in deep learning, improving the top-5 error on ImageNet from $2 5 \%$ to $16 \%$ . Since then, deep learning based ImageNet classifiers have continued to drastically improve on ImageNet—achieving less than $6 \%$ top-5 error in 2016. In Figure 12, we compare CartoonX for four ImageNet classifiers with increasing performance, starting with AlexNet (top-1 accuracy $5 6 . 5 5 \%$ , AlexNet), VGG16 (top-1 accuracy $7 1 . 5 9 \%$ , Simonyan & Zisserman (2015)), InceptionV3 (top-1 accuracy $7 7 . 2 9 \%$ , Szegedy et al. (2016)), and ResNeXt50 (top-1 accuracy $7 7 . 6 2 \%$ , Xie et al. (2017).) Throughout the experiment, the CartoonX hyperparameters for a given image are not changed for any of the four classifiers.
304
+
305
+ # A.6 EXPLAINING MISCLASSIFICATIONS WITH CARTOONX
306
+
307
+ In Figure 13, 14, 15, and 16, we provide further examples where CartoonX provides insightful explanations for misclassified images.
308
+
309
+ # A.7 CARTOONX COMPARED ON RANDOM IMAGENET SAMPLES
310
+
311
+ Figure 17, 18, 19, and 20 compares CartoonX to Pixel RDE (Macdonald et al., 2019), Integrated Gradients (Sundararajan et al., 2017), Smoothgrad (Smilkov et al., 2017), Guided Backprop (Springenberg et al., 2015), and (Bach et al., 2015) on random Imagenet samples classified by VGG16.
312
+
313
+ # A.8 CARTOONX FAILURES
314
+
315
+ We also show failures of CartoonX in Figure 21. These are examples of explanations that are not interpretable and seem to fail at explaining the model prediction. Notably, most failure examples are also not particularly well explained by other state-of-the-art methods. It is challenging to state the underlying reason for the CatoonX failures with certainty (there is always the possibility that the neural net bases its decision on non-interpretable grounds). We intentionally also showed uninterpretable CartoonX explanations that were not too sparse (all or almost black explanations) since one can typically fix these explanations by decreasing $\lambda$ .
316
+
317
+ ![](images/4348604dba432b3c96ce1e643eb3ab00bb1b1360ac0508fa151d7742220d33a6.jpg)
318
+ Figure 11: Explanation artifacts in Pixel RDE. We observe that Pixel RDE tends to create edges that are not a subset of the edges in the original input image. These edges can make prototypical artifact patterns such as wrinkles in the cloak (first row), coral tentacles (second row), or chain mail (third row).
319
+
320
+ ![](images/6787c0907f2780a91eeba9a8c758e1e7e257500e6962b20c21edad4a037d379c.jpg)
321
+ Figure 12: We compare CatoonX explanations for classifications by AlexNet (Krizhevsky et al., 2012), VGG16 (Simonyan & Zisserman, 2015), InceptionV3 (Szegedy et al., 2016), and ResNeXt50 (Xie et al., 2017). Green labels mark correct classifications and red labels mark wrong classifactions.
322
+
323
+ ![](images/eb86233a3b07b868113dda202cab39f6f67461c4de85083de6e1fd8ee8292c8e.jpg)
324
+ Figure 13: Explaining misclassifications with CartoonX on Imagenet and MobileNetV3-Small.
325
+
326
+ ![](images/3f5f295b306da0a5156d30d76a6aa194e591059d0eb184994eb42043169014f0.jpg)
327
+ Figure 14: Explaining misclassifications with CartoonX on Imagenet and MobileNetV3-Small.
328
+
329
+ ![](images/4ad860b0ac3719256544354b20a3432e1aeb4a028fe6c9a3feb6cb20414bd6e9.jpg)
330
+ Figure 15: Explaining misclassifications with CartoonX on Imagenet and MobileNetV3-Small.
331
+
332
+ ![](images/514d598a6d4e95cdbd85c43a862b0a1bd0459a6852d89b3ce2fcb63bcd01792c.jpg)
333
+ Figure 16: Explaining misclassifications with CartoonX on Imagenet and MobileNetV3-Small.
334
+
335
+ ![](images/549aeec35ea55596a58c06d2945f8fdf0faa71d75a7db2cd4edec824a94e0c99.jpg)
336
+ Figure 17: Comparing CartoonX on random ImageNet samples and VGG16.
337
+
338
+ ![](images/e1ef9c14fd73e7ff8291699ed4e3f48b71162eebae779f16441340c19979e5a0.jpg)
339
+ Figure 18: Comparing CartoonX on random ImageNet samples and VGG16.
340
+
341
+ ![](images/0c30ef46b69d0c580910205c2e3cd0a382e2d9d8bbd1b9e1a698153577cf5734.jpg)
342
+ Figure 19: Comparing CartoonX on random ImageNet samples and VGG16.
343
+
344
+ ![](images/3768315f4f3a61a9c20715449365266afdeba73a93b2ac05bad3c5f3932bdd09.jpg)
345
+ Figure 20: Comparing CartoonX on random ImageNet samples and VGG16.
346
+
347
+ ![](images/0c28c40ebfbba6ad0603ee8dcfcf832c0f8224baf75b313d925f83ad2d28135b.jpg)
348
+ Figure 21: Failures of CartoonX.
parse/dev/RYTBAtyXqJ/RYTBAtyXqJ_content_list.json ADDED
@@ -0,0 +1,1883 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "CARTOON EXPLANATIONS OF IMAGE CLASSIFIERS ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 174,
8
+ 98,
9
+ 781,
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
+ 398,
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
+ 226
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "We present CartoonX (Cartoon Explanation), a novel model-agnostic explanation method tailored towards image classifiers and based on the rate-distortion explanation (RDE) framework. Natural images are roughly piece-wise smooth signals—also called cartoon images—and tend to be sparse in the wavelet domain. CartoonX is the first explanation method to exploit this by requiring its explanations to be sparse in the wavelet domain, thus extracting the relevant piece-wise smooth part of an image instead of relevant pixel-sparse regions. We demonstrate experimentally that CartoonX is not only highly interpretable due to its piece-wise smooth nature but also particularly apt at explaining misclassifications. ",
40
+ "bbox": [
41
+ 232,
42
+ 241,
43
+ 764,
44
+ 366
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 INTRODUCTION ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 176,
54
+ 392,
55
+ 334,
56
+ 409
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Powerful machine learning models such as deep neural networks are inherently opaque, which has motivated numerous explanation methods over the last decade (see for example the survey by Das & Rad (2020)). A significant fraction of the research literature has focused on explaining image classifications due to both the practical relevance of computer vision tasks and the ease at which heatmaps can communicate explanatory information. Despite the great variety in methods and explanation philosophies, all current methods share the following characteristic: they operate in pixel space. Roughly speaking, existing explanation methods for image classifiers either allocate additive attribution scores to each pixel or optimize a deletion mask on the pixel coefficients to mark a relevant set of pixels. The result is typically a pixel-sparse and jittery explanation. We challenge the conventional approach to explain in pixel space by successfully applying the rate-distortion explanation (RDE) framework (Macdonald et al., 2019; Heiß et al., 2020) in the wavelet domain of images. Our novel explanation method, CartoonX, extracts the relevant piece-wise smooth part of an image (see Figure 1). Instead of demanding sparsity in pixel space, as in (Macdonald et al., 2019; Chang et al., 2019), CartoonX demands sparsity in the wavelet domain, which produces piece-wise smooth explanations (cartoon-like images). Our work makes the following contributions: ",
63
+ "bbox": [
64
+ 174,
65
+ 424,
66
+ 645,
67
+ 714
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "image",
73
+ "img_path": "images/dc24c4587f388205daecba23a270da795c248d00d7e21388c915cc977296fc88.jpg",
74
+ "image_caption": [
75
+ "Dog classified as Egyptian cat "
76
+ ],
77
+ "image_footnote": [],
78
+ "bbox": [
79
+ 678,
80
+ 422,
81
+ 800,
82
+ 518
83
+ ],
84
+ "page_idx": 0
85
+ },
86
+ {
87
+ "type": "image",
88
+ "img_path": "images/7b8be6eda1c4fcf43ca641d589d627f2f43768ac5cd270644d7bf6bc47659f3e.jpg",
89
+ "image_caption": [
90
+ "CartoonX of misclassification "
91
+ ],
92
+ "image_footnote": [],
93
+ "bbox": [
94
+ 678,
95
+ 539,
96
+ 802,
97
+ 635
98
+ ],
99
+ "page_idx": 0
100
+ },
101
+ {
102
+ "type": "text",
103
+ "text": "Reformulation and reinterpretation of the RDE framework: We reformulate the RDE framework in a more general manner with enhanced flexibility in the input representation to accommodate complex interpretation queries such as “What is the piece-wise smooth part of the input signal that leads to its model decision?”. Thereby, we reinterpret RDE as a simplification of the input signal, which is interpretable to humans and adheres to a meaningful interpretation query. The simplification is achieved by demanding sparsity in a suitable representation system, which sparsely represents the class of explanations that are desirable for the interpretation query. ",
104
+ "bbox": [
105
+ 174,
106
+ 722,
107
+ 645,
108
+ 861
109
+ ],
110
+ "page_idx": 0
111
+ },
112
+ {
113
+ "type": "image",
114
+ "img_path": "images/151279dd372408cf29d741b90adc464dd546cc38901a0c7f5d08c3f7889b1f20.jpg",
115
+ "image_caption": [
116
+ "Slam dunk classified as basketball "
117
+ ],
118
+ "image_footnote": [],
119
+ "bbox": [
120
+ 678,
121
+ 655,
122
+ 800,
123
+ 751
124
+ ],
125
+ "page_idx": 0
126
+ },
127
+ {
128
+ "type": "text",
129
+ "text": "CartoonX, a novel explanation method tailored to image classifiers: CartoonX is the first explanation method to extract the relevant piece-wise smooth part of an image instead of relevant pixel sparse regions. This is achieved by demanding sparsity in the wavelet domain of images, where ",
130
+ "bbox": [
131
+ 173,
132
+ 868,
133
+ 645,
134
+ 924
135
+ ],
136
+ "page_idx": 0
137
+ },
138
+ {
139
+ "type": "image",
140
+ "img_path": "images/f1dc4810d3ca077a16c122ad81a791c1b7bed617df1470748dde8659528a1338.jpg",
141
+ "image_caption": [
142
+ "Figure 1: Examples of CartoonX explanations. "
143
+ ],
144
+ "image_footnote": [],
145
+ "bbox": [
146
+ 678,
147
+ 772,
148
+ 800,
149
+ 878
150
+ ],
151
+ "page_idx": 0
152
+ },
153
+ {
154
+ "type": "text",
155
+ "text": "sparsity translates into piece-wise smooth images. We demonstrate that \nour piece-wise smooth explanations are more interpretable than jittery \npixel-sparse explanations and that they can reveal relevant piece-wise smooth patterns that are not easily visible with existing pixel-based methods. Surprisingly, we find that our method is particularly well-equipped to explain misclassifications, often showing “what the neural network actually saw” (see Figure 1). ",
156
+ "bbox": [
157
+ 174,
158
+ 103,
159
+ 825,
160
+ 188
161
+ ],
162
+ "page_idx": 1
163
+ },
164
+ {
165
+ "type": "text",
166
+ "text": "2 RELATED WORK ",
167
+ "text_level": 1,
168
+ "bbox": [
169
+ 176,
170
+ 208,
171
+ 344,
172
+ 224
173
+ ],
174
+ "page_idx": 1
175
+ },
176
+ {
177
+ "type": "text",
178
+ "text": "The Rate-Distortion Explanation (RDE) framework was first introduced in (Macdonald et al., 2019), and extended in (Heiß et al., 2020), as a mathematically well-founded and intuitive explanation framework. RDEs are model-agnostic explanations and inspired by rate-distortion theory, which studies lossy-data compression. An explanation in RDE consists of a relatively sparse mask over the input features, highlighting the relevant set of features. The mask is optimized to produce low distortion in the model output after applying perturbations to the unselected features in the input while remaining relatively sparse. Heiß et al. (2020) also applied RDE to non-canonical input representations to explain model decisions in challenging domains such as audio classification (Engel et al., 2017) and radio-map estimation (Levie et al., 2021; 2020). ",
179
+ "bbox": [
180
+ 173,
181
+ 241,
182
+ 825,
183
+ 366
184
+ ],
185
+ "page_idx": 1
186
+ },
187
+ {
188
+ "type": "text",
189
+ "text": "The explanation principle of optimizing a mask $s \\in [ 0 , 1 ] ^ { n }$ was first proposed by Fong & Vedaldi (2017) who explained image classification decisions by considering one of the two “deletion games”: (1) optimizing for the smallest deletion mask that causes the class score to drop significantly or (2) optimizing for the largest deletion mask that has no significant effect on the class score. The original RDE approach (Macdonald et al., 2019) is based on the second deletion game. ",
190
+ "bbox": [
191
+ 174,
192
+ 372,
193
+ 823,
194
+ 443
195
+ ],
196
+ "page_idx": 1
197
+ },
198
+ {
199
+ "type": "text",
200
+ "text": "Other explanation methods developed by the research community are typically either (1) gradientbased such as Smoothgrad (Smilkov et al., 2017), Integrated Gradients (Sundararajan et al., 2017), Image-Specific Class Saliency (Simonyan et al., 2014), and Guided Backpropagation (Springenberg et al., 2015), (2) surrogate models such as LIME (Ribeiro et al., 2016), (3) based on propagation of activations in neurons such as LRP (Bach et al., 2015; Shrikumar et al., 2017), and DeepLIFT (Shrikumar et al., 2017), (4) based on Shapely values from game-theory (Lundberg & Lee, 2017), (6) concept-based such as Concept Activation Vectors (Kim et al., 2018), or (7) based on generative causal explanations (O' Shaughnessy et al., 2020). Also related are methods that were developed to explain individual neurons such as in (Nguyen et al., 2016; Dhamdhere et al., 2019). To our knowledge, all existing explainability methods operate in pixel space and all methods looking for sparse explanations demand sparsity in pixel space (Macdonald et al., 2019; Fong & Vedaldi, 2017; Chang et al., 2019). ",
201
+ "bbox": [
202
+ 173,
203
+ 449,
204
+ 825,
205
+ 616
206
+ ],
207
+ "page_idx": 1
208
+ },
209
+ {
210
+ "type": "text",
211
+ "text": "3 BACKGROUND: RATE-DISTORTION EXPLANATION FRAMEWORK ",
212
+ "text_level": 1,
213
+ "bbox": [
214
+ 176,
215
+ 637,
216
+ 738,
217
+ 655
218
+ ],
219
+ "page_idx": 1
220
+ },
221
+ {
222
+ "type": "text",
223
+ "text": "In this section, we review the rate-distortion explanation (RDE) framework, which was introduced by Macdonald et al. (2019) and later extended by Heiß et al. (2020) by applying RDE to noncanonical input representations. Suppose $\\Phi : \\mathbb { R } ^ { n } \\mathbb { R } ^ { m }$ is a pre-trained model, e.g., a classifier (with $m$ class labels) or a regression model (with $m$ -dimensional output), where $n$ denotes the dimension of the model input. RDE produces an explanation for a model decision $\\Phi ( x )$ with $x \\in \\mathbb { R } ^ { n }$ as a relatively sparse mask $s \\in \\{ 0 , 1 \\}$ marking the relevant input features in $x$ . More precisely, RDE aims to solve the following optimization problem over a mask $s \\in \\{ 0 , 1 \\} ^ { n }$ : ",
224
+ "bbox": [
225
+ 173,
226
+ 670,
227
+ 826,
228
+ 768
229
+ ],
230
+ "page_idx": 1
231
+ },
232
+ {
233
+ "type": "equation",
234
+ "img_path": "images/23002d17ea3067df001e6bdc02ae23b64136a7cc059dde2c7ef72e2440f52f85.jpg",
235
+ "text": "$$\n\\operatorname* { m i n } _ { s \\in \\{ 0 , 1 \\} ^ { n } } \\quad \\operatorname { \\mathbb { E } } _ { v \\sim \\mathcal { V } } \\left[ d \\Bigl ( \\Phi ( x ) , \\Phi ( x \\odot s + ( 1 - s ) \\odot v ) \\Bigr ) \\right] \\quad \\mathrm { s . t . } \\quad \\| s \\| _ { 0 } \\leq \\ell ,\n$$",
236
+ "text_format": "latex",
237
+ "bbox": [
238
+ 258,
239
+ 775,
240
+ 738,
241
+ 819
242
+ ],
243
+ "page_idx": 1
244
+ },
245
+ {
246
+ "type": "text",
247
+ "text": "where $\\odot$ denotes the Hadamard product (element-wise multiplication), $d ( \\Phi ( x ) , \\cdot )$ is a measure of distortion (e.g. $d ( \\Phi ( x ) , \\cdot ) = \\lVert \\Phi ( { \\bar { x } } ) - \\cdot \\rVert _ { 2 } )$ , $\\nu$ is a distribution over input perturbations $v \\in \\mathbb { R } ^ { n }$ , and $\\ell \\in \\{ 1 , . . . , n \\}$ is a given sparsity level for the explanation mask $s$ . A solution $s ^ { * }$ to the optimization problem in (1) marks relatively few components in the model input $x$ that suffice to approximately retain the model output $\\Phi ( x )$ . This approach is in the spirit of rate-distortion theory, which deals with lossy compression of data. Therefore, Macdonald et al. (2019) coined such explanations ratedistortion explanations (RDEs). ",
248
+ "bbox": [
249
+ 173,
250
+ 825,
251
+ 825,
252
+ 924
253
+ ],
254
+ "page_idx": 1
255
+ },
256
+ {
257
+ "type": "text",
258
+ "text": "In practice, the optimization problem in (1) is relaxed to continuous masks $s \\in [ 0 , 1 ]$ solving ",
259
+ "bbox": [
260
+ 168,
261
+ 103,
262
+ 779,
263
+ 118
264
+ ],
265
+ "page_idx": 2
266
+ },
267
+ {
268
+ "type": "equation",
269
+ "img_path": "images/9a28e211a80d42e50b0da89f14f76ad9188bc322280953fb6cf4c9ff8b2568e3.jpg",
270
+ "text": "$$\n\\operatorname* { m i n } _ { s \\in \\{ 0 , 1 \\} ^ { n } } \\quad \\operatorname { \\mathbb { E } } _ { v \\sim \\mathcal { V } } \\left[ d \\Bigl ( \\Phi ( x ) , \\Phi ( x \\odot s + ( 1 - s ) \\odot v ) \\Bigr ) \\right] + \\lambda \\left\\| s \\right\\| _ { 1 } ,\n$$",
271
+ "text_format": "latex",
272
+ "bbox": [
273
+ 285,
274
+ 119,
275
+ 709,
276
+ 162
277
+ ],
278
+ "page_idx": 2
279
+ },
280
+ {
281
+ "type": "text",
282
+ "text": "where $\\lambda > 0$ determines the sparsity level of the mask. The relaxed optimization problem can be solved with stochastic gradient descent in $s \\in [ 0 , 1 ]$ if $\\Phi$ is differentiable—as is the case for deep neural networks. Macdonald et al. (2019) applied the RDE method as described above to image classifiers in the pixel domain of images, where each mask entry $s _ { i } \\in [ 0 , 1 ]$ corresponds to the $i$ -th pixel values. We refer to this method as Pixel RDE throughout this work. ",
283
+ "bbox": [
284
+ 173,
285
+ 165,
286
+ 825,
287
+ 234
288
+ ],
289
+ "page_idx": 2
290
+ },
291
+ {
292
+ "type": "text",
293
+ "text": "4 RDE REFORMULATED AND REINTERPRETED ",
294
+ "text_level": 1,
295
+ "bbox": [
296
+ 174,
297
+ 253,
298
+ 580,
299
+ 270
300
+ ],
301
+ "page_idx": 2
302
+ },
303
+ {
304
+ "type": "text",
305
+ "text": "Instead of applying RDE to the standard input representation $\\boldsymbol { x } = [ x _ { 1 } \\dots x _ { n } ] ^ { T }$ , we can apply RDE to a different representation of $x$ to answer a particular interpretation query. For example, consider a 1D-signal $x \\in \\mathbb { R } ^ { n }$ : if we ask “What is the smooth part in the signal $x$ that leads to the model decision $\\Phi ( x ) ? ^ { , }$ , then we can apply RDE in the Fourier basis of $x$ . Since frequency-sparse signals are smooth, applying RDE in the Fourier basis of $x$ extracts the relevant smooth part of the signal. To accommodate such interpretation queries, we reformulate RDE in Section 4.1. Finally, based on the reformulation, we reinterpret RDE in Section 4.2. Later in Section 5, we use our reformulation and reinterpretation of RDE to derive and motivate CartoonX as a special case and novel explanation method tailored towards image classifiers. ",
306
+ "bbox": [
307
+ 173,
308
+ 282,
309
+ 825,
310
+ 410
311
+ ],
312
+ "page_idx": 2
313
+ },
314
+ {
315
+ "type": "text",
316
+ "text": "4.1 GENERAL FORMULATION ",
317
+ "text_level": 1,
318
+ "bbox": [
319
+ 174,
320
+ 426,
321
+ 392,
322
+ 440
323
+ ],
324
+ "page_idx": 2
325
+ },
326
+ {
327
+ "type": "text",
328
+ "text": "An input signal $\\boldsymbol { x } = [ x _ { 1 } , \\dots , x _ { n } ] ^ { T }$ is represented in a basis $\\{ b _ { 1 } , \\ldots , b _ { n } \\}$ as a linear combination $\\textstyle \\sum _ { i = 1 } ^ { n } h _ { i } b _ { i }$ with coefficients $[ h _ { i } ] _ { i = 1 } ^ { n }$ . As we argued above and demonstrate later on, some choices for a basis may be more suitable than others to explain a model decision $\\Phi ( x )$ . Therefore, we define the RDE mask not only on the canonical input representation $[ x _ { i } ] _ { i = 1 } ^ { n }$ but also on a different representation $[ h _ { i } ] _ { i = 1 } ^ { n }$ with respect to a choice of basis $\\{ b _ { 1 } , \\ldots , b _ { n } \\}$ . Examples of non-canonical choices for a basis include the Fourier basis and the wavelet basis. This work is centered around CartoonX, which applies RDE in the wavelet basis, i.e., a linear data representation since $x$ is represented as a linear combination of basis vectors. Nevertheless, there also exist other domains and interpretation queries where applying RDE to a non-linear data representation can make sense (see the interpretation query “Is phase or magnitude more important for an audio classifier?” in (Heiß et al., 2020)). Therefore, we formulate RDE in terms of a data representation function $\\textstyle f : \\prod _ { i = 1 } ^ { k } \\mathbb { R } ^ { c } \\to \\mathbb { R } ^ { n }$ , $f ( h _ { 1 } , \\ldots , h _ { k } ) = x .$ , which does notlinear case and o be linear, we have $c$ ls in the, where e imare ortantfixed $c = 1$ $\\begin{array} { r } { f ( h _ { 1 } , \\ldots , h _ { k } ) = \\sum _ { i = 1 } ^ { k } h _ { i } b _ { i } } \\end{array}$ $\\{ b _ { i } , \\ldots , b _ { k } \\} \\subset \\mathbb { R } ^ { n }$ $k$ $c > 1$ \nchannels at once, e.g., all color channels of an image, to reduce the number of entries in the mask that will operate on $[ h _ { i } ] _ { i = 1 } ^ { k }$ . In the following, we introduce the important definitions of obfuscations, expected distortion, the RDE mask, and $R D E ' s \\ell _ { 1 }$ -relaxation, which generalize the RDE framework of (Macdonald et al., 2019) to abstract input representations. ",
329
+ "bbox": [
330
+ 173,
331
+ 450,
332
+ 825,
333
+ 707
334
+ ],
335
+ "page_idx": 2
336
+ },
337
+ {
338
+ "type": "text",
339
+ "text": "4.1.1 DEFINITIONS ",
340
+ "text_level": 1,
341
+ "bbox": [
342
+ 174,
343
+ 720,
344
+ 320,
345
+ 734
346
+ ],
347
+ "page_idx": 2
348
+ },
349
+ {
350
+ "type": "text",
351
+ "text": "The first two key concepts in RDE are obfuscations and expected distortion, which are defined below. ",
352
+ "bbox": [
353
+ 176,
354
+ 744,
355
+ 823,
356
+ 773
357
+ ],
358
+ "page_idx": 2
359
+ },
360
+ {
361
+ "type": "text",
362
+ "text": "Definition 1 (Obfuscations and expected distortion) Let $\\Phi : \\mathbb { R } ^ { n } \\mathbb { R } ^ { m }$ be a model and $x \\in \\mathbb { R } ^ { n }$ a data point with a data representation $x = f ( h _ { 1 } , . . . , h _ { k } )$ as discussed above. For every mask $s \\in [ 0 , 1 ] ^ { k }$ , let $\\gamma _ { s }$ be a probability distribution over $\\textstyle \\prod _ { i = 1 } ^ { k } \\mathbb { R } ^ { c }$ . Then the obfuscation of $x$ with respect to s and $\\gamma _ { s }$ is defined as the random vector $y : = { f ( s \\odot h + ( 1 - s ) \\odot v ) }$ , where $v \\sim \\mathcal { V } _ { s }$ , $( s \\odot h ) _ { i } = s _ { i } h _ { i } \\in \\mathbb { R } ^ { c }$ and $( ( 1 - s ) \\odot v ) _ { i } = ( 1 - s _ { i } ) v _ { i } \\in \\mathbb R ^ { c }$ , for $i \\in \\{ 1 , \\ldots , k \\}$ . A choice for the distribution $\\gamma _ { s }$ is called obfuscation strategy. Furthermore, the expected distortion of $x$ with respect to the mask s and the perturbation distribution $\\gamma _ { s }$ is defined as ",
363
+ "bbox": [
364
+ 173,
365
+ 782,
366
+ 825,
367
+ 885
368
+ ],
369
+ "page_idx": 2
370
+ },
371
+ {
372
+ "type": "equation",
373
+ "img_path": "images/79839fc9c411616b69cd2c670793304f57b5226c18ad423cabd76c022b558280.jpg",
374
+ "text": "$$\nD ( x , s , \\mathcal { V } _ { s } , \\Phi ) : = \\underset { v \\sim \\mathcal { V } _ { s } } { \\mathbb { E } } \\left[ d \\Big ( \\Phi ( x ) , \\Phi ( y ) \\Big ) \\right] ,\n$$",
375
+ "text_format": "latex",
376
+ "bbox": [
377
+ 357,
378
+ 886,
379
+ 638,
380
+ 929
381
+ ],
382
+ "page_idx": 2
383
+ },
384
+ {
385
+ "type": "text",
386
+ "text": "where $d : \\mathbb { R } ^ { m } \\times \\mathbb { R } ^ { m } \\to \\mathbb { R } _ { + }$ is a measure of distortion between two model outputs. ",
387
+ "bbox": [
388
+ 173,
389
+ 103,
390
+ 710,
391
+ 119
392
+ ],
393
+ "page_idx": 3
394
+ },
395
+ {
396
+ "type": "text",
397
+ "text": "In the RDE framework, the explanation is given by a mask that minimizes distortion while remaining relatively sparse. The rate-distortion explanation mask is defined as follows. ",
398
+ "bbox": [
399
+ 169,
400
+ 128,
401
+ 823,
402
+ 159
403
+ ],
404
+ "page_idx": 3
405
+ },
406
+ {
407
+ "type": "text",
408
+ "text": "Definition 2 (The RDE mask) In the setting of Definition $I$ we define the RDE mask as a solution $s ^ { * } ( \\ell )$ to the minimization problem ",
409
+ "bbox": [
410
+ 173,
411
+ 170,
412
+ 823,
413
+ 200
414
+ ],
415
+ "page_idx": 3
416
+ },
417
+ {
418
+ "type": "equation",
419
+ "img_path": "images/0e0f4a56e5db62f780159af7e17193b6b7d4a009906aea7023b3f6a7b9e9b649.jpg",
420
+ "text": "$$\n\\operatorname* { m i n } _ { s \\in \\{ 0 , 1 \\} ^ { k } } \\quad D ( x , s , \\mathcal { V } _ { s } , \\Phi ) \\quad s . t . \\quad \\| s \\| _ { 0 } \\leq \\ell ,\n$$",
421
+ "text_format": "latex",
422
+ "bbox": [
423
+ 349,
424
+ 207,
425
+ 647,
426
+ 232
427
+ ],
428
+ "page_idx": 3
429
+ },
430
+ {
431
+ "type": "text",
432
+ "text": "where $\\ell \\in \\{ 1 , \\ldots , k \\}$ is the desired level of sparsity. ",
433
+ "bbox": [
434
+ 174,
435
+ 239,
436
+ 516,
437
+ 256
438
+ ],
439
+ "page_idx": 3
440
+ },
441
+ {
442
+ "type": "text",
443
+ "text": "Geometrically, the RDE mask $s$ is associated with a particular subspace. The complement mask $( 1 - s )$ can be seen as selecting a large stable subspace of $\\Phi$ , with each point representing a possible perturbation in unselected coefficients in $h$ . The RDE mask minimizes the expected distortion along its associated subspace, which requires non-local information of $\\Phi$ . We illustrate this geometric view of RDE in Figure 2 with a toy example for a hypothetical classifier $\\Phi : \\mathbb { R } ^ { 2 } \\mathbb { R } ^ { \\bar { m } }$ and two distinct input representations: (1) Euclidean coordinates, i.e., $f$ is the identity in $x = f ( h )$ , and (2) polar coordinates, i.e. $f ( h ) = ( h _ { 2 } \\cos h _ { 1 } , h _ { 2 } \\sin h _ { 1 } ) = x$ . In the example, we assume $\\gamma _ { s }$ to be a uniform distribution on $[ - 1 , 1 ] ^ { 2 }$ in the Euclidean representation and a uniform distribution on $[ - \\pi , \\pi ] \\times [ 0 , 1 ]$ in the polar representation. The expected distortion associated with the masks $s = ( 1 , 0 )$ and $s = ( 0 , 1 )$ is given by the red and green shaded area, respectively. The RDE mask aims for low expected distortion, and hence, in polar coordinates, the RDE mask would be the green subspace, i.e., $s = ( 0 , 1 )$ . On the other hand, in Euclidean coordinates, neither $s = ( 1 , 0 )$ nor $s = ( 0 , 1 )$ produces a particularly low expected distortion, making the Euclidean explanation less meaningful than the polar explanation. The example illustrates why certain input representations can yield more meaningful explanatory insight for a given classifier than others—an insight that underpins our novel CartoonX method. Moreover, the plot in polar coordinates illustrates why the RDE mask cannot be simply chosen with local distortion information, e.g., with the lowest eigenvalue of the Hessian of $\\bar { h } \\mathbin { \\stackrel { \\cdot } { \\mapsto } } d ( \\Phi ( x ) , \\Phi ( f ( h ) ) )$ : the lowest eigenvalue in polar coordinates belongs to the red subspace and does not see the large distortion on the tails. ",
444
+ "bbox": [
445
+ 173,
446
+ 267,
447
+ 826,
448
+ 463
449
+ ],
450
+ "page_idx": 3
451
+ },
452
+ {
453
+ "type": "image",
454
+ "img_path": "images/479683e2b0840f5f992b0532f0d8810568debf14e35b168351c2027f9e57a0b2.jpg",
455
+ "image_caption": [
456
+ "Figure 2: The RDE mask can find low expected distortion in polar coordinates but not in Euclidean coordinates. Therefore, in this example, polar coordinates are more appropriate to explain $\\Phi ( x )$ , and RDE would determine that the angle $\\varphi$ , not the magnitude $r$ , is relevant for $\\Phi ( x )$ . "
457
+ ],
458
+ "image_footnote": [],
459
+ "bbox": [
460
+ 214,
461
+ 479,
462
+ 784,
463
+ 838
464
+ ],
465
+ "page_idx": 3
466
+ },
467
+ {
468
+ "type": "text",
469
+ "text": "",
470
+ "bbox": [
471
+ 169,
472
+ 909,
473
+ 823,
474
+ 924
475
+ ],
476
+ "page_idx": 3
477
+ },
478
+ {
479
+ "type": "text",
480
+ "text": "",
481
+ "bbox": [
482
+ 173,
483
+ 103,
484
+ 823,
485
+ 160
486
+ ],
487
+ "page_idx": 4
488
+ },
489
+ {
490
+ "type": "text",
491
+ "text": "As was shown by Macdonald et al. (2019), the RDE mask from Definition 2 cannot be computed efficiently for non-trivial input sizes. Nevertheless, one can find an approximate solution by considering continuous masks $s \\in [ 0 , 1 ] ^ { k }$ and encouraging sparsity through the $\\ell _ { 1 }$ -norm. ",
492
+ "bbox": [
493
+ 173,
494
+ 165,
495
+ 823,
496
+ 209
497
+ ],
498
+ "page_idx": 4
499
+ },
500
+ {
501
+ "type": "text",
502
+ "text": "Definition 3 (RDE’s $\\ell _ { 1 }$ -relaxation with Lagrange multipliers) In the setting of Definition $I$ , we define RDE’s $\\ell _ { 1 }$ -relaxation with Lagrange multipliers as a solution $s ^ { * } ( \\lambda )$ to the minimization problem ",
503
+ "bbox": [
504
+ 173,
505
+ 223,
506
+ 825,
507
+ 266
508
+ ],
509
+ "page_idx": 4
510
+ },
511
+ {
512
+ "type": "equation",
513
+ "img_path": "images/c9a80a669d719de03f788a4c4b6976e2dce931c9b9d85f72cde5bc00d721362a.jpg",
514
+ "text": "$$\n\\begin{array} { r l } { \\underset { s \\in [ 0 , 1 ] ^ { k } } { \\operatorname* { m i n } } } & { { } D ( \\boldsymbol { x } , s , \\mathcal { V } _ { s } , \\boldsymbol { \\Phi } ) + \\lambda \\| s \\| _ { 1 } , } \\end{array}\n$$",
515
+ "text_format": "latex",
516
+ "bbox": [
517
+ 383,
518
+ 275,
519
+ 612,
520
+ 301
521
+ ],
522
+ "page_idx": 4
523
+ },
524
+ {
525
+ "type": "text",
526
+ "text": "where $\\lambda > 0$ is a hyperparameter for the sparsity level. ",
527
+ "bbox": [
528
+ 173,
529
+ 310,
530
+ 535,
531
+ 327
532
+ ],
533
+ "page_idx": 4
534
+ },
535
+ {
536
+ "type": "text",
537
+ "text": "The $\\ell _ { 1 }$ -relaxation above can be solved with stochastic gradient descent (SGD) over the mask $s$ while approximating $D ( x , s , \\mathcal { V } _ { s } , \\Phi )$ with i.i.d. samples from $v \\sim \\mathcal { V } _ { s }$ . ",
538
+ "bbox": [
539
+ 173,
540
+ 340,
541
+ 823,
542
+ 369
543
+ ],
544
+ "page_idx": 4
545
+ },
546
+ {
547
+ "type": "text",
548
+ "text": "4.1.2 OBFUSCATION STRATEGIES",
549
+ "text_level": 1,
550
+ "bbox": [
551
+ 176,
552
+ 387,
553
+ 419,
554
+ 402
555
+ ],
556
+ "page_idx": 4
557
+ },
558
+ {
559
+ "type": "text",
560
+ "text": "An obfuscation strategy is defined by the choice of the perturbation distribution $\\mathcal { V } _ { s }$ . Common choices are Gaussian noise (Macdonald et al., 2019; Fong & Vedaldi, 2017), blurring (Fong & Vedaldi, 2017), constants (Fong $\\&$ Vedaldi, 2017), and inpainting GANs (Heiß et al., 2020; Chang et al., 2019). Inpainting GANs train a generator $G ( s , z , h )$ ( $z$ denotes random latent factors) such that for samples $v \\sim G ( s , z , h )$ the obfuscation $f ( s \\odot h + ( 1 - s ) \\odot v )$ remains in the data manifold. In our work, we refrain from using an inpainting GAN due to the following reason: it is hard to tell whether a GAN-based mask did not select coefficients because they are unimportant or because the GAN can easily inpaint them from a biased context. Instead, we choose a simple and wellunderstood obfuscation strategy, which we call Gaussian adaptive noise, making the explanation as transparent as possible. ",
561
+ "bbox": [
562
+ 173,
563
+ 412,
564
+ 825,
565
+ 553
566
+ ],
567
+ "page_idx": 4
568
+ },
569
+ {
570
+ "type": "text",
571
+ "text": "Gaussian adaptive noise works as follows: Let $A _ { 1 } , . . . , A _ { j }$ be a pre-defined choice of a disjoint partition of $\\{ 1 , \\ldots , k \\}$ (recall $s \\in [ 0 , 1 ] ^ { k } )$ . For $i = 1 , . . . , j$ , we compute the empirical mean and empirical standard deviation for each partition across all partition instances: ",
572
+ "bbox": [
573
+ 174,
574
+ 559,
575
+ 825,
576
+ 603
577
+ ],
578
+ "page_idx": 4
579
+ },
580
+ {
581
+ "type": "equation",
582
+ "img_path": "images/77f04c980c605871e331384771b6e6f0593eaedf3e0cbf2facd1a707d4c8e7c1.jpg",
583
+ "text": "$$\n\\mu _ { i } : = \\frac { 1 } { \\sum _ { a \\in A _ { i } } d _ { a } } \\sum _ { a \\in A _ { i } , t = 1 , \\ldots , d _ { a } } h _ { a t } , \\sigma _ { i } : = \\sqrt { \\frac { 1 } { \\sum _ { a \\in A _ { i } } d _ { a } } \\sum _ { a \\in A _ { i } , t = 1 , \\ldots , d _ { a } } ( \\mu _ { i } - h _ { a t } ) ^ { 2 } }\n$$",
584
+ "text_format": "latex",
585
+ "bbox": [
586
+ 225,
587
+ 612,
588
+ 774,
589
+ 656
590
+ ],
591
+ "page_idx": 4
592
+ },
593
+ {
594
+ "type": "text",
595
+ "text": "The adaptive Gaussian noise strategy then samples $v _ { a t \\_ } \\sim \\mathcal { N } ( \\mu _ { i } , \\sigma _ { i } ^ { 2 } )$ for all partition members $a \\in$ $A _ { i }$ and channels $t = 1 , . . . , d _ { a }$ . We write $v \\sim \\mathcal { N } ( \\mu , \\sigma ^ { 2 } )$ for the resulting Gaussian random vector $\\boldsymbol { v } \\in \\prod _ { i = 1 } ^ { k } \\mathbb { R } ^ { c }$ . Note that the distribution $\\gamma _ { s }$ chosen as Gaussian adaptive noise does depend on $s$ (unlike with an inpainting GAN). For Pixel RDE, we only use one set $A _ { 1 } = \\left\\{ 1 , . . . , k \\right\\}$ for all $k$ pixels. In CartoonX, which represents input signals in the discrete wavelet domain, we will partition $\\{ 1 , . . . , k \\}$ along the scales of the discrete wavelet transform. ",
596
+ "bbox": [
597
+ 173,
598
+ 665,
599
+ 826,
600
+ 753
601
+ ],
602
+ "page_idx": 4
603
+ },
604
+ {
605
+ "type": "text",
606
+ "text": "4.1.3 MEASURES OF DISTORTION ",
607
+ "text_level": 1,
608
+ "bbox": [
609
+ 174,
610
+ 771,
611
+ 419,
612
+ 785
613
+ ],
614
+ "page_idx": 4
615
+ },
616
+ {
617
+ "type": "text",
618
+ "text": "There are various choices for the measure of distortion $d ( \\Phi ( x ) , \\Phi ( y ) )$ . For example, one can take the squared distance in the post-softmax probability of the predicted label for $x$ , i.e., ",
619
+ "bbox": [
620
+ 173,
621
+ 796,
622
+ 823,
623
+ 825
624
+ ],
625
+ "page_idx": 4
626
+ },
627
+ {
628
+ "type": "equation",
629
+ "img_path": "images/ece7e994cea071a84c2695e50a8c52dd294db7accf98e06c1b9602b0ed8db31a.jpg",
630
+ "text": "$$\nd \\big ( \\Phi ( x ) , \\Phi ( y ) \\big ) : = \\big ( \\Phi _ { j ^ { * } } ( x ) - \\Phi _ { j ^ { * } } ( y ) \\big ) ^ { 2 } ,\n$$",
631
+ "text_format": "latex",
632
+ "bbox": [
633
+ 364,
634
+ 834,
635
+ 630,
636
+ 857
637
+ ],
638
+ "page_idx": 4
639
+ },
640
+ {
641
+ "type": "text",
642
+ "text": "where $j ^ { * } : = \\arg \\operatorname* { m a x } _ { i = 1 , \\ldots , m } \\Phi _ { i } ( x )$ and $\\Phi ( x )$ is assumed to be the post-softmax probabilities of a neural net. Alternatively, one could also choose $d ( \\Phi ( x ) , \\Phi ( y ) )$ as the $\\ell _ { 2 }$ -distance or the KLDivergence in the post-softmax layer of $\\Phi$ . In our experiments for CartoonX, we found that these choices had no significant effect on the explanation (see Appendix A.3.3). ",
643
+ "bbox": [
644
+ 174,
645
+ 864,
646
+ 825,
647
+ 924
648
+ ],
649
+ "page_idx": 4
650
+ },
651
+ {
652
+ "type": "text",
653
+ "text": "4.2 INTERPRETATION ",
654
+ "text_level": 1,
655
+ "bbox": [
656
+ 176,
657
+ 103,
658
+ 334,
659
+ 117
660
+ ],
661
+ "page_idx": 5
662
+ },
663
+ {
664
+ "type": "text",
665
+ "text": "The philosophy of the generalized RDE framework is that an explanation for a decision $\\Phi ( x )$ on a generic input signal $x = f ( h )$ should be some simplified version of the signal, which is interpretable to humans. The simplification is achieved by demanding sparsity in a suitable representation system $h$ , which sparsely represents the class of explanations that are desirable for the interpretation query. This philosophy is the fundamental premise of CartoonX, which aims to answer the interpretation query “What is the relevant piece-wise smooth part of the image for a given image classifier?”. CartoonX first employs RDE on a representation system $x = f ( h )$ that sparsely represents piecewise smooth images and finally visualizes the relevant piece-wise smooth part as an image back in pixel space. In the following section, we explain why wavelets provide an appropriate representation system in CartoonX, present the CartoonX implementation, and finally provide experiments on ImageNet to demonstrate the capability of CartoonX. ",
666
+ "bbox": [
667
+ 173,
668
+ 128,
669
+ 825,
670
+ 282
671
+ ],
672
+ "page_idx": 5
673
+ },
674
+ {
675
+ "type": "text",
676
+ "text": "5 CARTOONX ",
677
+ "text_level": 1,
678
+ "bbox": [
679
+ 174,
680
+ 301,
681
+ 303,
682
+ 318
683
+ ],
684
+ "page_idx": 5
685
+ },
686
+ {
687
+ "type": "text",
688
+ "text": "The focus of this paper is CartoonX, a novel explanation method—tailored to image classifications— that we obtain as a special case of our generalized RDE framework formulated in Section 4. CartoonX first performs RDE in the discrete wavelet position-scale domain of an image $x$ , and finally, visualizes the wavelet mask $s$ as a piece-wise smooth image in pixel space. Wavelets provide optimal representations for piece-wise smooth 1D functions (DeVore, 1998), and represent 2D piecewise smooth images, also called cartoon-like images (Kutyniok & Lim, 2011), efficiently as well (Romberg et al., 2006). In particular, sparse vectors in the wavelet coefficient space encode cartoonlike images reasonably well (Stephane, 2009a)—certainly better than sparse pixel representations. ´ Moreover, wavelets constitute an established tool in signal processing (Stephane, 2009c). ´ ",
689
+ "bbox": [
690
+ 174,
691
+ 333,
692
+ 825,
693
+ 458
694
+ ],
695
+ "page_idx": 5
696
+ },
697
+ {
698
+ "type": "image",
699
+ "img_path": "images/600d34c48f6449578084ae2acb04f5102f541072c868e8f11c61d9f05a838409.jpg",
700
+ "image_caption": [
701
+ "Figure 3: CartoonX has many interesting parallels to wavelet-based image compression. Distortion is denoted as $d$ , $\\Phi$ is an image classifier, $h$ denotes the discrete wavelet coefficients, $\\tau$ is the discrete wavelet transform, and $\\ell$ is the coefficient budget. "
702
+ ],
703
+ "image_footnote": [],
704
+ "bbox": [
705
+ 194,
706
+ 474,
707
+ 812,
708
+ 809
709
+ ],
710
+ "page_idx": 5
711
+ },
712
+ {
713
+ "type": "text",
714
+ "text": "The optimization process underlying CartoonX produces sparse vectors in the discrete wavelet coefficient space, which results in cartoon-like images as explanations. This is the fundamental difference to Pixel RDE, which produces rough, jittery, and pixel-sparse explanations. Cartoon-like images are more interpretable and provide a natural model of simplified images. Since the goal of the RDE framework is to generate an easy to interpret simplified version of the input signal, we argue that CartoonX explanations are more appropriate for image classification than Pixel RDEs. ",
715
+ "bbox": [
716
+ 174,
717
+ 895,
718
+ 823,
719
+ 924
720
+ ],
721
+ "page_idx": 5
722
+ },
723
+ {
724
+ "type": "text",
725
+ "text": "",
726
+ "bbox": [
727
+ 174,
728
+ 103,
729
+ 825,
730
+ 159
731
+ ],
732
+ "page_idx": 6
733
+ },
734
+ {
735
+ "type": "text",
736
+ "text": "CartoonX exhibits interesting parallels to wavelet-based image compression. In image compression, distortion is minimized in the data domain, which is equivalent to selecting the $\\ell$ largest entries in the discrete wavelet transform (DWT) coefficients. In comparison, CartoonX minimizes distortion in the model output of $\\Phi$ , which translates to selecting the $\\ell$ most relevant entries in the DWT coefficients. The objective in image compression is efficient data representation, i.e., producing minimal data distortion with a budget of $\\ell$ entries in the DWT coefficients. Conversely, in CartoonX, the objective is extracting the relevant piece-wise smooth part, i.e., producing minimal model distortion with a budget of $\\ell$ entries in the DWT coefficients. We illustrate this connection in Figure 3—highlighting once more the rate-distortion spirit of the RDE framework. ",
737
+ "bbox": [
738
+ 173,
739
+ 166,
740
+ 825,
741
+ 291
742
+ ],
743
+ "page_idx": 6
744
+ },
745
+ {
746
+ "type": "text",
747
+ "text": "5.1 IMPLEMENTATION ",
748
+ "text_level": 1,
749
+ "bbox": [
750
+ 176,
751
+ 325,
752
+ 341,
753
+ 339
754
+ ],
755
+ "page_idx": 6
756
+ },
757
+ {
758
+ "type": "text",
759
+ "text": "An image $x \\in [ 0 , 1 ] ^ { c \\times w \\times t }$ with $c \\in \\{ 1 , 3 \\}$ channels, width $w \\in \\mathbb { N }$ , height $t \\in \\mathbb N$ , and a total of $p = w t$ pixels can be represented in a wavelet basis by computing its discrete wavelet transform (DWT). The DWT of an image is defined by the number of scales $J \\in \\{ 1 , \\ldots , \\lfloor \\log _ { 2 } p \\rfloor \\}$ , the padding mode, and a choice of the wavelet family (such as the Haar or Daubechies family). For images, the DWT computes four types of coefficients: details in (1) horizontal, (2) vertical, and (3) diagonal orientation at scale $j \\in \\{ 1 , \\dots , J \\}$ , and (4) coefficients of the image at the very coarsest resolution. We briefly illustrate the DWT for an example image in Figure 4. ",
760
+ "bbox": [
761
+ 173,
762
+ 357,
763
+ 825,
764
+ 455
765
+ ],
766
+ "page_idx": 6
767
+ },
768
+ {
769
+ "type": "image",
770
+ "img_path": "images/39ebb784157d2c6edd31b1dadc49ecf3ff916b928f9b9fd1b5f08907bedcccf9.jpg",
771
+ "image_caption": [
772
+ "Figure 4: Left side: an image of a memorial arch dedicated to peace. Right side: visualization of the DWT coefficients for five scales. Three L-shaped sub-images describe coefficients for details in vertical, horizontal, and diagonal orientation at a particular scale. The largest sub-images (the outer L-shape) belong to the lowest scale, i.e., the highest resolution. The smaller L-shaped sub-images gradually build up to higher scales, i.e., lower resolution features. "
773
+ ],
774
+ "image_footnote": [],
775
+ "bbox": [
776
+ 174,
777
+ 483,
778
+ 821,
779
+ 604
780
+ ],
781
+ "page_idx": 6
782
+ },
783
+ {
784
+ "type": "text",
785
+ "text": "CartoonX, as described in Algorithm 1 in Appendix A.1, computes the RDE mask in the wavelet domain of images. More precisely, for the data representation ${ \\bar { \\boldsymbol { x } } } = f ( h )$ , we choose $h$ as the concatenation of all the DWT coefficients along the channels, i.e., $\\boldsymbol { h } _ { i } \\in \\mathbb { R } ^ { c }$ . The representation function $f$ is then the discrete inverse wavelet transform, i.e., the summation of the DWT coefficients times the DWT basis vectors. We optimize the mask $s \\in [ 0 , 1 ] ^ { k }$ on the DWT coefficients $[ h _ { 1 } , \\ldots , h _ { k } ] ^ { T }$ to minimize RDE’s $\\ell _ { 1 }$ -relaxation from Definition 3. For the obfuscation strategy $\\gamma _ { s }$ , we use adaptive Gaussian noise with a partition by the DWT scale (see Section 4.1.2), i.e., we compute the empirical mean and standard deviation per scale. We measure distortion as the squared difference in the postsoftmax score of the predicted label for $x$ (see Section 4.1.3). To visualize the final DWT mask $s$ as a piece-wise smooth image in pixel space, we multiply the mask with the DWT coefficients of the greyscale image $\\hat { x } : = ( 1 \\breve { / c } \\sum _ { l = 1 } ^ { \\hat { c } } x _ { l a i } \\dot { ) } _ { a i }$ before inverting the product back to pixel space with the discrete inverse wavelet transform. The inversion is finally clipped into $[ 0 , 1 ] ^ { w \\times \\dot { t } }$ as are obfuscations during the RDE optimization to avoid overflow (we assume here the pixel values in $x$ are normalized into $[ 0 , 1 ] )$ . The clipped inversion in pixel space is the final explanation, which we call CartoonX. ",
786
+ "bbox": [
787
+ 173,
788
+ 729,
789
+ 825,
790
+ 924
791
+ ],
792
+ "page_idx": 6
793
+ },
794
+ {
795
+ "type": "text",
796
+ "text": "5.2 EXPERIMENTS AND ANALYSIS ",
797
+ "text_level": 1,
798
+ "bbox": [
799
+ 176,
800
+ 103,
801
+ 426,
802
+ 117
803
+ ],
804
+ "page_idx": 7
805
+ },
806
+ {
807
+ "type": "text",
808
+ "text": "We compare CartoonX to the closely related Pixel RDE (Macdonald et al., 2019) and several other state-of-the-art explanation methods , that is, Integrated Gradients (Sundararajan et al., 2017), Smoothgrad (Smilkov et al., 2017), Guided Backprop (Springenberg et al., 2015), and LRP (Bach et al., 2015). Our experiments show that CartoonX carries the following strengths: Cartoon X is (1) highly interpretable due to its cartoon-like nature and (2) remarkably apt at explaining misclassifications, and highlighting meaningful patterns that are otherwise hard to see. Due to the fast implementation of the DWT, Cartoon RDE is not significantly slower than Pixel RDE. For the ImageNet classifier MobileNetV3-Small, an image of 256 times 256 pixels, and 2001 optimization steps, we reported a runtime of 81.56 seconds for CartoonX and 70.53 seconds for Pixel RDE on the NVIDIA Titan RTX GPU. However, like other perturbation-based methods, CartoonX is significantly slower than gradient or propagation-based methods, which only compute a single or few forward and backward passes and are very fast (Integrated Gradients computes an explanation in 0.48 seconds for the same image, model, and hardware). ",
809
+ "bbox": [
810
+ 174,
811
+ 130,
812
+ 825,
813
+ 310
814
+ ],
815
+ "page_idx": 7
816
+ },
817
+ {
818
+ "type": "text",
819
+ "text": "Our experiments use the pre-trained ImageNet classifiers MobileNetV3-Small (Howard et al., 2019) (top-1 accuracy of $6 7 . 6 6 8 \\%$ and VGG16 (Simonyan & Zisserman, 2015) (top-1 accuracy of $7 1 . 5 9 2 \\%$ ). We note that the open-source implementation of LRP did not implement propagation rules for certain layers in MobileNetV3-Small, therefore we compare CartoonX to LRP only for VGG16. Images were preprocessed to have 256 times 256 pixel values in [0, 1]. We provide further details about the choice of hyperparameters in the experiments in Appendix A.2. The three main hyperparameters for CartoonX are: (1) the sparsity level $\\lambda > 0$ , (2) the measure of distortion $d$ , and (3) the obfuscation strategy (perturbation distribution) $\\gamma _ { s }$ . We discuss the sensitivity of CartoonX to these hyperparameters in Appendix A.3. In Appendix A.5, we also shed light on the evolution of ImageNet classifiers from an explanation angle by comparing CartoonX explanations for classifiers of varying generalization power, i.e., AlexNet (Krizhevsky et al., 2012), VGG16 (Simonyan & Zisserman, 2015), InceptionV3 (Szegedy et al., 2016), ResNeXt50 (Xie et al., 2017). Moreover, in Appendix A.4, we argue experimentally why CartoonX is less susceptible than Pixel RDE to so-called explanation artifacts—an unwanted phenomenon that we observed empirically. ",
820
+ "bbox": [
821
+ 173,
822
+ 318,
823
+ 825,
824
+ 401
825
+ ],
826
+ "page_idx": 7
827
+ },
828
+ {
829
+ "type": "image",
830
+ "img_path": "images/0a1f842c7c2f27339003af5f5ca74ec6399ee2beaa7f81924ce3ed1fbaf9fc58.jpg",
831
+ "image_caption": [
832
+ "Figure 5: Each row compares CartoonX explanations of misclassifications by MobileNetV3-Smal to Pixel RDE (Macdonald et al., 2019), Integrated Gradients (Sundararajan et al., 2017), and Smoothgrad (Smilkov et al., 2017). The predicted label is depicted above each misclassified image. "
833
+ ],
834
+ "image_footnote": [],
835
+ "bbox": [
836
+ 176,
837
+ 422,
838
+ 818,
839
+ 772
840
+ ],
841
+ "page_idx": 7
842
+ },
843
+ {
844
+ "type": "text",
845
+ "text": "",
846
+ "bbox": [
847
+ 174,
848
+ 867,
849
+ 823,
850
+ 924
851
+ ],
852
+ "page_idx": 7
853
+ },
854
+ {
855
+ "type": "text",
856
+ "text": "",
857
+ "bbox": [
858
+ 174,
859
+ 103,
860
+ 823,
861
+ 159
862
+ ],
863
+ "page_idx": 8
864
+ },
865
+ {
866
+ "type": "text",
867
+ "text": "In practice, explaining misclassifications is particularly relevant since good explanations can pinpoint model biases and causes for model failures. We observe that CartoonX is particularly good at explaining certain misclassifications, which we illustrate for three examples in Figure 5 and many more in Appendix A.6. In the first row in Figure 5, the input image shows a man holding a dog that was classified as a “diaper”. CartoonX shows the man not holding a dog but a baby, revealing that the neural net associated diapers with babies and babies with the pose with which the man is holding the dog. In the second row, the input image shows a dog sitting on an armchair with leopard patterns. The dog was classified as an “Egyptian cat”, which can exhibit leopard-like patterns. CartoonX exposes the Egyptian cat by connecting the dog’s head to parts of the armchair forming the cat’s torso and legs. In the last row, the input image displays the backside of a man wearing a striped sweater that was classified as a “screw”. CartoonX reveals how the stripe patterns look like a screw to the neural net. ",
868
+ "bbox": [
869
+ 173,
870
+ 166,
871
+ 825,
872
+ 332
873
+ ],
874
+ "page_idx": 8
875
+ },
876
+ {
877
+ "type": "image",
878
+ "img_path": "images/93b3a56308de3770000542d827bd0e4671770354a0f003b0ff69f08314095854.jpg",
879
+ "image_caption": [
880
+ "Figure 6: CartoonX explanations for VGG16 compared to state-of-the-art methods, that is, Pixel RDE (Macdonald et al., 2019), Integrated Gradients (Sundararajan et al., 2017), Smoothgrad (Smilkov et al., 2017), Guided Backprop (Springenberg et al., 2015), and LRP (Bach et al., 2015). "
881
+ ],
882
+ "image_footnote": [],
883
+ "bbox": [
884
+ 181,
885
+ 398,
886
+ 816,
887
+ 630
888
+ ],
889
+ "page_idx": 8
890
+ },
891
+ {
892
+ "type": "text",
893
+ "text": "6 CONCLUSION ",
894
+ "text_level": 1,
895
+ "bbox": [
896
+ 174,
897
+ 724,
898
+ 318,
899
+ 741
900
+ ],
901
+ "page_idx": 8
902
+ },
903
+ {
904
+ "type": "text",
905
+ "text": "CartoonX is the first explainability method to extract the relevant piece-wise smooth part of an image and is based on our novel formulation of the RDE framework. We corroborated experimentally that CartoonX explanations are highly interpretable due to their cartoon-like nature and surprisingly well-suited to explain misclassifications. Nonetheless, Cartoon RDE is still computationally quite expensive, like other perturbation-based explanation methods. In the future, we hope to devise new techniques to speed up the runtime for CartoonX. Moreover, we are pursuing applications of CartoonX beyond explanation tasks, such as detecting adversarial examples. We believe CartoonX is a valuable new explanation method for practitioners and potentially a great source of inspiration for future explanation methods aiming to tailor their explanations to other data domains. Our reformulation and reinterpretation of the RDE framework provide a blueprint for such future work: First, formulate an interpretation query related to the underlying model task, then find a representation system that sparsely represents the class of desirable explanations for the interpretation query. ",
906
+ "bbox": [
907
+ 174,
908
+ 757,
909
+ 825,
910
+ 924
911
+ ],
912
+ "page_idx": 8
913
+ },
914
+ {
915
+ "type": "text",
916
+ "text": "REFERENCES ",
917
+ "text_level": 1,
918
+ "bbox": [
919
+ 176,
920
+ 103,
921
+ 287,
922
+ 117
923
+ ],
924
+ "page_idx": 9
925
+ },
926
+ {
927
+ "type": "text",
928
+ "text": "Sebastian Bach, Alexander Binder, Gregoire Montavon, Frederick Klauschen, Klaus-Robert M ´ uller, ¨ and Wojciech Samek. On pixel-wise explanations for non-linear classifier decisions by layer-wise relevance propagation. PLoS ONE, 10(7):e0130140, 2015. ",
929
+ "bbox": [
930
+ 174,
931
+ 126,
932
+ 825,
933
+ 167
934
+ ],
935
+ "page_idx": 9
936
+ },
937
+ {
938
+ "type": "text",
939
+ "text": "Chun-Hao Chang, Elliot Creager, Anna Goldenberg, and David Duvenaud. Explaining image classifiers by counterfactual generation. In Proceedings of the 7th International Conference on Learning Representations, ICLR, 2019. ",
940
+ "bbox": [
941
+ 176,
942
+ 176,
943
+ 821,
944
+ 218
945
+ ],
946
+ "page_idx": 9
947
+ },
948
+ {
949
+ "type": "text",
950
+ "text": "Arun Das and Paul Rad. Opportunities and challenges in explainable artificial intelligence (xai): A survey. ArXiv, abs/2006.11371, 2020. ",
951
+ "bbox": [
952
+ 171,
953
+ 226,
954
+ 823,
955
+ 256
956
+ ],
957
+ "page_idx": 9
958
+ },
959
+ {
960
+ "type": "text",
961
+ "text": "Ronald A. DeVore. Nonlinear approximation. Acta Numerica, 7:51–150, 1998. ",
962
+ "bbox": [
963
+ 173,
964
+ 263,
965
+ 696,
966
+ 280
967
+ ],
968
+ "page_idx": 9
969
+ },
970
+ {
971
+ "type": "text",
972
+ "text": "Kedar Dhamdhere, Mukund Sundararajan, and Qiqi Yan. How important is a neuron. In International Conference on Learning Representations, 2019. ",
973
+ "bbox": [
974
+ 173,
975
+ 286,
976
+ 825,
977
+ 315
978
+ ],
979
+ "page_idx": 9
980
+ },
981
+ {
982
+ "type": "text",
983
+ "text": "Jesse Engel, Cinjon Resnick, Adam Roberts, Sander Dieleman, Mohammad Norouzi, Douglas Eck, and Karen Simonyan. Neural audio synthesis of musical notes with wavenet autoencoders. In Proceedings of the 34th International Conference on Machine Learning, ICML, volume 70, pp. 1068–1077, 2017. ",
984
+ "bbox": [
985
+ 173,
986
+ 323,
987
+ 825,
988
+ 380
989
+ ],
990
+ "page_idx": 9
991
+ },
992
+ {
993
+ "type": "text",
994
+ "text": "R. C. Fong and A. Vedaldi. Interpretable explanations of black boxes by meaningful perturbation. In Proceedings of 2017 IEEE International Conference on Computer Vision (ICCV), pp. 3449–3457, 2017. ",
995
+ "bbox": [
996
+ 176,
997
+ 387,
998
+ 825,
999
+ 430
1000
+ ],
1001
+ "page_idx": 9
1002
+ },
1003
+ {
1004
+ "type": "text",
1005
+ "text": "Cosmas Heiß, Ron Levie, Cinjon Resnick, Gitta Kutyniok, and Joan Bruna. In-distribution interpretability for challenging modalities. Preprint arXiv:2007.00758, 2020. ",
1006
+ "bbox": [
1007
+ 171,
1008
+ 438,
1009
+ 823,
1010
+ 468
1011
+ ],
1012
+ "page_idx": 9
1013
+ },
1014
+ {
1015
+ "type": "text",
1016
+ "text": "Andrew Howard, Mark Sandler, Bo Chen, Weijun Wang, Liang-Chieh Chen, Mingxing Tan, Grace Chu, Vijay Vasudevan, Yukun Zhu, Ruoming Pang, Hartwig Adam, and Quoc Le. Searching for MobileNetV3. In Proceedings of the 2019 IEEE/CVF International Conference on Computer Vision (ICCV), pp. 1314–1324, 2019. ",
1017
+ "bbox": [
1018
+ 173,
1019
+ 474,
1020
+ 825,
1021
+ 532
1022
+ ],
1023
+ "page_idx": 9
1024
+ },
1025
+ {
1026
+ "type": "text",
1027
+ "text": "Been Kim, M. Wattenberg, J. Gilmer, Carrie J. Cai, James Wexler, F. Viegas, and R. Sayres. Inter- ´ pretability beyond feature attribution: Quantitative testing with concept activation vectors (tcav). In ICML, 2018. ",
1028
+ "bbox": [
1029
+ 173,
1030
+ 540,
1031
+ 823,
1032
+ 582
1033
+ ],
1034
+ "page_idx": 9
1035
+ },
1036
+ {
1037
+ "type": "text",
1038
+ "text": "Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In F. Pereira, C. J. C. Burges, L. Bottou, and K. Q. Weinberger (eds.), Advances in Neural Information Processing Systems, volume 25. Curran Associates, Inc., 2012. ",
1039
+ "bbox": [
1040
+ 173,
1041
+ 590,
1042
+ 823,
1043
+ 633
1044
+ ],
1045
+ "page_idx": 9
1046
+ },
1047
+ {
1048
+ "type": "text",
1049
+ "text": "Gitta Kutyniok and Wang-Q Lim. Compactly supported shearlets are optimally sparse. Journal of Approximation Theory, 163(11):1564–1589, 2011. ISSN 0021-9045. ",
1050
+ "bbox": [
1051
+ 171,
1052
+ 641,
1053
+ 825,
1054
+ 671
1055
+ ],
1056
+ "page_idx": 9
1057
+ },
1058
+ {
1059
+ "type": "text",
1060
+ "text": "Ron Levie, Cagkan Yapar, Gitta Kutyniok, and Giuseppe Caire. Pathloss prediction using deep learning with applications to cellular optimization and efficient d2d link scheduling. In ICASSP 2020 - 2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 8678–8682, 2020. doi: 10.1109/ICASSP40776.2020.9053347. ",
1061
+ "bbox": [
1062
+ 173,
1063
+ 678,
1064
+ 825,
1065
+ 734
1066
+ ],
1067
+ "page_idx": 9
1068
+ },
1069
+ {
1070
+ "type": "text",
1071
+ "text": "Ron Levie, Cagkan Yapar, Gitta Kutyniok, and Giuseppe Caire. RadioUNet: Fast radio map estimation with convolutional neural networks. IEEE Transactions on Wireless Communications, 20 (6):4001–4015, 2021. ",
1072
+ "bbox": [
1073
+ 173,
1074
+ 742,
1075
+ 823,
1076
+ 785
1077
+ ],
1078
+ "page_idx": 9
1079
+ },
1080
+ {
1081
+ "type": "text",
1082
+ "text": "Scott M. Lundberg and Su-In Lee. A unified approach to interpreting model predictions. In Proceedings of the 31st International Conference on Neural Information Processing Systems, NeurIPS, pp. 4768–4777, 2017. ",
1083
+ "bbox": [
1084
+ 171,
1085
+ 794,
1086
+ 825,
1087
+ 837
1088
+ ],
1089
+ "page_idx": 9
1090
+ },
1091
+ {
1092
+ "type": "text",
1093
+ "text": "Jan Macdonald, Stephan Waldchen, Sascha Hauch, and Gitta Kutyniok. A rate-distortion framework ¨ for explaining neural network decisions. Preprint arXiv:1905.11092, 2019. ",
1094
+ "bbox": [
1095
+ 171,
1096
+ 844,
1097
+ 823,
1098
+ 873
1099
+ ],
1100
+ "page_idx": 9
1101
+ },
1102
+ {
1103
+ "type": "text",
1104
+ "text": "A. Nguyen, A. Dosovitskiy, J. Yosinski, T. Brox, and J. Clune. Synthesizing the preferred inputs for neurons in neural networks via deep generator networks. In Advances in Neural Information Processing Systems (NIPS), 2016. ",
1105
+ "bbox": [
1106
+ 176,
1107
+ 881,
1108
+ 823,
1109
+ 924
1110
+ ],
1111
+ "page_idx": 9
1112
+ },
1113
+ {
1114
+ "type": "text",
1115
+ "text": "Matthew O' Shaughnessy, Gregory Canal, Marissa Connor, Christopher Rozell, and Mark Davenport. Generative causal explanations of black-box classifiers. In H. Larochelle, M. Ranzato, R. Hadsell, M. F. Balcan, and H. Lin (eds.), Advances in Neural Information Processing Systems, volume 33, pp. 5453–5467. Curran Associates, Inc., 2020. ",
1116
+ "bbox": [
1117
+ 174,
1118
+ 103,
1119
+ 825,
1120
+ 160
1121
+ ],
1122
+ "page_idx": 10
1123
+ },
1124
+ {
1125
+ "type": "text",
1126
+ "text": "Marco Tulio Ribeiro, Sameer Singh, and Carlos Guestrin. ”Why should I trust you?”: Explaining the predictions of any classifier. In Proceedings of the 22nd International Conference on Knowledge Discovery and Data Mining, ACM SIGKDD, pp. 1135–1144. Association for Computing Machinery, 2016. ISBN 9781450342322. ",
1127
+ "bbox": [
1128
+ 173,
1129
+ 172,
1130
+ 825,
1131
+ 228
1132
+ ],
1133
+ "page_idx": 10
1134
+ },
1135
+ {
1136
+ "type": "text",
1137
+ "text": "Justin K. Romberg, Michael B. Wakin, and Richard G. Baraniuk. Wavelet-domain approximation and compression of piecewise smooth images. IEEE Trans. Image Processing, 15:1071–1087, 2006. ",
1138
+ "bbox": [
1139
+ 171,
1140
+ 241,
1141
+ 823,
1142
+ 284
1143
+ ],
1144
+ "page_idx": 10
1145
+ },
1146
+ {
1147
+ "type": "text",
1148
+ "text": "Avanti Shrikumar, Peyton Greenside, and Anshul Kundaje. Learning important features through propagating activation differences. In Proceedings of the 34th International Conference on Machine Learning, ICML, volume 70, pp. 3145–3153, 2017. ",
1149
+ "bbox": [
1150
+ 174,
1151
+ 296,
1152
+ 825,
1153
+ 339
1154
+ ],
1155
+ "page_idx": 10
1156
+ },
1157
+ {
1158
+ "type": "text",
1159
+ "text": "K. Simonyan, A. Vedaldi, and Andrew Zisserman. Deep inside convolutional networks: Visualising image classification models and saliency maps. CoRR, abs/1312.6034, 2014. ",
1160
+ "bbox": [
1161
+ 176,
1162
+ 351,
1163
+ 821,
1164
+ 381
1165
+ ],
1166
+ "page_idx": 10
1167
+ },
1168
+ {
1169
+ "type": "text",
1170
+ "text": "Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. In International Conference on Learning Representations, 2015. ",
1171
+ "bbox": [
1172
+ 171,
1173
+ 392,
1174
+ 823,
1175
+ 421
1176
+ ],
1177
+ "page_idx": 10
1178
+ },
1179
+ {
1180
+ "type": "text",
1181
+ "text": "Daniel Smilkov, Nikhil Thorat, Been Kim, Fernanda Viegas, and Martin Wattenberg. Smoothgrad: ´ removing noise by adding noise. In Workshop on Visualization for Deep Learning, ICML, 2017. ",
1182
+ "bbox": [
1183
+ 173,
1184
+ 433,
1185
+ 821,
1186
+ 463
1187
+ ],
1188
+ "page_idx": 10
1189
+ },
1190
+ {
1191
+ "type": "text",
1192
+ "text": "J.T. Springenberg, A. Dosovitskiy, T. Brox, and M. Riedmiller. Striving for simplicity: The all convolutional net. In ICLR (workshop track), 2015. ",
1193
+ "bbox": [
1194
+ 171,
1195
+ 474,
1196
+ 823,
1197
+ 503
1198
+ ],
1199
+ "page_idx": 10
1200
+ },
1201
+ {
1202
+ "type": "text",
1203
+ "text": "Mallat Stephane. Chapter 11.3. In Mallat St ´ ephane (ed.), ´ A Wavelet Tour of Signal Processing (Third Edition), pp. 535–610. Academic Press, Boston, third edition edition, 2009a. ISBN 978- 0-12-374370-1. ",
1204
+ "bbox": [
1205
+ 173,
1206
+ 515,
1207
+ 823,
1208
+ 558
1209
+ ],
1210
+ "page_idx": 10
1211
+ },
1212
+ {
1213
+ "type": "text",
1214
+ "text": "Mallat Stephane. Chapter 6. In Mallat St ´ ephane (ed.), ´ A Wavelet Tour of Signal Processing (Third Edition), pp. 232. Academic Press, Boston, third edition edition, 2009b. ISBN 978-0-12-374370- 1. ",
1215
+ "bbox": [
1216
+ 173,
1217
+ 570,
1218
+ 825,
1219
+ 613
1220
+ ],
1221
+ "page_idx": 10
1222
+ },
1223
+ {
1224
+ "type": "text",
1225
+ "text": "Mallat Stephane. In Mallat St ´ ephane (ed.), ´ A Wavelet Tour of Signal Processing (Third Edition), pp. 232. Academic Press, Boston, third edition edition, 2009c. ISBN 978-0-12-374370-1. ",
1226
+ "bbox": [
1227
+ 173,
1228
+ 626,
1229
+ 823,
1230
+ 655
1231
+ ],
1232
+ "page_idx": 10
1233
+ },
1234
+ {
1235
+ "type": "text",
1236
+ "text": "Mukund Sundararajan, Ankur Taly, and Qiqi Yan. Axiomatic attribution for deep networks. In Proceedings of the 34th International Conference on Machine Learning, ICML, volume 70, pp. 3319–3328, 2017. ",
1237
+ "bbox": [
1238
+ 173,
1239
+ 666,
1240
+ 823,
1241
+ 710
1242
+ ],
1243
+ "page_idx": 10
1244
+ },
1245
+ {
1246
+ "type": "text",
1247
+ "text": "Christian Szegedy, Vincent Vanhoucke, Sergey Ioffe, Jonathon Shlens, and Zbigniew Wojna. Rethinking the inception architecture for computer vision. 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 2818–2826, 2016. ",
1248
+ "bbox": [
1249
+ 173,
1250
+ 722,
1251
+ 825,
1252
+ 765
1253
+ ],
1254
+ "page_idx": 10
1255
+ },
1256
+ {
1257
+ "type": "text",
1258
+ "text": "Saining Xie, Ross B. Girshick, Piotr Dollar, Zhuowen Tu, and Kaiming He. Aggregated residual ´ transformations for deep neural networks. 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 5987–5995, 2017. ",
1259
+ "bbox": [
1260
+ 176,
1261
+ 777,
1262
+ 823,
1263
+ 820
1264
+ ],
1265
+ "page_idx": 10
1266
+ },
1267
+ {
1268
+ "type": "text",
1269
+ "text": "A APPENDIX ",
1270
+ "text_level": 1,
1271
+ "bbox": [
1272
+ 176,
1273
+ 849,
1274
+ 299,
1275
+ 866
1276
+ ],
1277
+ "page_idx": 10
1278
+ },
1279
+ {
1280
+ "type": "text",
1281
+ "text": "A.1 CARTOONX ALGORITHM ",
1282
+ "text_level": 1,
1283
+ "bbox": [
1284
+ 176,
1285
+ 882,
1286
+ 393,
1287
+ 897
1288
+ ],
1289
+ "page_idx": 10
1290
+ },
1291
+ {
1292
+ "type": "text",
1293
+ "text": "The final CartoonX algorithm is depicted in Algorithm 1. ",
1294
+ "bbox": [
1295
+ 174,
1296
+ 909,
1297
+ 547,
1298
+ 924
1299
+ ],
1300
+ "page_idx": 10
1301
+ },
1302
+ {
1303
+ "type": "text",
1304
+ "text": "Algorithm 1: CartoonX ",
1305
+ "text_level": 1,
1306
+ "bbox": [
1307
+ 174,
1308
+ 108,
1309
+ 334,
1310
+ 122
1311
+ ],
1312
+ "page_idx": 11
1313
+ },
1314
+ {
1315
+ "type": "table",
1316
+ "img_path": "images/5dee94cf1bc128a847ce9d9adeca502f44bb0180b9f6f21a677be2ba06a66b60.jpg",
1317
+ "table_caption": [],
1318
+ "table_footnote": [],
1319
+ "table_body": "<table><tr><td>AigormmmrT.CartoonA Data: Image x ∈ [0,1]exwxt with c channels and wt pixels, classifier Φ. Result: CartoonX explanation ε ∈ [0,1]w×t for decision Φ(x). Hyperparameters: Sparsity level X &gt; O, number of steps N, number of noise samples L. Initialize mask s := [1,..,1]T ∈ [0,1]k on DWT coefficients h = [h1,.., hk] with x = f(h), where f is the discrete inverse wavelet transform; Compute predicted label j* := arg maxi Φ(x); fori←1toNdo</td></tr><tr><td>Sample L adaptive Gaussian noise samples u(1),., u(L) ~ N(μ,o²); Compute obfuscations y(1), ),.,y(L) with y() := f(h ① s+ (1- s) ①u(i)); Clip obfuscations into [0,1]cx w ×t;</td></tr><tr><td>Approximate expected distortion D(𝑥x,s,Φ) :=∑𝑖=1(Φj+(x)- Φj(y())²/L;</td></tr><tr><td>Compute loss for the mask l(s) := D(x,s,Φ) + λ|lsll1 and gradient Vsl(s); Update mask s with gradient descent step and clip s back to [0,1]k ;</td></tr><tr><td>end Compute wavelet coefficients h for greyscale image x of x;</td></tr><tr><td>Invert wavelet mask s back to pixel space as &amp; := f(h s) ; Clip the explanation ε into [0,1]w×t to obtain ε. Visualize ε;</td></tr></table>",
1320
+ "bbox": [
1321
+ 173,
1322
+ 116,
1323
+ 789,
1324
+ 393
1325
+ ],
1326
+ "page_idx": 11
1327
+ },
1328
+ {
1329
+ "type": "text",
1330
+ "text": "A.2 EXPERIMENT DETAILS ",
1331
+ "text_level": 1,
1332
+ "bbox": [
1333
+ 176,
1334
+ 428,
1335
+ 377,
1336
+ 443
1337
+ ],
1338
+ "page_idx": 11
1339
+ },
1340
+ {
1341
+ "type": "text",
1342
+ "text": "Throughout our experiments with CartoonX and Pixel RDE, we used a learning rate of $\\epsilon = 0 . 0 0 1$ , a sample size of $L = 6 4$ for the adaptive Gaussian noise, and $N = 2 0 0 0$ steps. Several different sparsity levels were used. We recommend specifying the sparsity level in terms of the number of mask entries $k$ , i.e., choosing the product $\\lambda k$ . Pixel RDE typically requires a smaller sparsity level than CartoonX. We chose $\\bar { \\lambda k } \\in [ \\bar { 2 0 } , 8 0 ]$ for CartoonX and $\\bar { \\lambda } k \\in [ 3 , 2 \\bar { 0 } ]$ for Pixel RDE. The obfuscation strategy for Pixel RDE was chosen as Gaussian adaptive noise with mean and standard deviation computed for all pixel values (see Section 4.1.2). In Appendix 8, we show that Gaussian adaptive noise produces much more interpretable explanations than using a zero baseline perturbation. We implemented the DWT for CartoonX with the Pytorch Wavelets package, which is compatible with PyTorch gradient computations, and chose the Daubechies wavelet system with $J = 5$ scales and zero-padding. For the Integrated Gradients method, we used 100 steps, and for the Smoothgrad method, we used 10 samples and a standard deviation of 0.1. ",
1343
+ "bbox": [
1344
+ 173,
1345
+ 457,
1346
+ 825,
1347
+ 623
1348
+ ],
1349
+ "page_idx": 11
1350
+ },
1351
+ {
1352
+ "type": "text",
1353
+ "text": "A.3 SENSITIVITY TO HYPERPARAMETERS ",
1354
+ "text_level": 1,
1355
+ "bbox": [
1356
+ 176,
1357
+ 646,
1358
+ 477,
1359
+ 660
1360
+ ],
1361
+ "page_idx": 11
1362
+ },
1363
+ {
1364
+ "type": "text",
1365
+ "text": "We compare CartoonX’s sensitivity to its main hyperparameters, i.e., the sparsity level $\\lambda$ , the perturbation distribution $\\gamma _ { s }$ , and the distortion measure $\\bar { d ( \\Phi ( x ) , \\Phi ( y ) ) }$ . For each experiment, we fix all but one of the three parameters. ",
1366
+ "bbox": [
1367
+ 176,
1368
+ 674,
1369
+ 825,
1370
+ 715
1371
+ ],
1372
+ "page_idx": 11
1373
+ },
1374
+ {
1375
+ "type": "text",
1376
+ "text": "A.3.1 SENSITVITY TO THE SPARSITY LEVEL $\\lambda$ ",
1377
+ "text_level": 1,
1378
+ "bbox": [
1379
+ 174,
1380
+ 737,
1381
+ 509,
1382
+ 752
1383
+ ],
1384
+ "page_idx": 11
1385
+ },
1386
+ {
1387
+ "type": "text",
1388
+ "text": "Figure 7 plots CartoonX explanations and Pixel RDEs for increasing $\\lambda$ —the hyperparameter determining the explanation’s sparsity in the respective representation system. We find that CartoonX is less sensitive than Pixel RDE to $\\lambda$ . In practice, this means one can find a suitable $\\lambda$ faster for CartoonX than for Pixel RDE. ",
1389
+ "bbox": [
1390
+ 174,
1391
+ 763,
1392
+ 825,
1393
+ 819
1394
+ ],
1395
+ "page_idx": 11
1396
+ },
1397
+ {
1398
+ "type": "text",
1399
+ "text": "A.3.2 SENSITVITY TO THE DISTRIBUTION $\\gamma _ { s }$ ",
1400
+ "text_level": 1,
1401
+ "bbox": [
1402
+ 176,
1403
+ 840,
1404
+ 500,
1405
+ 856
1406
+ ],
1407
+ "page_idx": 11
1408
+ },
1409
+ {
1410
+ "type": "text",
1411
+ "text": "Figure 8 plots CartoonX explanations for two choices of $\\gamma _ { s }$ : (1) Gaussian adaptive noise (see Section 4.1.2) and (2) constant zero perturbations (i.e. $v = 0$ with probability one under $\\gamma _ { s }$ ). We observe that the Gaussian adaptive noise gives much more meaningful explanations than the simple zero baseline perturbations. ",
1412
+ "bbox": [
1413
+ 174,
1414
+ 867,
1415
+ 825,
1416
+ 924
1417
+ ],
1418
+ "page_idx": 11
1419
+ },
1420
+ {
1421
+ "type": "image",
1422
+ "img_path": "images/669376803cf15b48772f47190fc15e7b3958a45c1013353768d96a6ea5ac042a.jpg",
1423
+ "image_caption": [
1424
+ "Figure 7: We compare the sensitivity of CartoonX and Pixel RDE to the sparsity level $\\lambda$ . The top row depicts CartoonX, and the bottom row depicts Pixel RDE, for increasing values of $\\lambda$ . Note that for $\\lambda = 0$ , Pixel RDE is entirely yellow because the mask is initialized as $s ^ { \\check { = } } [ 1 \\ldots 1 ] ^ { T }$ and $\\lambda = 0$ provides no incentive to make s sparser. For the same reason, CatoonX is simply the greyscale image for $\\lambda = 0$ . "
1425
+ ],
1426
+ "image_footnote": [],
1427
+ "bbox": [
1428
+ 183,
1429
+ 102,
1430
+ 820,
1431
+ 444
1432
+ ],
1433
+ "page_idx": 12
1434
+ },
1435
+ {
1436
+ "type": "image",
1437
+ "img_path": "images/014f60850b885dee2e6d5318a68d96e55506ad31ed7a0b81c56dda8b69fa0b6c.jpg",
1438
+ "image_caption": [
1439
+ "Figure 8: We compare the sensitivity of CartoonX to the perturbation distribution $\\gamma _ { s }$ . The top image was classified as a fountain and the bottom image as a viaduct. The second column depicts CartoonX with $\\gamma _ { s }$ as Gaussian adaptive noise, and the third column depicts CartoonX with $\\gamma _ { s }$ as constant zero perturbations (zero baseline). We observe that Gaussian adaptive noise is much more interpretable than the zero baseline. "
1440
+ ],
1441
+ "image_footnote": [],
1442
+ "bbox": [
1443
+ 361,
1444
+ 558,
1445
+ 635,
1446
+ 718
1447
+ ],
1448
+ "page_idx": 12
1449
+ },
1450
+ {
1451
+ "type": "text",
1452
+ "text": "A.3.3 SENSITVITY TO THE DISTORTION MEASURE $d ( \\Phi ( x ) , \\Phi ( y ) )$ ",
1453
+ "text_level": 1,
1454
+ "bbox": [
1455
+ 174,
1456
+ 842,
1457
+ 638,
1458
+ 858
1459
+ ],
1460
+ "page_idx": 12
1461
+ },
1462
+ {
1463
+ "type": "text",
1464
+ "text": "Figure 9 plots CartoonX explanations for the following four choices of $d ( \\Phi ( x ) , \\Phi ( y ) )$ , where $x$ is the original input, $y$ is the RDE obfuscation, and $\\Phi$ outputs post-softmax probabilities: ",
1465
+ "bbox": [
1466
+ 173,
1467
+ 867,
1468
+ 825,
1469
+ 897
1470
+ ],
1471
+ "page_idx": 12
1472
+ },
1473
+ {
1474
+ "type": "text",
1475
+ "text": "1. $d ( \\Phi ( x ) , \\Phi ( y ) ) = ( \\Phi _ { j ^ { * } } ( x ) - \\Phi _ { j ^ { * } } ( y ) ) ^ { 2 }$ , where $j ^ { * } : = \\arg \\operatorname* { m a x } _ { j } \\Phi _ { j } ( x )$ (squared $\\ell _ { 2 }$ in label ) ",
1476
+ "bbox": [
1477
+ 207,
1478
+ 907,
1479
+ 823,
1480
+ 926
1481
+ ],
1482
+ "page_idx": 12
1483
+ },
1484
+ {
1485
+ "type": "text",
1486
+ "text": "2. $d ( \\Phi ( x ) , \\Phi ( y ) ) = ( \\Phi _ { j ^ { * } } ( x ) - 1 ) ^ { 2 }$ , where $j ^ { * } : = \\arg \\operatorname* { m a x } _ { j } \\Phi _ { j } ( x )$ (maximize label) \n3. $d ( \\Phi ( x ) , \\Phi ( y ) ) = \\lVert \\Phi ( x ) - \\Phi ( y ) \\rVert _ { 2 }$ ( $\\ell _ { 2 }$ probabilities) \n4. $d ( \\Phi ( x ) , \\Phi ( y ) ) = K L ( \\Phi ( y ) , \\Phi ( x ) )$ (KL-Divergence) ",
1487
+ "bbox": [
1488
+ 210,
1489
+ 102,
1490
+ 761,
1491
+ 159
1492
+ ],
1493
+ "page_idx": 13
1494
+ },
1495
+ {
1496
+ "type": "text",
1497
+ "text": "The explanations for $d ( \\Phi ( x ) , \\Phi ( y ) )$ as “squared $\\ell _ { 2 }$ in label”, “maximize label”, and ${ } ^ { 6 6 } \\ell _ { 2 }$ probabilities” look indistinguishable. For $\\bar { d } ( \\Phi ( x ) , \\mathbf { \\bar { \\Phi } } ( y ) )$ as KL-Divergence, we see a slightly less smooth explanation, which may be due to the fact that the KL-Divergence is unbounded unlike the other measures of distortion. ",
1498
+ "bbox": [
1499
+ 174,
1500
+ 167,
1501
+ 825,
1502
+ 223
1503
+ ],
1504
+ "page_idx": 13
1505
+ },
1506
+ {
1507
+ "type": "image",
1508
+ "img_path": "images/9187ae880a8b62675d03bda7eac035f50f4ff1e5be910d54d869700c0b8877f3.jpg",
1509
+ "image_caption": [
1510
+ "Figure 9: We compare the sensitivity of CartoonX to four measures of distortion $d ( \\Phi ( x ) , \\Phi ( y ) )$ . Each of the measures of distortion is marked at the top of each column. We observe almost no difference in the CartoonX explanations for the four distortion measures. "
1511
+ ],
1512
+ "image_footnote": [],
1513
+ "bbox": [
1514
+ 271,
1515
+ 236,
1516
+ 727,
1517
+ 397
1518
+ ],
1519
+ "page_idx": 13
1520
+ },
1521
+ {
1522
+ "type": "text",
1523
+ "text": "A.4 RELIABILITY AND EXPLANATION ARTIFACTS ",
1524
+ "text_level": 1,
1525
+ "bbox": [
1526
+ 174,
1527
+ 489,
1528
+ 532,
1529
+ 503
1530
+ ],
1531
+ "page_idx": 13
1532
+ },
1533
+ {
1534
+ "type": "text",
1535
+ "text": "We argue experimentally why CartoonX is more reliable than Pixel RDE for image data. More precisely, we show that CartoonX is less susceptible to so-called explanation artifacts than Pixel RDE. An explanation artifact is an unwanted phenomenon that we observed for Pixel RDE: instead of marking the relevant entries in $x$ , the mask $s$ creates artificial edges that end up making up an artificial class prototype. Explanation artifacts are problematic because they highlight not actual substructures but artificial structures that trigger the classification. Examples for explanation artifacts in Pixel RDE are given in Figure 11. ",
1536
+ "bbox": [
1537
+ 173,
1538
+ 515,
1539
+ 825,
1540
+ 613
1541
+ ],
1542
+ "page_idx": 13
1543
+ },
1544
+ {
1545
+ "type": "image",
1546
+ "img_path": "images/202f6780abcf94eb3a89b7f1a8d763a4bce9c8a43edc6cc45602844f237f5f61.jpg",
1547
+ "image_caption": [
1548
+ "Figure 10: CartoonX and Pixel RDE are both performed on the image of the blue sky. However, both methods are adjusted here to find evidence for the output probabilities of the image of the airplane instead of the blue sky. Pixel RDE, unlike CartoonX, can create an artificial airplane as evidence for an airplane in the smooth blue sky. "
1549
+ ],
1550
+ "image_footnote": [],
1551
+ "bbox": [
1552
+ 261,
1553
+ 628,
1554
+ 689,
1555
+ 727
1556
+ ],
1557
+ "page_idx": 13
1558
+ },
1559
+ {
1560
+ "type": "text",
1561
+ "text": "Pixel RDE can produce artificial edges in smooth regions for the following reason: When $s$ has a curve-like structure in some region, unselected points near $s$ are replaced with perturbations that tend to differ from the values of the curve-like structure in $s$ . Thus, the curve-like structure also appears in the obfuscation and can produce low distortion if the structure makes up a prototypical class feature (see, for example, the airplane in Figure 10). ",
1562
+ "bbox": [
1563
+ 174,
1564
+ 818,
1565
+ 825,
1566
+ 888
1567
+ ],
1568
+ "page_idx": 13
1569
+ },
1570
+ {
1571
+ "type": "text",
1572
+ "text": "We suspect CartoonX is inherently less susceptible to explanation artifacts for the following reason: Natural images tend to be piece-wise smooth, and piece-wise smooth images have sparse high-frequency DWT coefficients that cluster about the edges Stephane (2009b) (see for example ´ Figure 4). For a DWT mask to create artificial edges, it has to select a curve-like structure in the high-frequency coefficients (low-frequency coefficients cannot create edges) and replace surrounding unselected values with different values. However, in CartoonX, perturbations of high-frequency coefficients are Gaussian with low variance centered close to zero (see adaptive Gaussian noise in Section 4.1.2), which are not very different from the values along the selected curve due to the sparsity of the coefficients. ",
1573
+ "bbox": [
1574
+ 173,
1575
+ 895,
1576
+ 823,
1577
+ 924
1578
+ ],
1579
+ "page_idx": 13
1580
+ },
1581
+ {
1582
+ "type": "text",
1583
+ "text": "",
1584
+ "bbox": [
1585
+ 174,
1586
+ 103,
1587
+ 825,
1588
+ 202
1589
+ ],
1590
+ "page_idx": 14
1591
+ },
1592
+ {
1593
+ "type": "text",
1594
+ "text": "We illustrate our previous reasoning about explanation artifacts in a controlled example (see Figure 10). We take an image $x ^ { ( \\mathrm { s k y } ) }$ of a blue sky that is very smooth and an image $x ^ { \\mathrm { ( p l a n e ) } }$ of a airplane. The goal is to show that Pixel RDE, unlike CartoonX, can create artificial evidence for the class airplane on the image of the smooth blue sky. We perform CartoonX and Pixel RDE on the blue sky image with the distortion function ",
1595
+ "bbox": [
1596
+ 174,
1597
+ 208,
1598
+ 825,
1599
+ 279
1600
+ ],
1601
+ "page_idx": 14
1602
+ },
1603
+ {
1604
+ "type": "equation",
1605
+ "img_path": "images/dcde7f43f02e3222daa273a29250cf103f0a708496a49f569bc22f0173240521.jpg",
1606
+ "text": "$$\n\\forall y \\in \\mathbb { R } ^ { n } : \\ d ( \\Phi ( x ^ { ( \\mathrm { s k y } ) } ) , \\Phi ( y ) ) = 1 0 ^ { 6 } \\| \\Phi ( x ^ { ( \\mathrm { p l a n e } ) } ) - \\Phi ( y ) \\| _ { 2 } ,\n$$",
1607
+ "text_format": "latex",
1608
+ "bbox": [
1609
+ 299,
1610
+ 286,
1611
+ 696,
1612
+ 306
1613
+ ],
1614
+ "page_idx": 14
1615
+ },
1616
+ {
1617
+ "type": "text",
1618
+ "text": "and a sparsity level of $\\lambda = 8 0 0 0 0$ . As expected, we observe that Pixel RDE, unlike CartoonX, can create an artificial plane in the smooth blue sky(see Figure 10). ",
1619
+ "bbox": [
1620
+ 173,
1621
+ 311,
1622
+ 828,
1623
+ 340
1624
+ ],
1625
+ "page_idx": 14
1626
+ },
1627
+ {
1628
+ "type": "text",
1629
+ "text": "A.5 EXPLAINING THROUGH IMAGENET HISTORY: FROM ALEXNET TO RESNETXT50",
1630
+ "bbox": [
1631
+ 171,
1632
+ 357,
1633
+ 784,
1634
+ 371
1635
+ ],
1636
+ "page_idx": 14
1637
+ },
1638
+ {
1639
+ "type": "text",
1640
+ "text": "In the deep learning community, it is well-known that AlexNet (Krizhevsky et al., 2012) provided a major breakthrough in deep learning, improving the top-5 error on ImageNet from $2 5 \\%$ to $16 \\%$ . Since then, deep learning based ImageNet classifiers have continued to drastically improve on ImageNet—achieving less than $6 \\%$ top-5 error in 2016. In Figure 12, we compare CartoonX for four ImageNet classifiers with increasing performance, starting with AlexNet (top-1 accuracy $5 6 . 5 5 \\%$ , AlexNet), VGG16 (top-1 accuracy $7 1 . 5 9 \\%$ , Simonyan & Zisserman (2015)), InceptionV3 (top-1 accuracy $7 7 . 2 9 \\%$ , Szegedy et al. (2016)), and ResNeXt50 (top-1 accuracy $7 7 . 6 2 \\%$ , Xie et al. (2017).) Throughout the experiment, the CartoonX hyperparameters for a given image are not changed for any of the four classifiers. ",
1641
+ "bbox": [
1642
+ 174,
1643
+ 382,
1644
+ 825,
1645
+ 508
1646
+ ],
1647
+ "page_idx": 14
1648
+ },
1649
+ {
1650
+ "type": "text",
1651
+ "text": "A.6 EXPLAINING MISCLASSIFICATIONS WITH CARTOONX ",
1652
+ "text_level": 1,
1653
+ "bbox": [
1654
+ 174,
1655
+ 525,
1656
+ 589,
1657
+ 540
1658
+ ],
1659
+ "page_idx": 14
1660
+ },
1661
+ {
1662
+ "type": "text",
1663
+ "text": "In Figure 13, 14, 15, and 16, we provide further examples where CartoonX provides insightful explanations for misclassified images. ",
1664
+ "bbox": [
1665
+ 173,
1666
+ 551,
1667
+ 825,
1668
+ 580
1669
+ ],
1670
+ "page_idx": 14
1671
+ },
1672
+ {
1673
+ "type": "text",
1674
+ "text": "A.7 CARTOONX COMPARED ON RANDOM IMAGENET SAMPLES ",
1675
+ "text_level": 1,
1676
+ "bbox": [
1677
+ 174,
1678
+ 595,
1679
+ 630,
1680
+ 611
1681
+ ],
1682
+ "page_idx": 14
1683
+ },
1684
+ {
1685
+ "type": "text",
1686
+ "text": "Figure 17, 18, 19, and 20 compares CartoonX to Pixel RDE (Macdonald et al., 2019), Integrated Gradients (Sundararajan et al., 2017), Smoothgrad (Smilkov et al., 2017), Guided Backprop (Springenberg et al., 2015), and (Bach et al., 2015) on random Imagenet samples classified by VGG16. ",
1687
+ "bbox": [
1688
+ 174,
1689
+ 622,
1690
+ 825,
1691
+ 665
1692
+ ],
1693
+ "page_idx": 14
1694
+ },
1695
+ {
1696
+ "type": "text",
1697
+ "text": "A.8 CARTOONX FAILURES ",
1698
+ "text_level": 1,
1699
+ "bbox": [
1700
+ 176,
1701
+ 681,
1702
+ 374,
1703
+ 695
1704
+ ],
1705
+ "page_idx": 14
1706
+ },
1707
+ {
1708
+ "type": "text",
1709
+ "text": "We also show failures of CartoonX in Figure 21. These are examples of explanations that are not interpretable and seem to fail at explaining the model prediction. Notably, most failure examples are also not particularly well explained by other state-of-the-art methods. It is challenging to state the underlying reason for the CatoonX failures with certainty (there is always the possibility that the neural net bases its decision on non-interpretable grounds). We intentionally also showed uninterpretable CartoonX explanations that were not too sparse (all or almost black explanations) since one can typically fix these explanations by decreasing $\\lambda$ . ",
1710
+ "bbox": [
1711
+ 174,
1712
+ 707,
1713
+ 825,
1714
+ 806
1715
+ ],
1716
+ "page_idx": 14
1717
+ },
1718
+ {
1719
+ "type": "image",
1720
+ "img_path": "images/4348604dba432b3c96ce1e643eb3ab00bb1b1360ac0508fa151d7742220d33a6.jpg",
1721
+ "image_caption": [
1722
+ "Figure 11: Explanation artifacts in Pixel RDE. We observe that Pixel RDE tends to create edges that are not a subset of the edges in the original input image. These edges can make prototypical artifact patterns such as wrinkles in the cloak (first row), coral tentacles (second row), or chain mail (third row). "
1723
+ ],
1724
+ "image_footnote": [],
1725
+ "bbox": [
1726
+ 186,
1727
+ 58,
1728
+ 807,
1729
+ 849
1730
+ ],
1731
+ "page_idx": 15
1732
+ },
1733
+ {
1734
+ "type": "image",
1735
+ "img_path": "images/6787c0907f2780a91eeba9a8c758e1e7e257500e6962b20c21edad4a037d379c.jpg",
1736
+ "image_caption": [
1737
+ "Figure 12: We compare CatoonX explanations for classifications by AlexNet (Krizhevsky et al., 2012), VGG16 (Simonyan & Zisserman, 2015), InceptionV3 (Szegedy et al., 2016), and ResNeXt50 (Xie et al., 2017). Green labels mark correct classifications and red labels mark wrong classifactions. "
1738
+ ],
1739
+ "image_footnote": [],
1740
+ "bbox": [
1741
+ 281,
1742
+ 160,
1743
+ 714,
1744
+ 824
1745
+ ],
1746
+ "page_idx": 16
1747
+ },
1748
+ {
1749
+ "type": "image",
1750
+ "img_path": "images/eb86233a3b07b868113dda202cab39f6f67461c4de85083de6e1fd8ee8292c8e.jpg",
1751
+ "image_caption": [
1752
+ "Figure 13: Explaining misclassifications with CartoonX on Imagenet and MobileNetV3-Small. "
1753
+ ],
1754
+ "image_footnote": [],
1755
+ "bbox": [
1756
+ 176,
1757
+ 95,
1758
+ 820,
1759
+ 867
1760
+ ],
1761
+ "page_idx": 17
1762
+ },
1763
+ {
1764
+ "type": "image",
1765
+ "img_path": "images/3f5f295b306da0a5156d30d76a6aa194e591059d0eb184994eb42043169014f0.jpg",
1766
+ "image_caption": [
1767
+ "Figure 14: Explaining misclassifications with CartoonX on Imagenet and MobileNetV3-Small. "
1768
+ ],
1769
+ "image_footnote": [],
1770
+ "bbox": [
1771
+ 176,
1772
+ 93,
1773
+ 820,
1774
+ 869
1775
+ ],
1776
+ "page_idx": 18
1777
+ },
1778
+ {
1779
+ "type": "image",
1780
+ "img_path": "images/4ad860b0ac3719256544354b20a3432e1aeb4a028fe6c9a3feb6cb20414bd6e9.jpg",
1781
+ "image_caption": [
1782
+ "Figure 15: Explaining misclassifications with CartoonX on Imagenet and MobileNetV3-Small. "
1783
+ ],
1784
+ "image_footnote": [],
1785
+ "bbox": [
1786
+ 176,
1787
+ 95,
1788
+ 820,
1789
+ 869
1790
+ ],
1791
+ "page_idx": 19
1792
+ },
1793
+ {
1794
+ "type": "image",
1795
+ "img_path": "images/514d598a6d4e95cdbd85c43a862b0a1bd0459a6852d89b3ce2fcb63bcd01792c.jpg",
1796
+ "image_caption": [
1797
+ "Figure 16: Explaining misclassifications with CartoonX on Imagenet and MobileNetV3-Small. "
1798
+ ],
1799
+ "image_footnote": [],
1800
+ "bbox": [
1801
+ 176,
1802
+ 89,
1803
+ 820,
1804
+ 869
1805
+ ],
1806
+ "page_idx": 20
1807
+ },
1808
+ {
1809
+ "type": "image",
1810
+ "img_path": "images/549aeec35ea55596a58c06d2945f8fdf0faa71d75a7db2cd4edec824a94e0c99.jpg",
1811
+ "image_caption": [
1812
+ "Figure 17: Comparing CartoonX on random ImageNet samples and VGG16. "
1813
+ ],
1814
+ "image_footnote": [],
1815
+ "bbox": [
1816
+ 184,
1817
+ 78,
1818
+ 815,
1819
+ 901
1820
+ ],
1821
+ "page_idx": 21
1822
+ },
1823
+ {
1824
+ "type": "image",
1825
+ "img_path": "images/e1ef9c14fd73e7ff8291699ed4e3f48b71162eebae779f16441340c19979e5a0.jpg",
1826
+ "image_caption": [
1827
+ "Figure 18: Comparing CartoonX on random ImageNet samples and VGG16. "
1828
+ ],
1829
+ "image_footnote": [],
1830
+ "bbox": [
1831
+ 183,
1832
+ 141,
1833
+ 813,
1834
+ 844
1835
+ ],
1836
+ "page_idx": 22
1837
+ },
1838
+ {
1839
+ "type": "image",
1840
+ "img_path": "images/0c30ef46b69d0c580910205c2e3cd0a382e2d9d8bbd1b9e1a698153577cf5734.jpg",
1841
+ "image_caption": [
1842
+ "Figure 19: Comparing CartoonX on random ImageNet samples and VGG16. "
1843
+ ],
1844
+ "image_footnote": [],
1845
+ "bbox": [
1846
+ 191,
1847
+ 146,
1848
+ 823,
1849
+ 844
1850
+ ],
1851
+ "page_idx": 23
1852
+ },
1853
+ {
1854
+ "type": "image",
1855
+ "img_path": "images/3768315f4f3a61a9c20715449365266afdeba73a93b2ac05bad3c5f3932bdd09.jpg",
1856
+ "image_caption": [
1857
+ "Figure 20: Comparing CartoonX on random ImageNet samples and VGG16. "
1858
+ ],
1859
+ "image_footnote": [],
1860
+ "bbox": [
1861
+ 184,
1862
+ 137,
1863
+ 816,
1864
+ 843
1865
+ ],
1866
+ "page_idx": 24
1867
+ },
1868
+ {
1869
+ "type": "image",
1870
+ "img_path": "images/0c28c40ebfbba6ad0603ee8dcfcf832c0f8224baf75b313d925f83ad2d28135b.jpg",
1871
+ "image_caption": [
1872
+ "Figure 21: Failures of CartoonX. "
1873
+ ],
1874
+ "image_footnote": [],
1875
+ "bbox": [
1876
+ 176,
1877
+ 94,
1878
+ 820,
1879
+ 869
1880
+ ],
1881
+ "page_idx": 25
1882
+ }
1883
+ ]
parse/dev/RYTBAtyXqJ/RYTBAtyXqJ_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/RYTBAtyXqJ/RYTBAtyXqJ_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/_XNtisL32jv/_XNtisL32jv.md ADDED
@@ -0,0 +1,342 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # TEMPORAL EFFICIENT TRAINING OF SPIKINGNEURAL NETWORK VIA GRADIENT RE-WEIGHTING
2
+
3
+ Shikuang Deng1,2, Yuhang $\mathbf { L i ^ { 3 } }$ , Shanghang Zhang4 & Shi $\mathbf { G u } ^ { 1 , 2 , 5 \boxtimes }$
4
+
5
+ 1University of Electronic Science and Technology of China,
6
+ 2Shenzhen Institute for Advanced Study, UESTC
7
+ 3Yale University, 4Peking University ,5Peng Cheng Laboratory
8
+ dengsk119@std.uestc.edu.cn, yuhang.li@yale.edu, gus@uestc.edu.cn
9
+
10
+ # ABSTRACT
11
+
12
+ Recently, brain-inspired spiking neuron networks (SNNs) have attracted widespread research interest because of their event-driven and energy-efficient characteristics. Still, it is difficult to efficiently train deep SNNs due to the nondifferentiability of its activation function, which disables the typically used gradient descent approaches for traditional artificial neural networks (ANNs). Although the adoption of surrogate gradient (SG) formally allows for the back-propagation of losses, the discrete spiking mechanism actually differentiates the loss landscape of SNNs from that of ANNs, failing the surrogate gradient methods to achieve comparable accuracy as for ANNs. In this paper, we first analyze why the current direct training approach with surrogate gradient results in SNNs with poor generalizability. Then we introduce the temporal efficient training (TET) approach to compensate for the loss of momentum in the gradient descent with SG so that the training process can converge into flatter minima with better generalizability. Meanwhile, we demonstrate that TET improves the temporal scalability of SNN and induces a temporal inheritable training for acceleration. Our method consistently outperforms the SOTA on all reported mainstream datasets, including CIFAR-10/100 and ImageNet. Remarkably on DVS-CIFAR10, we obtained $8 3 \%$ top-1 accuracy, over $\bar { 1 0 \% }$ improvement compared to existing state of the art. Codes are available at https://github.com/Gus-Lab/temporal_ efficient_training.
13
+
14
+ # 1 INTRODUCTION
15
+
16
+ The advantages of Spiking neuron networks (SNNs) lie in their energy-saving and fast-inference computation when embedded on neuromorphic hardware such as TrueNorth (DeBole et al., 2019) and Loihi (Davies et al., 2018). Such advantages originate from the biology-inspired binary spike transmitted mechanism, by which the networks avoid multiplication during inference. On the other hand, this mechanism also leads to difficulty in training very deep SNNs from scratch because the non-differentiable spike transmission hinders the powerful back-propagation approaches like gradient descents. Recently, many studies on converting artificial neuron networks (ANNs) to SNNs have demonstrated SNNs’ comparable power in feature representation as ANNs (Han & Roy, 2020; Deng & Gu, 2020; Li et al., 2021a). Nevertheless, it is commonly agreed that the direct training method for high-performance SNN is still crucial since it distinguishes SNNs from converted ANNs, especially on neuromorphic datasets.
17
+
18
+ The output layer’s spike frequency or the average membrane potential increment is commonly used as inference indicators in SNNs (Shrestha & Orchard, 2018; Kim et al., 2019). The current standard direct training (SDT) methods regard the SNN as RNN and optimize inference indicators’ distribution (Wu et al., 2018). They adopt surrogate gradients (SG) to relieve the non-differentiability (Lee et al., 2016; Wu et al., 2018; Zheng et al., 2021). However, the gradient descent with SG does not match with the loss landscape in SNN and is easy to get trapped in a local minimum with low generalizability. Although using suitable optimizers and weight decay help ease this problem, the performance of deep SNNs trained from scratch still suffers a big deficit compared to that of ANNs Deng et al. (2020). Another training issue is the memory and time consumption, which increases linearly with the simulation time. Rathi & Roy (2020) initializes the target network by a converted SNN to shorten the training epochs, indicating the possibility of high-performance SNN with limited activation time. The training problem due to the non-differentiable activation function has become the main obstruction of spiking neural network development.
19
+
20
+ ![](images/1c0df3e5e42eb5f12b364ae3e1b86c171367176d7d8e201b7cccf8c9ba08687d.jpg)
21
+ Figure 1: Workflow of temporal efficient training (TET). To obtain a more generalized SNN, we modify the optimization target to adjust each moment’s output distribution.
22
+
23
+ In this work, we examine the limitation of the traditional direct training approach with SG and propose the temporal efficient training (TET) algorithm. Instead of directly optimizing the integrated potential, TET optimizes every moment’s pre-synaptic inputs. As a result, it avoids the trap into local minima with low prediction error but a high second-order moment. Furthermore, since the TET applies optimization on each time point, the network naturally has more robust time scalability. Based on this characteristic, we propose the time inheritance training (TIT), which reduces the training time by initializing the SNN with a smaller simulation length. With the help of TET, the performance of SNNs has improved on both static datasets and neuromorphic datasets. Figure 1 depicts the workflow of our approach.
24
+
25
+ The following summarizes our main contributions:
26
+
27
+ • We analyze the problem of training SNN with SG and propose the TET method, a new loss and gradient descent regime that succeeds in obtaining more generalizable SNNs. • We analyze the feasibility of TET and picture the loss landscape under both the SDT and TET setups to demonstrate TET’s advantage in better generalization. • Our sufficient experiments on both static datasets and neuromorphic datasets prove the effectiveness of the TET method. Especially on DVS-CIFAR10, we report $8 3 . 1 \bar { 7 } \%$ top-1 accuracy for the first time, which is over $1 0 \%$ better than the current state-of-the-art result.
28
+
29
+ # 2 RELATED WORK
30
+
31
+ In recent years, SNNs have developed rapidly and received more and more attention from the research community. However, lots of challenging problems remain to be unsolved. In general, most works on SNN training have been carried out in two strategies: ANN-to-SNN conversion and direct training from scratch.
32
+
33
+ ANN-to-SNN Conversion. Conversion approaches avoid the training problem by trading high accuracy through high latency. They convert a high-performing ANN to SNN and adjust the SNN parameters w.r.t the ANN activation value layer-by-layer (Diehl et al., 2015; 2016). Some special techniques have been proposed to reduce the inference latency, such as the subtraction mechanism (Rueckauer et al., 2016; Han et al., 2020), robust normalization Rueckauer et al. (2016), spike-norm (Sengupta et al., 2018), and channel-wise normalization (Kim et al., 2019). Recently, Deng & Gu (2020) decompose the conversion error to each layer and reduce it by bias shift. Li et al. (2021a) suggest using adaptive threshold and layer-wise calibration to obtain high-performance SNNs that require a simulation length of less than 50. However, converted methods significantly extend the inference latency, and they are not suitable for neuromorphic data (Deng et al., 2020).
34
+
35
+ Direct training. In this area, SNNs are regarded as special RNNs and training with BPTT (Neftci et al., 2019). On the backpropagation process, The non-differentiable activation term is replaced with a surrogate gradient (Lee et al., 2016). Compared with ANN-to-SNN conversion, direct training achieves high accuracy with few time steps but suffers more training costs (Deng et al., 2020). Several studies suggest that surrogate gradient (SG) is helpful to obtain high-performance SNNs on both static datasets and neuromorphic datasets (Wu et al., 2019; Shrestha & Orchard, 2018; Li et al., 2021b). On the backpropagation process, SG replaces the Dirac function with various shapes of curves. Exceptionally, Wu et al. (2018) first propose the STBP method and train SNNs on the ANN programming platform, which significantly promotes direct training development. Zheng et al. (2021) further proposes the tdBN algorithm to smooth the loss function and first realize training a large-scale SNN on ImageNet. Zhang & Li (2020) proposes TSSL-BP to break down error backpropagation across two types of inter-neuron and intra-neuron dependencies and achieve low-latency and high accuracy SNNs. Recently, Yang et al. (2021) designed a neighborhood aggregation (NA) method to use the multiple perturbed membrane potential waveforms in the neighborhood to compute the finite difference gradients and guide the weight updates. They significantly decrease the required training iterations and improve the SNN performance.
36
+
37
+ # 3 PRELIMINARY
38
+
39
+ # 3.1 ITERATIVE LIF MODEL
40
+
41
+ We adopt the Leaky Integrate-and-Fire (LIF) model and translate it to an iterative expression with the Euler method (Wu et al., 2019). Mathematically, the membrane potential is updated as
42
+
43
+ $$
44
+ \begin{array} { r } { \pmb { u } ( t + 1 ) = \tau \pmb { u } ( t ) + \pmb { I } ( t ) , } \end{array}
45
+ $$
46
+
47
+ where $\tau$ is the constant leaky factor, ${ \mathbf { } } { \mathbf { } } { \mathbf { } } { \mathbf { } } { \mathbf { } } { \mathbf { } } { \mathbf { } } { \mathbf { } } { \mathbf { } } { \mathbf { } } { \mathbf { } } \mathbf { } { \mathbf { } } \mathbf { } { \mathbf { } } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf \Psi \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf \Psi \Psi \mathbf { } \mathbf { } \mathbf \Psi \mathbf { } \mathbf { } \mathbf \Psi \mathbf { } \mathbf { } \mathbf \Psi \mathbf { } \mathbf \Psi \mathbf { } \mathbf \Psi \mathbf { } \mathbf \mathbf { } \mathbf \Psi \mathbf { } \mathbf \mathbf { } \mathbf \mathbf \Psi \Psi \mathbf { } \mathbf \mathbf \Psi \mathbf { } \mathbf \mathbf \Psi \mathbf { } \mathbf \mathbf \mathbf \Psi \Psi \mathbf { \mathbf } \mathbf \mathbf \mathbf \Psi \mathbf \Psi \mathbf \Psi \mathbf \Psi \mathbf \Psi \mathbf \mathbf \Psi \mathbf \Psi \mathbf \Psi \mathbf \Psi \mathbf \mathbf \Psi \mathbf \mathbf \Psi \mathbf \mathbf \Psi \mathbf \mathbf \mathbf \Psi \mathbf \mathbf \mathbf \mathbf \Psi \mathbf \mathbf \mathbf \mathbf \Psi \mathbf \mathbf \mathbf \mathbf \mathbf \Psi \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf $ is the membrane potential at time $t$ , and $\mathbf { } I ( t )$ denotes the pre-synaptic inputs, which is the product of synaptic weight $\mathbf { W }$ and spiking input ${ \mathbf { } } x ( t )$ . Given a specific threshold $V _ { t h }$ , the neuron fires a spike and ${ \mathbf { } } { \mathbf { } } { \mathbf { } } { \mathbf { } } { \mathbf { } } { \mathbf { } } { \mathbf { } } { \mathbf { } } { \mathbf { } } { \mathbf { } } { \mathbf { } } \mathbf { } { \mathbf { } } \mathbf { } { \mathbf { } } \mathbf { } { \mathbf { } } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf \Psi \mathbf { } \Psi \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf \Psi { } \mathbf \Psi \mathbf { } \mathbf { } \mathbf \Psi \Psi \mathbf { } \mathbf { } \mathbf \Psi \mathbf { } \mathbf \Psi \mathbf { } \mathbf \Psi \Psi \mathbf { } \mathbf \mathbf { } \mathbf \Psi \mathbf { } \mathbf \mathbf { } \mathbf \mathbf \Psi \Psi \mathbf { } \mathbf \mathbf \Psi \Psi \mathbf { } \mathbf \mathbf \Psi \mathbf { } \mathbf \mathbf \Psi \mathbf \Psi \Psi \mathbf \Psi \mathbf { \mathbf } \mathbf \mathbf \Psi \mathbf \Psi \mathbf \Psi \mathbf \mathbf \mathbf \Psi \mathbf \Psi \mathbf \Psi \mathbf \mathbf \Psi \mathbf \Psi \mathbf \mathbf \Psi \mathbf \Psi \mathbf \mathbf \Psi \mathbf \mathbf \Psi \mathbf \mathbf \mathbf \Psi \mathbf \mathbf \mathbf \Psi \mathbf \mathbf \mathbf \Psi \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \Psi \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \Psi \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf $ reset to 0 when the ${ \mathbf { } } { \mathbf { } } { \mathbf { } } { \mathbf { } } { \mathbf { } } { \mathbf { } } { \mathbf { } } { \mathbf { } } { \mathbf { } } { \mathbf { } } { \mathbf { } } \mathbf { } { \mathbf { } } \mathbf { } { \mathbf { } } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf \Psi \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf { } \mathbf \Psi \Psi \mathbf { } \mathbf { } \mathbf \Psi \mathbf { } \mathbf { } \mathbf \Psi \mathbf { } \mathbf { } \mathbf \Psi \mathbf { } \mathbf \Psi \mathbf { } \mathbf \Psi \mathbf { } \mathbf \mathbf { } \mathbf \Psi \mathbf { } \mathbf \mathbf { } \mathbf \mathbf \Psi \Psi \mathbf { } \mathbf \mathbf \Psi \Psi \mathbf { } \mathbf \mathbf \mathbf { } \mathbf \mathbf \Psi \mathbf \Psi \mathbf { \Psi \mathbf } \mathbf \mathbf \Psi \mathbf \Psi \mathbf \mathbf \mathbf \Psi \mathbf \Psi \mathbf \Psi \mathbf \Psi \mathbf \mathbf \Psi \mathbf \Psi \mathbf \mathbf \Psi \mathbf \Psi \mathbf \mathbf \mathbf \Psi \mathbf \mathbf \Psi \mathbf \mathbf \Psi \mathbf \mathbf \mathbf \mathbf \mathbf \Psi \mathbf \mathbf \mathbf \mathbf \Psi \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf \mathbf $ exceeds the threshold. So the firing function and hard reset mechanism can be described as
48
+
49
+ $$
50
+ \pmb { a } ( t + 1 ) = \pmb { \Theta } ( \pmb { u } ( t + 1 ) - V _ { t h } )
51
+ $$
52
+
53
+ $$
54
+ \pmb { u } ( t + 1 ) = \pmb { u } ( t + 1 ) \cdot ( 1 - \pmb { a } ( t + 1 ) ) ,
55
+ $$
56
+
57
+ where $\Theta$ denotes the Heaviside step function. The output spike $\mathbf { \delta } \mathbf { \ } \mathbf { \em a } ( t + 1 )$ will become the post synaptic spike and propagate to the next layer. In this study, we set the starting membrane $\pmb { u } ( 0 )$ to 0, the threshold $V _ { t h }$ to 1, and the leaky factor $\tau$ to 0.5 for all experiments.
58
+
59
+ The last layer’s spike frequency is typically used as the final classification index. However, adopting the LIF model on the last layer will lose information on the membrane potential and damage the performance, especially on complex tasks (Kim et al., 2019). Instead, we integrate the pre-synaptic inputs $\mathbf { } I ( t )$ with no decay or firing (Rathi & Roy, 2020; Fang et al., 2021). Finally, we set the average membrane potential as the classification index and calculate the cross-entropy loss for training.
60
+
61
+ # 3.2 SURROGATE GRADIENT
62
+
63
+ Following the concept of direct training, we regard the SNN as RNN and calculate the gradients through spatial-temporal backpropagation (STBP) (Wu et al., 2018):
64
+
65
+ $$
66
+ \frac { \partial L } { \partial \mathbf { W } } = \sum _ { t } \frac { \partial L } { \partial \pmb { a } ( t ) } \frac { \partial \pmb { a } ( t ) } { \partial \pmb { a } ( t ) } \frac { \partial \pmb { u } ( t ) } { \partial \pmb { I } ( t ) } \frac { \partial \pmb { I } ( t ) } { \partial \mathbf { W } } ,
67
+ $$
68
+
69
+ where the term $\frac { \partial \pmb { a } ( t ) } { \partial \pmb { u } ( t ) }$ is the gradient of the non-differentiability step function involving the derivative of Dirac’s $\delta$ -function that is typically replaced by surrogate gradients with a derivable curve. So far,
70
+
71
+ there are various shapes of surrogate gradients, such as rectangular (Wu et al., 2018; 2019), triangle (Esser et al., 2016; Rathi & Roy, 2020), and exponential (Shrestha & Orchard, 2018) curve. In this work, we choose the surrogate gradients shaped like triangles. Mathematically, it can describe as
72
+
73
+ $$
74
+ \frac { \partial \pmb { a } ( t ) } { \partial \pmb { u } ( t ) } = \frac { 1 } { \gamma ^ { 2 } } \mathrm { m a x } ( 0 , \gamma - | \pmb { u } ( t ) - V _ { t h } | ) ,
75
+ $$
76
+
77
+ where the $\gamma$ denotes the constraint factor that determines the sample range to activate the gradient.
78
+
79
+ # 3.3 BATCH NORMALIZATION FOR SNN
80
+
81
+ Batch Normalization (BN) (Ioffe & Szegedy, 2015) is beneficial to accelerate training and increase performance since it can smooth the loss landscape during training (Santurkar et al., 2018). Zheng et al. (2021) modified the forward time loop form and proposed threshold-dependent Batch Normalization (tdBN) to normalize the pre-synaptic inputs $\pmb { I }$ in both spatial and temporal paradigms so that the BN can support spatial-temporal input. We adopt this setup with the extension of the time dimension to batch dimension 1. In the inference process, the BN layer will be merged into the pre-convolutional layer, thus the inference rule of SNN remain the same but with modified weight:
82
+
83
+ $$
84
+ \hat { \mathbf { W } } \gets \mathbf { W } \frac { \gamma } { \alpha } , \hat { \pmb { b } } \gets \beta + ( \pmb { b } - \mu ) \frac { \gamma } { \alpha } ,
85
+ $$
86
+
87
+ where $\mu , \alpha$ are the running mean and standard deviation on both spatial and temporal paradigm, $\gamma , \beta$ are the affine transformation parameters, and $\mathbf { W } , b$ are the parameters of the pre-convolutional layer.
88
+
89
+ # 4 METHODOLOGY
90
+
91
+ # 4.1 FORMULA OF TRAINING SNN WITH SURROGATE GRADIENTS
92
+
93
+ Standard Direct Training. We use $O ( t )$ to represent pre-synaptic input $\mathbf { } I ( t )$ of the output layer and calculate the cross-entropy loss. The loss function of standard direct training ${ \mathcal { L } } _ { \mathrm { S D T } }$ is:
94
+
95
+ $$
96
+ \mathcal { L } _ { \mathrm { S D T } } = \mathcal { L } _ { \mathrm { C E } } \big ( \frac { 1 } { T } \sum _ { t = 1 } ^ { T } O ( t ) , { \pmb y } \big ) ,
97
+ $$
98
+
99
+ where $T$ is the total simulation time, $\mathcal { L } _ { \mathrm { C E } }$ denotes the cross-entropy loss, and $\textbf { { y } }$ represents the target label. Following the chain rule, we obtain the gradient of $\mathbf { W }$ with softmax $S ( \cdot )$ inference function :
100
+
101
+ $$
102
+ \frac { \partial \mathcal { L } _ { \mathrm { S D T } } } { \partial { \bf W } } = \frac { 1 } { T } \sum _ { t = 1 } ^ { T } [ S ( O _ { \mathrm { m e a n } } ) - \hat { \pmb { y } } ] \frac { \partial O ( t ) } { \partial { \bf W } } ,
103
+ $$
104
+
105
+ where $O _ { \mathrm { m e a n } }$ denotes the average of the output $O ( t )$ over time, and $\hat { y }$ is the one-hot coding of $\textbf { { y } }$ .
106
+
107
+ Temporal Efficient Training. In this section, we come up with a new kind of loss function ${ \mathcal { L } } _ { \mathrm { T E T } }$ to realize temporal efficient training (TET). It constrains the output (pre-synaptic inputs) at each moment to be close to the target distribution. It is described as:
108
+
109
+ $$
110
+ \mathcal { L } _ { \mathrm { T E T } } = \frac { 1 } { T } \cdot \sum _ { t = 1 } ^ { T } \mathcal { L } _ { \mathrm { C E } } [ O ( t ) , { \pmb y } ] .
111
+ $$
112
+
113
+ Recalculate the gradient of weights under the loss function ${ \mathcal { L } } _ { \mathrm { T E T } }$ , and we have:
114
+
115
+ $$
116
+ \frac { \partial \mathcal { L } _ { \mathrm { T E T } } } { \partial { \bf W } } = \frac { 1 } { T } \sum _ { t = 1 } ^ { T } [ S ( \pmb { O } ( t ) ) - \pmb { \hat { y } } ] \cdot \frac { \partial \pmb { O } ( t ) } { \partial { \bf W } } .
117
+ $$
118
+
119
+ # 4.2 CONVERGENCE OF GRADIENT DESCENT FOR SDT V.S. TET
120
+
121
+ In the case of SDT, the gradient consists of two parts, the error term $( S ( O _ { \mathrm { m e a n } } ) - \hat { \pmb y } )$ and the partial derivative of output $\partial { \cal O } \bar { ( } t ) / \partial { \bf W }$ . When the training process reaches near a local minimum, the term $( S ( O _ { \mathrm { m e a n } } ) - \hat { \pmb y } )$ approximates 0 for all $t = 1 , . . . , T$ , ignorant of the term $\partial O ( t ) / \partial \mathbf { W }$ . For traditional ANNs, the accumulated momentum may help get out of the local minima (e.g. saddle point) that typically implies bad generalizability (Kingma & Ba, 2014; Kidambi et al., 2018). However, when the SNN is trained with surrogate gradients, the accumulated momentum could be extremely small, considering the mismatch of gradients and losses. The fact that the activation function is a step one while the SG is bounded with integral constraints. This mismatch dissipates the momentum around a local minimum and stops the SDT from searching for a flatter minimum that may suggest better generalizability.
122
+
123
+ In the case of TET, this issue of mismatch is relieved by reweighting the contribution of $\partial { \cal O } ( t ) / \partial { \bf W }$ . Indeed, considering the fact that the first term $( S ( O ( t ) ) - \hat { { \mathbf { y } } } )$ is impossible to be 0 at every moment of SNN since the early output accuracy on the training set is not $1 0 0 \%$ . So TET needs the second term $\partial { \cal O } ( t ) / \partial { \bf W }$ close to 0 to make the ${ \mathcal { L } } _ { \mathrm { T E T } }$ convergence. This mechanism increases the norm of gradients around sharp local minima and drives the TET to search for a flat local minimum where the disturbance of weight does not cause a huge change in $O ( t )$ .
124
+
125
+ Further, to ensure that the convergence with TET implies the convergence of SDT, we prove the following lemma:
126
+
127
+ Lemma 4.1. $\mathcal { L } _ { S D T }$ is upper bounded by $\mathcal { L } _ { T E T }$
128
+
129
+ Proof. Suppose $O _ { i } ( t )$ and $\hat { y } _ { i }$ denote the i-th component of $O ( t )$ and $\hat { y }$ , respectively. Expand Eqn.9, we have:
130
+
131
+ $$
132
+ \begin{array} { r l } & { \mathcal { L } _ { \mathrm { T E T } } = - \displaystyle \frac { 1 } { T } \sum _ { t = 1 } ^ { T } \sum _ { i = 1 } ^ { n } \hat { y } _ { i } \log S ( \boldsymbol { O } _ { i } ( t ) ) = - \frac { 1 } { T } \sum _ { i = 1 } ^ { n } \hat { y } _ { i } \log ( \prod _ { t = 1 } ^ { T } S ( \boldsymbol { O } _ { i } ( t ) ) ) } \\ & { \quad \quad \quad = - \displaystyle \sum _ { i = 1 } ^ { n } \hat { y } _ { i } \log ( \prod _ { t = 1 } ^ { T } S ( \boldsymbol { O } _ { i } ( t ) ) ) ^ { \frac { 1 } { T } } \geq - \sum _ { i = 1 } ^ { n } \hat { y } _ { i } \log ( \frac { 1 } { T } \sum _ { t = 1 } ^ { T } S ( \boldsymbol { O } _ { i } ( t ) ) ) } \\ & { \quad \quad \quad \geq - \displaystyle \sum _ { i = 1 } ^ { n } \hat { y } _ { i } \log ( S ( \frac { 1 } { T } \sum _ { t = 1 } ^ { T } O _ { i } ( t ) ) ) = \mathcal { L } _ { \mathrm { S D T } } , } \end{array}
133
+ $$
134
+
135
+ where the first inequality is given by the Arithmetic Mean-Geometric Mean Inequality, and the second one is given by Jensen Inequality since the softmax function is convex. As a corollary, once the ${ \mathcal { L } } _ { \mathrm { T E T } }$ gets closed to zero, the original loss function ${ \mathcal { L } } _ { \mathrm { S D T } }$ also approaches zero. □
136
+
137
+ Furthermore, the network output $O ( t )$ at a particular time point may be a particular outlier that dramatically affects the total output since the output of the SNN has the same weight at every moment under the rule of integration. Thus it is necessary to add a regularization term like $\mathcal { L } _ { \mathrm { M S E } }$ loss to confine each moment’s output to reduce the risk of outliers:
138
+
139
+ $$
140
+ \mathcal { L } _ { \mathrm { M S E } } = \frac { 1 } { T } \sum _ { t = 1 } ^ { T } \mathrm { M S E } ( \mathbf { O } ( t ) , \phi ) ,
141
+ $$
142
+
143
+ where $\phi$ is a constant used to regularize the membrane potential distribution. And we set $\phi = V _ { t h }$ in our experiments. In practice, we use a hyperparameter $\lambda$ to adjust the proportion of the regular term, we have:
144
+
145
+ $$
146
+ \mathcal { L } _ { \mathrm { T O T A L } } = ( 1 - \lambda ) \mathcal { L } _ { \mathrm { T E T } } + \lambda \mathcal { L } _ { \mathrm { M S E } } .
147
+ $$
148
+
149
+ It is worth noting that we only changed the loss function in the training process and did not change SNN’s inference rules in the testing phase for a fair comparison. This algorithm is detailed in Algo.1.
150
+
151
+ <table><tr><td>Algorithm1:Temporalefficienttrainingforoneepoch Input: SNN model; Simulation length: T; Threshold: Vth; Training dataset; Validation dataset;</td></tr><tr><td>total training iteration in one epoch: Itrain; total validation iteration in one epoch: Ival</td></tr><tr><td>for all i= 1,2,...Itrain iteration do Get mini-batch training data,and class label: Yi;</td></tr><tr><td>Compute the SNN output Oi(t) of eatch time step;</td></tr><tr><td>Calculate loss function: LTOTAL = (1-λ)LTET + 入LMSE =</td></tr><tr><td>(1-λ):¹∑t=1LcE(O²(t),Yi)+&gt;·¹∑t=1 MSE(Oi(t),𝜙);</td></tr><tr><td>Backpropagation and update model parameters;</td></tr><tr><td>end for all i= 1,2,..Ival iteration do</td></tr><tr><td>Get mini-batch validation data,and class label: Yi;</td></tr><tr><td>T</td></tr><tr><td>Compute the SNN average output Omean = ∑T=1 O(t) over al time step;</td></tr><tr><td>Compare the clasification factor Omean and Yi for classification; end</td></tr></table>
152
+
153
+ # 4.3 TIME INHERITANCE TRAINING
154
+
155
+ SNN demands simulation length long enough to obtain a satisfying performance, but the training time consumption will increase linearly as the simulation length grows. So how to shorten the training time is also an essential problem in the direct training field. Traditional loss function ${ \mathcal { L } } _ { \mathrm { S D T } }$ only optimizes the whole network output under a specific $T$ , so its temporal scalability is poor. Unlike the standard training, TET algorithm optimizes each moment’s output, enabling us to extend the simulation time naturally. We introduce Time Inheritance Training (TIT) to alleviate the training time problem. We first use long epochs to train an SNN with a short simulation time T, e.g., 2. Then, we increase the simulation time to the target value and retrain with short epochs. We discover that TIT performs better than training from scratch on accuracy and significantly saves the training time. Assuming that training an SNN with simulation length $T = 1$ cost $t s$ time per epoch, the SNN needs 300 epochs to train from scratch, and the TIT needs 50 epochs for finetuning. So we need $1 8 0 0 t s$ time to train an SNN with $T = 6$ from scratch, but following the TIT pipeline with the initial $T = 2$ only requires $9 0 0 t s$ . As a result, the TIT can reduce the training time cost by half.
156
+
157
+ # 5 EXPERIMENTS
158
+
159
+ We validate our proposed TET algorithm and compare it with existing works on both static and neuromorphic datasets. The network architectures in this paper include ResNet-19 (Zheng et al., 2021), Spiking-ResNet34 (Zheng et al., 2021), SEW-ResNet34 (Fang et al., 2021), SNN-5, and VGGSNN. SNN-5 (16C3-64C5-AP2-128C5-AP2-256C5-AP2-512C3-AP2-FC) is a simple convolutional SNN suitable for multiple runs to discover statistical rules (Figure A. 7). The architecture of VGGSNN (64C3-128C3-AP2-256C3-256C3-AP2-512C3-512C3-AP2-512C3-512C3-AP2- FC) is based on VGG11 with two fully connected layers removed as we found that additional fully connected layers were unnecessary for neuromorphic datasets.
160
+
161
+ # 5.1 MODEL VALIDATION AND ABLATION STUDY
162
+
163
+ Effectiveness of TET over SDT with SG. We first examine whether the mismatch between SG and loss causes the convergence problem. For this purpose, we set the simulation length to 4 and change the spike function $\Theta$ in Eqn.2 to Sigmoid $\sigma ( \bar { k } \cdot \mathrm { { i n p u t } } )$ . We find that the TET and SDT achieved similar accuracy (Table 2) when $k = 1 , 1 0 , 2 0$ . This indicates that both TET and SDT work when the gradient and loss function match each other. Next, we compare the results training with ${ \mathcal { L } } _ { \mathrm { S D T } }$ and ${ \mathcal { L } } _ { \mathrm { T E T } }$ on SNNs (ResNet-19 on CIFAR100) training with surrogate gradient for three runs. As shown in Table 1, our proposed new TET training strategy dramatically increases the accuracy by $3 . 2 5 \%$ when the simulation time is 4 and $3 . 5 3 \%$ when the simulation time is 6. These results quantitatively support the effectiveness of TET in solving the mismatch between gradient and loss in training SNNs with SG.
164
+
165
+ ![](images/aff831f07e0e329cffab78a14e6c6b9cb6a33fb6860a562c194fcda2f2064b92.jpg)
166
+ Figure 2: Loss landscape of VGGSNN. The 2D landscape of ${ \mathcal { L } } _ { \mathrm { S D T } }$ and ${ \mathcal { L } } _ { \mathrm { T E T } }$ from two different training methods.
167
+
168
+ Table 1: Comparison between SDT and TET. We adopt the SNN architecture ResNet-19 with SG on CIFAR100 and record the results with three different simulation lengths 2, 4, and 6.
169
+
170
+ <table><tr><td>Method</td><td>T=2</td><td>T=4</td><td>T=6</td></tr><tr><td>Direct training</td><td>69.41±0.08</td><td>70.86±0.22</td><td>71.12±0.57</td></tr><tr><td>TET</td><td>72.37±0.21</td><td>74.11±0.18</td><td>74.65±0.12</td></tr></table>
171
+
172
+ Table 2: Comparison of SDT and TET with sigmoid function $\sigma ( k { \cdot } \mathrm { i n p u t } )$ . We fix the simulation length to 4 and record the results of CNN-5 under three different $k$ on CIFAR10.
173
+
174
+ <table><tr><td>Method</td><td>k=1</td><td>k=10</td><td>k=20</td></tr><tr><td>Direct training</td><td>88.00±0.15</td><td>88.83±0.32</td><td>88.50±0.32</td></tr><tr><td>TET</td><td>87.63±0.38</td><td>89.31±0.15</td><td>88.64±0.28</td></tr></table>
175
+
176
+ Loss Landscape around Local Minima. We further inspect the 2D landscapes (Li et al., 2018) of $\mathcal { L } _ { \mathrm { S D T } }$ and ${ \mathcal { L } } _ { \mathrm { T E T } }$ around their local minima (see Figure. 2) to demonstrate why TET generalizes better than SDT and how TET helps the training process jump out of the sharp local minima typically found by SDT. First, comparing Figure. $2 \textrm { A }$ and C, we can see that although the values of local minima achieved by SDT and TET are similar in $\mathcal { L } _ { \mathrm { S D T } }$ , the local minima of TET (Figure. $2 \textrm { C }$ ) is flatter than that of SDT (Figure. $2 \mathrm { \ A }$ ). This indicates that the TET is effective in finding flatter minima that are typically more generalizable even w.r.t the original loss in TET. Next, we examine the two local minima under ${ \mathcal { L } } _ { \mathrm { T E T } }$ to see how it helps jump out the local minima found by SDT. When comparing Figure. 2 B and D, we observe that the local minima found by SDT (Figure. 2 B) is not only sharper than that found by TET (Figure. $2 \mathbf { D }$ ) under ${ \mathcal { L } } _ { \mathrm { S D T } }$ but also maintains a higher loss value. This supports our claim that TET loss cannot be easily minimized around sharp local minima (Figure. $2 \mathrm { \ B }$ ), thus preferable to converge into flatter local minima (Figure. $2 \mathrm { D }$ ). Put together, the results here provide evidence for our reasoning in Section 4.2.
177
+
178
+ Training from SDT to TET. In this part, we further validate the ability of TET to escape from the local minimum found by SDT. We adopt the VGGSNN with 300 epochs training on DVS-CIFAR10. First, we optimize ${ \mathcal { L } } _ { \mathrm { S D T } }$ for 200 epochs and then change the loss function to ${ \mathcal { L } } _ { \mathrm { T E T } }$ after epoch 200. Figure 3 demonstrates the accuracy and loss change on the test set. After 200 epochs training, SDT gets trapped into a local minimum, and the ${ \mathcal { L } } _ { \mathrm { S D T } }$ no longer decreases. The ${ \mathcal { L } } _ { \mathrm { T E T } }$ is much higher than $\mathcal { L } _ { \mathrm { S D T } }$ since SDT does not optimize it. Nevertheless, after we change the loss function to ${ \mathcal { L } } _ { \mathrm { T E T } }$ , the ${ \mathcal { L } } _ { \mathrm { T E T } }$ and $\mathcal { L } _ { \mathrm { S D T } }$ on the test set both have a rapid decline. This phenomenon illustrates the TET ability to help the SNN efficiently jump out of the local minimum with poor generalization and find another flatter local minimum.
179
+
180
+ ![](images/3337c633c01451316aa0cc30732fe1eaeb582425bcdf30fbe135431d8bf36214.jpg)
181
+ Figure 3: TET helps to jump out the local minimum point. We provide the test accuracy (A) and loss $( B )$ change after changing the SDT to TET at epoch 200. TET efficiently improves the test performance and reduces the two kinds of loss.
182
+
183
+ ![](images/086a43f62fe160235967e86bf1fd8d81f8153af1874a2e9a74e352d77d8e5e20.jpg)
184
+ Figure 4: Time scalability robustness and network efficiency of ResNet-19 on CIFAR100. (A) The comparison of training from scratch (dots) and inheriting from a small simulation length (lines). $( B )$ SNN network performance changes with energy consumption.
185
+
186
+ Time Scalability Robustness. Here, we study the time scalability robustness of SNNs trained with TET $( \mathcal { L } _ { \mathrm { T E T } } )$ . First, we use 300 epochs to train a small simulation length ResNet-19 on CIFAR100 as the initial SNN. Then, we directly change the simulation length from 2 to 8 without finetuning and report the network accuracy on the test set. Figure. 4. A displays the results after changing the simulation length. We use 2, 3, and 4, respectively, as the simulation length of the initial network. When we increase the simulation length, the accuracy of all networks gradually increases. After the simulation time reaches a certain value, the network performance will slightly decrease. Interestingly, SNNs trained from scratch ( $\mathrm { T } { = } 4$ and ${ \mathrm { T } } { = } 6$ ) are not as good as those trained following the TIT procedure.
187
+
188
+ Network Efficiency. In this section, we measure the relationship between energy consumption and network performance. SNN avoids multiplication on the inference since its binary activation and event-based operation. The addition operation in SNN costs $0 . 9 p J$ energy while multiplication operation consumes $4 . 6 p J$ measured in $4 5 \mathrm { n m }$ CMOS technology (Rathi & Roy, 2020). In our SNN model, the first layer has multiplication operations, while the other layers only have addition operations. Figure 4. B summarizes the results of different simulation times. In all cases, the SNN obtained by TET has higher efficiency.
189
+
190
+ # 5.2 COMPARISON TO EXITING WORKS
191
+
192
+ In this section, we compare our experimental results with previous works. We validate the full TIT algorithm $( \mathcal { L } _ { \mathrm { T O T A L } } )$ both on the static dataset and neuromorphic dataset. All of the experiment results are summarized in Table 5.2. We specify all the training details in the appendix A.1.
193
+
194
+ CIFAR. We apply TET and TIT algorithm on CIFAR (Krizhevsky et al., 2009), and report the mean and standard deviation of 3 runs under different random seeds. The $\lambda$ is set to 0.05. On CIFAR10, our TET method achieves the highest accuracy above all existing approaches. Even when $T = 2$ , there is a $1 . 8 2 \%$ increment compare to STBP-tdBN with simulation length $T = 6$ . It is worth noting that our method is only $0 . 4 7 \%$ lower than the ANN performance. TET algorithm demonstrates a more excellent ability on CIFAR100. It has an accuracy increase greater than $3 \%$ on all report simulation lengths. In addition, when $T = 6$ , the reported accuracy is only $0 . 6 3 \%$ lower than that of ANN. We can see that the proposed TET’s improvement is even higher on complex data like CIFAR100, where the generalizability of the model distinguishes a lot among minima with different flatness.
195
+
196
+ Table 3: Compare with existing works. Our method improves network performance across all tasks. \* denotes self-implementation results. † denotes data augmentation (Li et al., 2022).
197
+
198
+ <table><tr><td>Dataset</td><td>Model</td><td>Methods</td><td>Architecture</td><td>SimulationLength</td><td>Accuracy</td></tr><tr><td rowspan="10">CIFAR10</td><td>Rathi et al. (2019)</td><td>Hybrid training Diet-SNN</td><td>ResNet-20</td><td>250</td><td>92.22</td></tr><tr><td>Rathi &amp; Roy (2020)</td><td></td><td>ResNet-20</td><td>10</td><td>92.54</td></tr><tr><td>Wu et al. (2018)</td><td>STBP</td><td>CIFARNet</td><td>12</td><td>89.83</td></tr><tr><td>Wu et al. (2019)</td><td>STBP NeuNorm</td><td>CIFARNet</td><td>12</td><td>90.53</td></tr><tr><td>Zhang &amp; Li (2020)</td><td>TSSL-BP</td><td>CIFARNet</td><td>5</td><td>91.41</td></tr><tr><td>Zheng et al. (2021)</td><td>STBP-tdBN</td><td>ResNet-19</td><td>6 4</td><td>93.16 92.92</td></tr><tr><td rowspan="3">our model</td><td rowspan="3">TET</td><td rowspan="3"></td><td>2</td><td>92.34</td></tr><tr><td>6</td><td>94.50±0.07</td></tr><tr><td>4</td><td>94.44±0.08</td></tr><tr><td></td><td></td><td>ResNet-19</td><td>2</td><td>94.16±0.03</td></tr><tr><td rowspan="6">CIFAR100</td><td>ANN*</td><td>ANN</td><td>ResNet-19</td><td>1</td><td>94.97</td></tr><tr><td>Rathi et al. (2019) Rathi &amp; Roy (2020)</td><td>Hybrid training</td><td>VGG-11</td><td>125</td><td>67.87</td></tr><tr><td></td><td>Diet-SNN</td><td>ResNet-20</td><td>5</td><td>64.07 71.12±0.57</td></tr><tr><td rowspan="3">Zheng et al. (2021)*</td><td rowspan="3">STBP-tdBN</td><td rowspan="3">ResNet-19</td><td>6</td><td>70.86±0.22</td></tr><tr><td>4 2</td><td>69.41±0.08</td></tr><tr><td>6</td><td>74.72±0.28</td></tr><tr><td rowspan="5"></td><td>our model</td><td rowspan="2">TET</td><td rowspan="2">ResNet-19</td><td>4</td><td>74.47±0.15</td></tr><tr><td></td><td>2</td><td>72.87±0.10</td></tr><tr><td>ANN* Rathi etal. (2019)</td><td>ANN</td><td>ResNet-19</td><td>1</td><td>75.35</td></tr><tr><td></td><td>Hybrid training SPIKE-NORM</td><td>ResNet-34</td><td>250</td><td>61.48</td></tr><tr><td>Sengupta et al. (2018) Zheng et al. (2021)</td><td>STBP-tdBN</td><td>ResNet-34</td><td>2500</td><td>69.96</td></tr><tr><td rowspan="5">ImageNet</td><td>Fang et al. (2021)</td><td>SEWResNet</td><td>Spiking-ResNet-34</td><td>6</td><td>63.72</td></tr><tr><td></td><td>TET</td><td>SEW-ResNet-34 Spiking-ResNet-34</td><td>4</td><td>67.04 64.79</td></tr><tr><td>our model</td><td>TET</td><td>SEW-ResNet-34</td><td>6 4</td><td>68.00</td></tr><tr><td>Zheng et al. (2021)</td><td>STBP-tdBN</td><td>ResNet-19</td><td>10</td><td>67.8</td></tr><tr><td>Kugele et al. (2020)</td><td>Streaming Rollout</td><td>DenseNet</td><td>10</td><td>66.8</td></tr><tr><td rowspan="5">DVS-CIFAR10</td><td>Wu et al. (2021)</td><td>Conv3D</td><td>LIAF-Net</td><td></td><td>71.70</td></tr><tr><td>Wu et al. (2021)</td><td>LIAF</td><td>LIAF-Net</td><td>10 10</td><td>70.40</td></tr><tr><td rowspan="2">our model</td><td>TET</td><td>VGGSNN</td><td>10</td><td>77.33±0.21</td></tr><tr><td>TETt</td><td>VGGSNN</td><td></td><td>83.17±0.15</td></tr><tr><td></td><td></td><td></td><td>10</td><td></td></tr></table>
199
+
200
+ ImageNet. The training set of ImageNet (Krizhevsky et al., 2012) provides $1 . 2 8 \mathrm { k }$ training samples for each label. We choose the two most representative ResNet-34 to verify our algorithm on ImageNet with $\lambda = 0 . 0 0 1$ . SEW-ResNet34 is not a typical SNN since it adopts the IF model and modifies the Residual structure. Although we only train our model for 120 epochs, the TET algorithm achieves a $1 . 0 7 \%$ increment on Spiking-ResNet-34 and a $0 . 9 6 \%$ increment on SEW-ResNet34.
201
+
202
+ DVS-CIFAR10. The neuromorphic datasets suffer much more noise than static datasets. Thus the well-trained SNN is easier to overfit on these datasets than static datasets. DVS-CIFAR10 (Li et al., 2017), which provides each label with $0 . 9 \mathrm { k }$ training samples, is the most challenging mainstream neuromorphic dataset. Recent works prefer to deal with this dataset by complex architectures, which are more susceptible to overfitting and do not result in very high accuracy. Here, we adopt VGGSNN on the DVS-CIFAR10 dataset, set $\lambda = 0 . 0 0 1$ , and report the mean and standard deviation of 3 runs under different random seeds. Along with data augmentation methods, VGGSNN can achieve an accuracy of $7 7 . 4 \%$ . Then we apply the TET method to obtain a more generalizable optima. The accuracy rises to $8 3 . 1 7 \%$ . Our TET method outperforms existing state-of-the-art by $1 1 . 4 7 \%$ accuracy. Without data augmentation methods, VGGSNN obtains $7 \bar { 3 } . 3 \%$ accuracy by SDT and $7 7 . 3 \%$ accuracy by TET.
203
+
204
+ # 6 CONCLUSION
205
+
206
+ This paper focuses on the SNN generalization problem, which is described as the direct training SNN performs well on the training set but poor on the test set. We find this phenomenon is due to the incorrect SG that makes the SNN easily trapped into a local minimum with poor generalization. To solve this problem, we propose the temporal efficient training algorithm (TET). Extensive experiments verify that our proposed method consistently achieves better performance than the SDT process. Furthermore, TET significantly improves the time scalability robustness of SNN, which enables us to propose the time inheritance training (TIT) to significantly reduce the training time consumption by almost a half.
207
+
208
+ # 7 ACKNOWLEDGMENT
209
+
210
+ This project is supported by NSFC 61876032 and JCYJ20210324140807019. Y. Li completed this work during his prior research assistantship in UESTC.
211
+
212
+ # REFERENCES
213
+
214
+ Mike Davies, Narayan Srinivasa, Tsung-Han Lin, Gautham Chinya, Yongqiang Cao, Sri Harsha Choday, Georgios Dimou, Prasad Joshi, Nabil Imam, Shweta Jain, et al. Loihi: A neuromorphic manycore processor with on-chip learning. Ieee Micro, 38(1):82–99, 2018.
215
+
216
+ Michael V DeBole, Brian Taba, Arnon Amir, Filipp Akopyan, Alexander Andreopoulos, William P Risk, Jeff Kusnitz, Carlos Ortega Otero, Tapan K Nayak, Rathinakumar Appuswamy, et al. Truenorth: Accelerating from zero to 64 million neurons in 10 years. Computer, 52(5):20–29, 2019.
217
+
218
+ Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pp. 248–255. Ieee, 2009.
219
+
220
+ Lei Deng, Yujie Wu, Xing Hu, Ling Liang, Yufei Ding, Guoqi Li, Guangshe Zhao, Peng Li, and Yuan Xie. Rethinking the performance comparison between snns and anns. Neural Networks, 121:294 – 307, 2020.
221
+
222
+ Shikuang Deng and Shi Gu. Optimal conversion of conventional artificial neural networks to spiking neural networks. In International Conference on Learning Representations, 2020.
223
+
224
+ Peter U. Diehl, Daniel Neil, Jonathan Binas, Matthew Cook, and Shih Chii Liu. Fast-classifying, high-accuracy spiking deep networks through weight and threshold balancing. In Neural Networks (IJCNN), 2015 International Joint Conference on, 2015.
225
+
226
+ Peter U Diehl, Guido Zarrella, Andrew Cassidy, Bruno U Pedroni, and Emre Neftci. Conversion of artificial recurrent neural networks to spiking neural networks for low-power neuromorphic hardware. In 2016 IEEE International Conference on Rebooting Computing (ICRC), pp. 1–8. IEEE, 2016.
227
+
228
+ Steven K Esser, Paul A Merolla, John V Arthur, Andrew S Cassidy, Rathinakumar Appuswamy, Alexander Andreopoulos, David J Berg, Jeffrey L McKinstry, Timothy Melano, Davis R Barch, et al. Convolutional networks for fast, energy-efficient neuromorphic computing. Proceedings of the national academy of sciences, 113(41):11441–11446, 2016.
229
+
230
+ Wei Fang, Zhaofei Yu, Yanqi Chen, Tiejun Huang, Timothee Masquelier, and Yonghong Tian. Deep ´ residual learning in spiking neural networks. arXiv preprint arXiv:2102.04159, 2021.
231
+
232
+ Priya Goyal, Piotr Dollar, Ross Girshick, Pieter Noordhuis, Lukasz Wesolowski, Aapo Kyrola, An-´ drew Tulloch, Yangqing Jia, and Kaiming He. Accurate, large minibatch sgd: Training imagenet in 1 hour. arXiv preprint arXiv:1706.02677, 2017.
233
+
234
+ Bing Han and Kaushik Roy. Deep spiking neural network: Energy efficiency through time based coding. In European Conference on Computer Vision, 2020.
235
+
236
+ Bing Han, Gopalakrishnan Srinivasan, and Kaushik Roy. Rmp-snn: Residual membrane potential neuron for enabling deeper high-accuracy and low-latency spiking neural network. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 13558–13567, 2020.
237
+
238
+ 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. PMLR, 2015.
239
+
240
+ Rahul Kidambi, Praneeth Netrapalli, Prateek Jain, and Sham Kakade. On the insufficiency of existing momentum schemes for stochastic optimization. In 2018 Information Theory and Applications Workshop (ITA), pp. 1–9. IEEE, 2018.
241
+
242
+ Seijoon Kim, Seongsik Park, Byunggook Na, and Sungroh Yoon. Spiking-yolo: Spiking neural network for energy-efficient object detection. arXiv preprint arXiv:1903.06530, 2019.
243
+
244
+ Youngeun Kim and Priyadarshini Panda. Visual explanations from spiking neural networks using inter-spike intervals. Scientific reports, 11(1):1–14, 2021.
245
+
246
+ Youngeun Kim, Yeshwanth Venkatesha, and Priyadarshini Panda. Privatesnn: Fully privacypreserving spiking neural networks. arXiv preprint arXiv:2104.03414, 2021.
247
+
248
+ Youngeun Kim, Yuhang Li, Hyoungseob Park, Yeshwanth Venkatesha, and Priyadarshini Panda. Neural architecture search for spiking neural networks. arXiv preprint arXiv:2201.10355, 2022.
249
+
250
+ Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
251
+
252
+ Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. 2009.
253
+
254
+ Alex Krizhevsky, I. Sutskever, and G. Hinton. Imagenet classification with deep convolutional neural networks. Advances in neural information processing systems, 25(2), 2012.
255
+
256
+ Alexander Kugele, Thomas Pfeil, Michael Pfeiffer, and Elisabetta Chicca. Efficient processing of spatio-temporal data streams with spiking neural networks. Frontiers in Neuroscience, 14:439, 2020.
257
+
258
+ Jun Haeng Lee, Tobi Delbruck, and Michael Pfeiffer. Training deep spiking neural networks using backpropagation. Frontiers in neuroscience, 10:508, 2016.
259
+
260
+ Hao Li, Zheng Xu, Gavin Taylor, Christoph Studer, and Tom Goldstein. Visualizing the loss landscape of neural nets. In Proceedings of the 32nd International Conference on Neural Information Processing Systems, pp. 6391–6401, 2018.
261
+
262
+ Hongmin Li, Hanchao Liu, Xiangyang Ji, Guoqi Li, and Luping Shi. Cifar10-dvs: an event-stream dataset for object classification. Frontiers in neuroscience, 11:309, 2017.
263
+
264
+ Yuhang Li, Shikuang Deng, Xin Dong, Ruihao Gong, and Shi Gu. A free lunch from ann: Towards efficient, accurate spiking neural networks calibration. arXiv preprint arXiv:2106.06984, 2021a.
265
+
266
+ Yuhang Li, Yufei Guo, Shanghang Zhang, Shikuang Deng, Yongqing Hai, and Shi Gu. Differentiable spike: Rethinking gradient-descent for training spiking neural networks. Advances in Neural Information Processing Systems, 34, 2021b.
267
+
268
+ Yuhang Li, Youngeun Kim, Hyoungseob Park, Tamar Geller, and Priyadarshini Panda. Neuromorphic data augmentation for training spiking neural networks. arXiv preprint arXiv:2203.06145, 2022.
269
+
270
+ Emre O Neftci, Hesham Mostafa, and Friedemann Zenke. Surrogate gradient learning in spiking neural networks: Bringing the power of gradient-based optimization to spiking neural networks. IEEE Signal Processing Magazine, 36(6):51–63, 2019.
271
+
272
+ Nitin Rathi and Kaushik Roy. Diet-snn: Direct input encoding with leakage and threshold optimization in deep spiking neural networks. arXiv preprint arXiv:2008.03658, 2020.
273
+
274
+ Nitin Rathi, Gopalakrishnan Srinivasan, Priyadarshini Panda, and Kaushik Roy. Enabling deep spiking neural networks with hybrid conversion and spike timing dependent backpropagation. In International Conference on Learning Representations, 2019.
275
+
276
+ Bodo Rueckauer, Iulia-Alexandra Lungu, Yuhuang Hu, and Michael Pfeiffer. Theory and tools for the conversion of analog to spiking convolutional neural networks. arXiv: Statistics/Machine Learning, (1612.04052):0–0, 2016.
277
+
278
+ Ali Samadzadeh, Fatemeh Sadat Tabatabaei Far, Ali Javadi, Ahmad Nickabadi, and Morteza Haghir Chehreghani. Convolutional spiking neural networks for spatio-temporal feature extraction. arXiv preprint arXiv:2003.12346, 2020.
279
+
280
+ Shibani Santurkar, Dimitris Tsipras, Andrew Ilyas, and Aleksander Madry. How does batch normalization help optimization? In Proceedings of the 32nd international conference on neural information processing systems, pp. 2488–2498, 2018.
281
+
282
+ Abhronil Sengupta, Yuting Ye, Robert Wang, Chiao Liu, and Kaushik Roy. Going deeper in spiking neural networks: Vgg and residual architectures. Frontiers in Neuroence, 13, 2018.
283
+
284
+ Sumit Bam Shrestha and Garrick Orchard. Slayer: Spike layer error reassignment in time. In Advances in Neural Information Processing Systems, pp. 1412–1421, 2018.
285
+
286
+ Yujie Wu, Lei Deng, Guoqi Li, Jun Zhu, and Luping Shi. Spatio-temporal backpropagation for training high-performance spiking neural networks. Frontiers in neuroscience, 12:331, 2018.
287
+
288
+ Yujie Wu, Lei Deng, Guoqi Li, Jun Zhu, Yuan Xie, and Luping Shi. Direct training for spiking neural networks: Faster, larger, better. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 33, pp. 1311–1318, 2019.
289
+
290
+ Zhenzhi Wu, Hehui Zhang, Yihan Lin, Guoqi Li, Meng Wang, and Ye Tang. Liaf-net: Leaky integrate and analog fire network for lightweight and efficient spatiotemporal information processing. IEEE Transactions on Neural Networks and Learning Systems, 2021.
291
+
292
+ Yukun Yang, Wenrui Zhang, and Peng Li. Backpropagated neighborhood aggregation for accurate training of spiking neural networks. In International Conference on Machine Learning, pp. 11852–11862. PMLR, 2021.
293
+
294
+ Wenrui Zhang and Peng Li. Temporal spike sequence learning via backpropagation for deep spiking neural networks. arXiv preprint arXiv:2002.10085, 2020.
295
+
296
+ Hanle Zheng, Yujie Wu, Lei Deng, Yifan Hu, and Guoqi Li. Going deeper with directly-trained larger spiking neural networks. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 35, pp. 11062–11070, 2021.
297
+
298
+ # A APPENDIX
299
+
300
+ # A.1 DATASET AND TRAINING DETAIL
301
+
302
+ CIFAR. The CIFAR dataset (Krizhevsky et al., 2009) consists of 50k training images and 10k testing images with the size of $3 2 \times 3 2$ . We use ResNet-19 for both CIFAR10 and CIFAR100. Moreover, random horizontal flip and crop are applied to the training images the augmentation. First, we use 300 epoch to train the SNN with the simulation length $T = 2$ . We use an Adam optimizer with a learning rate of 0.01 and cosine decay to 0. Next, following the TIT algorithm, we increase the simulation time (to 4 and 6) and continue training the SNN for only 50 epochs, with the learning rate changing to $1 e - 4$ .
303
+
304
+ ImageNet. ImageNet (Deng et al., 2009) contains more than $1 2 5 0 \mathrm { k }$ training images and $5 0 \mathrm { k }$ validation images. We crop the images to $2 2 4 \times 2 2 4$ and using the standard augmentation for the training data. We use an SGD optimizer with 0.9 momentum and weight decay $4 e - 5$ . The learning rate is set to 0.1 and cosine decay to 0. We train the SEW-ResNet34 (Fang et al., 2021) with $T = 4$ for 120 epochs. As for the Spiking-ResNet34 (Zheng et al., 2021), we use TIT algorithm to train 90 epochs with $T = 4$ first, then change the simulation time to 6 and finetune the network for 30 epochs. We adopt an Adam optimizer on the finetune phase and change the learning rate to $1 e - 4$ . TIT algorithm significantly reduces the training time consumption since training the Spiking-ResNet34 is extremely slow.
305
+
306
+ DVS-CIFAR10. DVS-CIFAR10 (Li et al., 2017), the most challenging mainstream neuromorphic data set, is converted from CIFAR10. It has 10k images with the size $1 2 8 \times 1 2 8$ . Following Samadzadeh et al. (2020), we divide the data stream into 10 blocks by time and accumulate the spikes in each block. Then, we split the dataset into $9 \mathrm { k }$ training images and $1 \mathrm { k }$ test images and reduce the spatial resolution to $4 8 \times 4 8$ . Random horizontal flip and random roll within 5 pixels are taken as augmentation (Li et al., 2022). We adopt VGGSNN architecture with 300 epochs training on this classification task. And we use an Adam optimizer with the learning rate $1 e - 3$ and cosine decay to 0. As for the case that does not apply any augmentation, we add a weight decay of 5e-4 to the optimizer.
307
+
308
+ # A.2 LSDT LOSS LANDSCAPE OF RESNET-19
309
+
310
+ Here we compare the classification loss $( \mathcal { L } _ { \mathrm { S D T } } )$ landscapes of ResNet-19 on CIFAR100. The position around the local minimal value found by the SDT $( \mathcal { L } _ { \mathrm { { S D T } } } )$ is very sharp. However, the area around the local minimum found by TET $( \mathcal { L } _ { \mathrm { T E T } } )$ is much smoother (Figure 5), which indicates that TET effectively improves the network generalization. Such improvements could be further utilized to other techniques like privacy-preserving data generalization (Kim et al., 2021) and neural architecture search (Kim et al., 2022).
311
+
312
+ ![](images/ec3a5c919a88e624c8ee236df840321cb1292d402cae6ed2e4a7f134e697de42.jpg)
313
+ Figure 5: STD loss landscape of ResNet-19 on CIFAR100 from different training approaches.
314
+
315
+ # A.3 EFFECT OF $\mathcal { L } _ { \mathrm { M S E } }$
316
+
317
+ In this part, we examine the effect of the regular term $\mathcal { L } _ { \mathrm { M S E } }$ with 5 different levels of $\lambda$ . Figure 6 Summarizes the final results. The regular term $\mathcal { L } _ { \mathrm { M S E } }$ effectively increases the performance of both ResNet-19 on CIFAR100 and VGGSNN on DVS-CIFAR10. The static dataset CIFAR100 is more suitable for larger $\lambda$ , while smaller $\lambda$ is suitable for DVS-CIFAR10. Theoretically, it is hard to obtain satisfying performance at the early simulation moment due to the sparseness of neuromorphic datasets. So too large regular term $\mathcal { L } _ { \mathrm { M S E } }$ is not suitable for the neuromorphic dataset. Furthermore, we find that a high $\lambda$ may harm the early training phase on ImageNet, especially if zero-initialize (Goyal et al., 2017) is not performed. As a result, we set $\lambda$ to $5 e - 2$ for CIFAR10 and CIFAR100, $1 e - 3$ for ImageNet and DVS-CIFAR10.
318
+
319
+ ![](images/1dd2e09ae0d1ba0fa6f9db557415a2e61436ffe4627041352f5dae8ffd64e9b0.jpg)
320
+ Figure 6: The accuracy under different levels of $\lambda$ .
321
+
322
+ # A.4 STATISTICAL RESULTS
323
+
324
+ Here we provide statistical results (Figure 7) to prove that the total SNN accuracy is positively associated with every average of moment’s output test accuracy. We train CNN-5 on CIFAR10 for a total of 20 runs with SDT and 5 runs with TET.
325
+
326
+ ![](images/295735f1db530423a1bc9f14bdb244ee4d3157db65b06f1b197a62a8ce989d2a.jpg)
327
+ Figure 7: Statistical results. The overall performance of SNN is highly positively associated with the average accuracy of each moment. The standard training obtains the green dots, while the red dots are trained by the TET method.
328
+
329
+ # A.5 TIME SCALABILITY ROBUSTNESS OF SDT AND TET.
330
+
331
+ Here we first show the test accuracy (ResNet19 on CIFAR100) of the membrane potential increment at each moment instead of the integrated membrane potential. We set the initial simulation length of the SNNs to 3 or 4 and trained them for a full 300 epochs. Then we expand their simulation length to 8. As shown in table 4, TET $( \mathcal { L } _ { \mathrm { T E T } } )$ makes the membrane potential increment at each moment have a higher classification ability than SDT $( \mathcal { L } _ { \mathrm { { S D T } } } )$ . And TET (1.41 and 0.08) also acquires a low accuracy variance than SDT (3.81 and 4.04).
332
+
333
+ Then we compare the time scalability robustness between SDT $( \mathcal { L } _ { \mathrm { { S D T } } } )$ and TET $( \mathcal { L } _ { \mathrm { T E T } } )$ . We set the initial simulation length of ResNet19 SNNs to 2, 3, 4 and train with SDT or TET. Then we gradually increase SNN simulation length to 64 and record test accuracy of the integrated membrane potential.
334
+
335
+ ![](images/8be4907531399e22bedf40aaa0bdeff1ad93013af87033e52d12b9d582926cdd.jpg)
336
+ Figure 8: The accuracy after increasing the simulation length. We first train the SNN with TET (only use $\mathcal { L } _ { \mathrm { T E T } } ,$ ) and SDT ${ ( \mathcal { L } _ { \mathrm { { S D T } } } ) }$ with simulation length (T) is 2, 3, or 4. Then, we increase the simulation to 64 without finetuning and record the test the classification accuracy (A) and the accuracy relative growth rate (B) of the total SNN output (integrate membrane potential) at each simulation time.
337
+
338
+ As we increase the simulation length, all the SNNs’ accuracy will first increase and then be stable in a certain area. Meanwhile, TET (1.80) has a small accuracy variance than the SDT (11.13) after increasing the simulation length. This phenomenon indicates that the initialization steps of TIT only need a small simulation length SNN for TET but a sufficiently large simulation (or enough epochs for finetuning step) for SDT.
339
+
340
+ Table 4: Accuracy of each moment’s membrane potential increment. We use ${ \mathcal { L } } _ { \mathrm { S D T } }$ or ${ \mathcal { L } } _ { \mathrm { T E T } }$ to train the networks with simulation length 3 or 4. Then directly increase their simulation length to 8 and record each moment’s potential increment test accuracy.
341
+
342
+ <table><tr><td>Method</td><td>T=1</td><td>T=2</td><td>T=3</td><td>T=4</td><td>T=5</td><td>T=6</td><td>T=7</td><td>T=8</td></tr><tr><td>SDT (T=3)</td><td>55.61</td><td>57.95</td><td>56.87</td><td>55.09</td><td>57.56</td><td>53.54</td><td>57.72</td><td>54.04</td></tr><tr><td>SDT (T=4)</td><td>37.96</td><td>61.78</td><td>55.03</td><td>56.64</td><td>57.47</td><td>54.24</td><td>58.74</td><td>55.48</td></tr><tr><td>TET (T=3)</td><td>65.97</td><td>72.22</td><td>71.78</td><td>70.55</td><td>71.90</td><td>69.57</td><td>72.15</td><td>69.78</td></tr><tr><td>TET (T=4)</td><td>62.17</td><td>71.57</td><td>71.05</td><td>72.08</td><td>71.77</td><td>71.23</td><td>71.81</td><td>71.36</td></tr></table>
parse/dev/_XNtisL32jv/_XNtisL32jv_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/iEvAf8i6JjO/iEvAf8i6JjO.md ADDED
@@ -0,0 +1,364 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # TRGP: TRUST REGION GRADIENT PROJECTION FORCONTINUAL LEARNING
2
+
3
+ Sen $\mathbf { L i n } ^ { 1 }$ , Li $\mathbf { Y a n g ^ { 1 } }$ , Deliang $\mathbf { F a n } ^ { 1 }$ , Junshan Zhang1,2
4
+ 1School of ECEE, Arizona State University, 2Department of ECE, University of California, Davis
5
+ {slin70, lyang166, dfan}@asu.edu, jazh@ucdavis.edu
6
+
7
+ # ABSTRACT
8
+
9
+ Catastrophic forgetting is one of the major challenges in continual learning. To address this issue, some existing methods put restrictive constraints on the optimization space of the new task for minimizing the interference to old tasks. However, this may lead to unsatisfactory performance for the new task, especially when the new task is strongly correlated with old tasks. To tackle this challenge, we propose Trust Region Gradient Projection (TRGP) for continual learning to facilitate the forward knowledge transfer based on an efficient characterization of task correlation. Particularly, we introduce a notion of ‘trust region’ to select the most related old tasks for the new task in a layer-wise and single-shot manner, using the norm of gradient projection onto the subspace spanned by task inputs. Then, a scaled weight projection is proposed to cleverly reuse the frozen weights of the selected old tasks in the trust region through a layer-wise scaling matrix. By jointly optimizing the scaling matrices and the model, where the model is updated along the directions orthogonal to the subspaces of old tasks, TRGP can effectively prompt knowledge transfer without forgetting. Extensive experiments show that our approach achieves significant improvement over related state-of-the-art methods.
10
+
11
+ # 1 INTRODUCTION
12
+
13
+ Human beings can continuously learn different new tasks without forgetting the learnt knowledge of old tasks in their lifespan. Aiming to achieve this remarkable capability for the deep neural networks (DNNs), continual learning (CL) (Chen & Liu, 2018) has garnered much attention in recent years. Nevertheless, many existing CL methods still leave the DNN vulnerable to forget the knowledge of old tasks when learning new tasks. Such a phenomenon is known as ‘Catastrophic Forgetting’ (McCloskey & Cohen, 1989), which has become one of the major challenges for CL.
14
+
15
+ Many approaches (e.g., (Rusu et al., 2016; Li & Hoiem, 2017; Dhar et al., 2019; Guo et al., 2020; Zeng et al., 2019)) have been proposed to address the forgetting issue, which can be generally divided into two classes depending on the network architecture, i.e., expansion methods and nonexpansion methods. In order to understand the fundamental limit of a fixed capacity neural network, we focus on non-expansion methods in this work. The basic idea for non-expansion methods is to constrain the gradient update either explicitly or implicitly when learning the new task, so as to minimize the introduced interference to old tasks. For example, the regularization-based methods (e.g., (Kirkpatrick et al., 2017; Serra et al., 2018)) penalize the modification on the most important weights of old tasks through model regularizations; experience-replay based methods (e.g., (Shin et al., 2017; Chaudhry et al., 2019)) constrain the gradient directions by replaying the data of old tasks during learning of new tasks, in the format of either real data or synthetic data from generative models; and orthogonal-projection based methods (e.g., (Farajtabar et al., 2020; Saha et al., 2021)) update the model with gradients in the orthogonal directions of old tasks, without the access to old task data. In particular, the recently proposed Gradient Projection Memory (GPM) (Saha et al., 2021) has demonstrated superior performance compared to other approaches.
16
+
17
+ To sufficiently minimize the interference to old tasks, most existing non-expansion methods (particularly the orthogonal-projection based methods), often put restrictive constraints on the optimization space of the new task, which may throttle the learning performance for the new task. A plausible conjecture is that such a scenario is likely to occur when the new task is strongly correlated with old tasks, and in this study we provide evidence to support this conjecture. The underlying rationale is as follows: The weights that are important to the new task are also important to the old tasks strongly correlated with the new task, which are often frozen to address the forgetting in the existing methods; however, they should be updated in the learning of the new task.
18
+
19
+ To tackle this challenge, a key insight is that for a new task that is strongly correlated with old tasks, although the model optimization space could be more restrictive, there should be better forward knowledge transfer from the correlated old tasks to the new task. With this insight, we propose an innovate continual learning approach to facilitate the forward knowledge transfer without forgetting. The main contributions can be summarized as follows:
20
+
21
+ (1) Inspired by (Schulman et al., 2015), we introduce a novel notion of ‘trust region’ based on the norm of gradient projection onto the subspace spanned by task inputs, which selects the old tasks strongly correlated to the new task in a layer-wise and single-shot manner. Intuitively, the new task and the selected old tasks in the trust region have similar input features for the corresponding layer.
22
+
23
+ (2) We propose a novel approach for the new task to leverage the knowledge of the strongly correlated old tasks in the trust region through a scaled weight projection. Particularly, a scaling matrix is learnt in each layer for the new task to scale the weight projection onto the subspace of old tasks in the trust region, in order to reuse the frozen weights of old tasks without modifying the model.
24
+
25
+ (3) Building on the introduced trust region, scaled weight projection, and a module to construct task input subspace, we develop a continual learning approach, trust region gradient projection (TRGP), that jointly optimizes the scaling matrices and the model for the new task. To mitigate the forgetting issue further, the model is updated along the directions orthogonal to the subspaces of old tasks.
26
+
27
+ (4) We evaluate TRGP on standard CL benchmarks using various network architectures. Compared to related state-of-the-art approaches, TRGP achieves substantial performance improvement on all benchmarks, and demonstrates universal improvement on all tasks. The superior performance indicates that TRGP can effectively promote the forward knowledge transfer while alleviating forgetting.
28
+
29
+ # 2 RELATED WORK
30
+
31
+ Expansion-based methods. Expansion-based methods (e.g., (Rusu et al., 2016; Li & Hoiem, 2017; Rosenfeld & Tsotsos, 2018; Hung et al., 2019; Yoon et al., 2017; Li et al., 2019; Veniat et al., 2020)) dynamically expand the network capacity to reduce the interference between the new tasks and the old ones. Progressive Neural Network (PNN) (Rusu et al., 2016) expands the network architecture for new tasks and preserves the weights of old tasks. Learning Without Forgetting (LWF) (Li & Hoiem, 2017) splits the model layers into two parts, i.e., the shared part co-used by all tasks, and the task-specific part which grows for new tasks. Dynamic-Expansion Net (DEN) (Yoon et al., 2017) and Compacting-Picking-Growing (CPG) (Hung et al., 2019) combine the strategies of model compression/pruning, weight selection and model expansion. In order to find the optimal structure for each of the sequential tasks, Reinforced Continual Learning (RCL) (Xu & Zhu, 2018) leverages reinforcement learning and (Li et al., 2019) adapts architecture search. APD (Yoon et al., 2020) adds additional task-specific parameters for each task and selectively learns the task-shared parameters.
32
+
33
+ Regularization-based methods. This category of methods (e.g., (Kirkpatrick et al., 2017; Lee et al., 2017; Chaudhry et al., 2018a; Dhar et al., 2019; Ritter et al., 2018; Schwarz et al., 2018; Zenke et al., 2017)) protect the old tasks by adding regularization terms in the loss function to penalize the model change on their important weights. Notably, to determine the weight importance, Elastic Weight Consolidation (EWC) (Kirkpatrick et al., 2017) leverages Fisher information matrix, HAT (Serra et al., 2018) learns hard attention masks. MAS (Aljundi et al., 2018) evaluates the model outputs sensitivity to the inputs in an unsupervised manner.
34
+
35
+ Memory-based methods. Depending on if data of old tasks is utilized when learning new tasks, memory-based methods can be further divided into the following two categories. 1) Experiencereplay based methods. This class of methods replays the old tasks data along with the current task data to mitigate catastrophic forgetting. Gradient Episodic Memory (GEM) (Lopez-Paz & Ranzato, 2017) and Averaged GEM (A-GEM) (Chaudhry et al., 2018b) alter the current gradient based on the gradient computed with data in the memory. A unified view of episodic memory based methods is proposed in (Guo et al., 2020), based on new approaches are developed to balance between old tasks and the new task. Tiny episodic memory is considered in (Chaudhry et al., 2019) and metalearning is leveraged in (Riemer et al., 2018). 2) Orthogonal-projection based method. To eliminate the need of storing data of old tasks, recently a series work (Zeng et al., 2019; Farajtabar et al., 2020; Saha et al., 2021) updates the model in the orthogonal direction of old tasks, and has shown remarkable performance. Particularly, Orthogonal Weight Modulation (OWM) (Zeng et al., 2019) learns a projector matrix to multiply with the new gradients. Orthogonal Gradient Descent (OGD) (Farajtabar et al., 2020) stores the gradient directions of old tasks and projects the new gradients on the directions orthogonal to the subspace spanned by the old gradients. Gradient Projection Memory (GPM) (Saha et al., 2021) stores the bases of the subspaces spanned by old task data and projects the new gradients on the directions orthogonal to these subspaces.
36
+
37
+ # 3 PROBLEM FORMULATION
38
+
39
+ Continual learning. Consider the setting where a sequence of tasks $\mathbb { T } = \{ t \} _ { t = 1 } ^ { T }$ arrives sequentially. Eacand k i $t$ has a dataset the label vect $\mathbb { D } _ { t } = \{ ( \boldsymbol { x } _ { t , i } , \boldsymbol { y } _ { t , i } ) \} _ { i = 1 } ^ { N _ { t } }$ with paci $N _ { t }$ sample pairs, whereural network with $\mathbf { x } _ { t , i }$ is the input vectoryers, and the set of $\mathbf { \Delta } \mathbf { y } _ { t , i }$ $L$ weights is denoted as $\mathbb { W } = \{ W ^ { l } \} _ { l = 1 } ^ { L }$ , where $W ^ { l }$ is the layer-wise weight for layer $l$ . Given the data input $\boldsymbol { x } _ { t , i }$ for task $t$ , denote $\boldsymbol { x } _ { t , i } ^ { l }$ as the input of layer $l$ and $\pmb { x } _ { t , i } ^ { 1 } = \pmb { x } _ { t , i }$ . The output $\boldsymbol { \mathbf { \mathit { x } } } _ { t , i } ^ { l + 1 }$ for layer $l$ is computed as $\pmb { x } _ { t , i } ^ { l + 1 } = f ( \pmb { W } ^ { l } , \pmb { x } _ { t , i } ^ { l } )$ , where $f$ is the operation of the network layer. Following (Saha et al., 2021), we denote $\boldsymbol { x } _ { t , i } ^ { l }$ as the representations of $\mathbf { x } _ { t , i }$ at layer $l$ . When learning task $t$ , we only have access to dataset $\mathbb { D } _ { t }$ . Let $\mathcal { L } ( \mathbb { W } , \{ ( \pmb { x } _ { t , i } , \pmb { y } _ { t , i } ) \} ) = \mathcal { L } _ { t } ( \mathbb { W } )$ denote the loss function for training, e.g., mean squared and cross-entropy loss, and $\mathbb { W } _ { t }$ denote the model after learning task $t$ .
40
+
41
+ Orthogonal-projection based methods. To minimize the interference to old tasks, recently a series of studies (Zeng et al., 2019; Farajtabar et al., 2020; Saha et al., 2021) has been carried out to update the model for the new task in the direction orthogonal to the subspace spanned by inputs of old tasks. In what follows, we briefly introduce the main ideas through a basic case with two tasks 1 and 2.
42
+
43
+ Denote the subspace spanned by the inputs of task 1 for layer $l$ as $S _ { 1 } ^ { l }$ and the learnt model for task 1 as $\mathbb { W } _ { 1 } = \{ W _ { 1 } ^ { l } \} _ { l = 1 } ^ { L }$ . It is clear that $\pmb { x } _ { 1 , i } ^ { l } \in S _ { 1 } ^ { l }$ . When learning task 2, the model $\pmb { W } _ { 1 } ^ { l }$ will be modified in the direction orthogonal to $S _ { 1 } ^ { l }$ , by either multiplying the gradient $\nabla _ { W ^ { l } } \mathcal { L } _ { 2 }$ with a projector matrix (e.g, (Zeng et al., 2019)), or projecting the gradient $\nabla _ { W ^ { l } } \mathcal { L } _ { 2 }$ onto the orthogonal direction to $S _ { 1 } ^ { l }$ (e.g., (Saha et al., 2021)). Let $\Delta { \cal W } _ { 1 } ^ { l }$ denote the model change after learning task 2. It follows immediately that $\Delta \boldsymbol { W } _ { 1 } ^ { l } \boldsymbol { x } _ { 1 , i } ^ { l } = 0$ , and the model $\boldsymbol { W } _ { 2 } ^ { l }$ for task 2 is $\bar { \mathbf { W } } _ { 2 } ^ { l } = \mathbf { W } _ { 1 } ^ { l } + \bar { \Delta \mathbf { W } } _ { 1 } ^ { l }$ . Therefore, for task 1:
44
+
45
+ which indicates that no interference is introduced to task 1 after learning task 2, thereby addressing the forgetting issue. Such an analysis can be generalized to a sequence of tasks.
46
+
47
+ When would orthogonal projection hinder the learning of a new task? Orthogonal projection provides a promising solution to address the forgetting in continual learning. However, by modifying the model only in the orthogonal direction to the input space of old tasks, the optimization space of learning the new task could be more restrictive, resulting in compromised performance of the new task. To get a more concrete sense, consider the following basic examples with two tasks 1 and 2.
48
+
49
+ (Toy example $I$ ) Suppose task 1 has dataset $\mathbb { D } _ { 1 } \ = \ \{ ( { \boldsymbol { { x } } } _ { i } , { \boldsymbol { { y } } } _ { i } ) \} _ { i = 1 } ^ { N }$ and task 2 has dataset $\mathbb { D } _ { 2 } ~ =$ $\{ ( - \pmb { x } _ { i } , \pmb { y } _ { i } ) \} _ { i = 1 } ^ { N }$ , where only the sign is changed for the input vectors. Consider the case where two tasks share the same classifier (Saha et al., 2021). It is clear that for the $l$ -th layer, the subspace spanned by $\{ \pmb { x } _ { i } ^ { l } \} _ { i = 1 } ^ { N }$ of task 1 is same with the subspace spanned by $\{ - \pmb { x } _ { i } ^ { l } \} _ { i = 1 } ^ { N }$ of task 2, i.e., $S _ { 1 } ^ { l } = S _ { 2 } ^ { l }$ , given the learnt model $\pmb { W } _ { 1 } ^ { l }$ for task 1. Based on the fact that stochastic gradient descent updates lie in the subspace spanned by the data input (Zhang et al., 2021; Saha et al., 2021), it follows that the gradient $\nabla _ { W ^ { l } } \bar { \mathcal { L } } _ { 2 } \in \bar { S } _ { 2 } ^ { l }$ , such that $\nabla _ { W ^ { l } } \bar { \mathcal { L } } _ { 2 } \in S _ { 1 } ^ { l }$ . Therefore, the projection of $\nabla _ { W ^ { l } } \mathcal { L } _ { 2 }$ onto the orthogonal direction to $S _ { 1 } ^ { \bar { l } }$ is 0, which means that the model $W _ { 1 } ^ { l }$ will not be updated when learning task 2, i.e., $W _ { 2 } ^ { l } = \dot { W } _ { 1 } ^ { l }$ . However, the optimal model for task 2 should be $\dot { \pmb { W } } _ { 2 } ^ { l } = - \pmb { W } _ { 1 } ^ { l }$ , because ${ W _ { 1 } ^ { l } } { x _ { i } ^ { l } }$ achieves the minimum loss for the label $\mathbf { \nabla } _ { \mathbf { \psi } _ { 3 } } \mathbf { \psi } _ { 2 } \qquad \mathbf { \psi } _ { 3 } \mathbf { \psi } _ { 4 } \qquad \mathbf { \psi } _ { 3 } \mathbf { \psi } _ { 4 } \qquad \mathbf { \psi } _ { 3 } \mathbf { \psi } _ { 4 } \mathbf { \psi } _ { 3 } \qquad \mathbf { \psi } _ { 4 } \mathbf { \psi } _ { 4 } \mathbf { \psi } _ { 3 } \mathbf { \psi } _ { 4 } \mathbf { \psi } _ { 4 } \mathbf { \psi } _ { 3 } \qquad \mathbf { \psi } _ { 3 } \mathbf { \psi } _ { 4 } \mathbf { \psi } _ { 4 } \mathbf { \psi } _ { 3 } \mathbf { \psi } _ { 4 } \mathbf { \psi } _ { 4 }$ after learning task 1.
50
+
51
+ (Toy example 2) Suppose the input subspace of task 1 is orthogonal to that of task 2, i.e., $S _ { 1 } ^ { l } \perp S _ { 2 } ^ { l }$ . It follows that the projection of $\nabla _ { W ^ { l } } \mathcal { L } _ { 2 }$ onto the orthogonal direction to $S _ { 1 } ^ { l }$ is indeed equal to $\nabla _ { W ^ { l } } \mathcal { L } _ { 2 }$ . Consequently, updating the model for task 2 based on orthogonal projection will not only introduce no interference to task 1, but also move along the direction of steepest descent for task 2.
52
+
53
+ ![](images/8497d678a6ec9a8996e00b8400ce694ef6f8218500cfd8e7cd8b4bcc0811e605.jpg)
54
+ Figure 1: Layer-wise task correlation for the case where the subspace spanned by the representations is a two-dimensional plane. The subspaces are weakly correlated if they are nearly orthogonal and strongly correlated if they are nearly parallel.
55
+
56
+ Motivated by these examples, a plausible conjecture is that naive orthogonal projection could possibly compromise the learning performance of the new task that is strongly correlated with old tasks, especially when the correlation is “negative” as in the toy example 1. In this study, we advocate to characterize the task correlation through the correlation between the input subspaces for two tasks. As illustrated in Fig. 1, when the subspace is 2-dimensional, two tasks are weakly correlated if their input subspaces are nearly orthogonal, and strongly correlated if their subspaces are nearly parallel.
57
+
58
+ # 4 TRUST REGION GRADIENT PROJECTION FOR CONTINUAL LEARNING
59
+
60
+ To tackle these challenges, a key insight is that for a new task that is strongly correlated with old tasks, although the model optimization space could be more restrictive, there should be better forward knowledge transfer from the correlated old tasks to the new task. With this insight, we propose a novel approach to prompt forward knowledge transfer without forgetting, by 1) introducing a novel notion of trust region to select the most related old tasks in a single-shot manner and 2) cleverly reusing the frozen weights of the selected tasks in the trust region with a scaled weight projection.
61
+
62
+ # 4.1 TRUST REGION
63
+
64
+ To facilitate forward knowledge transfer from the correlated old tasks to the new task, the first question is how to efficiently select the most correlated old tasks. Towards this end, we characterize the correlation between the input subspaces for two tasks, through the lens of gradient projection.
65
+
66
+ Specifically, denote $S _ { j } ^ { l } = s p a n \{ B _ { j } ^ { l } \}$ as the subspace spanned by the task $j$ data for layer $l$ , where $B _ { j } ^ { l } = [ \pmb { u } _ { j , 1 } ^ { l } , . . . , \pmb { u } _ { j , M _ { j , l } } ^ { l } ]$ is the bases for $S _ { j } ^ { l }$ (totally $M _ { j , l }$ bases extracted from the input). For any matrix $\pmb { A }$ with a suitable dimension, denote its projection onto the subspace $S _ { j } ^ { l }$ as:
67
+
68
+ $$
69
+ \operatorname { P r o j } _ { { S } _ { j } ^ { l } } ( A ) = A B _ { j } ^ { l } ( B _ { j } ^ { l } ) ^ { \prime }
70
+ $$
71
+
72
+ where $( \cdot ) ^ { \prime }$ is the matrix transpose. We next define a layer-wise trust region for a new task as a set of its most related old tasks, based on the norm of projected gradient onto the subspaces of old tasks.
73
+
74
+ Definition 1 (Layer-Wise Trust Region). For any new task $t \geq 2$ and layer l, we define a layer-wise trust region $\tau \mathcal { R } _ { t } ^ { i } = \{ j \}$ for $j \in [ 1 , t - 1 ]$ , where for any task $j \in \mathcal { T R } _ { t } ^ { l }$ the following holds:
75
+
76
+ $$
77
+ \begin{array} { r } { \| \mathrm { P r o j } _ { S _ { j } ^ { l } } ( \nabla _ { W ^ { l } } \mathcal { L } _ { t } ( \mathbb { W } _ { t - 1 } ) ) \| _ { 2 } \geq \epsilon ^ { l } \| \nabla _ { W ^ { l } } \mathcal { L } _ { t } ( \mathbb { W } _ { t - 1 } ) \| _ { 2 } , } \end{array}
78
+ $$
79
+
80
+ where $\epsilon ^ { l } \in [ 0 , 1 ]$ and $\mathbb { W } _ { t - 1 }$ is the model after learning task $t - 1$ .
81
+
82
+ Intuitively, for the new task $t$ , the norm of its gradient projection onto the subspace of an old task $j$ serves as a surrogate for characterizing the correlation between input subspaces for these two tasks, due to the fact that the gradient lies in the span of its input. When the condition Eq. (3) is satisfied, the gradient $\nabla _ { W ^ { l } } \mathcal { L } _ { t } \big ( \mathbb { W } _ { t - 1 } \big )$ has a large projection onto the subspace of an old task $j$ , which implies that the subspace $S _ { t } ^ { l }$ for task $t$ and the subspace $S _ { j } ^ { l }$ for task $j$ may have sufficient common bases for layer $l$ . In this case, we trust that the old task
83
+
84
+ $$
85
+ \begin{array} { r l } { \nabla _ { W ^ { L } } \varepsilon _ { t } ^ { L } } & { \longrightarrow \frac { \mathrm { T r e s h o l d } \theta _ { t h } ^ { L } } { \varepsilon _ { t } } } \\ { \mathsf { S o } j \in \mathcal { F R } _ { t } ^ { L } } & { \left( \begin{array} { l } { \int _ { - \infty } ^ { t } \mathsf { s } _ { t } \frac { \mathsf { s } _ { t } } { \varepsilon _ { t } } ( \nabla _ { W ^ { L } } \varepsilon _ { t } ) } \\ { \qquad \mathrm { P r o j } _ { s _ { t } ^ { j } } ( \nabla _ { W ^ { L } } \varepsilon _ { t } ) } \end{array} \right) } & { \longrightarrow \begin{array} { l } { S _ { t } ^ { j } \mathsf { t o r t a s k } j } \\ { \qquad \mathsf { W } _ { w ^ { L } } \varepsilon _ { t } \mathsf { f o r t a s k } t } \end{array} } \\ & { \underbrace { \theta _ { s } \theta _ { t h } ^ { L } } _ { \tiny { \mathsf { S o } j \in \mathcal { F R } _ { t } ^ { L } } } \underbrace { \mathsf { W } _ { W ^ { L } } \varepsilon _ { t } } _ { \tiny { \mathsf { P r o j } \mathsf { S u p s } } } } \end{array} \begin{array} { l l } { \nabla _ { W ^ { L } } \varepsilon _ { t } } & { } \\ { \qquad \mathsf { W o l d } \mathsf { S } _ { t } ^ { j } \mathsf { t h o r t a s k } j } \end{array} \\ & { \lesssim o ^ { j } \mathsf { e r t o r t a } \theta _ { t h } ^ { L } \left( \underbrace { \mathsf { T r o } _ { s _ { t - 1 } , \ldots , s _ { t } } } _ { \begin{array} { l } { \mathrm { P r o j } _ { s _ { t } ^ { j } } ( \nabla _ { W ^ { L } } \varepsilon _ { t } ) } \end{array} } \right) } & \longrightarrow \begin{array} { l } { \mathrm { p r o j e c t i o n ~ o f ~ } \nabla _ { W ^ { L } } \varepsilon _ { t } } \\ { \qquad \mathrm { p r o j e c t i o n ~ o f ~ } \nabla _ { W ^ { L } } \varepsilon _ { t } } \end{array}
86
+ $$
87
+
88
+ Figure 2: Trust region for a 2-dimensional subspace can be interpreted as: if the angle $\theta$ between $\nabla _ { W ^ { l } } \mathcal { L } _ { t }$ and $\mathrm { P r o j } _ { S _ { j } ^ { l } } \big ( \nabla _ { W ^ { l } } \mathcal { L } _ { t } \big )$ is less than $\theta _ { t h } ^ { l }$ (larger projection on $S _ { j } ^ { l } )$ , old task $j$ is selected to $\tau { \mathcal R } _ { t } ^ { l }$ ; otherwise not. $\theta _ { t h } ^ { l }$ can be set as a large value, and we can pick tasks with top- $K$ smallest $\theta$ to $\tau { \mathcal R } _ { t } ^ { l }$ .
89
+
90
+ $j$ is strongly correlated with the new task $t$ in layer $l$ , and put it into task $t$ ’s trust region $\tau { \mathcal R } _ { t } ^ { l }$ . A simple illustration of trust region is shown in Figure 2. Note that the notion of trust region can also be generalized to a task-wise definition, where the most correlated old tasks will be selected based on the projection of the entire gradient $\nabla _ { \mathbb { W } } \mathcal { L } _ { t } ( \mathbb { W } _ { t - 1 } )$ . However, the layer-wise trust region could select different tasks for different layers, which provides a more fine-resolution characterization of task correlations in terms of layer-level features.
91
+
92
+ Practical implementation. Besides the valuable functionality provided by the trust region for selecting most correlated old tasks, another significant benefit is the simplicity of its practical implementation. Consider the implementation for learning a new task $t$ .
93
+
94
+ (1) Single-shot manner. Given the learnt model $\mathbb { W } _ { t - 1 }$ , we select a sample batch from dataset $\mathbb { D } _ { t }$ , and compute the gradient $\nabla _ { W ^ { l } } \mathcal { L } _ { t } ( \mathbb { W } _ { t - 1 } )$ in one forward-backward pass for all layers at once. Given the subspace $S _ { j } ^ { l }$ for an old task $j$ , the condition Eq. (3) can be immediately evaluated for all old tasks.
95
+
96
+ (2) Top- $K$ correlated tasks. It is clear that the choice of $\epsilon ^ { l }$ has a nontrivial impact on the selection of the most correlated old tasks. To reduce the sensitivity of the performance on $\epsilon ^ { l }$ , we can set a relatively small value of $\epsilon ^ { l }$ , and pick the top- $K$ old tasks with the largest gradient projection norm $\| \mathrm { P r o j } _ { S _ { j } ^ { l } } ( \nabla _ { W ^ { l } } \mathcal { L } _ { t } ( \mathbb { W } _ { t - 1 } ) ) \| _ { 2 }$ from the tasks satisfying Eq. (3). As demonstrated later in our experiments, setting $K = 1$ is enough to achieve a significant performance improvement.
97
+
98
+ # 4.2 SCALED WEIGHT PROJECTION
99
+
100
+ Given the layer-wise trust region $\tau { \mathcal R } _ { t } ^ { l }$ for the new task $t$ , the next key question is how to efficiently leverage the knowledge of the most correlated old tasks in $\tau { \mathcal R } _ { t } ^ { l }$ for learning task $t$ . To this end, we propose a novel approach to reuse the frozen weights of the selected old tasks in $\tau { \mathcal R } _ { t } ^ { l }$ through a scaled weight projection with a scaling matrix.
101
+
102
+ At the outset, it is of interest to understand what knowledge is preserved for old tasks during continual learning with orthogonal projection. Based on Eq. (1) for the simple case with two learning tasks 1 and 2 as mentioned earlier, it can be shown that
103
+
104
+ where the last equation holds because the model $\pmb { W } _ { 1 } ^ { l }$ is updated in the direction orthogonal to $S _ { 1 } ^ { l }$ when learning task 2. By generalizing Eq. (4) to the case with a sequence of tasks, we can have that for the model $\mathbb { W } _ { t - 1 }$ after learning task $t - 1$ and any old task $j < t$ :
105
+
106
+ which indicates that the model weight projection on the subspace of old tasks is actually “frozen” during continual learning so as to overcome forgetting of the old tasks.
107
+
108
+ On the other hand, because the trust region $\tau { \mathcal R } _ { t } ^ { l }$ is constructed in a way that the subspace $S _ { t } ^ { l }$ of task $t$ is strongly correlated with the subspace $S _ { j } ^ { l }$ for any old task $j \in \mathcal { T R } _ { t } ^ { l }$ , the bases $B _ { j } ^ { l }$ of $S _ { j } ^ { l }$ is very likely to contain important bases for task $t$ . As a result, the weight projection $\mathrm { P r o j } _ { S _ { j } ^ { l } } ( \boldsymbol { W } _ { t - 1 } ^ { l } )$ is important for the new task $t$ and should be modified accordingly in order to guarantee the learning performance of task $t$ , which however has to be frozen to protect task $j$ . To find an efficient way to leverage $\mathrm { P r o j } _ { S _ { j } ^ { l } } ( \bar { \boldsymbol { W } } _ { t - 1 } ^ { l } )$ without modifying it, note that the projection $\mathrm { P r o j } _ { S _ { j } ^ { l } } ( \boldsymbol { W } _ { t - 1 } ^ { l } )$ is indeed a linear combination of the projection of $\mathbf { \Delta } W _ { t - 1 } ^ { l }$ onto each basis in $B _ { j } ^ { l }$ , and every point in $S _ { j } ^ { l }$ can be obtained by scaling the coordinates of $\mathrm { P r o j } _ { S _ { j } ^ { l } } ( \boldsymbol { W } _ { t - 1 } ^ { l } )$ . Figure 3 shows a simple example for two-dimensional subspace. Therefore, we propose a scaled weight projection to find the best point for task $t$ in $S _ { j } ^ { l }$ by leveraging the projection $\mathrm { P r o j } _ { S _ { j } ^ { l } } ( \boldsymbol { W } _ { t - 1 } ^ { l } )$ through a square scaling matrix $Q _ { j , t } ^ { l }$ :
109
+
110
+ ![](images/c2c5885a6c73085ac457c74d95b6a966c7f273dace56e5350d4f83b25d0e7f92.jpg)
111
+ Figure 3: $[ { \pmb u } _ { j , 1 } ^ { l } , { \pmb u } _ { j , 2 } ^ { l } ]$ is the bases of subspace $S _ { j } ^ { l }$ , and $[ c _ { j , 1 } ^ { l } , c _ { j , 2 } ^ { l } ]$ is the coordinate of $\mathrm { P r o j } _ { s _ { j } ^ { l } } ( \pmb { W } _ { t - 1 } ^ { l } )$ . Any point $\mathrm { P r o j } _ { S _ { j } ^ { l } } ( W ^ { l } )$ in $S _ { j } ^ { l }$ can be obtained by scaling the coordinate $[ c _ { j , 1 } ^ { l } , c _ { j , 2 } ^ { l } ]$ with some scalar $s _ { 1 }$ and $s _ { 2 }$ .
112
+
113
+ $$
114
+ \mathrm { P r o j } _ { S _ { j } ^ { l } } ^ { Q } ( { \boldsymbol { W } _ { t - 1 } ^ { l } } ) = W _ { t - 1 } ^ { l } B _ { j } ^ { l } Q _ { j , t } ^ { l } ( { \boldsymbol { B } _ { j } ^ { l } } ) ^ { \prime } .
115
+ $$
116
+
117
+ The dimension of $Q _ { j , t } ^ { l }$ depends on the number of bases in $B _ { j } ^ { l }$ (dimension of $S _ { j } ^ { l } .$ ), which is usually small for each task. In this way, we explicitly transfer the knowledge of the selected old tasks in the trust region $\tau { \mathcal R } _ { t } ^ { l }$ to the new task $t$ through a scaling matrix $Q _ { j , t } ^ { l }$ .
118
+
119
+ # 4.3 TASK SUBSPACE CONSTRUCTION
120
+
121
+ To successfully leverage the trust region, a missing ingredient is the construction of input subspaces of old tasks. We next show how the subspace $S _ { j } ^ { l }$ can be constructed for task $j$ at layer $l$ .
122
+
123
+ For task $j = 1$ . As in (Saha et al., 2021), we obtain the bases $B _ { 1 } ^ { l }$ after learning task 1 using Singular Value Decomposition (SVD) on the representations. Specifically, given the model $\mathbb { W } _ { 1 }$ after learning task 1, we construct a representation matrix $\pmb { R } _ { 1 } ^ { l } = [ \pmb { x } _ { 1 , 1 } ^ { \bar { l } } , . . . , \pmb { x } _ { 1 , n } ^ { \bar { l } } ] \in \mathbb { R } ^ { m \times n }$ with $n$ samples, where each $\pmb { x } _ { 1 , i } ^ { l } \in \mathbb { R } ^ { m }$ , is the representation at layer $l$ by forwarding the sample $_ { \pmb { x } _ { 1 , i } }$ through the network. Then, we apply SVD to the matrix $R _ { 1 } ^ { l }$ , i.e., ${ \pmb R } _ { 1 } ^ { l } = { \pmb U } _ { 1 } ^ { l } { \pmb \Sigma } _ { 1 } ^ { l } ( { \pmb V } _ { 1 } ^ { l } ) ^ { \prime }$ , where ${ \cal U } _ { 1 } ^ { l } = [ { \pmb u } _ { 1 , 1 } ^ { l } , . . . , { \pmb u } _ { 1 , m } ^ { l } ] \in$ $\mathbb { R } ^ { m \times m }$ is an orthogonal matrix with left singular vector $\pmb { u } _ { 1 , i } ^ { l } \in \mathbb { R } ^ { m }$ , $V _ { 1 } ^ { l } = [ \pmb { v } _ { 1 , 1 } ^ { l } , . . . , \pmb { v } _ { 1 , n } ^ { l } ] \in \mathbb { R } ^ { n \times n }$ is an orthogonal matrix with right singular vector $\pmb { v } _ { 1 , i } ^ { l } \in \mathbb { R } ^ { n }$ , and $\pmb { \Sigma } _ { 1 } ^ { l } \in \pmb { R } ^ { m \times n }$ is a rectangular diagonal matrix with non-negative singular values $\{ \sigma _ { 1 , i } ^ { l } \} _ { i = 1 } ^ { \operatorname* { m i n } \{ m , n \} }$ on the diagonal in a descending order. To obtain the bases for subspace $S _ { 1 } ^ { l }$ , we use $k _ { 1 } ^ { l }$ -rank matrix approximation to pick the first left singular vectors in $U _ { 1 } ^ { l }$ , such that the following condition is satisfied for a threshold $\eta _ { t h } ^ { l } \in ( 0 , 1 )$ :
124
+
125
+ $$
126
+ \lVert ( \boldsymbol { R } _ { 1 } ^ { l } ) _ { k _ { 1 } ^ { l } } \rVert _ { F } ^ { 2 } \geq \epsilon _ { t h } ^ { l } \lVert \boldsymbol { R } _ { 1 } ^ { l } \rVert _ { F } ^ { 2 }
127
+ $$
128
+
129
+ where $\begin{array} { r } { ( { \bf R } _ { 1 } ^ { l } ) _ { k _ { 1 } ^ { l } } = \sum _ { i = 1 } ^ { k _ { 1 } ^ { l } } \sigma _ { 1 , i } ^ { l } { \bf u } _ { 1 , i } ^ { l } ( { \bf v } _ { 1 , i } ^ { l } ) ^ { \prime } } \end{array}$ is a $k _ { 1 } ^ { l }$ -rank $( k _ { 1 } ^ { l } \ \leq \ r )$ approximation of the representation matrix $R _ { 1 } ^ { l }$ with rank $r \leq \operatorname* { m i n } \{ m , n \}$ , and $\| \cdot \| _ { F }$ is the Frobenius norm. Then the bases $B _ { 1 } ^ { l }$ for subspace $\mathbf { \bar { \it S } } _ { 1 } ^ { l }$ can be constructed as $B _ { 1 } ^ { l } = [ \pmb { u } _ { 1 , 1 } ^ { l } , . . . , \pmb { u } _ { 1 , k _ { 1 } ^ { l } } ^ { l } ]$ .
130
+
131
+ For task $j \in [ 2 , T ]$ . We construct the bases $B _ { j } ^ { l }$ after learning task $j$ given the learnt model $\mathbb { W } _ { j }$ . A representation matrix $R _ { j } ^ { l }$ will be first obtained in the same manner as $R _ { 1 } ^ { l }$ . Note that the bases $\{ B _ { i } ^ { l } \} _ { i = 1 } ^ { j - 1 }$ learnt for old tasks may include important bases for task $j$ . Therefore, we learn the bases $B _ { j } ^ { l }$ by selecting the most important bases from both bases of old tasks and newly constructed bases. Specifically, (1) (old bases) we first concatenate the bases $\{ B _ { i } ^ { l } \} _ { i = 1 } ^ { j - 1 }$ of old tasks together in $M _ { j } ^ { l }$ and eliminate the common bases. For each basis $\pmb { u } _ { i } ^ { l } \in { \cal M } _ { j } ^ { l }$ , we compute the corresponding eigenvalue of ${ \cal R } _ { j } ^ { l } ( { \cal R } _ { j } ^ { l } ) ^ { \prime }$ , i.e., $\delta _ { i } ^ { l } = ( \mathbf { \boldsymbol { u } } _ { i } ^ { l } ) ^ { \prime } R _ { j } ^ { l } ( R _ { j } ^ { l } ) ^ { \prime } \mathbf { \boldsymbol { u } } _ { i } ^ { l }$ , which is the square of the singular value of $R _ { j } ^ { l }$ with respect to $\mathbf { \Delta } u _ { i } ^ { l }$ . (2) (new bases) We perform SVD on $\hat { \pmb { R } } _ { j } ^ { l } = \pmb { R } _ { j } ^ { l } - \pmb { R } _ { j } ^ { l } M _ { j } ^ { l } ( M _ { j } ^ { l } ) ^ { \prime }$ to generate new bases beyond $M _ { j } ^ { l }$ , i.e., $\hat { \pmb { R } } _ { j } ^ { l } = \hat { U } _ { j } ^ { l } \hat { \pmb { \Sigma } } _ { j } ^ { l } ( \hat { V } _ { j } ^ { l } ) ^ { \prime }$ with singular values $\{ \hat { \sigma } _ { j , h } ^ { l } \} _ { h }$ . (3) (select the most important bases from both old and new bases) Next we concatenate $\{ \delta _ { i } ^ { l } \} _ { i }$ and $\{ ( \hat { \sigma } _ { j , h } ^ { l } ) ^ { 2 } \} _ { h }$ together in a vector $\pmb { \delta }$ , and sort them in a descending order. We perform $k _ { j } ^ { l }$ -rank matrix approximation of $R _ { j } ^ { l }$ , such that the summation of the first $k _ { j } ^ { l }$ elements in $\delta$ is greater than $\epsilon _ { t h } ^ { l } \lVert { \cal R } _ { j } ^ { l } \rVert _ { F } ^ { 2 }$ . Then $B _ { j } ^ { l }$ can be constructed by selecting the bases corresponding to the first $k _ { j } ^ { l }$ elements in $\delta$ .
132
+
133
+ # 4.4 CONTINUAL LEARNING WITH TRUST REGION GRADIENT PROJECTION
134
+
135
+ Building on the three modules proposed earlier, i.e., task subspace construction, trust region and scaled weight projection, we next present our approach TRGP for continual learning that efficiently facilitate forward knowledge transfer without forgetting the old tasks.
136
+
137
+ Learning task 1. The first task is learnt using standard gradient descent. The subspace $\{ S _ { 1 } ^ { l } \} _ { l = 1 } ^ { L }$ is constructed by following Section 4.3.
138
+
139
+ Learning task 2, ..., T. For task $t \in [ 2 , T ]$ , we first determine the trust region $\tau { \mathcal R } _ { t } ^ { l }$ with top- $K$ correlated old tasks selected for layer $l$ . The optimization problem for task $t$ is as follows:
140
+
141
+ $$
142
+ \begin{array} { r l } & { \underset { \{ \pmb { W } ^ { l } \} _ { l } , \{ \pmb { Q } _ { j , t } ^ { l } \} _ { l , j \in \mathcal { T } \mathcal { R } _ { t } ^ { l } } } { \operatorname* { m i n } } \mathcal { L } ( \{ \pmb { W } _ { e f f } ^ { l } \} _ { l } , \mathbb { D } _ { t } ) , } \\ & { \xrightarrow [ \pmb { S } . t . \qquad ] { \mathrm { m i n } } W _ { e f f } ^ { l } = \pmb { W } ^ { l } + \sum _ { j \in \mathcal { T } \mathcal { R } _ { t } ^ { l } } [ \mathrm { P r o j } _ { S _ { j } ^ { l } } ^ { Q } ( \pmb { W } ^ { l } ) - \mathrm { P r o j } _ { S _ { j } ^ { l } } ( \pmb { W } ^ { l } ) ] , } \end{array}
143
+ $$
144
+
145
+ where the gradient for updating $W ^ { l }$ is $\nabla _ { W ^ { l } } \mathcal { L } = \nabla _ { W ^ { l } } \mathcal { L } - ( \nabla _ { W ^ { l } } \mathcal { L } ) M _ { t } ^ { l } ( M _ { t } ^ { l } ) ^ { \prime }$ and $\pmb { M } _ { t } ^ { l }$ is the bases of all old tasks as in Section 4.3. The subspace $\{ S _ { t } ^ { l } \} _ { l = 1 } ^ { L }$ is next obtained by following Section 4.3.
146
+
147
+ Table 1: The averaged accuracy (ACC) and backward transfer (BWT) over all the tasks on different datasets. Note that, Multitask jointly learns all tasks only once in a single network by using the whole dataset, which does not adhere to CL setup.
148
+
149
+ <table><tr><td rowspan="2">Method</td><td colspan="2">PMNIST</td><td colspan="2">CIFAR-100 Split</td><td colspan="2">5-Dataset</td><td colspan="2">MiniImageNet</td></tr><tr><td>ACC(%)</td><td>BWT(%)</td><td>ACC(%)</td><td>BWT(%)</td><td>ACC(%)</td><td>BWT(%)</td><td>ACC(%)</td><td>BWT(%)</td></tr><tr><td>Multitask</td><td>96.70</td><td>-</td><td>79.58</td><td>-</td><td>91.54</td><td>-</td><td>69.46</td><td>-</td></tr><tr><td>OWM</td><td>90.71</td><td>-1</td><td>50.94</td><td>-30</td><td>=</td><td>1</td><td>=</td><td>-</td></tr><tr><td>EWC</td><td>89.97</td><td>-4</td><td>68.80</td><td>-2</td><td>88.64</td><td>-4</td><td>52.01</td><td>-12</td></tr><tr><td>HAT</td><td>1</td><td>1</td><td>72.06</td><td>0</td><td>91.32</td><td>-1</td><td>59.78</td><td>-3</td></tr><tr><td>A-GEM</td><td>83.56</td><td>-14</td><td>63.98</td><td>-15</td><td>84.04</td><td>-12</td><td>57.24</td><td>-12</td></tr><tr><td>ER_Res</td><td>87.24</td><td>-11</td><td>71.73</td><td>-6</td><td>88.31</td><td>-4</td><td>58.94</td><td>-7</td></tr><tr><td>GPM</td><td>93.91</td><td>-3</td><td>72.48</td><td>-0.9</td><td>91.22</td><td>-1</td><td>60.41</td><td>-0.7</td></tr><tr><td>Ours (TRGP)</td><td>96.34</td><td>-0.8</td><td>74.46</td><td>-0.9</td><td>93.56</td><td>-0.04</td><td>61.78</td><td>-0.5</td></tr></table>
150
+
151
+ # 5 EXPERIMENTAL RESULTS
152
+
153
+ # 5.1 EXPERIMENTAL SETUP
154
+
155
+ Datasets and training details. We evaluate our method on multiple datasets against state-of-the-art CL methods. 1) PMNIST. Following (Lopez-Paz & Ranzato, 2017; Saha et al., 2021), we create 10 sequential tasks using different permutations where each task has 10 classes. We use a 3-layer fully-connected network. 2) CIFAR-100 Split. We split the classes of CIFAR-100 (Krizhevsky et al., 2009) into 10 group, and consider 10-way multi-class classification in each group as a single task. Similar with (Serra et al., 2018; Saha et al., 2021), we use a version of 5-layer AlexNet. 3) CIFAR-100 Sup. We divide the CIFAR-100 dataset into 20 tasks where each task has 5 classes. We use a modified version of LeNet-5. 4) 5-Datasets. We use a sequence of 5-Datasets which includes CIFAR-10, MNIST, SVHN (Netzer et al., 2011), not-MNIST (Bulatov, 2011) and Fashion MNIST (Xiao et al., 2017), where each dataset is set to be a task. We adapt a reduced ResNet18 network that is used in (Lopez-Paz & Ranzato, 2017). 5) MiniImageNet Split. We split the 100 classes of MiniImageNet (Vinyals et al., 2016) into 20 sequential tasks where each task has 5 classes, and consider a reduced ResNet18 network. In addition, for all the experiments, the threshold $\epsilon ^ { l }$ is set to 0.5, and we select top-2 tasks that satisfy condition Eq. (3). We use the same threshold $\epsilon _ { t h } ^ { l }$ as GPM (Saha et al., 2021) for subspace construction. More details are in the appendix.
156
+
157
+ Methods for comparison. To test the efficacy of our method, we compare it with state-of-the-art approaches in three categories: 1) Memory-based methods. We compare with Experience Replay with reservoir sampling (ER Res) (Chaudhry et al., 2019), Averaged GEM (A-GEM) (Chaudhry et al., 2018b), Orthogonal Weight Modulation (OWM) (Zeng et al., 2019) and Gradient Projection Memory (GPM) (Saha et al., 2021). 2) Regularization-based methods. We compare with state-ofthe-art HAT (Serra et al., 2018) and Elastic Weight Consolidation (EWC) (Kirkpatrick et al., 2017). 3) Expansion-based methods. We further compare with Progressive Neural Network (PNN) (Rusu et al., 2016), Learning Without Forgetting (LWF) (Li & Hoiem, 2017), Dynamic-Expansion Net (DEN) (Yoon et al., 2017), and APD (Yoon et al., 2020), by using CIFAR-100 Sup dataset.
158
+
159
+ Metrics. Following GPM (Saha et al., 2021), two metrics are used to evaluate the performance: Accuracy (ACC), the average final accuracy over all tasks, and Backward Transfer (BWT), which measures the forgetting of old tasks when learning new tasks. ACC and BWT are defined as:
160
+
161
+ $$
162
+ { \bar { A } } C C = { \frac { 1 } { T } } \sum _ { i = 1 } ^ { T } A _ { T , i } , B W T = { \frac { 1 } { T - 1 } } \sum _ { i = 1 } ^ { T - 1 } A _ { T , i } - A _ { i , i }
163
+ $$
164
+
165
+ where $T$ is the number of tasks, $A _ { T , i }$ is the accuracy of the model on $i$ -th task after learning the $T$ -th task sequentially.
166
+
167
+ # 5.2 MAIN RESULTS
168
+
169
+ ACC and BWT comparison. As shown in Table 1, TRGP achieves significantly accuracy improvement compared with prior works on all datasets. For example, in contrast to the best prior results, TRGP achieve the accuracy gain of $2 . 4 3 \%$ , $1 . 9 8 \%$ and $1 . 3 \hat { 7 } \%$ over GPM on PMNIST, CIFAR-100 Split and MiniImageNet, respectively, and $2 . 3 4 \%$ over HAT on 5-Dataset. Surprisingly, we could even achieve better accuracy than Multitask on 5-Datasets, which usually serves as an upper bound for CL benchmarks. This superior performance of TRGP clearly shows its capability to effectively facilitate forward knowledge transfer. In addition, TRGP also demonstrates strong performance with the lowest BWT, reducing $0 . 2 \%$ than OWM and $0 . 6 \%$ than GPM, even with $5 . { \bar { 6 } } 3 { \bar { \% } }$ and $2 . 3 4 \%$ ac
170
+
171
+ ![](images/38a46f72a5a1d085ef91fddb2f57bd4f0ac7ab4a1b7e36fad54b1b0963cb61a2.jpg)
172
+ Figure 4: The final accuracy for all tasks on three datasets (GPM VS Ours).
173
+
174
+ Table 2: The performance for CIFAR-100 Sup dataset. Note that Single-task learning (STL) trains a separate network for each task, which does not adhere to CL setup.
175
+
176
+ <table><tr><td rowspan="2">Metric</td><td colspan="7">Methods</td></tr><tr><td>STL</td><td>PNN</td><td>DEN</td><td>RCL</td><td>APD</td><td>GPM</td><td>Ours (TRGP)</td></tr><tr><td>ACC(%)</td><td>61.00</td><td>50.76</td><td>51.10</td><td>51.99</td><td>56.81</td><td>57.72</td><td>58.25</td></tr><tr><td>Capacity(%)</td><td>2000</td><td>271</td><td>191</td><td>184</td><td>130</td><td>100</td><td>100</td></tr></table>
177
+
178
+ curacy improvement on PMNIST and 5-Dataset, respectively. Compared with HAT on CIFAR-100 Split, TRGP has marginally worse BWT, but achieves $2 . 4 \%$ accuracy gain.
179
+
180
+ Moreover, TRGP exhibits an universal dominance over GPM about the final accuracy of all tasks on all the three datasets. According to the apple to apple comparison with GPM in Fig. 4, one interesting phenomenon is observed: TRGP has the similar accuracy on “easy” tasks, but significantly improves the accuracy on the “difficult” tasks. For example, in the 5-Dataset setting, both TRGP and GPM achieve good accuracy on Task 1 (MNIST) and 3 (Fashion MNIST), which can be easily trained well, but TRGP significantly outperforms GPM on the rest three more difficult Tasks (CIFAR-10, SVHN and NotMNIST). In the end, as shown in Table 2, we further compare with the expansionbased methods by using CIFAR-100 Sup setting. It can be seen that TRGP outperforms all other CL methods, with a fixed capacity network.
181
+
182
+ Discussion. We next show the accuracy evolution of specific tasks during the training of all tasks sequentially. We randomly select three tasks for each dataset to compare with GPM (we only show results on PMNIST in Fig. 5 and relegate the rest to the appendix). There are two main obervations: 1) TRGP completely outperforms GPM during training for all the sequential tasks on the three datasets; 2) For the PMNIST and 5-Dataset settings, TRGP could significantly reduce forgetting. To understand why, consider the case where GPM and TRGP learns a new task $t$ given the same model $\mathbb { W } _ { t - 1 }$ , and denote $\{ M _ { t - 1 } ^ { l } \} _ { l }$ as the bases of all old tasks. Then we can have
183
+
184
+ For GPM, the effective weight for layer $l$ is
185
+
186
+ $$
187
+ \begin{array} { r } { \boldsymbol { W } _ { e f f } ^ { l } = \operatorname { P r o j } _ { M _ { t - 1 } ^ { l } } ( \boldsymbol { W } ^ { l } ) + \operatorname { P r o j } _ { \perp M _ { t - 1 } ^ { l } } ( \boldsymbol { W } ^ { l } ) } \end{array}
188
+ $$
189
+
190
+ where the weight projection on $M _ { t - 1 } ^ { l }$ is frozen to protect old tasks, and only the weight projection orthogonal to $M _ { t - 1 } ^ { l }$ can be updated for learning task $t$ .
191
+
192
+ For TRGP, the effective weight for layer $l$ is
193
+
194
+ $$
195
+ W _ { e f f } ^ { l } = \mathrm { P r o j } _ { \{ S _ { j } ^ { l } \} _ { j \notin T \mathcal { R } _ { t } ^ { l } } } ( W ^ { l } ) + \mathrm { P r o j } _ { \{ S _ { j } ^ { l } \} _ { j \in \mathcal { T } \mathcal { R } _ { t } ^ { l } } } ^ { Q } ( W ^ { l } ) + \mathrm { P r o j } _ { \bot M _ { t - 1 } ^ { l } } ( W ^ { l } )
196
+ $$
197
+
198
+ where only the first term, i.e., weight projection on subspaces of old tasks that are not in the trust region $\mathcal T \dot { \mathcal R } _ { t } ^ { l }$ , is frozen for task $t$ . In contrast to GPM, an additional and also important part of weights, i.e., the scaled weight projection on subspaces of related old tasks in $\tau { \mathcal R } _ { t } ^ { l }$ , can be learnt in a favorable way for task $t$ . As a result, TRGP can achieve better forward knowledge transfer by explicitly and cleverly reusing the important knowledge of strongly correlated old tasks in the trust region. More interestingly, benefiting from the task-unique information captured by the scaled weight projection, the backward transfer can also be reduced.
199
+
200
+ ![](images/3e006d6af9462e650018395f142ea55f82323ae87859391307e5ec3c69a6411b.jpg)
201
+ Figure 5: Accuracy evolution for different tasks on PMNIST setting.
202
+
203
+ Table 3: Ablation study on CIFAR-100 Split and 5-Datasets settings.
204
+
205
+ <table><tr><td rowspan="2">Datasets</td><td colspan="3">Impact of threshold εl</td><td colspan="2">Layer-wise VS Task-wise</td><td colspan="2">Number of selected tasks</td></tr><tr><td>0.2</td><td>0.5</td><td>0.7</td><td>Layer-wise</td><td>Task-wise</td><td>Top-1</td><td>Top-2</td></tr><tr><td>CIFAR-100</td><td>74.52</td><td>74.46</td><td>74.30</td><td>74.46</td><td>73.25</td><td>74.00</td><td>74.46</td></tr><tr><td>5-Datasets</td><td>93.28</td><td>93.56</td><td>93.43</td><td>93.56</td><td>92.85</td><td>92.94</td><td>93.56</td></tr></table>
206
+
207
+ # 5.3 ABLATION STUDY AND ANALYSIS
208
+
209
+ Impact of the threshold $\epsilon ^ { l }$ . To understand the impact of the threshold $\epsilon ^ { l }$ , we evaluate the learning performance for three different values of $\epsilon ^ { l }$ (i.e., 0.2, 0.5, 0.7) as shown in Table 3. The results show that the accuracy is very stable across the three threshold values, with ignoble accuracy difference on both CIFAR-100 Split and 5-Dataset settings. The reason behind is because we only select top-2 old tasks with largest gradient projection norm into the trust region, among all tasks satisfying condition Eq. (3). Therefore, for a wide range of $\epsilon ^ { l }$ , the selected tasks in the trust region are actually fixed. The small accuracy fluctuation is because with some possibility only one old task satisfies Eq. (3) and is selected for some layers when $\epsilon ^ { l }$ increases. Overall, TRGP is very robust to the value of $\stackrel { \cdot } { \epsilon } { }$ .
210
+
211
+ Layer-wise vs. Task-wise trust region. To show the efficacy of layer-wise trust region, we compare it with the task-wise variant which shares a fixed trust region across all layers for each task. First, as shown in Table 3, layer-wise could achieve $1 . 2 1 \%$ accuracy gain over task-wise on CIFAR-100 Split. Furthermore, we illustrate the final accuracy of all tasks for layer-wise and taskwise of the proposed TRGP, and GPM on CIFAR-100 Split setting in Fig. 6. First, the performance of layer-wise is better than or comparable to task-wise for all tasks, because layer-wise provides a much finer characterization of task correlations in terms of layer-level features. Then, it is interesting to see that the learning behavior for the three cases follows the same trend. This observation further corroborates that TRGP can improve the accuracy and mitigate forgetting on both “easy” and “difficult” tasks.
212
+
213
+ ![](images/f16c86a00f9663dd1bd4cac8d1ae2190095ffa83e51128e4d1bcb49ed33c2743.jpg)
214
+ Figure 6: The final accuracy for all tasks of Task-wise VS Layerwise on CIFAR-100 Split.
215
+
216
+ Impact of selected tasks in trust region. We first evaluate the accuracy of Top-1 and Top-2 selected tasks as shown in Table 3. It shows that selecting the top-2 most correlated tasks could achieve better accuracy on both CIFAR-100 Split and 5-Dataset settings. Note that good performance can also be achieved even with the Top-1 case. Moreover, we illustrate the detailed task selection in the trust region for both layer-wise and task-wise on 5-Dataset setting in Fig. 7. For the task-wise, current task always selects the two adjacent previous tasks for all layers. Differently, the task selection varies for layer-wise, leading to more accurate selection of related tasks for each layer. For example, the layer wise trust region for Task 4 (Fashion MNIST) selects Task 1 (MNIST) or Task 3 (not-MNIST) as the most related tasks almost for all layers, over Task 0 (CIFAR-10) and Task 2 (SVHN), which clearly makes sense because Fashion MNIST shares more common features with MNIST and not-MNIST.
217
+
218
+ ![](images/b2a068f7b21de7eac8690723b50bb2cba41145ca7df3934d648e3ce3f5772945.jpg)
219
+ Figure 7: The detailed selected tasks on 5-Datasets setting.
220
+
221
+ # 6 CONCLUSION
222
+
223
+ In this work, we propose trust region gradient projection for continual learning to facilitate forward knowledge transfer with forgetting, based on an efficient characterization of task correlation. Particularly, our approach is built on two key blocks, i.e., the layer-wise trust region which effectively select the old tasks strongly correlated to the new task in a single-shot manner, and scaled weight projection which cleverly reuses the frozen weights of old tasks in the trust region without modifying the model. Extensive experiments show that our approach significantly improves over the related state-of-the-art methods.
224
+
225
+ # ACKNOWLEDGEMENT
226
+
227
+ This work is supported in part by NSF Grants CNS-2003081, CNS-2203239, CPS-1739344, and CCSS-2121222.
228
+
229
+ # REPRODUCIBILITY STATEMENT
230
+
231
+ For the experimental results presented in the main text, we include the code in the supplemental material, and specify all the training details in Section 5.1 and Appendix A. For the datasets used in the main text, we also give a clear explanation in Section 5.1.
232
+
233
+ # REFERENCES
234
+
235
+ Rahaf Aljundi, Francesca Babiloni, Mohamed Elhoseiny, Marcus Rohrbach, and Tinne Tuytelaars. Memory aware synapses: Learning what (not) to forget. In Proceedings of the European Conference on Computer Vision (ECCV), pp. 139–154, 2018.
236
+
237
+ Yaroslav Bulatov. Notmnist dataset. Google (Books/OCR), Tech. Rep.[Online]. Available: http://yaroslavvb. blogspot. it/2011/09/notmnist-dataset. html, 2, 2011.
238
+
239
+ Arslan Chaudhry, Puneet K Dokania, Thalaiyasingam Ajanthan, and Philip HS Torr. Riemannian walk for incremental learning: Understanding forgetting and intransigence. In Proceedings of the European Conference on Computer Vision (ECCV), pp. 532–547, 2018a.
240
+
241
+ Arslan Chaudhry, Marc’Aurelio Ranzato, Marcus Rohrbach, and Mohamed Elhoseiny. Efficient lifelong learning with a-gem. arXiv preprint arXiv:1812.00420, 2018b.
242
+
243
+ Arslan Chaudhry, Marcus Rohrbach, Mohamed Elhoseiny, Thalaiyasingam Ajanthan, Puneet K Dokania, Philip HS Torr, and M Ranzato. Continual learning with tiny episodic memories. 2019.
244
+
245
+ Zhiyuan Chen and Bing Liu. Lifelong machine learning. Synthesis Lectures on Artificial Intelligence and Machine Learning, 12(3):1–207, 2018.
246
+
247
+ Prithviraj Dhar, Rajat Vikram Singh, Kuan-Chuan Peng, Ziyan Wu, and Rama Chellappa. Learning without memorizing. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 5138–5146, 2019.
248
+
249
+ Mehrdad Farajtabar, Navid Azizan, Alex Mott, and Ang Li. Orthogonal gradient descent for continual learning. In International Conference on Artificial Intelligence and Statistics, pp. 3762–3773. PMLR, 2020.
250
+
251
+ Yunhui Guo, Mingrui Liu, Tianbao Yang, and Tajana Rosing. Improved schemes for episodic memory based lifelong learning algorithm. In Conference on Neural Information Processing Systems, 2020.
252
+
253
+ Steven CY Hung, Cheng-Hao Tu, Cheng-En Wu, Chien-Hung Chen, Yi-Ming Chan, and Chu-Song Chen. Compacting, picking and growing for unforgetting continual learning. arXiv preprint arXiv:1910.06562, 2019.
254
+
255
+ James Kirkpatrick, Razvan Pascanu, Neil Rabinowitz, Joel Veness, Guillaume Desjardins, Andrei A Rusu, Kieran Milan, John Quan, Tiago Ramalho, Agnieszka Grabska-Barwinska, et al. Overcoming catastrophic forgetting in neural networks. Proceedings of the national academy of sciences, 114(13):3521–3526, 2017.
256
+
257
+ Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. 2009.
258
+
259
+ Sang-Woo Lee, Jin-Hwa Kim, Jaehyun Jun, Jung-Woo Ha, and Byoung-Tak Zhang. Overcoming catastrophic forgetting by incremental moment matching. arXiv preprint arXiv:1703.08475, 2017.
260
+
261
+ Xilai Li, Yingbo Zhou, Tianfu Wu, Richard Socher, and Caiming Xiong. Learn to grow: A continual structure learning framework for overcoming catastrophic forgetting. In International Conference on Machine Learning, pp. 3925–3934. PMLR, 2019.
262
+
263
+ Zhizhong Li and Derek Hoiem. Learning without forgetting. IEEE transactions on pattern analysis and machine intelligence, 40(12):2935–2947, 2017.
264
+
265
+ David Lopez-Paz and Marc’Aurelio Ranzato. Gradient episodic memory for continual learning. Advances in neural information processing systems, 30:6467–6476, 2017.
266
+
267
+ Michael McCloskey and Neal J Cohen. Catastrophic interference in connectionist networks: The sequential learning problem. In Psychology of learning and motivation, volume 24, pp. 109–165. Elsevier, 1989.
268
+
269
+ Yuval Netzer, Tao Wang, Adam Coates, Alessandro Bissacco, Bo Wu, and Andrew Y Ng. Reading digits in natural images with unsupervised feature learning. 2011.
270
+
271
+ Matthew Riemer, Ignacio Cases, Robert Ajemian, Miao Liu, Irina Rish, Yuhai Tu, and Gerald Tesauro. Learning to learn without forgetting by maximizing transfer and minimizing interference. arXiv preprint arXiv:1810.11910, 2018.
272
+
273
+ Hippolyt Ritter, Aleksandar Botev, and David Barber. Online structured laplace approximations for overcoming catastrophic forgetting. arXiv preprint arXiv:1805.07810, 2018.
274
+
275
+ Amir Rosenfeld and John K Tsotsos. Incremental learning through deep adaptation. IEEE transactions on pattern analysis and machine intelligence, 42(3):651–663, 2018.
276
+
277
+ Andrei A Rusu, Neil C Rabinowitz, Guillaume Desjardins, Hubert Soyer, James Kirkpatrick, Koray Kavukcuoglu, Razvan Pascanu, and Raia Hadsell. Progressive neural networks. arXiv preprint arXiv:1606.04671, 2016.
278
+
279
+ Gobinda Saha, Isha Garg, and Kaushik Roy. Gradient projection memory for continual learning. arXiv preprint arXiv:2103.09762, 2021.
280
+
281
+ John Schulman, Sergey Levine, Pieter Abbeel, Michael Jordan, and Philipp Moritz. Trust region policy optimization. In International conference on machine learning, pp. 1889–1897. PMLR, 2015.
282
+
283
+ Jonathan Schwarz, Wojciech Czarnecki, Jelena Luketina, Agnieszka Grabska-Barwinska, Yee Whye Teh, Razvan Pascanu, and Raia Hadsell. Progress & compress: A scalable framework for continual learning. In International Conference on Machine Learning, pp. 4528–4537. PMLR, 2018.
284
+
285
+ Joan Serra, Didac Suris, Marius Miron, and Alexandros Karatzoglou. Overcoming catastrophic forgetting with hard attention to the task. In International Conference on Machine Learning, pp. 4548–4557. PMLR, 2018.
286
+
287
+ Hanul Shin, Jung Kwon Lee, Jaehong Kim, and Jiwon Kim. Continual learning with deep generative replay. arXiv preprint arXiv:1705.08690, 2017.
288
+
289
+ Tom Veniat, Ludovic Denoyer, and Marc’Aurelio Ranzato. Efficient continual learning with modular networks and task-driven priors. arXiv preprint arXiv:2012.12631, 2020.
290
+
291
+ Oriol Vinyals, Charles Blundell, Timothy Lillicrap, Daan Wierstra, et al. Matching networks for one shot learning. Advances in neural information processing systems, 29:3630–3638, 2016.
292
+
293
+ Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms. arXiv preprint arXiv:1708.07747, 2017.
294
+
295
+ Ju Xu and Zhanxing Zhu. Reinforced continual learning. arXiv preprint arXiv:1805.12369, 2018.
296
+
297
+ Jaehong Yoon, Eunho Yang, Jeongtae Lee, and Sung Ju Hwang. Lifelong learning with dynamically expandable networks. arXiv preprint arXiv:1708.01547, 2017.
298
+
299
+ Jaehong Yoon, Saehoon Kim, Eunho Yang, and Sung Ju Hwang. Scalable and order-robust continual learning with additive parameter decomposition. In Eighth International Conference on Learning Representations, ICLR 2020. ICLR, 2020.
300
+
301
+ Guanxiong Zeng, Yang Chen, Bo Cui, and Shan Yu. Continual learning of context-dependent processing in neural networks. Nature Machine Intelligence, 1(8):364–372, 2019.
302
+
303
+ Friedemann Zenke, Ben Poole, and Surya Ganguli. Continual learning through synaptic intelligence. In International Conference on Machine Learning, pp. 3987–3995. PMLR, 2017.
304
+
305
+ Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning (still) requires rethinking generalization. Communications of the ACM, 64(3):107– 115, 2021.
306
+
307
+ # A EXPERIMENT SETUPS
308
+
309
+ Training hyper-parameters. We evaluate our method on multiple datasets against state-of-the-art continual learning methods. 1) PMNIST. We use a 3-layer fully-connected network. with two hidden layer of 100 units. and train the network for 5 epochs with batch size of 10 for each task. 2) CIFAR-100 Split. CIFAR-100 (Krizhevsky et al., 2009) consists of images from 100 generic object classes. We use a version of 5-layer AlexNet and train each task for maximum of 200 epochs with the early termination strategy based on the validation loss value. The batch size is set to 64. 3) CIFAR100 Sup. We use a modified version of LeNet-5 with 20-50-800-500 neurons and train 50 epochs for each task sequentially. The batch size is set to 64. 4) 5-Datasets. We train each task for maximum of 200 epochs with the early termination strategy. The batch size is set to 64. 5) MiniImageNet Split. Following GPM (Saha et al., 2021), we use the reduced ResNet18 architecture, where the covolution with stride 2 in the first layer. We train each task for maximum of 100 epochs with the early termination strategy with 0.1 initial learning rate and 64 batchsize. In addition, for all the experiments, the threshold $\bar { \epsilon } ^ { \bar { l } }$ is set to 0.5, and we select top-2 tasks that satisfy condition Eq. (3). We use the same threshold $\epsilon _ { t h } ^ { l }$ as GPM (Saha et al., 2021) for subspace construction. We initialize the scaling matrix with the identity matrix and train all models with plain stochastic gradient descent.
310
+
311
+ # B MORE EXPERIMENTAL RESULTS
312
+
313
+ # B.1 ACCURACY EVOLUTION
314
+
315
+ ![](images/fbcae83be6b2509ecc631f51315a5a7696586abea3af918b9b37dec9e6b00202.jpg)
316
+ Figure 8: Accuracy evolution for different tasks on CIFAR-100 Split and 5-Datasets settings.
317
+
318
+ # B.2 STANDARD DEVIATION
319
+
320
+ We have summarized the results on the standard deviation for the averaged accuracy and backward transfer over 5 different runs on all datasets in Table 4.
321
+
322
+ Table 4: The averaged accuracy (ACC) and backward transfer (BWT) with the standard deviation values over 5 different runs on different datasets.
323
+
324
+ <table><tr><td rowspan="2">Method</td><td colspan="2">PMNIST</td><td colspan="2">CIFAR-100 Split</td><td colspan="2">5-Dataset</td><td colspan="2">MiniImageNet</td></tr><tr><td>ACC(%)</td><td>BWT(%)</td><td>ACC(%)</td><td>BWT(%)</td><td>ACC(%)</td><td>BWT(%)</td><td>ACC(%)</td><td>BWT(%)</td></tr><tr><td>Multitask</td><td>96.70 ± 0.02</td><td></td><td>79.58 ± 0.54</td><td>-</td><td>91.54 ± 0.28</td><td>-</td><td>69.46 ± 0.62</td><td>-</td></tr><tr><td>OWM</td><td>90.71 ± 0.11</td><td>-1±0</td><td>50.94 ± 0.60</td><td>-30 ±1</td><td></td><td></td><td></td><td></td></tr><tr><td>EWC</td><td>89.97 ± 0.57</td><td>-4±1</td><td>68.80 ±0.88</td><td>-2±1</td><td>88.64 ± 0.26</td><td>-4±1</td><td>52.01 ± 2.53</td><td>-12±3</td></tr><tr><td>HAT</td><td></td><td></td><td>72.06 ± 0.50</td><td>0±0</td><td>91.32 ± 0.18</td><td>-1±0</td><td>59.78 ±0.57</td><td>-3±0</td></tr><tr><td>A-GEM</td><td>83.56 ± 0.16</td><td>−14 ± 1</td><td>63.98 ± 1.22</td><td>−15 ± 2</td><td>84.04 ± 0.33</td><td>−12 ± 1</td><td>57.24 ±0.72</td><td>−12 ± 1</td></tr><tr><td>ER_Res</td><td>87.24± 0.53</td><td>−11 ± 1</td><td>71.73 ± 0.63</td><td>-6±1</td><td>88.31 ± 0.22</td><td>-4±0</td><td>58.94 ± 0.85</td><td>-7±1</td></tr><tr><td>GPM</td><td>93.91 ± 0.16</td><td>-3±0</td><td>72.48 ± 0.40</td><td>-0.9±0</td><td>91.22 ± 0.20</td><td>-1±0</td><td>60.41 ± 0.61</td><td>-0.7 ± 0.4</td></tr><tr><td>Ours (TRGP)</td><td>96.34 ± 0.11</td><td>-0.8 ± 0.1</td><td>74.46 ± 0.32</td><td>-0.9 ± 0.01</td><td>93.56 ± 0.10</td><td>-0.04 ± 0.01</td><td>61.78 ± 0.60</td><td>-0.5± 0.6</td></tr></table>
325
+
326
+ # B.3 FORWARD TRANSFER
327
+
328
+ To evaluate the forward transfer, we follow the metric used in (Veniat et al., 2020) and consider the accuracy of the model on $i$ -th task after learning the $i$ -th task sequentially, i.e., $A _ { i , i }$ as defined in Eq. (10). Tables 5 - 8 summarize the comparison of $A _ { i , i }$ for each task $i$ between GPM and TRGP on PMNIST, CIFAR-100 Split and 5-Dataset, respectively. As the same baseline (e.g., the accuracy of the model learnt from scratch using the task’s own data) for each task will be used when evaluating the forward transfer for GPM and TRGP, we can infer that TRGP achieves the forward transfer gain of $0 . 1 7 \%$ , $2 . 0 1 \%$ , $2 . 0 0 \%$ and $2 . 3 6 \%$ over GPM on PMNIST, CIFAR-100 Split, 5-Datasets and MiniImageNet respectively.
329
+
330
+ Table 5: The accuracy $A _ { i , i }$ of the model on $i$ -th task after learning the $i$ -th task sequentially on PMNIST 10 tasks.
331
+
332
+ <table><tr><td>Methods</td><td></td><td></td><td>3</td><td></td><td></td><td></td><td></td><td></td><td>9</td><td>10</td><td>Avg</td></tr><tr><td>GPM</td><td>97.597.5</td><td></td><td>97.3</td><td>97.1</td><td>97.096.9</td><td></td><td>96.8</td><td>96.4</td><td>96.5</td><td>96.5</td><td>96.95</td></tr><tr><td>Ours (TRGP)</td><td>97.5</td><td>97.5</td><td>97.5</td><td>97.3</td><td>97.1</td><td>97.1</td><td>96.9</td><td>96.7</td><td>96.9</td><td>96.7</td><td>97.12</td></tr></table>
333
+
334
+ Table 6: The accuracy $A _ { i , i }$ of the model on $i$ -th task after learning the $i$ -th task sequentially on CIFAR-100 Split 10 tasks.
335
+
336
+ <table><tr><td>Methods</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>10</td><td>Avg</td></tr><tr><td>GPM</td><td>76.8</td><td>68.5</td><td>72.4</td><td></td><td>69.974.8</td><td>172.3</td><td>70.3</td><td>71.9</td><td>73.2</td><td>75.1</td><td>72.52</td></tr><tr><td>Ours (TRGP)</td><td>76.9</td><td>69.5</td><td>75.1</td><td>74.1</td><td>75.3</td><td>75.8</td><td>72.8</td><td>73.8</td><td>73.9</td><td>78.1</td><td>74.53</td></tr></table>
337
+
338
+ Table 7: The accuracy $A _ { i , i }$ of the model on $i$ -th task after learning the $i$ -th task sequentially on 5-Dataset 5 tasks.
339
+
340
+ <table><tr><td>Methods</td><td></td><td></td><td></td><td></td><td></td><td>Avg</td></tr><tr><td>GPM</td><td>78.399.1</td><td></td><td>87.1</td><td>99.1</td><td>94.1</td><td>91.54</td></tr><tr><td>Ours (TRGP)</td><td>80.9</td><td>99.3</td><td>92.8</td><td>99.4</td><td>95.3</td><td>93.54</td></tr></table>
341
+
342
+ Table 8: The accuracy $A _ { i , i }$ of the model on $i$ -th task after learning the $i$ -th task sequentially on MiniImageNet Split 20 tasks.
343
+
344
+ <table><tr><td>Methods</td><td>1</td><td>12</td><td>3</td><td>-4</td><td>1 5</td><td>16</td><td>17</td><td>1 8</td><td>19</td><td></td><td>10</td><td>11</td><td>12</td><td>13</td><td>14</td><td>15 1</td><td>16</td><td>17</td><td>18</td><td>19</td><td>20</td><td>Avg</td></tr><tr><td>GPM</td><td>58.6</td><td>1 63.6</td><td>57.2</td><td>59.0</td><td>1 53.6</td><td>1 78.0</td><td>一 63.0</td><td></td><td>66.0</td><td>74.0</td><td>83.8</td><td>43.0</td><td>60.4</td><td>55.6</td><td>57.8</td><td>59.6 1</td><td>53.0</td><td>56.0</td><td>47.6</td><td>66.0</td><td>56.8</td><td>60.63</td></tr><tr><td>Ours (TRGP)</td><td>58.7</td><td>66.1</td><td>59.2</td><td>59.3</td><td>1 57.1</td><td>81.4</td><td></td><td>67.3</td><td>70.1</td><td>75.7</td><td>85.2</td><td>43.2</td><td>61.8</td><td>58.0</td><td>60.1</td><td>60.0</td><td>54.8</td><td>61.4</td><td>48.4</td><td>69.8</td><td>62.2</td><td>62.99</td></tr></table>
345
+
346
+ # B.4 COMPUTATIONAL COMPLEXITY
347
+
348
+ Memory: In terms of the memory, the major difference between TRGP and GPM is that TRGP requires additional memory to store the scaling matrices for each task. However, since the dimension of the scaling matrix is the same with the number of the extracted bases for the input subspace, which is usually small and controllable by the matrix approximation accuracy $\epsilon _ { t h }$ in Eq. (7), the memory increase is marginal and controllable. Particularly, the memory usage of TRGP can be further reduced by only learning the scaling matrices for the convolutional layers.
349
+
350
+ Training time: We compare the training time between TRGP and other baselines on relatively complex task sequences. As shown in Table 9, for CIFAR-100 Split, TRGP takes around $65 \%$ more time than GPM, is comparable with HAT and ER Res, and takes less time than OWM and EWC; for 5-Datasets, TRGP takes around $21 \%$ more time than GPM, but is much faster than other baselines including EWC, HAT, A-GEM and ER Res; for MiniImageNet, TRGP tasks around $34 \%$ more time than GPM, is comparable with EWC, but is much faster than A-GEM.
351
+
352
+ Table 9: Training time comparison on CIFAR-100 Split, 5-Datasets and MiniImageNet. Here the training time is normalized with respect to the value of GPM. Please refer (Saha et al., 2021) for more specific time.
353
+
354
+ <table><tr><td rowspan="2">Dataset</td><td colspan="7">Methods</td></tr><tr><td>OWM</td><td>EWC</td><td>HAT</td><td>A-GEM</td><td>ER_Res</td><td>GPM</td><td>Ours (TRGP)</td></tr><tr><td>CIFAR-100</td><td>2.41</td><td>1.76</td><td>1.62</td><td>3.48</td><td>1.49</td><td>1</td><td>1.65</td></tr><tr><td>5-Datasets</td><td>1</td><td>1.52</td><td>1.47</td><td>2.41</td><td>1.40</td><td>1</td><td>1.21</td></tr><tr><td>MiniImageNet</td><td>1</td><td>1.22</td><td>0.91</td><td>1.79</td><td>0.82</td><td>1</td><td>1.34</td></tr></table>
355
+
356
+ # B.5 ACCURACY VS LEARNING EPOCHS
357
+
358
+ The learning dynamics for each task are shown in Figure 9 and 10. Clearly, our approach can perform significantly better than GPM on some tasks, especially for the tasks in the tail of the task sequence. This is because in GPM, with more tasks being learnt, the optimization space for new tasks becomes more restrictive, leading to limited performance for new tasks. Note that the y-axis is the validation accuracy with a split validate dataset that used during training, by following the setup in (Saha et al., 2021). The validation accuracy varies because the size of the validate dataset is relatively small (See (Saha et al., 2021) for the specific size). For the testing accuracy in all the tables, we evaluate the accuracy with the testing dataset after training.
359
+
360
+ ![](images/f15dd6288a440b9b807040038c4a5c80a280b5bc43604991da4ba425b817d190.jpg)
361
+ Figure 9: Accuracy vs learning epochs for different tasks on CIFAR-100 Split.
362
+
363
+ ![](images/5bf3d623f1b7ef74a66b17097d2e8bf3045dc7fec240f1994a9bae8120336d31.jpg)
364
+ Figure 10: Accuracy vs learning epochs for five tasks on 5-Dataset.
parse/dev/iEvAf8i6JjO/iEvAf8i6JjO_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/iEvAf8i6JjO/iEvAf8i6JjO_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/kTcRljax0x9/kTcRljax0x9_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/mxzIrQIOGIK/mxzIrQIOGIK.md ADDED
@@ -0,0 +1,517 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Multi-Objective Online Learning
2
+
3
+ Anonymous Author(s)
4
+ Affiliation
5
+ Address
6
+ email
7
+
8
+ # Abstract
9
+
10
+ 1 This paper presents a systematic study of multi-objective online learning. We first
11
+ 2 formulate the framework of Multi-Objective Online Convex Optimization, which
12
+ 3 encompasses two novel multi-objective regret definitions. The regret definitions
13
+ 4 build upon an equivalent transformation of the multi-objective dynamic regret
14
+ 5 based on the commonly used Pareto suboptimality gap metric in zero-order multi
15
+ 6 objective bandits, making it amenable to be optimized via first-order iterative
16
+ 7 methods. To motivate the algorithm design, we give an explicit example in which
17
+ 8 equipping OMD with the vanilla min-norm solver for gradient composition will
18
+ 9 incur a linear regret, which shows that only regularizing the iterates, as in single
19
+ 10 objective online learning, is not enough to guarantee sublinear regrets in the multi
20
+ 11 objective setting. To resolve this issue, we propose a novel min-regularized-norm
21
+ 12 solver that regularizes the composite weights. Combining min-regularized-norm
22
+ 13 with OMD results in the Doubly Regularized Online Mirror Multiple Descent
23
+ 14 algorithm. We further derive both the static and dynamic regret bounds for the
24
+ 15 proposed algorithm, each of which matches the corresponding optimal bound in the
25
+ 16 single-objective setting. Extensive experiments on both simulation and real-world
26
+ 17 datasets verify the effectiveness of the proposed algorithm.
27
+
28
+ # 18 1 Introduction
29
+
30
+ 19 Traditional optimization methods for machine learning are usually designed to optimize a single
31
+ 20 objective. However, in many real-world applications, we are often required to optimize multiple
32
+ 21 correlated objectives concurrently. For example, in autonomous driving [12, 20], the self-driving
33
+ 22 vehicles need to solve multiple tasks such as self-localization and object identification at the same
34
+ 23 time. In online advertising [21, 22], advertisers need to determine the exposure of items to different
35
+ 24 users to maximize both the Click-Through Rate (CTR) and the Post-Click Conversion Rate (CVR).
36
+ 25 In many multi-objective scenarios, the objectives may conflict with each other [15]. Hence, there may
37
+ 26 not exist any single solution that optimizes all the objectives simultaneously. For example, in online
38
+ 27 advertising, merely optimizing CTR or CVR will degrade the performance of the other [21, 22].
39
+ 28 Multi-objective optimization (MOO) [23, 6] is concerned with optimizing multiple conflicting
40
+ 29 objectives simultaneously. It seeks Pareto optimality, where no single objective can be improved
41
+ 30 without hurting the performance of the others. Many different methods for MOO have been proposed,
42
+ 31 including evolutionary methods [26, 39], scalarization methods [9], and gradient-based iterative
43
+ 32 methods [7]. Recently, the Multiple Gradient Descent Algorithm (MGDA) and its variants have been
44
+ 33 introduced to the training of multi-task deep neural networks and achieved great empirical success
45
+ 34 [29], making them regain a significant amount of research interest [17, 33, 18]. These methods
46
+ 35 compute a composite gradient based on the gradient information of all the individual objectives
47
+ 36 and then apply the composite gradient to update the model parameters. The composite weights are
48
+ 37 determined by a min-norm solver [7] which yields a common descent direction of all the objectives.
49
+ 38 However, compared to the increasingly wide application prospect, the gradient-based iterative
50
+ 39 algorithms are relatively understudied, especially for the online learning setting. Multi-objective
51
+ 40 online learning is of essential importance due to reasons in two folds. First, due to the data explosion in
52
+ 41 many real-world scenarios such as web applications, making in-time predictions requires performing
53
+ 42 online learning. Second, the theoretical investigation of multi-objective online learning will lay a solid
54
+ 43 foundation for the design of new optimizers for multi-task deep neural networks. This is analogous to
55
+ 44 the single-objective setting, where nearly all the optimizers for training DNNs are initially analyzed
56
+ 45 in the online setting, such as AdaGrad [8], Adam [16], and AMSGrad [28].
57
+ 46 In this paper, we give a systematic study of multi-objective online learning. To begin with, we
58
+ 47 formulate the framework of Multi-Objective Online Convex Optimization (MO-OCO). The first
59
+ 48 major challenge is the lack of regret definitions in the multi-objective setting. To tackle this challenge,
60
+ 49 we need appropriate discrepancy metrics that can be used in the regret definitions, which evaluate the
61
+ 50 gap between any two vector losses by producing scalar values. Intuitively, the Pareto suboptimality
62
+ 51 gap (PSG) metric, which is frequently used in zero-order multi-objective bandits [30, 19], is a very
63
+ 52 promising candidate. It can yield scalarized distances from any vector loss to a given comparator set.
64
+ 53 We can thus define the multi-objective regret by simply plugging in PSG as the discrepancy metric.
65
+ 54 However, as a metric designed purely from the geometric view, PSG is intrinsically difficult to be
66
+ 55 optimized directly via gradient-based iterative methods. To resolve this problem, for the PSG-based
67
+ 56 multi-objective dynamic regret, we derive its equivalent unconstrained max-min form via a highly
68
+ 57 non-trivial transformation. This form is intuitive to the design of first-order multi-objective online
69
+ 58 algorithms, indicating that we should select a convex combination of the gradients at each round.
70
+ 59 Unfortunately, for the PSG-based static variant, such an equivalence does not exist. To remedy this
71
+ 60 issue, we make extensions of the dynamic variant by fixing the comparator set and the composite
72
+ 61 weights, which yields an appropriate definition of the multi-objective static regret.
73
+ 62 Based on the MO-OCO framework, we develop a novel multi-objective online algorithm termed
74
+ 63 Doubly Regularized Online Mirror Multiple Descent. The key module of the algorithm is the gradient
75
+ 64 composition scheme, which calculates a composite gradient in the form of a convex combination of
76
+ 65 the gradients of all objectives. Intuitively, the most direct way to determine the composite weights is
77
+ 66 to apply the min-norm solver [7] commonly used in offline multi-objective optimization. However,
78
+ 67 directly applying min-norm is not workable in the online setting. Specifically, the composite weights
79
+ 68 in min-norm are only determined by the gradients at the current round. In the online setting, since
80
+ 69 the gradients can be adversarial, they may result in undesired composite weights, further producing
81
+ 70 a composite gradient that reversely optimizes the loss. To rigorously verify this point, we give a
82
+ 71 showcase in which equipping OMD with vanilla min-norm even incurs a linear regret, showing that
83
+ 72 only regularizing the iterate, as in OMD, is not enough to guarantee sublinear regrets in the multi
84
+ 73 objective setting. To fix this issue, we devise a novel min-regularized-norm solver with an explicit
85
+ 74 regularization on composite weights. Equipping it with OMD results in our proposed algorithm.
86
+ 75 We then conduct the theoretical analysis for our proposed algorithm. We derive a multi-objective static
87
+ 76 regret bound $O ( \sqrt { T } )$ and a multi-objective dynamic regret bound $O ( V _ { T } ^ { 1 / 3 } T ^ { 2 / 3 } )$ for DR-OMMD.
88
+ 77 Both bounds match the optimal bounds in the single-objective setting [11, 34]. Our analysis also
89
+ 78 shows that DR-OMMD attains a lower regret than linearization with fixed composite weights.
90
+ 79 To evaluate the effectiveness of DR-OMMD, we conduct extensive experiments on both simulation
91
+ 80 datasets and real-world datasets. We first elaborate simulation experiments, in which we find
92
+ 81 that DR-OMMD attains lower regret than vanilla min-norm and linearization, which verifies the
93
+ 82 superiority of the min-regularized-norm solver. We then realize adaptive regularization via multi
94
+ 83 objective optimization on real-world datasets, and find that adaptive regularization with DR-OMMD
95
+ 84 significantly outperforms fixed regularization with linearization.
96
+ 85 In summary, in this paper, we give the first systematic study of multi-objective online learning, which
97
+ 86 encompasses a novel framework, a new algorithm, and corresponding non-trivial theoretical analysis.
98
+ 87 We believe that this work paves the way for future research on more advanced multiple-objective
99
+ 88 optimization algorithms, which may inspire the design of new optimizers for multi-task deep learning.
100
+
101
+ # 89 2 Preliminaries
102
+
103
+ 90 In this section, we briefly review the necessary background knowledge of online convex optimization
104
+ 91 and multi-objective optimization.
105
+ 93 Online Convex Optimization (OCO) [38, 11] is the most commonly adopted framework for
106
+ 94 designing online learning algorithms. It can be viewed as a structured repeated game between a
107
+ 95 learner and an adversary. At each round $t \in \{ 1 , \ldots , T \}$ , the learner is required to generate a decision
108
+ 96 $x _ { t }$ from a convex compact set $\mathcal { X } \subset \mathbb { R } ^ { n }$ . Then the adversary replies the learner with a convex function
109
+ 97 $f _ { t } : \mathcal { X } \mathbb { R }$ and the learner suffers the loss $f _ { t } ( x _ { t } )$ . The goal of the learner is to minimize the regret
110
+ 98 with respect to the best fixed decision in hindsight, i.e.,
111
+
112
+ $$
113
+ R _ { S } ( T ) = \sum _ { t = 1 } ^ { T } f _ { t } ( x _ { t } ) - \operatorname* { m i n } _ { x ^ { * } \in \mathcal { X } } \sum _ { t = 1 } ^ { T } f _ { t } ( x ^ { * } ) .
114
+ $$
115
+
116
+ 99 Note that the above regret is the static regret [10], which compares the learner’s cumulative loss
117
+ 100 with that of a fixed decision. There is another version of regret, namely the dynamic regret [10, 34],
118
+ 101 which compares the learner’s cumulative loss with that of a sequence of local optimal decisions, i.e.,
119
+
120
+ $$
121
+ R _ { D } ( T ) = \sum _ { t = 1 } ^ { T } f _ { t } ( x _ { t } ) - \sum _ { t = 1 } ^ { T } \operatorname* { m i n } _ { x _ { t } ^ { * } \in \mathcal { X } } f _ { t } ( x _ { t } ^ { * } ) .
122
+ $$
123
+
124
+ 102 Any meaningful regret is required to be sublinear in $T$ , i.e., $\begin{array} { r } { \operatorname* { l i m } _ { T \to \infty } R _ { S / D } ( T ) / T = 0 } \end{array}$ , which implies
125
+ 103 that when $T$ is large enough, the learner can perform as well as the best fixed decision in hindsight
126
+ 104 (for static regret) or the local optimal decision at each round (for dynamic regret).
127
+ 105 Online Mirror Descent (OMD) [11] is a classic first-order online learning algorithm. At each round
128
+ 106 $t \in \{ 1 , \ldots , T \}$ , OMD yields its decision using the following formula
129
+
130
+ $$
131
+ \begin{array} { r } { x _ { t + 1 } = \underset { x \in \mathcal { X } } { \arg \operatorname* { m i n } } \eta \langle \nabla f _ { t } ( x _ { t } ) , x \rangle + B _ { R } ( x , x _ { t } ) , } \end{array}
132
+ $$
133
+
134
+ 107 where $\eta$ is the step size, $R : \mathcal { X } \mathbb { R }$ is the regularization function, and $B _ { R } ( x , x ^ { \prime } ) = R ( x ) - R ( x ^ { \prime } ) -$
135
+ 108 $\langle \nabla R ( x ^ { \prime } ) , x - x ^ { \prime } \rangle$ is the Bregman divergence induced from $R$ . As a meta-algorithm, by instantiating
136
+ 109 different regularization functions, OMD can induce two important algorithms, i.e., Online Gradient
137
+ 110 Descent [38, 13] and Online Exponentiated Gradient [11].
138
+
139
+ # 11 2.2 Multi-Objective Optimization
140
+
141
+ 112 Multiple-objective optimization (MOO) is concerned with solving the problems of optimizing
142
+ 113 multiple objectives simultaneously [39, 29]. In general, since different objectives may conflict with
143
+ 114 each other, there is no single solution that can optimize all the objectives at the same time. Instead,
144
+ 115 MOO seeks to find solutions that achieve Pareto optimality. Next, we exposit Pareto optimality and
145
+ 116 related definitions more formally using a vector-valued loss $H = ( h ^ { 1 } , \ldots , \overline { { { h ^ { m } } } } ) ^ { \top }$ as objectives, where
146
+ 117 $m \geq 2$ and $h ^ { i } : { \mathcal { K } } \mathbb { R }$ , $i \in \{ 1 , \ldots , m \}$ , $\kappa \subset \mathbb { R }$ , is the $i$ -th loss function.
147
+
148
+ Definition 2.1 (Pareto optimality). (a) For any two solutions $x , x ^ { \prime } \in \mathcal { K }$ , we say that $x$ dominates $x ^ { \prime }$ , denoted as $\boldsymbol { x } \prec \boldsymbol { x } ^ { \prime }$ or $x ^ { \prime } \succ x$ , if $h ^ { i } ( x ) \leq h ^ { i } ( x ^ { \prime } )$ for all $i$ , and there exists one $i$ such that $h ^ { i } ( x ) < h ^ { i } ( x ^ { \prime } )$ ; otherwise, we say that $x$ does not dominate $x ^ { \prime }$ , denoted as $x \not \prec x ^ { \prime }$ or $x ^ { \prime } \nsimeq x$ .
149
+
150
+ (b) A solution $x ^ { * } \in \kappa$ is called Pareto optimal if it is not dominated by any other solution in $\kappa$ .
151
+
152
+ 122 There may exist multiple Pareto optimal solutions. For example, it is easy to show that the optimizer
153
+ 123 of any single objective, i.e., $x _ { i } ^ { * } \in \arg \operatorname* { m i n } _ { x \in \mathcal { K } } h ^ { i } ( x ) , i \in \{ \bar { 1 } , \ldots , m \}$ , is Pareto optimal. Different
154
+ 124 Pareto optimal solutions reflect different trade-offs among the objectives [17].
155
+ 25 Definition 2.2 (Pareto front). (a) All Pareto optimal solutions form the Pareto set ${ \mathcal { P } } _ { \kappa } ( H )$ .
156
+ 26 (b) The image of ${ \mathcal { P } } _ { \kappa } ( H )$ constitutes the Pareto front, denoted as $\mathcal { P } ( H ) = \{ H ( x ) \mid x \in \mathcal { P } _ { K } ( H ) \} .$
157
+ 127 Now that we have established the notion of optimality in MOO, we proceed to introduce the metrics
158
+ 128 that measure the discrepancy of an arbitrary solution $x \in \kappa$ from being optimal. Recall that, in the
159
+ 129 single-objective setting with merely one loss function $h : \mathcal { Q } \mathbb { R }$ , where $\mathcal { Q } \subset \mathbb { R }$ , for any $z \in \mathcal { Q }$ ,
160
+ 130 the loss gap $h ( z ) - \mathrm { { m i n } } _ { z ^ { \prime \prime } \in \mathcal { Q } } h ( z ^ { \prime \prime } )$ is directly the discrepancy measure. However, in MOO with
161
+ 131 more than one loss, for any $x \in \kappa$ , the loss gap $H ( x ) - \overline { { H ( x ^ { \prime \prime } ) } }$ , where $x ^ { \prime \prime } \in { \mathcal { P } } _ { \kappa } ( H )$ , is a vector.
162
+ 132 Intuitionally, the desired discrepancy metric shall scalarize the vector-valued loss gap and yield
163
+ 133 the value 0 for any Pareto optimal solution. In general, there are two commonly used discrepancy
164
+ 134 metrics in MOO, i.e. Pareto suboptimality gap (PSG) [30] and Hypervolume (HV) [4]. As HV is a
165
+ 135 volume-based metric, it is more difficult to optimize or analyze via iterative algorithms [36]. Hence
166
+ 136 in this paper, we adopt PSG, which has been extensively used in multi-objective bandits [30, 19].
167
+ 137 Definition 2.3 (Pareto suboptimality gap). For any $x \in \kappa$ , the Pareto suboptimality gap to a given
168
+ 138 comparator set $\kappa ^ { * } \subset \kappa$ , denoted as $\Delta ( x ; K ^ { * } , H )$ , is defined as the minimal scalar $\epsilon \geq 0$ that needs
169
+ 139 to be subtracted from all entries of $H ( x )$ , such that $H ( x ) - \epsilon \mathbf { 1 }$ is not dominated by any point in $\kappa ^ { * }$ ,
170
+ 140 where 1 denotes the all-one vector in $\mathbb { R } ^ { m }$ , i.e.,1
171
+
172
+ $$
173
+ \Delta ( x ; K ^ { * } , H ) = \operatorname* { i n f } _ { \epsilon \geq 0 } \epsilon , \quad \mathrm { s . t . } \forall x ^ { \prime \prime } \in K ^ { * } , \exists i \in \{ 1 , . . . , m \} , h ^ { i } ( x ) - \epsilon < h ^ { i } ( x ^ { \prime \prime } ) .
174
+ $$
175
+
176
+ 141 Clearly, PSG is a distance-based discrepancy metric that motivated from a purely geometric viewpoint.
177
+ 142 In practice, the comparator set $\kappa ^ { * }$ is often set to be the Pareto set ${ \mathcal { P } } _ { \kappa } ( H )$ [30]. Then for any $x \in \kappa$ ,
178
+ 143 its PSG is always non-negative and equals to zero if and only if $x \in { \mathcal { P } } _ { \kappa } ( H )$ .
179
+ 144 Multiple Gradient Descent Algorithm (MGDA) is an offline first-order algorithm for MOO [9, 7].
180
+ 145 146 At each iteration for each objectiv $l \in \{ 1 , \ldots , L \}$ $i \in \{ 1 , \ldots , m \}$ $L$ is the number of iterations), it first c then derive the composite gradient $\begin{array} { r } { g _ { l } ^ { c o \bar { m } p } = \sum _ { i = 1 } ^ { \bar { m } } \lambda _ { l } ^ { i } \nabla h ^ { i } ( x _ { l } ) } \end{array}$ $\nabla h ^ { i } ( x _ { l } )$
181
+ 147 the convex combination of these multiple gradients; it applies ${ \dot { \boldsymbol g } _ { l } } ^ { c o m p }$ to execute the gradient descent
182
+ 148 step to update the decision, i.e., $x _ { l + 1 } = x _ { l } - \eta g _ { l } ^ { c o m p }$ gcompl , where η is the step size. The core part of
183
+ 149 MGDA is the module that determines the composite weights $\lambda _ { l } = ( \lambda _ { l } ^ { 1 } , \ldots , \lambda _ { l } ^ { m } )$ , which is given as
184
+
185
+ $$
186
+ \lambda _ { l } = \arg \operatorname* { m i n } _ { \lambda _ { l } \in \mathcal { S } _ { m } } \| \sum _ { i = 1 } ^ { m } \lambda _ { l } ^ { i } \nabla h ^ { i } ( x _ { l } ) \| _ { 2 } ^ { 2 } ,
187
+ $$
188
+
189
+ 150 where $\begin{array} { r } { \mathcal { S } _ { m } = \{ \lambda \in \mathbb { R } ^ { m } | \sum _ { i = 1 } ^ { m } \lambda ^ { i } = 1 , \lambda ^ { i } \geq 0 , i \in \{ 1 , \dots , m \} \} } \end{array}$ denotes the probabilistic simplex in
190
+ 151 $\mathbb { R } ^ { m }$ . This is a min-norm solver which finds the weights in the simplex that yields the minimum $L _ { 2 }$
191
+ 152 norm of the composite gradient. Thus MGDA is also called the min-norm method. Existing works
192
+ 153 [7, 29] have shown that MGDA is guaranteed to decrease all the objectives simultaneously until it
193
+ 154 reaches a Pareto optimal decision (under the convex setting where all $h ^ { i }$ are convex functions).
194
+
195
+ # 3 Multi-Objective Online Convex Optimization
196
+
197
+ In this section, we formally formulate the framework of multi-objective optimization in the online setting, termed Multi-Objective Online Convex Optimization (MO-OCO).
198
+
199
+ Framework overview. We tailor the famous online convex optimization (OCO) framework to the multi-objective setting, which can be viewed as a repeated game between an online learner and the adversarial environment. At each round $t \in \{ 1 , \ldots , T \}$ , the learner generates a decision $x _ { t }$ from a given convex compact decision set $\mathcal { X } \subset \mathbb { R } ^ { n }$ . Then the adversary replies the decision with a vector loss function $F _ { t } ( \bar { x } ) : \mathcal { X } \mathbb { R } ^ { m }$ , where its $i$ -th component $f _ { t } ^ { i } ( x ) \ \bar { : } \ x \ \to \ \mathbb { R }$ belongs to the $i$ -th objective, and the learner suffers the loss $F _ { t } ( x _ { t } ) \in \mathbb { R } ^ { m }$ . The goal of the learner is to generate a sequence of decisions $\{ x _ { t } \} _ { t = 1 } ^ { T }$ so that the cumulative loss $\textstyle \sum _ { t = 1 } ^ { T } F _ { t } ( x _ { t } )$ can be optimized.
200
+
201
+ 165 Recall that, in the single-objective setting, the performance metric $\begin{array} { r } { R ( T ) = \sum _ { t = 1 } ^ { T } ( f _ { t } ( x _ { t } ) - f _ { t } ( z _ { t } ) ) } \end{array}$
202
+ 166 i.e., the regret, compares the actual decisions with some comparator $z _ { t } \in \mathcal { X }$ at each round $t$ . For
203
+ 167 the static regret, all $z _ { t }$ are identically set as the fixed optimal decision $x ^ { * }$ w.r.t. all losses in hindsight,
204
+ 168 i.e., $\begin{array} { r } { z _ { t } \equiv x ^ { * } \in \arg \operatorname* { m i n } _ { x \in \mathcal { X } } \sum _ { t = 1 } ^ { T } f _ { t } ( x ) } \end{array}$ . For the dynamic regret, each $z _ { t }$ is selected as the optimal
205
+ 169 decision $\boldsymbol { x } _ { t } ^ { * }$ w.r.t. the instantaneous loss $f _ { t }$ at that round, i.e., $z _ { t } = x _ { t } ^ { * } \in \arg \operatorname* { m i n } _ { x \in \mathcal { X } } f _ { t } ( x )$ .
206
+ 170 In analogy, we can define the multi-objective regret as $\begin{array} { r } { R ( T ) = \sum _ { t = 1 } ^ { T } \Delta _ { t } } \end{array}$ , where each $\Delta _ { t }$ compares
207
+ 171 . However, in general, no single decision can
208
+ 172 optimize all the objectives at the same time. Hence, it is natural to compare $x _ { t }$ with a group of Pareto
209
+ 173 optimal decisions, which constitute a comparator set $\mathcal { C } _ { t } \subset \mathcal { X }$ . To measure the discrepancy between $x _ { t }$
210
+ 174 and $\mathcal { C } _ { t }$ , we further introduce the Pareto suboptimality gap (PSG) [30] $\Delta ( x _ { t } ; \mathcal { C } _ { t } , F _ { t } )$ . Then the multi
211
+ 175 objective regret can be defined as $\begin{array} { r } { R ( T ) = \sum _ { t = 1 } ^ { T } \Delta ( x _ { t } ; \mathcal { C } _ { t } , F _ { t } ) } \end{array}$ . Now we can formulate the static or
212
+ 176 the dynamic variant by specifying the comparator set $\mathcal { C } _ { t }$ at each round. Specifically, by setting all $\mathcal { C } _ { t }$ to
213
+ 177 be the Pareto set $\mathcal { X } ^ { \ast }$ of the cumulative loss $\textstyle \sum _ { t = 1 } ^ { T } F _ { t }$ , we formulate the multi-objective static regret
214
+ 178 $\begin{array} { r } { R _ { \mathrm { M O S } } ( T ) = \sum _ { t = 1 } ^ { T } \Delta ( x _ { t } ; \mathcal { X } ^ { \ast } , F _ { t } ) } \end{array}$ $F _ { t }$ . By setting each bjective dynamic $\mathcal { C } _ { t }$ to bgret $\begin{array} { r } { R _ { \mathrm { M O D } } ( T ) = \sum _ { t = 1 } ^ { T } \Delta ( x _ { t } ; \mathcal { X } _ { t } ^ { \ast } , F _ { t } ) } \end{array}$ $\mathcal { X } _ { t } ^ { \ast }$ neous.
215
+ 180 Recall that PSG is a zero-order metric motivated in a purely geometric sense, namely, its calculation
216
+ 181 needs to solve a constrained optimization problem with an unknown boundary $f _ { t } ^ { i } ( x ^ { \prime \prime } ) , \forall x ^ { \prime \prime } \in { \mathcal { C } } _ { t }$
217
+ 182 Hence, it is not straightforward to design a first-order algorithm to optimize PSG, not to mention
218
+ 183 the regret analysis. To motivate algorithm design and analysis, we investigate the two variants in
219
+ 184 more detail. We begin with the dynamic variant, since we find that it has an equivalent form, which is
220
+ 185 intuitive and has a strong implication on the design of effective online multiple gradient algorithms.
221
+
222
+ An equivalent form of the dynamic regret. Surprisingly, the multi-objective dynamic regret $R _ { \mathrm { M O D } }$ can be transformed into an unconstrained max-min form. The derivation utilizes Pareto optimality of $\mathcal { X } _ { t } ^ { \ast }$ and is highly non-trivial, which is deferred to the appendix due to the space limit.
223
+
224
+ 189 Proposition 3.1. The multi-objective dynamic regret has an equivalent form, i.e.,
225
+
226
+ $$
227
+ R _ { \mathrm { M O D } } ( T ) = \operatorname* { s u p } _ { \stackrel { x _ { t } ^ { * } \in \mathcal { X } _ { t } ^ { * } , \ } { 1 \leq t \leq T } } \operatorname* { i n f } _ { \stackrel { x \in S _ { m } } { 1 \leq t \leq T } } \sum _ { t = 1 } ^ { T } \lambda _ { t } ^ { * } { ^ { \top } ( F _ { t } ( x _ { t } ) - F _ { t } ( x _ { t } ^ { * } ) ) } .
228
+ $$
229
+
230
+ 190 Remark. (i) The above form can be understood as a variant of the standard dynamic regret regarding
231
+ 191 $\{ \lambda _ { t } ^ { * } ^ { \top } F _ { t } \} _ { t = 1 } ^ { T }$ , whereas $\lambda _ { t } ^ { * }$ are unknown to the learner. This provides an intuition that we can gen
232
+ 192 erate weights $\lambda _ { t } \in \boldsymbol { S } _ { m }$ at each round and optimize $\{ \lambda _ { t } F _ { t } \} _ { t = 1 } ^ { T }$ via single-objective techniques. For
233
+ 193 first-order algorithms, it is equivalent to selecting a convex combination of individual gradients and
234
+ 194 then applying the composite gradient to model update. Undoubtedly, how to generate the weights $\lambda _ { t }$
235
+ 195 needs some careful designs, which will be explicated later in the algorithm section.
236
+
237
+ (ii) When $m \ = \ 1$ , we have $S _ { m } ~ = ~ \{ 1 \}$ and $\begin{array} { r } { \mathcal { X } _ { t } ^ { * } ~ = ~ \arg \operatorname* { m i n } _ { x \in \mathcal { X } } F _ { t } ( x ) } \end{array}$ . Hence $R _ { \mathrm { M O D } } ( T ) ~ =$ $\begin{array} { r } { \sum _ { t = 1 } ^ { T } ( F _ { t } ( x _ { t } ) - \operatorname* { m i n } _ { x \in \mathcal { X } } F _ { t } ( x ) ) } \end{array}$ , which is exactly the single-objective dynamic regret $R _ { D } ( T )$ .
238
+
239
+ 198 An alternative form of the static regret. Unfortunately, for $R _ { \mathrm { M O S } }$ , the above equivalence form
240
+ 199 does not exist. Here is the reason. In $R _ { \mathrm { M O S } }$ , the comparator set $\mathcal { X } ^ { \ast }$ is the Pareto set of the cumulative
241
+ 200 loss $\textstyle \sum _ { t = 1 } ^ { T } F _ { t }$ rather than the instantaneous loss $F _ { t }$ . Hence, at some specific round $t$ , the decision
242
+ 201 $x _ { t }$ may Pareto dominate all points in w.r.t. the instantaneous $F _ { t }$ , and we would expect the
243
+ 202 metric $\Delta _ { t }$ to be negative. However, PSG (or other commonly used metrics such as Hypervolume)
244
+ 203 204 yields no, we have $R _ { \mathrm { M O S } }$ th , w $R _ { S }$ . For example, whenh can be much looser
245
+ $m = 1$ $\begin{array} { r } { R _ { \operatorname { M O S } } ( T ) = \operatorname* { s u p } _ { x ^ { * } \in \mathcal { X } ^ { * } } \sum _ { t = 1 } ^ { T } \operatorname* { m a x } \{ F _ { t } ( x _ { t } ) - F _ { t } ( x ^ { * } ) , 0 \} } \end{array}$
246
+ 205 than the static regret $\begin{array} { r } { R _ { S } ( T ) = \operatorname* { s u p } _ { x ^ { * } \in \mathcal { X } ^ { * } } \sum _ { t = 1 } ^ { T } ( F _ { t } ( x _ { t } ) - F _ { t } ( x ^ { * } ) ) } \end{array}$ . Hence the analysis of $R _ { \mathrm { M O S } }$ is
247
+ 206 intrinsically complex if we use existing discrepancy metrics that always yield non-negative values.
248
+ 207 Enlightened by Proposition 3.1, we can formulate the static regret in a different way, i.e., by modifying
249
+ 208 the equivalent form of dynamic regret. Recall that in Proposition 3.1, at each round $t$ , the comparator
250
+ 209 $\boldsymbol { x } _ { t } ^ { * }$ is selected from the Pareto set $\mathcal { X } _ { t } ^ { \ast }$ of the instantaneous loss $F _ { t }$ , and the weights $\lambda _ { t } ^ { * }$ are generated
251
+ 210 from $S _ { m }$ . To formulate the static variant, we can use a fixed comparator $x ^ { * }$ from the Pareto set $\mathcal { X } ^ { \ast }$ of
252
+ 211 the cumulative loss $\sum _ { t } F _ { t }$ and fixed weights $\lambda ^ { * } \in S _ { m }$ at all rounds. Now the static variant takes
253
+
254
+ $$
255
+ R _ { \mathrm { M O S } } ( T ) : = \operatorname* { s u p } _ { x ^ { * } \in \mathcal { X } ^ { * } } \operatorname* { i n f } _ { \lambda ^ { * } \in \mathcal { S } _ { m } } { \lambda ^ { * } } ^ { \top } ( \sum _ { t = 1 } ^ { T } F _ { t } ( x _ { t } ) - \sum _ { t = 1 } ^ { T } F _ { t } ( x ^ { * } ) ) .
256
+ $$
257
+
258
+ 212 Remark. (i) $R _ { \mathrm { M O S } } ( T )$ has a clear physical meaning that optimizing it will impose the cumulative loss 213 $\textstyle \sum _ { t = 1 } ^ { T } F _ { t } ( x _ { t } )$ to reach the Pareto front ${ \mathcal { P } } ^ { * }$ . See more details in Appendix C.
259
+
260
+ (ii) When 214 $m = 1$ , $S _ { m } = \{ 1 \}$ and $\mathcal { X } ^ { \ast }$ reduces to $\begin{array} { r } { \arg \operatorname* { m i n } _ { x \in \mathcal { X } } \sum _ { t = 1 } ^ { T } F _ { t } ( x ) } \end{array}$ . Therein $R _ { \mathrm { M O S } } ( T ) =$ 15 $\begin{array} { r } { \sum _ { t = 1 } ^ { T } F _ { t } ( x _ { t } ) - \operatorname* { m i n } _ { x ^ { * } \in \mathcal { X } ^ { * } } \sum _ { t = 1 } ^ { T } F _ { t } ( x ^ { * } ) } \end{array}$ x∈X t=1 , which reduces to the single-objective static regret $R _ { S } ( T )$
261
+
262
+ # 216 4 Online Mirror Multiple Descent
263
+
264
+ In this section, we present the Online Mirror Multiple Descent (OMMD) algorithm, the protocol of which is given in Algorithm 1. At each round $t$ , the learner first computes the gradient of the loss regarding each objective, then determines the composite weights of all these gradients, and finally applies the composite gradient to the online mirror descent step.
265
+
266
+ # 4.1 Vanilla Min-Norm May Incur Linear Regrets
267
+
268
+ 222 The core module of OMMD is the composition of multiple gradients. For simplicity, we represent the gradients at round 223 $t$ in a matrix form $\nabla F _ { t } ( x _ { t } ) = [ \nabla \mathsf { \bar { f } } _ { t } ^ { 1 } ( \bar { x } _ { t } ) , \ldots , \nabla f _ { t } ^ { m } ( x _ { t } ) ] \in \bar { \mathbb { R } } ^ { \mathsf { \bar { n } } \times m }$ . Then the
269
+
270
+ 1: Input: Convex set $\mathcal { X }$ , time horizon $T$ , regularization parameter $\alpha _ { t }$ , learning rate $\eta _ { t }$ , regulariza tion function $R$ , user preference $\lambda _ { 0 }$ .
271
+ 2: Initialize: $x _ { 1 } \in \mathcal { X }$ .
272
+ 3: for $t = 1 , \dots , T$ do
273
+ 4: Predict $x _ { t }$ and receive a loss function $F _ { t } : \mathcal { X } \mathbb { R } ^ { m }$ .
274
+ 5: Compute the multiple gradients $\nabla F _ { t } ( x _ { t } ) = [ \nabla f _ { t } ^ { 1 } ( x _ { t } ) , \ldots , \nabla f _ { t } ^ { m } ( x _ { t } ) ] \in \mathbb { R } ^ { n \times m } .$ .
275
+ 6: Determine the weights for the gradient composition via min-regularized-norm $\lambda _ { t } = \operatorname * { \bar { a r g m i n } } _ { \lambda \in { \cal S } _ { m } } \| \nabla \dot { F _ { t } } ( x _ { t } ) \lambda \| _ { 2 } ^ { 2 } + \alpha \| \lambda - \stackrel { \smile } { \lambda } _ { 0 } \| _ { 1 } .$
276
+ 7: Compute the composite gradient $g _ { t } = \nabla F _ { t } ( x _ { t } ) \lambda _ { t }$ .
277
+ 8: Perform online mirror descent using $g _ { t }$ $x _ { t + 1 } = \underset { x \in \mathcal { X } } { \arg \operatorname* { m i n } } \eta \langle g _ { t } , x \rangle + B _ { R } ( x , x _ { t } ) .$
278
+
279
+ 9: end for
280
+
281
+ 224 composite gradient is given as $g _ { t } = \nabla F _ { t } ( x _ { t } ) \lambda _ { t }$ , where $\lambda _ { t }$ is the composite weights. As illustrated in
282
+ 225 Preliminary, the min-norm method in MGDA [7, 29] is a classic method to determine the composite
283
+ 226 weights in the offline setting, which results in a common descent direction that can descend all the
284
+ 227 losses simultaneously. Thus, it is tempting to consider applying it to the online setting.
285
+ 228 However, directly applying the min-norm method to the online setting is not workable, which may
286
+ 229 even incur linear regrets of the resulting algorithms. The rationale is as follows. In the vanilla
287
+ 230 min-norm method, the composite weights $\lambda _ { t }$ are determined solely by the gradients $\nabla F _ { t } ( x _ { t } )$ at the
288
+ 231 current round $t$ , hence they are very sensitive to the instantaneous loss $F _ { t }$ . In the online setting,
289
+ 232 the losses at each round can be adversarially chosen, and thus the corresponding gradients can be
290
+ 233 adversarial. These adversarial gradients may result in undesired composite weights, which may
291
+ 234 further produce a composite gradient that even deteriorates the next prediction. In the following,
292
+ 235 we provide a problem instance in which min-norm incurs a linear regret. We extend OMD to the
293
+ 236 multi-objective setting, where the composite weights are directly yielded by min-norm [11].
294
+ 237 Problem instance. We consider a two-objective problem. The decision domain is $\mathcal { X } = \{ ( u , v ) ~ |$
295
+ 238 $\begin{array} { r } { u + v \leq \frac { 1 } { 2 } , v - u \leq \frac { 1 } { 2 } , v \geq 0 \} } \end{array}$ and the loss function at each round is
296
+
297
+ $$
298
+ F _ { t } ( x ) = \left\{ \begin{array} { l l } { ( \| x - a \| ^ { 2 } , \| x - b \| ^ { 2 } ) , ~ t = 2 k - 1 , } & { ~ k = 1 , 2 , . . . ; } \\ { ( \| x - b \| ^ { 2 } , \| x - c \| ^ { 2 } ) , ~ t = 2 k , } & { ~ k = 1 , 2 , . . . , } \end{array} \right.
299
+ $$
300
+
301
+ 239 where $a = ( - 2 , - 1 ) , b = ( 0 , 1 ) , c = ( 2 , - 1 )$ . For simplicity, we first analyze the case where the
302
+ 240 total time horizon $T$ is an even number. Then we can compute the Pareto set of the cumulative
303
+ 241 loss $\textstyle \sum _ { t = 1 } ^ { T } F _ { t }$ , i.e., $\begin{array} { r } { \mathcal { X } ^ { * } = \{ ( u , 0 ) \mid - \frac { 1 } { 2 } \leq u \leq \frac { 1 } { 2 } \} } \end{array}$ , which locates at the $x$ -axis. For conciseness of
304
+ 242 analysis, we instantiate OMD with L2-regularization, which results in the simple OGD algorithm
305
+ 243 [24]. We start at an arbitrary point $x _ { 1 } = ( u _ { 1 } , v _ { 1 } ) \in \mathcal { X }$ satisfying $v _ { 1 } > 0$ . At each round $t$ , suppose
306
+ 244 the decision $x _ { t } = ( u _ { t } , v _ { t } ) \in \mathcal { X }$ , then the gradients of each objective w.r.t. $x _ { t }$ can be calculated as
307
+
308
+ $$
309
+ g _ { t } ^ { 1 } = { \left\{ \begin{array} { l l } { ( 2 u _ { t } + 4 , ~ 2 v _ { t } + 2 ) , } & { t = 2 k - 1 ; } \\ { ( 2 u _ { t } , } & { 2 v _ { t } - 2 ) , } & { t = 2 k . } \end{array} \right. } \qquad g _ { t } ^ { 2 } = { \left\{ \begin{array} { l l } { ( 2 u _ { t } , } & { 2 v _ { t } - 2 ) , } & { t = 2 k - 1 ; } \\ { ( 2 u _ { t } - 4 , } & { 2 v _ { t } + 2 ) , } & { t = 2 k . } \end{array} \right. }
310
+ $$
311
+
312
+ 245 Since $\begin{array} { r } { 0 \leq v _ { t } \leq \frac { 1 } { 2 } } \end{array}$ , we observe that the second entry of either gradient alternates between positive
313
+ 246 and negative. By using min-norm, the composite weights $\lambda _ { t }$ can be computed as
314
+
315
+ $$
316
+ \lambda _ { t } = \left\{ { \begin{array} { l l } { ( ( 1 - u _ { t } - v _ { t } ) / 4 , } & { ( 3 + u _ { t } + v _ { t } ) / 4 ) , t = 2 k - 1 ; } \\ { ( ( 3 - u _ { t } + v _ { t } ) / 4 , } & { ( 1 + u _ { t } - v _ { t } ) / 4 ) , t = 2 k . } \end{array} } \right.
317
+ $$
318
+
319
+ 247 We observe that both entries of composite weights alternative between above $\frac { 1 } { 2 }$ and below $\frac { 1 } { 2 }$ , and
320
+ 248 $\| \lambda _ { t + 1 } - \lambda _ { t } \| _ { 1 } \geq 1$ . Recall that $\| \lambda _ { t } \| _ { 1 } = 1$ , hence the composite weights at two consecutive rounds
321
+ 249 change radically. The resulting composite gradient takes
322
+
323
+ $$
324
+ g _ { t } ^ { c o m p } = \left\{ \begin{array} { l l } { { ( u _ { t } - v _ { t } + 1 , ~ } } & { { - u _ { t } + v _ { t } - 1 ) , t = 2 k - 1 ; } } \\ { { ( - u _ { t } - v _ { t } - 1 , } } & { { - u _ { t } - v _ { t } - 1 ) , t = 2 k . } } \end{array} \right.
325
+ $$
326
+
327
+ 250 The fluctuating composite weights mix with the positive and negative second entries of gradients,
328
+ 251 making the second entry of $g _ { t } ^ { c \bar { o } m p }$ always negative, i.e., $- u _ { t } + v _ { t } - 1 < 0$ and $- u _ { t } - v _ { t } - 1 < 0$
329
+ 252 Hence ${ \bf { \bar { \it g } } } _ { t } ^ { c o m p }$ actually drives $x _ { t }$ away from the Pareto set $\mathcal { X } ^ { \ast }$ that coincides with the $x$ -axis. This
330
+ 253 essentially reversely optimizes the loss, hence increases the regret. In fact, we can prove that it even
331
+ 254 incurs a linear regret2. Due to the lack of space, we leave the proof of linear regret when $T$ is an odd
332
+ 255 number in the appendix. The above results of the problem instance are summarized as follows.
333
+
334
+ Proposition 4.1. For OMD equipped with vanilla min-norm, there exists a multi-objective online convex optimization problem, in which the resulting algorithm incurs a linear regret.
335
+
336
+ 258 Remark. Stability is a basic requirement to guarantee meaningful regrets in online learning [25].
337
+ 259 In the single-objective setting, directly regularizing the iterate $x _ { t }$ (e.g., OMD) is already enough.
338
+ 260 However, as shown in the above analysis, only regularizing $x _ { t }$ is not enough to attain sublinear regrets
339
+ 261 in the multi-objective setting, since there is another source of instability, i.e., the composite weights,
340
+ 262 that affects the direction of the composite gradient. Therefore, in multi-objective online learning,
341
+ 263 besides regularizing the iterates, we also need to explicitly regularize the composite weights.
342
+
343
+ # 4.2 Doubly Regularized Online Mirror Multiple Descent
344
+
345
+ Enlightened by the design of regularization in FTRL [25], we consider the regularizer $r ( \lambda , \lambda _ { 0 } )$ , where $\lambda _ { 0 }$ is the pre-defined composite weight that may reflect the user preference. This results in a new solver called min-regularized-norm, i.e.,
346
+
347
+ $$
348
+ \lambda _ { t } = \underset { \lambda \in S _ { m } } { \arg \operatorname* { m i n } } \| \nabla F _ { t } ( x _ { t } ) \lambda \| _ { 2 } ^ { 2 } + \alpha r ( \lambda , \lambda _ { 0 } ) ,
349
+ $$
350
+
351
+ 268 where $\alpha$ is the strength of regularization. Equipping OMD with the new solver, we derive the
352
+ 269 proposed online algorithm. Note that beyond the regularization on the iterate $x _ { t }$ that is intrinsic in
353
+ 270 online learning, there is another regularization on the composite weights $\lambda _ { t }$ in min-regularized norm.
354
+ 271 Both regularizations are fundamental and they together ensure the stability in the multi-objective
355
+ 272 online setting. Hence we call the algorithm Doubly Regularized OMMD (DR-OMMD).
356
+ 273 In principle, $r$ can take various forms such as $L _ { 1 }$ -norm, $L _ { 2 }$ -norm and KL divergence etc. Here
357
+ 274 we adopt $L _ { 1 }$ -norm since it aligns well with the simplex constraint of $\lambda$ . Min-regularized-norm
358
+ 275 can be computed very efficiently, since it has a closed-form solution when $m = 2$ . Specifically,
359
+ 276 suppose the gradients at round $t$ are $g _ { t } ^ { 1 }$ and $g _ { t } ^ { 2 }$ . Set $\gamma _ { L } = ( g _ { 2 } ^ { \top } ( g _ { 2 } - g _ { 1 } ) - \alpha ) / \Vert g _ { 2 } - g _ { 1 } \Vert ^ { 2 }$ and
360
+ 277 $\gamma _ { R } = ( g _ { 2 } ^ { \top } ( g _ { 2 } - g _ { 1 } ) + \alpha ) / \Vert g _ { 2 } - g _ { 1 } \Vert ^ { 2 }$ . Given any $\lambda _ { 0 } = ( \gamma _ { 0 } , 1 - \gamma _ { 0 } ) \in S _ { 2 }$ , we can compute the
361
+ 278 composite weights $\lambda _ { t }$ as $( \gamma _ { t } , 1 - \gamma _ { t } )$ where
362
+
363
+ $$
364
+ \gamma _ { t } = \operatorname* { m a x } \{ \operatorname* { m i n } \{ \gamma _ { t } ^ { \prime \prime } , 1 \} , 0 \} , \quad \mathrm { w h e r e } \ \gamma _ { t } ^ { \prime \prime } = \operatorname* { m a x } \{ \operatorname* { m i n } \{ \gamma _ { 0 } , \gamma _ { R } \} , \gamma _ { L } \} .
365
+ $$
366
+
367
+ 79 In addition, when $m > 2$ , since the feasible region $S _ { m }$ is a simplex, we can introduce a Frank-Wolfe
368
+ 80 solver [14] to compute the composite weights. See the protocol and more details in Appendix D.
369
+
370
+ Compared to vanilla min-norm, the composite weights in min-regularized-norm are not fully determined by the adversarial gradients. The resulting relative stability of composite weights make the composite gradients more robust to the adversarial environment. In the following, we give a general analysis and prove that DR-OMMD indeed guarantees sublinear regrets.
371
+
372
+ # 4.3 Analysis
373
+
374
+ We now analyze the static regret and the dynamic regret of DR-OMMD. Our analysis is based on the following commonly used assumptions [13, 11].
375
+
376
+ Assumption 4.2 (Bregman divergence). The regularization function $R$ is 1-strongly convex. In addition, the Bregman divergence is $\gamma$ -Lipschitz continuous, i.e., $B _ { R } ( x , z ) - B _ { R } ( \bar { y } , z ) \leq \gamma \| x -$ $y \| , \forall x , y , z \in \mathrm { d o m } R$ , where $\mathrm { d o m } R$ is the domain of $R$ and satisfies $\mathcal { X } \subset \mathrm { d o m } R \subset \mathbb { R } ^ { n }$ .
377
+
378
+ Assumption 4.3 (Lipschitz continuity). For each $i \in \{ 1 , \ldots , m \}$ , there exists some positive and finite $G$ such that, the $i$ -th loss $f _ { t } ^ { i }$ at each round $t \in \{ 1 , \ldots , T \}$ is $G$ -Lipschitz continuous w.r.t. $\| \cdot \|$ , i.e., $| f _ { t } ^ { i } ( x ) - f _ { t } ^ { i } ( x ^ { \prime } ) | \leq G \| x - \bar { x } ^ { \prime } \|$ . Note that in the convex setting, this assumption leads to bounded gradients, i.e., $\| \nabla f _ { t } ^ { i } ( x ) \| _ { * } \leq G$ for any $t \in \{ 1 , \ldots , T \} , i \in \{ 1 , \ldots , m \} , x \in \mathcal { X }$ .
379
+
380
+ 295 We first provide the static regret bound. The proof is left to the appendix due to the lack of space.
381
+
382
+ Theorem 4.4. Suppose the diameter of 296 $\mathcal { X }$ is bounded by $D$ . Assume $F _ { t }$ is bounded, i.e., $| f _ { t } ^ { i } ( x ) | \leq$ 297 $F , \forall x \in \mathcal { X } , t \in \{ \bar { 1 } , \dots , T \} , i \in \{ 1 , \dots , m \}$ . For any $\lambda _ { 0 } \in { S _ { m } }$ , DR-OMMD attains
383
+
384
+ $$
385
+ R _ { \mathrm { M O S } } ( T ) \leq \frac { 1 } { \eta } B _ { R } ( x ^ { * } , x _ { 1 } ) + \frac { \eta } { 2 } \sum _ { t = 1 } ^ { T } ( \Vert \nabla F _ { t } ( x _ { t } ) \lambda _ { t } \Vert _ { 2 } ^ { 2 } + \frac { 4 F } { \eta } \Vert \lambda _ { t } - \lambda _ { 0 } \Vert _ { 1 } ) .
386
+ $$
387
+
388
+ Remark. (i) Linearization with weights $\lambda _ { 0 } \in \mathcal { S } _ { m }$ can be viewed as single-objective optimization on scalar loss $\lambda _ { 0 } ^ { \top } F _ { t }$ , whose gradient is $g _ { t } = \nabla F _ { t } ( x _ { t } ) \lambda _ { 0 }$ . Hence we can directly borrow the tight bound of OMD (Theorem 6.8 in [27]) and derive a bound $\begin{array} { r } { \frac { 1 } { \eta } B _ { R } ( x ^ { * } , x _ { 1 } ) + \sum _ { t = 1 } ^ { T } \frac { \eta _ { t } } { 2 } \| \nabla F _ { t } ( x _ { t } ) \lambda _ { 0 } \| _ { 2 } ^ { 2 } } \end{array}$ $\lambda _ { t }$ r linearization. In co, the bound becomes $\begin{array} { r } { \frac { 1 } { \eta } B _ { R } ( x ^ { * } , x _ { 1 } ) + \frac { \eta } { 2 } \sum _ { t = 1 } ^ { T } \operatorname* { m i n } _ { \lambda \in { \cal S } _ { m } } \{ \| \nabla F _ { t } ( x _ { t } ) \lambda \| ^ { 2 } + \alpha \| \lambda - \lambda _ { 0 } \| _ { 1 } \} . } \end{array}$ $\alpha = 4 F / \eta$ ulation of, which is smaller than that of linearization. Note that the lower regret of DR-OMMD compared to linearization is also empirically verified in our experiments (see Figure 1).
389
+
390
+ (ii) When $\begin{array} { r } { \eta = \frac { \hat { \sqrt { 2 \gamma D } } } { G \sqrt { T } } , \alpha = \frac { 4 F } { \eta } } \end{array}$ , the bound is in the order of $O ( \sqrt { T } )$ . It matches the optimal static single-objective regret bound w.r.t. $T$ [11] (see more details in Appendix E).
391
+
392
+ Then we turn to the dynamic regret. Our analysis relies on an additional assumption [2, 32, 5].
393
+
394
+ Assumption 4.5 (Temporal variability). For each $i \in \{ 1 , \ldots , m \}$ , there exists some positive and finite $V _ { T }$ such that $\begin{array} { r } { \sum _ { t = 1 } ^ { T - 1 } \operatorname* { s u p } _ { x \in \mathcal { X } } | f _ { t } ^ { i } ( x ) - f _ { t + 1 } ^ { i } ( x ) | \leq V _ { T } } \end{array}$ .
395
+
396
+ Theorem 4.6. Assume the step size satisfies 310 $\begin{array} { r } { \frac { 4 V _ { T } } { G ^ { 2 } T } \leq \eta \leq \frac { 4 V _ { T } } { G ^ { 2 } } } \end{array}$ . Then under all the above assumptions, 311 for any preference $\lambda _ { 0 } \in { S _ { m } }$ , OMMD with min-regularized-norm attains
397
+
398
+ $$
399
+ R _ { \mathrm { M O D } } ( T ) \leq \frac { \eta G ^ { 2 } T } { 2 } + \frac { 4 \gamma D V _ { T } } { \eta ^ { 2 } G ^ { 2 } } + \frac { \eta } { 2 } \sum _ { t = 1 } ^ { T } ( \Vert \nabla F _ { t } ( x _ { t } ) \lambda _ { t } \Vert _ { 2 } ^ { 2 } + \frac { 8 F G ^ { 2 } T } { V _ { T } } \Vert \lambda _ { t } - \lambda _ { 0 } \Vert _ { 1 } ) .
400
+ $$
401
+
402
+ Remark. When 312 $\begin{array} { r } { \eta = \frac { 2 } { G } ( \frac { \gamma D V _ { T } } { G T } ) ^ { 1 / 3 } , \alpha = \frac { 8 F G ^ { 2 } T } { V _ { T } } } \end{array}$ , the bound is in the order of $O ( T ^ { 2 / 3 } V _ { T } ^ { 1 / 3 } )$ , matching 313 the best attainable single-objective dynamic regret bound [2, 35] (see more details in Appendix E).
403
+
404
+ # 5 Experiments
405
+
406
+ In this section, we conduct extensive experiments to evaluate the effectiveness of DR-OMMD. We consider two baselines: (i) linearization performs single-objective online learning on the linearized loss $\lambda _ { 0 } ^ { \top } F _ { t }$ at each round $t$ , where the weights $\lambda _ { 0 } \in { S _ { m } }$ are given beforehand; note that it is equivalent to computing composite gradients with fixed weights $\lambda _ { t } \equiv \lambda _ { 0 }$ . (ii) min-norm equips OMD with vanilla min-norm [7] for gradient composition.
407
+
408
+ # 5.1 Simulation Experiments: Tracking the Pareto Front
409
+
410
+ As summarized in Figure 1 (a), the goal is to track two points $\xi _ { t } ^ { 1 } , \xi _ { t } ^ { 2 }$ cycling along a circle ${ \mathcal { C } } = \{ \xi \in { }$ $\mathbb { R } ^ { 2 } \mid \| \xi \| _ { 2 } = 1 \}$ . For each $i \in \{ 1 , 2 \}$ , $\xi _ { t } ^ { i } = ( \cos \theta _ { t } ^ { i } , \sin \bar { \theta } _ { t } ^ { i } )$ is determined by some angle $\theta _ { t } ^ { i }$ . We set a positive integer $P ^ { i }$ as the rotating period of $\xi _ { t } ^ { i }$ , which is unknown to the learner. The two points are initialized by $\theta _ { 1 } ^ { 1 } = 0$ and $\theta _ { 1 } ^ { 2 } = \pi / 2$ and move as follows: at each round $t$ , for each $i \in \{ 1 , 2 \}$ , the adversary independently samples an angle $\delta _ { t } ^ { i }$ from a Gaussian distribution $\mathcal { N } ( { 2 \pi } / { P ^ { i } } , { 1 } / { \sqrt { P ^ { i } } } )$ , then moves the $i$ -th point to $\xi _ { t + 1 } ^ { i } \bar { \mathbf { \xi } } = ( \cos \theta _ { t + 1 } ^ { i } , \sin \theta _ { t + 1 } ^ { i } )$ where $\theta _ { t + 1 } ^ { i } = \theta _ { t } ^ { i } - \delta _ { t } ^ { i }$ . Note that $\mathbb { E } \theta _ { t + 1 } ^ { i } =$ $\theta _ { 1 } ^ { i } + 2 \pi t / P ^ { i }$ , hence in average $\xi _ { t } ^ { i }$ rotates clockwise with a period of $P ^ { i }$ . At each round $t$ , the learner 1 generates a decision $x _ { t }$ from a $L 2$ -norm ball $\mathcal { X } = \{ x \in \mathbb { R } ^ { 2 ^ { \cdot } } | \ \| x \| _ { 2 } \leq 2 \}$ . Then it acquires $\xi _ { t } ^ { 1 } , \xi _ { t } ^ { 2 }$ and suffer the losses $f _ { t } ^ { i } ( x _ { t } ) = \| x _ { t } - \xi _ { t } ^ { i } \| _ { 2 } ^ { 2 } / 2 , i \in \{ 1 , 2 \}$ . In this problem, the Pareto set of $F _ { t } = ( f _ { t } ^ { \mathrm { i } } , f _ { t } ^ { 2 } )$ is exactly the line segment between $\xi _ { t } ^ { 1 }$ and $\xi _ { t } ^ { 2 }$ , i.e., $\mathcal { X } _ { t } ^ { * } = \{ \lambda \xi _ { t } ^ { 1 } + ( 1 - \lambda ) \xi _ { t } ^ { 2 } \ | \ \lambda \in [ 0 , 1 ] \}$ . A t each round $t$ , PSG measures the squared distance between $x _ { t }$ and $\mathcal { X } _ { t } ^ { \ast }$ .
411
+
412
+ 332 We run $T = 1 0 , 0 0 0$ rounds. To simulate the pattern drift, we set $P ^ { 1 } = 1 0 , P ^ { 2 } = 2 0$ at the first
413
+ 333 $T _ { 1 } = 3 , 0 0 0$ rounds, and $P ^ { 1 } = 2 0 , P ^ { 2 } = 1 0$ at the last $T _ { 2 } = 7 , 0 0 0$ rounds. For linearization,
414
+ 334 the weights $\lambda _ { 0 } = ( \lambda _ { 0 } ^ { 1 } , 1 - \lambda _ { 0 } ^ { 1 } )$ are decided via a grid search $\lambda _ { 0 } ^ { 1 } \in \{ 0 , 0 . 1 , . . . , 1 \}$ ; we consider
415
+ 335 three variants: lin- $^ { 1 }$ uses the optimal $\lambda _ { 0 }$ for the first $T _ { 1 }$ rounds, lin-2 uses the optimal $\lambda _ { 0 }$ for the
416
+ 336 last $T _ { 2 }$ rounds, and lin-opt uses the optimal $\lambda _ { 0 }$ for all $T$ rounds. For DR-OMMD, for fairness of
417
+
418
+ ![](images/a3b4326a03d8acf25d9ced0df3ebeaa1dfb1dd10d00da99c7cc03a87bd49e358.jpg)
419
+ Figure 1: Simulation setup and results. (a) The targets $\xi _ { t } ^ { 1 } , \xi _ { t } ^ { 2 }$ cycle along the circle. The Pareto set at each round is the line segment $[ \xi _ { t } ^ { 1 } , \xi _ { t } ^ { 2 } ]$ PSG measures the distance from $x _ { t }$ to $[ \xi _ { t } ^ { 1 } , \xi _ { t } ^ { 2 } ]$ (b) Performance of DR-OMMD and baselines.
420
+
421
+ ![](images/30ee82d59d0ad7951da9536a53b3265f80f8ed0fa2dccfd60c48a4136590979b.jpg)
422
+ Figure 2: Results to verify the effectiveness of adaptive regularization on protein. (a) Performance of DR-OMMD and linearization under varying $\lambda _ { 0 } = ( \lambda _ { 0 } ^ { 1 } , 1 - \lambda _ { 0 } ^ { 1 } )$ . (b) Performance using the optimal weights $\lambda _ { 0 } = ( 0 . 1 , 0 . 9 )$ .
423
+
424
+ comparison we use the same $\lambda _ { 0 }$ of lin-opt. The learning rates $\eta$ in all algorithms and the parameter $\alpha$ in DR-OMMD follow the corresponding theories (e.g., Theorem 4.6). In this experiment, since the loss functions are manually designed, the value of $V _ { T }$ can be directly calculated. Note that in some scenarios where $V _ { T }$ is unknown, we can conduct a grid search and utilize a meta-algorithm to handle the unknown $V _ { T }$ [37, 1], similar to the single-objective setting. From the results in Figure 1 (b), we find that DR-OMMD achieves the lowest PSG, showing its ability to track the Pareto front; meanwhile, min-norm appears very unstable in the online setting, even worse than linearization.
425
+
426
+ # 5.2 Convex Experiments: Adaptive Regularization via Multi-Objective Optimization
427
+
428
+ In many real-world online scenarios, regularization is often adopted to avoid overfitting. A standard way is to add a term $r ( x )$ to the loss $f _ { t } ( x )$ at each round and optimize the regularized loss $f _ { t } ( x ) +$ $\sigma r ( x )$ [24], where $\sigma$ is treated as a hyperparameter that needs to be fixed beforehand. The formalism of multi-objective online learning provides a novel way to realize regularization. Since $r ( x )$ measures the complexity of $x$ , it can be regarded as the second objective alongside the primary goal $f _ { t } ( x )$ . We can construct a vector loss $F _ { t } ( \bar { x ) = ( f _ { t } ( x ) , r ( x ) ) }$ at each round and thereby cast regularized online learning into a bi-objective online optimization problem. Compared to fixed regularization, the new approach effectively chooses the regularization strength $\sigma _ { t } = \bar { \lambda } _ { t } ^ { 2 } / \lambda _ { t } ^ { 1 }$ in an adaptive way.
429
+
430
+ 353 We use two large-scale online benchmark datasets. (i) protein is a bioinformatics dataset for protein
431
+ 354 type classification [31], which has 17 thousand instances with 357 features. (ii) covtype is a biological
432
+ 355 dataset collected from a non-stationary environment for forest cover type prediction [3], which has
433
+ 356 50 thousand instances with 54 features. For both tasks, we set the logistic loss of classification as
434
+ 357 the first objective, and the squared $L 2$ -norm of model parameters as the second objective. Since the
435
+ 358 ultimate goal of regularization is to enhance predictive performance, we adopt the average loss as the
436
+ 359 performance metric, namely $\textstyle \sum _ { t \leq T } l _ { t } ( x _ { t } ) / { \bar { T } }$ , where $l _ { t } ( x _ { t } )$ is the classification loss at round $t$ .
437
+
438
+ We adopt a $L 2$ -norm ball centered at the origin with diameter $K = 1 0 0$ as the decision set. The learning rates are decided by a grid search over $\{ 0 . 1 , 0 . 2 , \ldots , 3 . 0 \}$ . For DR-OMMD, the parameter $\alpha$ is simply set as 0.1. For fixed regularization, the strength $\sigma = ( 1 - \lambda _ { 0 } ^ { 1 } ) / \lambda _ { 0 } ^ { 1 }$ is determined by the some preference $\lambda _ { 0 } ^ { 1 } \in [ 0 , 1 ]$ , which is essentially linearization with weights $\overset { \vartriangle } { \lambda _ { 0 } } = ( \lambda _ { 0 } ^ { 1 } , 1 - \lambda _ { 0 } ^ { \bar { 1 } } )$ . We run both algorithms with varying initial weights $\lambda _ { 0 } ^ { 1 } \in \{ 0 , 0 . 1 , . . . , 1 \}$ . In Figure 2, we plot (a) their final performance w.r.t. the choice of $\lambda _ { 0 }$ and (b) their learning curves with desirable $\lambda _ { 0 }$ (e.g., (0.1, 0.9) on protein). Other results are deferred to the appendix due to the lack of space. The results show that DR-OMMD consistently outperforms fixed regularization.
439
+
440
+ # 6 Conclusions
441
+
442
+ In this paper, we give a systematic study of multi-objective optimization in the online setting. We first formulate the framework of Multi-Objective Online Convex Optimization. Then we devise the Doubly Regularized Online Mirror Multiple Descent algorithm, which has a special design for gradient composition in online learning, namely min-regularized-norm. We provide non-trivial regret bounds for DR-OMMD and conduct extensive experiments to demonstrate its effectiveness.
443
+
444
+ Limitations. As the first step of studying multiple gradient algorithm in online learning, we conduct our analysis in the convex setting. Although it does not affect the usage in the non-convex setting (see empirical validation in Appendix F), we can give a formal non-convex analysis in the future.
445
+
446
+ References
447
+ [1] Dheeraj Baby and Yu-Xiang Wang. Optimal dynamic regret in exp-concave online learning. In Conference on Learning Theory, pages 359–409. PMLR, 2021.
448
+ [2] Omar Besbes, Yonatan Gur, and Assaf Zeevi. Non-stationary stochastic optimization. Operations Research, 63(5):1227–1244, 2015.
449
+ [3] Jock A Blackard and Denis J Dean. Comparative accuracies of artificial neural networks and discriminant analysis in predicting forest cover types from cartographic variables. Computers and Electronics in Agriculture, 24(3):131–151, 1999.
450
+ [4] Lucas Bradstreet. The hypervolume indicator for multi-objective optimisation: calculation and use. University of Western Australia Perth, 2011.
451
+ [5] Nicolò Campolongo and Francesco Orabona. A closer look at temporal variability in dynamic online learning. arXiv preprint arXiv:2102.07666, 2021.
452
+ [6] Kalyanmoy Deb. Multi-objective optimization. In Search methodologies, pages 403–449. 2014.
453
+ [7] Jean-Antoine Désidéri. Multiple-gradient descent algorithm for multiobjective optimization. Comptes Rendus Mathematique, 350(5-6):313–318, 2012.
454
+ [8] John Duchi, Elad Hazan, and Yoram Singer. Adaptive subgradient methods for online learning and stochastic optimization. Journal of machine learning research, 12(7), 2011.
455
+ [9] Jörg Fliege and Benar Fux Svaiter. Steepest descent methods for multicriteria optimization. Mathematical Methods of Operations Research, 51(3):479–494, 2000.
456
+ [10] Eric Hall and Rebecca Willett. Dynamical models and tracking regret in online convex programming. In International Conference on Machine Learning, pages 579–587, 2013.
457
+ [11] Elad Hazan et al. Introduction to online convex optimization. Foundations and Trends® in Optimization, 2(3-4):157–325, 2016.
458
+ [12] Xinyu Huang, Peng Wang, Xinjing Cheng, Dingfu Zhou, Qichuan Geng, and Ruigang Yang. The apolloscape open dataset for autonomous driving and its application. IEEE Transactions on Pattern Analysis and Machine Intelligence, 42(10):2702–2719, 2019.
459
+ [13] Ali Jadbabaie, Alexander Rakhlin, Shahin Shahrampour, and Karthik Sridharan. Online optimization: Competing with dynamic comparators. In Artificial Intelligence and Statistics, pages 398–406, 2015.
460
+ [14] Martin Jaggi. Revisiting Frank-Wolfe: Projection-free sparse convex optimization. In International Conference on Machine Learning, pages 427–435, 2013.
461
+ [15] Alex Kendall, Yarin Gal, and Roberto Cipolla. Multi-task learning using uncertainty to weigh losses for scene geometry and semantics. In IEEE Conference on Computer Vision and Pattern Recognition, pages 7482–7491, 2018.
462
+ [16] Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
463
+ [17] Xi Lin, Hui-Ling Zhen, Zhenhua Li, Qing-Fu Zhang, and Sam Kwong. Pareto multi-task learning. In Advances in Neural Information Processing Systems, pages 12060–12070, 2019.
464
+ [18] Bo Liu, Xingchao Liu, Xiaojie Jin, Peter Stone, and Qiang Liu. Conflict-averse gradient descent for multi-task learning. arXiv preprint arXiv:2110.14048, 2021.
465
+ [19] Shiyin Lu, Guanghui Wang, Yao Hu, and Lijun Zhang. Multi-objective generalized linear bandits. In International Joint Conference on Artificial Intelligence, pages 3080–3086, 2019.
466
+ [20] Weixin Lu, Yao Zhou, Guowei Wan, Shenhua Hou, and Shiyu Song. L3-net: Towards learning based lidar localization for autonomous driving. In IEEE Conference on Computer Vision and Pattern Recognition, pages 6389–6398, 2019.
467
+ [21] Jiaqi Ma, Zhe Zhao, Xinyang Yi, Jilin Chen, Lichan Hong, and Ed H Chi. Modeling task relationships in multi-task learning with multi-gate mixture-of-experts. In International Conference on Knowledge Discovery & Data Mining, pages 1930–1939, 2018.
468
+ [22] Xiao Ma, Liqin Zhao, Guan Huang, Zhi Wang, Zelin Hu, Xiaoqiang Zhu, and Kun Gai. Entire space multi-task model: An effective approach for estimating post-click conversion rate. In International ACM SIGIR Conference on Research & Development in Information Retrieval, pages 1137–1140, 2018.
469
+ [23] R Timothy Marler and Jasbir S Arora. Survey of multi-objective optimization methods for engineering. Structural and Multidisciplinary Optimization, 26(6):369–395, 2004.
470
+ [24] Brendan McMahan. Follow-the-regularized-leader and mirror descent: Equivalence theorems and L1 regularization. In International Conference on Artificial Intelligence and Statistics, pages 525–533, 2011.
471
+ [25] H Brendan McMahan. A survey of algorithms and analysis for adaptive online learning. The Journal of Machine Learning Research, 18(1):3117–3166, 2017.
472
+ [26] Tadahiko Murata, Hisao Ishibuchi, et al. MOGA: multi-objective genetic algorithms. In IEEE International Conference on Evolutionary Computation, pages 289–294, 1995.
473
+ [27] Francesco Orabona. A modern introduction to online learning. arXiv preprint arXiv:1912.13213, 2019.
474
+ [28] Sashank J Reddi, Satyen Kale, and Sanjiv Kumar. On the convergence of Adam and beyond. In International Conference on Learning Representations, 2018.
475
+ [29] Ozan Sener and Vladlen Koltun. Multi-task learning as multi-objective optimization. In Advances in Neural Information Processing Systems, pages 525–536, 2018.
476
+ [30] Eralp Turgay, Doruk Oner, and Cem Tekin. Multi-objective contextual bandit problem with similarity information. In International Conference on Artificial Intelligence and Statistics, pages 1673–1681, 2018.
477
+ [31] Jung-Ying Wang. Application of support vector machines in bioinformatics. PhD thesis, National Taiwan University, 2002.
478
+ [32] Tianbao Yang, Lijun Zhang, Rong Jin, and Jinfeng Yi. Tracking slowly moving clairvoyant: Optimal dynamic regret of online learning with true and noisy gradient. In International Conference on Machine Learning, pages 449–457, 2016.
479
+ [33] Tianhe Yu, Saurabh Kumar, Abhishek Gupta, Sergey Levine, Karol Hausman, and Chelsea Finn. Gradient surgery for multi-task learning. In Advances in Neural Information Processing Systems, pages 5824–5836, 2020.
480
+ [34] Lijun Zhang, Shiyin Lu, and Zhi-Hua Zhou. Adaptive online learning in dynamic environments. In Advances in Neural Information Processing Systems, pages 1330–1340, 2018.
481
+ [35] Lijun Zhang, Tianbao Yang, Zhi-Hua Zhou, et al. Dynamic regret of strongly adaptive methods. In International Conference on Machine Learning, pages 5882–5891, 2018.
482
+ [36] Richard Zhang and Daniel Golovin. Random hypervolume scalarizations for provable multiobjective black box optimization. In International Conference on Machine Learning, pages 11096–11105, 2020.
483
+ [37] Peng Zhao, Yu-Jie Zhang, Lijun Zhang, and Zhi-Hua Zhou. Dynamic regret of convex and smooth functions. Advances in Neural Information Processing Systems, 33:12510–12520, 2020.
484
+ [38] Martin Zinkevich. Online convex programming and generalized infinitesimal gradient ascent. In International Conference on Machine Learning, pages 928–936, 2003.
485
+ [39] Eckart Zitzler and Lothar Thiele. Multiobjective evolutionary algorithms: A comparative case study and the strength Pareto approach. IEEE transactions on Evolutionary Computation, 3(4):257–271, 1999.
486
+
487
+ 1. For all authors...
488
+
489
+ (a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes]
490
+ (b) Did you describe the limitations of your work? [Yes] See Section 6.
491
+ (c) Did you discuss any potential negative societal impacts of your work? [N/A] Our work is concerning a general problem in online learning.
492
+ (d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes]
493
+
494
+ 2. If you are including theoretical results...
495
+
496
+ (a) Did you state the full set of assumptions of all theoretical results? [Yes] See Section 4.3. (b) Did you include complete proofs of all theoretical results? [Yes] See Appendix G, H, I.
497
+
498
+ 3. If you ran experiments...
499
+
500
+ (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] They are included in the supplementary materials.
501
+ (b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] See Section 5.
502
+ (c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [N/A] We conduct online learning experiments, where the learning process is deterministic.
503
+ (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 E.
504
+
505
+ 4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets...
506
+
507
+ (a) If your work uses existing assets, did you cite the creators? [Yes] We cite the source of datasets.
508
+ (b) Did you mention the license of the assets? [Yes] In the supplemental material.
509
+ (c) Did you include any new assets either in the supplemental material or as a URL? [Yes] Our codes are provided in the supplemental material.
510
+ (d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [N/A] We only use publicly available benchmark datasets.
511
+ (e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [N/A] We only use publicly available benchmark datasets.
512
+
513
+ 5. If you used crowdsourcing or conducted research with human subjects...
514
+
515
+ (a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A]
516
+ (b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A]
517
+ (c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A]
parse/dev/mxzIrQIOGIK/mxzIrQIOGIK_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/-1AAgrS5FF/-1AAgrS5FF_layout.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3af130db28a0ce43c9a93ce1121eb58369623bf2159574d1e52f9588ed4bc2fe
3
+ size 6184875
parse/train/-1AAgrS5FF/-1AAgrS5FF_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ba47c4b8b4c4bc469739ac38659977044f92ee3074d1699eb922f6fc867c27f
3
+ size 5961614
parse/train/-1AAgrS5FF/-1AAgrS5FF_span.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34729fdd211a5c287ffd18de04ff6ab0a08e8e51f72c9784f4569a73579a626c
3
+ size 6195157
parse/train/-_FVMKvxVCQo1/-_FVMKvxVCQo1_layout.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1834b2b4960fd1360f2aea6e04314b4405ccfa5fe3387f70160204c4162257ca
3
+ size 762774
parse/train/-_FVMKvxVCQo1/-_FVMKvxVCQo1_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97de906f871dda55999475e6c0dcfb1a4a04b454b06b018f368f51da50ceefc2
3
+ size 510727
parse/train/-_FVMKvxVCQo1/-_FVMKvxVCQo1_span.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a4143af9915d258d3c4a98e0b6599a34675d9f7fd3367b47cdebedd5f55e0a4d
3
+ size 781445
parse/train/3WbWmdTd8fN/3WbWmdTd8fN_layout.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8100f29f094f30845d6b15032c59356f7106d6e2262540b3f97f1931c138c804
3
+ size 719278
parse/train/3WbWmdTd8fN/3WbWmdTd8fN_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6e7b2a4bb5281d86a61f4de643b0e5b67cea46cbe797bd92e67e0f5453a6954
3
+ size 595128
parse/train/3WbWmdTd8fN/3WbWmdTd8fN_span.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:944a38bba49789f9901cb3b97f62ca91764f8249ef4c0cd7654567f97c522eab
3
+ size 732007
parse/train/5kTlVBkzSRx/5kTlVBkzSRx_layout.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:466d4196152ccb28d209e638b9d212bcc0713cbedf9c9407a740f8409aede861
3
+ size 546823
parse/train/5kTlVBkzSRx/5kTlVBkzSRx_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a58b0601d987992ede3789f9f03a3bfb3bce518efd7a0d4fd53ef2cea70c08c
3
+ size 405357
parse/train/5kTlVBkzSRx/5kTlVBkzSRx_span.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0f5246ed99eef4503ad03bcdf54a263f92b51fc114a54e5e99d76dca96e9890
3
+ size 554527
parse/train/6ugK-RQhIP5/6ugK-RQhIP5_layout.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bff46d0d9401768f30633d31efdacc27f34098b8b357f930aa8d19a7e371c984
3
+ size 1542018
parse/train/6ugK-RQhIP5/6ugK-RQhIP5_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7cdb1f7f7aa7f8d857b01868194298b6475e35022b8837307690874470209cd
3
+ size 1307146
parse/train/6ugK-RQhIP5/6ugK-RQhIP5_span.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:947d3497517335cc0b449656873b128e05dc54918a94ee92254776a1b56e6f07
3
+ size 1573610
parse/train/7aogOj_VYO0/7aogOj_VYO0_layout.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea6508b6a1d4c3bb58a49034f0beeff08ba7f29ad873ca4e894c39135aa99019
3
+ size 771399
parse/train/7aogOj_VYO0/7aogOj_VYO0_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:59ee32cd40f647f4775ef406bd38741aa5449c6d6ec7d2e1f712821c0957d9a5
3
+ size 524349
parse/train/7aogOj_VYO0/7aogOj_VYO0_span.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:148399d458f4b1d0f8e033767f627e8044f874ca6887e3f3ad6c6247e702a53c
3
+ size 786217
parse/train/AJTAcS7SZzf/AJTAcS7SZzf_layout.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a69afa5922918a565919df2be0fe715b976aee592f26905d3a64a5a28f87d15c
3
+ size 690780
parse/train/AJTAcS7SZzf/AJTAcS7SZzf_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:796612e864f04829c4192599f406c5a03d148f150f2e3d9c900c20507305732a
3
+ size 558345
parse/train/AJTAcS7SZzf/AJTAcS7SZzf_span.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9fe00844f60ee44018bc603193b8050469f59afdd6f1ad5ceda264f47f49121e
3
+ size 692079
parse/train/B1-Hhnslg/B1-Hhnslg_layout.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae3893d3c3299922b357db51447465ac5133bef7085c20f14ef09ed65edbfca7
3
+ size 1997097
parse/train/B1-Hhnslg/B1-Hhnslg_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51ec1fe9de4b08a91034002a2204b907b1e6d8fd12aaab70f64afb7821d8b587
3
+ size 1927837
parse/train/B1-Hhnslg/B1-Hhnslg_span.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51d1124fb687f93d6687cba8c53e3282c4e7d5ad2e33da1fafe8780f53278c9b
3
+ size 1996100
parse/train/B14TlG-RW/B14TlG-RW_layout.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d461d69c1a9884a049df776130cb30a490361b4272710170adb3887e64767cb6
3
+ size 608209
parse/train/B14TlG-RW/B14TlG-RW_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ff67cb0ecc145132f383f67a3566f3a1c5458722b39324eed0768a84aa04e7c
3
+ size 462076
parse/train/B14TlG-RW/B14TlG-RW_span.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63d98d073118d6b854ba1a819bf6ef0d4f24f3ac1abe7c2669562e752c7b6d3f
3
+ size 613851
parse/train/B1edvs05Y7/B1edvs05Y7_layout.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ba941c1be6b3f1c70f52fdcb861ea1ace172e65ba5b4cdc6c3951faebbcf88d
3
+ size 954496
parse/train/B1edvs05Y7/B1edvs05Y7_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2dfda5c2701e06de49e830a8aca1af79c42a6278d0c6b870318572f3838fd7c0
3
+ size 759910
parse/train/B1edvs05Y7/B1edvs05Y7_span.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8440c17936699e4d72db2764e1d5b91a7c97a458b1878c5ac07d9cf9190a996
3
+ size 957242
parse/train/B1ffQnRcKX/B1ffQnRcKX_layout.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62ee4da2ad4fe90f89a64865cf366ad8ffc5b88925d5998c3ed31b899b627fd7
3
+ size 2228796