ZHANGYUXUAN-zR commited on
Commit
4350e96
·
verified ·
1 Parent(s): b8cdbcf

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 +170 -0
  2. parse/train/1-j4VLSHApJ/1-j4VLSHApJ_layout.pdf +3 -0
  3. parse/train/1-j4VLSHApJ/1-j4VLSHApJ_origin.pdf +3 -0
  4. parse/train/1-j4VLSHApJ/1-j4VLSHApJ_span.pdf +3 -0
  5. parse/train/Aw96fN64soV/Aw96fN64soV.md +334 -0
  6. parse/train/Aw96fN64soV/Aw96fN64soV_content_list.json +1590 -0
  7. parse/train/Aw96fN64soV/Aw96fN64soV_middle.json +0 -0
  8. parse/train/Aw96fN64soV/Aw96fN64soV_model.json +0 -0
  9. parse/train/B1hYRMbCW/B1hYRMbCW.md +671 -0
  10. parse/train/B1hYRMbCW/B1hYRMbCW_content_list.json +0 -0
  11. parse/train/B1hYRMbCW/B1hYRMbCW_middle.json +0 -0
  12. parse/train/B1hYRMbCW/B1hYRMbCW_model.json +0 -0
  13. parse/train/B1l08oAct7/B1l08oAct7_layout.pdf +3 -0
  14. parse/train/B1l08oAct7/B1l08oAct7_origin.pdf +3 -0
  15. parse/train/B1l08oAct7/B1l08oAct7_span.pdf +3 -0
  16. parse/train/BJE-4xW0W/BJE-4xW0W_middle.json +0 -0
  17. parse/train/BJE-4xW0W/BJE-4xW0W_model.json +0 -0
  18. parse/train/BJbD_Pqlg/BJbD_Pqlg.md +398 -0
  19. parse/train/BJbD_Pqlg/BJbD_Pqlg_content_list.json +2110 -0
  20. parse/train/BJbD_Pqlg/BJbD_Pqlg_middle.json +0 -0
  21. parse/train/BJbD_Pqlg/BJbD_Pqlg_model.json +0 -0
  22. parse/train/BJeWUs05KQ/BJeWUs05KQ_layout.pdf +3 -0
  23. parse/train/BJeWUs05KQ/BJeWUs05KQ_origin.pdf +3 -0
  24. parse/train/BJeWUs05KQ/BJeWUs05KQ_span.pdf +3 -0
  25. parse/train/BJj6qGbRW/BJj6qGbRW.md +346 -0
  26. parse/train/BJj6qGbRW/BJj6qGbRW_content_list.json +1740 -0
  27. parse/train/BJj6qGbRW/BJj6qGbRW_middle.json +0 -0
  28. parse/train/BJj6qGbRW/BJj6qGbRW_model.json +0 -0
  29. parse/train/BJxH22EKPS/BJxH22EKPS_layout.pdf +3 -0
  30. parse/train/BJxH22EKPS/BJxH22EKPS_origin.pdf +3 -0
  31. parse/train/BJxH22EKPS/BJxH22EKPS_span.pdf +3 -0
  32. parse/train/BkgnhTEtDS/BkgnhTEtDS.md +381 -0
  33. parse/train/BkgnhTEtDS/BkgnhTEtDS_content_list.json +0 -0
  34. parse/train/BkgnhTEtDS/BkgnhTEtDS_middle.json +0 -0
  35. parse/train/BkgnhTEtDS/BkgnhTEtDS_model.json +0 -0
  36. parse/train/BklIxyHKDr/BklIxyHKDr_layout.pdf +3 -0
  37. parse/train/BklIxyHKDr/BklIxyHKDr_origin.pdf +3 -0
  38. parse/train/BklIxyHKDr/BklIxyHKDr_span.pdf +3 -0
  39. parse/train/ByG8A7cee/ByG8A7cee.md +331 -0
  40. parse/train/ByG8A7cee/ByG8A7cee_content_list.json +1601 -0
  41. parse/train/ByG8A7cee/ByG8A7cee_middle.json +0 -0
  42. parse/train/ByG8A7cee/ByG8A7cee_model.json +0 -0
  43. parse/train/ByJWeR1AW/ByJWeR1AW_layout.pdf +3 -0
  44. parse/train/ByJWeR1AW/ByJWeR1AW_origin.pdf +3 -0
  45. parse/train/ByJWeR1AW/ByJWeR1AW_span.pdf +3 -0
  46. parse/train/CBmJwzneppz/CBmJwzneppz_layout.pdf +3 -0
  47. parse/train/CBmJwzneppz/CBmJwzneppz_origin.pdf +3 -0
  48. parse/train/CBmJwzneppz/CBmJwzneppz_span.pdf +3 -0
  49. parse/train/Ggx8fbKZ1-D/Ggx8fbKZ1-D_layout.pdf +3 -0
  50. parse/train/Ggx8fbKZ1-D/Ggx8fbKZ1-D_origin.pdf +3 -0
.gitattributes CHANGED
@@ -6639,3 +6639,173 @@ parse/train/rkxJus0cFX/rkxJus0cFX_span.pdf filter=lfs diff=lfs merge=lfs -text
6639
  parse/train/rkxJus0cFX/rkxJus0cFX_origin.pdf filter=lfs diff=lfs merge=lfs -text
6640
  parse/train/rkxJus0cFX/rkxJus0cFX_layout.pdf filter=lfs diff=lfs merge=lfs -text
6641
  parse/train/kWSeGEeHvF8/kWSeGEeHvF8_layout.pdf filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6639
  parse/train/rkxJus0cFX/rkxJus0cFX_origin.pdf filter=lfs diff=lfs merge=lfs -text
6640
  parse/train/rkxJus0cFX/rkxJus0cFX_layout.pdf filter=lfs diff=lfs merge=lfs -text
6641
  parse/train/kWSeGEeHvF8/kWSeGEeHvF8_layout.pdf filter=lfs diff=lfs merge=lfs -text
6642
+ parse/train/kWSeGEeHvF8/kWSeGEeHvF8_span.pdf filter=lfs diff=lfs merge=lfs -text
6643
+ parse/train/kWSeGEeHvF8/kWSeGEeHvF8_origin.pdf filter=lfs diff=lfs merge=lfs -text
6644
+ parse/train/rkgKBhA5Y7/rkgKBhA5Y7_span.pdf filter=lfs diff=lfs merge=lfs -text
6645
+ parse/train/rkgKBhA5Y7/rkgKBhA5Y7_origin.pdf filter=lfs diff=lfs merge=lfs -text
6646
+ parse/train/rkgKBhA5Y7/rkgKBhA5Y7_layout.pdf filter=lfs diff=lfs merge=lfs -text
6647
+ parse/train/BklIxyHKDr/BklIxyHKDr_span.pdf filter=lfs diff=lfs merge=lfs -text
6648
+ parse/train/BklIxyHKDr/BklIxyHKDr_layout.pdf filter=lfs diff=lfs merge=lfs -text
6649
+ parse/train/BklIxyHKDr/BklIxyHKDr_origin.pdf filter=lfs diff=lfs merge=lfs -text
6650
+ parse/train/r1xMH1BtvB/r1xMH1BtvB_origin.pdf filter=lfs diff=lfs merge=lfs -text
6651
+ parse/train/r1xMH1BtvB/r1xMH1BtvB_layout.pdf filter=lfs diff=lfs merge=lfs -text
6652
+ parse/train/r1xMH1BtvB/r1xMH1BtvB_span.pdf filter=lfs diff=lfs merge=lfs -text
6653
+ parse/train/SJlbyCNtPr/SJlbyCNtPr_layout.pdf filter=lfs diff=lfs merge=lfs -text
6654
+ parse/train/SJlbyCNtPr/SJlbyCNtPr_origin.pdf filter=lfs diff=lfs merge=lfs -text
6655
+ parse/train/SJlbyCNtPr/SJlbyCNtPr_span.pdf filter=lfs diff=lfs merge=lfs -text
6656
+ parse/train/LVWcGZr-8h/LVWcGZr-8h_origin.pdf filter=lfs diff=lfs merge=lfs -text
6657
+ parse/train/LVWcGZr-8h/LVWcGZr-8h_layout.pdf filter=lfs diff=lfs merge=lfs -text
6658
+ parse/train/LVWcGZr-8h/LVWcGZr-8h_span.pdf filter=lfs diff=lfs merge=lfs -text
6659
+ parse/train/HyEtjoCqFX/HyEtjoCqFX_layout.pdf filter=lfs diff=lfs merge=lfs -text
6660
+ parse/train/HyEtjoCqFX/HyEtjoCqFX_span.pdf filter=lfs diff=lfs merge=lfs -text
6661
+ parse/train/HyEtjoCqFX/HyEtjoCqFX_origin.pdf filter=lfs diff=lfs merge=lfs -text
6662
+ parse/train/SJZAb5cel/SJZAb5cel_span.pdf filter=lfs diff=lfs merge=lfs -text
6663
+ parse/train/SJZAb5cel/SJZAb5cel_origin.pdf filter=lfs diff=lfs merge=lfs -text
6664
+ parse/train/SJZAb5cel/SJZAb5cel_layout.pdf filter=lfs diff=lfs merge=lfs -text
6665
+ parse/train/H1TWfmnNf/H1TWfmnNf_span.pdf filter=lfs diff=lfs merge=lfs -text
6666
+ parse/train/H1TWfmnNf/H1TWfmnNf_origin.pdf filter=lfs diff=lfs merge=lfs -text
6667
+ parse/train/Hk4dFjR5K7/Hk4dFjR5K7_origin.pdf filter=lfs diff=lfs merge=lfs -text
6668
+ parse/train/Hk4dFjR5K7/Hk4dFjR5K7_layout.pdf filter=lfs diff=lfs merge=lfs -text
6669
+ parse/train/Hk4dFjR5K7/Hk4dFjR5K7_span.pdf filter=lfs diff=lfs merge=lfs -text
6670
+ parse/train/r1lL4a4tDB/r1lL4a4tDB_layout.pdf filter=lfs diff=lfs merge=lfs -text
6671
+ parse/train/r1lL4a4tDB/r1lL4a4tDB_span.pdf filter=lfs diff=lfs merge=lfs -text
6672
+ parse/train/r1lL4a4tDB/r1lL4a4tDB_origin.pdf filter=lfs diff=lfs merge=lfs -text
6673
+ parse/train/Ggx8fbKZ1-D/Ggx8fbKZ1-D_layout.pdf filter=lfs diff=lfs merge=lfs -text
6674
+ parse/train/Ggx8fbKZ1-D/Ggx8fbKZ1-D_origin.pdf filter=lfs diff=lfs merge=lfs -text
6675
+ parse/train/Ggx8fbKZ1-D/Ggx8fbKZ1-D_span.pdf filter=lfs diff=lfs merge=lfs -text
6676
+ parse/train/CBmJwzneppz/CBmJwzneppz_span.pdf filter=lfs diff=lfs merge=lfs -text
6677
+ parse/train/CBmJwzneppz/CBmJwzneppz_layout.pdf filter=lfs diff=lfs merge=lfs -text
6678
+ parse/train/CBmJwzneppz/CBmJwzneppz_origin.pdf filter=lfs diff=lfs merge=lfs -text
6679
+ parse/train/HkzZBi0cFQ/HkzZBi0cFQ_span.pdf filter=lfs diff=lfs merge=lfs -text
6680
+ parse/train/HkzZBi0cFQ/HkzZBi0cFQ_layout.pdf filter=lfs diff=lfs merge=lfs -text
6681
+ parse/train/HkzZBi0cFQ/HkzZBi0cFQ_origin.pdf filter=lfs diff=lfs merge=lfs -text
6682
+ parse/train/rJeZS3RcYm/rJeZS3RcYm_origin.pdf filter=lfs diff=lfs merge=lfs -text
6683
+ parse/train/rJeZS3RcYm/rJeZS3RcYm_layout.pdf filter=lfs diff=lfs merge=lfs -text
6684
+ parse/train/rJeZS3RcYm/rJeZS3RcYm_span.pdf filter=lfs diff=lfs merge=lfs -text
6685
+ parse/train/ryxepo0cFX/ryxepo0cFX_layout.pdf filter=lfs diff=lfs merge=lfs -text
6686
+ parse/train/ryxepo0cFX/ryxepo0cFX_span.pdf filter=lfs diff=lfs merge=lfs -text
6687
+ parse/train/ryxepo0cFX/ryxepo0cFX_origin.pdf filter=lfs diff=lfs merge=lfs -text
6688
+ parse/train/dUk5Foj5CLf/dUk5Foj5CLf_layout.pdf filter=lfs diff=lfs merge=lfs -text
6689
+ parse/train/dUk5Foj5CLf/dUk5Foj5CLf_span.pdf filter=lfs diff=lfs merge=lfs -text
6690
+ parse/train/dUk5Foj5CLf/dUk5Foj5CLf_origin.pdf filter=lfs diff=lfs merge=lfs -text
6691
+ parse/train/r6cNUjS8cm0/r6cNUjS8cm0_span.pdf filter=lfs diff=lfs merge=lfs -text
6692
+ parse/train/r6cNUjS8cm0/r6cNUjS8cm0_layout.pdf filter=lfs diff=lfs merge=lfs -text
6693
+ parse/train/r6cNUjS8cm0/r6cNUjS8cm0_origin.pdf filter=lfs diff=lfs merge=lfs -text
6694
+ parse/train/BJeWUs05KQ/BJeWUs05KQ_origin.pdf filter=lfs diff=lfs merge=lfs -text
6695
+ parse/train/BJeWUs05KQ/BJeWUs05KQ_layout.pdf filter=lfs diff=lfs merge=lfs -text
6696
+ parse/train/BJeWUs05KQ/BJeWUs05KQ_span.pdf filter=lfs diff=lfs merge=lfs -text
6697
+ parse/train/sCZbhBvqQaU/sCZbhBvqQaU_span.pdf filter=lfs diff=lfs merge=lfs -text
6698
+ parse/train/sCZbhBvqQaU/sCZbhBvqQaU_origin.pdf filter=lfs diff=lfs merge=lfs -text
6699
+ parse/train/sCZbhBvqQaU/sCZbhBvqQaU_layout.pdf filter=lfs diff=lfs merge=lfs -text
6700
+ parse/train/nVofoXjTmA_/nVofoXjTmA__span.pdf filter=lfs diff=lfs merge=lfs -text
6701
+ parse/train/nVofoXjTmA_/nVofoXjTmA__origin.pdf filter=lfs diff=lfs merge=lfs -text
6702
+ parse/train/nVofoXjTmA_/nVofoXjTmA__layout.pdf filter=lfs diff=lfs merge=lfs -text
6703
+ parse/train/_WnwtieRHxM/_WnwtieRHxM_origin.pdf filter=lfs diff=lfs merge=lfs -text
6704
+ parse/train/_WnwtieRHxM/_WnwtieRHxM_layout.pdf filter=lfs diff=lfs merge=lfs -text
6705
+ parse/train/_WnwtieRHxM/_WnwtieRHxM_span.pdf filter=lfs diff=lfs merge=lfs -text
6706
+ parse/train/S1eYKlrYvr/S1eYKlrYvr_span.pdf filter=lfs diff=lfs merge=lfs -text
6707
+ parse/train/ZTFeSBIX9C/ZTFeSBIX9C_span.pdf filter=lfs diff=lfs merge=lfs -text
6708
+ parse/train/ZTFeSBIX9C/ZTFeSBIX9C_layout.pdf filter=lfs diff=lfs merge=lfs -text
6709
+ parse/train/ZTFeSBIX9C/ZTFeSBIX9C_origin.pdf filter=lfs diff=lfs merge=lfs -text
6710
+ parse/train/H1ltQ3R9KQ/H1ltQ3R9KQ_origin.pdf filter=lfs diff=lfs merge=lfs -text
6711
+ parse/train/H1ltQ3R9KQ/H1ltQ3R9KQ_layout.pdf filter=lfs diff=lfs merge=lfs -text
6712
+ parse/train/H1ltQ3R9KQ/H1ltQ3R9KQ_span.pdf filter=lfs diff=lfs merge=lfs -text
6713
+ parse/train/p5rMPjrcCZq/p5rMPjrcCZq_origin.pdf filter=lfs diff=lfs merge=lfs -text
6714
+ parse/train/p5rMPjrcCZq/p5rMPjrcCZq_layout.pdf filter=lfs diff=lfs merge=lfs -text
6715
+ parse/train/p5rMPjrcCZq/p5rMPjrcCZq_span.pdf filter=lfs diff=lfs merge=lfs -text
6716
+ parse/train/fgrc9OTuB_g/fgrc9OTuB_g_span.pdf filter=lfs diff=lfs merge=lfs -text
6717
+ parse/train/fgrc9OTuB_g/fgrc9OTuB_g_layout.pdf filter=lfs diff=lfs merge=lfs -text
6718
+ parse/train/fgrc9OTuB_g/fgrc9OTuB_g_origin.pdf filter=lfs diff=lfs merge=lfs -text
6719
+ parse/train/Skq89Scxx/Skq89Scxx_span.pdf filter=lfs diff=lfs merge=lfs -text
6720
+ parse/train/Skq89Scxx/Skq89Scxx_layout.pdf filter=lfs diff=lfs merge=lfs -text
6721
+ parse/train/Skq89Scxx/Skq89Scxx_origin.pdf filter=lfs diff=lfs merge=lfs -text
6722
+ parse/train/HkzRQhR9YX/HkzRQhR9YX_span.pdf filter=lfs diff=lfs merge=lfs -text
6723
+ parse/train/HkzRQhR9YX/HkzRQhR9YX_origin.pdf filter=lfs diff=lfs merge=lfs -text
6724
+ parse/train/HkzRQhR9YX/HkzRQhR9YX_layout.pdf filter=lfs diff=lfs merge=lfs -text
6725
+ parse/train/hMY6nm9lld/hMY6nm9lld_span.pdf filter=lfs diff=lfs merge=lfs -text
6726
+ parse/train/hMY6nm9lld/hMY6nm9lld_origin.pdf filter=lfs diff=lfs merge=lfs -text
6727
+ parse/train/hMY6nm9lld/hMY6nm9lld_layout.pdf filter=lfs diff=lfs merge=lfs -text
6728
+ parse/train/dgtpE6gKjHn/dgtpE6gKjHn_origin.pdf filter=lfs diff=lfs merge=lfs -text
6729
+ parse/train/dgtpE6gKjHn/dgtpE6gKjHn_span.pdf filter=lfs diff=lfs merge=lfs -text
6730
+ parse/train/dgtpE6gKjHn/dgtpE6gKjHn_layout.pdf filter=lfs diff=lfs merge=lfs -text
6731
+ parse/train/xHKVVHGDOEk/xHKVVHGDOEk_span.pdf filter=lfs diff=lfs merge=lfs -text
6732
+ parse/train/xHKVVHGDOEk/xHKVVHGDOEk_layout.pdf filter=lfs diff=lfs merge=lfs -text
6733
+ parse/train/xHKVVHGDOEk/xHKVVHGDOEk_origin.pdf filter=lfs diff=lfs merge=lfs -text
6734
+ parse/train/wl0Kr_jqM2a/wl0Kr_jqM2a_span.pdf filter=lfs diff=lfs merge=lfs -text
6735
+ parse/train/wl0Kr_jqM2a/wl0Kr_jqM2a_layout.pdf filter=lfs diff=lfs merge=lfs -text
6736
+ parse/train/wl0Kr_jqM2a/wl0Kr_jqM2a_origin.pdf filter=lfs diff=lfs merge=lfs -text
6737
+ parse/train/r1gelyrtwH/r1gelyrtwH_origin.pdf filter=lfs diff=lfs merge=lfs -text
6738
+ parse/train/r1gelyrtwH/r1gelyrtwH_span.pdf filter=lfs diff=lfs merge=lfs -text
6739
+ parse/train/r1gelyrtwH/r1gelyrtwH_layout.pdf filter=lfs diff=lfs merge=lfs -text
6740
+ parse/train/HygtHnR5tQ/HygtHnR5tQ_layout.pdf filter=lfs diff=lfs merge=lfs -text
6741
+ parse/train/HygtHnR5tQ/HygtHnR5tQ_origin.pdf filter=lfs diff=lfs merge=lfs -text
6742
+ parse/train/HygtHnR5tQ/HygtHnR5tQ_span.pdf filter=lfs diff=lfs merge=lfs -text
6743
+ parse/train/ByJWeR1AW/ByJWeR1AW_layout.pdf filter=lfs diff=lfs merge=lfs -text
6744
+ parse/train/ByJWeR1AW/ByJWeR1AW_span.pdf filter=lfs diff=lfs merge=lfs -text
6745
+ parse/train/ByJWeR1AW/ByJWeR1AW_origin.pdf filter=lfs diff=lfs merge=lfs -text
6746
+ parse/train/RYcgfqmAOHh/RYcgfqmAOHh_layout.pdf filter=lfs diff=lfs merge=lfs -text
6747
+ parse/train/RYcgfqmAOHh/RYcgfqmAOHh_span.pdf filter=lfs diff=lfs merge=lfs -text
6748
+ parse/train/RYcgfqmAOHh/RYcgfqmAOHh_origin.pdf filter=lfs diff=lfs merge=lfs -text
6749
+ parse/train/Skltqh4KvB/Skltqh4KvB_span.pdf filter=lfs diff=lfs merge=lfs -text
6750
+ parse/train/Skltqh4KvB/Skltqh4KvB_layout.pdf filter=lfs diff=lfs merge=lfs -text
6751
+ parse/train/Skltqh4KvB/Skltqh4KvB_origin.pdf filter=lfs diff=lfs merge=lfs -text
6752
+ parse/train/HkgHk3RctX/HkgHk3RctX_layout.pdf filter=lfs diff=lfs merge=lfs -text
6753
+ parse/train/HkgHk3RctX/HkgHk3RctX_span.pdf filter=lfs diff=lfs merge=lfs -text
6754
+ parse/train/HkgHk3RctX/HkgHk3RctX_origin.pdf filter=lfs diff=lfs merge=lfs -text
6755
+ parse/train/WrotwUEJO59/WrotwUEJO59_layout.pdf filter=lfs diff=lfs merge=lfs -text
6756
+ parse/train/WrotwUEJO59/WrotwUEJO59_origin.pdf filter=lfs diff=lfs merge=lfs -text
6757
+ parse/train/WrotwUEJO59/WrotwUEJO59_span.pdf filter=lfs diff=lfs merge=lfs -text
6758
+ parse/train/N9oPAFcuYWX/N9oPAFcuYWX_span.pdf filter=lfs diff=lfs merge=lfs -text
6759
+ parse/train/N9oPAFcuYWX/N9oPAFcuYWX_layout.pdf filter=lfs diff=lfs merge=lfs -text
6760
+ parse/train/N9oPAFcuYWX/N9oPAFcuYWX_origin.pdf filter=lfs diff=lfs merge=lfs -text
6761
+ parse/train/B1l08oAct7/B1l08oAct7_origin.pdf filter=lfs diff=lfs merge=lfs -text
6762
+ parse/train/B1l08oAct7/B1l08oAct7_layout.pdf filter=lfs diff=lfs merge=lfs -text
6763
+ parse/train/B1l08oAct7/B1l08oAct7_span.pdf filter=lfs diff=lfs merge=lfs -text
6764
+ parse/train/1-j4VLSHApJ/1-j4VLSHApJ_span.pdf filter=lfs diff=lfs merge=lfs -text
6765
+ parse/train/1-j4VLSHApJ/1-j4VLSHApJ_layout.pdf filter=lfs diff=lfs merge=lfs -text
6766
+ parse/train/1-j4VLSHApJ/1-j4VLSHApJ_origin.pdf filter=lfs diff=lfs merge=lfs -text
6767
+ parse/train/kHromd7SNA/kHromd7SNA_origin.pdf filter=lfs diff=lfs merge=lfs -text
6768
+ parse/train/kHromd7SNA/kHromd7SNA_span.pdf filter=lfs diff=lfs merge=lfs -text
6769
+ parse/train/kHromd7SNA/kHromd7SNA_layout.pdf filter=lfs diff=lfs merge=lfs -text
6770
+ parse/train/S1xq3oR5tQ/S1xq3oR5tQ_layout.pdf filter=lfs diff=lfs merge=lfs -text
6771
+ parse/train/S1xq3oR5tQ/S1xq3oR5tQ_span.pdf filter=lfs diff=lfs merge=lfs -text
6772
+ parse/train/S1xq3oR5tQ/S1xq3oR5tQ_origin.pdf filter=lfs diff=lfs merge=lfs -text
6773
+ parse/train/Syzn9i05Ym/Syzn9i05Ym_origin.pdf filter=lfs diff=lfs merge=lfs -text
6774
+ parse/train/Syzn9i05Ym/Syzn9i05Ym_span.pdf filter=lfs diff=lfs merge=lfs -text
6775
+ parse/train/Syzn9i05Ym/Syzn9i05Ym_layout.pdf filter=lfs diff=lfs merge=lfs -text
6776
+ parse/train/kzPtpIpF8o/kzPtpIpF8o_span.pdf filter=lfs diff=lfs merge=lfs -text
6777
+ parse/train/kzPtpIpF8o/kzPtpIpF8o_layout.pdf filter=lfs diff=lfs merge=lfs -text
6778
+ parse/train/kzPtpIpF8o/kzPtpIpF8o_origin.pdf filter=lfs diff=lfs merge=lfs -text
6779
+ parse/train/zGsRcuoR5-0/zGsRcuoR5-0_origin.pdf filter=lfs diff=lfs merge=lfs -text
6780
+ parse/train/zGsRcuoR5-0/zGsRcuoR5-0_span.pdf filter=lfs diff=lfs merge=lfs -text
6781
+ parse/train/zGsRcuoR5-0/zGsRcuoR5-0_layout.pdf filter=lfs diff=lfs merge=lfs -text
6782
+ parse/train/xCy9thPPTb_/xCy9thPPTb__origin.pdf filter=lfs diff=lfs merge=lfs -text
6783
+ parse/train/xCy9thPPTb_/xCy9thPPTb__span.pdf filter=lfs diff=lfs merge=lfs -text
6784
+ parse/train/xCy9thPPTb_/xCy9thPPTb__layout.pdf filter=lfs diff=lfs merge=lfs -text
6785
+ parse/train/HWX5j6Bv_ih/HWX5j6Bv_ih_span.pdf filter=lfs diff=lfs merge=lfs -text
6786
+ parse/train/HWX5j6Bv_ih/HWX5j6Bv_ih_origin.pdf filter=lfs diff=lfs merge=lfs -text
6787
+ parse/train/HWX5j6Bv_ih/HWX5j6Bv_ih_layout.pdf filter=lfs diff=lfs merge=lfs -text
6788
+ parse/train/HJe4Cp4KwH/HJe4Cp4KwH_span.pdf filter=lfs diff=lfs merge=lfs -text
6789
+ parse/train/HJe4Cp4KwH/HJe4Cp4KwH_origin.pdf filter=lfs diff=lfs merge=lfs -text
6790
+ parse/train/HJe4Cp4KwH/HJe4Cp4KwH_layout.pdf filter=lfs diff=lfs merge=lfs -text
6791
+ parse/train/SJx0q1rtvS/SJx0q1rtvS_span.pdf filter=lfs diff=lfs merge=lfs -text
6792
+ parse/train/SJx0q1rtvS/SJx0q1rtvS_origin.pdf filter=lfs diff=lfs merge=lfs -text
6793
+ parse/train/SJx0q1rtvS/SJx0q1rtvS_layout.pdf filter=lfs diff=lfs merge=lfs -text
6794
+ parse/train/RHY_9ZVcTa_/RHY_9ZVcTa__span.pdf filter=lfs diff=lfs merge=lfs -text
6795
+ parse/train/RHY_9ZVcTa_/RHY_9ZVcTa__layout.pdf filter=lfs diff=lfs merge=lfs -text
6796
+ parse/train/RHY_9ZVcTa_/RHY_9ZVcTa__origin.pdf filter=lfs diff=lfs merge=lfs -text
6797
+ parse/train/rJo9n9Feg/rJo9n9Feg_origin.pdf filter=lfs diff=lfs merge=lfs -text
6798
+ parse/train/rJo9n9Feg/rJo9n9Feg_layout.pdf filter=lfs diff=lfs merge=lfs -text
6799
+ parse/train/rJo9n9Feg/rJo9n9Feg_span.pdf filter=lfs diff=lfs merge=lfs -text
6800
+ parse/train/HJxyZkBKDr/HJxyZkBKDr_origin.pdf filter=lfs diff=lfs merge=lfs -text
6801
+ parse/train/HJxyZkBKDr/HJxyZkBKDr_layout.pdf filter=lfs diff=lfs merge=lfs -text
6802
+ parse/train/HJxyZkBKDr/HJxyZkBKDr_span.pdf filter=lfs diff=lfs merge=lfs -text
6803
+ parse/train/MNVjrDpu6Yo/MNVjrDpu6Yo_span.pdf filter=lfs diff=lfs merge=lfs -text
6804
+ parse/train/MNVjrDpu6Yo/MNVjrDpu6Yo_origin.pdf filter=lfs diff=lfs merge=lfs -text
6805
+ parse/train/MNVjrDpu6Yo/MNVjrDpu6Yo_layout.pdf filter=lfs diff=lfs merge=lfs -text
6806
+ parse/train/SJxzPsAqFQ/SJxzPsAqFQ_layout.pdf filter=lfs diff=lfs merge=lfs -text
6807
+ parse/train/SJxzPsAqFQ/SJxzPsAqFQ_span.pdf filter=lfs diff=lfs merge=lfs -text
6808
+ parse/train/SJxzPsAqFQ/SJxzPsAqFQ_origin.pdf filter=lfs diff=lfs merge=lfs -text
6809
+ parse/train/BJxH22EKPS/BJxH22EKPS_span.pdf filter=lfs diff=lfs merge=lfs -text
6810
+ parse/train/BJxH22EKPS/BJxH22EKPS_origin.pdf filter=lfs diff=lfs merge=lfs -text
6811
+ parse/train/BJxH22EKPS/BJxH22EKPS_layout.pdf filter=lfs diff=lfs merge=lfs -text
parse/train/1-j4VLSHApJ/1-j4VLSHApJ_layout.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a489ae99eaf9be02e93678621a06d5a6834b458eb9d74f5e9ad900cd6e39ea4
3
+ size 973705
parse/train/1-j4VLSHApJ/1-j4VLSHApJ_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a2e3ca618cef8537658b9b6277c83eea223ac682bb7f05834a2ecb6e7df35a1
3
+ size 843713
parse/train/1-j4VLSHApJ/1-j4VLSHApJ_span.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be55c2fb61d1c31f1b0f31d7bfb95894904c642a6a95c941b5dae7130e1a0c5a
3
+ size 978095
parse/train/Aw96fN64soV/Aw96fN64soV.md ADDED
@@ -0,0 +1,334 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Neural Analysis and Synthesis: Reconstructing Speech from Self-Supervised Representations
2
+
3
+ Hyeong-Seok Choi1,4 Juheon Lee1,4 Wansoo Kim1,4
4
+
5
+ Jie Hwan Lee4 Hoon Heo4 Kyogu Lee1,2,3,4
6
+
7
+ 1MARG, Department of Intelligence and Information, Seoul National University 2GSAI 3AIIS 4Supertone Inc.
8
+
9
+ {kekepa15, juheon2, wansookim, kglee}@snu.ac.kr, {wiswisbus, hoon}@supertone.ai
10
+
11
+ # Abstract
12
+
13
+ We present a neural analysis and synthesis (NANSY) framework that can manipulate voice, pitch, and speed of an arbitrary speech signal. Most of the previous works have focused on using information bottleneck to disentangle analysis features for controllable synthesis, which usually results in poor reconstruction quality. We address this issue by proposing a novel training strategy based on information perturbation. The idea is to perturb information in the original input signal (e.g., formant, pitch, and frequency response), thereby letting synthesis networks selectively take essential attributes to reconstruct the input signal. Because NANSY does not need any bottleneck structures, it enjoys both high reconstruction quality and controllability. Furthermore, NANSY does not require any labels associated with speech data such as text and speaker information, but rather uses a new set of analysis features, i.e., wav2vec feature and newly proposed pitch feature, Yingram, which allows for fully self-supervised training. Taking advantage of fully selfsupervised training, NANSY can be easily extended to a multilingual setting by simply training it with a multilingual dataset. The experiments show that NANSY can achieve significant improvement in performance in several applications such as zero-shot voice conversion, pitch shift, and time-scale modification 1.
14
+
15
+ # 1 Introduction
16
+
17
+ Analyzing and synthesizing an arbitrary speech signal is inarguably a significant research topic that has been studied for decades. Traditionally, this has been studied in the digital signal processing (DSP) field using fundamental methods such as sinusoidal modeling or linear predictive coding (LPC), and it is the analysis and synthesis framework that lies at the heart of those fundamental methods $[ \sqrt { 2 6 } , \bigstar ]$ . These traditional methods, however, are limited in terms of controllability because the decomposed representations are still low-level representations. It is obvious that the closer we decompose a signal into high-level/interpretable representations, the more we gain access to the controllability. Given this consideration, we aim to design a neural analysis and synthesis (NANSY) framework by decomposing a speech signal into analysis features that represent pronunciation, timbre, pitch, and energy. The decomposed representations can be manipulated and re-synthesized, enabling users to manipulate speech signals in various ways.
18
+
19
+ It is worth noting that many similar ideas have been recently proposed in the context of voice conversion applications. We categorize the previous works in two ways, i.e., 1. Text-based approach,
20
+
21
+ 2. Information bottleneck approach. The first approach exploits the fact that the text modality is inherently disentangled from the speaker identity. One of the most popular text-based approaches is to use a pre-trained automatic speech recognition (ASR) network to extract a phonetic posteriogram (PPG) and use it as a linguistic feature [41]. Then, combining the PPG with the target speaker information, the features are re-synthesized to a speech signal. Another alternative approach is to directly use text scripts by aligning it to a paired source signal $\mathbb { \lVert 3 3 \rVert }$ . Although these ideas have shown promising results, it is important to note that these approaches have common problems. First, in order to extract the PPG features, it is required to train an ASR network in a supervised manner, which demands a lot of paired text and waveform datasets. Additionally, the language dependency of the ASR network limits the model’s capability to be extended to multilingual settings or languages with low-resources. To address these concerns, efforts have been made to divert from using the text information and the most popular approach is to use an information bottleneck. The key idea is to restrict the information flow by reducing time/channel dimension, and normalizing/quantizing intermediate representations [36, 10, 51]. Although these ideas have been explored in many ways, one critical problem is that there exists an inevitable trade-off between the degree of disentanglement and the reconstruction quality. In other words, there is a trade-off between speaker similarity and the preservation of original content such as linguistic and pitch information.
22
+
23
+ To avoid the major concern of the text-based approach, we suggest to use two analysis features which are wav2vec and a newly proposed feature, Yingram. In order to preserve the linguistic information without any text information, we utilize wav2vec $2 . 0 \mathbb { H }$ , trained on 53 languages in total $\mathbb { m }$ . While the features from wav2vec 2.0 have mostly been used for a downstream task, we seek the possibility of using them for an upstream/generation task. In addition, we propose a new feature that can effectively represent and control pitch information. Although it is the fundamental frequency $( f _ { 0 } )$ that is mostly used to represent the pitch information, $f _ { 0 }$ is sometimes ill-defined when there exists sub-harmonics in the signal (e.g., vocal fry) [16, 1, 2]. We address this issue by proposing a controllable but more abstract feature than $f _ { 0 }$ that still includes information such as sub-harmonics. Because the proposed feature is heavily inspired by the famous Yin algorithm $\mathbb { \lVert \lambda \rVert }$ , we refer to this feature as Yingram.
24
+
25
+ Although the analysis features above have enough information to reconstruct the original speech signal, we have found that the information in the proposed analysis features share common information such as pitch and timbre. To disentangle the common information so each feature can control a specific attribute for its desired purpose (e.g., wav2vec linguistic information only, Yingram pitch information only), we propose an information perturbation approach, a simple yet effective solution to this problem. The idea is to simply perturb all the information we do not want to control from the input features, thereby training the neural network to not extract the undesirable attributes from the features. Through this way, the model no longer suffers from the unavoidable trade-off between reconstruction quality and feature disentanglement, unlike the information bottleneck approach.
26
+
27
+ Lastly, we would like to deal with unseen languages at test time. To this end, we propose a new test-time self-adaptation (TSA) strategy. The proposed self-adaptation strategy does not fine-tune the model parameters but only the input linguistic feature, which consequently modifies the mispronounced parts of the reconstructed sample. Because the proposed TSA requires only a single sample at test-time, it adds a large flexibility for the model to be used in many scenarios (e.g., low-resource language).
28
+
29
+ The contributions of this paper are as follows:
30
+
31
+ • We propose a neural analysis and synthesis (NANSY) framework that can be trained in a fully self-supervised manner (no text, no speaker information needed). The proposed method is based on a new set of analysis features and information perturbation.
32
+ • The proposed model can be used for various applications, including zero-shot voice conversion, formant preserving pitch shift, and time-scale modification.
33
+ • We propose a new test-time self-adaptation (TSA) technique than can be used even on unseen languages using only a single test-time speech sample.
34
+
35
+ ![](images/df31aea3e54082daf0a7a221cea97a36043eb99b754577ea6cef9306de10aa7a.jpg)
36
+ Figure 1: The overview of the training procedure and information flow of the proposed neural analysis and synthesis (NANSY) framework. The waveform is first perturbed using functions $f$ and $g$ . $f$ perturbs formant, pitch, and frequency response. $g$ perturbs formant and frequency response while preserving pitch. w2v denotes wav2vec encoder and spk denotes a speaker embedding network. L, P, S, E denotes Linguistic, Pitch, Speaker, and Energy information, respectively. The tilde symbol is attached when the information is perturbed using the perturbation functions. The dashed boxes denote the modules that are being trained.
37
+
38
+ # 2.1 Analysis Features
39
+
40
+ Linguistic To reconstruct an intelligible speech signal, it is crucial to extract rich linguistic information from the speech signal. To this end, we resort to XLSR-53: a wav2vec 2.0 model pre-trained on $5 6 \mathrm { k }$ hours of speech in 53 languages [11]. The extracted features from XLSR-53 have shown superior performance on downstream tasks such as ASR, especially on low-resource languages. We conjecture, therefore, that the extracted features from this model can provide language-agnostic linguistic information. Now the question is, from which layer should the features be extracted? Recently, it has been reported that the representation from different layers of wav2vec 2.0 exhibit different characteristics. Especially, Shah et al. $\mathbb { \lVert 3 9 \rVert }$ showed that it is the output from the middle layer that has the most relevant characteristics to pronunciation2. In light of this empirical observation, we decided to use the intermediate features of XLSR-53. More specifically, we used the output from the 12th layer of the 24-layer transformer encoder.
41
+
42
+ Speaker Perhaps the most common approach to extract speaker embeddings is to first train a speaker recognition network in a supervised manner and then reuse the network for the generation task, assuming that the speaker embedding from the trained network can represent the characteristics of unseen speakers [21, 36]. Here we would like to take one step further and assume that we do not have speaker labels to train a speaker recognition network in a supervised manner. To mitigate this disadvantage, we again use the representation from XLSR-53, which makes the proposed method fully self-supervised. To determine which layer of XLSR-53 to extract the representation from, we first analyzed the features from each layer. Specifically, we averaged the representation of each layer along the time-axis and visualized utterances of 20 randomly selected speakers from the VCTK dataset using TSNE [47, 46]. In Fig. $\bigstar$ we can observe that the representation from the 1st layer of XLSR-53 already forms clusters for each speaker, while the latter layers (especially the last layer) tend to lack them. Note that this is in accordance with the previous observation in $\dot { \mathbb { I B } }$ . Taking this into consideration, we train a speaker embedding network that uses the 1st layer of XLSR-53 as an input. For the speaker embedding network, we borrow the neural architecture from a state-of-the-art speaker recognition network $\pmb { \mathbb { I } } \pmb { \ 4 } \|$ , which is based on 1D-convolutional neural networks (1D-CNN) with an attentive statistics pooling layer. The speaker embedding was $L _ { 2 }$ -normalized before conditioning. The speaker embeddings of seen and unseen speakers during training are also shown in Fig. 2.
43
+
44
+ Pitch Due to the irregular periodicity of the glottal pulse, we often hear creaky voice in speech, which is usually manifested as jitter or sub-harmonics in signals. This makes hard for $f _ { 0 }$ trackers to estimate $f _ { 0 }$ because the $f _ { 0 }$ itself is not well defined in such cases [16, 1, 2]. We take a hint from the popular Yin algorithm to address this issue. The Yin algorithm uses the cumulative mean normalized difference function $d _ { t } ^ { \prime } ( \tau )$ to extract frame-wise features from a raw waveform, which is defined as follows,
45
+
46
+ ![](images/7ea07596546947f4e230d1d518e51138b57a0f4403db7be53b5ad549ebf49ca9.jpg)
47
+ Figure 2: The visualization of intermediate representations of XLSR-53 using TSNE.
48
+
49
+ $$
50
+ d _ { t } ^ { \prime } ( \tau ) = \left\{ \begin{array} { l l } { 1 , } & { \mathrm { i f } \ \tau = 0 } \\ { d _ { t } ( \tau ) / \sum _ { j = 1 } ^ { \tau } d _ { t } ( j ) , } & { \mathrm { o t h e r w i s e . } } \end{array} \right.
51
+ $$
52
+
53
+ The $d _ { t } ( \tau )$ is a difference function that outputs a small value when there exists a periodicity on time-lag $\tau$ and it is defined as follows,
54
+
55
+ $$
56
+ d _ { t } ( \tau ) = \sum _ { j = 1 } ^ { W } \left( x _ { j } - x _ { j + \tau } \right) ^ { 2 } = r _ { t } ( 0 ) + r _ { t + \tau } ( 0 ) - 2 r _ { t } ( \tau ) ,
57
+ $$
58
+
59
+ where $t , \tau , W$ , and $r _ { t }$ denote frame index, time lag, window size, and the auto-correlation function, respectively. After some post processing steps, the Yin algorithm selects $f _ { 0 }$ from multiple $f _ { 0 }$ candidates. See $\mathbb { \lVert \lambda \rVert }$ for more details. Rather than explicitly selecting $f _ { 0 }$ , we would like to train the network to generate pitch harmonics from the output of the function $d _ { t } ^ { \prime } ( \tau )$ . However, $d _ { t } ^ { \prime } ( \tau )$ itself is limited to be used as a pitch feature because it lacks controllability, unlike $f _ { 0 }$ . Therefore, we propose Yingram $Y$ by converting the time-lag axis to the midi-scale axis as follows,
60
+
61
+ $$
62
+ Y _ { t } ( m ) = \frac { d _ { t } ^ { \prime } ( \lceil c ( m ) \rceil ) - d _ { t } ^ { \prime } ( \lfloor c ( m ) \rfloor ) } { \lceil c ( m ) \rceil - \lfloor c ( m ) \rfloor } \cdot ( c ( m ) - \lfloor c ( m ) \rfloor ) + d _ { t } ^ { \prime } ( \lfloor c ( m ) \rfloor ) ,
63
+ $$
64
+
65
+ $$
66
+ c ( m ) = \frac { s r } { 4 4 0 \cdot 2 ^ { ( \frac { m - 6 9 } { 1 2 } ) } } ,
67
+ $$
68
+
69
+ where $m$ , $c ( m )$ , and $s r$ denote midi note, midi-to-lag conversion function, and sampling rate, respectively. We set 20 bins of Yingram to represent a semitone range. In addition, we set Yingram to represent the frequency between $1 0 . 7 7 \mathrm { h z }$ and $1 0 0 0 . 4 0 \mathrm { h z }$ by setting $W$ to 2048 and the range of $\tau$ between 22 and 2047. In the training stage, the input to the synthesis network is the frequency range between $2 5 . 1 1 \mathrm { h z }$ and $4 3 0 . 1 9 \mathrm { h z }$ , which is shown as scope in Fig. $\textcircled { 3 }$ After the training is finished, we can change the pitch by shifting the scope. That is, in the inference stage, one could simply change the pitch of the speech signal by shifting the scope. For example, if we move the scope down 20 bins, the pitch can be raised by a semitone.
70
+
71
+ ![](images/2dc9bfcfd416ccc2c8e65c9a4b700caf125a911da552a301b7255af070136526.jpg)
72
+ Figure 3: The visualization of Yingram and the corresponding mel spectrogram.
73
+
74
+ Energy For the energy feature, we simply took an average from a log-mel spectrogram along the frequency axis.
75
+
76
+ # 2.2 Synthesis Network
77
+
78
+ ![](images/8e73c09f29547f84328621c584d5700bf5b642b371093c7d55519169b8e892ff.jpg)
79
+ Figure 4: The outputs of $\mathcal { G } _ { S }$ and $\mathcal { G } _ { F }$ . The two outputs from each generator are summed to reconstruct a mel spectrogram.
80
+
81
+ It is well-known that speech production can be explained by source-filter theory. Inspired by this, we separate synthesis networks into two parts, source generator $\mathcal { G } _ { S }$ and filter generator $\mathcal { G } _ { F }$ . While the energy and speaker features are common inputs for both generators, $\mathcal { G } _ { S }$ and $\mathcal { G } _ { F }$ differ in that they take Yingram and wav2vec features, respectively. Because the acoustic feature can be interpreted as a sum of source and filter in the log magnitude domain, we incorporate inductive bias in the model by summing the outputs from each generator similarly to $[ [ 2 5 ] ]$ . As will be discussed in more detail in the next section, even though the training loss is only defined using mel spectrograms, the network learns to separately generate the spectral envelope and pitch harmonics as shown in Fig. $4 .$ Note that this separation not only provides the interpretability to the model but also enables formant preserving pitch shifting. To summarize, the acoustic feature, mel spectrogram $\hat { M }$ , is generated as follows,
82
+
83
+ $$
84
+ \hat { M } = \mathcal { G } _ { S } ( \mathrm { Y i n g r a m } , S , E ) + \mathcal { G } _ { F } ( \mathrm { w a v } 2 \mathrm { v e c } , S , E ) ,
85
+ $$
86
+
87
+ where $S$ and $E$ denote speaker embedding and energy features. We used stacks of 1D-CNN layers with gated linear units (GLU) $\pmb { \mathbb { I } }$ for generators. The detailed neural architecture of the generator is described in Appendix $\mathbf { B } .$ Note that each generator shares the same neural architecture. The only difference is the input features to the networks. Finally, the generated mel spectrogram is converted to waveform using the pre-trained HiFi-GAN vocoder $\pmb { \Vert 2 4 \Vert }$ .
88
+
89
+ # 3 Training
90
+
91
+ # 3.1 Information Perturbation
92
+
93
+ In our initial experiments, a neural network can be easily trained to reconstruct mel spectrograms using only the wav2vec feature. This implies that the wav2vec feature contains not only rich linguistic information but also information related to pitch and speaker. For that reason, we would like to train $\mathcal { G } _ { F }$ to selectively extract only the linguistic-related information from the wav2vec feature, not pitch and speaker information. In addition, we would like to train $\mathcal { G } _ { S }$ to selectively extract only the pitch-related information from the Yingram feature, not speaker information. To this end, we propose to perturb the information included in input waveform $x$ by using three functions that are 1. formant shifting $( f s )$ , 2. pitch randomization $( p r )$ , and 3. random frequency shaping using a parametric equalizer $( p e q ) \ L ^ { | 3 | }$ We applied a function $f$ on the wav2vec input, which is a chain of all three functions as follows, $\bar { f ( x ) } = \bar { f s ( p r ( p e q ( x ) ) ) }$ . On the Yingram side, we applied function $g$ , which is a chain of two functions $f s$ and peq so that $f _ { 0 }$ information is still preserved as follows, $g ( x ) = f s ( p e q ( x ) )$ . This way, we expect $\mathcal { G } _ { F }$ to take only the linguistic-related information from the wav2vec feature, and $\mathcal { G } _ { S }$ to take only pitch-related from the Yingram feature. Since the wav2vec and Yingram features can no longer provide the speaker-related information, the control of speaker information becomes uniquely dependent on the speaker embedding. The overview of the information flow is shown in Fig.
94
+
95
+ 1. The hyperparameters of the perturbation functions are described more in Appendix A.
96
+
97
+ # 3.2 Training Loss
98
+
99
+ We used L1 loss between the generated mel spectrogram $\hat { M }$ and ground truth mel spectrogram $M$ to train the generators and speaker embedding network. However, it is well-known that the speech synthesis networks trained with L1 or L2 loss suffer from over-smootheness of the generated acoustic feature, which results in poor quality of the speech signal. Therefore, in addition to the L1 loss, we used the recent speaker conditional generative adversarial training method to mitigate this issue [8]. Writing the discriminator as $\bar { \cal D } ( { \cal M } , { \pmb { c } } _ { + } , { \pmb { c } } _ { - } ) : = \sigma ( h ( { \cal M } , { \pmb { c } } _ { + } , { \pmb { c } } _ { - } ) )$ , Choi et al. $\checkmark$ proposed to use projection conditioning $\mathbb { \left[ \left[ 2 \right] \right] }$ not only with the positive pairs but also with the negative pairs as follows,
100
+
101
+ $$
102
+ h ( M , \pmb { c } _ { + } , \pmb { c } _ { - } ) = \psi ( \phi ( M ) ) + \pmb { c } _ { + } ^ { T } \phi ( M ) - \pmb { c } _ { - } ^ { T } \phi ( M ) ,
103
+ $$
104
+
105
+ where $M$ denotes a mel spectrogram, $\sigma ( \cdot )$ denotes a sigmoid function, $c _ { + }$ denotes a speaker embedding from a positively paired input speech sample, and $c _ { - }$ denotes a speaker embedding from a randomly sampled speech utterance. $\phi ( \cdot )$ denotes an output from the intermediate layer of discriminator and $\psi ( \cdot )$ denotes a function that maps input vector to a scalar value. The detailed neural architecture of $\mathcal { D }$ is shown in Appendix B. The loss functions for discriminator $L _ { \mathcal { D } }$ and generator $L _ { \mathcal { G } }$ are as follows:
106
+
107
+ $$
108
+ \begin{array} { r l } & { L _ { \mathcal { D } } = - \mathbb { E } _ { ( M , c _ { + } , c _ { - } ) \sim p _ { d a t a } , \hat { M } \sim p _ { g e n } } [ l o g ( \sigma ( h ( M , c _ { + } , \pmb { c } _ { - } ) ) ) - l o g ( \sigma ( h ( \hat { M } , \pmb { c } _ { + } , \pmb { c } _ { - } ) ) ) ] , } \\ & { L _ { \mathcal { G } } = - \mathbb { E } _ { ( M , c _ { + } , c _ { - } ) \sim p _ { d a t a } , \hat { M } \sim p _ { g e n } } [ l o g ( \sigma ( h ( \hat { M } , \pmb { c } _ { + } , \pmb { c } _ { - } ) ) ) ] + | M - \hat { M } | . } \end{array}
109
+ $$
110
+
111
+ # 3.3 Test-time Self-Adaptation
112
+
113
+ Although the synthesis network can reconstruct an intelligible speech from the wav2vec feature in most cases, we observed that the network sometimes outputs speech signals with wrong pronunciation, especially when tested on unseen languages. To alleviate this problem, we propose to modify only the input representation, that is, the wav2vec feature, without having to train the whole network again from scratch. As shown in Fig. $\textcircled { 5 }$ we first compute L1 loss between the generated mel spectrogram $\hat { M }$ and ground truth mel spectrogram $M$ in the test-time. Then, we
114
+
115
+ ![](images/c9b15cf4c0966b89bd0470d4e0592c780e88896a94b5d3e49b8fdd9cd169706c.jpg)
116
+ Figure 5: The illustration of TSA.
117
+
118
+ update only the parameterized wav2vec feature using the backpropagation signal from the loss. Note that the loss gradient (shown in red) is backpropagated only through the filter generator. Because this test-time training scheme requires only a single test-time sample and updates the input parameters by targeting the test-time sample itself, we call it test-time self-adaptation (TSA).
119
+
120
+ # 4 Experiments
121
+
122
+ # 4.1 Implementation Details
123
+
124
+ Dataset To train NANSY on English, we used two datasets, i.e., 1. VCTK4 [47], 2. train-clean-360 subset of LibriTTS3 [54]. We trained the model using $90 \%$ of samples for each speaker. The speakers of train-clean-360 were included to the training set only when the total length of speech samples exceeds 15 minutes. To test on English speech samples we used two datasets; 1. For the seen speaker test we used $10 \%$ unseen utterances of VCTK. 2. For the unseen speaker test we used test-clean subset of LibriTTS.
125
+
126
+ To train NANSY on multi-language, we used $\mathrm { C S S 1 0 ^ { 3 } }$ dataset $\lVert \overline { { 3 2 } } \rVert$ . CSS10 includes 10 speakers and each speaker use different language. Note that there is no English speaking speaker included in CSS10. To train the model, we used $90 \%$ of samples for each speaker. To test on multilingual speech samples, we used the rest $10 \%$ unseen utterances of CSS10.
127
+
128
+ Training We used $2 2 , 0 5 0 \mathrm { h z }$ sampling rate for every analysis feature except for wav2vec input that takes waveform with the sampling rate of $1 6 { , } 0 0 0 \mathrm { h z }$ . We used 80 bands for mel spectrogram, where FFT, window, and hop size were set to 1024, 1024, and 256, respectively. The samples were randomly cropped approximately to 1.47-second, which results in 128 mel spectrogram frames. The networks were trained using Adam optimizer with $\beta _ { 1 } = 0 . 5$ and $\beta _ { 2 } = 0 . 9$ . The learning rate was fixed to $1 0 ^ { - 4 }$ . We trained every model using one RTX 3090 with batch size 32. The training was done after 50 epochs.
129
+
130
+ # 4.2 Reconstruction
131
+
132
+ For the reconstruction (analysis and synthesis) tests, we report character error rate (CER $( \% )$ ), and 5-scale mean opinon score (MOS ([1-5])), 5-scale degradation mean opinion score (DMOS ([1-5])). For MOS, higher is better. For DMOS and CER, lower is better. To estimate the characters from speech samples, we used google cloud ASR API. For MOS and DMOS, we used amazon mechanical turk (MTurk). The details of MOS and DMOS are shown in Appendix D.
133
+
134
+ Yingram vs $f _ { 0 }$ We compared two models trained with Yingram and $f _ { 0 }$ to check which pitch feature shows more robust reconstruction performance. We used RAPT algorithm for $f _ { 0 }$ estimation $\lVert \overline { { 4 2 } } \rVert$ which is known as a reliable $f _ { 0 }$ tracker among many other algorithms $\overline { { \| 2 2 } }$ . Because RAPT algorithm works sufficiently well in most cases, we first manually listened to the reconstructed samples using the model trained with $f _ { 0 }$ . We first chose 30 reconstructed samples in the testset that failed to faithfully reconstruct the original samples using the model trained with $f _ { 0 }$ . After that we reconstructed the same 30 samples using the model trained with Yingram. Finally, we conducted ABX test to ask participants which of the two samples (A and B) sounds closer to the original sample (X). The ABX test was conducted on MTurk. The results showed that the participants chose Yingram with a chance of $6 8 . 3 \%$ . This shows that Yingram can be used as a more robust pitch feature than $f _ { 0 }$ , when $f _ { 0 }$ cannot be accurately estimated.
135
+
136
+ Reconstruction test We randomly sampled 50 speech samples from VCTK (seen speaker) and sampled another 50 speech samples from test-clean subset of LibriTTS (unseen speaker) to test the reconstruction performance of NANSY trained on English datasets. The results in Table $\bigstar$ shows that NANSY can perform high quality analysis and synthesis task. In addition, to test if the proposed framework can cover various languages, we trained and tested it with the multilingual dataset, CSS10. We randomly sampled 100 speech samples from CSS10 to test the reconstruction performance of NANSY trained on multi-language. The results are shown in Table $\boxed { 2 }$ Although we do not impose any explicit labels for each language, the model was able to reconstruct various languages with high quality. The results of CER on each language is shown in Fig. $\bigtriangledown$ MUL.
137
+
138
+ Table 1: English reconstruction results.
139
+
140
+ <table><tr><td></td><td>CER</td><td>MOS</td><td>DMOS</td></tr><tr><td>GT</td><td>n/a</td><td>4.28 ± 0.09</td><td>n/a</td></tr><tr><td>Recon</td><td>5.6</td><td>4.18 ± 0.09</td><td>1.93 ± 0.09</td></tr></table>
141
+
142
+ Table 2: Multilingual reconstruction results.
143
+
144
+ <table><tr><td></td><td>CER</td><td>MOS</td><td>DMOS</td></tr><tr><td>GT</td><td>n/a</td><td>4.19 ± 0.08</td><td>n/a</td></tr><tr><td>Recon</td><td>7.3</td><td>4.14 ± 0.09</td><td>1.74 ± 0.09</td></tr></table>
145
+
146
+ Test-time self-adaptation To test the proposed test-time self-adaptation (TSA), we compared the CER performance of NANSY trained in three different configurations, 1. English (ENG), 2. English with TSA (ENG-TSA), 3. Multi-language (MUL). For every experiment, we iteratively updated the wav2vec feature 100 times. The results are shown in Fig. $\triangledown$ Naturally, MUL generally showed better CER performance than other configurations. Interestingly, however, ENG-TSA sometimes showed similar or even better performance than MUL, which shows the effectiveness of the proposed TSA technique.
147
+
148
+ ![](images/6ab7510e2e4e43c70e414019e189f09a7485295bdba01aca11345f4b7fde516e.jpg)
149
+ Figure 6: The CER results on 10 languages (NL: Dutch, HU: Hungarian, FR: French, JP: Japanese, CH: Chinese, RU: Russian, FI: Finnish, GR: Greek, ES: Spanish, DE: German).
150
+
151
+ # 4.3 Voice conversion
152
+
153
+ NANSY can perform zero-shot voice conversion by simply passing the desired target speech utterance to the speaker embedding network. We first compared the English voice conversion performance of NANSY with recently proposed zero-shot voice conversion models. Next, we tested the multilingual voice conversion performance. Finally, we tested unseen language voice conversion for both seen speaker and unseen speaker targets. Note that in every voice conversion experiment, we shifted the median pitch of a source utterance to the median pitch of a target utterance by shifting the scope of Yingram. We measured naturalness with 5-scale mean opinion score (MOS [1-5]). Speaker similarity (SSIM $( \% )$ ) were measured with a binary decision and uncertainty options, following $\pmb { \Vert 5 0 \Vert }$ . For MOS and SSIM, we again used MTurk. The details of MOS and SSIM are shown in Appendix D. One of the crucial criteria for evaluating the quality of the converted samples is to check the intelligibility of them. Previous zero-shot voice conversion models, however, have only reported MOS or SSIM and have been negligent on assessing the intelligibility of the converted samples [36, 10, 51]. To this end, we report character error rate (CER $( \% ) _ { , }$ ) between estimated characters of source and converted pairs. To estimate the characters from speech samples, we used google cloud ASR API.
154
+
155
+ Algorithm comparison Here, we report three source-to-target speaker conversion settings, 1. seen-to-seen (many-to-many, M2M), 2. unseen-to-seen (any-to-many, A2M), 3. unseen-to-unseen (any-to-any, A2A). For every setting, we considered 4 gender-to-gender combination, i.e., male-tomale $( { \mathrm { m } } 2 { \mathrm { m } } )$ , male-to-female (m2f), female-to-male $( \mathrm { f } 2 \mathrm { m } )$ , and female-to-female (f2f). For M2M setting, we randomly sampled 25 seen speakers from VCTK and randomly assigned 2 random speakers from VCTK, resulting in 200 $( = 2 5 { \times } 2 { \times } 4 )$ conversion pairs in total. For A2M setting, we randomly sampled 10 seen speakers from test-clean subset of LibriTTS and randomly assigned 2 random speakers from VCTK resulting in 80 $( = 1 0 \times 2 \times 4 )$ ) conversion pairs in total. For A2A setting, we randomly sampled 10 seen speakers from test-clean subset of LibriTTS and randomly assigned 2 random speakers from test-clean subset of LibriTTS resulting in 80 $( = 1 0 \times 2 \times 4 )$ conversion pairs in total. We trained three baseline models with official implementations - ${ \mathrm { V Q V C } } +$ [51], AdaIN $[ \mathbb { 1 0 } ]$ , AUTOVC $\pmb { \mathbb { B } } 6 \|$ - using the same dataset and mel spectrogram configuration as NANSY. For a fair comparison, we used a pre-trained HiFi-GAN vocoder for every model. Table $\triangledown$ shows that NANSY significantly outperforms previous models in terms of every evaluation measure. This implies that the proposed information perturbation approach does not suffer from the trade-off between CER and SSIM unlike information bottleneck approaches. The SSIM results for all possible gender-to-gender combinations are shown in Fig. 9 in Appendix C.
156
+
157
+ <table><tr><td>一</td><td></td><td>M2M</td><td></td><td></td><td>A2M</td><td></td><td></td><td>A2A</td><td></td></tr><tr><td></td><td></td><td>[CER[%] MOS[1-5]</td><td></td><td></td><td>]SSIM[%]|CER[%]MOS[1-5]</td><td></td><td></td><td>SSIM[%]|CER[%] MOS[1-5]</td><td>SSIM[%]</td></tr><tr><td>SRC as TGT</td><td>n/a</td><td>4.23 ± 0.05</td><td>0</td><td>n/a</td><td>4.28 ± 0.09</td><td>0.60</td><td>n/a</td><td>4.26 ± 0.07</td><td>0.25</td></tr><tr><td>TGT as TGT</td><td>n/a</td><td>4.32 ± 0.05</td><td>94.9</td><td>n/a</td><td>4.29 ± 0.05</td><td>92.4</td><td>n/a</td><td>4.27 ± 0.07</td><td>96.2</td></tr><tr><td>VQVC+</td><td>54.0</td><td>1.76 ± 0.05</td><td>54.5</td><td>74.7</td><td>1.73 ± 0.11</td><td>15.6</td><td>69.3</td><td>1.83 ± 0.09</td><td>13.8</td></tr><tr><td>AdaIN</td><td>62.9</td><td>2.22 ± 0.07</td><td>24.0</td><td>79.6</td><td>1.92 ± 0.12</td><td>18.1</td><td>59.3</td><td>2.12 ± 0.10</td><td>21.2</td></tr><tr><td>AUTOVC</td><td>31.7</td><td>3.41 ±0.06</td><td>47.3</td><td>36.1</td><td>2.74 ±0.11</td><td>33.2</td><td>28.2</td><td>2.59 ±0.08</td><td>23.3</td></tr><tr><td>NANSY</td><td>7.5</td><td>3.79 ± 0.07</td><td>91.4</td><td>7.6</td><td>3.73 ± 0.05</td><td>88.1</td><td>8.6</td><td>3.44 ± 0.07</td><td>64.6</td></tr></table>
158
+
159
+ Table 3: Evaluation results on English voice conversion. SRC and TGT denote, source and target, respectively.
160
+
161
+ Multilingual voice conversion We tested multilingual voice conversion performance with the model trained on the multilingual dataset, CSS10. We randomly sampled 50 samples for each language speaker from CSS10 and assigned random single target speaker from CSS10 for each source language, resulting in 500 $( = 5 0 \times 1 0 )$ ) conversion pairs in total. The results in Table 4 show that the proposed framework can successfully perform multilingual voice conversion by training it with the multilingual dataset. However, there is still a room for improvement for multilingual voice conversion when comparing to the results in Table 3, where NANSY is just trained on English.
162
+
163
+ Unseen language voice conversion We tested the voice conversion performance on unseen source languages using NANSY trained on English. We tested the performance on two settings, 1. unseen source language (CSS10) to seen target voice (VCTK) and 2. unseen source language (CSS10) to unseen target voice (CSS10). For the first experiment, we randomly sampled 50 samples for each unseen language speaker from CSS10 and assigned random English target speakers from VCTK, resulting in 500 $( = 5 0 \times 1 0 )$ conversion pairs in total. The second experiment was conducted identically to the multilingual voice conversion experiment setting. The results in Table $\boxed { 5 }$ shows that NANSY can be successfully extended even to unseen language sources, although there was a decrease on SSIM compared to the results in Table 4 $( 6 9 . 5 \% \bar { } 6 \bar { 1 } . 0 \% )$ ).
164
+
165
+ Table 4: The multilingual voice conversion results. The model was trained using only CSS10.
166
+
167
+ <table><tr><td></td><td>|CER MOS</td><td>SSIM</td></tr><tr><td></td><td>TGT as TGT|n/a 4.23 ±0.06</td><td>98.0</td></tr><tr><td>NANSY</td><td>18.8 3.68 ±0.09</td><td>69.5</td></tr></table>
168
+
169
+ <table><tr><td></td><td colspan="3">Seen Speaker</td></tr><tr><td></td><td>|CER MOS</td><td>SSIM|CER</td><td>MOS SSIM</td></tr><tr><td>TGT as TGT NANSY</td><td>n/a 4.24 ±0.07 14.8 3.75 ± 0.10</td><td>100 90.0</td><td>n/a 4.23 ± 0.06 92.0 15.6 3.76 ± 0.09 61.0</td></tr></table>
170
+
171
+ Table 5: The voice conversion results on unseen language dataset, CSS10. The model was trained using only the English datasets.
172
+
173
+ # 4.4 Pitch shift and time-scale modification
174
+
175
+ To check the robustness of pitch shift (PS) and time-scale modification (TSM) performance of NANSY, we compared it with other robust algorithms, i.e., PSOLA 5 and WORLD vocoder [29, 28].
176
+
177
+ Pitch shift We tested PS performance with 5 semitone ranges, -6, -3, 0, 3, 6. The pitch was changed by shifting the scope of the proposed Yingram feature. Note that $\mathbf { \bar { \rho } } _ { 0 } ,$ was used to check analysissynthesis performance. We randomly selected 20 samples for each semitone range from $10 \%$ unseen utterances of VCTK. We evaluated the naturalness of speech samples with MOS on MTurk. The results in Table $6$ show that NANSY generally outperforms algorithms such as PSOLA and WORLD vocoder on PS task.
178
+
179
+ Time-scale modification We tested TSM performance with 5 time-scale ratios, 1/2, 1/1.5, 1, 1.5, 2. The time-scale was modified by simply manipulating the hop length of the analysis features. Note that $\cdot _ { 1 } \cdot$ was used to check analysis-synthesis performance. We randomly selected 20 samples for each time-scale ratio from $10 \%$ unseen utterances of VCTK. We evaluated the naturalness of speech samples with MOS on MTurk. The results in Table 7 show that NANSY achieved competitive performance on TSM compared to the well-established PSOLA and WORLD vocoder.
180
+
181
+ <table><tr><td></td><td>-6</td><td>-3</td><td>0</td><td>3</td><td>6</td></tr><tr><td>WORLD 28</td><td>3.433.53</td><td></td><td></td><td>33.853.63</td><td>3.53</td></tr><tr><td>PSOLA 四</td><td></td><td></td><td></td><td></td><td>3.633.553.933.753.48</td></tr><tr><td>NANSY</td><td>3.60 3.68</td><td></td><td>4.05</td><td>3.90</td><td>3.78</td></tr></table>
182
+
183
+ Table 6: Pitch shift results.
184
+
185
+ Table 7: Time-scale modification results.
186
+
187
+ <table><tr><td></td><td>1/2</td><td>1/1.5 1</td><td>1.5</td><td>2</td></tr><tr><td>WORLD I28I</td><td>2.403.603.833.38</td><td></td><td></td><td>83.03</td></tr><tr><td>PSOLA 四</td><td>2.55 3.66 3.953.68</td><td></td><td></td><td>2.85</td></tr><tr><td>NANSY</td><td>2.453.63</td><td>33.983.70</td><td></td><td>2.93</td></tr></table>
188
+
189
+ # 5 Related Works
190
+
191
+ Self-supervised representation learning and synthesis of speech There has been an increasing interest in the self-supervised learning methods within the machine learning and speech processing community. Oord et al. [31] first proposed to use noise contrastive estimation loss to train speech representations. Baevski et al. [4] extended this idea by integrating masked language modeling $\mathbb { \lVert 1 5 \rVert }$ . Another popular self-supervised learning method for speech representation is to train a neural network by targeting multiple self-supervision tasks [34, 37]. Most recently, $\pmb { \Vert 3 5 \Vert }$ used the discrete disentangled self-supervised representations to re-synthesize them into a waveform. Although using the discrete units has its own advantage in that it is disentangled with speaker information, we found that an inaccurate quantization process often leads to mispronounced samples, which is why we turned to use continuous representation as it can provide more accurate results on linguistic information.
192
+
193
+ Zero-shot voice conversion Research on zero-shot voice conversion has been most actively conducted through the information bottleneck approach. Qian et al. $\textcircled { \lvert 3 6 \rvert }$ proposed to perform zero-shot voice conversion by utilizing the pre-trained speaker recognition network and information bottleneck by carefully designing the bottleneck of an auto-encoder. Inspired by the success of style conversion in computer vision, Chou and Lee $\mathbb { \ m }$ also focused on restricting the information flow using instance normalization $\pm \ddagger { 4 }$ and adaptive instance normalization $\mathbb { \lVert 1 9 \rVert }$ . Lastly, Wu et al. [51] used multiple vector quantization layers $\bar { \mathbb { B } } \bar { 0 } \bar { 1 }$ to restrict the information flow.
194
+
195
+ Inductive bias for audio generation It has been shown that neural networks can be combined with traditional speech/sound production models for efficient and strong performance. One of the speech production models that has been integrated with neural networks is the source-filter model. By modeling source and filter components with deep networks, it has been used for applications such as vocoder [49, 23, 45] and acoustic feature generation $\lVert 2 5 \rVert$ . Furthermore, Engel et al. $\mathbb { \ m }$ proposed to integrate a harmonic plus noise model $\bar { \big \| } \bar { 3 8 } \bar { \big \| }$ and neural networks to produce natural audio signal.
196
+
197
+ Consistency learning Learning representations by augmenting the data has been one of the key ideas to leverage the performance of classification tasks [43, 52]. This shares the similar idea with the proposed information perturbation strategy in that the data is perturbed so that the neural network must learn to ignore the perturbations and learn the consistency from the data. However, the key difference between the consistency learning and the information perturbation is that the information perturbation method is designed for “generative” task and that it is the “decoder” (e.g., Generator) that is trained to selectively take the essential attributes to reconstruct the signal from the given perturbed representations.
198
+
199
+ # 6 Conclusions and Discussion
200
+
201
+ In this work, we proposed a neural analysis and synthesis framework (NANSY) that can perform zero-shot voice conversion, formant preserving pitch shift, and time-scale modification with a single model. The proposed model can be trained in a fully self-supervised manner, that is, it can be trained without any labeled data such as text or speaker information. We showed the effectiveness of the proposed information perturbation approach by showing the voice conversion results on various settings. Furthermore, we showed the effectiveness of the proposed TSA method by testing it on unseen languages, which shows the possibility of NANSY to be extended on low-resource languages. Although the proposed method empowers controllability over several attributes of a speech signal, it is still limited in terms of lacking controllability over linguistic information. As a future work, therefore, we would like to investigate on a hybrid approach that integrates text information as a side input so that the user can manipulate even the linguistic information in the speech signal. Finally, to prevent the proposed framework being used maliciously (e.g., voice phishing), it would be important to develop a detection algorithm that can discriminate a synthesized speech sample from a real speech sample. To examine the potential of such a detection system, we have tried using the trained Discriminator from the NANSY framework, which is expected to discriminate fake samples from real samples. We measured the accuracy of classifying 185 reconstructed samples and 185 ground truth samples. In addition, we measured the accuracy of classifying 560 voice conversion samples and 560 ground truth samples. The accuracy was $9 1 . 4 \%$ on the reconstruction set and $9 5 . 5 \%$ on the voice conversion set. This shows the possibility of Discriminator being used as a byproduct network to discriminate real speech samples from fake speech samples. However, we also found that Discriminator is prone to being deceived by the generated samples from other speech generative models as Discriminator was not jointly trained with those generative models. Therefore, we expect more robust synthesized speech detection algorithms to be developed in the future such as [48, 40, 9, 6].
202
+
203
+ # Broader Impacts
204
+
205
+ The proposed NANSY framework shows that a generative model can benefit from self-supervised representations. By choosing proper domain specific “information perturbation” functions, we believe that one can achieve controllable generative modeling in a fully self-supervised way. The information perturbation training strategy may also be used for other modalities and facilitate self-supervised representation learning methods too. With the proposed training framework, one can manipulate various aspects of speech samples. Among the various controllabilities, it is rather obvious that the voice conversion technique can be misused and potentially harm other people. More concretely, there are possible scenarios where it is being used by random unidentified users and contributing to spreading fake news. In addition, it can raise concerns about biometric security systems based on speech. To mitigate such issues, the proposed system should not be released without a consent so that it cannot be easily used by random users with malicious intentions. That being said, there is still a potential for this technology to be used by unidentified users. As a more solid solution, therefore, we believe a detection system that can discriminate between fake and real speech should be developed. The preliminary results of the detection system is reported in section 6.
206
+
207
+ # Acknowledgments and Disclosure of Funding
208
+
209
+ This work was supported by Institute of Information & communications Technology Planning & Evaluation (IITP) grant funded by the Korea government(MSIT) [NO.2021-0-01343, Artificial Intelligence Graduate School Program (Seoul National University)]
210
+
211
+ References
212
+ [1] Luc Ardaillon. Synthesis and expressive transformation of singing voice. PhD thesis, 11 2017.
213
+ [2] Luc Ardaillon and Axel Roebel. Gci detection from raw speech using a fully-convolutional network. In ICASSP 2020-2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 6739–6743. IEEE, 2020.
214
+ [3] Bishnu S Atal and Suzanne L Hanauer. Speech analysis and synthesis by linear prediction of the speech wave. The journal of the acoustical society of America, 50(2B):637–655, 1971.
215
+ [4] Alexei Baevski, Yuhao Zhou, Abdelrahman Mohamed, and Michael Auli. wav2vec 2.0: A framework for self-supervised learning of speech representations. In H. Larochelle, M. Ranzato, R. Hadsell, M. F. Balcan, and H. Lin, editors, Advances in Neural Information Processing Systems, volume 33, pages 12449–12460. Curran Associates, Inc., 2020. URL https://proceedings.neurips.cc/paper/2020/file/ 92d1e1eb1cd6f9fba3227870bb6d7f07-Paper.pdf.
216
+ [5] Paul Boersma and Vincent Van Heuven. Speak and unspeak with praat. Glot International, 5 (9/10):341–347, 2001.
217
+ [6] Clara Borrelli, Paolo Bestagini, Fabio Antonacci, Augusto Sarti, and Stefano Tubaro. Synthetic speech detection through short-term and long-term prediction traces. EURASIP Journal on Information Security, 2021(1):1–14, 2021.
218
+ [7] Mingjian Chen, Xu Tan, Bohan Li, Yanqing Liu, Tao Qin, sheng zhao, and Tie-Yan Liu. Adaspeech: Adaptive text to speech for custom voice. In International Conference on Learning Representations, 2021. URL https://openreview.net/forum?id=Drynvt7gg4L.
219
+ [8] Hyeong-Seok Choi, Changdae Park, and Kyogu Lee. From inference to generation: End-to-end fully self-supervised generation of human face from speech. In International Conference on Learning Representations, 2020. URL https://openreview.net/forum?id=H1guaREYPr.
220
+ [9] Yeunju Choi, Youngmoon Jung, and Hoirin Kim. Neural mos prediction for synthesized speech using multi-task learning with spoofing detection and spoofing type classification. In 2021 IEEE Spoken Language Technology Workshop (SLT), pages 462–469. IEEE, 2021.
221
+ [10] Ju-Chieh Chou and Hung-Yi Lee. One-Shot Voice Conversion by Separating Speaker and Content Representations with Instance Normalization. In Proc. Interspeech 2019, pages 664– 668, 2019. doi: 10.21437/Interspeech.2019-2663. URL http://dx.doi.org/10.21437/ Interspeech.2019-2663.
222
+ [11] Alexis Conneau, Alexei Baevski, Ronan Collobert, Abdelrahman Mohamed, and Michael Auli. Unsupervised cross-lingual representation learning for speech recognition. arXiv preprint arXiv:2006.13979, 2020.
223
+ [12] Yann N Dauphin, Angela Fan, Michael Auli, and David Grangier. Language modeling with gated convolutional networks. In International conference on machine learning, pages 933–941. PMLR, 2017.
224
+ [13] Alain De Cheveigné and Hideki Kawahara. Yin, a fundamental frequency estimator for speech and music. The Journal of the Acoustical Society of America, 111(4):1917–1930, 2002.
225
+ [14] Brecht Desplanques, Jenthe Thienpondt, and Kris Demuynck. ECAPA-TDNN: Emphasized Channel Attention, Propagation and Aggregation in TDNN Based Speaker Verification. In Proc. Interspeech 2020, pages 3830–3834, 2020. doi: 10.21437/Interspeech.2020-2650. URL http://dx.doi.org/10.21437/Interspeech.2020-2650.
226
+
227
+ [15] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 4171–4186, Minneapolis, Minnesota, June 2019. Association for Computational Linguistics. doi: 10.18653/v1/N19-1423. URL https://www.aclweb.org/anthology/N19-1423.
228
+
229
+ [16] Thomas Drugman, Paavo Alku, Abeer Alwan, and Bayya Yegnanarayana. Glottal source processing: From analysis to applications. Computer Speech & Language, 28(5):1117–1138, 2014. ISSN 0885-2308. doi: https://doi.org/10.1016/j.csl.2014.03.003. URL https://www. sciencedirect.com/science/article/pii/S0885230814000229.
230
+
231
+ [17] Jesse Engel, Lamtharn (Hanoi) Hantrakul, Chenjie Gu, and Adam Roberts. Ddsp: Differentiable digital signal processing. In International Conference on Learning Representations, 2020. URL https://openreview.net/forum?id=B1x1ma4tDr.
232
+
233
+ [18] Zhiyun Fan, Meng Li, Shiyu Zhou, and Bo Xu. Exploring wav2vec 2.0 on speaker verification and language identification. arXiv preprint arXiv:2012.06185, 2020.
234
+
235
+ [19] Xun Huang and Serge Belongie. Arbitrary style transfer in real-time with adaptive instance normalization. In Proceedings of the IEEE International Conference on Computer Vision, pages 1501–1510, 2017.
236
+
237
+ [20] Yannick Jadoul, Bill Thompson, and Bart De Boer. Introducing parselmouth: A python interface to praat. Journal of Phonetics, 71:1–15, 2018.
238
+
239
+ [21] Ye Jia, Yu Zhang, Ron J. Weiss, Quan Wang, Jonathan Shen, Fei Ren, Zhifeng Chen, Patrick Nguyen, Ruoming Pang, Ignacio Lopez-Moreno, and Yonghui Wu. Transfer learning from speaker verification to multispeaker text-to-speech synthesis. In Advances in Neural Information Processing Systems, pages 4485–4495, 2018.
240
+
241
+ [22] Denis Jouvet and Yves Laprie. Performance analysis of several pitch detection algorithms on simulated and real noisy speech data. In 2017 25th European Signal Processing Conference (EUSIPCO), pages 1614–1618. IEEE, 2017.
242
+
243
+ [23] Lauri Juvela, Bajibabu Bollepalli, Vassilis Tsiaras, and Paavo Alku. Glotnet—a raw waveform model for the glottal excitation in statistical parametric speech synthesis. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 27(6):1019–1030, 2019.
244
+
245
+ [24] Jungil Kong, Jaehyeon Kim, and Jaekyoung Bae. Hifi-gan: Generative adversarial networks for efficient and high fidelity speech synthesis. In H. Larochelle, M. Ranzato, R. Hadsell, M. F. Balcan, and H. Lin, editors, Advances in Neural Information Processing Systems, volume 33, pages 17022–17033. Curran Associates, Inc., 2020. URL https://proceedings.neurips. cc/paper/2020/file/c5d736809766d46260d816d8dbc9eb44-Paper.pdf.
246
+
247
+ [25] Juheon Lee, Hyeong-Seok Choi, Chang-Bin Jeon, Junghyun Koo, and Kyogu Lee. Adversarially Trained End-to-End Korean Singing Voice Synthesis System. In Proc. Interspeech 2019, pages 2588–2592, 2019. doi: 10.21437/Interspeech.2019-1722. URL http://dx.doi.org/10. 21437/Interspeech.2019-1722.
248
+
249
+ [26] Robert McAulay and Thomas Quatieri. Speech analysis/synthesis based on a sinusoidal representation. IEEE Transactions on Acoustics, Speech, and Signal Processing, 34(4):744–754, 1986.
250
+
251
+ [27] Takeru Miyato and Masanori Koyama. cGANs with projection discriminator. In International Conference on Learning Representations, 2018. URL https://openreview.net/forum? id=ByS1VpgRZ.
252
+
253
+ [28] Masanori Morise, Fumiya Yokomori, and Kenji Ozawa. World: a vocoder-based high-quality speech synthesis system for real-time applications. IEICE TRANSACTIONS on Information and Systems, 99(7):1877–1884, 2016.
254
+
255
+ [29] Eric Moulines and Francis Charpentier. Pitch-synchronous waveform processing techniques for text-to-speech synthesis using diphones. Speech communication, 9(5-6):453–467, 1990.
256
+
257
+ [30] Aaron van den Oord, Oriol Vinyals, and Koray Kavukcuoglu. Neural discrete representation learning. arXiv preprint arXiv:1711.00937, 2017.
258
+
259
+ [31] Aaron van den Oord, Yazhe Li, and Oriol Vinyals. Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748, 2018.
260
+
261
+ [32] Kyubyong Park and Thomas Mulc. CSS10: A Collection of Single Speaker Speech Datasets for 10 Languages. In Proc. Interspeech 2019, pages 1566–1570, 2019. doi: 10.21437/Interspeech. 2019-1500. URL http://dx.doi.org/10.21437/Interspeech.2019-1500.
262
+
263
+ [33] Seung-won Park, Doo-young Kim, and Myun-chul Joe. Cotatron: Transcription-guided speech encoder for any-to-many voice conversion without parallel data. arXiv preprint arXiv:2005.03295, 2020.
264
+
265
+ [34] Santiago Pascual, Mirco Ravanelli, Joan Serrà, Antonio Bonafonte, and Yoshua Bengio. Learning Problem-Agnostic Speech Representations from Multiple Self-Supervised Tasks. In Proc. Interspeech 2019, pages 161–165, 2019. doi: 10.21437/Interspeech.2019-2605. URL http://dx.doi.org/10.21437/Interspeech.2019-2605.
266
+
267
+ [35] Adam Polyak, Yossi Adi, Jade Copet, Eugene Kharitonov, Kushal Lakhotia, Wei-Ning Hsu, Abdelrahman Mohamed, and Emmanuel Dupoux. Speech Resynthesis from Discrete Disentangled Self-Supervised Representations. In Proc. Interspeech 2021, pages 3615–3619, 2021. doi: 10.21437/Interspeech.2021-475.
268
+
269
+ [36] Kaizhi Qian, Yang Zhang, Shiyu Chang, Xuesong Yang, and Mark Hasegawa-Johnson. Autovc: Zero-shot voice style transfer with only autoencoder loss. In International Conference on Machine Learning, pages 5210–5219. PMLR, 2019.
270
+
271
+ [37] Mirco Ravanelli, Jianyuan Zhong, Santiago Pascual, Pawel Swietojanski, Joao Monteiro, Jan Trmal, and Yoshua Bengio. Multi-task self-supervised learning for robust speech recognition. In ICASSP 2020-2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 6989–6993. IEEE, 2020.
272
+
273
+ [38] Xavier Serra et al. Musical sound modeling with sinusoids plus noise. Musical signal processing, pages 91–122, 1997.
274
+
275
+ [39] Jui Shah, Yaman Kumar Singla, Changyou Chen, and Rajiv Ratn Shah. What all do audio transformer models hear? probing acoustic representations for language delivery and its structure. arXiv preprint arXiv:2101.00387, 2021.
276
+
277
+ [40] Arun Kumar Singh and Priyanka Singh. Detection of ai-synthesized speech using cepstral & bispectral statistics. arXiv preprint arXiv:2009.01934, 2020.
278
+
279
+ [41] Lifa Sun, Kun Li, Hao Wang, Shiyin Kang, and Helen Meng. Phonetic posteriorgrams for manyto-one voice conversion without parallel data training. In 2016 IEEE International Conference on Multimedia and Expo (ICME), pages 1–6. IEEE, 2016.
280
+
281
+ [42] David Talkin and W Bastiaan Kleijn. A robust algorithm for pitch tracking (rapt). Speech coding and synthesis, 495:518, 1995.
282
+
283
+ [43] Antti Tarvainen and Harri Valpola. Mean teachers are better role models: Weightaveraged consistency targets improve semi-supervised deep learning results. arXiv preprint arXiv:1703.01780, 2017.
284
+
285
+ [44] Dmitry Ulyanov, Andrea Vedaldi, and Victor Lempitsky. Instance normalization: The missing ingredient for fast stylization. arXiv preprint arXiv:1607.08022, 2016.
286
+
287
+ [45] Jean-Marc Valin and Jan Skoglund. Lpcnet: Improving neural speech synthesis through linear prediction. In ICASSP 2019-2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 5891–5895. IEEE, 2019.
288
+
289
+ [46] Laurens Van der Maaten and Geoffrey Hinton. Visualizing data using t-sne. Journal of machine learning research, 9(11), 2008.
290
+
291
+ [47] Christophe Veaux, Junichi Yamagishi, and Simon King. The voice bank corpus: Design, collection and data analysis of a large regional accent speech database. In 2013 international conference oriental COCOSDA held jointly with 2013 conference on Asian spoken language research and evaluation (O-COCOSDA/CASLRE), pages 1–4. IEEE, 2013.
292
+ [48] Run Wang, Felix Juefei-Xu, Yihao Huang, Qing Guo, Xiaofei Xie, Lei Ma, and Yang Liu. Deepsonar: Towards effective and robust detection of ai-synthesized fake voices. In Proceedings of the 28th ACM International Conference on Multimedia, pages 1207–1216, 2020.
293
+ [49] Xin Wang, Shinji Takaki, and Junichi Yamagishi. Neural source-filter-based waveform model for statistical parametric speech synthesis. In ICASSP 2019-2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 5916–5920. IEEE, 2019.
294
+ [50] Mirjam Wester, Zhizheng Wu, and Junichi Yamagishi. Analysis of the voice conversion challenge 2016 evaluation results. In Interspeech, pages 1637–1641, 2016.
295
+ [51] Da-Yi Wu, Yen-Hao Chen, and Hung yi Lee. VQVC $^ +$ : One-Shot Voice Conversion by Vector Quantization and U-Net Architecture. In Proc. Interspeech 2020, pages 4691–4695, 2020. doi: 10.21437/Interspeech.2020-1443. URL http://dx.doi.org/10.21437/Interspeech. 2020-1443.
296
+ [52] Qizhe Xie, Zihang Dai, Eduard Hovy, Minh-Thang Luong, and Quoc V Le. Unsupervised data augmentation for consistency training. arXiv preprint arXiv:1904.12848, 2019.
297
+ [53] Vadim Zavalishin. The art of va filter design. Native Instruments, Berlin, Germany, 2012.
298
+ [54] Heiga Zen, Viet Dang, Rob Clark, Yu Zhang, Ron J. Weiss, Ye Jia, Zhifeng Chen, and Yonghui Wu. Libritts: A corpus derived from librispeech for text-to-speech. In Interspeech, pages 1526–1530, 2019.
299
+
300
+ # Checklist
301
+
302
+ 1. For all authors...
303
+
304
+ (a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] We described the goal and contribution of this paper and conducted experiments accordingly.
305
+ (b) Did you describe the limitations of your work? [Yes] We explained the limitation of this work in the conclusion.
306
+ (c) Did you discuss any potential negative societal impacts of your work? [Yes] We discussed the potential negative societal impacts (e.g., voice phishing) of our work in the conclusion.
307
+ (d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes] We have read the ethics review guidelines.
308
+
309
+ 2. If you are including theoretical results...
310
+
311
+ (a) Did you state the full set of assumptions of all theoretical results? [No] We do not include theoretical results.
312
+ (b) Did you include complete proofs of all theoretical results? [No] We do not include theoretical results.
313
+
314
+ 3. If you ran experiments...
315
+
316
+ (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)? [No] The code is proprietary.
317
+ (b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] See section $4 . 1$ and Appendix A.
318
+ (c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] We have included the error bars for crowdsourcing evaluation.
319
+
320
+ (d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] See section 4.1.
321
+
322
+ 4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets...
323
+
324
+ (a) If your work uses existing assets, did you cite the creators? [Yes] We cited all three datasets we used for experiments.
325
+ (b) Did you mention the license of the assets? [Yes] See section 4.1.
326
+ (c) Did you include any new assets either in the supplemental material or as a URL? [No] We did not curate/release any new assets.
327
+ (d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [Yes] We cited the paper of the datasets we are using in which they explain all the details regarding speaker recruitment.
328
+ (e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [Yes] We used speaker labels to split the datasets as described in section 4.1.
329
+
330
+ 5. If you used crowdsourcing or conducted research with human subjects...
331
+
332
+ (a) Did you include the full text of instructions given to participants and screenshots, if applicable? [Yes] We have attached the screenshots of MTurk instructions in Appendix D.
333
+ (b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [Yes] This work is approved by IRB (IRB No. 2105/004-008). We have announced that the de-identified information such as worker ID will be collected through MTurk instructions.
334
+ (c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [Yes] It is shown in Appendix D.
parse/train/Aw96fN64soV/Aw96fN64soV_content_list.json ADDED
@@ -0,0 +1,1590 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "Neural Analysis and Synthesis: Reconstructing Speech from Self-Supervised Representations ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 217,
8
+ 122,
9
+ 782,
10
+ 172
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Hyeong-Seok Choi1,4 Juheon Lee1,4 Wansoo Kim1,4 ",
17
+ "bbox": [
18
+ 300,
19
+ 224,
20
+ 694,
21
+ 241
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Jie Hwan Lee4 Hoon Heo4 Kyogu Lee1,2,3,4 ",
28
+ "bbox": [
29
+ 330,
30
+ 252,
31
+ 663,
32
+ 268
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "1MARG, Department of Intelligence and Information, Seoul National University 2GSAI 3AIIS 4Supertone Inc. ",
39
+ "bbox": [
40
+ 199,
41
+ 282,
42
+ 795,
43
+ 309
44
+ ],
45
+ "page_idx": 0
46
+ },
47
+ {
48
+ "type": "text",
49
+ "text": "{kekepa15, juheon2, wansookim, kglee}@snu.ac.kr, {wiswisbus, hoon}@supertone.ai ",
50
+ "bbox": [
51
+ 197,
52
+ 310,
53
+ 802,
54
+ 324
55
+ ],
56
+ "page_idx": 0
57
+ },
58
+ {
59
+ "type": "text",
60
+ "text": "Abstract ",
61
+ "text_level": 1,
62
+ "bbox": [
63
+ 462,
64
+ 359,
65
+ 535,
66
+ 376
67
+ ],
68
+ "page_idx": 0
69
+ },
70
+ {
71
+ "type": "text",
72
+ "text": "We present a neural analysis and synthesis (NANSY) framework that can manipulate voice, pitch, and speed of an arbitrary speech signal. Most of the previous works have focused on using information bottleneck to disentangle analysis features for controllable synthesis, which usually results in poor reconstruction quality. We address this issue by proposing a novel training strategy based on information perturbation. The idea is to perturb information in the original input signal (e.g., formant, pitch, and frequency response), thereby letting synthesis networks selectively take essential attributes to reconstruct the input signal. Because NANSY does not need any bottleneck structures, it enjoys both high reconstruction quality and controllability. Furthermore, NANSY does not require any labels associated with speech data such as text and speaker information, but rather uses a new set of analysis features, i.e., wav2vec feature and newly proposed pitch feature, Yingram, which allows for fully self-supervised training. Taking advantage of fully selfsupervised training, NANSY can be easily extended to a multilingual setting by simply training it with a multilingual dataset. The experiments show that NANSY can achieve significant improvement in performance in several applications such as zero-shot voice conversion, pitch shift, and time-scale modification 1. ",
73
+ "bbox": [
74
+ 233,
75
+ 391,
76
+ 766,
77
+ 626
78
+ ],
79
+ "page_idx": 0
80
+ },
81
+ {
82
+ "type": "text",
83
+ "text": "1 Introduction ",
84
+ "text_level": 1,
85
+ "bbox": [
86
+ 174,
87
+ 654,
88
+ 310,
89
+ 671
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "Analyzing and synthesizing an arbitrary speech signal is inarguably a significant research topic that has been studied for decades. Traditionally, this has been studied in the digital signal processing (DSP) field using fundamental methods such as sinusoidal modeling or linear predictive coding (LPC), and it is the analysis and synthesis framework that lies at the heart of those fundamental methods $[ \\sqrt { 2 6 } , \\bigstar ]$ . These traditional methods, however, are limited in terms of controllability because the decomposed representations are still low-level representations. It is obvious that the closer we decompose a signal into high-level/interpretable representations, the more we gain access to the controllability. Given this consideration, we aim to design a neural analysis and synthesis (NANSY) framework by decomposing a speech signal into analysis features that represent pronunciation, timbre, pitch, and energy. The decomposed representations can be manipulated and re-synthesized, enabling users to manipulate speech signals in various ways. ",
96
+ "bbox": [
97
+ 174,
98
+ 686,
99
+ 825,
100
+ 838
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "It is worth noting that many similar ideas have been recently proposed in the context of voice conversion applications. We categorize the previous works in two ways, i.e., 1. Text-based approach, ",
107
+ "bbox": [
108
+ 176,
109
+ 844,
110
+ 821,
111
+ 872
112
+ ],
113
+ "page_idx": 0
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "2. Information bottleneck approach. The first approach exploits the fact that the text modality is inherently disentangled from the speaker identity. One of the most popular text-based approaches is to use a pre-trained automatic speech recognition (ASR) network to extract a phonetic posteriogram (PPG) and use it as a linguistic feature [41]. Then, combining the PPG with the target speaker information, the features are re-synthesized to a speech signal. Another alternative approach is to directly use text scripts by aligning it to a paired source signal $\\mathbb { \\lVert 3 3 \\rVert }$ . Although these ideas have shown promising results, it is important to note that these approaches have common problems. First, in order to extract the PPG features, it is required to train an ASR network in a supervised manner, which demands a lot of paired text and waveform datasets. Additionally, the language dependency of the ASR network limits the model’s capability to be extended to multilingual settings or languages with low-resources. To address these concerns, efforts have been made to divert from using the text information and the most popular approach is to use an information bottleneck. The key idea is to restrict the information flow by reducing time/channel dimension, and normalizing/quantizing intermediate representations [36, 10, 51]. Although these ideas have been explored in many ways, one critical problem is that there exists an inevitable trade-off between the degree of disentanglement and the reconstruction quality. In other words, there is a trade-off between speaker similarity and the preservation of original content such as linguistic and pitch information. ",
118
+ "bbox": [
119
+ 174,
120
+ 90,
121
+ 825,
122
+ 325
123
+ ],
124
+ "page_idx": 1
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "To avoid the major concern of the text-based approach, we suggest to use two analysis features which are wav2vec and a newly proposed feature, Yingram. In order to preserve the linguistic information without any text information, we utilize wav2vec $2 . 0 \\mathbb { H }$ , trained on 53 languages in total $\\mathbb { m }$ . While the features from wav2vec 2.0 have mostly been used for a downstream task, we seek the possibility of using them for an upstream/generation task. In addition, we propose a new feature that can effectively represent and control pitch information. Although it is the fundamental frequency $( f _ { 0 } )$ that is mostly used to represent the pitch information, $f _ { 0 }$ is sometimes ill-defined when there exists sub-harmonics in the signal (e.g., vocal fry) [16, 1, 2]. We address this issue by proposing a controllable but more abstract feature than $f _ { 0 }$ that still includes information such as sub-harmonics. Because the proposed feature is heavily inspired by the famous Yin algorithm $\\mathbb { \\lVert \\lambda \\rVert }$ , we refer to this feature as Yingram. ",
129
+ "bbox": [
130
+ 174,
131
+ 332,
132
+ 825,
133
+ 470
134
+ ],
135
+ "page_idx": 1
136
+ },
137
+ {
138
+ "type": "text",
139
+ "text": "Although the analysis features above have enough information to reconstruct the original speech signal, we have found that the information in the proposed analysis features share common information such as pitch and timbre. To disentangle the common information so each feature can control a specific attribute for its desired purpose (e.g., wav2vec linguistic information only, Yingram pitch information only), we propose an information perturbation approach, a simple yet effective solution to this problem. The idea is to simply perturb all the information we do not want to control from the input features, thereby training the neural network to not extract the undesirable attributes from the features. Through this way, the model no longer suffers from the unavoidable trade-off between reconstruction quality and feature disentanglement, unlike the information bottleneck approach. ",
140
+ "bbox": [
141
+ 174,
142
+ 477,
143
+ 825,
144
+ 602
145
+ ],
146
+ "page_idx": 1
147
+ },
148
+ {
149
+ "type": "text",
150
+ "text": "Lastly, we would like to deal with unseen languages at test time. To this end, we propose a new test-time self-adaptation (TSA) strategy. The proposed self-adaptation strategy does not fine-tune the model parameters but only the input linguistic feature, which consequently modifies the mispronounced parts of the reconstructed sample. Because the proposed TSA requires only a single sample at test-time, it adds a large flexibility for the model to be used in many scenarios (e.g., low-resource language). ",
151
+ "bbox": [
152
+ 174,
153
+ 608,
154
+ 825,
155
+ 691
156
+ ],
157
+ "page_idx": 1
158
+ },
159
+ {
160
+ "type": "text",
161
+ "text": "The contributions of this paper are as follows: ",
162
+ "bbox": [
163
+ 176,
164
+ 696,
165
+ 473,
166
+ 712
167
+ ],
168
+ "page_idx": 1
169
+ },
170
+ {
171
+ "type": "text",
172
+ "text": "• We propose a neural analysis and synthesis (NANSY) framework that can be trained in a fully self-supervised manner (no text, no speaker information needed). The proposed method is based on a new set of analysis features and information perturbation. \n• The proposed model can be used for various applications, including zero-shot voice conversion, formant preserving pitch shift, and time-scale modification. \n• We propose a new test-time self-adaptation (TSA) technique than can be used even on unseen languages using only a single test-time speech sample. ",
173
+ "bbox": [
174
+ 217,
175
+ 723,
176
+ 825,
177
+ 832
178
+ ],
179
+ "page_idx": 1
180
+ },
181
+ {
182
+ "type": "image",
183
+ "img_path": "images/df31aea3e54082daf0a7a221cea97a36043eb99b754577ea6cef9306de10aa7a.jpg",
184
+ "image_caption": [
185
+ "Figure 1: The overview of the training procedure and information flow of the proposed neural analysis and synthesis (NANSY) framework. The waveform is first perturbed using functions $f$ and $g$ . $f$ perturbs formant, pitch, and frequency response. $g$ perturbs formant and frequency response while preserving pitch. w2v denotes wav2vec encoder and spk denotes a speaker embedding network. L, P, S, E denotes Linguistic, Pitch, Speaker, and Energy information, respectively. The tilde symbol is attached when the information is perturbed using the perturbation functions. The dashed boxes denote the modules that are being trained. "
186
+ ],
187
+ "image_footnote": [],
188
+ "bbox": [
189
+ 210,
190
+ 131,
191
+ 789,
192
+ 272
193
+ ],
194
+ "page_idx": 2
195
+ },
196
+ {
197
+ "type": "text",
198
+ "text": "2.1 Analysis Features ",
199
+ "text_level": 1,
200
+ "bbox": [
201
+ 174,
202
+ 405,
203
+ 334,
204
+ 420
205
+ ],
206
+ "page_idx": 2
207
+ },
208
+ {
209
+ "type": "text",
210
+ "text": "Linguistic To reconstruct an intelligible speech signal, it is crucial to extract rich linguistic information from the speech signal. To this end, we resort to XLSR-53: a wav2vec 2.0 model pre-trained on $5 6 \\mathrm { k }$ hours of speech in 53 languages [11]. The extracted features from XLSR-53 have shown superior performance on downstream tasks such as ASR, especially on low-resource languages. We conjecture, therefore, that the extracted features from this model can provide language-agnostic linguistic information. Now the question is, from which layer should the features be extracted? Recently, it has been reported that the representation from different layers of wav2vec 2.0 exhibit different characteristics. Especially, Shah et al. $\\mathbb { \\lVert 3 9 \\rVert }$ showed that it is the output from the middle layer that has the most relevant characteristics to pronunciation2. In light of this empirical observation, we decided to use the intermediate features of XLSR-53. More specifically, we used the output from the 12th layer of the 24-layer transformer encoder. ",
211
+ "bbox": [
212
+ 173,
213
+ 430,
214
+ 825,
215
+ 582
216
+ ],
217
+ "page_idx": 2
218
+ },
219
+ {
220
+ "type": "text",
221
+ "text": "Speaker Perhaps the most common approach to extract speaker embeddings is to first train a speaker recognition network in a supervised manner and then reuse the network for the generation task, assuming that the speaker embedding from the trained network can represent the characteristics of unseen speakers [21, 36]. Here we would like to take one step further and assume that we do not have speaker labels to train a speaker recognition network in a supervised manner. To mitigate this disadvantage, we again use the representation from XLSR-53, which makes the proposed method fully self-supervised. To determine which layer of XLSR-53 to extract the representation from, we first analyzed the features from each layer. Specifically, we averaged the representation of each layer along the time-axis and visualized utterances of 20 randomly selected speakers from the VCTK dataset using TSNE [47, 46]. In Fig. $\\bigstar$ we can observe that the representation from the 1st layer of XLSR-53 already forms clusters for each speaker, while the latter layers (especially the last layer) tend to lack them. Note that this is in accordance with the previous observation in $\\dot { \\mathbb { I B } }$ . Taking this into consideration, we train a speaker embedding network that uses the 1st layer of XLSR-53 as an input. For the speaker embedding network, we borrow the neural architecture from a state-of-the-art speaker recognition network $\\pmb { \\mathbb { I } } \\pmb { \\ 4 } \\|$ , which is based on 1D-convolutional neural networks (1D-CNN) with an attentive statistics pooling layer. The speaker embedding was $L _ { 2 }$ -normalized before conditioning. The speaker embeddings of seen and unseen speakers during training are also shown in Fig. 2. ",
222
+ "bbox": [
223
+ 173,
224
+ 597,
225
+ 825,
226
+ 832
227
+ ],
228
+ "page_idx": 2
229
+ },
230
+ {
231
+ "type": "text",
232
+ "text": "Pitch Due to the irregular periodicity of the glottal pulse, we often hear creaky voice in speech, which is usually manifested as jitter or sub-harmonics in signals. This makes hard for $f _ { 0 }$ trackers to estimate $f _ { 0 }$ because the $f _ { 0 }$ itself is not well defined in such cases [16, 1, 2]. We take a hint from the popular Yin algorithm to address this issue. The Yin algorithm uses the cumulative mean normalized difference function $d _ { t } ^ { \\prime } ( \\tau )$ to extract frame-wise features from a raw waveform, which is defined as follows, ",
233
+ "bbox": [
234
+ 176,
235
+ 845,
236
+ 825,
237
+ 888
238
+ ],
239
+ "page_idx": 2
240
+ },
241
+ {
242
+ "type": "image",
243
+ "img_path": "images/7ea07596546947f4e230d1d518e51138b57a0f4403db7be53b5ad549ebf49ca9.jpg",
244
+ "image_caption": [
245
+ "Figure 2: The visualization of intermediate representations of XLSR-53 using TSNE. "
246
+ ],
247
+ "image_footnote": [],
248
+ "bbox": [
249
+ 192,
250
+ 79,
251
+ 816,
252
+ 179
253
+ ],
254
+ "page_idx": 3
255
+ },
256
+ {
257
+ "type": "text",
258
+ "text": "",
259
+ "bbox": [
260
+ 173,
261
+ 236,
262
+ 825,
263
+ 279
264
+ ],
265
+ "page_idx": 3
266
+ },
267
+ {
268
+ "type": "equation",
269
+ "img_path": "images/d620de40baf2fd1ff1bc1bf7bc79934fe7f34073169fe89b3ea4e0662e177a30.jpg",
270
+ "text": "$$\nd _ { t } ^ { \\prime } ( \\tau ) = \\left\\{ \\begin{array} { l l } { 1 , } & { \\mathrm { i f } \\ \\tau = 0 } \\\\ { d _ { t } ( \\tau ) / \\sum _ { j = 1 } ^ { \\tau } d _ { t } ( j ) , } & { \\mathrm { o t h e r w i s e . } } \\end{array} \\right.\n$$",
271
+ "text_format": "latex",
272
+ "bbox": [
273
+ 352,
274
+ 281,
275
+ 642,
276
+ 324
277
+ ],
278
+ "page_idx": 3
279
+ },
280
+ {
281
+ "type": "text",
282
+ "text": "The $d _ { t } ( \\tau )$ is a difference function that outputs a small value when there exists a periodicity on time-lag $\\tau$ and it is defined as follows, ",
283
+ "bbox": [
284
+ 174,
285
+ 332,
286
+ 823,
287
+ 362
288
+ ],
289
+ "page_idx": 3
290
+ },
291
+ {
292
+ "type": "equation",
293
+ "img_path": "images/1ce01bd02b794370b95fedfa1d27fd63a5a52cf63101a1ddbfc374941b08fc3f.jpg",
294
+ "text": "$$\nd _ { t } ( \\tau ) = \\sum _ { j = 1 } ^ { W } \\left( x _ { j } - x _ { j + \\tau } \\right) ^ { 2 } = r _ { t } ( 0 ) + r _ { t + \\tau } ( 0 ) - 2 r _ { t } ( \\tau ) ,\n$$",
295
+ "text_format": "latex",
296
+ "bbox": [
297
+ 312,
298
+ 371,
299
+ 684,
300
+ 417
301
+ ],
302
+ "page_idx": 3
303
+ },
304
+ {
305
+ "type": "text",
306
+ "text": "where $t , \\tau , W$ , and $r _ { t }$ denote frame index, time lag, window size, and the auto-correlation function, respectively. After some post processing steps, the Yin algorithm selects $f _ { 0 }$ from multiple $f _ { 0 }$ candidates. See $\\mathbb { \\lVert \\lambda \\rVert }$ for more details. Rather than explicitly selecting $f _ { 0 }$ , we would like to train the network to generate pitch harmonics from the output of the function $d _ { t } ^ { \\prime } ( \\tau )$ . However, $d _ { t } ^ { \\prime } ( \\tau )$ itself is limited to be used as a pitch feature because it lacks controllability, unlike $f _ { 0 }$ . Therefore, we propose Yingram $Y$ by converting the time-lag axis to the midi-scale axis as follows, ",
307
+ "bbox": [
308
+ 174,
309
+ 426,
310
+ 825,
311
+ 511
312
+ ],
313
+ "page_idx": 3
314
+ },
315
+ {
316
+ "type": "equation",
317
+ "img_path": "images/425ae697925d6d6445e649fbb7ec514d0abb5ca661691b14f32b24d981be2f0c.jpg",
318
+ "text": "$$\nY _ { t } ( m ) = \\frac { d _ { t } ^ { \\prime } ( \\lceil c ( m ) \\rceil ) - d _ { t } ^ { \\prime } ( \\lfloor c ( m ) \\rfloor ) } { \\lceil c ( m ) \\rceil - \\lfloor c ( m ) \\rfloor } \\cdot ( c ( m ) - \\lfloor c ( m ) \\rfloor ) + d _ { t } ^ { \\prime } ( \\lfloor c ( m ) \\rfloor ) ,\n$$",
319
+ "text_format": "latex",
320
+ "bbox": [
321
+ 264,
322
+ 520,
323
+ 732,
324
+ 558
325
+ ],
326
+ "page_idx": 3
327
+ },
328
+ {
329
+ "type": "equation",
330
+ "img_path": "images/3f47929d32ba73b1d134e5841565c85b34563b65ffd032dfe74379fd1830ac08.jpg",
331
+ "text": "$$\nc ( m ) = \\frac { s r } { 4 4 0 \\cdot 2 ^ { ( \\frac { m - 6 9 } { 1 2 } ) } } ,\n$$",
332
+ "text_format": "latex",
333
+ "bbox": [
334
+ 419,
335
+ 580,
336
+ 576,
337
+ 612
338
+ ],
339
+ "page_idx": 3
340
+ },
341
+ {
342
+ "type": "text",
343
+ "text": "where $m$ , $c ( m )$ , and $s r$ denote midi note, midi-to-lag conversion function, and sampling rate, respectively. We set 20 bins of Yingram to represent a semitone range. In addition, we set Yingram to represent the frequency between $1 0 . 7 7 \\mathrm { h z }$ and $1 0 0 0 . 4 0 \\mathrm { h z }$ by setting $W$ to 2048 and the range of $\\tau$ between 22 and 2047. In the training stage, the input to the synthesis network is the frequency range between $2 5 . 1 1 \\mathrm { h z }$ and $4 3 0 . 1 9 \\mathrm { h z }$ , which is shown as scope in Fig. $\\textcircled { 3 }$ After the training is finished, we can change the pitch by shifting the scope. That is, in the inference stage, one could simply change the pitch of the speech signal by shifting the scope. For example, if we move the scope down 20 bins, the pitch can be raised by a semitone. ",
344
+ "bbox": [
345
+ 173,
346
+ 619,
347
+ 826,
348
+ 731
349
+ ],
350
+ "page_idx": 3
351
+ },
352
+ {
353
+ "type": "image",
354
+ "img_path": "images/2dc9bfcfd416ccc2c8e65c9a4b700caf125a911da552a301b7255af070136526.jpg",
355
+ "image_caption": [
356
+ "Figure 3: The visualization of Yingram and the corresponding mel spectrogram. "
357
+ ],
358
+ "image_footnote": [],
359
+ "bbox": [
360
+ 204,
361
+ 742,
362
+ 795,
363
+ 825
364
+ ],
365
+ "page_idx": 3
366
+ },
367
+ {
368
+ "type": "text",
369
+ "text": "Energy For the energy feature, we simply took an average from a log-mel spectrogram along the frequency axis. ",
370
+ "bbox": [
371
+ 174,
372
+ 882,
373
+ 823,
374
+ 911
375
+ ],
376
+ "page_idx": 3
377
+ },
378
+ {
379
+ "type": "text",
380
+ "text": "2.2 Synthesis Network ",
381
+ "text_level": 1,
382
+ "bbox": [
383
+ 174,
384
+ 92,
385
+ 341,
386
+ 106
387
+ ],
388
+ "page_idx": 4
389
+ },
390
+ {
391
+ "type": "image",
392
+ "img_path": "images/8e73c09f29547f84328621c584d5700bf5b642b371093c7d55519169b8e892ff.jpg",
393
+ "image_caption": [
394
+ "Figure 4: The outputs of $\\mathcal { G } _ { S }$ and $\\mathcal { G } _ { F }$ . The two outputs from each generator are summed to reconstruct a mel spectrogram. "
395
+ ],
396
+ "image_footnote": [],
397
+ "bbox": [
398
+ 202,
399
+ 117,
400
+ 795,
401
+ 200
402
+ ],
403
+ "page_idx": 4
404
+ },
405
+ {
406
+ "type": "text",
407
+ "text": "It is well-known that speech production can be explained by source-filter theory. Inspired by this, we separate synthesis networks into two parts, source generator $\\mathcal { G } _ { S }$ and filter generator $\\mathcal { G } _ { F }$ . While the energy and speaker features are common inputs for both generators, $\\mathcal { G } _ { S }$ and $\\mathcal { G } _ { F }$ differ in that they take Yingram and wav2vec features, respectively. Because the acoustic feature can be interpreted as a sum of source and filter in the log magnitude domain, we incorporate inductive bias in the model by summing the outputs from each generator similarly to $[ [ 2 5 ] ]$ . As will be discussed in more detail in the next section, even though the training loss is only defined using mel spectrograms, the network learns to separately generate the spectral envelope and pitch harmonics as shown in Fig. $4 .$ Note that this separation not only provides the interpretability to the model but also enables formant preserving pitch shifting. To summarize, the acoustic feature, mel spectrogram $\\hat { M }$ , is generated as follows, ",
408
+ "bbox": [
409
+ 173,
410
+ 250,
411
+ 825,
412
+ 391
413
+ ],
414
+ "page_idx": 4
415
+ },
416
+ {
417
+ "type": "equation",
418
+ "img_path": "images/baffdda6183a3fd5ca0967fca3939a5da01a44c8fba0bfe4700748862ad662c3.jpg",
419
+ "text": "$$\n\\hat { M } = \\mathcal { G } _ { S } ( \\mathrm { Y i n g r a m } , S , E ) + \\mathcal { G } _ { F } ( \\mathrm { w a v } 2 \\mathrm { v e c } , S , E ) ,\n$$",
420
+ "text_format": "latex",
421
+ "bbox": [
422
+ 338,
423
+ 397,
424
+ 658,
425
+ 417
426
+ ],
427
+ "page_idx": 4
428
+ },
429
+ {
430
+ "type": "text",
431
+ "text": "where $S$ and $E$ denote speaker embedding and energy features. We used stacks of 1D-CNN layers with gated linear units (GLU) $\\pmb { \\mathbb { I } }$ for generators. The detailed neural architecture of the generator is described in Appendix $\\mathbf { B } .$ Note that each generator shares the same neural architecture. The only difference is the input features to the networks. Finally, the generated mel spectrogram is converted to waveform using the pre-trained HiFi-GAN vocoder $\\pmb { \\Vert 2 4 \\Vert }$ . ",
432
+ "bbox": [
433
+ 173,
434
+ 425,
435
+ 825,
436
+ 494
437
+ ],
438
+ "page_idx": 4
439
+ },
440
+ {
441
+ "type": "text",
442
+ "text": "3 Training ",
443
+ "text_level": 1,
444
+ "bbox": [
445
+ 174,
446
+ 507,
447
+ 279,
448
+ 525
449
+ ],
450
+ "page_idx": 4
451
+ },
452
+ {
453
+ "type": "text",
454
+ "text": "3.1 Information Perturbation ",
455
+ "text_level": 1,
456
+ "bbox": [
457
+ 174,
458
+ 530,
459
+ 392,
460
+ 544
461
+ ],
462
+ "page_idx": 4
463
+ },
464
+ {
465
+ "type": "text",
466
+ "text": "In our initial experiments, a neural network can be easily trained to reconstruct mel spectrograms using only the wav2vec feature. This implies that the wav2vec feature contains not only rich linguistic information but also information related to pitch and speaker. For that reason, we would like to train $\\mathcal { G } _ { F }$ to selectively extract only the linguistic-related information from the wav2vec feature, not pitch and speaker information. In addition, we would like to train $\\mathcal { G } _ { S }$ to selectively extract only the pitch-related information from the Yingram feature, not speaker information. To this end, we propose to perturb the information included in input waveform $x$ by using three functions that are 1. formant shifting $( f s )$ , 2. pitch randomization $( p r )$ , and 3. random frequency shaping using a parametric equalizer $( p e q ) \\ L ^ { | 3 | }$ We applied a function $f$ on the wav2vec input, which is a chain of all three functions as follows, $\\bar { f ( x ) } = \\bar { f s ( p r ( p e q ( x ) ) ) }$ . On the Yingram side, we applied function $g$ , which is a chain of two functions $f s$ and peq so that $f _ { 0 }$ information is still preserved as follows, $g ( x ) = f s ( p e q ( x ) )$ . This way, we expect $\\mathcal { G } _ { F }$ to take only the linguistic-related information from the wav2vec feature, and $\\mathcal { G } _ { S }$ to take only pitch-related from the Yingram feature. Since the wav2vec and Yingram features can no longer provide the speaker-related information, the control of speaker information becomes uniquely dependent on the speaker embedding. The overview of the information flow is shown in Fig. ",
467
+ "bbox": [
468
+ 173,
469
+ 547,
470
+ 825,
471
+ 753
472
+ ],
473
+ "page_idx": 4
474
+ },
475
+ {
476
+ "type": "text",
477
+ "text": "1. The hyperparameters of the perturbation functions are described more in Appendix A. ",
478
+ "bbox": [
479
+ 178,
480
+ 755,
481
+ 748,
482
+ 768
483
+ ],
484
+ "page_idx": 4
485
+ },
486
+ {
487
+ "type": "text",
488
+ "text": "3.2 Training Loss ",
489
+ "text_level": 1,
490
+ "bbox": [
491
+ 173,
492
+ 779,
493
+ 310,
494
+ 795
495
+ ],
496
+ "page_idx": 4
497
+ },
498
+ {
499
+ "type": "text",
500
+ "text": "We used L1 loss between the generated mel spectrogram $\\hat { M }$ and ground truth mel spectrogram $M$ to train the generators and speaker embedding network. However, it is well-known that the speech synthesis networks trained with L1 or L2 loss suffer from over-smootheness of the generated acoustic feature, which results in poor quality of the speech signal. Therefore, in addition to the L1 loss, we used the recent speaker conditional generative adversarial training method to mitigate this issue [8]. Writing the discriminator as $\\bar { \\cal D } ( { \\cal M } , { \\pmb { c } } _ { + } , { \\pmb { c } } _ { - } ) : = \\sigma ( h ( { \\cal M } , { \\pmb { c } } _ { + } , { \\pmb { c } } _ { - } ) )$ , Choi et al. $\\checkmark$ proposed to use projection conditioning $\\mathbb { \\left[ \\left[ 2 \\right] \\right] }$ not only with the positive pairs but also with the negative pairs as follows, ",
501
+ "bbox": [
502
+ 174,
503
+ 800,
504
+ 825,
505
+ 886
506
+ ],
507
+ "page_idx": 4
508
+ },
509
+ {
510
+ "type": "text",
511
+ "text": "",
512
+ "bbox": [
513
+ 173,
514
+ 90,
515
+ 823,
516
+ 119
517
+ ],
518
+ "page_idx": 5
519
+ },
520
+ {
521
+ "type": "equation",
522
+ "img_path": "images/b194bff851e39fdd44dc91fd6d19ffb23841385fd610c45e029ea9f027b73d9c.jpg",
523
+ "text": "$$\nh ( M , \\pmb { c } _ { + } , \\pmb { c } _ { - } ) = \\psi ( \\phi ( M ) ) + \\pmb { c } _ { + } ^ { T } \\phi ( M ) - \\pmb { c } _ { - } ^ { T } \\phi ( M ) ,\n$$",
524
+ "text_format": "latex",
525
+ "bbox": [
526
+ 326,
527
+ 121,
528
+ 669,
529
+ 140
530
+ ],
531
+ "page_idx": 5
532
+ },
533
+ {
534
+ "type": "text",
535
+ "text": "where $M$ denotes a mel spectrogram, $\\sigma ( \\cdot )$ denotes a sigmoid function, $c _ { + }$ denotes a speaker embedding from a positively paired input speech sample, and $c _ { - }$ denotes a speaker embedding from a randomly sampled speech utterance. $\\phi ( \\cdot )$ denotes an output from the intermediate layer of discriminator and $\\psi ( \\cdot )$ denotes a function that maps input vector to a scalar value. The detailed neural architecture of $\\mathcal { D }$ is shown in Appendix B. The loss functions for discriminator $L _ { \\mathcal { D } }$ and generator $L _ { \\mathcal { G } }$ are as follows: ",
536
+ "bbox": [
537
+ 173,
538
+ 146,
539
+ 826,
540
+ 231
541
+ ],
542
+ "page_idx": 5
543
+ },
544
+ {
545
+ "type": "equation",
546
+ "img_path": "images/e02f68cdc9e8347bf452e60dfc698538c88c2d65dbb646c67ff73495c84f2b4f.jpg",
547
+ "text": "$$\n\\begin{array} { r l } & { L _ { \\mathcal { D } } = - \\mathbb { E } _ { ( M , c _ { + } , c _ { - } ) \\sim p _ { d a t a } , \\hat { M } \\sim p _ { g e n } } [ l o g ( \\sigma ( h ( M , c _ { + } , \\pmb { c } _ { - } ) ) ) - l o g ( \\sigma ( h ( \\hat { M } , \\pmb { c } _ { + } , \\pmb { c } _ { - } ) ) ) ] , } \\\\ & { L _ { \\mathcal { G } } = - \\mathbb { E } _ { ( M , c _ { + } , c _ { - } ) \\sim p _ { d a t a } , \\hat { M } \\sim p _ { g e n } } [ l o g ( \\sigma ( h ( \\hat { M } , \\pmb { c } _ { + } , \\pmb { c } _ { - } ) ) ) ] + | M - \\hat { M } | . } \\end{array}\n$$",
548
+ "text_format": "latex",
549
+ "bbox": [
550
+ 217,
551
+ 236,
552
+ 779,
553
+ 285
554
+ ],
555
+ "page_idx": 5
556
+ },
557
+ {
558
+ "type": "text",
559
+ "text": "3.3 Test-time Self-Adaptation ",
560
+ "text_level": 1,
561
+ "bbox": [
562
+ 174,
563
+ 301,
564
+ 392,
565
+ 315
566
+ ],
567
+ "page_idx": 5
568
+ },
569
+ {
570
+ "type": "text",
571
+ "text": "Although the synthesis network can reconstruct an intelligible speech from the wav2vec feature in most cases, we observed that the network sometimes outputs speech signals with wrong pronunciation, especially when tested on unseen languages. To alleviate this problem, we propose to modify only the input representation, that is, the wav2vec feature, without having to train the whole network again from scratch. As shown in Fig. $\\textcircled { 5 }$ we first compute L1 loss between the generated mel spectrogram $\\hat { M }$ and ground truth mel spectrogram $M$ in the test-time. Then, we ",
572
+ "bbox": [
573
+ 174,
574
+ 328,
575
+ 485,
576
+ 496
577
+ ],
578
+ "page_idx": 5
579
+ },
580
+ {
581
+ "type": "image",
582
+ "img_path": "images/c9b15cf4c0966b89bd0470d4e0592c780e88896a94b5d3e49b8fdd9cd169706c.jpg",
583
+ "image_caption": [
584
+ "Figure 5: The illustration of TSA. "
585
+ ],
586
+ "image_footnote": [],
587
+ "bbox": [
588
+ 504,
589
+ 319,
590
+ 826,
591
+ 459
592
+ ],
593
+ "page_idx": 5
594
+ },
595
+ {
596
+ "type": "text",
597
+ "text": "update only the parameterized wav2vec feature using the backpropagation signal from the loss. Note that the loss gradient (shown in red) is backpropagated only through the filter generator. Because this test-time training scheme requires only a single test-time sample and updates the input parameters by targeting the test-time sample itself, we call it test-time self-adaptation (TSA). ",
598
+ "bbox": [
599
+ 174,
600
+ 496,
601
+ 825,
602
+ 551
603
+ ],
604
+ "page_idx": 5
605
+ },
606
+ {
607
+ "type": "text",
608
+ "text": "4 Experiments ",
609
+ "text_level": 1,
610
+ "bbox": [
611
+ 174,
612
+ 565,
613
+ 312,
614
+ 582
615
+ ],
616
+ "page_idx": 5
617
+ },
618
+ {
619
+ "type": "text",
620
+ "text": "4.1 Implementation Details ",
621
+ "text_level": 1,
622
+ "bbox": [
623
+ 176,
624
+ 590,
625
+ 377,
626
+ 604
627
+ ],
628
+ "page_idx": 5
629
+ },
630
+ {
631
+ "type": "text",
632
+ "text": "Dataset To train NANSY on English, we used two datasets, i.e., 1. VCTK4 [47], 2. train-clean-360 subset of LibriTTS3 [54]. We trained the model using $90 \\%$ of samples for each speaker. The speakers of train-clean-360 were included to the training set only when the total length of speech samples exceeds 15 minutes. To test on English speech samples we used two datasets; 1. For the seen speaker test we used $10 \\%$ unseen utterances of VCTK. 2. For the unseen speaker test we used test-clean subset of LibriTTS. ",
633
+ "bbox": [
634
+ 173,
635
+ 607,
636
+ 825,
637
+ 690
638
+ ],
639
+ "page_idx": 5
640
+ },
641
+ {
642
+ "type": "text",
643
+ "text": "To train NANSY on multi-language, we used $\\mathrm { C S S 1 0 ^ { 3 } }$ dataset $\\lVert \\overline { { 3 2 } } \\rVert$ . CSS10 includes 10 speakers and each speaker use different language. Note that there is no English speaking speaker included in CSS10. To train the model, we used $90 \\%$ of samples for each speaker. To test on multilingual speech samples, we used the rest $10 \\%$ unseen utterances of CSS10. ",
644
+ "bbox": [
645
+ 174,
646
+ 696,
647
+ 825,
648
+ 752
649
+ ],
650
+ "page_idx": 5
651
+ },
652
+ {
653
+ "type": "text",
654
+ "text": "Training We used $2 2 , 0 5 0 \\mathrm { h z }$ sampling rate for every analysis feature except for wav2vec input that takes waveform with the sampling rate of $1 6 { , } 0 0 0 \\mathrm { h z }$ . We used 80 bands for mel spectrogram, where FFT, window, and hop size were set to 1024, 1024, and 256, respectively. The samples were randomly cropped approximately to 1.47-second, which results in 128 mel spectrogram frames. The networks were trained using Adam optimizer with $\\beta _ { 1 } = 0 . 5$ and $\\beta _ { 2 } = 0 . 9$ . The learning rate was fixed to $1 0 ^ { - 4 }$ . We trained every model using one RTX 3090 with batch size 32. The training was done after 50 epochs. ",
655
+ "bbox": [
656
+ 173,
657
+ 771,
658
+ 825,
659
+ 868
660
+ ],
661
+ "page_idx": 5
662
+ },
663
+ {
664
+ "type": "text",
665
+ "text": "4.2 Reconstruction ",
666
+ "text_level": 1,
667
+ "bbox": [
668
+ 174,
669
+ 92,
670
+ 318,
671
+ 106
672
+ ],
673
+ "page_idx": 6
674
+ },
675
+ {
676
+ "type": "text",
677
+ "text": "For the reconstruction (analysis and synthesis) tests, we report character error rate (CER $( \\% )$ ), and 5-scale mean opinon score (MOS ([1-5])), 5-scale degradation mean opinion score (DMOS ([1-5])). For MOS, higher is better. For DMOS and CER, lower is better. To estimate the characters from speech samples, we used google cloud ASR API. For MOS and DMOS, we used amazon mechanical turk (MTurk). The details of MOS and DMOS are shown in Appendix D. ",
678
+ "bbox": [
679
+ 174,
680
+ 116,
681
+ 825,
682
+ 186
683
+ ],
684
+ "page_idx": 6
685
+ },
686
+ {
687
+ "type": "text",
688
+ "text": "Yingram vs $f _ { 0 }$ We compared two models trained with Yingram and $f _ { 0 }$ to check which pitch feature shows more robust reconstruction performance. We used RAPT algorithm for $f _ { 0 }$ estimation $\\lVert \\overline { { 4 2 } } \\rVert$ which is known as a reliable $f _ { 0 }$ tracker among many other algorithms $\\overline { { \\| 2 2 } }$ . Because RAPT algorithm works sufficiently well in most cases, we first manually listened to the reconstructed samples using the model trained with $f _ { 0 }$ . We first chose 30 reconstructed samples in the testset that failed to faithfully reconstruct the original samples using the model trained with $f _ { 0 }$ . After that we reconstructed the same 30 samples using the model trained with Yingram. Finally, we conducted ABX test to ask participants which of the two samples (A and B) sounds closer to the original sample (X). The ABX test was conducted on MTurk. The results showed that the participants chose Yingram with a chance of $6 8 . 3 \\%$ . This shows that Yingram can be used as a more robust pitch feature than $f _ { 0 }$ , when $f _ { 0 }$ cannot be accurately estimated. ",
689
+ "bbox": [
690
+ 173,
691
+ 194,
692
+ 825,
693
+ 347
694
+ ],
695
+ "page_idx": 6
696
+ },
697
+ {
698
+ "type": "text",
699
+ "text": "Reconstruction test We randomly sampled 50 speech samples from VCTK (seen speaker) and sampled another 50 speech samples from test-clean subset of LibriTTS (unseen speaker) to test the reconstruction performance of NANSY trained on English datasets. The results in Table $\\bigstar$ shows that NANSY can perform high quality analysis and synthesis task. In addition, to test if the proposed framework can cover various languages, we trained and tested it with the multilingual dataset, CSS10. We randomly sampled 100 speech samples from CSS10 to test the reconstruction performance of NANSY trained on multi-language. The results are shown in Table $\\boxed { 2 }$ Although we do not impose any explicit labels for each language, the model was able to reconstruct various languages with high quality. The results of CER on each language is shown in Fig. $\\bigtriangledown$ MUL. ",
700
+ "bbox": [
701
+ 173,
702
+ 353,
703
+ 826,
704
+ 481
705
+ ],
706
+ "page_idx": 6
707
+ },
708
+ {
709
+ "type": "table",
710
+ "img_path": "images/588525922963d00f9d901594fac2484d2d161b5afcbf99e49ee5dd8097f260c8.jpg",
711
+ "table_caption": [
712
+ "Table 1: English reconstruction results. "
713
+ ],
714
+ "table_footnote": [],
715
+ "table_body": "<table><tr><td></td><td>CER</td><td>MOS</td><td>DMOS</td></tr><tr><td>GT</td><td>n/a</td><td>4.28 ± 0.09</td><td>n/a</td></tr><tr><td>Recon</td><td>5.6</td><td>4.18 ± 0.09</td><td>1.93 ± 0.09</td></tr></table>",
716
+ "bbox": [
717
+ 192,
718
+ 491,
719
+ 482,
720
+ 546
721
+ ],
722
+ "page_idx": 6
723
+ },
724
+ {
725
+ "type": "table",
726
+ "img_path": "images/df7ad959716e840a1e4123c79a94ce91d8c2861021cfd6e9a71e513868a19b29.jpg",
727
+ "table_caption": [
728
+ "Table 2: Multilingual reconstruction results. "
729
+ ],
730
+ "table_footnote": [],
731
+ "table_body": "<table><tr><td></td><td>CER</td><td>MOS</td><td>DMOS</td></tr><tr><td>GT</td><td>n/a</td><td>4.19 ± 0.08</td><td>n/a</td></tr><tr><td>Recon</td><td>7.3</td><td>4.14 ± 0.09</td><td>1.74 ± 0.09</td></tr></table>",
732
+ "bbox": [
733
+ 517,
734
+ 491,
735
+ 808,
736
+ 546
737
+ ],
738
+ "page_idx": 6
739
+ },
740
+ {
741
+ "type": "text",
742
+ "text": "Test-time self-adaptation To test the proposed test-time self-adaptation (TSA), we compared the CER performance of NANSY trained in three different configurations, 1. English (ENG), 2. English with TSA (ENG-TSA), 3. Multi-language (MUL). For every experiment, we iteratively updated the wav2vec feature 100 times. The results are shown in Fig. $\\triangledown$ Naturally, MUL generally showed better CER performance than other configurations. Interestingly, however, ENG-TSA sometimes showed similar or even better performance than MUL, which shows the effectiveness of the proposed TSA technique. ",
743
+ "bbox": [
744
+ 173,
745
+ 577,
746
+ 825,
747
+ 674
748
+ ],
749
+ "page_idx": 6
750
+ },
751
+ {
752
+ "type": "image",
753
+ "img_path": "images/6ab7510e2e4e43c70e414019e189f09a7485295bdba01aca11345f4b7fde516e.jpg",
754
+ "image_caption": [
755
+ "Figure 6: The CER results on 10 languages (NL: Dutch, HU: Hungarian, FR: French, JP: Japanese, CH: Chinese, RU: Russian, FI: Finnish, GR: Greek, ES: Spanish, DE: German). "
756
+ ],
757
+ "image_footnote": [],
758
+ "bbox": [
759
+ 176,
760
+ 679,
761
+ 825,
762
+ 753
763
+ ],
764
+ "page_idx": 6
765
+ },
766
+ {
767
+ "type": "text",
768
+ "text": "4.3 Voice conversion ",
769
+ "text_level": 1,
770
+ "bbox": [
771
+ 174,
772
+ 815,
773
+ 328,
774
+ 830
775
+ ],
776
+ "page_idx": 6
777
+ },
778
+ {
779
+ "type": "text",
780
+ "text": "NANSY can perform zero-shot voice conversion by simply passing the desired target speech utterance to the speaker embedding network. We first compared the English voice conversion performance of NANSY with recently proposed zero-shot voice conversion models. Next, we tested the multilingual voice conversion performance. Finally, we tested unseen language voice conversion for both seen speaker and unseen speaker targets. Note that in every voice conversion experiment, we shifted the median pitch of a source utterance to the median pitch of a target utterance by shifting the scope of Yingram. We measured naturalness with 5-scale mean opinion score (MOS [1-5]). Speaker similarity (SSIM $( \\% )$ ) were measured with a binary decision and uncertainty options, following $\\pmb { \\Vert 5 0 \\Vert }$ . For MOS and SSIM, we again used MTurk. The details of MOS and SSIM are shown in Appendix D. One of the crucial criteria for evaluating the quality of the converted samples is to check the intelligibility of them. Previous zero-shot voice conversion models, however, have only reported MOS or SSIM and have been negligent on assessing the intelligibility of the converted samples [36, 10, 51]. To this end, we report character error rate (CER $( \\% ) _ { , }$ ) between estimated characters of source and converted pairs. To estimate the characters from speech samples, we used google cloud ASR API. ",
781
+ "bbox": [
782
+ 174,
783
+ 842,
784
+ 825,
785
+ 911
786
+ ],
787
+ "page_idx": 6
788
+ },
789
+ {
790
+ "type": "text",
791
+ "text": "",
792
+ "bbox": [
793
+ 173,
794
+ 90,
795
+ 826,
796
+ 215
797
+ ],
798
+ "page_idx": 7
799
+ },
800
+ {
801
+ "type": "text",
802
+ "text": "Algorithm comparison Here, we report three source-to-target speaker conversion settings, 1. seen-to-seen (many-to-many, M2M), 2. unseen-to-seen (any-to-many, A2M), 3. unseen-to-unseen (any-to-any, A2A). For every setting, we considered 4 gender-to-gender combination, i.e., male-tomale $( { \\mathrm { m } } 2 { \\mathrm { m } } )$ , male-to-female (m2f), female-to-male $( \\mathrm { f } 2 \\mathrm { m } )$ , and female-to-female (f2f). For M2M setting, we randomly sampled 25 seen speakers from VCTK and randomly assigned 2 random speakers from VCTK, resulting in 200 $( = 2 5 { \\times } 2 { \\times } 4 )$ conversion pairs in total. For A2M setting, we randomly sampled 10 seen speakers from test-clean subset of LibriTTS and randomly assigned 2 random speakers from VCTK resulting in 80 $( = 1 0 \\times 2 \\times 4 )$ ) conversion pairs in total. For A2A setting, we randomly sampled 10 seen speakers from test-clean subset of LibriTTS and randomly assigned 2 random speakers from test-clean subset of LibriTTS resulting in 80 $( = 1 0 \\times 2 \\times 4 )$ conversion pairs in total. We trained three baseline models with official implementations - ${ \\mathrm { V Q V C } } +$ [51], AdaIN $[ \\mathbb { 1 0 } ]$ , AUTOVC $\\pmb { \\mathbb { B } } 6 \\|$ - using the same dataset and mel spectrogram configuration as NANSY. For a fair comparison, we used a pre-trained HiFi-GAN vocoder for every model. Table $\\triangledown$ shows that NANSY significantly outperforms previous models in terms of every evaluation measure. This implies that the proposed information perturbation approach does not suffer from the trade-off between CER and SSIM unlike information bottleneck approaches. The SSIM results for all possible gender-to-gender combinations are shown in Fig. 9 in Appendix C. ",
803
+ "bbox": [
804
+ 173,
805
+ 238,
806
+ 825,
807
+ 474
808
+ ],
809
+ "page_idx": 7
810
+ },
811
+ {
812
+ "type": "table",
813
+ "img_path": "images/220bd3e215a4369c45ee65c39b784536f46e4ac213179c01c8b9a6c03543a539.jpg",
814
+ "table_caption": [],
815
+ "table_footnote": [
816
+ "Table 3: Evaluation results on English voice conversion. SRC and TGT denote, source and target, respectively. "
817
+ ],
818
+ "table_body": "<table><tr><td>一</td><td></td><td>M2M</td><td></td><td></td><td>A2M</td><td></td><td></td><td>A2A</td><td></td></tr><tr><td></td><td></td><td>[CER[%] MOS[1-5]</td><td></td><td></td><td>]SSIM[%]|CER[%]MOS[1-5]</td><td></td><td></td><td>SSIM[%]|CER[%] MOS[1-5]</td><td>SSIM[%]</td></tr><tr><td>SRC as TGT</td><td>n/a</td><td>4.23 ± 0.05</td><td>0</td><td>n/a</td><td>4.28 ± 0.09</td><td>0.60</td><td>n/a</td><td>4.26 ± 0.07</td><td>0.25</td></tr><tr><td>TGT as TGT</td><td>n/a</td><td>4.32 ± 0.05</td><td>94.9</td><td>n/a</td><td>4.29 ± 0.05</td><td>92.4</td><td>n/a</td><td>4.27 ± 0.07</td><td>96.2</td></tr><tr><td>VQVC+</td><td>54.0</td><td>1.76 ± 0.05</td><td>54.5</td><td>74.7</td><td>1.73 ± 0.11</td><td>15.6</td><td>69.3</td><td>1.83 ± 0.09</td><td>13.8</td></tr><tr><td>AdaIN</td><td>62.9</td><td>2.22 ± 0.07</td><td>24.0</td><td>79.6</td><td>1.92 ± 0.12</td><td>18.1</td><td>59.3</td><td>2.12 ± 0.10</td><td>21.2</td></tr><tr><td>AUTOVC</td><td>31.7</td><td>3.41 ±0.06</td><td>47.3</td><td>36.1</td><td>2.74 ±0.11</td><td>33.2</td><td>28.2</td><td>2.59 ±0.08</td><td>23.3</td></tr><tr><td>NANSY</td><td>7.5</td><td>3.79 ± 0.07</td><td>91.4</td><td>7.6</td><td>3.73 ± 0.05</td><td>88.1</td><td>8.6</td><td>3.44 ± 0.07</td><td>64.6</td></tr></table>",
819
+ "bbox": [
820
+ 174,
821
+ 491,
822
+ 825,
823
+ 622
824
+ ],
825
+ "page_idx": 7
826
+ },
827
+ {
828
+ "type": "text",
829
+ "text": "Multilingual voice conversion We tested multilingual voice conversion performance with the model trained on the multilingual dataset, CSS10. We randomly sampled 50 samples for each language speaker from CSS10 and assigned random single target speaker from CSS10 for each source language, resulting in 500 $( = 5 0 \\times 1 0 )$ ) conversion pairs in total. The results in Table 4 show that the proposed framework can successfully perform multilingual voice conversion by training it with the multilingual dataset. However, there is still a room for improvement for multilingual voice conversion when comparing to the results in Table 3, where NANSY is just trained on English. ",
830
+ "bbox": [
831
+ 174,
832
+ 680,
833
+ 825,
834
+ 779
835
+ ],
836
+ "page_idx": 7
837
+ },
838
+ {
839
+ "type": "text",
840
+ "text": "Unseen language voice conversion We tested the voice conversion performance on unseen source languages using NANSY trained on English. We tested the performance on two settings, 1. unseen source language (CSS10) to seen target voice (VCTK) and 2. unseen source language (CSS10) to unseen target voice (CSS10). For the first experiment, we randomly sampled 50 samples for each unseen language speaker from CSS10 and assigned random English target speakers from VCTK, resulting in 500 $( = 5 0 \\times 1 0 )$ conversion pairs in total. The second experiment was conducted identically to the multilingual voice conversion experiment setting. The results in Table $\\boxed { 5 }$ shows that NANSY can be successfully extended even to unseen language sources, although there was a decrease on SSIM compared to the results in Table 4 $( 6 9 . 5 \\% \\bar { } 6 \\bar { 1 } . 0 \\% )$ ). ",
841
+ "bbox": [
842
+ 174,
843
+ 786,
844
+ 825,
845
+ 912
846
+ ],
847
+ "page_idx": 7
848
+ },
849
+ {
850
+ "type": "table",
851
+ "img_path": "images/2f0250c67b62c70bf386286198c60813a90c48e9b34012ea923f88333fd6e4ef.jpg",
852
+ "table_caption": [
853
+ "Table 4: The multilingual voice conversion results. The model was trained using only CSS10. "
854
+ ],
855
+ "table_footnote": [],
856
+ "table_body": "<table><tr><td></td><td>|CER MOS</td><td>SSIM</td></tr><tr><td></td><td>TGT as TGT|n/a 4.23 ±0.06</td><td>98.0</td></tr><tr><td>NANSY</td><td>18.8 3.68 ±0.09</td><td>69.5</td></tr></table>",
857
+ "bbox": [
858
+ 194,
859
+ 108,
860
+ 416,
861
+ 162
862
+ ],
863
+ "page_idx": 8
864
+ },
865
+ {
866
+ "type": "table",
867
+ "img_path": "images/7a415393e7cc61843de35198d0130e77273eb1cda71ab16f649c8d55dd5f178e.jpg",
868
+ "table_caption": [],
869
+ "table_footnote": [
870
+ "Table 5: The voice conversion results on unseen language dataset, CSS10. The model was trained using only the English datasets. "
871
+ ],
872
+ "table_body": "<table><tr><td></td><td colspan=\"3\">Seen Speaker</td></tr><tr><td></td><td>|CER MOS</td><td>SSIM|CER</td><td>MOS SSIM</td></tr><tr><td>TGT as TGT NANSY</td><td>n/a 4.24 ±0.07 14.8 3.75 ± 0.10</td><td>100 90.0</td><td>n/a 4.23 ± 0.06 92.0 15.6 3.76 ± 0.09 61.0</td></tr></table>",
873
+ "bbox": [
874
+ 464,
875
+ 89,
876
+ 820,
877
+ 161
878
+ ],
879
+ "page_idx": 8
880
+ },
881
+ {
882
+ "type": "text",
883
+ "text": "4.4 Pitch shift and time-scale modification ",
884
+ "text_level": 1,
885
+ "bbox": [
886
+ 174,
887
+ 236,
888
+ 478,
889
+ 251
890
+ ],
891
+ "page_idx": 8
892
+ },
893
+ {
894
+ "type": "text",
895
+ "text": "To check the robustness of pitch shift (PS) and time-scale modification (TSM) performance of NANSY, we compared it with other robust algorithms, i.e., PSOLA 5 and WORLD vocoder [29, 28]. ",
896
+ "bbox": [
897
+ 173,
898
+ 261,
899
+ 825,
900
+ 290
901
+ ],
902
+ "page_idx": 8
903
+ },
904
+ {
905
+ "type": "text",
906
+ "text": "Pitch shift We tested PS performance with 5 semitone ranges, -6, -3, 0, 3, 6. The pitch was changed by shifting the scope of the proposed Yingram feature. Note that $\\mathbf { \\bar { \\rho } } _ { 0 } ,$ was used to check analysissynthesis performance. We randomly selected 20 samples for each semitone range from $10 \\%$ unseen utterances of VCTK. We evaluated the naturalness of speech samples with MOS on MTurk. The results in Table $6$ show that NANSY generally outperforms algorithms such as PSOLA and WORLD vocoder on PS task. ",
907
+ "bbox": [
908
+ 173,
909
+ 297,
910
+ 825,
911
+ 381
912
+ ],
913
+ "page_idx": 8
914
+ },
915
+ {
916
+ "type": "text",
917
+ "text": "Time-scale modification We tested TSM performance with 5 time-scale ratios, 1/2, 1/1.5, 1, 1.5, 2. The time-scale was modified by simply manipulating the hop length of the analysis features. Note that $\\cdot _ { 1 } \\cdot$ was used to check analysis-synthesis performance. We randomly selected 20 samples for each time-scale ratio from $10 \\%$ unseen utterances of VCTK. We evaluated the naturalness of speech samples with MOS on MTurk. The results in Table 7 show that NANSY achieved competitive performance on TSM compared to the well-established PSOLA and WORLD vocoder. ",
918
+ "bbox": [
919
+ 173,
920
+ 388,
921
+ 825,
922
+ 473
923
+ ],
924
+ "page_idx": 8
925
+ },
926
+ {
927
+ "type": "table",
928
+ "img_path": "images/c9059919ead5e483f7e80996f1fd99d72fc42b4019b948be7b795973cd8e2876.jpg",
929
+ "table_caption": [],
930
+ "table_footnote": [
931
+ "Table 6: Pitch shift results. "
932
+ ],
933
+ "table_body": "<table><tr><td></td><td>-6</td><td>-3</td><td>0</td><td>3</td><td>6</td></tr><tr><td>WORLD 28</td><td>3.433.53</td><td></td><td></td><td>33.853.63</td><td>3.53</td></tr><tr><td>PSOLA 四</td><td></td><td></td><td></td><td></td><td>3.633.553.933.753.48</td></tr><tr><td>NANSY</td><td>3.60 3.68</td><td></td><td>4.05</td><td>3.90</td><td>3.78</td></tr></table>",
934
+ "bbox": [
935
+ 194,
936
+ 486,
937
+ 480,
938
+ 553
939
+ ],
940
+ "page_idx": 8
941
+ },
942
+ {
943
+ "type": "table",
944
+ "img_path": "images/e2dc1319532906b37a461875e235d88d5075a05b1e9b83dae278794486e3c298.jpg",
945
+ "table_caption": [
946
+ "Table 7: Time-scale modification results. "
947
+ ],
948
+ "table_footnote": [],
949
+ "table_body": "<table><tr><td></td><td>1/2</td><td>1/1.5 1</td><td>1.5</td><td>2</td></tr><tr><td>WORLD I28I</td><td>2.403.603.833.38</td><td></td><td></td><td>83.03</td></tr><tr><td>PSOLA 四</td><td>2.55 3.66 3.953.68</td><td></td><td></td><td>2.85</td></tr><tr><td>NANSY</td><td>2.453.63</td><td>33.983.70</td><td></td><td>2.93</td></tr></table>",
950
+ "bbox": [
951
+ 521,
952
+ 486,
953
+ 805,
954
+ 553
955
+ ],
956
+ "page_idx": 8
957
+ },
958
+ {
959
+ "type": "text",
960
+ "text": "5 Related Works ",
961
+ "text_level": 1,
962
+ "bbox": [
963
+ 174,
964
+ 613,
965
+ 330,
966
+ 630
967
+ ],
968
+ "page_idx": 8
969
+ },
970
+ {
971
+ "type": "text",
972
+ "text": "Self-supervised representation learning and synthesis of speech There has been an increasing interest in the self-supervised learning methods within the machine learning and speech processing community. Oord et al. [31] first proposed to use noise contrastive estimation loss to train speech representations. Baevski et al. [4] extended this idea by integrating masked language modeling $\\mathbb { \\lVert 1 5 \\rVert }$ . Another popular self-supervised learning method for speech representation is to train a neural network by targeting multiple self-supervision tasks [34, 37]. Most recently, $\\pmb { \\Vert 3 5 \\Vert }$ used the discrete disentangled self-supervised representations to re-synthesize them into a waveform. Although using the discrete units has its own advantage in that it is disentangled with speaker information, we found that an inaccurate quantization process often leads to mispronounced samples, which is why we turned to use continuous representation as it can provide more accurate results on linguistic information. ",
973
+ "bbox": [
974
+ 173,
975
+ 645,
976
+ 826,
977
+ 782
978
+ ],
979
+ "page_idx": 8
980
+ },
981
+ {
982
+ "type": "text",
983
+ "text": "Zero-shot voice conversion Research on zero-shot voice conversion has been most actively conducted through the information bottleneck approach. Qian et al. $\\textcircled { \\lvert 3 6 \\rvert }$ proposed to perform zero-shot voice conversion by utilizing the pre-trained speaker recognition network and information bottleneck by carefully designing the bottleneck of an auto-encoder. Inspired by the success of style conversion in computer vision, Chou and Lee $\\mathbb { \\ m }$ also focused on restricting the information flow using instance normalization $\\pm \\ddagger { 4 }$ and adaptive instance normalization $\\mathbb { \\lVert 1 9 \\rVert }$ . Lastly, Wu et al. [51] used multiple vector quantization layers $\\bar { \\mathbb { B } } \\bar { 0 } \\bar { 1 }$ to restrict the information flow. ",
984
+ "bbox": [
985
+ 174,
986
+ 797,
987
+ 825,
988
+ 893
989
+ ],
990
+ "page_idx": 8
991
+ },
992
+ {
993
+ "type": "text",
994
+ "text": "Inductive bias for audio generation It has been shown that neural networks can be combined with traditional speech/sound production models for efficient and strong performance. One of the speech production models that has been integrated with neural networks is the source-filter model. By modeling source and filter components with deep networks, it has been used for applications such as vocoder [49, 23, 45] and acoustic feature generation $\\lVert 2 5 \\rVert$ . Furthermore, Engel et al. $\\mathbb { \\ m }$ proposed to integrate a harmonic plus noise model $\\bar { \\big \\| } \\bar { 3 8 } \\bar { \\big \\| }$ and neural networks to produce natural audio signal. ",
995
+ "bbox": [
996
+ 174,
997
+ 92,
998
+ 825,
999
+ 174
1000
+ ],
1001
+ "page_idx": 9
1002
+ },
1003
+ {
1004
+ "type": "text",
1005
+ "text": "Consistency learning Learning representations by augmenting the data has been one of the key ideas to leverage the performance of classification tasks [43, 52]. This shares the similar idea with the proposed information perturbation strategy in that the data is perturbed so that the neural network must learn to ignore the perturbations and learn the consistency from the data. However, the key difference between the consistency learning and the information perturbation is that the information perturbation method is designed for “generative” task and that it is the “decoder” (e.g., Generator) that is trained to selectively take the essential attributes to reconstruct the signal from the given perturbed representations. ",
1006
+ "bbox": [
1007
+ 174,
1008
+ 190,
1009
+ 825,
1010
+ 301
1011
+ ],
1012
+ "page_idx": 9
1013
+ },
1014
+ {
1015
+ "type": "text",
1016
+ "text": "6 Conclusions and Discussion ",
1017
+ "text_level": 1,
1018
+ "bbox": [
1019
+ 176,
1020
+ 321,
1021
+ 434,
1022
+ 338
1023
+ ],
1024
+ "page_idx": 9
1025
+ },
1026
+ {
1027
+ "type": "text",
1028
+ "text": "In this work, we proposed a neural analysis and synthesis framework (NANSY) that can perform zero-shot voice conversion, formant preserving pitch shift, and time-scale modification with a single model. The proposed model can be trained in a fully self-supervised manner, that is, it can be trained without any labeled data such as text or speaker information. We showed the effectiveness of the proposed information perturbation approach by showing the voice conversion results on various settings. Furthermore, we showed the effectiveness of the proposed TSA method by testing it on unseen languages, which shows the possibility of NANSY to be extended on low-resource languages. Although the proposed method empowers controllability over several attributes of a speech signal, it is still limited in terms of lacking controllability over linguistic information. As a future work, therefore, we would like to investigate on a hybrid approach that integrates text information as a side input so that the user can manipulate even the linguistic information in the speech signal. Finally, to prevent the proposed framework being used maliciously (e.g., voice phishing), it would be important to develop a detection algorithm that can discriminate a synthesized speech sample from a real speech sample. To examine the potential of such a detection system, we have tried using the trained Discriminator from the NANSY framework, which is expected to discriminate fake samples from real samples. We measured the accuracy of classifying 185 reconstructed samples and 185 ground truth samples. In addition, we measured the accuracy of classifying 560 voice conversion samples and 560 ground truth samples. The accuracy was $9 1 . 4 \\%$ on the reconstruction set and $9 5 . 5 \\%$ on the voice conversion set. This shows the possibility of Discriminator being used as a byproduct network to discriminate real speech samples from fake speech samples. However, we also found that Discriminator is prone to being deceived by the generated samples from other speech generative models as Discriminator was not jointly trained with those generative models. Therefore, we expect more robust synthesized speech detection algorithms to be developed in the future such as [48, 40, 9, 6]. ",
1029
+ "bbox": [
1030
+ 174,
1031
+ 347,
1032
+ 825,
1033
+ 665
1034
+ ],
1035
+ "page_idx": 9
1036
+ },
1037
+ {
1038
+ "type": "text",
1039
+ "text": "Broader Impacts ",
1040
+ "text_level": 1,
1041
+ "bbox": [
1042
+ 174,
1043
+ 685,
1044
+ 316,
1045
+ 703
1046
+ ],
1047
+ "page_idx": 9
1048
+ },
1049
+ {
1050
+ "type": "text",
1051
+ "text": "The proposed NANSY framework shows that a generative model can benefit from self-supervised representations. By choosing proper domain specific “information perturbation” functions, we believe that one can achieve controllable generative modeling in a fully self-supervised way. The information perturbation training strategy may also be used for other modalities and facilitate self-supervised representation learning methods too. With the proposed training framework, one can manipulate various aspects of speech samples. Among the various controllabilities, it is rather obvious that the voice conversion technique can be misused and potentially harm other people. More concretely, there are possible scenarios where it is being used by random unidentified users and contributing to spreading fake news. In addition, it can raise concerns about biometric security systems based on speech. To mitigate such issues, the proposed system should not be released without a consent so that it cannot be easily used by random users with malicious intentions. That being said, there is still a potential for this technology to be used by unidentified users. As a more solid solution, therefore, we believe a detection system that can discriminate between fake and real speech should be developed. The preliminary results of the detection system is reported in section 6. ",
1052
+ "bbox": [
1053
+ 174,
1054
+ 718,
1055
+ 825,
1056
+ 911
1057
+ ],
1058
+ "page_idx": 9
1059
+ },
1060
+ {
1061
+ "type": "text",
1062
+ "text": "Acknowledgments and Disclosure of Funding ",
1063
+ "text_level": 1,
1064
+ "bbox": [
1065
+ 174,
1066
+ 88,
1067
+ 553,
1068
+ 107
1069
+ ],
1070
+ "page_idx": 10
1071
+ },
1072
+ {
1073
+ "type": "text",
1074
+ "text": "This work was supported by Institute of Information & communications Technology Planning & Evaluation (IITP) grant funded by the Korea government(MSIT) [NO.2021-0-01343, Artificial Intelligence Graduate School Program (Seoul National University)] ",
1075
+ "bbox": [
1076
+ 174,
1077
+ 121,
1078
+ 826,
1079
+ 162
1080
+ ],
1081
+ "page_idx": 10
1082
+ },
1083
+ {
1084
+ "type": "text",
1085
+ "text": "References \n[1] Luc Ardaillon. Synthesis and expressive transformation of singing voice. PhD thesis, 11 2017. \n[2] Luc Ardaillon and Axel Roebel. Gci detection from raw speech using a fully-convolutional network. In ICASSP 2020-2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 6739–6743. IEEE, 2020. \n[3] Bishnu S Atal and Suzanne L Hanauer. Speech analysis and synthesis by linear prediction of the speech wave. The journal of the acoustical society of America, 50(2B):637–655, 1971. \n[4] Alexei Baevski, Yuhao Zhou, Abdelrahman Mohamed, and Michael Auli. wav2vec 2.0: A framework for self-supervised learning of speech representations. In H. Larochelle, M. Ranzato, R. Hadsell, M. F. Balcan, and H. Lin, editors, Advances in Neural Information Processing Systems, volume 33, pages 12449–12460. Curran Associates, Inc., 2020. URL https://proceedings.neurips.cc/paper/2020/file/ 92d1e1eb1cd6f9fba3227870bb6d7f07-Paper.pdf. \n[5] Paul Boersma and Vincent Van Heuven. Speak and unspeak with praat. Glot International, 5 (9/10):341–347, 2001. \n[6] Clara Borrelli, Paolo Bestagini, Fabio Antonacci, Augusto Sarti, and Stefano Tubaro. Synthetic speech detection through short-term and long-term prediction traces. EURASIP Journal on Information Security, 2021(1):1–14, 2021. \n[7] Mingjian Chen, Xu Tan, Bohan Li, Yanqing Liu, Tao Qin, sheng zhao, and Tie-Yan Liu. Adaspeech: Adaptive text to speech for custom voice. In International Conference on Learning Representations, 2021. URL https://openreview.net/forum?id=Drynvt7gg4L. \n[8] Hyeong-Seok Choi, Changdae Park, and Kyogu Lee. From inference to generation: End-to-end fully self-supervised generation of human face from speech. In International Conference on Learning Representations, 2020. URL https://openreview.net/forum?id=H1guaREYPr. \n[9] Yeunju Choi, Youngmoon Jung, and Hoirin Kim. Neural mos prediction for synthesized speech using multi-task learning with spoofing detection and spoofing type classification. In 2021 IEEE Spoken Language Technology Workshop (SLT), pages 462–469. IEEE, 2021. \n[10] Ju-Chieh Chou and Hung-Yi Lee. One-Shot Voice Conversion by Separating Speaker and Content Representations with Instance Normalization. In Proc. Interspeech 2019, pages 664– 668, 2019. doi: 10.21437/Interspeech.2019-2663. URL http://dx.doi.org/10.21437/ Interspeech.2019-2663. \n[11] Alexis Conneau, Alexei Baevski, Ronan Collobert, Abdelrahman Mohamed, and Michael Auli. Unsupervised cross-lingual representation learning for speech recognition. arXiv preprint arXiv:2006.13979, 2020. \n[12] Yann N Dauphin, Angela Fan, Michael Auli, and David Grangier. Language modeling with gated convolutional networks. In International conference on machine learning, pages 933–941. PMLR, 2017. \n[13] Alain De Cheveigné and Hideki Kawahara. Yin, a fundamental frequency estimator for speech and music. The Journal of the Acoustical Society of America, 111(4):1917–1930, 2002. \n[14] Brecht Desplanques, Jenthe Thienpondt, and Kris Demuynck. ECAPA-TDNN: Emphasized Channel Attention, Propagation and Aggregation in TDNN Based Speaker Verification. In Proc. Interspeech 2020, pages 3830–3834, 2020. doi: 10.21437/Interspeech.2020-2650. URL http://dx.doi.org/10.21437/Interspeech.2020-2650. ",
1086
+ "bbox": [
1087
+ 171,
1088
+ 181,
1089
+ 828,
1090
+ 920
1091
+ ],
1092
+ "page_idx": 10
1093
+ },
1094
+ {
1095
+ "type": "text",
1096
+ "text": "[15] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 4171–4186, Minneapolis, Minnesota, June 2019. Association for Computational Linguistics. doi: 10.18653/v1/N19-1423. URL https://www.aclweb.org/anthology/N19-1423. ",
1097
+ "bbox": [
1098
+ 173,
1099
+ 90,
1100
+ 826,
1101
+ 175
1102
+ ],
1103
+ "page_idx": 11
1104
+ },
1105
+ {
1106
+ "type": "text",
1107
+ "text": "[16] Thomas Drugman, Paavo Alku, Abeer Alwan, and Bayya Yegnanarayana. Glottal source processing: From analysis to applications. Computer Speech & Language, 28(5):1117–1138, 2014. ISSN 0885-2308. doi: https://doi.org/10.1016/j.csl.2014.03.003. URL https://www. sciencedirect.com/science/article/pii/S0885230814000229. ",
1108
+ "bbox": [
1109
+ 174,
1110
+ 183,
1111
+ 826,
1112
+ 239
1113
+ ],
1114
+ "page_idx": 11
1115
+ },
1116
+ {
1117
+ "type": "text",
1118
+ "text": "[17] Jesse Engel, Lamtharn (Hanoi) Hantrakul, Chenjie Gu, and Adam Roberts. Ddsp: Differentiable digital signal processing. In International Conference on Learning Representations, 2020. URL https://openreview.net/forum?id=B1x1ma4tDr. ",
1119
+ "bbox": [
1120
+ 174,
1121
+ 247,
1122
+ 826,
1123
+ 290
1124
+ ],
1125
+ "page_idx": 11
1126
+ },
1127
+ {
1128
+ "type": "text",
1129
+ "text": "[18] Zhiyun Fan, Meng Li, Shiyu Zhou, and Bo Xu. Exploring wav2vec 2.0 on speaker verification and language identification. arXiv preprint arXiv:2012.06185, 2020. ",
1130
+ "bbox": [
1131
+ 173,
1132
+ 297,
1133
+ 825,
1134
+ 328
1135
+ ],
1136
+ "page_idx": 11
1137
+ },
1138
+ {
1139
+ "type": "text",
1140
+ "text": "[19] Xun Huang and Serge Belongie. Arbitrary style transfer in real-time with adaptive instance normalization. In Proceedings of the IEEE International Conference on Computer Vision, pages 1501–1510, 2017. ",
1141
+ "bbox": [
1142
+ 174,
1143
+ 334,
1144
+ 825,
1145
+ 377
1146
+ ],
1147
+ "page_idx": 11
1148
+ },
1149
+ {
1150
+ "type": "text",
1151
+ "text": "[20] Yannick Jadoul, Bill Thompson, and Bart De Boer. Introducing parselmouth: A python interface to praat. Journal of Phonetics, 71:1–15, 2018. ",
1152
+ "bbox": [
1153
+ 173,
1154
+ 386,
1155
+ 825,
1156
+ 415
1157
+ ],
1158
+ "page_idx": 11
1159
+ },
1160
+ {
1161
+ "type": "text",
1162
+ "text": "[21] Ye Jia, Yu Zhang, Ron J. Weiss, Quan Wang, Jonathan Shen, Fei Ren, Zhifeng Chen, Patrick Nguyen, Ruoming Pang, Ignacio Lopez-Moreno, and Yonghui Wu. Transfer learning from speaker verification to multispeaker text-to-speech synthesis. In Advances in Neural Information Processing Systems, pages 4485–4495, 2018. ",
1163
+ "bbox": [
1164
+ 174,
1165
+ 422,
1166
+ 826,
1167
+ 479
1168
+ ],
1169
+ "page_idx": 11
1170
+ },
1171
+ {
1172
+ "type": "text",
1173
+ "text": "[22] Denis Jouvet and Yves Laprie. Performance analysis of several pitch detection algorithms on simulated and real noisy speech data. In 2017 25th European Signal Processing Conference (EUSIPCO), pages 1614–1618. IEEE, 2017. ",
1174
+ "bbox": [
1175
+ 174,
1176
+ 487,
1177
+ 825,
1178
+ 530
1179
+ ],
1180
+ "page_idx": 11
1181
+ },
1182
+ {
1183
+ "type": "text",
1184
+ "text": "[23] Lauri Juvela, Bajibabu Bollepalli, Vassilis Tsiaras, and Paavo Alku. Glotnet—a raw waveform model for the glottal excitation in statistical parametric speech synthesis. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 27(6):1019–1030, 2019. ",
1185
+ "bbox": [
1186
+ 173,
1187
+ 537,
1188
+ 826,
1189
+ 580
1190
+ ],
1191
+ "page_idx": 11
1192
+ },
1193
+ {
1194
+ "type": "text",
1195
+ "text": "[24] Jungil Kong, Jaehyeon Kim, and Jaekyoung Bae. Hifi-gan: Generative adversarial networks for efficient and high fidelity speech synthesis. In H. Larochelle, M. Ranzato, R. Hadsell, M. F. Balcan, and H. Lin, editors, Advances in Neural Information Processing Systems, volume 33, pages 17022–17033. Curran Associates, Inc., 2020. URL https://proceedings.neurips. cc/paper/2020/file/c5d736809766d46260d816d8dbc9eb44-Paper.pdf. ",
1196
+ "bbox": [
1197
+ 174,
1198
+ 588,
1199
+ 826,
1200
+ 659
1201
+ ],
1202
+ "page_idx": 11
1203
+ },
1204
+ {
1205
+ "type": "text",
1206
+ "text": "[25] Juheon Lee, Hyeong-Seok Choi, Chang-Bin Jeon, Junghyun Koo, and Kyogu Lee. Adversarially Trained End-to-End Korean Singing Voice Synthesis System. In Proc. Interspeech 2019, pages 2588–2592, 2019. doi: 10.21437/Interspeech.2019-1722. URL http://dx.doi.org/10. 21437/Interspeech.2019-1722. ",
1207
+ "bbox": [
1208
+ 173,
1209
+ 666,
1210
+ 826,
1211
+ 723
1212
+ ],
1213
+ "page_idx": 11
1214
+ },
1215
+ {
1216
+ "type": "text",
1217
+ "text": "[26] Robert McAulay and Thomas Quatieri. Speech analysis/synthesis based on a sinusoidal representation. IEEE Transactions on Acoustics, Speech, and Signal Processing, 34(4):744–754, 1986. ",
1218
+ "bbox": [
1219
+ 173,
1220
+ 731,
1221
+ 825,
1222
+ 773
1223
+ ],
1224
+ "page_idx": 11
1225
+ },
1226
+ {
1227
+ "type": "text",
1228
+ "text": "[27] Takeru Miyato and Masanori Koyama. cGANs with projection discriminator. In International Conference on Learning Representations, 2018. URL https://openreview.net/forum? id=ByS1VpgRZ. ",
1229
+ "bbox": [
1230
+ 174,
1231
+ 781,
1232
+ 826,
1233
+ 825
1234
+ ],
1235
+ "page_idx": 11
1236
+ },
1237
+ {
1238
+ "type": "text",
1239
+ "text": "[28] Masanori Morise, Fumiya Yokomori, and Kenji Ozawa. World: a vocoder-based high-quality speech synthesis system for real-time applications. IEICE TRANSACTIONS on Information and Systems, 99(7):1877–1884, 2016. ",
1240
+ "bbox": [
1241
+ 174,
1242
+ 832,
1243
+ 823,
1244
+ 875
1245
+ ],
1246
+ "page_idx": 11
1247
+ },
1248
+ {
1249
+ "type": "text",
1250
+ "text": "[29] Eric Moulines and Francis Charpentier. Pitch-synchronous waveform processing techniques for text-to-speech synthesis using diphones. Speech communication, 9(5-6):453–467, 1990. ",
1251
+ "bbox": [
1252
+ 173,
1253
+ 883,
1254
+ 820,
1255
+ 911
1256
+ ],
1257
+ "page_idx": 11
1258
+ },
1259
+ {
1260
+ "type": "text",
1261
+ "text": "[30] Aaron van den Oord, Oriol Vinyals, and Koray Kavukcuoglu. Neural discrete representation learning. arXiv preprint arXiv:1711.00937, 2017. ",
1262
+ "bbox": [
1263
+ 171,
1264
+ 90,
1265
+ 825,
1266
+ 119
1267
+ ],
1268
+ "page_idx": 12
1269
+ },
1270
+ {
1271
+ "type": "text",
1272
+ "text": "[31] Aaron van den Oord, Yazhe Li, and Oriol Vinyals. Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748, 2018. ",
1273
+ "bbox": [
1274
+ 173,
1275
+ 128,
1276
+ 823,
1277
+ 159
1278
+ ],
1279
+ "page_idx": 12
1280
+ },
1281
+ {
1282
+ "type": "text",
1283
+ "text": "[32] Kyubyong Park and Thomas Mulc. CSS10: A Collection of Single Speaker Speech Datasets for 10 Languages. In Proc. Interspeech 2019, pages 1566–1570, 2019. doi: 10.21437/Interspeech. 2019-1500. URL http://dx.doi.org/10.21437/Interspeech.2019-1500. ",
1284
+ "bbox": [
1285
+ 173,
1286
+ 166,
1287
+ 823,
1288
+ 212
1289
+ ],
1290
+ "page_idx": 12
1291
+ },
1292
+ {
1293
+ "type": "text",
1294
+ "text": "[33] Seung-won Park, Doo-young Kim, and Myun-chul Joe. Cotatron: Transcription-guided speech encoder for any-to-many voice conversion without parallel data. arXiv preprint arXiv:2005.03295, 2020. ",
1295
+ "bbox": [
1296
+ 173,
1297
+ 219,
1298
+ 825,
1299
+ 262
1300
+ ],
1301
+ "page_idx": 12
1302
+ },
1303
+ {
1304
+ "type": "text",
1305
+ "text": "[34] Santiago Pascual, Mirco Ravanelli, Joan Serrà, Antonio Bonafonte, and Yoshua Bengio. Learning Problem-Agnostic Speech Representations from Multiple Self-Supervised Tasks. In Proc. Interspeech 2019, pages 161–165, 2019. doi: 10.21437/Interspeech.2019-2605. URL http://dx.doi.org/10.21437/Interspeech.2019-2605. ",
1306
+ "bbox": [
1307
+ 174,
1308
+ 271,
1309
+ 826,
1310
+ 329
1311
+ ],
1312
+ "page_idx": 12
1313
+ },
1314
+ {
1315
+ "type": "text",
1316
+ "text": "[35] Adam Polyak, Yossi Adi, Jade Copet, Eugene Kharitonov, Kushal Lakhotia, Wei-Ning Hsu, Abdelrahman Mohamed, and Emmanuel Dupoux. Speech Resynthesis from Discrete Disentangled Self-Supervised Representations. In Proc. Interspeech 2021, pages 3615–3619, 2021. doi: 10.21437/Interspeech.2021-475. ",
1317
+ "bbox": [
1318
+ 173,
1319
+ 337,
1320
+ 826,
1321
+ 393
1322
+ ],
1323
+ "page_idx": 12
1324
+ },
1325
+ {
1326
+ "type": "text",
1327
+ "text": "[36] Kaizhi Qian, Yang Zhang, Shiyu Chang, Xuesong Yang, and Mark Hasegawa-Johnson. Autovc: Zero-shot voice style transfer with only autoencoder loss. In International Conference on Machine Learning, pages 5210–5219. PMLR, 2019. ",
1328
+ "bbox": [
1329
+ 173,
1330
+ 404,
1331
+ 823,
1332
+ 446
1333
+ ],
1334
+ "page_idx": 12
1335
+ },
1336
+ {
1337
+ "type": "text",
1338
+ "text": "[37] Mirco Ravanelli, Jianyuan Zhong, Santiago Pascual, Pawel Swietojanski, Joao Monteiro, Jan Trmal, and Yoshua Bengio. Multi-task self-supervised learning for robust speech recognition. In ICASSP 2020-2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 6989–6993. IEEE, 2020. ",
1339
+ "bbox": [
1340
+ 173,
1341
+ 455,
1342
+ 825,
1343
+ 512
1344
+ ],
1345
+ "page_idx": 12
1346
+ },
1347
+ {
1348
+ "type": "text",
1349
+ "text": "[38] Xavier Serra et al. Musical sound modeling with sinusoids plus noise. Musical signal processing, pages 91–122, 1997. ",
1350
+ "bbox": [
1351
+ 173,
1352
+ 521,
1353
+ 823,
1354
+ 551
1355
+ ],
1356
+ "page_idx": 12
1357
+ },
1358
+ {
1359
+ "type": "text",
1360
+ "text": "[39] Jui Shah, Yaman Kumar Singla, Changyou Chen, and Rajiv Ratn Shah. What all do audio transformer models hear? probing acoustic representations for language delivery and its structure. arXiv preprint arXiv:2101.00387, 2021. ",
1361
+ "bbox": [
1362
+ 173,
1363
+ 559,
1364
+ 823,
1365
+ 602
1366
+ ],
1367
+ "page_idx": 12
1368
+ },
1369
+ {
1370
+ "type": "text",
1371
+ "text": "[40] Arun Kumar Singh and Priyanka Singh. Detection of ai-synthesized speech using cepstral & bispectral statistics. arXiv preprint arXiv:2009.01934, 2020. ",
1372
+ "bbox": [
1373
+ 173,
1374
+ 611,
1375
+ 823,
1376
+ 641
1377
+ ],
1378
+ "page_idx": 12
1379
+ },
1380
+ {
1381
+ "type": "text",
1382
+ "text": "[41] Lifa Sun, Kun Li, Hao Wang, Shiyin Kang, and Helen Meng. Phonetic posteriorgrams for manyto-one voice conversion without parallel data training. In 2016 IEEE International Conference on Multimedia and Expo (ICME), pages 1–6. IEEE, 2016. ",
1383
+ "bbox": [
1384
+ 173,
1385
+ 650,
1386
+ 823,
1387
+ 693
1388
+ ],
1389
+ "page_idx": 12
1390
+ },
1391
+ {
1392
+ "type": "text",
1393
+ "text": "[42] David Talkin and W Bastiaan Kleijn. A robust algorithm for pitch tracking (rapt). Speech coding and synthesis, 495:518, 1995. ",
1394
+ "bbox": [
1395
+ 171,
1396
+ 702,
1397
+ 825,
1398
+ 731
1399
+ ],
1400
+ "page_idx": 12
1401
+ },
1402
+ {
1403
+ "type": "text",
1404
+ "text": "[43] Antti Tarvainen and Harri Valpola. Mean teachers are better role models: Weightaveraged consistency targets improve semi-supervised deep learning results. arXiv preprint arXiv:1703.01780, 2017. ",
1405
+ "bbox": [
1406
+ 173,
1407
+ 739,
1408
+ 825,
1409
+ 784
1410
+ ],
1411
+ "page_idx": 12
1412
+ },
1413
+ {
1414
+ "type": "text",
1415
+ "text": "[44] Dmitry Ulyanov, Andrea Vedaldi, and Victor Lempitsky. Instance normalization: The missing ingredient for fast stylization. arXiv preprint arXiv:1607.08022, 2016. ",
1416
+ "bbox": [
1417
+ 171,
1418
+ 792,
1419
+ 825,
1420
+ 821
1421
+ ],
1422
+ "page_idx": 12
1423
+ },
1424
+ {
1425
+ "type": "text",
1426
+ "text": "[45] Jean-Marc Valin and Jan Skoglund. Lpcnet: Improving neural speech synthesis through linear prediction. In ICASSP 2019-2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 5891–5895. IEEE, 2019. ",
1427
+ "bbox": [
1428
+ 174,
1429
+ 830,
1430
+ 821,
1431
+ 875
1432
+ ],
1433
+ "page_idx": 12
1434
+ },
1435
+ {
1436
+ "type": "text",
1437
+ "text": "[46] Laurens Van der Maaten and Geoffrey Hinton. Visualizing data using t-sne. Journal of machine learning research, 9(11), 2008. ",
1438
+ "bbox": [
1439
+ 173,
1440
+ 882,
1441
+ 820,
1442
+ 911
1443
+ ],
1444
+ "page_idx": 12
1445
+ },
1446
+ {
1447
+ "type": "text",
1448
+ "text": "[47] Christophe Veaux, Junichi Yamagishi, and Simon King. The voice bank corpus: Design, collection and data analysis of a large regional accent speech database. In 2013 international conference oriental COCOSDA held jointly with 2013 conference on Asian spoken language research and evaluation (O-COCOSDA/CASLRE), pages 1–4. IEEE, 2013. \n[48] Run Wang, Felix Juefei-Xu, Yihao Huang, Qing Guo, Xiaofei Xie, Lei Ma, and Yang Liu. Deepsonar: Towards effective and robust detection of ai-synthesized fake voices. In Proceedings of the 28th ACM International Conference on Multimedia, pages 1207–1216, 2020. \n[49] Xin Wang, Shinji Takaki, and Junichi Yamagishi. Neural source-filter-based waveform model for statistical parametric speech synthesis. In ICASSP 2019-2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 5916–5920. IEEE, 2019. \n[50] Mirjam Wester, Zhizheng Wu, and Junichi Yamagishi. Analysis of the voice conversion challenge 2016 evaluation results. In Interspeech, pages 1637–1641, 2016. \n[51] Da-Yi Wu, Yen-Hao Chen, and Hung yi Lee. VQVC $^ +$ : One-Shot Voice Conversion by Vector Quantization and U-Net Architecture. In Proc. Interspeech 2020, pages 4691–4695, 2020. doi: 10.21437/Interspeech.2020-1443. URL http://dx.doi.org/10.21437/Interspeech. 2020-1443. \n[52] Qizhe Xie, Zihang Dai, Eduard Hovy, Minh-Thang Luong, and Quoc V Le. Unsupervised data augmentation for consistency training. arXiv preprint arXiv:1904.12848, 2019. \n[53] Vadim Zavalishin. The art of va filter design. Native Instruments, Berlin, Germany, 2012. \n[54] Heiga Zen, Viet Dang, Rob Clark, Yu Zhang, Ron J. Weiss, Ye Jia, Zhifeng Chen, and Yonghui Wu. Libritts: A corpus derived from librispeech for text-to-speech. In Interspeech, pages 1526–1530, 2019. ",
1449
+ "bbox": [
1450
+ 171,
1451
+ 92,
1452
+ 826,
1453
+ 472
1454
+ ],
1455
+ "page_idx": 13
1456
+ },
1457
+ {
1458
+ "type": "text",
1459
+ "text": "Checklist ",
1460
+ "text_level": 1,
1461
+ "bbox": [
1462
+ 174,
1463
+ 496,
1464
+ 254,
1465
+ 512
1466
+ ],
1467
+ "page_idx": 13
1468
+ },
1469
+ {
1470
+ "type": "text",
1471
+ "text": "1. For all authors... ",
1472
+ "bbox": [
1473
+ 214,
1474
+ 523,
1475
+ 339,
1476
+ 537
1477
+ ],
1478
+ "page_idx": 13
1479
+ },
1480
+ {
1481
+ "type": "text",
1482
+ "text": "(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] We described the goal and contribution of this paper and conducted experiments accordingly. \n(b) Did you describe the limitations of your work? [Yes] We explained the limitation of this work in the conclusion. \n(c) Did you discuss any potential negative societal impacts of your work? [Yes] We discussed the potential negative societal impacts (e.g., voice phishing) of our work in the conclusion. \n(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes] We have read the ethics review guidelines. ",
1483
+ "bbox": [
1484
+ 238,
1485
+ 542,
1486
+ 825,
1487
+ 689
1488
+ ],
1489
+ "page_idx": 13
1490
+ },
1491
+ {
1492
+ "type": "text",
1493
+ "text": "2. If you are including theoretical results... ",
1494
+ "bbox": [
1495
+ 214,
1496
+ 694,
1497
+ 493,
1498
+ 708
1499
+ ],
1500
+ "page_idx": 13
1501
+ },
1502
+ {
1503
+ "type": "text",
1504
+ "text": "(a) Did you state the full set of assumptions of all theoretical results? [No] We do not include theoretical results. \n(b) Did you include complete proofs of all theoretical results? [No] We do not include theoretical results. ",
1505
+ "bbox": [
1506
+ 238,
1507
+ 713,
1508
+ 825,
1509
+ 770
1510
+ ],
1511
+ "page_idx": 13
1512
+ },
1513
+ {
1514
+ "type": "text",
1515
+ "text": "3. If you ran experiments... ",
1516
+ "bbox": [
1517
+ 214,
1518
+ 776,
1519
+ 393,
1520
+ 791
1521
+ ],
1522
+ "page_idx": 13
1523
+ },
1524
+ {
1525
+ "type": "text",
1526
+ "text": "(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [No] The code is proprietary. \n(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] See section $4 . 1$ and Appendix A. \n(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [Yes] We have included the error bars for crowdsourcing evaluation. ",
1527
+ "bbox": [
1528
+ 238,
1529
+ 795,
1530
+ 825,
1531
+ 911
1532
+ ],
1533
+ "page_idx": 13
1534
+ },
1535
+ {
1536
+ "type": "text",
1537
+ "text": "(d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] See section 4.1. ",
1538
+ "bbox": [
1539
+ 232,
1540
+ 92,
1541
+ 823,
1542
+ 121
1543
+ ],
1544
+ "page_idx": 14
1545
+ },
1546
+ {
1547
+ "type": "text",
1548
+ "text": "4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets... ",
1549
+ "bbox": [
1550
+ 217,
1551
+ 125,
1552
+ 821,
1553
+ 138
1554
+ ],
1555
+ "page_idx": 14
1556
+ },
1557
+ {
1558
+ "type": "text",
1559
+ "text": "(a) If your work uses existing assets, did you cite the creators? [Yes] We cited all three datasets we used for experiments. \n(b) Did you mention the license of the assets? [Yes] See section 4.1. \n(c) Did you include any new assets either in the supplemental material or as a URL? [No] We did not curate/release any new assets. \n(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [Yes] We cited the paper of the datasets we are using in which they explain all the details regarding speaker recruitment. \n(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [Yes] We used speaker labels to split the datasets as described in section 4.1. ",
1560
+ "bbox": [
1561
+ 238,
1562
+ 142,
1563
+ 825,
1564
+ 305
1565
+ ],
1566
+ "page_idx": 14
1567
+ },
1568
+ {
1569
+ "type": "text",
1570
+ "text": "5. If you used crowdsourcing or conducted research with human subjects... ",
1571
+ "bbox": [
1572
+ 215,
1573
+ 309,
1574
+ 705,
1575
+ 324
1576
+ ],
1577
+ "page_idx": 14
1578
+ },
1579
+ {
1580
+ "type": "text",
1581
+ "text": "(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [Yes] We have attached the screenshots of MTurk instructions in Appendix D. \n(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [Yes] This work is approved by IRB (IRB No. 2105/004-008). We have announced that the de-identified information such as worker ID will be collected through MTurk instructions. \n(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [Yes] It is shown in Appendix D. ",
1582
+ "bbox": [
1583
+ 238,
1584
+ 328,
1585
+ 825,
1586
+ 459
1587
+ ],
1588
+ "page_idx": 14
1589
+ }
1590
+ ]
parse/train/Aw96fN64soV/Aw96fN64soV_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/Aw96fN64soV/Aw96fN64soV_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/B1hYRMbCW/B1hYRMbCW.md ADDED
@@ -0,0 +1,671 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ON THE REGULARIZATION OF WASSERSTEIN GANS
2
+
3
+ Henning Petzka∗ Fraunhofer Institute IAIS, Sankt Augustin, Germany henning.petzka@gmail.com
4
+
5
+ Asja Fischer∗& Denis Lukovnikov Department of Computer Science, University of Bonn, Germany asja.fischer@gmail.com lukovnik@cs.uni-bonn.de
6
+
7
+ # ABSTRACT
8
+
9
+ Since their invention, generative adversarial networks (GANs) have become a popular approach for learning to model a distribution of real (unlabeled) data. Convergence problems during training are overcome by Wasserstein GANs which minimize the distance between the model and the empirical distribution in terms of a different metric, but thereby introduce a Lipschitz constraint into the optimization problem. A simple way to enforce the Lipschitz constraint on the class of functions, which can be modeled by the neural network, is weight clipping. Augmenting the loss by a regularization term that penalizes the deviation of the gradient norm of the critic (as a function of the network’s input) from one, was proposed as an alternative that improves training. We present theoretical arguments why using a weaker regularization term enforcing the Lipschitz constraint is preferable. These arguments are supported by experimental results on several data sets.
10
+
11
+ # 1 INTRODUCTION
12
+
13
+ General adversarial networks (GANs) (Goodfellow et al., 2014) are a class of generative models that have recently gained a lot of attention. They are based on the idea of defining a game between two competing neural networks (NNs): a generator and a classifier (or discriminator). While the classifier aims at distinguishing generated from real data, the generator tries to generate samples which the classifier can not distinguish from the ones from the empirical distribution. Realizing the potential behind this new approach to generative models, more recent contributions focused on the stabilization of training, including ensemble methods (Tolstikhin et al., 2017), improved network structure (Radford et al., 2015; Salimans et al., 2016) and theoretical improvements (Nowozin et al., 2016; Salimans et al., 2016; Arjovsky & Bottou, 2017; Chen et al., 2016) that helped to successfully model complex distributions using GANs.
14
+
15
+ It was proposed by Arjovsky et al. (2017) to train generator and discriminator networks by minimizing the Wasserstein-1 distance, a distance with properties superior to the Jensen-Shannon distance (used in the original GAN) in terms of convergence. Accordingly, this version of GAN was called Wasserstein GAN (WGAN). The change of metric introduces a new minimization problem, which requires the discriminator function to lie in the space of 1-Lipschitz functions. In the same paper, the Lipschitz constraint was guaranteed by performing weight clipping, i.e., by constraining the parameters of the discriminator NN to be smaller than a given value in magnitude. An improved training strategy was proposed by Gulrajani et al. (2017) based on results from optimal transport theory (see Villani, 2008). Here, instead of clipping weights, the loss gets augmented by a regularization term that penalizes any deviation of the norm of the gradient of the critic function (with respect to its input) from one.
16
+
17
+ We review these results and present both theoretical considerations and empirical results, leading to the proposal of a less restrictive regularization term for WGANs.1 More precisely, our contributions are as follows:
18
+
19
+ • We review the arguments that the regularization technique proposed by Gulrajani et al. (2017) is based on and make the following two observations: (i) The regularization strategy requires training samples and generated samples to be drawn from a certain joint distribution. In practice, however, samples are drawn independently from their marginals. (ii) The arguments further assume the discriminator to be differentiable. We explain why both can be harmful for training.
20
+
21
+ • We propose a less restrictive regularization term and present empirical results strongly supporting our theoretical considerations.
22
+
23
+ # 2 OPTIMAL TRANSPORT
24
+
25
+ We will require the notion of a coupling of two probability distributions. Although a coupling can be defined more generally, we state the definition in the setting of our interest, i.e., we consider all spaces involved to equal $\mathbb { R } ^ { n }$ .
26
+
27
+ Definition 1. Let $\mu$ and $\nu$ be two probability distributions on $\mathbb { R } ^ { n }$ . A coupling $\pi$ of $\mu$ and $\nu$ is a probability distribution on $\mathbb { R } ^ { n } \times \mathbb { R } ^ { n }$ such that $\pi ( A , \mathbb { R } ^ { n } ) = \mu ( A )$ and $\pi ( \mathbb { R } ^ { n } , A ) = \nu ( A )$ for all measurable sets $A \subseteq \mathbb { R } ^ { n }$ . The set of all couplings of $\mu$ and $\nu$ is denoted by $\Pi ( \mu , \nu )$ .
28
+
29
+ The following theorem plays a central role in the theory of optimal transport (OT) and is known as the Kantorovich duality. Note, that the presented theorem is a less general, but to our needs adapted version of Theorem 5.10 from Villani (2008).2 A proof of how to derive our version from the referenced one can be found in Appendix C.1. We will denote by $\mathcal { L } i p _ { 1 }$ the set of all 1-Lipschitz functions, i.e., the set of all functions $f$ such that $f ( y ) - f ( x ) \leq | | { \dot { x } } - { \bar { y } } | | _ { 2 }$ for all $x , y$ .
30
+
31
+ Theorem 1 (Kantorovich). Let $\mu$ and $\nu$ be two probability distributions on $\mathbb { R } ^ { n }$ such that $\begin{array} { r } { \int _ { \mathbb { R } ^ { n } } | | x | | _ { 2 } d \mu ( x ) < \infty } \end{array}$ and $\begin{array} { r } { \int _ { \mathbb { R } ^ { n } } | | x | | _ { 2 } d \nu ( x ) < \infty } \end{array}$ . Then
32
+
33
+ $$
34
+ \operatorname* { m i n } _ { \pi \in \Pi ( \mu , \nu ) } \int _ { \mathbb { R } ^ { n } \times \mathbb { R } ^ { n } } | | x - y | | _ { 2 } d \pi ( x , y ) = \operatorname* { m a x } _ { f \in \mathcal { L } i p _ { 1 } } \left( \int _ { \mathbb { R } ^ { n } } f ( x ) d \mu ( x ) - \int _ { \mathbb { R } ^ { n } } f ( x ) d \nu ( x ) \right) \ .
35
+ $$
36
+
37
+ In particular, both minimum and maximum exist.
38
+
39
+ (ii) The following two statements are equivalent:
40
+
41
+ (a) $\pi ^ { * }$ is an optimal coupling (minimizing the value on the left hand side of (1)). (b) Any optimal function $f ^ { \ast } \in \mathcal { L } i p _ { 1 }$ (at which the maximum is attained for the right hand side of (1)) satisfies that for all $( x , y )$ in the support of $\pi ^ { * }$ : $f ^ { * } ( x ) - f ^ { * } ( y ) = | | x - y | | _ { 2 }$ .
42
+
43
+ The field of OT offers several approaches to the computation of optimal couplings. To speed up the computation of an optimal coupling, Cuturi (2013) introduced a regularized version of the primal problem in which an entropic term $E ( \pi )$ is added leading to the minimization of $\begin{array} { r } { \int _ { \mathbb { R } ^ { n } \times \mathbb { R } ^ { n } } | | x \stackrel { \cdot } { - } y | | _ { 2 } \ d \pi ( x , y ) + \epsilon E ( \pi ) } \end{array}$ , with regularization parameter $\epsilon$ . Regularized OT was generalized by Dessein et al. (2016) to a more general class of regularization terms $\Omega ( \pi )$ . As we will discuss in Section 5, the learning algorithm we propose in this paper has connections to the approach using $\begin{array} { r } { \Omega ( \pi ) = \int \left( \frac { \mathrm { d } \pi ( x , y ) } { \mathrm { d } \mu ( x ) \mathrm { d } \nu ( y ) } \right) ^ { 2 } \mathrm { d } \mu ( x ) \mathrm { d } \nu ( y ) } \end{array}$ . By Blondel et al. (2017), this leads to the dual problem given by
44
+
45
+ $$
46
+ \operatorname* { s u p } _ { f , g } \left\{ \mathbb { E } _ { x \sim \mu } [ f ( x ) ] - \mathbb { E } _ { y \sim \nu } [ g ( y ) ] - \frac { 4 } { \epsilon } \int \int \operatorname* { m a x } \left\{ 0 , \left( f ( x ) - g ( y ) - | | x - y | | _ { 2 } \right) \right\} ^ { 2 } \mathrm { d } \mu ( x ) \mathrm { d } \nu ( y ) \right\} \ .
47
+ $$
48
+
49
+ # 3 WASSERSTEIN GANS
50
+
51
+ Formally, given an empirical distribution $\mu$ , a class of generative distributions $\nu$ over some space $\mathcal { X }$ , and a class of discriminators $d : \mathcal { X } [ 0 , 1 ]$ , GAN training (Goodfellow et al., 2014) aims at solving the optimization problem given by $\begin{array} { r } { \operatorname* { m i n } _ { \nu } \operatorname* { m a x } _ { d } \mathbb { E } _ { x \sim \mu } [ \log ( d ( x ) ) ] + \mathbb { E } _ { y \sim \nu } [ \log ( 1 - d ( y ) ) ] } \end{array}$ . 3 In practice, the parameters of the generator and the discriminator networks are updated in an alternating fashion based on (several steps) of stochastic gradient descent. The discriminator thereby tries to assign a value close to zero to generated data points and values close to one to real data points. As an opposing agent, the generator aims to produce data where the discriminator expects to see real data. Theorem 1 by Goodfellow et al. (2014) shows that, if the optimal discriminator is found in each iteration, minimization of the resulting loss function of the generator leads to minimization of the Jensen-Shannon (JS) divergence. Instead of minimizing the JS divergence, Arjovsky et al. (2017) proposed to minimize the Wasserstein-1 distance, also known as Earth-Mover (EM) distance, which is defined for any Polish space $( M , c )$ and probability distributions $\mu$ and $\nu$ on $M$ by
52
+
53
+ $$
54
+ W ( \mu , \nu ) = \operatorname* { i n f } _ { \pi \in \Pi ( \mu , \nu ) } \int _ { M \times M } c ( x , y ) d \pi ( x , y ) .
55
+ $$
56
+
57
+ From the Kantorovich duality (see Theorem 1, (i)) it follows that, in the special case we are considering, the infimum is attained and, instead of computing this minimum in Equation (3), the Wasserstein-1 distance can also be computed as
58
+
59
+ $$
60
+ W ( \mu , \nu ) = \operatorname* { m a x } _ { f \in \mathcal { L } i p _ { 1 } } \mathbb { E } _ { x \sim \mu } [ f ( x ) ] - \mathbb { E } _ { y \sim \nu } [ f ( y ) ] \mathrm { ~ , ~ }
61
+ $$
62
+
63
+ where the maximum is taken over the set of all 1-Lipschitz functions $\mathcal { L } i p _ { 1 }$
64
+
65
+ Thus, the WGAN objective is to solve
66
+
67
+ $$
68
+ \operatorname* { m i n } _ { \nu } \operatorname* { m a x } _ { f \in \mathcal { L } i p _ { 1 } } \mathbb { E } _ { x \sim \mu } [ f ( x ) ] - \mathbb { E } _ { y \sim \nu } [ f ( y ) ] \mathrm { ~ , ~ }
69
+ $$
70
+
71
+ which can be achieved by alternating gradient descent updates for the generating network $\nu$ and the 1-Lipschitz function $f$ (also modeled by a NN), just as in the case of the original GAN. The objective of the generator is still to generate real-looking data points and is led by function values of $f$ that plays the role of an appraiser (or critic). The appraiser’s goal is to assign a value of confidence to each data point, which is as low as possible on generated data points and as high as possible on real data. The confidence value it can assign is bounded by a constraint of similarity, where similarity is measured by the distance of data points. This can be motivated by the idea that similar points should have similar values of confidence for being real. The new role of the critic helps to solve convergence problems, but the interpretation of its value as classifying real (close to 1) and fake data (close to 0) is lost. We refer to Appendix A for a detailed discussion.
72
+
73
+ # 4 IMPROVED TRAINING OF WGANS
74
+
75
+ Modeling the WGAN critic function by a NN raises the question on how to enforce the 1-Lipschitz constraint of the objective in Equation (5). As proposed by Arjovsky et al. (2017) a simple way to restrict the class of functions $f$ that can be modeled by the NN to $\alpha$ -Lipschitz continuous functions (for some $\alpha$ ) is to perform weight clipping, i.e. to enforce the parameters of the network not to exceed a certain value $c _ { \operatorname* { m a x } } > 0$ in absolute value. As the authors note, this is not a good but simple choice. We further demonstrate this in Appendix B by proving (for a standard NN architecture) that, using weight clipping, the optimal function is in general not contained in the class of functions modeled by the network.
76
+
77
+ Recently, an alternative to weight clipping was proposed by Gulrajani et al. (2017). The basic idea is to augment the WGAN loss by a regularization term that penalizes the deviation of the gradient norm of the critic with respect to its input from one (leading to a variant referred to as WGAN-GP, where GP stands for gradient penalty). More precisely, the loss of the critic to be minimized is then given by
78
+
79
+ $$
80
+ \begin{array} { r } { \mathbb { E } _ { y \sim \nu } [ f ( y ) ] - \mathbb { E } _ { x \sim \mu } [ f ( x ) ] + \lambda \mathbb { E } _ { \hat { x } \sim \tau } [ ( | | \nabla f ( \hat { x } ) | | _ { 2 } - 1 ) ^ { 2 } ] \ , } \end{array}
81
+ $$
82
+
83
+ where $\tau$ is the distribution of $\hat { x } = t x + ( 1 - t ) y$ for $t \sim U [ 0 , 1 ]$ and $x \sim \mu , y \sim \nu$ being a real and a generated sample, respectively. The regularization term is derived based on the following result.
84
+
85
+ Proposition 1. Let $\mu$ and $\nu$ be two probability distributions on $\mathbb { R } ^ { n }$ . Let $f ^ { * }$ be an optical critic, leading to the maximum $\begin{array} { r } { \operatorname* { m a x } _ { f \in \mathcal { L } i p _ { 1 } } \bar { \int } _ { \mathbb { R } ^ { n } } f ( x ) \mathop { d \mu ( x ) } - \int _ { \mathbb { R } ^ { n } } f ( x ) \mathop { d \nu } ( x ) } \end{array}$ , and let $\pi ^ { * }$ be an optimal coupling with respect to $\begin{array} { r } { \operatorname* { m i n } _ { \pi \in \Pi ( \mu , \nu ) } \int _ { \mathbb { R } ^ { n } \times \mathbb { R } ^ { n } } | | x - y | | _ { 2 } d \pi ( x , y ) } \end{array}$ . If $f ^ { * }$ is differentiable and $x _ { t } =$ $t x + ( 1 - t ) y$ for $0 \leq t \leq 1$ , it holds that $\begin{array} { r } { \mathbb { P } _ { ( x , y ) \sim \pi ^ { * } } \Big [ ( \nabla f ^ { * } ( x _ { t } ) = \frac { y - x _ { t } } { | | y - x _ { t } | | } ) \Big ] = 1 } \end{array}$ . This in particular implies, that the norms of the gradients are one $\pi ^ { * }$ -almost surely on such points $x _ { t }$ .
86
+
87
+ For the convenience of the reader, we provide a simple argument for obtaining this result in Appendix C.2.
88
+
89
+ Note, that Proposition 1 holds only when $f ^ { * }$ is differentiable and $x$ and $y$ are sampled from the optimal coupling $\pi ^ { * }$ . However, sampling independently from the marginal distributions $\mu$ and $\nu$ very likely results in points $( x , y )$ that lie outside the support of $\pi ^ { * }$ . Furthermore, the optimal cost function $f ^ { * }$ does not need not to be differentiable everywhere. These two points will be discussed in more detail in the following subsections.
90
+
91
+ # 4.1 SAMPLING FROM THE MARGINALS INSTEAD OF THE OPTIMAL COUPLING
92
+
93
+ Observation 1. Suppose $f ^ { * } \in \mathcal L i p _ { 1 }$ is an optimal critic function and $\pi ^ { * }$ the optimal coupling determined by the Kantorovich duality in Theorem 1. Then $| f ^ { * } ( y ) - f ^ { * } ( x _ { t } ) | = | | x _ { t } - y | | _ { 2 }$ on the line $x _ { t } = t x + ( 1 - t ) y$ , $0 \leq t \leq 1$ , for $( x , y )$ sampled from $\pi ^ { * }$ , but not necessarily on the lines connecting an arbitrary pair of a real and $a$ generated data point, i.e. arbitrary $x \sim \mu$ and $y \sim \nu$ .
94
+
95
+ Consider the examples in Figure 1, where every $\mathrm { X }$ denotes a sample from the generator and every O a real data sample. Optimal couplings $\pi ^ { * }$ are indicated in red, and values of an optimal critic function are indicated in blue (optimality is shown in Appendix A.1).
96
+
97
+ ![](images/4883e79e9e19506a1bb009624ec62b113e2bf928e951db80e64e466245e2e17f.jpg)
98
+ Figure 1: A one (left) and a two (right) dimensional example showing that $f ^ { * } ( \mathbf { O } )$ - $f ^ { * } ( \mathbf { X } ) { = } | \mathbf { O } { - } \mathbf { X } |$ only holds for coupled pairs $( \mathbf { X } , 0 ) \sim \pi ^ { * }$ .
99
+
100
+ In the one-dimensional example on the left, the left-most X and the right-most O satisfy $f ^ { * } ( 0 ) -$ $f ^ { * } ( \mathbf { \boldsymbol { X } } ) = \frac { 1 } { 7 } | 0 - \mathbf { \boldsymbol { X } } | \neq | 0 - \dot { \mathbf { \boldsymbol { X } } | }$ , illustrating that the basis for the derivation of the condition, that the norm of the gradient equals one between generated and real points, only holds for points sampled from the optimal coupling. Note, while here the gradient is still of norm 1 almost everywhere, this does not necessarily hold in higher dimensions, where not all points lie on a line between some pair of points sampled from $\pi ^ { * }$ . This is exemplified for two dimensions on the right side of Figure 1, where blue numbers with $a \in \mathbb { R }$ denote the values of an optimal critic function at these points (the values at these points is all that matters). Without loss of generality we can assume the value at position $( 1 , 2 )$ to be zero, taking into account that an optimal critic function remains optimal under addition of an arbitrary constant. Since the Lipschitz constraint of $f ^ { * }$ must be satisfied, we get $1 - a \leq { \sqrt { 2 } }$ and $a + 1 \le { \sqrt { 2 } }$ . Therefore $a \in [ \bar { 1 } - \sqrt { 2 } , \sqrt { 2 } - 1 ]$ and one of the inequalities of the Lipschitz constraint must be strict.
101
+
102
+ # 4.2 DIFFERENTIABILITY OF THE CRITIC
103
+
104
+ Observation 2. The assumption of differentiability of the optimal critic is not valid at points of interest.
105
+
106
+ Consider the example of two discrete probability distributions and its optimal critic function $f ^ { * }$ shown on the left in Figure 2. We can see that the indicated function $f ^ { * } ( x ) = 1 - | x | \in \mathcal { L } i p _ { 1 }$ is optimal as it leads to an equality in the equation of the Kantorovich dual. (Also, it is the only continuous function, up to a constant, that realizes $f ^ { * } ( x ) - f ^ { * } ( y ) = | y - x |$ for coupled points $( x , y )$ .) However, it is not differentiable at 0.
107
+
108
+ ![](images/11f5c81a1d1e656da378653eb4256b88db9ed2709f3dad859fc0358c24ac00ab.jpg)
109
+ Figure 2: Non-differentiable optimal critic functions $\mathrm { f ^ { * } }$ (shown in blue). Left: For two discrete distributions: Circles and crosses belong to samples from the empirical distribution and the generative model, respectively. An approximating differentiable function is shown in green. Right: For two continuous distributions: The empirical distribution $\mu$ is shown in gray, the generative distribution $\nu$ is shown in green.
110
+
111
+ The counterexample can be made continuous by considering the points as the center points of Gaussians, as illustrated on the right in Figure 2. This is formalized by the following proposition showing that the critic indicated in blue is indeed optimal for the depicted gray Gaussian of real data and the green mixture of two Gaussians of generated data.
112
+
113
+ Proposition 2. Let $\mu = \mathcal { N } ( 0 , 1 )$ be a normal distribution centered around zero and $\nu = \nu _ { - 1 } + \nu _ { 1 }$ be a mixture of the two normal distributions $\begin{array} { r } { \nu _ { - 1 } = \frac { 1 } { 2 } \mathcal { N } ( - 1 , 1 ) } \end{array}$ and $\begin{array} { r } { \nu _ { 1 } = \frac { 1 } { 2 } \mathcal { N } ( 1 , 1 ) } \end{array}$ over the real line. If $\mu$ describes the distribution of real data and $\nu$ describes the distribution of the generative model, then an optimal critic function is given by $\phi ^ { * } ( x ) = - | x |$ .
114
+
115
+ The proof can be found in Appendix C.3.
116
+
117
+ The issue with non-differentiability can be generalized to higher-dimensional spaces based on the observation that an optimal coupling is in general not deterministic. Deterministic couplings are particularly nice in the sense that they allow a transport plan assigning each point $x$ from one distribution deterministically to a point $y$ of the other distribution, without having to split any masses (the search for deterministic optimal couplings is called the Monge problem). However, in a lot of settings no deterministic coupling exists. The notion of a deterministic coupling is formalized in the following definition.
118
+
119
+ Definition 2. Let $( X , \mu )$ and $( Y , \nu )$ be two probability spaces. A coupling $\pi \in \Pi ( \mu , \nu )$ is called deterministic if there is a measurable function $\rho : X Y$ such that su $\eta ( \pi ) \subseteq \{ ( x , \rho ( x ) ) | x \in X \}$ .
120
+
121
+ We can now formulate the following observation.
122
+
123
+ Observation 3. Suppose $\pi ^ { * }$ is a non-deterministic optimal coupling between two probability distributions over $\mathbb { R } ^ { n }$ so that there exist points $( x , y )$ and $( x , y ^ { \prime } )$ in $s u p p ( \pi ^ { * } )$ . Suppose further that there is no $\lambda > 0$ with $( y - x ) = \lambda \cdot ( y ^ { \prime } - x )$ (in particular this implies $y \ne y ^ { \prime }$ ). Then any optimal critic function $f ^ { * }$ is not differentiable at $x$ .
124
+
125
+ The arguments can be found in Appendix C.5.
126
+
127
+ In practice, where the optimal critic is approximated by a NN, the situation is slightly different: A function modeled by an NN is (almost) everywhere differentiable (depending on the activation functions). By the Stone-Weierstrass theorem, on compact sets, we can approximate any (Lipschitz-)continuous function by differentiable functions uniformly. Nevertheless, it seems to be a strong constraint on an approximating function to have a gradient of norm one in the neighborhood of a non-differentiability (cf. Figure 2 (a)). Therefore, we argue – in contrast to the argumentation of Gulrajani et al. (2017) – that the gradient should not be assumed to equal one for arbitrary points on the line between an arbitrary real point $x$ and a generated point $y$ .
128
+
129
+ # 5 HOW TO REGULARIZE WGANS
130
+
131
+ In the following, we will discuss how the regularization of WGANs can be improved.
132
+
133
+ Penalizing the violation of the Lipschitz constraint. For the critic function, we have nothing more at hand than the inequality of the Lipschitz-constraint. Moreover (as shown in Lemma 1 in the Appendix) the exhaustion of the Lipschitz constant is automatic by maximizing the objective function. Therefore, a natural choice of regularization is to penalize the given constraint directly, i.e., sample two points $x \sim \mu$ and $y \sim \nu$ from the empirical and the generated distribution respectively and add the regularization term
134
+
135
+ $$
136
+ \left( \operatorname* { m a x } \left\{ 0 , { \frac { | f ( x ) - f ( y ) | } { | | x - y | | _ { 2 } } } - 1 \right\} \right) ^ { 2 }
137
+ $$
138
+
139
+ to the cost function. (We square to penalize larger deviations more than smaller ones.) Note the similarity of the regularization term to the squared Hinge loss, which is also used to turn a hard constraint into a soft one in the optimization problem connected to support vector machines.
140
+
141
+ Alternatively, since the NN generates (almost everywhere) differentiable functions, we can penalize whenever gradient norms are strictly larger than one, an option referred to as “one-sided penalty” and shortly discussed as an alternative to penalizing any deviation from one by Gulrajani et al. $( 2 0 1 7 ) ^ { 4 }$ . Note that enforcing the gradient to be smaller than one in norm has the advantage that we penalize when the partial derivative has norm $> 1$ into the direction of steepest descent. Hence, all partial derivatives are implicitly enforced to be bounded in norm by one, too. At the same time, enforcing $\leq 1$ for the gradient of smooth approximating functions is not an unreasonable constraint even at points of non-differentiability. For these reasons we suggest to add the regularization term $\big ( \operatorname* { m a x } { \{ 0 , \lvert \lvert \nabla f ( \hat { x } ) \rvert \rvert - 1 \} } \big ) ^ { 2 }$ to the cost function. Different ways of sampling the point $\hat { x }$ are analyzed in Appendix D.4. Thus, our proposed method (WGAN-LP, where LP stands for Lipschitz penalty) alternates between updating the discriminator to minimize
142
+
143
+ $$
144
+ \begin{array} { r } { \mathbb { E } _ { y \sim \nu } [ f ( y ) ] - \mathbb { E } _ { x \sim \mu } [ f ( x ) ] + \lambda \mathbb { E } _ { \hat { x } \sim \tau } [ ( \operatorname* { m a x } \left\{ 0 , | | \nabla f ( \hat { x } ) | | - 1 \right\} ) ^ { 2 } ] \ , } \end{array}
145
+ $$
146
+
147
+ (where $\tau$ depends on the concrete sampling strategy chosen) and updating the generator network modeling $\nu$ to minimize $- \mathbb { E } _ { y \sim \nu } [ f ( y ) ]$ using gradient descent.
148
+
149
+ The connection to regularized optimal transport. Consider Equation (2) of regularized OT. For a hard constraint $f ( x ) - g ( y ) \leq | | x - y | | _ { 2 }$ , one can attain the supremum over $\bar { \mathbb { E } } _ { x \sim \mu } [ f ( x ) ] -$ $\mathbb { E } _ { y \sim \nu } [ g ( y ) ] - 0$ by setting $f ( x ) = \operatorname* { i n f } _ { y } g ( y ) + | | x - y | | _ { 2 } = g ( x )$ and subsequently maximize over one function only. Taking the advantage of dealing with a single function as a motivation, one may similarly replace $f = g$ in Equation 2, which uses a soft constraint (even though this can now only approximate the supremum). This leads to an objective of minimizing
150
+
151
+ $$
152
+ \mathbb { E } _ { y \sim \nu } [ f ( y ) ] - \mathbb { E } _ { x \sim \mu } [ f ( x ) ] + \frac { 4 } { \epsilon } \int \int \operatorname* { m a x } \big \{ 0 , ( f ( x ) - f ( y ) - | | x - y | | _ { 2 } ) \big \} ^ { 2 } \mathrm { d } \mu ( x ) \mathrm { d } \nu ( y )
153
+ $$
154
+
155
+ that, similarly to Equation (7), softly penalizes whenever $f ( x ) - f ( y ) > | | x - y | | _ { 2 }$ for a real sample $x$ and a generated sample $y$ . It is noteworthy that to justify the replacement $f \ = \ g$ one would require a high regularization parameter $\lambda = \frac { 4 } { \epsilon }$ of the dual problem, which corresponds to a low regularization of the primal problem.
156
+
157
+ Dependence on the regularization hyperparameter $\lambda$ . Let $\mathcal { L } _ { \lambda } ^ { G P }$ and $\mathcal { L } _ { \lambda } ^ { L P }$ denote the infimums of the regularized losses over a class of (differentiable) critic functions $f$ from Equation (6) (WGANGP) and Equation (8) (WGAN-LP) respectively. For the comparison of these optimal losses we have the following result (proof in Appendix C.4).
158
+
159
+ # Proposition 3.
160
+
161
+ $$
162
+ \begin{array} { r } { \mathcal { L } _ { \lambda } ^ { L P } \le \mathcal { L } _ { \lambda } ^ { G P } \le \mathcal { L } _ { \lambda } ^ { L P } + \lambda } \end{array}
163
+ $$
164
+
165
+ In particular, for small $\lambda$ the optimal scores approximately agree. On the other hand, increasing $\lambda$ strengthens the soft constraints, which means that the theoretical observations from Section 4 become more pertinent with growing $\lambda$ . Our experiments show exactly the behavior that WGANLP and WGAN-GP perform very similarly for small $\lambda$ , while WGAN-LP performs much better for larger values of $\lambda$ and its performance is much less dependent on the choice of hyperparameter $\lambda$ .
166
+
167
+ A more general view. The Kantorovich duality theorem holds in a quite general setting. For example, a different metric can be substituted for the Euclidean distance $| | \cdot | | _ { 2 }$ . Taking $| | \cdot | | _ { 2 } ^ { \bar { p } }$ for a different natural number $p$ for example leads to the minimization of the Wasserstein distance of order $p$ (i.e., the Wasserstein- $p$ distance). Based on the dual problem to the computation of the Wasserstein distance of order $p$ (as given by the Kantorovich duality theorem) we still need to maximize Equation (5) with the only difference that 1-Lipschitz-continuity is now measured with respect to $| | \cdot | | _ { 2 } ^ { p }$ . For our training method this entails that the only modification to make is to use the regularization term given by (7), where the Euclidean distance is replaced by the metric of interest. We provide experimental results for the Wasserstein-2 distance in Appendix D.5.
168
+
169
+ Recently, by Bellemare et al. (2017), the Wasserstein distance was replaced by the energy distance 5. For the training of Cramer GANs, the authors apply the GP-penalty term proposed by Gulrajani et al. (2017). We expect that using the LP-penalty term instead is also beneficial for Cramer GANs.
170
+
171
+ # 6 EXPERIMENTS
172
+
173
+ We perform several experiments on three toy data sets, 8Gaussians, 25Gaussians, and Swiss Roll 6, to compare the effect of different regularization terms. More specifically, we compare the performance of WGAN-GP and WGAN-LP as described in Equations (6) and (8) respectively, where the penalty was applied to points randomly sampled on the line between the training sample $x$ and the generated sample $y$ . Other sampling methods are discussed in Appendix D.4.
174
+
175
+ Both, the generator network and the critic network, are simple feed-forward NNs with three hidden Leaky ReLU layers, each containing 512 neurons, and one linear output layer. The dimensionality of the latent variables of the generator network was set to two. During training, 10 critic updates are performed for every generator update, except for the first 25 generator updates, where the critic is updated 100 times for each generator update in order to get closer to the optimal critic in the beginning of training. Both networks were trained using RMSprop (Tijmen & Hinton, 2012) with learning rate $5 \cdot 1 0 ^ { - 5 }$ and a batch size of 256.
176
+
177
+ To see whether our findings on toy data sets can be transferred to real world settings, we trained bigger WGAN-GPs and WGAN-LPs on CIFAR-10 as it is described below. Code for the reproduction of our results is available under https://github.com/lukovnikov/improved_wgan_ training .
178
+
179
+ Level sets of the critic. A qualitative way to evaluate the learned critic function for a twodimensional data set is by displaying its level sets, as it was done by Gulrajani et al. (2017) and Kodali et al. (2017). The level sets after 10, 50, 100 and 1000 training iterations of a WGAN trained with the GP and LP penalty on the Swiss Roll data set are shown in Figure 3. Similar experimental results for the 8Gaussians and 25Gaussian data sets can be found in Appendix D.1.
180
+
181
+ It becomes clear that with a penalty weight of $\lambda = 1 0$ , which corresponds to the hyperparameter value suggested by Gulrajani et al. (2017), the WGAN-GP does neither learn a good critic function nor a good model of the data generating distribution. With a smaller regularization parameter, $\lambda = 1$ , learning is stabilized. However, with the LP-penalty a good critic is learned even with a high penalty weight in only a few iterations and the level sets show higher regularity. Training a WGAN-LP with lower penalty weight led to equivalent observations (results not shown). We also experimented with much higher values for $\lambda$ , which led to almost the same results as for $\lambda = 1 0$ , which emphasizes that LP-penalty based training is less sensitive to the choice of $\lambda$ .
182
+
183
+ Evolution of the critic loss. To yield a fair comparison of methods applying different regularization terms, we display values of the critic’s loss functions without the regularization term throughout training. Results for WGAN-GPs and WGAN-LPs are shown in Figure 4.
184
+
185
+ The optimization of the critic with the GP-penalty and $\lambda = 5$ is very unstable: the loss is oscillating heavily around 0. When we use the LP-penalty instead, the critic’s loss smoothly reduces to zero, which is what we expect when the generative distribution $\nu$ steadily converges to the empirical distribution $\mu$ . Also note that we would expect the negative of the critic’s loss to be slightly positive, as a good critic function assigns higher values to real data points $x \sim \mu$ and lower values to generated points $y \sim \nu$ . This is exactly what we observe when using the LP-penalty Interestingly, when using the LP-penalty in combination with a very high penalty weight, like $\lambda = 1 0 0$ , we obtain the same results, indicating that the constraint is always fulfilled for $\lambda = 1 0$ already. Using $\lambda = 1$ in combination with the GP-penalty on the other hand stabilized training but still results in fluctuations in the beginning of the training (results shown in Appendix D.2).
186
+
187
+ ![](images/9114ad5c1ad7f14aa640ab92f786f352c64914a0bcbc89633b29609911271fc5.jpg)
188
+ Figure 3: Level sets of the critic $f$ of WGANs during training, after 10, 50, 100, 500, and 1000 iterations. Yellow corresponds to high, purple to low values of $f$ . Training samples are indicated in red, generated samples in blue. Top: GP-penalty with $\lambda = 1 0$ . Middle: GP-penalty with $\lambda = 1$ . Bottom: LP-penalty with $\lambda = 1 0$ .
189
+
190
+ ![](images/4e8d8d216eee3edfef0aa999d2b75b9d91c0c3a02159228e789ff3f5960b8de9.jpg)
191
+ Figure 4: Evolution of the negative of WGAN critic’s loss (without the regularization term) for $\lambda = 5$ . Median results over the 20 runs (blue area indicates quantiles, green dots outliers). Left: For the GP-penalty. Right: For the LP-penalty.
192
+
193
+ Estimating the Wasserstein distance. In order to estimate how the actual Wasserstein distance between the real and generated distribution evolves during training, we compute the cost of minimum assignment based on Euclidean distance between sets of samples from the real and generated distributions, using the Kuhn-Munkres algorithm (Kuhn, 1955). We use a sample set size of 500 to maintain reasonable computation time and estimate the distance every 10th iteration over the course of 500 iterations. All experiments were repeated 10 times for different random seeds. From the results for WGAN-GP and WGAN-LP with $\lambda = 5$ shown in Figure 5, we conclude that the proposed LP-penalty leads to smaller estimated Wasserstein distance and less fluctuations during training.
194
+
195
+ Table 1: Inception Score on CIFAR-10. Reported are the maximal mean values reached during training. Means are computed over 10 image sets, variances given in parenthesis.
196
+
197
+ <table><tr><td>PENALTYWEIGHT</td><td>WGAN-GP</td><td>WGAN-LP</td></tr><tr><td></td><td></td><td></td></tr><tr><td>0.1</td><td>7.781 (± 0.104)</td><td>8.017(± 0.075)</td></tr><tr><td>5</td><td>7.817 (± 0.095)</td><td>7.859 (± 0.085)</td></tr><tr><td>10</td><td>7.840 (± 0.066)</td><td>7.989 (± 0.119)</td></tr><tr><td>100</td><td>7.548 (± 0.102)</td><td>7.815 (± 0.038)</td></tr><tr><td>200</td><td>7.472 (± 0.070)</td><td>7.721 (± 0.105)</td></tr></table>
198
+
199
+ When training WGAN-GPs with a regularization parameter of $\lambda = 1$ , training is stabilized as well (see Appendix D.3), indicating that the effect of using a GP-penalty is highly dependent on the right choice of $\lambda$ .
200
+
201
+ ![](images/e080c28eaf0818864518b0493e0fcca377e9f9e80476ad2b775748fd377c00c5.jpg)
202
+ Figure 5: Evolution of the approximated Wasserstein-1 distance during training of WGANs $\lambda = 5$ , median results over 10 runs). Left: For the GP-penalty. Right: For the LP-penalty.
203
+
204
+ Sample quality on CIFAR-10. We trained WGANs with the same ResNet generator and discriminator and the same hyperparameters as Gulrajani et al. (2017) and computed the Inception score (Salimans et al., 2016) throughout training (plots can be found in Appendix D.6). The maximal scores reached in 100000 training iterations with different regularization parameters are reported in Table 1. WGAN-LP reaches the similar or slightly better Inception score as WGAN-GP with small penalty weight $( \lambda \leq 1 0 )$ , while being more stable to other choices of this hyperparameter. This is especially interesting in the light of a recent large scale study, which also reported a strong dependence of sample quality on $\lambda$ for WGAN-GP (see, Figure 8 and 9 in Lucic et al., 2017). Another interesting observation can be made by monitoring the value of the regularization term during training, as in Figure 6), where contributions to the penalty from $| | \nabla f ( \hat { x } ) \bar { | | } > 1$ are shown in the upper and contributions $| | \nabla f ( \hat { x } ) | | < 1$ (only existing for WGAN-GP) are shown in the lower half plane. While the values of the one-sided regularization of WGAN-LP are only slightly larger for larger $\lambda$ (100 compared to 5) the regularization of WGAN-GP shows a strong dependence on the choice of the regularization parameter. For $\lambda = 5$ the penalty contributions from gradient norms smaller than one almost vanished (we found this getting even more severe for even smaller regularization parameters). That is, in a setting where WGAN-GP is performing fine it actually acts similar to WGAN-LP.
205
+
206
+ Related penalties We tested the effects of using the regularization terms given by Equation (7) and Equation (9) instead of the the proposed regularization given in Equation (8). Both lead to good performance on toy data but to considerably worse results on CIFAR-10, where training was very unstable. Results are shown in Appendix D.7
207
+
208
+ ![](images/956938475f42a793287463fe120d59971d47c5518aacc5a0ee91c445fc6de12d.jpg)
209
+ Figure 6: Comparison of the magnitude of the gradient penalty during training on CIFAR, showing $< 1$ and $> 1$ contributions (i.e. $\mathbf { \dot { m } } \mathrm { i n } ( 0 , | | \nabla f ( \mathbf { \dot { \hat { x } } } ) | | - 1 ) ^ { \mathbf { \dot { 2 } } }$ resp. $\operatorname* { m a x } ( \bar { 0 } , | | \nabla f ( \bar { { \boldsymbol x } } ) | | - 1 ) ^ { 2 } )$ ). Left: for regularization parameter $\lambda = 5$ . Right: for regularization parameter $\lambda = 1 0 0$ . The (one-sided) gradient penalty of WGAN-LP is depicted in blue (solid), the gradient penalty of WGAN-GP in red (dashed). All the values for every iteration (one mini-batch) are shown in light blue and red. Dark blue and red lines show the mean over a sliding window of size 500. The figure shows that the part of the gradient penalty of WGAN-GP penalizing a gradient $\leq 1$ almost vanishes for a small regularization parameter, bringing it close to WGAN-LP. For larger values of the regularization parameter, the total penalty of WGAN-GP and its contributing parts are larger than the penalty of WGAN-LP, however, the performance of WGAN-GP suffers more.
210
+
211
+ # 7 CONCLUSION
212
+
213
+ For stable training of Wasserstein GANs, we propose to use the following penalty term to enforce the Lipschitz constraint that appears in the objective function:
214
+
215
+ $$
216
+ \mathbb { E } _ { \hat { x } \sim \tau } [ ( \operatorname* { m a x } \left\{ 0 , \vert \vert \nabla f ( \hat { x } ) \vert \vert - 1 \right\} ) ^ { 2 } ] \tau .
217
+ $$
218
+
219
+ We presented theoretical and empirical evidence that this gradient penalty performs better than the previously considered approaches of clipping weights and of applying the stronger gradient penalty given by $\mathbb { E } _ { \hat { x } \sim \tau } [ ( | | \nabla f ( \bar { x } ) | | _ { 2 } - 1 ) ^ { 2 } ]$ . In addition to more stable learning behavior, the proposed regularization term leads to lower sensitivity to the value of the penalty weight $\lambda$ (demonstrating smooth convergence and well-behaved critic scores throughout the whole training process for different values of $\lambda$ ).
220
+
221
+ # ACKNOWLEDGMENTS
222
+
223
+ This work is supported in part by the European Union under the Horizon 2020 Framework Program for the project WDAqua (GA 642795).
224
+
225
+ The authors thank the anonymous reviewers for their valuable suggestions.
226
+
227
+ # REFERENCES
228
+
229
+ Mart´ın Arjovsky and Leon Bottou. Towards principled methods for training generative adversarial ´ networks. arXiv e-print, arXiv:1701.04862, 2017.
230
+ Mart´ın Arjovsky, Soumith Chintala, and Leon Bottou. Wasserstein generative adversarial networks. ´ In Proceedings of the 34th International Conference on Machine Learning, ICML 2017, Sydney, NSW, Australia, pp. 214–223, 2017.
231
+ Marc G. Bellemare, Ivo Danihelka, Will Dabney, Shakir Mohamed, Balaji Lakshminarayanan, Stephan Hoyer, and Remi Munos. The Cramer distance as a solution to biased Wasserstein gra- ´ dients. arXiv e-print, arXiv:1705.10743, 2017.
232
+ Mathieu Blondel, Vivien Seguy, and Antoine Rolet. Smooth and sparse optimal transport. arXiv e-prints, arXiv:1710.06276, 2017.
233
+ Xi Chen, Yan Duan, Rein Houthooft, John Schulman, Ilya Sutskever, and Pieter Abbeel. Infogan: Interpretable representation learning by information maximizing generative adversarial nets. In Advances in Neural Information Processing Systems 29, pp. 2172–2180, 2016.
234
+ Marco Cuturi. Sinkhorn distances: Lightspeed computation of optimal transport. In Advances in Neural Information Processing Systems 26, pp. 2292–2300, 2013.
235
+ Arnaud Dessein, Nicolas Papadakis, and Jean-Luc Rouas. Regularized optimal transport and the rot mover’s distance. arXiv e-prints, arXiv:1610.06447, 2016.
236
+ David A. Edwards. On the Kantorovich–Rubinstein theorem. Expositiones Mathematicae, 29(4): 387 – 398, 2011.
237
+ Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Advances in Neural Information Processing Systems 27, pp. 2672–2680, 2014.
238
+ Ishaan Gulrajani, Faruk Ahmed, Mart´ın Arjovsky, Vincent Dumoulin, and Aaron C. Courville. Improved training of Wasserstein GANs. arXiv e-prints, arXiv:1704.00028, 2017.
239
+ Naveen Kodali, Jacob D. Abernethy, James Hays, and Zsolt Kira. How to train your DRAGAN. arXiv e-prints, arXiv:1705.07215v3, 2017.
240
+ Harold W. Kuhn. The Hungarian method for the assignment problem. Naval Research Logistics Quarterly, 2:83–97, 1955.
241
+ Mario Lucic, Karol Kurach, Marcin Michalski, Sylvain Gelly, and Olivier Bousquet. Are GANs created equal? A large-scale study. arXiv e-prints, arXiv:1711.10337, 2017.
242
+ Sebastian Nowozin, Botond Cseke, and Ryota Tomioka. f-gan: Training generative neural samplers using variational divergence minimization. In Advances in Neural Information Processing Systems 29, pp. 271–279. 2016.
243
+ Alec Radford, Luke Metz, and Soumith Chintala. Unsupervised representation learning with deep convolutional generative adversarial networks. arXiv e-prints, arXiv:1511.06434, 2015.
244
+ Tim Salimans, Ian Goodfellow, Wojciech Zaremba, Vicki Cheung, Alec Radford, Xi Chen, and Xi Chen. Improved techniques for training gans. In Advances in Neural Information Processing Systems 29, pp. 2234–2242. 2016.
245
+ Gabor J Sz ´ ekely and Maria L Rizzo. Energy statistics: A class of statistics based on distances. ´ Journal of statistical planning and inference, 143(8):1249–1272, 2013.
246
+ Tieleman Tijmen and Geoffrey Hinton. Lecture 6.5—RmsProp: Divide the gradient by a running average of its recent magnitude. COURSERA: Neural Networks for Machine Learning, 2012.
247
+ Ilya Tolstikhin, Sylvain Gelly, Olivier Bousquet, Carl-Johann Simon-Gabriel, and Bernhard Scholkopf. Adagan: Boosting generative models. ¨ arXiv e-prints, arXiv:1701.02386, 2017.
248
+ Cedric Villani. ´ Optimal Transport: Old and New. Grundlehren der mathematischen Wissenschaften. Springer Berlin Heidelberg, 2008. ISBN 9783540710509.
249
+
250
+ # A PROPERTIES OF AN OPTIMAL CRITIC FUNCTION OF WGANS
251
+
252
+ An issue of the original GAN discriminator was that it outputs zero every time it is certain to see generated data, independent on how far away a generated data point lies from the real distribution. As a consequence, locally, there is no incentive for the generator to rather generate a value closer to (but still off) the real data; GAN critic’s optimal value is zero in either case. The WGAN’s optimal critic function measures this distance which helps for the generated distribution to converge, but the interpretation of the absolute value as indicating real (close to 1) and fake data (close to 0) is lost. And worse, there is even no guarantee that the relative values of the optimal critic function help to decide what is real and what is fake. Although this does not seem to cause major problems for the iterative training procedure in practice, we still consider it worthwhile to give a specific example justifying the following observation.
253
+
254
+ Observation 4. The WGAN generator could learn wrong things, basing its decision on the values of the optimal critic function, i.e., if it generates at locations of high critic function values.
255
+
256
+ Consider the following setting, where the X’s represent generated and the O’s represent real data points.
257
+
258
+ ![](images/a3dedd261c72a4b6d5595160dc8eefbee8b520bc7649ad55938a5cf4083a1730.jpg)
259
+ Figure 7: Values of the WGAN critic function for some generated data points can be higher than the critic’s values for some real data points. Thus, fake and real points can not be distinguished based on the critics values alone. Real data points are represented by O, generated by X.
260
+
261
+ An optimal coupling in this example is quite obvious: We connect the left-most O with the X on the left, and then extend by an arbitrary matching of the other O’s with the other X’s. It is then not hard to verify that the indicated critic function with slope 1 or $- 1$ almost everywhere leads to an equality in the Kantorovich duality and hence is optimal. The value of the critic function at the left-most X is higher than the value at the right-most O, suggesting to generate images at the wrong position. This issue might be fixed by the alternating updates of generator and critic at a later stage of training when less X’s are generated so far on the right side of the O’s. The critic function will then flatten the peak, eventually assigning a lower value to an $\mathrm { X }$ on the left than to any of the O’s.
262
+
263
+ Remark 1. The same holds (with only a slight change of the critic function $f$ ) if the $X$ ’s and $O _ { s }$ denote the centers of Gaussians. This can be shown with similar arguments as those in the proofs in Appendix C.3.
264
+
265
+ # A.1 PROVING OPTIMALITY OF CERTAIN COMBINATIONS OF COUPLING AND CRITIC FUNCTION
266
+
267
+ We show here that the coupling and critic function indicated in Figure 1 are indeed optimal.
268
+
269
+ In the one-dimensional example on the left, $\begin{array} { r } { \int _ { \mathbb { R } \times \mathbb { R } } | x - y | d \pi ^ { * } ( x , y ) = \frac { 1 } { 7 } ( 1 + 1 + 1 + 1 + 1 + 1 + 1 ) = } \end{array}$ $\begin{array} { r } { \int _ { \mathbb { R } } f ^ { * } ( x ) d \mu ( x ) - \int _ { \mathbb { R } } f ^ { * } ( x ) d \nu ( x ) } \end{array}$ and thus $\pi ^ { * }$ and $f ^ { * }$ are indeed optimal.
270
+
271
+ In the two-dimensional example on the right, the coupling indicated in red and the critic function (described by its function values in blue) are optimal, since with this choice we have
272
+
273
+ $\begin{array} { r } { \int _ { \mathbb { R } ^ { n } \times \mathbb { R } ^ { n } } | | x - y | | _ { 2 } \ d \pi ^ { * } ( x , y ) \ = \ \frac { 1 } { 2 } ( 1 + 1 ) \ = \ 1 } \end{array}$ and $\begin{array} { r } { \int _ { \mathbb { R } ^ { n } } f ^ { * } ( y ) \ d \nu ( y ) \ - \ \int _ { \mathbb { R } ^ { n } } f ^ { * } ( x ) \ d \mu ( x ) \ = } \end{array}$ $\textstyle { \frac { 1 } { 2 } } ( 1 + a + 1 ) - { \frac { 1 } { 2 } } ( 0 + a ) = 1$ . Equality of the left hand side and right hand side of the equation proves optimality on both sides.
274
+
275
+ # B THE ISSUE WITH THE WEIGHT CLIPPING APPROACH
276
+
277
+ The critic function of WGAN is given by a neural network, which raises the question on how to enforce the 1-Lipschitz constraint in the maximization problem of the objective in Equation (5). As Arjovsky et al. (2017) point out, it does not matter whether to maximize over 1-Lipschitz or $\alpha$ - Lipschitz continuous functions, since we can equivalently optimize $\alpha \cdot W ( \mu , \nu )$ instead of $W ( \mu , \nu )$ . An easy consideration leads to the following lemma.
278
+
279
+ Lemma 1. The optimal critic function $f ^ { * }$ (leading to the maximum in Eq. (4)) exhausts the Lipschitz constraint for given $\alpha$ in the sense that there is a pair of points $( x , y )$ such that $f ^ { * } ( x ) - f ^ { * } ( y ) =$ $\alpha | | x - y | | _ { 2 }$ .
280
+
281
+ Proof. If supx6=y n f ∗(y)−f ∗(x)||x−y|| o = c < α , then g = 1c f ∗ generates a contradiction to the optimality of $f ^ { * }$ . (Alternatively, in the case $\alpha = 1$ , it follows directly from Theorem 1, (ii), that the transport is optimal if and only if the Lipschitz constraint of one is exhausted for any two points of the coupling.) □
282
+
283
+ Observation 5. Weight clipping is not a good strategy to enforce the Lipschitz constraint for the critic function.
284
+
285
+ First note that by clipping the weights we enforce a common Lipschitz constraint, where the common Lipschitz constant $\bar { \alpha }$ is defined as the minimal $\alpha \in \mathbb { R }$ such that ${ \overline { { f ( x ) - f ( y ) } } } \leq \alpha \| x - y \| _ { 2 }$ for all $x , y$ and all functions $f$ that can be generated by the network under weight clipping. The actual value of $\bar { \alpha }$ does not follow directly from the weight clipping constant $c _ { \mathrm { m a x } }$ but can be computed from the structure of the network. From Lemma 1 we know that an optimal $f ^ { * }$ exhausts the Lipschitz constraint. We will now show exemplarily for deep NN with rectified linear unit (ReLU) activation functions that there is an extremely limited number of functions generated by the NN using weight clipping that do exhaust the implicitly given common Lipschitz constraint $\bar { \alpha }$ . It follows that, in almost all cases, the optimal $f ^ { * }$ is not in the class of functions that can be generated by the network under the weight clipping constraint.
286
+
287
+ Proposition 4. Consider a (deep) NN with ReLU activation functions and linear output layer. A function generated by the NN under constraining each weight in absolute value by $c _ { m a x }$ exhausts the common Lipschitz constraint if and only if
288
+
289
+ (a) The weight matrix of the first layer consists of constant columns with value $c _ { m a x } o r - c _ { m a x } .$
290
+
291
+ $( b )$ The weights of all other layers are given by a matrix $C ^ { m a x }$ with every entry equal to $c _ { m a x }$
292
+
293
+ Proof. We need to determine every function $f ^ { * }$ generated by the neural network, such that we can find points $x ^ { * } \neq y ^ { * }$ with $f ^ { * } ( y ^ { * } ) - f ^ { * } ( x ^ { * } ) = \bar { \alpha } | | x ^ { * } - y ^ { * } | | _ { 2 }$ . Recall that $\bar { \alpha }$ is defined as the minimal $\alpha$ satisfying $f ( y ) - f ( x ) \leq \alpha \vert \vert x - y \vert \vert _ { 2 }$ for all functions $f$ generated by the neural network and all points $x , y$ .
294
+
295
+ In the following, we will denote by $\alpha ( f )$ the Lipschitz constant of $f$ , i.e., the smallest $\alpha \in \mathbb { R }$ such that $f ( x ) - f ( y ) \leq \alpha \vert \vert x - y \vert \vert _ { 2 }$ for all $x , y$ .
296
+
297
+ Every function generated by the neural net is a composition of functions
298
+
299
+ $$
300
+ f = f _ { n } \circ { \mathrm { r e l u } } \circ f _ { n - 1 } \circ . . . \circ { \mathrm { r e l u } } \circ f _ { 1 } .
301
+ $$
302
+
303
+ with linear functions $f _ { i }$ and relu denoting a layer of activation functions with rectifier linear units. Since each linear function $f _ { i }$ is Lipschitz continuous with Lipschitz constant $\alpha ( f _ { i } )$ and relu is Lipschitz continuous with $\alpha ( \mathrm { r e l u } ) = 1$ , it follows that $f$ is Lipschitz continuous with $\begin{array} { r } { \dot { \alpha } ( f ) \le \prod _ { i } \alpha ( \bar { f } _ { i } ) } \end{array}$ . Moreover, equality holds if there is a pair of points $( x , y )$ such that the consecutive images witness the maximal Lipschitz constant $\alpha ( f _ { i } )$ and $\alpha ( \mathrm { { r e l u } ) }$ for each of the individual functions making up the composition of $f$ . More formally, equality holds if and only if there is a tuple of pairs of points $( \boldsymbol { x } ^ { ( i ) } , \boldsymbol { y } ^ { ( \bar { i } ) } )$ , $1 \leq i \leq n - 1$ , such that for all $1 \leq i \leq n$ ,
304
+
305
+ (i) $\boldsymbol { x } ^ { ( i ) } \neq \boldsymbol { y } ^ { ( i ) }$
306
+
307
+ $$
308
+ | f _ { i } ( x ^ { ( i ) } ) - f _ { i } ( y ^ { ( i ) } ) | = \alpha ( f _ { i } ) | | x ^ { ( i ) } - y ^ { ( i ) } | | _ { 2 }
309
+ $$
310
+
311
+ (iv) All entries of $f _ { i } ( x ^ { ( i ) } )$ and $f _ { i } ( y ^ { ( i ) } )$ are larger or equal to zero. This is equivalent to the condition that
312
+
313
+ $$
314
+ \begin{array} { r } { | \mathrm { r e l u } ( f _ { i } ( x ^ { ( i ) } ) ) - \mathrm { r e l u } ( f _ { i } ( y ^ { ( i ) } ) ) | = \alpha ( \mathrm { r e l u } ) | | f _ { i } ( x ^ { ( i ) } ) - f _ { i } ( y ^ { ( i ) } ) | | _ { 2 } \ . } \end{array}
315
+ $$
316
+
317
+ It follows that to determine $f ^ { * }$ we need to maximize $\alpha ( f _ { i } )$ for the linear layers with weight constraint $c _ { \mathrm { m a x } }$ and find a sequence of points $( x ^ { ( i ) } , y ^ { ( i ) } )$ that satisfy (i)-(iv). The existence of the sequence of points shows that $\begin{array} { r } { \bar { \alpha } ( f ^ { * } ) = \bar { \prod } _ { i = 1 } ^ { n } \alpha ( f _ { i } ) } \end{array}$ and maximizing each $\alpha ( f _ { i } )$ then shows that
318
+
319
+ $$
320
+ \alpha ( f ^ { * } ) = \prod _ { i = 1 } ^ { n } \alpha ( f _ { i } ) = \bar { \alpha } .
321
+ $$
322
+
323
+ Since, as we will show, the conditions in (a) and (b) maximize the Lipschitz constraint of each layer individually, the existence of suitable $( x ^ { ( i ) } , y ^ { ( i ) } )$ proves the if-direction of the proposition.
324
+
325
+ For the only-if direction, we will see that the ability to find the sequence of points gives restrictions on how to maximize $\alpha ( f _ { i } )$ of an individual layer, leading to the more restrictive condition of (b) for all but the first layer (cf. (a)).
326
+
327
+ So let us first maximize the Lipschitz constraint of each linear layer and then make sure that we can find the corresponding points. We write the linear layer as a matrix multiplication $f _ { i } ( x ) = A ^ { ( i ) } x$ . Using linearity,
328
+
329
+ $$
330
+ \alpha ( f _ { i } ) = \operatorname* { m a x } _ { | | z | | _ { 2 } = 1 } | | A ^ { ( i ) } z | | _ { 2 } \ ,
331
+ $$
332
+
333
+ and our goal can be reformulated to finding the matrix $A ^ { ( i ) }$ maximizing $\alpha ( f _ { i } )$
334
+
335
+ For any fixed $z$ , $| | A ^ { ( i ) } z | | _ { 2 }$ is maximized exactly when each vector entry is maximized in absolute value. Now, with $A ^ { ( i ) } = ( a _ { j , k } ^ { ( i ) } ) _ { j , k }$ and $\operatorname { s g n } ( { \mathord { \cdot } } )$ denoting the sign function,
336
+
337
+ $$
338
+ | ( A ^ { ( i ) } z ) _ { j } | = \left| \sum _ { k } a _ { j , k } ^ { ( i ) } z _ { k } \right| \leq \sum _ { k } | a _ { j , k } ^ { ( i ) } | | z _ { k } | \leq \sum _ { k } c _ { \operatorname* { m a x } } | z _ { k } | \mathrm { ( b y ~ t h e ~ w e i g h t ~ c o n s t r a i n t ) }
339
+ $$
340
+
341
+ $$
342
+ = \sum _ { k } ( c _ { \mathrm { m a x } } \cdot \mathrm { s g n } ( z _ { k } ) ) \cdot z _ { k }
343
+ $$
344
+
345
+ and equality holds if and only if $A ^ { ( i ) }$ or $- A ^ { ( i ) }$ consists of columns of constant entry with the value $c _ { \mathrm { m a x } } \cdot \mathrm { s g n } ( z _ { k } )$ in column $k$ . It follows that
346
+
347
+ $$
348
+ \alpha ( f _ { i } ) = \operatorname* { m a x } _ { | | z | | _ { 2 } = 1 } | | A ^ { ( i ) } z | | _ { 2 } = \operatorname* { m a x } _ { | | z | | _ { 2 } = 1 } c _ { \operatorname* { m a x } } \cdot | | z | | _ { 1 }
349
+ $$
350
+
351
+ $$
352
+ = c _ { \operatorname* { m a x } } \sqrt { d i m ( z ) }
353
+ $$
354
+
355
+ with equality if and only if $\begin{array} { r } { z _ { k } = \pm \frac { 1 } { \sqrt { d i m ( z ) } } } \end{array}$ for all $k$ .
356
+
357
+ Hence, for the first linear layer we need to choose a matrix $A ^ { ( 1 ) }$ satisfying (a) of the statement of the proposition.
358
+
359
+ Now, we find a pair $( x ^ { ( 1 ) } , y ^ { ( 1 ) } )$ with
360
+
361
+ $$
362
+ x ^ { ( 1 ) } - y ^ { ( 1 ) } = a \cdot ( \pm 1 , \pm 1 , \ldots , \pm 1 ) { \mathrm { f o r ~ s o m e ~ } } a \neq 0
363
+ $$
364
+
365
+ such that
366
+
367
+ $$
368
+ \mathtt { s g n } ( x _ { k } ^ { ( 1 ) } ) = \mathtt { s g n } ( y _ { k } ^ { ( 1 ) } ) = \mathtt { s g n } ( x _ { k } ^ { ( 1 ) } - y _ { k } ^ { ( 1 ) } ) = \mathtt { t h e ~ s i g n ~ o f ~ c o l u m n } k \mathrm { ~ o f ~ } A ^ { ( 1 ) } .
369
+ $$
370
+
371
+ This is the only possibility to ensure (iii) and (iv) of the conditions above. Note that also (i) holds for $( x ^ { ( 1 ) } , y ^ { ( 1 ) } )$ , and (ii) (together with (iv)) determines $( x ^ { ( 2 ) } , y ^ { ( 2 ) } )$ uniquely from $( x ^ { ( 1 ) } , y ^ { ( 1 ) } )$ as
372
+
373
+ $$
374
+ \begin{array} { r } { x ^ { ( 2 ) } = A ^ { ( 1 ) } x ^ { ( 1 ) } = c _ { \operatorname* { m a x } } \cdot \vert \vert x ^ { ( 1 ) } \vert \vert _ { 1 } \cdot ( 1 , 1 , . . . , 1 ) } \\ { \& } \end{array} .
375
+ $$
376
+
377
+ We may assume that $| | x ^ { ( 1 ) } | | _ { 1 } ~ > ~ | | y ^ { ( 1 ) } | | _ { 1 }$ . (Otherwise, switch the roles of $x$ and $y$ . In the case of equality, we need to choose a different pair for $( x ^ { ( 1 ) } , y ^ { ( 1 ) } )$ not to violate (i) for $( x ^ { ( 2 ) } , y ^ { ( 2 ) } )$ .) Then we have that $x ^ { ( 2 ) } \neq y ^ { ( 2 ) }$ ,
378
+
379
+ $$
380
+ + 1 = \mathrm { s g n } ( x _ { k } ^ { ( 2 ) } ) = \mathrm { s g n } ( y _ { k } ^ { ( 2 ) } ) = \mathrm { s g n } ( x _ { k } ^ { ( 2 ) } - y _ { k } ^ { ( 2 ) } ) \mathrm { f o r } \mathrm { a l l } k .
381
+ $$
382
+
383
+ Using the same arguments as above, it follows that for such $( x ^ { ( 2 ) } , y ^ { ( 2 ) } )$ , to maximize the Lipschitz constant of $f _ { 2 }$ (and to guarantee that the maximum is reached at $( x ^ { ( 2 ) } , y ^ { ( 2 ) } ) )$ , we need to have $A ^ { ( 2 ) }$ equal to a matrix with $c _ { \mathrm { m a x } }$ at each position.
384
+
385
+ Now (i)-(iv) also hold for the second layer and one may now proceed by induction to show that for $i \geq 2$ , $A ^ { ( i ) }$ contains only $c _ { \mathrm { m a x } }$ for each of its entries. This is the only way to maximize the Lipschitz constraint for functions generated by the neural net, and it does indeed hold $| | f ^ { * } ( x ^ { * } ) - f ^ { * } ( y ^ { * } ) | | _ { 2 } =$ ${ \bar { \alpha } } | | x - y | | _ { 2 }$ with $x ^ { * } = x ^ { ( 1 ) } , y ^ { * } = y ^ { ( 1 ) }$ and
386
+
387
+ $$
388
+ ( x ^ { ( i ) } , y ^ { ( i ) } ) = ( f _ { i } \circ \mathsf { r e l u } \circ f _ { i - 1 } \circ \dots \circ \mathsf { r e l u } \circ f _ { 1 } ( x ^ { * } ) , f _ { i } \circ \mathsf { r e l u } \circ f _ { i - 1 } \circ \dots \circ \mathsf { r e l u } \circ f _ { 1 } ( y ^ { * } ) ) .
389
+ $$
390
+
391
+ # C PROOFS
392
+
393
+ # C.1 PROOF OF THEOREM 1
394
+
395
+ Proof. We provide the arguments how to derive our version from Theorem 5.10 of Villani (2008).
396
+
397
+ With $c ( x , y ) = | | x - y | | _ { 2 }$ , our assumptions imply (with $c _ { \mathcal { X } } = c _ { \mathcal { Y } } = | | \cdot | | _ { 2 } )$ that all conclusions of Theorem 5. $1 0 \ ( i ) - ( i i i )$ hold. Moreover, 5.4 of Villani (2008) shows that in this case $\psi = \psi ^ { c }$ (in the notation of Villani (2008)) and $c$ -convexity is the same as 1-Lipschitz continuity. This leads to our formulation in (i) and the existence of an optimal coupling $\pi ^ { * }$ and an optimal critic function $f ^ { * }$ by part (iii).
398
+
399
+ If we let
400
+
401
+ $$
402
+ \Gamma _ { f } = \{ ( x , y ) \in \mathbb { R } ^ { n } \times \mathbb { R } ^ { n } \mid f ( x ) - f ( y ) = | | x - y | | _ { 2 } \}
403
+ $$
404
+
405
+ then it follows from the proof of Theorem 5.10 that the set $\Gamma$ in part 5.10 (iii) is given by $\Gamma =$ Tf∗∈Lip optimal Γf∗ , where f ∗ being optimal means that it leads to a maximum on the RHS of equation (1).
406
+
407
+ To prove our part $( i i )$ from 5.10, let $\pi ^ { * }$ be optimal. Then, by 5.10 (iii), $\pi ^ { * } ( \Gamma ) = 1$ . Hence, in particular, $\pi ^ { * } ( \Gamma _ { f ^ { * } } ) = 1$ for all optimal $f ^ { * } \in \mathcal { L } i p _ { 1 }$ . This shows that (a) implies (b). For the other direction, we use that if $\pi ^ { * } ( \Gamma _ { f ^ { * } } ) = 1$ for all optimal $f ^ { * }$ , then $\pi ^ { * } ( \Gamma ) = 1$ , which by Theorem 5.10 (iii) is equivalent to $\pi ^ { * }$ being optimal. □
408
+
409
+ # C.2 PROOF OF PROPOSITION 1
410
+
411
+ Proof. It follows from Theorem 1 (ii) that for all $( x , y )$ in the support of $\pi ^ { * }$ we have $\left| f ^ { * } ( y ) - \right.$ $f ^ { * } ( { \dot { x } } ) | = | | x - y | | _ { 2 }$ . Considering the line between $x$ and $y$ , the 1-Lipschitz constraint implies that the values of $f ^ { * }$ have to follow a linear function (since assuming that the slope was smaller than one at some point would imply that the differentiable function must have a slope larger than one somewhere else between $x$ and $y$ , which contradicts the 1-Lipschitz constraint). It follows that at each point on the line, the partial derivative has norm equal to one into the direction pointing from the real data point $x$ to the generated one $y$ (which are coupled by the corresponding optimal coupling). Since, by the 1-Lipschitz constraint, the maximal norm of a partial derivative at any point into any direction is one, the given direction is the direction of maximal descent, i.e. equals the gradient.
412
+
413
+ # C.3 PROOF OF PROPOSITION 2
414
+
415
+ To prove Proposition 2, we first prove that $\phi ^ { * } ( x ) = - | x |$ is the optimal critic function for certain distributions with non-overlapping support, and then reduce the example with Gaussian functions to this simplified setting.
416
+
417
+ Proposition 5. Let $f$ and $g$ be two continuous functions on the real line that satisfy the following conditions:
418
+
419
+ • $f$ and $g$ are symmetric with respect to the y-axis.
420
+ • $f ( x ) \geq 0$ and $g ( x ) \geq 0$ for all $x$ .
421
+ • If $s u p p _ { \circ } ( h ) = \{ x \in \mathbb { R } \mid h ( x ) > 0 \}$ denotes the open support of a continuous function $h$ , then $s u p p _ { \circ } ( f ) \cap s u p p _ { \circ } ( g ) = \emptyset$ .
422
+ • $f$ has connected support (this implies that $f$ is centered around 0 because of the symmetry). • $\begin{array} { r } { \int _ { \mathbb { R } } f ( x ) d x = \int _ { \mathbb { R } } g ( x ) d x . } \end{array}$
423
+
424
+ Then the maximum of $\begin{array} { r } { \int _ { \mathbb { R } } \phi ( x ) ( f ( x ) - g ( x ) ) d x } \end{array}$ over $\phi \in \mathcal { L } i p _ { 1 }$ is maximized for $\phi ^ { * } ( x ) = - | x |$ .
425
+
426
+ Proof. Before going into the technical details, we wish to point out the simple idea of the proof, which is to transport the left/right half of the distribution given by $g$ to the left/right half of the distribution given by $f$ respectively.
427
+
428
+ We first multiply both $f$ and $g$ by a constant number $c$ such that
429
+
430
+ $$
431
+ \int _ { \mathbb { R } } c \cdot f ( x ) d x = \int _ { \mathbb { R } } c \cdot g ( x ) d x = 1 .
432
+ $$
433
+
434
+ Then $c \cdot f$ and $c \cdot g$ define probability density functions. A function $\phi \in \mathcal { L } i p _ { 1 }$ maximizes $\begin{array} { r } { \int _ { \mathbb { R } } \phi ( x ) ( c \cdot } \end{array}$ $f ( x ) - c \cdot g ( x ) ) d x$ if and only if it maximizes $\begin{array} { r } { \int _ { \mathbb { R } } \phi ( x ) ( f ( x ) - g ( x ) ) d x } \end{array}$ . We therefore may assume from now on that
435
+
436
+ $$
437
+ \int _ { \mathbb { R } } f ( x ) d x = \int _ { \mathbb { R } } g ( x ) d x = 1 .
438
+ $$
439
+
440
+ Now it suffices to find a coupling $\pi$ of the probability distributions defined by $f$ and $g$ (that is itself defined by a probability density function $\pi : \mathbb { R } \times \mathbb { R } \to \mathbb { R }$ ) such that for $\phi ( x ) = - | x |$ we get
441
+
442
+ $$
443
+ \int _ { \mathbb { R } \times \mathbb { R } } | x - y | \cdot \pi ( x , y ) d x d y = \int _ { \mathbb { R } } \phi ( x ) ( f ( x ) - g ( x ) ) d x .
444
+ $$
445
+
446
+ The proof then follows from the Kantorovich duality theorem 1, because the right hand side is always smaller or equal to the left hand side for arbitrary coupling $\pi$ and function $\phi \in \mathcal { L } i p _ { 1 }$ and is consequently maximized when equality holds. By the assumption of symmetry, we may write $g = g _ { 1 } + g _ { 2 }$ where the support $\operatorname { s u p p } ( g _ { 1 } ) { \overset { \cdot } { \subseteq } } \{ x \mid x { \overset { \cdot } { < } } 0 \}$ and $g _ { 2 } \bar { ( } x ) = g _ { 1 } \bar { ( } - x )$ for all $x$ . The area under $g _ { 1 } ( x )$ equals half the area under $f ( x )$ , or put differently,
447
+
448
+ $$
449
+ \int _ { \mathbb { R } } g _ { 1 } ( x ) d x = \int _ { \mathbb { R } } f ( x ) \delta _ { ( - \infty , 0 ] } ( x ) d x = \frac { 1 } { 2 } .
450
+ $$
451
+
452
+ We now consider the probability density function $\pi _ { 1 } : \mathbb { R } \times \mathbb { R } \to \mathbb { R }$ given by
453
+
454
+ $$
455
+ \pi _ { 1 } ( x , y ) = 2 g _ { 1 } ( x ) \cdot 2 f ( y ) \cdot \delta _ { ( - \infty , 0 ] } ( y ) ,
456
+ $$
457
+
458
+ which defines a coupling between the two distributions given by the probability density functions $2 g _ { 1 }$ and $2 f \cdot \delta _ { ( - \infty , 0 ] }$ . For later use we note that
459
+
460
+ $$
461
+ \int _ { x \in \mathbb { R } } \pi _ { 1 } ( x , y ) d x = 2 \cdot f ( y ) \cdot \delta _ { ( - \infty , 0 ] } ( y ) { \mathrm { ~ a n d ~ } } \int _ { y \in \mathbb { R } } \pi _ { 1 } ( x , y ) d y = 2 \cdot g _ { 1 } ( x ) .
462
+ $$
463
+
464
+ We define $\pi _ { 2 } ( x , y ) = \pi _ { 1 } ( - x , - y )$ for $y \ne 0$ and $\pi _ { 2 } ( x , 0 ) = 0$ . Further, we let $\pi = { \textstyle { \frac { 1 } { 2 } } } \pi _ { 1 } + { \textstyle { \frac { 1 } { 2 } } } \pi _ { 2 }$ Then $\pi$ defines a coupling between $g$ and $f$ as can be seen by computing
465
+
466
+ $$
467
+ \int _ { x \in \mathbb { R } } \pi ( x , y ) d x = \frac { 1 } { 2 } \int _ { x \in \mathbb { R } } \pi _ { 1 } ( x , y ) d x + \frac { 1 } { 2 } \int _ { x \in \mathbb { R } } \pi _ { 2 } ( x , y ) d x
468
+ $$
469
+
470
+ $$
471
+ = \frac { 1 } { 2 } \int _ { x \in \mathbb { R } } \pi _ { 1 } ( x , y ) d x + \frac { 1 } { 2 } \int _ { x \in \mathbb { R } } \pi _ { 1 } ( - x , - y ) \delta _ { \{ y \neq 0 \} } ( y ) d x
472
+ $$
473
+
474
+ $$
475
+ = f ( y ) \delta _ { ( - \infty , 0 ] } ( y ) + f ( y ) \delta _ { ( 0 , \infty ) } ( y ) = f ( y )
476
+ $$
477
+
478
+ and
479
+
480
+ $$
481
+ \int _ { y \in \mathbb { R } } \pi ( x , y ) d y = \frac { 1 } { 2 } \int _ { y \in \mathbb { R } } \pi _ { 1 } ( x , y ) d y + \frac { 1 } { 2 } \int _ { y \in \mathbb { R } } \pi _ { 2 } ( x , y ) d y
482
+ $$
483
+
484
+ $$
485
+ \frac { 1 } { 2 } \int _ { y \in \mathbb { R } } { \pi } _ { 1 } ( x , y ) d y + \frac { 1 } { 2 } \int _ { y \in \mathbb { R } } { \pi } _ { 1 } ( - x , - y ) \delta _ { \{ y \neq 0 \} } ( y ) d y
486
+ $$
487
+
488
+ $$
489
+ = g _ { 1 } ( x ) + g _ { 1 } ( - x ) = g _ { 1 } ( x ) + g _ { 2 } ( x ) = g ( x )
490
+ $$
491
+
492
+ We have established the existence of some coupling between $f$ and $g$ and we will now compute its transport costs. We will subsequently show that this equals $\begin{array} { r } { \int _ { \mathbb { R } } ( - | x | ) ( f ( x ) - g ( x ) ) d x } \end{array}$ , hence both $\pi$ and $\phi$ are optimal by realizing the Kantorovich duality.
493
+
494
+ We aim at showing $\begin{array} { r } { \int _ { \mathbb { R } \times \mathbb { R } } | x - y | \pi ( x , y ) d x d y = \int _ { \mathbb { R } } ( - | x | ) ( f ( x ) - g ( x ) ) d x . } \end{array}$
495
+
496
+ $$
497
+ \int _ { \mathbb { R } \times \mathbb { R } } | x - y | \pi ( x , y ) d x d y \overset { s y m m e t r y } { = } \int _ { \mathbb { R } \times \mathbb { R } } | x - y | \pi _ { 1 } ( x , y ) d x d y
498
+ $$
499
+
500
+ $$
501
+ = \int _ { \mathbb { R } \times \mathbb { R } } ( y - x ) \pi _ { 1 } ( x , y ) d x d y .
502
+ $$
503
+
504
+ The latter equation holds because for $( x , y )$ in the support of $\pi _ { 1 }$ we have $x \leq y$ . (To see this, note that support of $\pi _ { 1 }$ is a subset of the support of $g _ { 1 } \times \left( f \cdot \delta _ { ( - \infty , 0 ] } \right) .$ .) Let
505
+
506
+ $$
507
+ x _ { 0 } = \frac { \int _ { \mathbb { R } } x \cdot g _ { 1 } ( x ) d x } { \int _ { \mathbb { R } } g _ { 1 } ( x ) d x } , \mathrm { ~ a n d ~ } y _ { 0 } = \frac { \int _ { \mathbb { R } } y \cdot f ( y ) \cdot \delta _ { ( - \infty , 0 ) } ( y ) d y } { \int _ { \mathbb { R } } f ( y ) \cdot \delta _ { ( - \infty , 0 ) } ( y ) d y } .
508
+ $$
509
+
510
+ Then
511
+
512
+ $$
513
+ \int _ { \mathbb { R } } ( x - x _ { 0 } ) \cdot g _ { 1 } ( x ) d x = 0 { \mathrm { ~ a n d ~ } } \int _ { \mathbb { R } } ( y - y _ { 0 } ) \cdot f ( y ) \cdot \delta _ { ( - \infty , 0 ] } ( y ) d y = 0 .
514
+ $$
515
+
516
+ Now, it follows that
517
+
518
+ $$
519
+ \int _ { \mathbb { R } \times \mathbb { R } } ( y - x ) \pi _ { 1 } ( x , y ) d x d y = \int _ { \mathbb { R } \times \mathbb { R } } ( y - y _ { 0 } + y _ { 0 } - x ) \pi _ { 1 } ( x , y ) d x d y
520
+ $$
521
+
522
+ $$
523
+ = \int _ { x } \int _ { y } ( y - y _ { 0 } ) \pi _ { 1 } ( x , y ) d x d y + \int _ { x } \int _ { y } ( y _ { 0 } - x ) \pi _ { 1 } ( x , y ) d x d y
524
+ $$
525
+
526
+ $$
527
+ = \int _ { y } ( y - y _ { 0 } ) \int _ { x } \pi _ { 1 } ( x , y ) d x d y + \int _ { x } \int _ { y } ( y _ { 0 } - x ) \pi _ { 1 } ( x , y ) d x d y
528
+ $$
529
+
530
+ $$
531
+ = 2 \underbrace { \int _ { y } ( y - y _ { 0 } ) \cdot f ( y ) \cdot \delta _ { ( - \infty , 0 ] } ( y ) d y } _ { = 0 } + \int _ { x } \int _ { y } ( y _ { 0 } - x _ { 0 } + x _ { 0 } - x ) \pi _ { 1 } ( x , y ) d x d y
532
+ $$
533
+
534
+ $$
535
+ = ( y _ { 0 } - x _ { 0 } ) \int _ { x } \int _ { y } \pi _ { 1 } ( x , y ) d x d y + \int _ { x } ( x _ { 0 } - x ) \underbrace { \int _ { y } \pi _ { 1 } ( x , y ) d y } _ { = 2 g _ { 1 } ( x ) } d x
536
+ $$
537
+
538
+ Hence,
539
+
540
+ $$
541
+ \int _ { { \mathbb R } \times { \mathbb R } } | x - y | \pi ( x , y ) d x d y = ( y _ { 0 } - x _ { 0 } ) = \frac { \int _ { { \mathbb R } } y \cdot f ( y ) \cdot \delta _ { ( - \infty , 0 ) } ( y ) d y } { \frac { 1 } { 2 } } - \frac { \int _ { { \mathbb R } } x \cdot g _ { 1 } ( x ) d x } { \frac { 1 } { 2 } } .
542
+ $$
543
+
544
+ $$
545
+ \begin{array} { l } { { \displaystyle = 2 \int _ { \mathbb R } x \cdot ( f ( x ) \cdot \delta _ { ( - \infty , 0 ) } ( x ) - g _ { 1 } ( x ) ) d x } } \\ { { \displaystyle \quad = 2 \int _ { - \infty } ^ { 0 } x \cdot ( f ( x ) - g ( x ) ) d x } } \\ { { \displaystyle \quad = 2 \int _ { - \infty } ^ { 0 } ( - | x | ) \cdot ( f ( x ) - g ( x ) ) d x } } \\ { { \displaystyle \quad \it { s y m m e t r y } \int _ { \mathbb R } ( - | x | ) \cdot ( f ( x ) - g ( x ) ) d x } } \end{array}
546
+ $$
547
+
548
+ We are now able to proof Proposition 2
549
+
550
+ Proof to Proposition 2. Let $f$ denote the probability density function of $\mathcal { N } ( 0 , 1 )$ and $\begin{array} { r } { g = \frac { 1 } { 2 } g _ { - 1 } + } \end{array}$ $\textstyle { \frac { 1 } { 2 } } g _ { 1 }$ denote the sum of half the probability density functions $g _ { - 1 }$ of $\mathcal { N } ( - 1 , 1 )$ and $g _ { 1 }$ of $\mathcal { N } ( 1 , 1 )$ . Let
551
+
552
+ $$
553
+ \tilde { f } ( x ) = \operatorname* { m a x } \left\{ 0 , \left( f ( x ) - g ( x ) \right) \right\} \mathrm { ~ a n d ~ } \tilde { g } ( x ) = \operatorname* { m a x } \left\{ 0 , \left( g ( x ) - f ( x ) \right) \right\} ,
554
+ $$
555
+
556
+ i.e. $\tilde { f }$ and $\tilde { g }$ are the positive and the negative part of $( f - g )$ . Then $\tilde { f }$ and $\tilde { g }$ satisfy the hypothesis of Proposition 5 and the maximum
557
+
558
+ $$
559
+ \operatorname* { m a x } _ { \phi \in \mathcal { L } i p _ { 1 } } \int _ { \mathbb { R } } \phi ( x ) ( f ( x ) - g ( x ) ) d x = \operatorname* { m a x } _ { \phi \in \mathcal { L } i p _ { 1 } } \int _ { \mathbb { R } } \phi ( x ) ( \tilde { f } ( x ) - \tilde { g } ( x ) ) d x
560
+ $$
561
+
562
+ is obtained for $\phi ^ { * } ( x ) = - | x |$ .
563
+
564
+ # C.4 PROOF OF PROPOSITION 3
565
+
566
+ Proof. For any fixed function $f$ and $\lambda > 0$ , the two regularized losses of the critic function $f$ are of the form
567
+
568
+ $$
569
+ \mathcal { L } _ { \lambda } ^ { L P } ( f ) = c + \lambda \int \operatorname* { m a x } \{ 0 , ( h ( z ) - 1 ) \} ^ { 2 } ) \mathrm { d } \tau ( z ) \mathrm { a n d } \mathcal { L } _ { \lambda } ^ { G P } ( f ) = c + \lambda \int ( h ( z ) - 1 ) ^ { 2 } ) \mathrm { d } \tau ( z )
570
+ $$
571
+
572
+ for some real number $c$ , a function $h$ with with $h ( z ) \geq 0$ for all $z$ and a probability distribution $\tau$ Since for any real number $0 \leq a$ we have that
573
+
574
+ $$
575
+ \operatorname* { m a x } \{ 0 , ( a - 1 ) \} ^ { 2 } \leq ( a - 1 ) ^ { 2 } \leq \operatorname* { m a x } \{ 0 , ( a - 1 ) \} ^ { 2 } + 1
576
+ $$
577
+
578
+ it follows that
579
+
580
+ $$
581
+ \begin{array} { r } { \mathcal { L } _ { \lambda } ^ { L P } ( f ) \leq \mathcal { L } _ { \lambda } ^ { G P } ( f ) \leq \mathcal { L } _ { \lambda } ^ { L P } ( f ) + \lambda . } \end{array}
582
+ $$
583
+
584
+ Therefore the inequalities also hold for the infimum over a class of functions, hence
585
+
586
+ $$
587
+ \begin{array} { r } { \mathcal { L } _ { \lambda } ^ { L P } \leq \mathcal { L } _ { \lambda } ^ { G P } \leq \mathcal { L } _ { \lambda } ^ { L P } + \lambda . } \end{array}
588
+ $$
589
+
590
+ # C.5 THE ARGUMENTS SUPPORTING OBSERVATION 3
591
+
592
+ For the coupled pairs $( x , y )$ and $( x , y ^ { \prime } )$ we have that the partial derivatives at $x$ into the directions of $y$ and $y ^ { \prime }$ respectively have an absolute value of one. If there are two such directions and $f ^ { * }$ is differentiable, then the norm of its gradient must be larger than one, contradicting the 1-Lipschitz constraint. Indeed, recall that, considering $f$ as a function on the line $\{ x + \lambda \cdot v \mid \lambda \in \mathbb { R } \}$ with $v$ of unit length, the slope of $f$ at $x$ is given by $\nabla f ( x ) \cdot v = D _ { v } ( f ( x ) )$ . Now
593
+
594
+ $$
595
+ \nabla f ( \boldsymbol { x } ) \cdot \boldsymbol { v } = | | \nabla f ( \boldsymbol { x } ) | | _ { 2 } \cdot \cos ( \theta _ { v } )
596
+ $$
597
+
598
+ with $\theta _ { v }$ being the angle between the vector $\nabla f ( x )$ and the unit vector $v$ . Equation (10) with $\cos ( \theta _ { v } ) = 1$ has a unique solution for $v$ with $\begin{array} { r } { v \ = \ \frac { \nabla f ( x ) } { | | \nabla f ( x ) | | _ { 2 } } } \end{array}$ . It follows that, if for two different directions $v , v ^ { \prime }$ we have $D _ { v } ( f ( x ) ) = D _ { v ^ { \prime } } ( f ( x ) ) \ { = } \ 1$ , then $\cos ( \theta _ { v } ) \ = \ \cos ( \theta _ { v ^ { \prime } } ) \ < \ 1$ and $| | \nabla f ( x ) | | _ { 2 } > 1$ .
599
+
600
+ # D ADDITIONAL EXPERIMENTAL RESULTS
601
+
602
+ # D.1 LEVEL SETS OF THE CRITIC
603
+
604
+ ![](images/4a2136dae3cfd7fb551352aecb6222bfcaf070fd8f282a194917bb381cb96b30.jpg)
605
+ Figure 8: Level sets of the critic (yellow corresponds to high, purple to low values) of WGANs during training (after 10, 50, 100, 500, and 1000 iterations) on the 8Gaussian data set. Top: GPpenalty $\lambda = 1 0$ ). Middle: GP-penalty $\lambda = 1$ ). Bottom: LP-penalty $\lambda = 1 0$ ).
606
+
607
+ ![](images/2cf436e344fe43e59ace2b8a20f073f86164380f307ca30e60d7d701ee68aec3.jpg)
608
+ Figure 9: Level sets of the critic (yellow corresponds to high, purple to low values) of WGANs during training (after 10, 50, 100, 500, and 1000 iterations) on the 25Gaussian data set. Top: GPpenalty $\lambda = 1 0$ ). Middle: GP-penalty $\lambda = 1$ ). Bottom: LP-penalty $\lambda = 1 0$ ).
609
+
610
+ ![](images/16c107eda5d72cae9205ca06c5d2480096fb84758d20ce0871d3bb8f4a1559c0.jpg)
611
+ Figure 10: Evolution of the WGAN-GP critics loss without the regularization term $\lambda = 1$ ). Left: Median results over the 20 runs (blue area indicates quantiles, green dots outliers). Right: Single runs.
612
+
613
+ D.3 EVOLUTION OF THE EM DISTANCE
614
+
615
+ ![](images/3b27beb5541d469baf12b0c4cdafc297929ac25bde9e76b94995308002945581.jpg)
616
+ Figure 11: Evolution of the approximated EM distance during training WGAN-GPs with $\lambda = 1$ . Left: Median results over the 10 runs. Right: Single runs.
617
+
618
+ # D.4 DIFFERENT SAMPLING METHODS
619
+
620
+ We analyzed the effect of the GP- and the LP-penalty using different sampling procedures. In particular, we compared the sampling procedure proposed by Gulrajani et al. (2017) with variants, which generate the samples used for the regularization term by adding random noise either onto training points or onto both training and generated samples. We refer to this as “local perturbation” in the following.7 The evolution of the critics loss when using this local perturbation can be seen in Figure 12. Results are qualitatively similar to those when using the sampling procedure proposed by Gulrajani et al. (2017). Interestingly, WGAN-GP training is stabilized at a later stage if one only adds noise to training examples and not to generated examples. This indicates that enforcing the GP-penalty close to the data manifold is less harmful. However, the critic’s loss is still much more fluctuating than when training a WGAN-LP.
621
+
622
+ The evolution of the approximated EM distance when using local perturbation (by adding noise to the training examples only) is shown in Figure 13. Training with the GP-penalty leads to larger fluctuations of the approximated Wasserstein-1 distance than training with the LP-penalty. However, fluctuations are less severe compared to the setting when the GP-penalty is used in combination with the sampling procedure proposed by Gulrajani et al. (2017).
623
+
624
+ ![](images/2af3494a9d39fd5a2774dee7eff6ba209e8e6fd8d356e67bd72b46bf7b0453bb.jpg)
625
+ Figure 12: Evolution of the WGAN critic’s negative loss with local sampling (without the regularization term). Left: Median results over the 20 runs. Right: Single runs. Top: GP-penalty when generating samples by perturbing training samples only. Middle: For GP-penalty, perturbing training and generated samples. Bottom: LP-penalty, perturbing training and generated samples (very similar to perturbing only training samples)
626
+
627
+ ![](images/d2426f1160e6095513af46149bd7a0d0661ac94eeed8b7149a860b537bb72703.jpg)
628
+ Figure 13: Evolution of the approximated EM distance during training of WGANs with local perturbation $\lambda = 5$ ). Left: Median results over the 10 runs. Right: Single runs. Top: For the GP-penalty. Bottom: For the LP-penalty
629
+
630
+ # D.5 OPTIMIZING THE WASSERSTEIN-2 DISTANCE
631
+
632
+ We trained a WGAN with the objective of minimizing the Wasserstein-2 distance8, that is, with the regularization term given by
633
+
634
+ $$
635
+ \operatorname* { m a x } \left( \left\{ 0 , { \frac { | f ( x ) - f ( y ) | } { | | x - y | | _ { 2 } ^ { 2 } } } - 1 \right\} \right) ^ { 2 } \ ,
636
+ $$
637
+
638
+ and penalty weight $\lambda = 1 0$ . Results for the evolution of the critics loss and the approximated EM distance during training on the Swiss Roll data set are shown in Figure 14. Both critic loss and EM reduce smoothly, which makes the Wasserstein-2 distance (in combination with its theoretical properties) an interesting candidate to further investigations.
639
+
640
+ ![](images/3be13fe75aca3867e4dd41dcfa5e981aa48acab28f53001f51be7dfec9183e92.jpg)
641
+ Figure 14: Evolution of the WGAN critics loss (Left) and the approximated EM distance (Right) for a WGAN-LP trained to minimize the Wasserstein-2 distance $\lambda = 1 0$ ). Shown are the medians over 5 runs.
642
+
643
+ # D.6 EXPERIMENTAL RESULTS ON CIFAR
644
+
645
+ Inception score. The inception score was proposed by Salimans et al. (2016) to evaluate the quality of images $x$ sampled from a generative model $\nu$ based on the Inception model. Let $p ( y | x )$ be the conditional probability of label $y$ for image $x$ under the Inception model and $\begin{array} { r } { p ( y ) = \int p ( y | x ) \nu ( x ) d x } \end{array}$ the marginal probability of labels $y$ with respect to samples generated from $\nu$ . Then the Inception score is given by
646
+
647
+ $$
648
+ \exp \left( \mathbb { E } _ { x \sim \nu } [ K L ( p ( y | x ) , p ( y ) ] ) \right) \ .
649
+ $$
650
+
651
+ Intuitively, a good generative model should produce samples for which the conditional label distribution has low entropy, while the variability over samples and thus the entropy of the marginal label distribution should be high. Therefore, a higher Inception score indicates a better performance of the generative model.
652
+
653
+ The maximal Inception scores reported in Table 1 are representative for the general evolution of the scores for WGAN-LP and WGAN-GP during training. As an example we show the evolution of the Inception score for penalty weights of $\lambda = 5$ and $\lambda = 1 0 0$ in Figure 15. It becomes clear that WGAN-GP performs similar to WGAN-LP for small values of the regularization parameter but much worse for larger values (this was consistently observed in all experiments). In Figure 16 we compare the performance of WGAN-LP and WGAN-GP in terms of the critics loss on a separate validation set, which again demonstrates a more stable behavior for WGAN-LP with respect to the choice of lambda.
654
+
655
+ ![](images/982479659234b68bdeb48fc0fde851394a98831bc30ddf9969b768f25435ae44.jpg)
656
+ Figure 15: Evolution of Inception score on CIFAR for WGAN-LP in blue (solid) and WGAN-GP in red (dotted). Left: for regularization parameter $\lambda = 5$ . Right: for regularization parameter $\lambda = 1 0 0$ .
657
+
658
+ We also trained WGAN-GP and WGAN-LP with a conditional model (making use of the label information of CIFAR10) with $\lambda = 1 0$ and found a similar performance for both, i.e. $8 . 5 3 7 \pm 0 . 1 3 3$ and $8 . 4 6 2 \pm 0 . 1 1 5$ for WGAN-GP and WGAN-LP, respectively.
659
+
660
+ ![](images/21dd7357aa1d931ea4d169158ee19d6952494fcfe61b564d667043a15bf92658.jpg)
661
+ Figure 16: Evolution of validation loss on CIFAR. Black/purple curves indicate the total loss, blue curves the loss without regularization term, and red the regularization term only. Light colored curves indicate the true values, dark solid lines the average over a window of 5 iterations. Left: WGAN-GP. Right: WGAN-LP. Top: with $\lambda = 5$ . Bottom: with $\lambda = 1 0 0$ .
662
+
663
+ # D.7 RELATED PENALTIES
664
+
665
+ Level sets for WGANs trained with the regularization terms given by Equation (7) and (9) and penalty weight 10 are shown in Figure 17. As the evolution of the level sets and the sampled points indicate, training properly converges. However, on CIFAR-10, the same penalties did not lead to good results. As shown in Figure 18, using (7) for regularization initially lead to improving Inception scores but then quickly started to diverge, while using (9) lead to even greater instability.
666
+
667
+ ![](images/798d2b2c51e1f7c61563a2572aae3b88ae797f1a9eb0a9fcd5735dd63d29c9e6.jpg)
668
+ Figure 17: Level sets of the critic $f$ of WGANs during training, after 10, 50, 100, 500, and 1000 iterations. Yellow corresponds to high, purple to low values of $f$ . Training samples are indicated in red, generated samples in blue. Top: With the regularization term given in Equation (7) and $\lambda = 1 0$ . Bottom: With the regularization term given in Equation (9) and $\lambda = 1 0$ .
669
+
670
+ ![](images/e8afd43c9e799160eb66b2a9bfdd42b37cd00cfae8adc89ada934fc1dfb18457.jpg)
671
+ Figure 18: Inception scores for regularization Equation (7) for penalty weights 100 (red) and 5 (blue), shown on the left, and Inception scores for training with the regularization Equation (9) for penalty weights 100 (red) and 5 (blue), shown on the right.
parse/train/B1hYRMbCW/B1hYRMbCW_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/B1hYRMbCW/B1hYRMbCW_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/B1hYRMbCW/B1hYRMbCW_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/B1l08oAct7/B1l08oAct7_layout.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0af3c0c7485574f6afeed312e06bf2dcfbf89bbeb6ecd9061294d4ef778874cb
3
+ size 3721902
parse/train/B1l08oAct7/B1l08oAct7_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f01316464ff2c306878a16f07e9f8014e643a432872949191a8ed0784d3565a5
3
+ size 3318371
parse/train/B1l08oAct7/B1l08oAct7_span.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:491337439feae8b56f614a22c7787ce3c38a54462b6a026afb7516c125d82476
3
+ size 3726443
parse/train/BJE-4xW0W/BJE-4xW0W_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/BJE-4xW0W/BJE-4xW0W_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/BJbD_Pqlg/BJbD_Pqlg.md ADDED
@@ -0,0 +1,398 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # HUMAN PERCEPTION IN COMPUTER VISION / CONFERENCE SUBMISSIONS
2
+
3
+ # Ron Dekel ∗
4
+
5
+ Department of Neurobiology Weizmann Institute of Science Rehovot, PA 7610001, Israel ron.dekel@weizmann.ac.il
6
+
7
+ # ABSTRACT
8
+
9
+ Computer vision has made remarkable progress in recent years. Deep neural network (DNN) models optimized to identify objects in images exhibit unprecedented task-trained accuracy and, remarkably, some generalization ability: new visual problems can now be solved more easily based on previous learning. Biological vision (learned in life and through evolution) is also accurate and generalpurpose. Is it possible that these different learning regimes converge to similar problem-dependent optimal computations? We therefore asked whether the human system-level computation of visual perception has DNN correlates and considered several anecdotal test cases. We found that perceptual sensitivity to image changes has DNN mid-computation correlates, while sensitivity to segmentation, crowding and shape has DNN end-computation correlates. Our results quantify the applicability of using DNN computation to estimate perceptual loss, and are consistent with the fascinating theoretical view that properties of human perception are a consequence of architecture-independent visual learning.
10
+
11
+ # 1 QUICK EXPERT SUMMARY
12
+
13
+ Considering the learned computation of ImageNet-trained DNNs, we find:
14
+
15
+ • Large computation changes for perceptually salient image changes (Figure 1).
16
+ • Gestalt: segmentation, crowding, and shape interactions in computation (Figure 2).
17
+ • Contrast constancy: bandpass transduction in first layers is later corrected (Figure 3).
18
+
19
+ These properties are reminiscent of human perception, perhaps because learned general-purpose classifiers (human and DNN) tend to converge.
20
+
21
+ # 2 INTRODUCTION
22
+
23
+ Deep neural networks (DNNs) are a class of computer learning algorithms that have become widely used in recent years (LeCun et al., 2015). By training with millions of examples, such models achieve unparalleled degrees of task-trained accuracy (Krizhevsky et al., 2012). This is not unprecedented on its own - steady progress has been made in computer vision for decades, and to some degree current designs are just scaled versions of long-known principles (Lecun et al., 1998). In previous models, however, only the design is general-purpose, while learning is mostly specific to the context of a trained task. Interestingly, for current DNNs trained to solve a large-scale image recognition problem (Russakovsky et al., 2014), the learned computation is useful as a building block for drastically different and untrained visual problems (Huh et al., 2016; Yosinski et al., 2014).
24
+
25
+ For example, orientation- and frequency-selective features (Gabor patches) can be considered general-purpose visual computations. Such features are routinely discovered by DNNs (Krizhevsky et al., 2012; Zeiler & Fergus, 2013), by other learning algorithms (Hinton & Salakhutdinov, 2006;
26
+
27
+ Lee et al., 2008; 2009; Olshausen & Field, 1997), and are extensively hard-coded in computer vision (Jain & Farrokhnia, 1991). Furthermore, a similar computation is believed to underlie the spatial response properties of visual neurons of diverse animal phyla (Carandini et al., 2005; DeAngelis et al., 1995; Hubel & Wiesel, 1968; Seelig & Jayaraman, 2013), and is evident in human visual perception (Campbell & Robson, 1968; Fogel & Sagi, 1989; Neri et al., 1999). This diversity culminates in satisfying theoretical arguments as to why Gabor-like features are so useful in general-purpose vision (Olshausen, 1996; Olshausen & Field, 1997).
28
+
29
+ As an extension, general-purpose computations are perhaps of universal use. For example, a dimensionality reduction transformation that optimally preserves recognition-relevant information may constitute an ideal computation for both DNN and animal. More formally, different learning algorithms with different physical implementations may converge to the same computation when similar (or sufficiently general) problems are solved near-optimally. Following this line of reasoning, DNN models with good general-purpose computations may be computationally similar to biological visual systems, even more so than less accurate and less general biologically plausible simulations (Kriegeskorte, 2015; Yamins & DiCarlo, 2016).
30
+
31
+ Related work seems to be consistent with computation convergence. First, different DNN training regimes seem to converge to a similar learned computation (Li et al., 2015; Zhou et al., 2014). Second, image representation may be similar in trained DNN and in biological visual systems. That is, when the same images are processed by DNN and by humans or monkeys, the final DNN computation stages are strong predictors of human fMRI and monkey electrophysiology data collected from visual areas V4 and IT (Cadieu et al., 2014; Khaligh-Razavi & Kriegeskorte, 2014; Yamins et al., 2014). Furthermore, more accurate DNN models exhibit stronger predictive power (Cadieu et al., 2014; Dubey & Agarwal, 2016; Yamins et al., 2014), and the final DNN computation stage is even a strong predictor of human-perceived shape discrimination (Kubilius et al., 2016). However, some caution is perhaps unavoidable, since measured similarity may be confounded with categorization consistency, view-invariance resilience, or similarity in the inherent difficulty of the tasks undergoing comparison. A complementary approach is to consider images that were produced by optimizing trained DNN-based perceptual metrics (Gatys et al., 2015a;b; Johnson et al., 2016; Ledig et al., 2016), which perhaps yields undeniable evidence of non-trivial computational similarity, although a more objective approach may be warranted.
32
+
33
+ Here, we quantify the similarity between human visual perception, as measured by psychophysical experiments, and individual computational stages (layers) in feed-forward DNNs trained on a large-scale image recognition problem (ImageNet LSVRC). Comparison is achieved by feeding the experimental image stimuli to the trained DNN and comparing a DNN metric (mean mutual information or mean absolute change) to perceptual data. The use of reduced (simplified and typically non-natural) stimuli ensures identical inherent task difficulty across compared categories and prevents confounding of categorization consistency with measured similarity. Perception, a systemlevel computation, may be influenced less by the architectural discrepancy (biology vs. DNN) than are neural recordings.
34
+
35
+ # 3 CORRELATE FOR IMAGE CHANGE SENSITIVITY
36
+
37
+ From a perceptual perspective, an image change of fixed size has different saliency depending on image context (Polat & Sagi, 1993). To investigate whether the computation in trained DNNs exhibits similar contextual modulation, we used the Local Image Masking Database (Alam et al., 2014), in which 1080 partially-overlapping images were subjected to different levels of the same random additive noise perturbation, and for each image, a psychophysical experiment determined the threshold noise level at which the added-noise image is discriminated from two noiseless copies at $7 5 \%$ (Figure 1a). Threshold is the objective function that is compared with an $L _ { 1 }$ -distance correlate in the DNN representation. The scale of measured threshold was:
38
+
39
+ $$
40
+ 2 0 \cdot \log _ { 1 0 } \left( \frac { \mathrm { s t d } \left( n o i s e \right) } { T } \right) ,
41
+ $$
42
+
43
+ where std $( n o i s e )$ is the standard deviation of the additive noise, and $T$ is the mean image pixel value calculated over the region where the noise is added (i.e. image center).
44
+
45
+ ![](images/790ed25adca1327d42ec60be5b4b6dbf2d30a4be4b78b863a68199a6c956a87c.jpg)
46
+ Figure 1: Predicting perturbation thresholds. a, For a fixed image perturbation, perceptual detection threshold (visualized by red arrow) depends on image context. b, Measured perceptual threshold is correlated with the average $L _ { 1 }$ change in DNN computation due to image perturbation (for DNN model VGG-19, image scale $= 1 0 0 \%$ ). c, Explained variability $( R ^ { 2 } )$ of perceptual threshold data when $L _ { 1 }$ change is based on isolated computational layers for different input image scales. Same VGG-19 model as in (b). X-axis labels: data refers to raw image pixel data, $\mathsf { c o n v ^ { * } } _ { - 1 }$ and ${ \mathsf { f c } } _ { - } *$ are the before-ReLU output of a convolution and a fully-connected operation, respectively, and prob is the output class label probabilities vector. d, Example images for whcih predicted threshold in b is much higher than perceptually measured (”Overshoot”, where perturbation saliency is better than predicted), or vise versa (”Undershoot”). Examples are considered from several perceptual threshold ranges $\pm 2 \mathrm { d B }$ of shown number).
47
+
48
+ The DNN correlate of perceptual threshold we used was the average $L _ { 1 }$ change in DNN computation between added-noise images and the original, noiseless image. Formally,
49
+
50
+ $$
51
+ L _ { 1 } ^ { i , n } ( I ) = \left| \overline { { { a _ { i } \left( I + n o i s e \left( n \right) \right) } } } - a _ { i } \left( I \right) \right| ,
52
+ $$
53
+
54
+ where $a _ { i } \left( X \right)$ is the activation value of neuron $i$ during the DNN feedforward pass for input image $X$ , and the inner average (denoted by bar) is taken over repetitions with random $n$ -sized noise (noise is introduced at random phase spectra in a fixed image location, an augmentation that follows the between-image randomization described by Alam et al., 2014; the number of repetitions was 10 or more). Unless otherwise specified, the final $L _ { 1 }$ prediction is $L _ { 1 } ^ { i , n }$ averaged across noise levels $( - 4 0$ to $2 5 { \mathrm { ~ d B } }$ with 5-dB intervals) and computational neurons (first within and then across computational stages). Using $L _ { 1 }$ averaged across noise levels as a correlate for the noise level of perceptual threshold is a simple approximation with minimal assumptions.
55
+
56
+ Results show that the $L _ { 1 }$ metric is correlated with the perceptual threshold for all tested DNN architectures (Figure 1b, 4a-c). In other words, higher values of the $L _ { 1 }$ metric (indicating larger changes in DNN computation due to image perturbation, consistent with higher perturbation saliency) are correlated with lower values of measured perceptual threshold (indicating that weaker noise levels are detectable, i.e. higher saliency once more).
57
+
58
+ Table 1: Prediction accuracy. Percent of linearly explained variability $( R ^ { 2 } )$ , absolute value of Spearman rank-order correlation coefficient (SROCC), and the root mean squared error of the linear prediction (RMSE) are presented for each prediction model. Note the measurement scale of the threshold data being predicted (Eq. 1). $( ^ { * } )$ Thresholds linearized through a logistic transform before prediction (see Larson & Chandler, 2010), possibly increasing but not decreasing measured predictive strength. $( ^ { * * } )$ Average of four similar alternatives.
59
+
60
+ <table><tr><td>Model</td><td>R²</td><td>SROCC</td><td>RMSE</td></tr><tr><td>Signal-noise ratio</td><td></td><td></td><td></td></tr><tr><td>Spectral change</td><td>.20 .25</td><td>.39</td><td>7.67</td></tr><tr><td>RMS contrast (Alam et al., 2014)</td><td>.27*</td><td>.61</td><td>7.42</td></tr><tr><td>L1 VGG-19 (50%)</td><td>.57</td><td>.46</td><td>1</td></tr><tr><td>L1 VGG-19 (66%)</td><td>.60</td><td>.77</td><td>5.57 5.42</td></tr><tr><td>L1 VGG-19 (100%)</td><td>.60</td><td>.79</td><td></td></tr><tr><td>Perceptual model** (Alam et al., 2014)</td><td>.60*</td><td>.79</td><td>5.40</td></tr><tr><td></td><td></td><td>.70</td><td>5.73</td></tr><tr><td>Inter-person (Alam et al., 2014)</td><td>.84*</td><td>.87</td><td>4.08</td></tr></table>
61
+
62
+ To quantify and compare predictive power, we considered the percent of linearly explained variability $( R ^ { 2 } )$ . For all tested DNN architectures, the prediction explains about $6 0 \%$ of the perceptual variability (Tables 1, 2; baselines at Tables 3-5), where inter-person similarity representing theoretical maximum is $84 \%$ (Alam et al., 2014). The DNN prediction is far more accurate than a prediction based on simple image statistical properties (e.g. RMS contrast), and is on par with a detailed perceptual model that relies on dozens of psychophysically collected parameters (Alam et al., 2014). The Spearmann correlation coefficient is much higher compared with the perceptual model (with an absolute SROCC value of about 0.79 compared with 0.70, Table 1), suggesting that the $L _ { 1 }$ metric gets the order right but not the scale. We did not compare these results with models that fit the experimental data (e.g. Alam et al., 2015; Liu & Allebach, 2016), since the $L _ { 1 }$ metric has no explicit parameters. Also, different DNN architectures exhibited high similarity in their predictions $\bar { R } ^ { 2 }$ of about 0.9, e.g. Figure 4d).
63
+
64
+ Prediction can also be made from isolated computational stages, instead of across all stages as before. This analysis shows that the predictive power peaks mid-computation across all tested image scales (Figure 1c). This peak is consistent with use of middle DNN layers to optimize perceptual metrics (Gatys et al., 2015a;b; Ledig et al., 2016), and is reminiscent of cases in which low- to mid-level vision is the performance limiting computation in the detection of at-threshold stimuli (Campbell & Robson, 1968; Del Cul et al., 2007).
65
+
66
+ Finally, considering the images for which the $L _ { 1 }$ -based prediction has a high error suggests a factor which causes a systematic inconsistency with perception (Figures 1d, 6). This factor may be related to the mean image luminance: by introducing noise perturbations according to the scale of Equation 1, a fixed noise size (in dB) corresponds to smaller pixel changes in dark compared with bright images. (Using this scales reflects an assumption of multiplicative rather than additive conservation; this assumption may be justified for the representation at the final but perhaps not the intermediate computational stages considering the log-linear contrast response discussed in Section 5). Another factor may the degree to which image content is identifiable.
67
+
68
+ The previous analysis suggested gross computational similarity between human perception and trained DNNs. Next, we aimed to extend the comparison to more interpretable properties of perception by considering more highly controlled designs. To this end, we considered cases in which a static background context modulates the difficulty of discriminating a foreground shape, despite no spatial overlap of foreground and background. This permits interpretation by considering the cause of the modulation.
69
+
70
+ We first consider segmentation, in which arrangement is better discriminated for arrays of consistently oriented lines compared with inconsistently oriented lines (Figure 2a) (Pinchuk-Yacobi et al., 2016). Crowding is considered next, where surround clutter that is similar to the discriminated target leads to deteriorated discrimination performance (Figure 2b) (Livne & Sagi, 2007). Last to be addressed is object superiority, in which a target line location is better discriminated when it is in a shape-forming layout (Figure 2c) (Weisstein & Harris, 1974). In this case, clutter is controlled by having the same fixed number of lines in context. To measure perceptual discrimination, these works introduced performance-limiting manipulations such as location jittering, brief presentation, and temporal masking. While different manipulations showed different measured values, order-of-difficulty was typically preserved. Here we changed all the original performance-limiting manipulations to location jittering (whole-shape or element-wise, see Section 8.4).
71
+
72
+ To quantify discrimination difficulty in DNNs, we measured the target-discriminative information of isolated neurons (where performance is limited by location jittering noise), then averaged across all neurons (first within and then across computational layer stages). Specifically, for each neuron, we measured the reduction in categorization uncertainty due to observation, termed mutual information (MI):
73
+
74
+ $$
75
+ M I \left( A _ { i } ; C \right) = H \left( C \right) - H \left( C \vert A _ { i } \right) ,
76
+ $$
77
+
78
+ where H stands for entropy, and $A _ { i }$ is a random variable for the value of neuron i when the DNN processes a random image from a category defined by the random variable C. For example, if a neuron gives a value in the range of 100.0 to 200.0 when the DNN processes images from category A, and 300.0 to 400.0 for category B, then the category is always known by observing the value, and so mutual information is high $\mathbf { M } \mathbf { I } { = } 1$ bits). On the other extreme, if the neuron has no discriminative task information, then ${ \bf M I } { = } 0$ bits. To measure MI, we quantized activations into eight equal-amount bins, and used 500 samples (repetitions having different location jittering noise) across categories. The motivation for this correlate is the assumption that the perceptual order-of-difficulty reflects the quantity of task-discriminative information in the representation.
79
+
80
+ Results show that, across hundreds of configurations (varying pattern element size, target location, jitter magnitude, and DNN architecture; see Section 8.4), the qualitative order of difficulty in terms of the DNN MI metric is consistent with the order of difficulty measured in human psychophysical experiments, for the conditions addressing segmentation and crowding (Figures 2d, 7; for baseline models see Figure 8). It is interesting to note that the increase in similarity develops gradually along different layer types in the DNN computation (i.e. not just pooling layers), and is accompanied by a gradual increase in the quantity of task-relevant information (Figure 2e-g). This indicates a link between task relevance and computational similarity for the tested conditions. Note that unlike the evident increase in isolated unit task information, the task information from all units combined decreases by definition along any computational hierarchy. An intuition for this result is that the total hidden information decreases, while more accessible per-unit information increases.
81
+
82
+ For shape formation, four out of six shapes consistently show order of difficulty like perception, and two shapes consistently do no (caricature at Figure 2h; actual data at Figure 9).
83
+
84
+ ![](images/facc45e6917a8622804e2ee023233bcc6bd542f3ced7648ea2c3f55e2650d3af.jpg)
85
+ Figure 2: Background context. a-c, Illustrations of reproduced discrimination stimuli for three psychophysical experiments (actual images used were white-on-black rather than black-on-white, and pattern size was smaller, see Figures 12-14). d, Number of configurations for which orderof-difficulty in discrimination is qualitatively consistency with perception according to a mutual information DNN metric. Configurations vary in pattern (element size, target location, and jitter magnitude; see Section 8.4) and in DNN architecture used (CaffeNet, GoogLeNet, VGG-19, and ResNet-152). DNN metric is the average across neurons of the isolated neuron target-discriminative information (averaged first within, and then across computational layer stages), where performance is limited by location jittering (e.g. evident jitter in illustrations). e-g, The value of the MI metric across computational layers of model VGG-19 for a typical pattern configuration. The six ”hard” (gray) lines in Shape MI correspond to six different layouts (see Section 8.4.3). Analysis shows that for isolated computation stages, similarity to perception is evident only at the final DNN computation stages. h, A caricature summarizing the similarity and discrepancy of perception and the MI-based DNN prediction for Shape (see Figure 9).
86
+
87
+ # 5 CORRELATE FOR CONTRAST SENSITIVITY
88
+
89
+ A cornerstone of biological vision research is the use of sine gratings at different frequencies, orientations, and contrasts (Campbell & Robson, 1968). Notable are results showing that the lowest perceivable contrast in human perception depends on frequency. Specifically, high spatial frequencies are attenuated by the optics of the eye, and low spatial frequencies are believed to be attenuated due to processing inefficiencies (Watson & Ahumada, 2008), so that the lowest perceivable contrast is found at intermediate frequencies. (To appreciate this yourself, examine Figure 3a). Thus, for low-contrast gratings, the physical quantity of contrast is not perceived correctly: it is not preserved across spatial frequencies. Interestingly, this is corrected for gratings of higher contrasts, for which perceived contrast is more constant across spatial frequencies (Georgeson & Sullivan, 1975).
90
+
91
+ The DNN correlate we considered is the mean absolute change in DNN representation between a gray image and sinusoidal gratings, at all combinations of spatial frequency and contrast. Formally, for neurons in a given layer, we measured:
92
+
93
+ $$
94
+ L _ { 1 } ( c o n t r a s t , f r e q u e n c y ) = \frac { 1 } { N _ { n e u r o n s } } \sum _ { i = 1 } ^ { N _ { n e u r o n s } } \left| \overline { { a _ { i } \left( c o n t r a s t , f r e q u e n c y \right) } } - a _ { i } \left( 0 , 0 \right) \right| ,
95
+ $$
96
+
97
+ where $a _ { i }$ (contrast, frequency) is the average activation value of neuron $i$ to 250 sine images (random orientation, random phase), $a _ { i } \left( 0 , 0 \right)$ is the response to a blank (gray) image, and $N _ { n }$ eurons is the number of neurons in the layer. This measure reflects the overall change in response vs. the gray image.
98
+
99
+ Results show a bandpass response for low-contrast gratings (blue lines strongly modulated by frequency, Figures 3, 10), and what appears to be a mostly constant response at high contrast for end-computation layers (red lines appear more invariant to frequency), in accordance with perception.
100
+
101
+ We next aimed to compare these results with perception. Data from human experiments is generally iso-output (i.e. for a pre-set output, such as $7 5 \%$ detection accuracy, the input is varied to find the value which produce the preset output). However, the DNN measurements here are iso-input (i.e. for a fixed input contrast the $L _ { 1 }$ is measured). As such, human data should be compared to the interpoalted inverse of DNN measurements. Specifically, for a set output value, the interpolated contrast value which produce the output is found for every frequency (Figure 11). This analysis permits quantifying the similarity of iso-output curves for human and DNN, measured here as the percent of log-Contrast variability in human measurements which is explained by the DNN predictions. This showed a high explained variability at the end computation stage (prob layer, $\mathbf { \dot { \mathit { R } } ^ { 2 } = 9 4 \% }$ , but importantly, a similarly high value at the first computational stage (conv1 1 layer, $R ^ { 2 } = 9 6 \%$ ). Intiutively, while the ”internal representation” variability in terms of $L _ { 1 }$ is small, the iso-output number-of-input-contrast-cahnges variability is still high. For example. for the prob layer, about the same $L _ { 1 }$ is measured for (Contrast $^ { - 1 }$ ,freq $= 7 5$ ) and for (Contras ${ = } 0 . 1 8$ ,freq $= 1 2$ ).
102
+
103
+ An interesting, unexpected observation is that the logarithmically spaced contrast inputs are linearly spaced at the end-computation layers. That is, the average change in DNN representation scales logarithmically with the size of input change. This can be quantified by the correlation of output $L _ { 1 }$ with log Contrast input, which showed $R ^ { 2 } = 9 8 \%$ (averaged across spatial frequencies) for prob, while much lower values were observed for early and middle layers (up to layer fc7). The same computation when scrambling the learned parameters of the model showed $R ^ { 2 } = 6 0 \%$ . Because the degree of log-linearity observed was extremely high, it may be an important emergent property of the learned DNN computation, which may deserve further investigation. However, this property is only reminiscent and not immediately consistent with the perceptual power-law scaling (Gottesman et al., 1981).
104
+
105
+ ![](images/129e93025def5a9cbbe9b8278b8c41324aea4c3845d014896910bb2486ca54c3.jpg)
106
+ Figure 3: Contrast sensitivity. a. Perceived contrast is strongly affected by spatial frequency at low contrast, but less so at high contrast (which preserves the physical quantity of contrast and thus termed constancy). b. The $L _ { 1 }$ change in VGG-19 representation between a gray image and images depicting sinusoidal gratings at each combination of sine spatial frequency $\mathbf { \dot { x } }$ -axis) and contrast (color) (random orientation, random phase), considering the raw image pixel data representation (data), the before-ReLU output of the first convolutional layer representation (conv1 1), the output of the last fully-connected layer representation (fc8), and the output class label probabilities representation (prob).
107
+
108
+ # 6 DISCUSSION
109
+
110
+ # 6.1 HUMAN PERCEPTION IN COMPUTER VISION
111
+
112
+ It may be tempting to believe that what we see is the result of a simple transformation of visual input. Centuries of psychophysics have, however, revealed complex properties in perception, by crafting stimuli that isolate different perceptual properties. In our study, we used the same stimuli to investigate the learned properties of deep neural networks (DNNs), which are the leading computer vision algorithms to date (LeCun et al., 2015).
113
+
114
+ The DNNs we used were trained in a supervised fashion to assign labels to input images. To some degree, this task resembles the simple verbal explanations given to children by their parents. Since human perception is obviously much richer than the simple external supervision provided, we were not surprised to find that the best correlate for perceptual saliency of image changes is a part of the DNN computation that is only supervised indirectly (i.e. the mid-computation stage). This similarity is so strong, that even with no fine-tuning to human perception, the DNN metric is competitively accurate, even compared with a direct model of perception.
115
+
116
+ This strong, quantifiable similarity to a gross aspect of perception may, however, reflect a mix of similarities and discrepancies in different perceptual properties. To address isolated perceptual effects, we considered experiments that manipulate a spatial interaction, where the difficulty of discriminating a foreground target is modulated by a background context. Results showed modulation of DNN target diagnostic, isolated unit information, consistent with the modulation found in perceptual discrimination. This was shown for contextual interactions reflecting grouping/segmentation (Harris et al., 2015), crowding/clutter (Livne & Sagi, 2007; Pelli et al., 2004), and shape superiority (Weisstein & Harris, 1974). DNN similarity to these groupings/gestalt phenomena appeared at the end-computation stages.
117
+
118
+ No less interesting, are the cases in which there is no similarity. For example, perceptual effects related to 3D (Erdogan & Jacobs, 2016) and symmetry (Pramod & Arun, 2016) do not appear to have a strong correlate in the DNN computation. Indeed, it may be interesting to investigate the influence of visual experience in these cases. And, equally important, similarity should be considered in terms of specific perceptual properties rather than as a general statement.
119
+
120
+ # 6.2 RECURRENT VS. FEEDFORWARD CONNECTIVITY
121
+
122
+ In the human hierarchy of visual processing areas, information is believed to be processed in a feedforward sweep, followed by recurrent processing loops (top-down and lateral) (Lamme & Roelfsema, 2000). Thus, for example, the early visual areas can perform deep computations. Since mapping from visual areas to DNN computational layers is not simple, it will not be considered here. (Note that ResNet connectivity is perhaps reminiscent of unrolled recurrent processing).
123
+
124
+ Interestingly, debate is ongoing about the degree to which visual perception is dependent on recurrent connectivity (Fabre-Thorpe et al., 1998; Hung et al., 2005): recurrent representations are obviously richer, but feedforward computations converge much faster. An implicit question here regarding the extent of feasible feed-forward representations is, perhaps: Can contour segmentation, contextual influences, and complex shapes be learned? Based on the results reported here for feedforward DNNs, a feedforward representation may seem sufficient. However, the extent to which this is true may be very limited. In this study we used small images with a small number of lines, while effects such as contour integration seem to take place even in very large configurations (Field et al., 1993). Such scaling seems more likely in a recurrent implementation. As such, a reasonable hypothesis may be that the full extent of contextual influence is only realizable with recurrence, while feedforward DNNs learn a limited version by converging towards a useful computation.
125
+
126
+ # 6.3 IMPLICATIONS AND FUTURE WORK
127
+
128
+ # 6.3.1 USE IN BRAIN MODELING
129
+
130
+ The use of DNNs in modeling of visual perception (or of biological visual systems in general) is subject to a tradeoff between accuracy and biological plausibility. In terms of architecture, other deep models better approximate our current understanding of the visual system (Riesenhuber &
131
+
132
+ Poggio, 1999; Serre, 2014). However, the computation in trained DNN models is quite generalpurpose (Huh et al., 2016; Yosinski et al., 2014) and offers unparalleled accuracy in recognition tasks (LeCun et al., 2015). Since visual computations are, to some degree, task- rather than architecturedependent, an accurate and general-purpose DNN model may better resemble biological processing than less accurate biologically plausible ones (Kriegeskorte, 2015; Yamins & DiCarlo, 2016). We support this view by considering a controlled condition in which similarity is not confounded with task difficulty or categorization consistency.
133
+
134
+ # 6.3.2 USE IN PSYCHOPHYSICS
135
+
136
+ Our results imply that trained DNN models have good predictive value for outcomes of psychophysical experiments, permitting a zero-cost first-order approximation. Note, however, that the scope of such simulations may be limited, since learning (Sagi, 2011) and adaptation (Webster, 2011) were not considered here.
137
+
138
+ Another fascinating option is the formation of hypotheses in terms of mathematically differentiable trained-DNN constraints, whereby it is possible to efficiently solve for the visual stimuli that optimally dissociate the hypotheses (see Gatys et al. 2015a;b; Mordvintsev et al. 2015 and note Goodfellow et al. 2014; Szegedy et al. 2013). The conclusions drawn from such stimuli can be independent of the theoretical assumptions about the generating process (for example, creating new visual illusions that can be seen regardless of how they were created).
139
+
140
+ # 6.3.3 USE IN ENGINEERING (A PERCEPTUAL LOSS METRIC)
141
+
142
+ As proposed previously (Dosovitskiy & Brox, 2016; Johnson et al., 2016; Ledig et al., 2016), the saliency of small image changes can be estimated as the representational distance in trained DNNs. Here, we quantified this approach by relying on data from a controlled psychophysical experiment (Alam et al., 2014). We found the metric to be far superior to simple image statistical properties, and on par with a detailed perceptual model (Alam et al., 2014). This metric can be useful in image compression, whereby optimizing degradation across image sub-patches by comparing perceptual loss may minimize visual artifacts and content loss.
143
+
144
+ # ACKNOWLEDGMENTS
145
+
146
+ We thank Yoram Bonneh for his valuable questions which led to much of this work.
147
+
148
+ # REFERENCES
149
+
150
+ Md Mushfiqul Alam, Kedarnath P Vilankar, David J Field, and Damon M Chandler. Local masking in natural images: A database and analysis. Journal of vision, 14(8):22–, jan 2014. ISSN 1534- 7362. doi: 10.1167/14.8.22.
151
+
152
+ Md Mushfiqul Alam, Pranita Patil, Martin T Hagan, and Damon M Chandler. A computational model for predicting local distortion visibility via convolutional neural network trainedon natural scenes. In Image Processing (ICIP), 2015 IEEE International Conference on, pp. 3967–3971. IEEE, 2015.
153
+
154
+ Charles F Cadieu, Ha Hong, Daniel L K Yamins, Nicolas Pinto, Diego Ardila, Ethan A Solomon, Najib J Majaj, and James J DiCarlo. Deep neural networks rival the representation of primate IT cortex for core visual object recognition. PLoS computational biology, 10(12):e1003963, dec 2014. ISSN 1553-7358. doi: 10.1371/journal.pcbi.1003963.
155
+
156
+ Fergus W Campbell and J G Robson. Application of Fourier analysis to the visibility of gratings. The Journal of physiology, 197(3):551, 1968.
157
+
158
+ Matteo Carandini, Jonathan B Demb, Valerio Mante, David J Tolhurst, Yang Dan, Bruno A Olshausen, Jack L Gallant, and Nicole C Rust. Do we know what the early visual system does? The Journal of Neuroscience, 25(46):10577–97, nov 2005. ISSN 1529-2401. doi: 10.1523/JNEUROSCI.3726-05.2005.
159
+
160
+ Gregory C DeAngelis, Izumi Ohzawa, and Ralph D Freeman. Receptive-field dynamics in the central visual pathways. Trends in neurosciences, 18(10):451–458, 1995. ISSN 0166-2236.
161
+
162
+ Antoine Del Cul, Sylvain Baillet, and Stanislas Dehaene. Brain dynamics underlying the nonlinear threshold for access to consciousness. PLoS Biol, 5(10):e260, 2007. ISSN 1545-7885.
163
+
164
+ Alexey Dosovitskiy and Thomas Brox. Generating images with perceptual similarity metrics based on deep networks. arXiv preprint arXiv:1602.02644, 2016.
165
+
166
+ Abhimanyu Dubey and Sumeet Agarwal. Examining Representational Similarity in ConvNets and the Primate Visual Cortex. arXiv preprint arXiv:1609.03529, 2016.
167
+
168
+ Goker Erdogan and Robert A Jacobs. A 3D shape inference model matches human visual object similarity judgments better than deep convolutional neural networks. In Proceedings of the 38th Annual Conference of the Cognitive Science Society. Cognitive Science Society Austin, TX, 2016.
169
+
170
+ Michele Fabre-Thorpe, Ghislaine Richard, and Simon J Thorpe. Rapid categorization of natural \` images by rhesus monkeys. Neuroreport, 9(2):303–308, 1998. ISSN 0959-4965.
171
+
172
+ David J Field, Anthony Hayes, and Robert F Hess. Contour integration by the human visual system: evidence for a local association field. Vision research, 33(2):173–193, 1993. ISSN 0042-6989.
173
+
174
+ Itzhak Fogel and Dov Sagi. Gabor filters as texture discriminator. Biological cybernetics, 61(2): 103–113, 1989. ISSN 0340-1200.
175
+
176
+ Leon A. Gatys, Alexander S. Ecker, and Matthias Bethge. A Neural Algorithm of Artistic Style. aug 2015a.
177
+
178
+ Leon A. Gatys, Alexander S. Ecker, and Matthias Bethge. Texture synthesis and the controlled generation of natural stimuli using convolutional neural networks. may 2015b.
179
+
180
+ M A Georgeson and G D Sullivan. Contrast constancy: deblurring in human vision by spatial frequency channels. The Journal of Physiology, 252(3):627–656, 1975. ISSN 1469-7793.
181
+
182
+ Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Advances in Neural Information Processing Systems, pp. 2672–2680, 2014.
183
+
184
+ Jon Gottesman, Gary S Rubin, and Gordon E Legge. A power law for perceived contrast in human vision. Vision research, 21(6):791–799, 1981. ISSN 0042-6989.
185
+
186
+ Hila Harris, Noga Pinchuk-Yacobi, and Dov Sagi. Target selective tilt-after effect during texture learning. Journal of vision, 15(12):1134, 2015.
187
+
188
+ Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep Residual Learning for Image Recognition. dec 2015.
189
+
190
+ Hinton and Salakhutdinov. Reducing the dimensionality of data with neural networks. Science (New York, N.Y.), 313(5786):504–7, jul 2006. ISSN 1095-9203. doi: 10.1126/science.1127647.
191
+
192
+ D. H. Hubel and T. N. Wiesel. Receptive fields and functional architecture of monkey striate cortex. The Journal of Physiology, 195(1):215–243, mar 1968. ISSN 00223751. doi: 10.1113/jphysiol. 1968.sp008455.
193
+
194
+ Minyoung Huh, Pulkit Agrawal, and Alexei A. Efros. What makes ImageNet good for transfer learning? aug 2016.
195
+
196
+ Chou P Hung, Gabriel Kreiman, Tomaso Poggio, and James J DiCarlo. Fast readout of object identity from macaque inferior temporal cortex. Science, 310(5749):863–866, 2005. ISSN 0036- 8075.
197
+
198
+ Anil K Jain and Farshid Farrokhnia. Unsupervised texture segmentation using Gabor filters. Pattern recognition, 24(12):1167–1186, 1991. ISSN 0031-3203.
199
+
200
+ Yangqing Jia, Evan Shelhamer, Jeff Donahue, Sergey Karayev, Jonathan Long, Ross Girshick, Sergio Guadarrama, and Trevor Darrell. Caffe. In Proceedings of the ACM International Conference on Multimedia - MM ’14, pp. 675–678, New York, New York, USA, nov 2014. ACM Press. ISBN 9781450330633. doi: 10.1145/2647868.2654889.
201
+
202
+ Justin Johnson, Alexandre Alahi, and Li Fei-Fei. Perceptual losses for real-time style transfer and super-resolution. arXiv preprint arXiv:1603.08155, 2016.
203
+
204
+ A. Karni and D. Sagi. Where practice makes perfect in texture discrimination: evidence for primary visual cortex plasticity. Proceedings of the National Academy of Sciences, 88(11):4966–4970, jun 1991. ISSN 0027-8424. doi: 10.1073/pnas.88.11.4966.
205
+
206
+ Seyed-Mahdi Khaligh-Razavi and Nikolaus Kriegeskorte. Deep Supervised, but Not Unsupervised, Models May Explain IT Cortical Representation. PLoS Computational Biology, 10(11): e1003915, nov 2014. ISSN 1553-7358. doi: 10.1371/journal.pcbi.1003915.
207
+
208
+ Nikolaus Kriegeskorte. Deep neural networks: A new framework for modeling biological vision and brain information processing. Annual Review of Vision Science, 1:417–446, 2015. ISSN 2374-4642.
209
+
210
+ Alex Krizhevsky, Ilya Sutskever, and Geoffrey E. Hinton. ImageNet Classification with Deep Convolutional Neural Networks. In Advances in Neural Information Processing Systems, pp. 1097– 1105, 2012.
211
+
212
+ Jonas Kubilius, Stefania Bracci, and Hans P Op de Beeck. Deep Neural Networks as a Computational Model for Human Shape Sensitivity. PLoS Comput Biol, 12(4):e1004896, 2016. ISSN 1553-7358.
213
+
214
+ Victor A.F. Lamme and Pieter R. Roelfsema. The distinct modes of vision offered by feedforward and recurrent processing. Trends in Neurosciences, 23(11):571–579, nov 2000. ISSN 01662236. doi: 10.1016/S0166-2236(00)01657-X.
215
+
216
+ Eric C Larson and Damon M Chandler. Most apparent distortion: full-reference image quality assessment and the role of strategy. Journal of Electronic Imaging, 19(1):11006, 2010. ISSN 1017-9909.
217
+
218
+ Y. Lecun, L. Bottou, Y. Bengio, and P. Haffner. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998. ISSN 00189219. doi: 10.1109/5.726791.
219
+
220
+ Yann LeCun, Yoshua Bengio, and Geoffrey Hinton. Deep learning. Nature, 521(7553):436–444, may 2015. ISSN 0028-0836. doi: 10.1038/nature14539.
221
+
222
+ Christian Ledig, Lucas Theis, Ferenc Huszar, Jose Caballero, Andrew Aitken, Alykhan Tejani, Johannes Totz, Zehan Wang, and Wenzhe Shi. Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network. sep 2016.
223
+
224
+ Honglak Lee, Chaitanya Ekanadham, and Andrew Y. Ng. Sparse deep belief net model for visual area V2. In Advances in Neural Information Processing Systems, pp. 873–880, 2008.
225
+
226
+ Honglak Lee, Roger Grosse, Rajesh Ranganath, and Andrew Y. Ng. Convolutional deep belief networks for scalable unsupervised learning of hierarchical representations. In Proceedings of the 26th Annual International Conference on Machine Learning - ICML ’09, pp. 1–8, New York, New York, USA, jun 2009. ACM Press. ISBN 9781605585161. doi: 10.1145/1553374.1553453.
227
+
228
+ Yixuan Li, Jason Yosinski, Jeff Clune, Hod Lipson, and John Hopcroft. Convergent Learning: Do different neural networks learn the same representations? arXiv preprint arXiv:1511.07543, 2015.
229
+
230
+ Yucheng Liu and Jan P. Allebach. Near-threshold perceptual distortion prediction based on optimal structure classification. In 2016 IEEE International Conference on Image Processing (ICIP), pp. 106–110. IEEE, sep 2016. ISBN 978-1-4673-9961-6. doi: 10.1109/ICIP.2016.7532328.
231
+
232
+ Tomer Livne and Dov Sagi. Configuration influence on crowding. Journal of Vision, 7(2):4, 2007. ISSN 1534-7362.
233
+
234
+ Alexander Mordvintsev, Christopher Olah, and Mike Tyka. Inceptionism: Going deeper into neural networks. Google Research Blog. Retrieved June, 20, 2015.
235
+
236
+ Peter Neri, Andrew J Parker, and Colin Blakemore. Probing the human stereoscopic system with reverse correlation. Nature, 401(6754):695–698, 1999. ISSN 0028-0836.
237
+
238
+ Bruno A Olshausen. Emergence of simple-cell receptive field properties by learning a sparse code for natural images. Nature, 381(6583):607–609, 1996. ISSN 0028-0836.
239
+
240
+ Bruno A. Olshausen and David J. Field. Sparse coding with an overcomplete basis set: A strategy employed by V1? Vision Research, 37(23):3311–3325, dec 1997. ISSN 00426989. doi: 10.1016/ S0042-6989(97)00169-7.
241
+
242
+ Denis G Pelli, Melanie Palomares, and Najib J Majaj. Crowding is unlike ordinary masking: Distinguishing feature integration from detection. Journal of vision, 4(12):12, 2004. ISSN 1534-7362.
243
+
244
+ Noga Pinchuk-Yacobi, Ron Dekel, and Dov Sagi. Expectation and the tilt aftereffect. Journal of vision, 15(12):39, sep 2015. ISSN 1534-7362. doi: 10.1167/15.12.39.
245
+
246
+ Noga Pinchuk-Yacobi, Hila Harris, and Dov Sagi. Target-selective tilt aftereffect during texture learning. Vision research, 124:44–51, 2016. ISSN 0042-6989.
247
+
248
+ U Polat and D Sagi. Lateral interactions between spatial channels: suppression and facilitation revealed by lateral masking experiments. Vision research, 33(7):993–9, may 1993. ISSN 0042- 6989.
249
+
250
+ R T Pramod and S P Arun. Do computational models differ systematically from human object perception? In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1601–1609, 2016.
251
+
252
+ Maximilian Riesenhuber and Tomaso Poggio. Hierarchical models of object recognition in cortex. Nature neuroscience, 2(11):1019–1025, 1999.
253
+
254
+ Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, Alexander C. Berg, and Li Fei-Fei. ImageNet Large Scale Visual Recognition Challenge. sep 2014.
255
+
256
+ Dov Sagi. Perceptual learning in vision research. Vision research, 51(13):1552–1566, 2011. ISSN 0042-6989.
257
+
258
+ Johannes D Seelig and Vivek Jayaraman. Feature detection and orientation tuning in the Drosophila central complex. Nature, 503(7475):262–266, 2013. ISSN 0028-0836.
259
+
260
+ Thomas Serre. Hierarchical Models of the Visual System. In Encyclopedia of Computational Neuroscience, pp. 1–12. Springer, 2014. ISBN 1461473209.
261
+
262
+ Eero P Simoncelli and William T Freeman. The steerable pyramid: a flexible architecture for multiscale derivative computation. In ICIP (3), pp. 444–447, 1995.
263
+
264
+ Karen Simonyan and Andrew Zisserman. Very Deep Convolutional Networks for Large-Scale Image Recognition. sep 2014.
265
+
266
+ Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks. arXiv preprint arXiv:1312.6199, 2013.
267
+
268
+ Christian Szegedy, Wei Liu, Yangqing Jia, Pierre Sermanet, Scott Reed, Dragomir Anguelov, Dumitru Erhan, Vincent Vanhoucke, and Andrew Rabinovich. Going Deeper with Convolutions. sep 2014.
269
+
270
+ Andrea Vedaldi and Karel Lenc. Matconvnet: Convolutional neural networks for matlab. In Proceedings of the 23rd ACM international conference on Multimedia, pp. 689–692. ACM, 2015. ISBN 1450334598.
271
+
272
+ Andrew B Watson and Albert J Ahumada. Predicting visual acuity from wavefront aberrations. Journal of vision, 8(4):17.1–19, jan 2008. ISSN 1534-7362. doi: 10.1167/8.4.17.
273
+
274
+ Michael A Webster. Adaptation and visual coding. Journal of vision, 11(5), jan 2011. ISSN 1534- 7362.
275
+
276
+ N. Weisstein and C. S. Harris. Visual Detection of Line Segments: An Object-Superiority Effect. Science, 186(4165):752–755, nov 1974. ISSN 0036-8075. doi: 10.1126/science.186.4165.752.
277
+
278
+ Daniel L K Yamins and James J DiCarlo. Using goal-driven deep learning models to understand sensory cortex. Nature neuroscience, 19(3):356–365, 2016. ISSN 1097-6256.
279
+
280
+ Daniel L K Yamins, Ha Hong, Charles F Cadieu, Ethan A Solomon, Darren Seibert, and James J DiCarlo. Performance-optimized hierarchical models predict neural responses in higher visual cortex. Proceedings of the National Academy of Sciences, 111(23):8619–8624, 2014. ISSN 0027-8424.
281
+
282
+ Jason Yosinski, Jeff Clune, Yoshua Bengio, and Hod Lipson. How transferable are features in deep neural networks? In Advances in neural information processing systems, pp. 3320–3328, 2014.
283
+
284
+ Matthew D Zeiler and Rob Fergus. Visualizing and Understanding Convolutional Networks. nov 2013.
285
+
286
+ Zhou, Aditya Khosla, Agata Lapedriza, Aude Oliva, and Antonio Torralba. Object Detectors Emerge in Deep Scene CNNs. pp. 12, dec 2014.
287
+
288
+ ![](images/7f5bbbcb223c1452fc1734ff68228fa0b27732812631743799d06e0300cc5f5e.jpg)
289
+ Figure 4: Predicting perceptual sensitivity to image changes (following Figure 1). a-c, The $L _ { 1 }$ change in CaffeNet, GoogLeNet, and ResNet-152 DNN architectures as a function of perceptual threshold. d, The $L _ { 1 }$ change in GoogLeNet as a function of the $L _ { 1 }$ change in VGG-19.
290
+
291
+ ![](images/5ebde87e3cc14d07e5e038829043986e2f1e92f89ee8c84f1c899d55e3377031.jpg)
292
+ Figure 5: Prediction accuracy as a function of computational stage. a, Predicting perceptual sensitivity for model VGG-19 using the best single kernel (i.e. using one fitting parameter, no cross validation), vs. the standard $L _ { 1 }$ metric (reproduced from Figure 1). b, For non-branch computational stages of model ResNet-152.
293
+
294
+ Table 2: Accuracy of perceptual sensitivity prediction and task-trained ImageNet center-crop top-1 validation accuracy for different DNN models (following Table 1 from which third row is reproduced; used scale: $100 \%$ ). The quality of prediction for ResNet-152 improves dramatically if only the first tens of layers are considered (see Figure 5b).
295
+
296
+ <table><tr><td>Model</td><td>R²</td><td>SROCC</td><td>RMSE</td><td>Recognition accuracy</td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>CaffeNet</td><td>.59</td><td>.78</td><td>5.44</td><td>56%</td></tr><tr><td>GoogLeNet</td><td>.59</td><td>.79</td><td>5.45 5.40</td><td>66%</td></tr><tr><td>VGG-19</td><td>.60</td><td>.79</td><td>5.82</td><td>70%</td></tr><tr><td>ResNet-152</td><td>.53</td><td>.74</td><td></td><td>75%</td></tr></table>
297
+
298
+ Table 3: Accuracy of perceptual sensitivity prediction for baseline models (see Section 8.2; used scale: $100 \%$ ).
299
+
300
+ <table><tr><td>Model</td><td>R²</td><td>SROCC</td><td>RMSE</td></tr><tr><td></td><td></td><td></td><td></td></tr><tr><td>VGG-19, scrambled weights</td><td>.18</td><td>.39</td><td>7.76</td></tr><tr><td>Gabor filter bank</td><td>.32</td><td>.12</td><td>8.03</td></tr><tr><td>Steerable-pyramid filter bank</td><td>.37</td><td>.15</td><td>7.91</td></tr></table>
301
+
302
+ Table 4: Accuracy of perceptual sensitivity prediction during CaffeNet model standard training (used scale: $100 \%$ ). Last row reproduced from Table 2.
303
+
304
+ <table><tr><td>Model</td><td>R²</td><td>SROCC</td><td>RMSE</td><td>Recognition accuracy</td></tr><tr><td>CaffeNetiter1</td><td></td><td></td><td>6.30</td><td></td></tr><tr><td>CaffeNetiter50K</td><td>.46 .59</td><td>.67 .79</td><td>5.43</td><td>0% 37%</td></tr><tr><td>CaffeNetiter100K</td><td>.60</td><td>.79</td><td>5.41</td><td>39%</td></tr><tr><td>CaffeNetiter150K</td><td>.60</td><td>.78</td><td>5.43</td><td>53%</td></tr><tr><td>CaffeNetiter200K</td><td>.59</td><td>.78</td><td>5.45</td><td>54%</td></tr><tr><td>CaffeNetiter250K</td><td>.59</td><td>.78</td><td>5.43</td><td>56%</td></tr><tr><td>CaffeNetiter300K</td><td>.59</td><td>.78</td><td>5.44</td><td>56%</td></tr><tr><td>CaffeNetiter310K</td><td>.59</td><td>.78</td><td>5.44</td><td>56%</td></tr></table>
305
+
306
+ Table 5: Robustness of perceptual sensitivity prediction for varying prediction parameters for model VGG-19. First three rows reproduced from Table 1. Measurements for the lower noise range of -60:-40 dB were omitted by mistake.
307
+
308
+ <table><tr><td>Scale</td><td>Metric</td><td>Augmentation</td><td>Noise range</td><td>R²</td><td>SROCC</td><td>RMSE</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>100%</td><td>L1</td><td>noise phase</td><td>-40:25 dB</td><td>.60</td><td>.79</td><td>5.40</td></tr><tr><td>66%</td><td>L1</td><td>noise phase</td><td>-40:25 dB</td><td>.60</td><td>.79</td><td>5.42</td></tr><tr><td>50%</td><td>L1</td><td>noise phase</td><td>-40:25 dB</td><td>.57</td><td>.77</td><td>5.57</td></tr><tr><td>100%</td><td>L2</td><td>noise phase</td><td>-40:25 dB</td><td>.62</td><td>.80</td><td>5.29</td></tr><tr><td>100%</td><td>L1</td><td>None</td><td>-40:25 dB</td><td>.58</td><td>.77</td><td>5.55</td></tr><tr><td>100%</td><td>L1</td><td>noise phase</td><td>-20:25 dB</td><td>.59</td><td>.78</td><td>5.46</td></tr><tr><td>100%</td><td>L1</td><td>noise phase</td><td>-40:5 dB</td><td>.59</td><td>.79</td><td>5.43</td></tr></table>
309
+
310
+ Table 6: Background context for Shape. Shown is the Spearmann correlation coefficient (SROCC) of perceptual data vs. model-based MI prediction across shapes (i.e. considering all shapes rather than only Easy vs. Hard; note that the original robust finding the superiority of the Easy shape). Perceptual data from Weisstein & Harris (1974), where ”Day 1” and ”Days $2 { - } 4 ^ { \dag }$ (averaged) are for the reduced-masking condition depicted in their Figure 3.)
311
+
312
+ <table><tr><td>Model</td><td></td><td>Day 1 Days 2-4</td><td>Masked</td></tr><tr><td>VGG-19</td><td>.36</td><td></td><td>.15</td></tr><tr><td>GoogLeNet</td><td>.31</td><td>.37 .22</td><td>.16</td></tr><tr><td>MRSA-152</td><td>.26</td><td>.26</td><td>.11</td></tr><tr><td>CaffeNet iter 1</td><td>.32</td><td></td><td>.39</td></tr><tr><td>CaffeNet iter 50K</td><td>.15</td><td>.29</td><td></td></tr><tr><td>CaffeNetiter310K</td><td>.16</td><td>.19</td><td>.16 .18</td></tr><tr><td></td><td>.26</td><td>.12</td><td>.48</td></tr><tr><td>Gabor Decomposition Steerable Pyramid</td><td>.24</td><td>.27 .32</td><td>.25</td></tr></table>
313
+
314
+ ![](images/8b57e7f7fd5822e264b389c7eed47b9194ccbdae2e14e5d0ad2c550462747c76.jpg)
315
+ Figure 6: Images where predicted threshold is too high (”Overshoot”, where perturbation saliency is better than predicted) or too low (”Undershoot”), considered from several perceptual threshold ranges $\pm 2$ dB of shown number). Some images are reproduced from Figure 1.
316
+
317
+ ![](images/6f9b1ef405c1200ecea4e9d17fea6192cb6189de656d2eabe5418e4163295a79.jpg)
318
+ Figure 7: Background context for different DNN models (following figure 2).
319
+
320
+ ![](images/7138a34a90ab813f56ea5bb8f05be4794e2f461e3666d4db9eca006d09a47ca1.jpg)
321
+ Figure 8: Background context for baseline DNN models (following figure 2). ”CaffeNet iter 310K” is reproduced from Figure 7.
322
+
323
+ ![](images/27d167da9bfbd680de4450c36836d45b46cd94cb5fc4e9f608fdee72b4544a91.jpg)
324
+ Figure 9: Background context for Shape. Shown for each model is the measured MI for the six ”Hard” shapes as a function of the MI for the ”Easy” shape. The last panel shows an analagous comparison measured in human subjects by Weisstein & Harris (1974). A data point which lies below the dashed diagonal indicates a configuration for which discriminating line location is easier for the Easy shape compared with the relevant Hard shape.
325
+
326
+ ![](images/861dd0c87dd67be34fa74c6f7d5a517cb2e6e8d0d20c9adf7334aceb7112e790.jpg)
327
+ Figure 10: Contrast sensitivity (following Figure 3) for DNN architectures CaffeNet, GoogLeNet, and ResNet-152.
328
+
329
+ ![](images/74f90c0c817b0bea67bc6afa2e46b878b82a65de2628d7e46d194d25a2c10385.jpg)
330
+ Figure 11: Comparison of contrast sensitivity. Shown are iso-output curves, for which perceived contrast is the same (Human), or for which the $L _ { 1 }$ change relative to a gray image is the same (DNN model VGG-19). To obtain a correspondence between human frequency values (given in cycles per degree of visual field) to DNN frequency values (given in cycles per image), a scaling was chosen such that the minima of the blue curve is given at the same frequency value. Human data is for subject M.A.G. as measured by Georgeson & Sullivan (1975).
331
+
332
+ # 8 APPENDIX: EXPERIMENTAL SETUP
333
+
334
+ # 8.1 DNN MODELS
335
+
336
+ To collect DNN computation snapshots, we used MATLAB with MatConvNet version 1.0-beta20 (Vedaldi & Lenc, 2015). All MATLAB code will be made available upon acceptance of this manuscript. The pre-trained DNN models we have used are: CaffeNet (which is a variant of AlexNet provided in Caffe, Jia et al., 2014), GoogLeNet (Szegedy et al., 2014), VGG-19 (Simonyan & Zisserman, 2014), and ResNet-152 (He et al., 2015). The models were trained on the same ImageNet LSVRC. The CaffeNet model was trained using Caffe with the default ImageNet training parameters (stopping at iteration 310, 000) and imported into MatConvNet. For the GoogLeNet model, we used the imported pre-trained reference-Caffe implementation. For VGG-19 and ResNet-152, we used the imported pre-trained original versions. In all experiments input image size was $2 2 4 \times 2 2 4$ or $2 2 7 \times 2 2 7$ .
337
+
338
+ # 8.2 BASELINE MODELS
339
+
340
+ As baselines to compare with pre-trained DNN models, we consider: (a) a multiscale linear filter bank of Gabor functions, (b) a steerable-pyramid linear filter bank (Simoncelli & Freeman, 1995), (c) the VGG-19 model for which the learned parameters (weights) were randomly scrambled within layer, and (d) the CaffeNet model at multiple time points during training. For the Gabor decomposition, the following Gabor filters were used: all compositions of $\sigma = \bar { \{ 1 , 2 , 4 , 8 , 1 6 , 3 2 , 6 4 \} } \mathrm { p x }$ , $\lambda = \{ 1 , 2 \} \cdot \sigma$ , orientation $\underline { { \underline { { \mathbf { \Pi } } } } } = \{ 0 , \pi / 3 , 2 \pi / 3 , \pi , 4 \pi / 3 , 5 \pi / 3 \}$ , and phase $= \{ 0 , \pi / 2 \}$ .
341
+
342
+ # 8.3 IMAGE PERTURBATION EXPERIMENT
343
+
344
+ The noiseless images were obtained from Alam et al. (2014). In main text, ”image scale” refers to percent coverage of DNN input. Since size of original images $( 1 4 9 \times 1 4 9 )$ is smaller than DNN input of $( 2 2 4 \times 2 2 4 )$ or $( 2 2 7 \times 2 2 7 )$ ), the images were resized by a factor of 1.5 so that $100 \%$ image scale covers approximately the entire DNN input area.
345
+
346
+ Human psychophysics and DNN experiments were done for nearly identical images. A slight discrepancy relates to how the image is blended with the background in the special case where the region where noise is added has no image surround at one or two side. In these sides (which depend on the technical procedure with which images were obtained, see Alam et al., 2014), the surround blending here was hard, while the original was smooth.
347
+
348
+ # 8.4 BACKGROUND CONTEXT EXPERIMENT
349
+
350
+ # 8.4.1 SEGMENTATION
351
+
352
+ The images used are based on the Texture Discrimination Task (Karni & Sagi, 1991). In the variant considered here (Pinchuk-Yacobi et al., 2015), subjects were presented with a grid of lines, all of which were horizontal, except two or three that were diagonal. Subjects discriminated whether the arrangement of diagonal lines is horizontal or vertical, and this discrimination was found to be more difficult when the central line is horizontal rather than diagonal (”Hard” vs. ”Easy” in Figure 2a). To limit human performance in this task, two manipulations were applied: (a) the location of each line in the pattern was jittered, and (b) a noise mask was presented briefly after the pattern. Here we only retained (a).
353
+
354
+ A total of 90 configurations were tested, obtained by combinations of the following alternatives:
355
+
356
+ • Three scales: line length of 9, 12.3, or $1 9 . 4 \ \mathrm { p x }$ (number of lines co-varied with line length, see Figure 12).
357
+ • Three levels of location jittering, defined as a multiple of line length: $\{ 1 , 2 , 3 \} \cdot 0 . 0 6 2 5 \cdot l$ px, where $l$ is the length of a line in the pattern. Jittering was applied separately to each line in the pattern.
358
+ • Ten locations of diagonal lines: center, random, four locations of half-distance from center to corners, four locations of half-distance from center to image borders.
359
+
360
+ For each configuration, the discriminated arrangement of diagonal lines was either horizontal or vertical, and the central line was either horizontal or diagonal (i.e. hard or easy).
361
+
362
+ ![](images/e61f99d55dac1fec445d942c16502244e20273274c1c7ec161dba0ab42e4345e.jpg)
363
+ Figure 12: Pattern scales used in the different configurations of the Segmentation condition. Actual images used were white-on-black rather than black-on-white.
364
+
365
+ # 8.4.2 CROWDING
366
+
367
+ The images used are motivated by the crowding effect (Livne & Sagi, 2007; Pelli et al., 2004).
368
+
369
+ A total of 90 configurations were tested, obtained by combinations of the following alternatives:
370
+
371
+ • Three scales: font size of 15.1, 20.6, or $3 2 . 4 { \mathrm { p x } }$ (see Figure 13).
372
+ • Three levels of discriminated-letter location jittering, defined as a multiple of font size: $\{ 1 , 2 , 3 \} \cdot 0 . 0 6 2 5 \cdot l$ px, where $l$ is font size. The jitter of surround letters (M, N, S, and T) was fixed (i.e. the background was static).
373
+ • Ten locations: center, random, four locations of half-distance from center to corners, four locations of half-distance from center to image borders.
374
+
375
+ For each configuration, the discriminated letter was either A, B, C, D, E, or F, and the background was either blank (easy) or composed of the letters M, N, S, and T (hard).
376
+
377
+ ![](images/3b00649747048479281c6d49a31d32f1e301675100b165b5e0554a56148e123c.jpg)
378
+ Figure 13: Pattern scales used in the different configurations of the Crowding condition. Actual images used were white-on-black rather than black-on-white.
379
+
380
+ # 8.4.3 SHAPE
381
+
382
+ The images used are based on the object superiority effect by Weisstein & Harris (1974), where discriminating a line location is easier when combined with surrounding lines a shape is formed.
383
+
384
+ A total of 90 configurations were tested, obtained by combinations of the following alternatives:
385
+
386
+ • Three scales: discriminated-line length of 9, 15.1, or 22.7 px (see Figure 14). • Five levels of whole-pattern location jittering, defined as a multiple of discriminated-line length: $\{ 1 , 2 , 5 , 1 0 , 1 \bar { 5 } \} \cdot 0 . 0 6 2 5 \cdot l$ px, where $l$ is the length of the discriminated line.
387
+
388
+ • Six ”hard” background line layouts (patterns $b { - } f$ of their Figure 2 and the additional pattern $f$ of their Figure 3 in Weisstein & Harris, 1974). The ”easy” layout was always the same (pattern $a$ ).
389
+
390
+ For each configuration, the line whose location is discriminated had four possible locations (two locations are shown in Figure 2c), and the surrounding background line layout could compose a shape (easy) or not (hard).
391
+
392
+ ![](images/3a4cd4d746343780ed7fd9d056ac0f854d4db1895ecffe90c3de68ac7286044d.jpg)
393
+
394
+ Figure 14: Pattern scales used in the different configurations of the Shape condition. Actual images used were white-on-black rather than black-on-white.
395
+
396
+ # 8.5 CONTRAST SENSITIVITY EXPERIMENT
397
+
398
+ Used images depicted sine gratings at different contrast, spatial frequency, sine phase, and sine orientation combinations.
parse/train/BJbD_Pqlg/BJbD_Pqlg_content_list.json ADDED
@@ -0,0 +1,2110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "HUMAN PERCEPTION IN COMPUTER VISION / CONFERENCE SUBMISSIONS ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 174,
8
+ 123,
9
+ 712,
10
+ 169
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Ron Dekel ∗ ",
17
+ "text_level": 1,
18
+ "bbox": [
19
+ 184,
20
+ 194,
21
+ 269,
22
+ 207
23
+ ],
24
+ "page_idx": 0
25
+ },
26
+ {
27
+ "type": "text",
28
+ "text": "Department of Neurobiology Weizmann Institute of Science Rehovot, PA 7610001, Israel ron.dekel@weizmann.ac.il ",
29
+ "bbox": [
30
+ 184,
31
+ 208,
32
+ 418,
33
+ 262
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "ABSTRACT ",
40
+ "text_level": 1,
41
+ "bbox": [
42
+ 454,
43
+ 299,
44
+ 544,
45
+ 314
46
+ ],
47
+ "page_idx": 0
48
+ },
49
+ {
50
+ "type": "text",
51
+ "text": "Computer vision has made remarkable progress in recent years. Deep neural network (DNN) models optimized to identify objects in images exhibit unprecedented task-trained accuracy and, remarkably, some generalization ability: new visual problems can now be solved more easily based on previous learning. Biological vision (learned in life and through evolution) is also accurate and generalpurpose. Is it possible that these different learning regimes converge to similar problem-dependent optimal computations? We therefore asked whether the human system-level computation of visual perception has DNN correlates and considered several anecdotal test cases. We found that perceptual sensitivity to image changes has DNN mid-computation correlates, while sensitivity to segmentation, crowding and shape has DNN end-computation correlates. Our results quantify the applicability of using DNN computation to estimate perceptual loss, and are consistent with the fascinating theoretical view that properties of human perception are a consequence of architecture-independent visual learning. ",
52
+ "bbox": [
53
+ 233,
54
+ 330,
55
+ 764,
56
+ 523
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "1 QUICK EXPERT SUMMARY ",
63
+ "text_level": 1,
64
+ "bbox": [
65
+ 178,
66
+ 550,
67
+ 421,
68
+ 566
69
+ ],
70
+ "page_idx": 0
71
+ },
72
+ {
73
+ "type": "text",
74
+ "text": "Considering the learned computation of ImageNet-trained DNNs, we find: ",
75
+ "bbox": [
76
+ 174,
77
+ 582,
78
+ 661,
79
+ 597
80
+ ],
81
+ "page_idx": 0
82
+ },
83
+ {
84
+ "type": "text",
85
+ "text": "• Large computation changes for perceptually salient image changes (Figure 1). \n• Gestalt: segmentation, crowding, and shape interactions in computation (Figure 2). \n• Contrast constancy: bandpass transduction in first layers is later corrected (Figure 3). ",
86
+ "bbox": [
87
+ 217,
88
+ 607,
89
+ 789,
90
+ 660
91
+ ],
92
+ "page_idx": 0
93
+ },
94
+ {
95
+ "type": "text",
96
+ "text": "These properties are reminiscent of human perception, perhaps because learned general-purpose classifiers (human and DNN) tend to converge. ",
97
+ "bbox": [
98
+ 176,
99
+ 670,
100
+ 821,
101
+ 699
102
+ ],
103
+ "page_idx": 0
104
+ },
105
+ {
106
+ "type": "text",
107
+ "text": "2 INTRODUCTION ",
108
+ "text_level": 1,
109
+ "bbox": [
110
+ 176,
111
+ 719,
112
+ 336,
113
+ 734
114
+ ],
115
+ "page_idx": 0
116
+ },
117
+ {
118
+ "type": "text",
119
+ "text": "Deep neural networks (DNNs) are a class of computer learning algorithms that have become widely used in recent years (LeCun et al., 2015). By training with millions of examples, such models achieve unparalleled degrees of task-trained accuracy (Krizhevsky et al., 2012). This is not unprecedented on its own - steady progress has been made in computer vision for decades, and to some degree current designs are just scaled versions of long-known principles (Lecun et al., 1998). In previous models, however, only the design is general-purpose, while learning is mostly specific to the context of a trained task. Interestingly, for current DNNs trained to solve a large-scale image recognition problem (Russakovsky et al., 2014), the learned computation is useful as a building block for drastically different and untrained visual problems (Huh et al., 2016; Yosinski et al., 2014). ",
120
+ "bbox": [
121
+ 174,
122
+ 750,
123
+ 825,
124
+ 876
125
+ ],
126
+ "page_idx": 0
127
+ },
128
+ {
129
+ "type": "text",
130
+ "text": "For example, orientation- and frequency-selective features (Gabor patches) can be considered general-purpose visual computations. Such features are routinely discovered by DNNs (Krizhevsky et al., 2012; Zeiler & Fergus, 2013), by other learning algorithms (Hinton & Salakhutdinov, 2006; ",
131
+ "bbox": [
132
+ 176,
133
+ 882,
134
+ 823,
135
+ 925
136
+ ],
137
+ "page_idx": 0
138
+ },
139
+ {
140
+ "type": "text",
141
+ "text": "Lee et al., 2008; 2009; Olshausen & Field, 1997), and are extensively hard-coded in computer vision (Jain & Farrokhnia, 1991). Furthermore, a similar computation is believed to underlie the spatial response properties of visual neurons of diverse animal phyla (Carandini et al., 2005; DeAngelis et al., 1995; Hubel & Wiesel, 1968; Seelig & Jayaraman, 2013), and is evident in human visual perception (Campbell & Robson, 1968; Fogel & Sagi, 1989; Neri et al., 1999). This diversity culminates in satisfying theoretical arguments as to why Gabor-like features are so useful in general-purpose vision (Olshausen, 1996; Olshausen & Field, 1997). ",
142
+ "bbox": [
143
+ 174,
144
+ 126,
145
+ 825,
146
+ 223
147
+ ],
148
+ "page_idx": 1
149
+ },
150
+ {
151
+ "type": "text",
152
+ "text": "As an extension, general-purpose computations are perhaps of universal use. For example, a dimensionality reduction transformation that optimally preserves recognition-relevant information may constitute an ideal computation for both DNN and animal. More formally, different learning algorithms with different physical implementations may converge to the same computation when similar (or sufficiently general) problems are solved near-optimally. Following this line of reasoning, DNN models with good general-purpose computations may be computationally similar to biological visual systems, even more so than less accurate and less general biologically plausible simulations (Kriegeskorte, 2015; Yamins & DiCarlo, 2016). ",
153
+ "bbox": [
154
+ 174,
155
+ 231,
156
+ 825,
157
+ 342
158
+ ],
159
+ "page_idx": 1
160
+ },
161
+ {
162
+ "type": "text",
163
+ "text": "Related work seems to be consistent with computation convergence. First, different DNN training regimes seem to converge to a similar learned computation (Li et al., 2015; Zhou et al., 2014). Second, image representation may be similar in trained DNN and in biological visual systems. That is, when the same images are processed by DNN and by humans or monkeys, the final DNN computation stages are strong predictors of human fMRI and monkey electrophysiology data collected from visual areas V4 and IT (Cadieu et al., 2014; Khaligh-Razavi & Kriegeskorte, 2014; Yamins et al., 2014). Furthermore, more accurate DNN models exhibit stronger predictive power (Cadieu et al., 2014; Dubey & Agarwal, 2016; Yamins et al., 2014), and the final DNN computation stage is even a strong predictor of human-perceived shape discrimination (Kubilius et al., 2016). However, some caution is perhaps unavoidable, since measured similarity may be confounded with categorization consistency, view-invariance resilience, or similarity in the inherent difficulty of the tasks undergoing comparison. A complementary approach is to consider images that were produced by optimizing trained DNN-based perceptual metrics (Gatys et al., 2015a;b; Johnson et al., 2016; Ledig et al., 2016), which perhaps yields undeniable evidence of non-trivial computational similarity, although a more objective approach may be warranted. ",
164
+ "bbox": [
165
+ 174,
166
+ 349,
167
+ 825,
168
+ 558
169
+ ],
170
+ "page_idx": 1
171
+ },
172
+ {
173
+ "type": "text",
174
+ "text": "Here, we quantify the similarity between human visual perception, as measured by psychophysical experiments, and individual computational stages (layers) in feed-forward DNNs trained on a large-scale image recognition problem (ImageNet LSVRC). Comparison is achieved by feeding the experimental image stimuli to the trained DNN and comparing a DNN metric (mean mutual information or mean absolute change) to perceptual data. The use of reduced (simplified and typically non-natural) stimuli ensures identical inherent task difficulty across compared categories and prevents confounding of categorization consistency with measured similarity. Perception, a systemlevel computation, may be influenced less by the architectural discrepancy (biology vs. DNN) than are neural recordings. ",
175
+ "bbox": [
176
+ 174,
177
+ 564,
178
+ 825,
179
+ 690
180
+ ],
181
+ "page_idx": 1
182
+ },
183
+ {
184
+ "type": "text",
185
+ "text": "3 CORRELATE FOR IMAGE CHANGE SENSITIVITY ",
186
+ "text_level": 1,
187
+ "bbox": [
188
+ 174,
189
+ 715,
190
+ 593,
191
+ 731
192
+ ],
193
+ "page_idx": 1
194
+ },
195
+ {
196
+ "type": "text",
197
+ "text": "From a perceptual perspective, an image change of fixed size has different saliency depending on image context (Polat & Sagi, 1993). To investigate whether the computation in trained DNNs exhibits similar contextual modulation, we used the Local Image Masking Database (Alam et al., 2014), in which 1080 partially-overlapping images were subjected to different levels of the same random additive noise perturbation, and for each image, a psychophysical experiment determined the threshold noise level at which the added-noise image is discriminated from two noiseless copies at $7 5 \\%$ (Figure 1a). Threshold is the objective function that is compared with an $L _ { 1 }$ -distance correlate in the DNN representation. The scale of measured threshold was: ",
198
+ "bbox": [
199
+ 173,
200
+ 748,
201
+ 825,
202
+ 861
203
+ ],
204
+ "page_idx": 1
205
+ },
206
+ {
207
+ "type": "equation",
208
+ "img_path": "images/3d251d57138f12ed451d1c9b8935620a0035238ef35dba7a2afcd646a24de396.jpg",
209
+ "text": "$$\n2 0 \\cdot \\log _ { 1 0 } \\left( \\frac { \\mathrm { s t d } \\left( n o i s e \\right) } { T } \\right) ,\n$$",
210
+ "text_format": "latex",
211
+ "bbox": [
212
+ 408,
213
+ 872,
214
+ 584,
215
+ 907
216
+ ],
217
+ "page_idx": 1
218
+ },
219
+ {
220
+ "type": "text",
221
+ "text": "where std $( n o i s e )$ is the standard deviation of the additive noise, and $T$ is the mean image pixel value calculated over the region where the noise is added (i.e. image center). ",
222
+ "bbox": [
223
+ 171,
224
+ 917,
225
+ 823,
226
+ 946
227
+ ],
228
+ "page_idx": 1
229
+ },
230
+ {
231
+ "type": "image",
232
+ "img_path": "images/790ed25adca1327d42ec60be5b4b6dbf2d30a4be4b78b863a68199a6c956a87c.jpg",
233
+ "image_caption": [
234
+ "Figure 1: Predicting perturbation thresholds. a, For a fixed image perturbation, perceptual detection threshold (visualized by red arrow) depends on image context. b, Measured perceptual threshold is correlated with the average $L _ { 1 }$ change in DNN computation due to image perturbation (for DNN model VGG-19, image scale $= 1 0 0 \\%$ ). c, Explained variability $( R ^ { 2 } )$ of perceptual threshold data when $L _ { 1 }$ change is based on isolated computational layers for different input image scales. Same VGG-19 model as in (b). X-axis labels: data refers to raw image pixel data, $\\mathsf { c o n v ^ { * } } _ { - 1 }$ and ${ \\mathsf { f c } } _ { - } *$ are the before-ReLU output of a convolution and a fully-connected operation, respectively, and prob is the output class label probabilities vector. d, Example images for whcih predicted threshold in b is much higher than perceptually measured (”Overshoot”, where perturbation saliency is better than predicted), or vise versa (”Undershoot”). Examples are considered from several perceptual threshold ranges $\\pm 2 \\mathrm { d B }$ of shown number). "
235
+ ],
236
+ "image_footnote": [],
237
+ "bbox": [
238
+ 181,
239
+ 131,
240
+ 799,
241
+ 487
242
+ ],
243
+ "page_idx": 2
244
+ },
245
+ {
246
+ "type": "text",
247
+ "text": "The DNN correlate of perceptual threshold we used was the average $L _ { 1 }$ change in DNN computation between added-noise images and the original, noiseless image. Formally, ",
248
+ "bbox": [
249
+ 173,
250
+ 699,
251
+ 823,
252
+ 729
253
+ ],
254
+ "page_idx": 2
255
+ },
256
+ {
257
+ "type": "equation",
258
+ "img_path": "images/a5b5cf26a3b0d9b2e0b128000c5a76eeaf41b7c2988723a760776a8a40d73506.jpg",
259
+ "text": "$$\nL _ { 1 } ^ { i , n } ( I ) = \\left| \\overline { { { a _ { i } \\left( I + n o i s e \\left( n \\right) \\right) } } } - a _ { i } \\left( I \\right) \\right| ,\n$$",
260
+ "text_format": "latex",
261
+ "bbox": [
262
+ 361,
263
+ 746,
264
+ 632,
265
+ 773
266
+ ],
267
+ "page_idx": 2
268
+ },
269
+ {
270
+ "type": "text",
271
+ "text": "where $a _ { i } \\left( X \\right)$ is the activation value of neuron $i$ during the DNN feedforward pass for input image $X$ , and the inner average (denoted by bar) is taken over repetitions with random $n$ -sized noise (noise is introduced at random phase spectra in a fixed image location, an augmentation that follows the between-image randomization described by Alam et al., 2014; the number of repetitions was 10 or more). Unless otherwise specified, the final $L _ { 1 }$ prediction is $L _ { 1 } ^ { i , n }$ averaged across noise levels $( - 4 0$ to $2 5 { \\mathrm { ~ d B } }$ with 5-dB intervals) and computational neurons (first within and then across computational stages). Using $L _ { 1 }$ averaged across noise levels as a correlate for the noise level of perceptual threshold is a simple approximation with minimal assumptions. ",
272
+ "bbox": [
273
+ 173,
274
+ 784,
275
+ 825,
276
+ 898
277
+ ],
278
+ "page_idx": 2
279
+ },
280
+ {
281
+ "type": "text",
282
+ "text": "Results show that the $L _ { 1 }$ metric is correlated with the perceptual threshold for all tested DNN architectures (Figure 1b, 4a-c). In other words, higher values of the $L _ { 1 }$ metric (indicating larger changes in DNN computation due to image perturbation, consistent with higher perturbation saliency) are correlated with lower values of measured perceptual threshold (indicating that weaker noise levels are detectable, i.e. higher saliency once more). ",
283
+ "bbox": [
284
+ 174,
285
+ 904,
286
+ 823,
287
+ 946
288
+ ],
289
+ "page_idx": 2
290
+ },
291
+ {
292
+ "type": "table",
293
+ "img_path": "images/6f25fd6a861f747a1e0077f8db84fa394784c42bcca979c0fae7ffd06541dec3.jpg",
294
+ "table_caption": [
295
+ "Table 1: Prediction accuracy. Percent of linearly explained variability $( R ^ { 2 } )$ , absolute value of Spearman rank-order correlation coefficient (SROCC), and the root mean squared error of the linear prediction (RMSE) are presented for each prediction model. Note the measurement scale of the threshold data being predicted (Eq. 1). $( ^ { * } )$ Thresholds linearized through a logistic transform before prediction (see Larson & Chandler, 2010), possibly increasing but not decreasing measured predictive strength. $( ^ { * * } )$ Average of four similar alternatives. "
296
+ ],
297
+ "table_footnote": [],
298
+ "table_body": "<table><tr><td>Model</td><td>R²</td><td>SROCC</td><td>RMSE</td></tr><tr><td>Signal-noise ratio</td><td></td><td></td><td></td></tr><tr><td>Spectral change</td><td>.20 .25</td><td>.39</td><td>7.67</td></tr><tr><td>RMS contrast (Alam et al., 2014)</td><td>.27*</td><td>.61</td><td>7.42</td></tr><tr><td>L1 VGG-19 (50%)</td><td>.57</td><td>.46</td><td>1</td></tr><tr><td>L1 VGG-19 (66%)</td><td>.60</td><td>.77</td><td>5.57 5.42</td></tr><tr><td>L1 VGG-19 (100%)</td><td>.60</td><td>.79</td><td></td></tr><tr><td>Perceptual model** (Alam et al., 2014)</td><td>.60*</td><td>.79</td><td>5.40</td></tr><tr><td></td><td></td><td>.70</td><td>5.73</td></tr><tr><td>Inter-person (Alam et al., 2014)</td><td>.84*</td><td>.87</td><td>4.08</td></tr></table>",
299
+ "bbox": [
300
+ 264,
301
+ 121,
302
+ 735,
303
+ 265
304
+ ],
305
+ "page_idx": 3
306
+ },
307
+ {
308
+ "type": "text",
309
+ "text": "",
310
+ "bbox": [
311
+ 176,
312
+ 393,
313
+ 821,
314
+ 421
315
+ ],
316
+ "page_idx": 3
317
+ },
318
+ {
319
+ "type": "text",
320
+ "text": "To quantify and compare predictive power, we considered the percent of linearly explained variability $( R ^ { 2 } )$ . For all tested DNN architectures, the prediction explains about $6 0 \\%$ of the perceptual variability (Tables 1, 2; baselines at Tables 3-5), where inter-person similarity representing theoretical maximum is $84 \\%$ (Alam et al., 2014). The DNN prediction is far more accurate than a prediction based on simple image statistical properties (e.g. RMS contrast), and is on par with a detailed perceptual model that relies on dozens of psychophysically collected parameters (Alam et al., 2014). The Spearmann correlation coefficient is much higher compared with the perceptual model (with an absolute SROCC value of about 0.79 compared with 0.70, Table 1), suggesting that the $L _ { 1 }$ metric gets the order right but not the scale. We did not compare these results with models that fit the experimental data (e.g. Alam et al., 2015; Liu & Allebach, 2016), since the $L _ { 1 }$ metric has no explicit parameters. Also, different DNN architectures exhibited high similarity in their predictions $\\bar { R } ^ { 2 }$ of about 0.9, e.g. Figure 4d). ",
321
+ "bbox": [
322
+ 174,
323
+ 429,
324
+ 825,
325
+ 594
326
+ ],
327
+ "page_idx": 3
328
+ },
329
+ {
330
+ "type": "text",
331
+ "text": "Prediction can also be made from isolated computational stages, instead of across all stages as before. This analysis shows that the predictive power peaks mid-computation across all tested image scales (Figure 1c). This peak is consistent with use of middle DNN layers to optimize perceptual metrics (Gatys et al., 2015a;b; Ledig et al., 2016), and is reminiscent of cases in which low- to mid-level vision is the performance limiting computation in the detection of at-threshold stimuli (Campbell & Robson, 1968; Del Cul et al., 2007). ",
332
+ "bbox": [
333
+ 174,
334
+ 602,
335
+ 825,
336
+ 685
337
+ ],
338
+ "page_idx": 3
339
+ },
340
+ {
341
+ "type": "text",
342
+ "text": "Finally, considering the images for which the $L _ { 1 }$ -based prediction has a high error suggests a factor which causes a systematic inconsistency with perception (Figures 1d, 6). This factor may be related to the mean image luminance: by introducing noise perturbations according to the scale of Equation 1, a fixed noise size (in dB) corresponds to smaller pixel changes in dark compared with bright images. (Using this scales reflects an assumption of multiplicative rather than additive conservation; this assumption may be justified for the representation at the final but perhaps not the intermediate computational stages considering the log-linear contrast response discussed in Section 5). Another factor may the degree to which image content is identifiable. ",
343
+ "bbox": [
344
+ 174,
345
+ 693,
346
+ 825,
347
+ 804
348
+ ],
349
+ "page_idx": 3
350
+ },
351
+ {
352
+ "type": "text",
353
+ "text": "The previous analysis suggested gross computational similarity between human perception and trained DNNs. Next, we aimed to extend the comparison to more interpretable properties of perception by considering more highly controlled designs. To this end, we considered cases in which a static background context modulates the difficulty of discriminating a foreground shape, despite no spatial overlap of foreground and background. This permits interpretation by considering the cause of the modulation. ",
354
+ "bbox": [
355
+ 174,
356
+ 156,
357
+ 825,
358
+ 239
359
+ ],
360
+ "page_idx": 4
361
+ },
362
+ {
363
+ "type": "text",
364
+ "text": "We first consider segmentation, in which arrangement is better discriminated for arrays of consistently oriented lines compared with inconsistently oriented lines (Figure 2a) (Pinchuk-Yacobi et al., 2016). Crowding is considered next, where surround clutter that is similar to the discriminated target leads to deteriorated discrimination performance (Figure 2b) (Livne & Sagi, 2007). Last to be addressed is object superiority, in which a target line location is better discriminated when it is in a shape-forming layout (Figure 2c) (Weisstein & Harris, 1974). In this case, clutter is controlled by having the same fixed number of lines in context. To measure perceptual discrimination, these works introduced performance-limiting manipulations such as location jittering, brief presentation, and temporal masking. While different manipulations showed different measured values, order-of-difficulty was typically preserved. Here we changed all the original performance-limiting manipulations to location jittering (whole-shape or element-wise, see Section 8.4). ",
365
+ "bbox": [
366
+ 174,
367
+ 246,
368
+ 825,
369
+ 400
370
+ ],
371
+ "page_idx": 4
372
+ },
373
+ {
374
+ "type": "text",
375
+ "text": "To quantify discrimination difficulty in DNNs, we measured the target-discriminative information of isolated neurons (where performance is limited by location jittering noise), then averaged across all neurons (first within and then across computational layer stages). Specifically, for each neuron, we measured the reduction in categorization uncertainty due to observation, termed mutual information (MI): ",
376
+ "bbox": [
377
+ 174,
378
+ 406,
379
+ 825,
380
+ 474
381
+ ],
382
+ "page_idx": 4
383
+ },
384
+ {
385
+ "type": "equation",
386
+ "img_path": "images/895dc524952cb1910c247a031be03445427fd8959bb40023011e072fa6e6a1d7.jpg",
387
+ "text": "$$\nM I \\left( A _ { i } ; C \\right) = H \\left( C \\right) - H \\left( C \\vert A _ { i } \\right) ,\n$$",
388
+ "text_format": "latex",
389
+ "bbox": [
390
+ 377,
391
+ 474,
392
+ 617,
393
+ 492
394
+ ],
395
+ "page_idx": 4
396
+ },
397
+ {
398
+ "type": "text",
399
+ "text": "where H stands for entropy, and $A _ { i }$ is a random variable for the value of neuron i when the DNN processes a random image from a category defined by the random variable C. For example, if a neuron gives a value in the range of 100.0 to 200.0 when the DNN processes images from category A, and 300.0 to 400.0 for category B, then the category is always known by observing the value, and so mutual information is high $\\mathbf { M } \\mathbf { I } { = } 1$ bits). On the other extreme, if the neuron has no discriminative task information, then ${ \\bf M I } { = } 0$ bits. To measure MI, we quantized activations into eight equal-amount bins, and used 500 samples (repetitions having different location jittering noise) across categories. The motivation for this correlate is the assumption that the perceptual order-of-difficulty reflects the quantity of task-discriminative information in the representation. ",
400
+ "bbox": [
401
+ 174,
402
+ 494,
403
+ 825,
404
+ 619
405
+ ],
406
+ "page_idx": 4
407
+ },
408
+ {
409
+ "type": "text",
410
+ "text": "Results show that, across hundreds of configurations (varying pattern element size, target location, jitter magnitude, and DNN architecture; see Section 8.4), the qualitative order of difficulty in terms of the DNN MI metric is consistent with the order of difficulty measured in human psychophysical experiments, for the conditions addressing segmentation and crowding (Figures 2d, 7; for baseline models see Figure 8). It is interesting to note that the increase in similarity develops gradually along different layer types in the DNN computation (i.e. not just pooling layers), and is accompanied by a gradual increase in the quantity of task-relevant information (Figure 2e-g). This indicates a link between task relevance and computational similarity for the tested conditions. Note that unlike the evident increase in isolated unit task information, the task information from all units combined decreases by definition along any computational hierarchy. An intuition for this result is that the total hidden information decreases, while more accessible per-unit information increases. ",
411
+ "bbox": [
412
+ 174,
413
+ 626,
414
+ 825,
415
+ 780
416
+ ],
417
+ "page_idx": 4
418
+ },
419
+ {
420
+ "type": "text",
421
+ "text": "For shape formation, four out of six shapes consistently show order of difficulty like perception, and two shapes consistently do no (caricature at Figure 2h; actual data at Figure 9). ",
422
+ "bbox": [
423
+ 173,
424
+ 786,
425
+ 823,
426
+ 815
427
+ ],
428
+ "page_idx": 4
429
+ },
430
+ {
431
+ "type": "image",
432
+ "img_path": "images/facc45e6917a8622804e2ee023233bcc6bd542f3ced7648ea2c3f55e2650d3af.jpg",
433
+ "image_caption": [
434
+ "Figure 2: Background context. a-c, Illustrations of reproduced discrimination stimuli for three psychophysical experiments (actual images used were white-on-black rather than black-on-white, and pattern size was smaller, see Figures 12-14). d, Number of configurations for which orderof-difficulty in discrimination is qualitatively consistency with perception according to a mutual information DNN metric. Configurations vary in pattern (element size, target location, and jitter magnitude; see Section 8.4) and in DNN architecture used (CaffeNet, GoogLeNet, VGG-19, and ResNet-152). DNN metric is the average across neurons of the isolated neuron target-discriminative information (averaged first within, and then across computational layer stages), where performance is limited by location jittering (e.g. evident jitter in illustrations). e-g, The value of the MI metric across computational layers of model VGG-19 for a typical pattern configuration. The six ”hard” (gray) lines in Shape MI correspond to six different layouts (see Section 8.4.3). Analysis shows that for isolated computation stages, similarity to perception is evident only at the final DNN computation stages. h, A caricature summarizing the similarity and discrepancy of perception and the MI-based DNN prediction for Shape (see Figure 9). "
435
+ ],
436
+ "image_footnote": [],
437
+ "bbox": [
438
+ 173,
439
+ 128,
440
+ 823,
441
+ 435
442
+ ],
443
+ "page_idx": 5
444
+ },
445
+ {
446
+ "type": "text",
447
+ "text": "5 CORRELATE FOR CONTRAST SENSITIVITY ",
448
+ "text_level": 1,
449
+ "bbox": [
450
+ 174,
451
+ 685,
452
+ 550,
453
+ 700
454
+ ],
455
+ "page_idx": 5
456
+ },
457
+ {
458
+ "type": "text",
459
+ "text": "A cornerstone of biological vision research is the use of sine gratings at different frequencies, orientations, and contrasts (Campbell & Robson, 1968). Notable are results showing that the lowest perceivable contrast in human perception depends on frequency. Specifically, high spatial frequencies are attenuated by the optics of the eye, and low spatial frequencies are believed to be attenuated due to processing inefficiencies (Watson & Ahumada, 2008), so that the lowest perceivable contrast is found at intermediate frequencies. (To appreciate this yourself, examine Figure 3a). Thus, for low-contrast gratings, the physical quantity of contrast is not perceived correctly: it is not preserved across spatial frequencies. Interestingly, this is corrected for gratings of higher contrasts, for which perceived contrast is more constant across spatial frequencies (Georgeson & Sullivan, 1975). ",
460
+ "bbox": [
461
+ 173,
462
+ 719,
463
+ 825,
464
+ 845
465
+ ],
466
+ "page_idx": 5
467
+ },
468
+ {
469
+ "type": "text",
470
+ "text": "The DNN correlate we considered is the mean absolute change in DNN representation between a gray image and sinusoidal gratings, at all combinations of spatial frequency and contrast. Formally, for neurons in a given layer, we measured: ",
471
+ "bbox": [
472
+ 176,
473
+ 852,
474
+ 823,
475
+ 895
476
+ ],
477
+ "page_idx": 5
478
+ },
479
+ {
480
+ "type": "equation",
481
+ "img_path": "images/e06538e1f986e9ff0de91003d39525212816001f502e80a4bc3b1aaab836db9a.jpg",
482
+ "text": "$$\nL _ { 1 } ( c o n t r a s t , f r e q u e n c y ) = \\frac { 1 } { N _ { n e u r o n s } } \\sum _ { i = 1 } ^ { N _ { n e u r o n s } } \\left| \\overline { { a _ { i } \\left( c o n t r a s t , f r e q u e n c y \\right) } } - a _ { i } \\left( 0 , 0 \\right) \\right| ,\n$$",
483
+ "text_format": "latex",
484
+ "bbox": [
485
+ 192,
486
+ 907,
487
+ 784,
488
+ 950
489
+ ],
490
+ "page_idx": 5
491
+ },
492
+ {
493
+ "type": "text",
494
+ "text": "where $a _ { i }$ (contrast, frequency) is the average activation value of neuron $i$ to 250 sine images (random orientation, random phase), $a _ { i } \\left( 0 , 0 \\right)$ is the response to a blank (gray) image, and $N _ { n }$ eurons is the number of neurons in the layer. This measure reflects the overall change in response vs. the gray image. ",
495
+ "bbox": [
496
+ 174,
497
+ 126,
498
+ 825,
499
+ 183
500
+ ],
501
+ "page_idx": 6
502
+ },
503
+ {
504
+ "type": "text",
505
+ "text": "Results show a bandpass response for low-contrast gratings (blue lines strongly modulated by frequency, Figures 3, 10), and what appears to be a mostly constant response at high contrast for end-computation layers (red lines appear more invariant to frequency), in accordance with perception. ",
506
+ "bbox": [
507
+ 174,
508
+ 189,
509
+ 825,
510
+ 244
511
+ ],
512
+ "page_idx": 6
513
+ },
514
+ {
515
+ "type": "text",
516
+ "text": "We next aimed to compare these results with perception. Data from human experiments is generally iso-output (i.e. for a pre-set output, such as $7 5 \\%$ detection accuracy, the input is varied to find the value which produce the preset output). However, the DNN measurements here are iso-input (i.e. for a fixed input contrast the $L _ { 1 }$ is measured). As such, human data should be compared to the interpoalted inverse of DNN measurements. Specifically, for a set output value, the interpolated contrast value which produce the output is found for every frequency (Figure 11). This analysis permits quantifying the similarity of iso-output curves for human and DNN, measured here as the percent of log-Contrast variability in human measurements which is explained by the DNN predictions. This showed a high explained variability at the end computation stage (prob layer, $\\mathbf { \\dot { \\mathit { R } } ^ { 2 } = 9 4 \\% }$ , but importantly, a similarly high value at the first computational stage (conv1 1 layer, $R ^ { 2 } = 9 6 \\%$ ). Intiutively, while the ”internal representation” variability in terms of $L _ { 1 }$ is small, the iso-output number-of-input-contrast-cahnges variability is still high. For example. for the prob layer, about the same $L _ { 1 }$ is measured for (Contrast $^ { - 1 }$ ,freq $= 7 5$ ) and for (Contras ${ = } 0 . 1 8$ ,freq $= 1 2$ ). ",
517
+ "bbox": [
518
+ 173,
519
+ 252,
520
+ 825,
521
+ 433
522
+ ],
523
+ "page_idx": 6
524
+ },
525
+ {
526
+ "type": "text",
527
+ "text": "An interesting, unexpected observation is that the logarithmically spaced contrast inputs are linearly spaced at the end-computation layers. That is, the average change in DNN representation scales logarithmically with the size of input change. This can be quantified by the correlation of output $L _ { 1 }$ with log Contrast input, which showed $R ^ { 2 } = 9 8 \\%$ (averaged across spatial frequencies) for prob, while much lower values were observed for early and middle layers (up to layer fc7). The same computation when scrambling the learned parameters of the model showed $R ^ { 2 } = 6 0 \\%$ . Because the degree of log-linearity observed was extremely high, it may be an important emergent property of the learned DNN computation, which may deserve further investigation. However, this property is only reminiscent and not immediately consistent with the perceptual power-law scaling (Gottesman et al., 1981). ",
528
+ "bbox": [
529
+ 173,
530
+ 439,
531
+ 825,
532
+ 579
533
+ ],
534
+ "page_idx": 6
535
+ },
536
+ {
537
+ "type": "image",
538
+ "img_path": "images/129e93025def5a9cbbe9b8278b8c41324aea4c3845d014896910bb2486ca54c3.jpg",
539
+ "image_caption": [
540
+ "Figure 3: Contrast sensitivity. a. Perceived contrast is strongly affected by spatial frequency at low contrast, but less so at high contrast (which preserves the physical quantity of contrast and thus termed constancy). b. The $L _ { 1 }$ change in VGG-19 representation between a gray image and images depicting sinusoidal gratings at each combination of sine spatial frequency $\\mathbf { \\dot { x } }$ -axis) and contrast (color) (random orientation, random phase), considering the raw image pixel data representation (data), the before-ReLU output of the first convolutional layer representation (conv1 1), the output of the last fully-connected layer representation (fc8), and the output class label probabilities representation (prob). "
541
+ ],
542
+ "image_footnote": [],
543
+ "bbox": [
544
+ 173,
545
+ 636,
546
+ 823,
547
+ 776
548
+ ],
549
+ "page_idx": 6
550
+ },
551
+ {
552
+ "type": "text",
553
+ "text": "6 DISCUSSION ",
554
+ "text_level": 1,
555
+ "bbox": [
556
+ 174,
557
+ 125,
558
+ 310,
559
+ 141
560
+ ],
561
+ "page_idx": 7
562
+ },
563
+ {
564
+ "type": "text",
565
+ "text": "6.1 HUMAN PERCEPTION IN COMPUTER VISION ",
566
+ "text_level": 1,
567
+ "bbox": [
568
+ 173,
569
+ 156,
570
+ 516,
571
+ 170
572
+ ],
573
+ "page_idx": 7
574
+ },
575
+ {
576
+ "type": "text",
577
+ "text": "It may be tempting to believe that what we see is the result of a simple transformation of visual input. Centuries of psychophysics have, however, revealed complex properties in perception, by crafting stimuli that isolate different perceptual properties. In our study, we used the same stimuli to investigate the learned properties of deep neural networks (DNNs), which are the leading computer vision algorithms to date (LeCun et al., 2015). ",
578
+ "bbox": [
579
+ 174,
580
+ 181,
581
+ 823,
582
+ 251
583
+ ],
584
+ "page_idx": 7
585
+ },
586
+ {
587
+ "type": "text",
588
+ "text": "The DNNs we used were trained in a supervised fashion to assign labels to input images. To some degree, this task resembles the simple verbal explanations given to children by their parents. Since human perception is obviously much richer than the simple external supervision provided, we were not surprised to find that the best correlate for perceptual saliency of image changes is a part of the DNN computation that is only supervised indirectly (i.e. the mid-computation stage). This similarity is so strong, that even with no fine-tuning to human perception, the DNN metric is competitively accurate, even compared with a direct model of perception. ",
589
+ "bbox": [
590
+ 174,
591
+ 258,
592
+ 825,
593
+ 356
594
+ ],
595
+ "page_idx": 7
596
+ },
597
+ {
598
+ "type": "text",
599
+ "text": "This strong, quantifiable similarity to a gross aspect of perception may, however, reflect a mix of similarities and discrepancies in different perceptual properties. To address isolated perceptual effects, we considered experiments that manipulate a spatial interaction, where the difficulty of discriminating a foreground target is modulated by a background context. Results showed modulation of DNN target diagnostic, isolated unit information, consistent with the modulation found in perceptual discrimination. This was shown for contextual interactions reflecting grouping/segmentation (Harris et al., 2015), crowding/clutter (Livne & Sagi, 2007; Pelli et al., 2004), and shape superiority (Weisstein & Harris, 1974). DNN similarity to these groupings/gestalt phenomena appeared at the end-computation stages. ",
600
+ "bbox": [
601
+ 174,
602
+ 363,
603
+ 825,
604
+ 488
605
+ ],
606
+ "page_idx": 7
607
+ },
608
+ {
609
+ "type": "text",
610
+ "text": "No less interesting, are the cases in which there is no similarity. For example, perceptual effects related to 3D (Erdogan & Jacobs, 2016) and symmetry (Pramod & Arun, 2016) do not appear to have a strong correlate in the DNN computation. Indeed, it may be interesting to investigate the influence of visual experience in these cases. And, equally important, similarity should be considered in terms of specific perceptual properties rather than as a general statement. ",
611
+ "bbox": [
612
+ 174,
613
+ 494,
614
+ 823,
615
+ 565
616
+ ],
617
+ "page_idx": 7
618
+ },
619
+ {
620
+ "type": "text",
621
+ "text": "6.2 RECURRENT VS. FEEDFORWARD CONNECTIVITY",
622
+ "text_level": 1,
623
+ "bbox": [
624
+ 174,
625
+ 583,
626
+ 547,
627
+ 595
628
+ ],
629
+ "page_idx": 7
630
+ },
631
+ {
632
+ "type": "text",
633
+ "text": "In the human hierarchy of visual processing areas, information is believed to be processed in a feedforward sweep, followed by recurrent processing loops (top-down and lateral) (Lamme & Roelfsema, 2000). Thus, for example, the early visual areas can perform deep computations. Since mapping from visual areas to DNN computational layers is not simple, it will not be considered here. (Note that ResNet connectivity is perhaps reminiscent of unrolled recurrent processing). ",
634
+ "bbox": [
635
+ 174,
636
+ 607,
637
+ 823,
638
+ 678
639
+ ],
640
+ "page_idx": 7
641
+ },
642
+ {
643
+ "type": "text",
644
+ "text": "Interestingly, debate is ongoing about the degree to which visual perception is dependent on recurrent connectivity (Fabre-Thorpe et al., 1998; Hung et al., 2005): recurrent representations are obviously richer, but feedforward computations converge much faster. An implicit question here regarding the extent of feasible feed-forward representations is, perhaps: Can contour segmentation, contextual influences, and complex shapes be learned? Based on the results reported here for feedforward DNNs, a feedforward representation may seem sufficient. However, the extent to which this is true may be very limited. In this study we used small images with a small number of lines, while effects such as contour integration seem to take place even in very large configurations (Field et al., 1993). Such scaling seems more likely in a recurrent implementation. As such, a reasonable hypothesis may be that the full extent of contextual influence is only realizable with recurrence, while feedforward DNNs learn a limited version by converging towards a useful computation. ",
645
+ "bbox": [
646
+ 174,
647
+ 684,
648
+ 825,
649
+ 837
650
+ ],
651
+ "page_idx": 7
652
+ },
653
+ {
654
+ "type": "text",
655
+ "text": "6.3 IMPLICATIONS AND FUTURE WORK ",
656
+ "text_level": 1,
657
+ "bbox": [
658
+ 176,
659
+ 854,
660
+ 455,
661
+ 867
662
+ ],
663
+ "page_idx": 7
664
+ },
665
+ {
666
+ "type": "text",
667
+ "text": "6.3.1 USE IN BRAIN MODELING ",
668
+ "text_level": 1,
669
+ "bbox": [
670
+ 176,
671
+ 880,
672
+ 406,
673
+ 893
674
+ ],
675
+ "page_idx": 7
676
+ },
677
+ {
678
+ "type": "text",
679
+ "text": "The use of DNNs in modeling of visual perception (or of biological visual systems in general) is subject to a tradeoff between accuracy and biological plausibility. In terms of architecture, other deep models better approximate our current understanding of the visual system (Riesenhuber & ",
680
+ "bbox": [
681
+ 174,
682
+ 905,
683
+ 825,
684
+ 946
685
+ ],
686
+ "page_idx": 7
687
+ },
688
+ {
689
+ "type": "text",
690
+ "text": "Poggio, 1999; Serre, 2014). However, the computation in trained DNN models is quite generalpurpose (Huh et al., 2016; Yosinski et al., 2014) and offers unparalleled accuracy in recognition tasks (LeCun et al., 2015). Since visual computations are, to some degree, task- rather than architecturedependent, an accurate and general-purpose DNN model may better resemble biological processing than less accurate biologically plausible ones (Kriegeskorte, 2015; Yamins & DiCarlo, 2016). We support this view by considering a controlled condition in which similarity is not confounded with task difficulty or categorization consistency. ",
691
+ "bbox": [
692
+ 174,
693
+ 126,
694
+ 825,
695
+ 223
696
+ ],
697
+ "page_idx": 8
698
+ },
699
+ {
700
+ "type": "text",
701
+ "text": "6.3.2 USE IN PSYCHOPHYSICS ",
702
+ "text_level": 1,
703
+ "bbox": [
704
+ 176,
705
+ 241,
706
+ 397,
707
+ 256
708
+ ],
709
+ "page_idx": 8
710
+ },
711
+ {
712
+ "type": "text",
713
+ "text": "Our results imply that trained DNN models have good predictive value for outcomes of psychophysical experiments, permitting a zero-cost first-order approximation. Note, however, that the scope of such simulations may be limited, since learning (Sagi, 2011) and adaptation (Webster, 2011) were not considered here. ",
714
+ "bbox": [
715
+ 174,
716
+ 266,
717
+ 825,
718
+ 321
719
+ ],
720
+ "page_idx": 8
721
+ },
722
+ {
723
+ "type": "text",
724
+ "text": "Another fascinating option is the formation of hypotheses in terms of mathematically differentiable trained-DNN constraints, whereby it is possible to efficiently solve for the visual stimuli that optimally dissociate the hypotheses (see Gatys et al. 2015a;b; Mordvintsev et al. 2015 and note Goodfellow et al. 2014; Szegedy et al. 2013). The conclusions drawn from such stimuli can be independent of the theoretical assumptions about the generating process (for example, creating new visual illusions that can be seen regardless of how they were created). ",
725
+ "bbox": [
726
+ 174,
727
+ 329,
728
+ 825,
729
+ 412
730
+ ],
731
+ "page_idx": 8
732
+ },
733
+ {
734
+ "type": "text",
735
+ "text": "6.3.3 USE IN ENGINEERING (A PERCEPTUAL LOSS METRIC) ",
736
+ "text_level": 1,
737
+ "bbox": [
738
+ 174,
739
+ 430,
740
+ 598,
741
+ 444
742
+ ],
743
+ "page_idx": 8
744
+ },
745
+ {
746
+ "type": "text",
747
+ "text": "As proposed previously (Dosovitskiy & Brox, 2016; Johnson et al., 2016; Ledig et al., 2016), the saliency of small image changes can be estimated as the representational distance in trained DNNs. Here, we quantified this approach by relying on data from a controlled psychophysical experiment (Alam et al., 2014). We found the metric to be far superior to simple image statistical properties, and on par with a detailed perceptual model (Alam et al., 2014). This metric can be useful in image compression, whereby optimizing degradation across image sub-patches by comparing perceptual loss may minimize visual artifacts and content loss. ",
748
+ "bbox": [
749
+ 174,
750
+ 454,
751
+ 825,
752
+ 553
753
+ ],
754
+ "page_idx": 8
755
+ },
756
+ {
757
+ "type": "text",
758
+ "text": "ACKNOWLEDGMENTS ",
759
+ "text_level": 1,
760
+ "bbox": [
761
+ 176,
762
+ 570,
763
+ 326,
764
+ 583
765
+ ],
766
+ "page_idx": 8
767
+ },
768
+ {
769
+ "type": "text",
770
+ "text": "We thank Yoram Bonneh for his valuable questions which led to much of this work. ",
771
+ "bbox": [
772
+ 176,
773
+ 594,
774
+ 720,
775
+ 609
776
+ ],
777
+ "page_idx": 8
778
+ },
779
+ {
780
+ "type": "text",
781
+ "text": "REFERENCES ",
782
+ "text_level": 1,
783
+ "bbox": [
784
+ 176,
785
+ 632,
786
+ 285,
787
+ 647
788
+ ],
789
+ "page_idx": 8
790
+ },
791
+ {
792
+ "type": "text",
793
+ "text": "Md Mushfiqul Alam, Kedarnath P Vilankar, David J Field, and Damon M Chandler. Local masking in natural images: A database and analysis. Journal of vision, 14(8):22–, jan 2014. ISSN 1534- 7362. doi: 10.1167/14.8.22. ",
794
+ "bbox": [
795
+ 174,
796
+ 656,
797
+ 825,
798
+ 698
799
+ ],
800
+ "page_idx": 8
801
+ },
802
+ {
803
+ "type": "text",
804
+ "text": "Md Mushfiqul Alam, Pranita Patil, Martin T Hagan, and Damon M Chandler. A computational model for predicting local distortion visibility via convolutional neural network trainedon natural scenes. In Image Processing (ICIP), 2015 IEEE International Conference on, pp. 3967–3971. IEEE, 2015. ",
805
+ "bbox": [
806
+ 174,
807
+ 712,
808
+ 825,
809
+ 767
810
+ ],
811
+ "page_idx": 8
812
+ },
813
+ {
814
+ "type": "text",
815
+ "text": "Charles F Cadieu, Ha Hong, Daniel L K Yamins, Nicolas Pinto, Diego Ardila, Ethan A Solomon, Najib J Majaj, and James J DiCarlo. Deep neural networks rival the representation of primate IT cortex for core visual object recognition. PLoS computational biology, 10(12):e1003963, dec 2014. ISSN 1553-7358. doi: 10.1371/journal.pcbi.1003963. ",
816
+ "bbox": [
817
+ 174,
818
+ 780,
819
+ 825,
820
+ 837
821
+ ],
822
+ "page_idx": 8
823
+ },
824
+ {
825
+ "type": "text",
826
+ "text": "Fergus W Campbell and J G Robson. Application of Fourier analysis to the visibility of gratings. The Journal of physiology, 197(3):551, 1968. ",
827
+ "bbox": [
828
+ 173,
829
+ 849,
830
+ 820,
831
+ 877
832
+ ],
833
+ "page_idx": 8
834
+ },
835
+ {
836
+ "type": "text",
837
+ "text": "Matteo Carandini, Jonathan B Demb, Valerio Mante, David J Tolhurst, Yang Dan, Bruno A Olshausen, Jack L Gallant, and Nicole C Rust. Do we know what the early visual system does? The Journal of Neuroscience, 25(46):10577–97, nov 2005. ISSN 1529-2401. doi: 10.1523/JNEUROSCI.3726-05.2005. ",
838
+ "bbox": [
839
+ 174,
840
+ 890,
841
+ 823,
842
+ 945
843
+ ],
844
+ "page_idx": 8
845
+ },
846
+ {
847
+ "type": "text",
848
+ "text": "Gregory C DeAngelis, Izumi Ohzawa, and Ralph D Freeman. Receptive-field dynamics in the central visual pathways. Trends in neurosciences, 18(10):451–458, 1995. ISSN 0166-2236. ",
849
+ "bbox": [
850
+ 173,
851
+ 126,
852
+ 823,
853
+ 155
854
+ ],
855
+ "page_idx": 9
856
+ },
857
+ {
858
+ "type": "text",
859
+ "text": "Antoine Del Cul, Sylvain Baillet, and Stanislas Dehaene. Brain dynamics underlying the nonlinear threshold for access to consciousness. PLoS Biol, 5(10):e260, 2007. ISSN 1545-7885. ",
860
+ "bbox": [
861
+ 173,
862
+ 164,
863
+ 823,
864
+ 194
865
+ ],
866
+ "page_idx": 9
867
+ },
868
+ {
869
+ "type": "text",
870
+ "text": "Alexey Dosovitskiy and Thomas Brox. Generating images with perceptual similarity metrics based on deep networks. arXiv preprint arXiv:1602.02644, 2016. ",
871
+ "bbox": [
872
+ 171,
873
+ 203,
874
+ 823,
875
+ 233
876
+ ],
877
+ "page_idx": 9
878
+ },
879
+ {
880
+ "type": "text",
881
+ "text": "Abhimanyu Dubey and Sumeet Agarwal. Examining Representational Similarity in ConvNets and the Primate Visual Cortex. arXiv preprint arXiv:1609.03529, 2016. ",
882
+ "bbox": [
883
+ 171,
884
+ 242,
885
+ 825,
886
+ 272
887
+ ],
888
+ "page_idx": 9
889
+ },
890
+ {
891
+ "type": "text",
892
+ "text": "Goker Erdogan and Robert A Jacobs. A 3D shape inference model matches human visual object similarity judgments better than deep convolutional neural networks. In Proceedings of the 38th Annual Conference of the Cognitive Science Society. Cognitive Science Society Austin, TX, 2016. ",
893
+ "bbox": [
894
+ 176,
895
+ 280,
896
+ 823,
897
+ 324
898
+ ],
899
+ "page_idx": 9
900
+ },
901
+ {
902
+ "type": "text",
903
+ "text": "Michele Fabre-Thorpe, Ghislaine Richard, and Simon J Thorpe. Rapid categorization of natural \\` images by rhesus monkeys. Neuroreport, 9(2):303–308, 1998. ISSN 0959-4965. ",
904
+ "bbox": [
905
+ 174,
906
+ 333,
907
+ 821,
908
+ 363
909
+ ],
910
+ "page_idx": 9
911
+ },
912
+ {
913
+ "type": "text",
914
+ "text": "David J Field, Anthony Hayes, and Robert F Hess. Contour integration by the human visual system: evidence for a local association field. Vision research, 33(2):173–193, 1993. ISSN 0042-6989. ",
915
+ "bbox": [
916
+ 173,
917
+ 372,
918
+ 820,
919
+ 401
920
+ ],
921
+ "page_idx": 9
922
+ },
923
+ {
924
+ "type": "text",
925
+ "text": "Itzhak Fogel and Dov Sagi. Gabor filters as texture discriminator. Biological cybernetics, 61(2): 103–113, 1989. ISSN 0340-1200. ",
926
+ "bbox": [
927
+ 173,
928
+ 410,
929
+ 821,
930
+ 440
931
+ ],
932
+ "page_idx": 9
933
+ },
934
+ {
935
+ "type": "text",
936
+ "text": "Leon A. Gatys, Alexander S. Ecker, and Matthias Bethge. A Neural Algorithm of Artistic Style. aug 2015a. ",
937
+ "bbox": [
938
+ 173,
939
+ 449,
940
+ 821,
941
+ 479
942
+ ],
943
+ "page_idx": 9
944
+ },
945
+ {
946
+ "type": "text",
947
+ "text": "Leon A. Gatys, Alexander S. Ecker, and Matthias Bethge. Texture synthesis and the controlled generation of natural stimuli using convolutional neural networks. may 2015b. ",
948
+ "bbox": [
949
+ 169,
950
+ 488,
951
+ 823,
952
+ 517
953
+ ],
954
+ "page_idx": 9
955
+ },
956
+ {
957
+ "type": "text",
958
+ "text": "M A Georgeson and G D Sullivan. Contrast constancy: deblurring in human vision by spatial frequency channels. The Journal of Physiology, 252(3):627–656, 1975. ISSN 1469-7793. ",
959
+ "bbox": [
960
+ 169,
961
+ 526,
962
+ 823,
963
+ 558
964
+ ],
965
+ "page_idx": 9
966
+ },
967
+ {
968
+ "type": "text",
969
+ "text": "Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Advances in Neural Information Processing Systems, pp. 2672–2680, 2014. ",
970
+ "bbox": [
971
+ 173,
972
+ 565,
973
+ 823,
974
+ 609
975
+ ],
976
+ "page_idx": 9
977
+ },
978
+ {
979
+ "type": "text",
980
+ "text": "Jon Gottesman, Gary S Rubin, and Gordon E Legge. A power law for perceived contrast in human vision. Vision research, 21(6):791–799, 1981. ISSN 0042-6989. ",
981
+ "bbox": [
982
+ 169,
983
+ 618,
984
+ 825,
985
+ 648
986
+ ],
987
+ "page_idx": 9
988
+ },
989
+ {
990
+ "type": "text",
991
+ "text": "Hila Harris, Noga Pinchuk-Yacobi, and Dov Sagi. Target selective tilt-after effect during texture learning. Journal of vision, 15(12):1134, 2015. ",
992
+ "bbox": [
993
+ 173,
994
+ 656,
995
+ 821,
996
+ 688
997
+ ],
998
+ "page_idx": 9
999
+ },
1000
+ {
1001
+ "type": "text",
1002
+ "text": "Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep Residual Learning for Image Recognition. dec 2015. ",
1003
+ "bbox": [
1004
+ 173,
1005
+ 695,
1006
+ 823,
1007
+ 726
1008
+ ],
1009
+ "page_idx": 9
1010
+ },
1011
+ {
1012
+ "type": "text",
1013
+ "text": "Hinton and Salakhutdinov. Reducing the dimensionality of data with neural networks. Science (New York, N.Y.), 313(5786):504–7, jul 2006. ISSN 1095-9203. doi: 10.1126/science.1127647. ",
1014
+ "bbox": [
1015
+ 173,
1016
+ 734,
1017
+ 825,
1018
+ 765
1019
+ ],
1020
+ "page_idx": 9
1021
+ },
1022
+ {
1023
+ "type": "text",
1024
+ "text": "D. H. Hubel and T. N. Wiesel. Receptive fields and functional architecture of monkey striate cortex. The Journal of Physiology, 195(1):215–243, mar 1968. ISSN 00223751. doi: 10.1113/jphysiol. 1968.sp008455. ",
1025
+ "bbox": [
1026
+ 173,
1027
+ 773,
1028
+ 826,
1029
+ 816
1030
+ ],
1031
+ "page_idx": 9
1032
+ },
1033
+ {
1034
+ "type": "text",
1035
+ "text": "Minyoung Huh, Pulkit Agrawal, and Alexei A. Efros. What makes ImageNet good for transfer learning? aug 2016. ",
1036
+ "bbox": [
1037
+ 171,
1038
+ 825,
1039
+ 823,
1040
+ 856
1041
+ ],
1042
+ "page_idx": 9
1043
+ },
1044
+ {
1045
+ "type": "text",
1046
+ "text": "Chou P Hung, Gabriel Kreiman, Tomaso Poggio, and James J DiCarlo. Fast readout of object identity from macaque inferior temporal cortex. Science, 310(5749):863–866, 2005. ISSN 0036- 8075. ",
1047
+ "bbox": [
1048
+ 176,
1049
+ 864,
1050
+ 823,
1051
+ 907
1052
+ ],
1053
+ "page_idx": 9
1054
+ },
1055
+ {
1056
+ "type": "text",
1057
+ "text": "Anil K Jain and Farshid Farrokhnia. Unsupervised texture segmentation using Gabor filters. Pattern recognition, 24(12):1167–1186, 1991. ISSN 0031-3203. ",
1058
+ "bbox": [
1059
+ 173,
1060
+ 917,
1061
+ 823,
1062
+ 946
1063
+ ],
1064
+ "page_idx": 9
1065
+ },
1066
+ {
1067
+ "type": "text",
1068
+ "text": "Yangqing Jia, Evan Shelhamer, Jeff Donahue, Sergey Karayev, Jonathan Long, Ross Girshick, Sergio Guadarrama, and Trevor Darrell. Caffe. In Proceedings of the ACM International Conference on Multimedia - MM ’14, pp. 675–678, New York, New York, USA, nov 2014. ACM Press. ISBN 9781450330633. doi: 10.1145/2647868.2654889. ",
1069
+ "bbox": [
1070
+ 174,
1071
+ 126,
1072
+ 826,
1073
+ 183
1074
+ ],
1075
+ "page_idx": 10
1076
+ },
1077
+ {
1078
+ "type": "text",
1079
+ "text": "Justin Johnson, Alexandre Alahi, and Li Fei-Fei. Perceptual losses for real-time style transfer and super-resolution. arXiv preprint arXiv:1603.08155, 2016. ",
1080
+ "bbox": [
1081
+ 169,
1082
+ 190,
1083
+ 823,
1084
+ 220
1085
+ ],
1086
+ "page_idx": 10
1087
+ },
1088
+ {
1089
+ "type": "text",
1090
+ "text": "A. Karni and D. Sagi. Where practice makes perfect in texture discrimination: evidence for primary visual cortex plasticity. Proceedings of the National Academy of Sciences, 88(11):4966–4970, jun 1991. ISSN 0027-8424. doi: 10.1073/pnas.88.11.4966. ",
1091
+ "bbox": [
1092
+ 174,
1093
+ 228,
1094
+ 823,
1095
+ 271
1096
+ ],
1097
+ "page_idx": 10
1098
+ },
1099
+ {
1100
+ "type": "text",
1101
+ "text": "Seyed-Mahdi Khaligh-Razavi and Nikolaus Kriegeskorte. Deep Supervised, but Not Unsupervised, Models May Explain IT Cortical Representation. PLoS Computational Biology, 10(11): e1003915, nov 2014. ISSN 1553-7358. doi: 10.1371/journal.pcbi.1003915. ",
1102
+ "bbox": [
1103
+ 174,
1104
+ 280,
1105
+ 821,
1106
+ 323
1107
+ ],
1108
+ "page_idx": 10
1109
+ },
1110
+ {
1111
+ "type": "text",
1112
+ "text": "Nikolaus Kriegeskorte. Deep neural networks: A new framework for modeling biological vision and brain information processing. Annual Review of Vision Science, 1:417–446, 2015. ISSN 2374-4642. ",
1113
+ "bbox": [
1114
+ 173,
1115
+ 330,
1116
+ 823,
1117
+ 373
1118
+ ],
1119
+ "page_idx": 10
1120
+ },
1121
+ {
1122
+ "type": "text",
1123
+ "text": "Alex Krizhevsky, Ilya Sutskever, and Geoffrey E. Hinton. ImageNet Classification with Deep Convolutional Neural Networks. In Advances in Neural Information Processing Systems, pp. 1097– 1105, 2012. ",
1124
+ "bbox": [
1125
+ 173,
1126
+ 381,
1127
+ 825,
1128
+ 424
1129
+ ],
1130
+ "page_idx": 10
1131
+ },
1132
+ {
1133
+ "type": "text",
1134
+ "text": "Jonas Kubilius, Stefania Bracci, and Hans P Op de Beeck. Deep Neural Networks as a Computational Model for Human Shape Sensitivity. PLoS Comput Biol, 12(4):e1004896, 2016. ISSN 1553-7358. ",
1135
+ "bbox": [
1136
+ 173,
1137
+ 433,
1138
+ 825,
1139
+ 476
1140
+ ],
1141
+ "page_idx": 10
1142
+ },
1143
+ {
1144
+ "type": "text",
1145
+ "text": "Victor A.F. Lamme and Pieter R. Roelfsema. The distinct modes of vision offered by feedforward and recurrent processing. Trends in Neurosciences, 23(11):571–579, nov 2000. ISSN 01662236. doi: 10.1016/S0166-2236(00)01657-X. ",
1146
+ "bbox": [
1147
+ 174,
1148
+ 484,
1149
+ 825,
1150
+ 527
1151
+ ],
1152
+ "page_idx": 10
1153
+ },
1154
+ {
1155
+ "type": "text",
1156
+ "text": "Eric C Larson and Damon M Chandler. Most apparent distortion: full-reference image quality assessment and the role of strategy. Journal of Electronic Imaging, 19(1):11006, 2010. ISSN 1017-9909. ",
1157
+ "bbox": [
1158
+ 174,
1159
+ 535,
1160
+ 825,
1161
+ 578
1162
+ ],
1163
+ "page_idx": 10
1164
+ },
1165
+ {
1166
+ "type": "text",
1167
+ "text": "Y. Lecun, L. Bottou, Y. Bengio, and P. Haffner. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11):2278–2324, 1998. ISSN 00189219. doi: 10.1109/5.726791. ",
1168
+ "bbox": [
1169
+ 173,
1170
+ 587,
1171
+ 825,
1172
+ 630
1173
+ ],
1174
+ "page_idx": 10
1175
+ },
1176
+ {
1177
+ "type": "text",
1178
+ "text": "Yann LeCun, Yoshua Bengio, and Geoffrey Hinton. Deep learning. Nature, 521(7553):436–444, may 2015. ISSN 0028-0836. doi: 10.1038/nature14539. ",
1179
+ "bbox": [
1180
+ 174,
1181
+ 637,
1182
+ 825,
1183
+ 667
1184
+ ],
1185
+ "page_idx": 10
1186
+ },
1187
+ {
1188
+ "type": "text",
1189
+ "text": "Christian Ledig, Lucas Theis, Ferenc Huszar, Jose Caballero, Andrew Aitken, Alykhan Tejani, Johannes Totz, Zehan Wang, and Wenzhe Shi. Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network. sep 2016. ",
1190
+ "bbox": [
1191
+ 174,
1192
+ 675,
1193
+ 823,
1194
+ 718
1195
+ ],
1196
+ "page_idx": 10
1197
+ },
1198
+ {
1199
+ "type": "text",
1200
+ "text": "Honglak Lee, Chaitanya Ekanadham, and Andrew Y. Ng. Sparse deep belief net model for visual area V2. In Advances in Neural Information Processing Systems, pp. 873–880, 2008. ",
1201
+ "bbox": [
1202
+ 171,
1203
+ 727,
1204
+ 823,
1205
+ 756
1206
+ ],
1207
+ "page_idx": 10
1208
+ },
1209
+ {
1210
+ "type": "text",
1211
+ "text": "Honglak Lee, Roger Grosse, Rajesh Ranganath, and Andrew Y. Ng. Convolutional deep belief networks for scalable unsupervised learning of hierarchical representations. In Proceedings of the 26th Annual International Conference on Machine Learning - ICML ’09, pp. 1–8, New York, New York, USA, jun 2009. ACM Press. ISBN 9781605585161. doi: 10.1145/1553374.1553453. ",
1212
+ "bbox": [
1213
+ 174,
1214
+ 763,
1215
+ 825,
1216
+ 820
1217
+ ],
1218
+ "page_idx": 10
1219
+ },
1220
+ {
1221
+ "type": "text",
1222
+ "text": "Yixuan Li, Jason Yosinski, Jeff Clune, Hod Lipson, and John Hopcroft. Convergent Learning: Do different neural networks learn the same representations? arXiv preprint arXiv:1511.07543, 2015. ",
1223
+ "bbox": [
1224
+ 171,
1225
+ 829,
1226
+ 825,
1227
+ 858
1228
+ ],
1229
+ "page_idx": 10
1230
+ },
1231
+ {
1232
+ "type": "text",
1233
+ "text": "Yucheng Liu and Jan P. Allebach. Near-threshold perceptual distortion prediction based on optimal structure classification. In 2016 IEEE International Conference on Image Processing (ICIP), pp. 106–110. IEEE, sep 2016. ISBN 978-1-4673-9961-6. doi: 10.1109/ICIP.2016.7532328. ",
1234
+ "bbox": [
1235
+ 176,
1236
+ 866,
1237
+ 823,
1238
+ 909
1239
+ ],
1240
+ "page_idx": 10
1241
+ },
1242
+ {
1243
+ "type": "text",
1244
+ "text": "Tomer Livne and Dov Sagi. Configuration influence on crowding. Journal of Vision, 7(2):4, 2007. ISSN 1534-7362. ",
1245
+ "bbox": [
1246
+ 171,
1247
+ 917,
1248
+ 823,
1249
+ 946
1250
+ ],
1251
+ "page_idx": 10
1252
+ },
1253
+ {
1254
+ "type": "text",
1255
+ "text": "Alexander Mordvintsev, Christopher Olah, and Mike Tyka. Inceptionism: Going deeper into neural networks. Google Research Blog. Retrieved June, 20, 2015. ",
1256
+ "bbox": [
1257
+ 174,
1258
+ 126,
1259
+ 823,
1260
+ 156
1261
+ ],
1262
+ "page_idx": 11
1263
+ },
1264
+ {
1265
+ "type": "text",
1266
+ "text": "Peter Neri, Andrew J Parker, and Colin Blakemore. Probing the human stereoscopic system with reverse correlation. Nature, 401(6754):695–698, 1999. ISSN 0028-0836. ",
1267
+ "bbox": [
1268
+ 174,
1269
+ 162,
1270
+ 821,
1271
+ 193
1272
+ ],
1273
+ "page_idx": 11
1274
+ },
1275
+ {
1276
+ "type": "text",
1277
+ "text": "Bruno A Olshausen. Emergence of simple-cell receptive field properties by learning a sparse code for natural images. Nature, 381(6583):607–609, 1996. ISSN 0028-0836. ",
1278
+ "bbox": [
1279
+ 173,
1280
+ 200,
1281
+ 823,
1282
+ 231
1283
+ ],
1284
+ "page_idx": 11
1285
+ },
1286
+ {
1287
+ "type": "text",
1288
+ "text": "Bruno A. Olshausen and David J. Field. Sparse coding with an overcomplete basis set: A strategy employed by V1? Vision Research, 37(23):3311–3325, dec 1997. ISSN 00426989. doi: 10.1016/ S0042-6989(97)00169-7. ",
1289
+ "bbox": [
1290
+ 171,
1291
+ 238,
1292
+ 825,
1293
+ 280
1294
+ ],
1295
+ "page_idx": 11
1296
+ },
1297
+ {
1298
+ "type": "text",
1299
+ "text": "Denis G Pelli, Melanie Palomares, and Najib J Majaj. Crowding is unlike ordinary masking: Distinguishing feature integration from detection. Journal of vision, 4(12):12, 2004. ISSN 1534-7362. ",
1300
+ "bbox": [
1301
+ 171,
1302
+ 289,
1303
+ 823,
1304
+ 319
1305
+ ],
1306
+ "page_idx": 11
1307
+ },
1308
+ {
1309
+ "type": "text",
1310
+ "text": "Noga Pinchuk-Yacobi, Ron Dekel, and Dov Sagi. Expectation and the tilt aftereffect. Journal of vision, 15(12):39, sep 2015. ISSN 1534-7362. doi: 10.1167/15.12.39. ",
1311
+ "bbox": [
1312
+ 171,
1313
+ 327,
1314
+ 825,
1315
+ 356
1316
+ ],
1317
+ "page_idx": 11
1318
+ },
1319
+ {
1320
+ "type": "text",
1321
+ "text": "Noga Pinchuk-Yacobi, Hila Harris, and Dov Sagi. Target-selective tilt aftereffect during texture learning. Vision research, 124:44–51, 2016. ISSN 0042-6989. ",
1322
+ "bbox": [
1323
+ 173,
1324
+ 363,
1325
+ 823,
1326
+ 393
1327
+ ],
1328
+ "page_idx": 11
1329
+ },
1330
+ {
1331
+ "type": "text",
1332
+ "text": "U Polat and D Sagi. Lateral interactions between spatial channels: suppression and facilitation revealed by lateral masking experiments. Vision research, 33(7):993–9, may 1993. ISSN 0042- 6989. ",
1333
+ "bbox": [
1334
+ 176,
1335
+ 401,
1336
+ 823,
1337
+ 443
1338
+ ],
1339
+ "page_idx": 11
1340
+ },
1341
+ {
1342
+ "type": "text",
1343
+ "text": "R T Pramod and S P Arun. Do computational models differ systematically from human object perception? In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1601–1609, 2016. ",
1344
+ "bbox": [
1345
+ 174,
1346
+ 452,
1347
+ 823,
1348
+ 494
1349
+ ],
1350
+ "page_idx": 11
1351
+ },
1352
+ {
1353
+ "type": "text",
1354
+ "text": "Maximilian Riesenhuber and Tomaso Poggio. Hierarchical models of object recognition in cortex. Nature neuroscience, 2(11):1019–1025, 1999. ",
1355
+ "bbox": [
1356
+ 169,
1357
+ 502,
1358
+ 823,
1359
+ 532
1360
+ ],
1361
+ "page_idx": 11
1362
+ },
1363
+ {
1364
+ "type": "text",
1365
+ "text": "Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, Alexander C. Berg, and Li Fei-Fei. ImageNet Large Scale Visual Recognition Challenge. sep 2014. ",
1366
+ "bbox": [
1367
+ 174,
1368
+ 540,
1369
+ 821,
1370
+ 584
1371
+ ],
1372
+ "page_idx": 11
1373
+ },
1374
+ {
1375
+ "type": "text",
1376
+ "text": "Dov Sagi. Perceptual learning in vision research. Vision research, 51(13):1552–1566, 2011. ISSN 0042-6989. ",
1377
+ "bbox": [
1378
+ 171,
1379
+ 592,
1380
+ 823,
1381
+ 621
1382
+ ],
1383
+ "page_idx": 11
1384
+ },
1385
+ {
1386
+ "type": "text",
1387
+ "text": "Johannes D Seelig and Vivek Jayaraman. Feature detection and orientation tuning in the Drosophila central complex. Nature, 503(7475):262–266, 2013. ISSN 0028-0836. ",
1388
+ "bbox": [
1389
+ 171,
1390
+ 628,
1391
+ 823,
1392
+ 659
1393
+ ],
1394
+ "page_idx": 11
1395
+ },
1396
+ {
1397
+ "type": "text",
1398
+ "text": "Thomas Serre. Hierarchical Models of the Visual System. In Encyclopedia of Computational Neuroscience, pp. 1–12. Springer, 2014. ISBN 1461473209. ",
1399
+ "bbox": [
1400
+ 171,
1401
+ 666,
1402
+ 823,
1403
+ 695
1404
+ ],
1405
+ "page_idx": 11
1406
+ },
1407
+ {
1408
+ "type": "text",
1409
+ "text": "Eero P Simoncelli and William T Freeman. The steerable pyramid: a flexible architecture for multiscale derivative computation. In ICIP (3), pp. 444–447, 1995. ",
1410
+ "bbox": [
1411
+ 171,
1412
+ 704,
1413
+ 823,
1414
+ 733
1415
+ ],
1416
+ "page_idx": 11
1417
+ },
1418
+ {
1419
+ "type": "text",
1420
+ "text": "Karen Simonyan and Andrew Zisserman. Very Deep Convolutional Networks for Large-Scale Image Recognition. sep 2014. ",
1421
+ "bbox": [
1422
+ 171,
1423
+ 741,
1424
+ 823,
1425
+ 770
1426
+ ],
1427
+ "page_idx": 11
1428
+ },
1429
+ {
1430
+ "type": "text",
1431
+ "text": "Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks. arXiv preprint arXiv:1312.6199, 2013. ",
1432
+ "bbox": [
1433
+ 171,
1434
+ 777,
1435
+ 823,
1436
+ 808
1437
+ ],
1438
+ "page_idx": 11
1439
+ },
1440
+ {
1441
+ "type": "text",
1442
+ "text": "Christian Szegedy, Wei Liu, Yangqing Jia, Pierre Sermanet, Scott Reed, Dragomir Anguelov, Dumitru Erhan, Vincent Vanhoucke, and Andrew Rabinovich. Going Deeper with Convolutions. sep 2014. ",
1443
+ "bbox": [
1444
+ 173,
1445
+ 815,
1446
+ 825,
1447
+ 858
1448
+ ],
1449
+ "page_idx": 11
1450
+ },
1451
+ {
1452
+ "type": "text",
1453
+ "text": "Andrea Vedaldi and Karel Lenc. Matconvnet: Convolutional neural networks for matlab. In Proceedings of the 23rd ACM international conference on Multimedia, pp. 689–692. ACM, 2015. ISBN 1450334598. ",
1454
+ "bbox": [
1455
+ 173,
1456
+ 866,
1457
+ 823,
1458
+ 909
1459
+ ],
1460
+ "page_idx": 11
1461
+ },
1462
+ {
1463
+ "type": "text",
1464
+ "text": "Andrew B Watson and Albert J Ahumada. Predicting visual acuity from wavefront aberrations. Journal of vision, 8(4):17.1–19, jan 2008. ISSN 1534-7362. doi: 10.1167/8.4.17. ",
1465
+ "bbox": [
1466
+ 173,
1467
+ 917,
1468
+ 821,
1469
+ 946
1470
+ ],
1471
+ "page_idx": 11
1472
+ },
1473
+ {
1474
+ "type": "text",
1475
+ "text": "Michael A Webster. Adaptation and visual coding. Journal of vision, 11(5), jan 2011. ISSN 1534- 7362. ",
1476
+ "bbox": [
1477
+ 173,
1478
+ 126,
1479
+ 823,
1480
+ 155
1481
+ ],
1482
+ "page_idx": 12
1483
+ },
1484
+ {
1485
+ "type": "text",
1486
+ "text": "N. Weisstein and C. S. Harris. Visual Detection of Line Segments: An Object-Superiority Effect. Science, 186(4165):752–755, nov 1974. ISSN 0036-8075. doi: 10.1126/science.186.4165.752. ",
1487
+ "bbox": [
1488
+ 173,
1489
+ 164,
1490
+ 820,
1491
+ 193
1492
+ ],
1493
+ "page_idx": 12
1494
+ },
1495
+ {
1496
+ "type": "text",
1497
+ "text": "Daniel L K Yamins and James J DiCarlo. Using goal-driven deep learning models to understand sensory cortex. Nature neuroscience, 19(3):356–365, 2016. ISSN 1097-6256. ",
1498
+ "bbox": [
1499
+ 171,
1500
+ 202,
1501
+ 823,
1502
+ 231
1503
+ ],
1504
+ "page_idx": 12
1505
+ },
1506
+ {
1507
+ "type": "text",
1508
+ "text": "Daniel L K Yamins, Ha Hong, Charles F Cadieu, Ethan A Solomon, Darren Seibert, and James J DiCarlo. Performance-optimized hierarchical models predict neural responses in higher visual cortex. Proceedings of the National Academy of Sciences, 111(23):8619–8624, 2014. ISSN 0027-8424. ",
1509
+ "bbox": [
1510
+ 171,
1511
+ 238,
1512
+ 826,
1513
+ 295
1514
+ ],
1515
+ "page_idx": 12
1516
+ },
1517
+ {
1518
+ "type": "text",
1519
+ "text": "Jason Yosinski, Jeff Clune, Yoshua Bengio, and Hod Lipson. How transferable are features in deep neural networks? In Advances in neural information processing systems, pp. 3320–3328, 2014. ",
1520
+ "bbox": [
1521
+ 169,
1522
+ 304,
1523
+ 823,
1524
+ 334
1525
+ ],
1526
+ "page_idx": 12
1527
+ },
1528
+ {
1529
+ "type": "text",
1530
+ "text": "Matthew D Zeiler and Rob Fergus. Visualizing and Understanding Convolutional Networks. nov 2013. ",
1531
+ "bbox": [
1532
+ 171,
1533
+ 342,
1534
+ 823,
1535
+ 372
1536
+ ],
1537
+ "page_idx": 12
1538
+ },
1539
+ {
1540
+ "type": "text",
1541
+ "text": "Zhou, Aditya Khosla, Agata Lapedriza, Aude Oliva, and Antonio Torralba. Object Detectors Emerge in Deep Scene CNNs. pp. 12, dec 2014. ",
1542
+ "bbox": [
1543
+ 171,
1544
+ 380,
1545
+ 823,
1546
+ 410
1547
+ ],
1548
+ "page_idx": 12
1549
+ },
1550
+ {
1551
+ "type": "image",
1552
+ "img_path": "images/7f5bbbcb223c1452fc1734ff68228fa0b27732812631743799d06e0300cc5f5e.jpg",
1553
+ "image_caption": [
1554
+ "Figure 4: Predicting perceptual sensitivity to image changes (following Figure 1). a-c, The $L _ { 1 }$ change in CaffeNet, GoogLeNet, and ResNet-152 DNN architectures as a function of perceptual threshold. d, The $L _ { 1 }$ change in GoogLeNet as a function of the $L _ { 1 }$ change in VGG-19. "
1555
+ ],
1556
+ "image_footnote": [],
1557
+ "bbox": [
1558
+ 174,
1559
+ 171,
1560
+ 823,
1561
+ 303
1562
+ ],
1563
+ "page_idx": 13
1564
+ },
1565
+ {
1566
+ "type": "image",
1567
+ "img_path": "images/5ebde87e3cc14d07e5e038829043986e2f1e92f89ee8c84f1c899d55e3377031.jpg",
1568
+ "image_caption": [
1569
+ "Figure 5: Prediction accuracy as a function of computational stage. a, Predicting perceptual sensitivity for model VGG-19 using the best single kernel (i.e. using one fitting parameter, no cross validation), vs. the standard $L _ { 1 }$ metric (reproduced from Figure 1). b, For non-branch computational stages of model ResNet-152. "
1570
+ ],
1571
+ "image_footnote": [],
1572
+ "bbox": [
1573
+ 173,
1574
+ 393,
1575
+ 813,
1576
+ 553
1577
+ ],
1578
+ "page_idx": 13
1579
+ },
1580
+ {
1581
+ "type": "table",
1582
+ "img_path": "images/6479245d1c7064bc0c96164be8f4cb7c4e24c26fe29e0a6de01f4565cc15533c.jpg",
1583
+ "table_caption": [
1584
+ "Table 2: Accuracy of perceptual sensitivity prediction and task-trained ImageNet center-crop top-1 validation accuracy for different DNN models (following Table 1 from which third row is reproduced; used scale: $100 \\%$ ). The quality of prediction for ResNet-152 improves dramatically if only the first tens of layers are considered (see Figure 5b). "
1585
+ ],
1586
+ "table_footnote": [],
1587
+ "table_body": "<table><tr><td>Model</td><td>R²</td><td>SROCC</td><td>RMSE</td><td>Recognition accuracy</td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>CaffeNet</td><td>.59</td><td>.78</td><td>5.44</td><td>56%</td></tr><tr><td>GoogLeNet</td><td>.59</td><td>.79</td><td>5.45 5.40</td><td>66%</td></tr><tr><td>VGG-19</td><td>.60</td><td>.79</td><td>5.82</td><td>70%</td></tr><tr><td>ResNet-152</td><td>.53</td><td>.74</td><td></td><td>75%</td></tr></table>",
1588
+ "bbox": [
1589
+ 272,
1590
+ 646,
1591
+ 723,
1592
+ 736
1593
+ ],
1594
+ "page_idx": 13
1595
+ },
1596
+ {
1597
+ "type": "table",
1598
+ "img_path": "images/92528d6df66d5d2c95ed09ea268b2c7162af0848aa4b03967c2a149c25f461c1.jpg",
1599
+ "table_caption": [
1600
+ "Table 3: Accuracy of perceptual sensitivity prediction for baseline models (see Section 8.2; used scale: $100 \\%$ ). "
1601
+ ],
1602
+ "table_footnote": [],
1603
+ "table_body": "<table><tr><td>Model</td><td>R²</td><td>SROCC</td><td>RMSE</td></tr><tr><td></td><td></td><td></td><td></td></tr><tr><td>VGG-19, scrambled weights</td><td>.18</td><td>.39</td><td>7.76</td></tr><tr><td>Gabor filter bank</td><td>.32</td><td>.12</td><td>8.03</td></tr><tr><td>Steerable-pyramid filter bank</td><td>.37</td><td>.15</td><td>7.91</td></tr></table>",
1604
+ "bbox": [
1605
+ 300,
1606
+ 131,
1607
+ 696,
1608
+ 207
1609
+ ],
1610
+ "page_idx": 14
1611
+ },
1612
+ {
1613
+ "type": "table",
1614
+ "img_path": "images/d299515359778da9a39093403eb9f20752e414a8701343cd5c2a594de36cd292.jpg",
1615
+ "table_caption": [
1616
+ "Table 4: Accuracy of perceptual sensitivity prediction during CaffeNet model standard training (used scale: $100 \\%$ ). Last row reproduced from Table 2. "
1617
+ ],
1618
+ "table_footnote": [],
1619
+ "table_body": "<table><tr><td>Model</td><td>R²</td><td>SROCC</td><td>RMSE</td><td>Recognition accuracy</td></tr><tr><td>CaffeNetiter1</td><td></td><td></td><td>6.30</td><td></td></tr><tr><td>CaffeNetiter50K</td><td>.46 .59</td><td>.67 .79</td><td>5.43</td><td>0% 37%</td></tr><tr><td>CaffeNetiter100K</td><td>.60</td><td>.79</td><td>5.41</td><td>39%</td></tr><tr><td>CaffeNetiter150K</td><td>.60</td><td>.78</td><td>5.43</td><td>53%</td></tr><tr><td>CaffeNetiter200K</td><td>.59</td><td>.78</td><td>5.45</td><td>54%</td></tr><tr><td>CaffeNetiter250K</td><td>.59</td><td>.78</td><td>5.43</td><td>56%</td></tr><tr><td>CaffeNetiter300K</td><td>.59</td><td>.78</td><td>5.44</td><td>56%</td></tr><tr><td>CaffeNetiter310K</td><td>.59</td><td>.78</td><td>5.44</td><td>56%</td></tr></table>",
1620
+ "bbox": [
1621
+ 250,
1622
+ 275,
1623
+ 746,
1624
+ 420
1625
+ ],
1626
+ "page_idx": 14
1627
+ },
1628
+ {
1629
+ "type": "table",
1630
+ "img_path": "images/6fd105d55153a1a933f45a567507588fed95d08ba89bbe3a5aee32895d4cc78f.jpg",
1631
+ "table_caption": [
1632
+ "Table 5: Robustness of perceptual sensitivity prediction for varying prediction parameters for model VGG-19. First three rows reproduced from Table 1. Measurements for the lower noise range of -60:-40 dB were omitted by mistake. "
1633
+ ],
1634
+ "table_footnote": [],
1635
+ "table_body": "<table><tr><td>Scale</td><td>Metric</td><td>Augmentation</td><td>Noise range</td><td>R²</td><td>SROCC</td><td>RMSE</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>100%</td><td>L1</td><td>noise phase</td><td>-40:25 dB</td><td>.60</td><td>.79</td><td>5.40</td></tr><tr><td>66%</td><td>L1</td><td>noise phase</td><td>-40:25 dB</td><td>.60</td><td>.79</td><td>5.42</td></tr><tr><td>50%</td><td>L1</td><td>noise phase</td><td>-40:25 dB</td><td>.57</td><td>.77</td><td>5.57</td></tr><tr><td>100%</td><td>L2</td><td>noise phase</td><td>-40:25 dB</td><td>.62</td><td>.80</td><td>5.29</td></tr><tr><td>100%</td><td>L1</td><td>None</td><td>-40:25 dB</td><td>.58</td><td>.77</td><td>5.55</td></tr><tr><td>100%</td><td>L1</td><td>noise phase</td><td>-20:25 dB</td><td>.59</td><td>.78</td><td>5.46</td></tr><tr><td>100%</td><td>L1</td><td>noise phase</td><td>-40:5 dB</td><td>.59</td><td>.79</td><td>5.43</td></tr></table>",
1636
+ "bbox": [
1637
+ 232,
1638
+ 489,
1639
+ 764,
1640
+ 621
1641
+ ],
1642
+ "page_idx": 14
1643
+ },
1644
+ {
1645
+ "type": "table",
1646
+ "img_path": "images/2c7ab5f672dbedeb5a93ad7409df68dfd0269aaaeb798e787db66c5317bf21db.jpg",
1647
+ "table_caption": [
1648
+ "Table 6: Background context for Shape. Shown is the Spearmann correlation coefficient (SROCC) of perceptual data vs. model-based MI prediction across shapes (i.e. considering all shapes rather than only Easy vs. Hard; note that the original robust finding the superiority of the Easy shape). Perceptual data from Weisstein & Harris (1974), where ”Day 1” and ”Days $2 { - } 4 ^ { \\dag }$ (averaged) are for the reduced-masking condition depicted in their Figure 3.) "
1649
+ ],
1650
+ "table_footnote": [],
1651
+ "table_body": "<table><tr><td>Model</td><td></td><td>Day 1 Days 2-4</td><td>Masked</td></tr><tr><td>VGG-19</td><td>.36</td><td></td><td>.15</td></tr><tr><td>GoogLeNet</td><td>.31</td><td>.37 .22</td><td>.16</td></tr><tr><td>MRSA-152</td><td>.26</td><td>.26</td><td>.11</td></tr><tr><td>CaffeNet iter 1</td><td>.32</td><td></td><td>.39</td></tr><tr><td>CaffeNet iter 50K</td><td>.15</td><td>.29</td><td></td></tr><tr><td>CaffeNetiter310K</td><td>.16</td><td>.19</td><td>.16 .18</td></tr><tr><td></td><td>.26</td><td>.12</td><td>.48</td></tr><tr><td>Gabor Decomposition Steerable Pyramid</td><td>.24</td><td>.27 .32</td><td>.25</td></tr></table>",
1652
+ "bbox": [
1653
+ 308,
1654
+ 704,
1655
+ 687,
1656
+ 848
1657
+ ],
1658
+ "page_idx": 14
1659
+ },
1660
+ {
1661
+ "type": "image",
1662
+ "img_path": "images/8b57e7f7fd5822e264b389c7eed47b9194ccbdae2e14e5d0ad2c550462747c76.jpg",
1663
+ "image_caption": [
1664
+ "Figure 6: Images where predicted threshold is too high (”Overshoot”, where perturbation saliency is better than predicted) or too low (”Undershoot”), considered from several perceptual threshold ranges $\\pm 2$ dB of shown number). Some images are reproduced from Figure 1. "
1665
+ ],
1666
+ "image_footnote": [],
1667
+ "bbox": [
1668
+ 189,
1669
+ 174,
1670
+ 826,
1671
+ 844
1672
+ ],
1673
+ "page_idx": 15
1674
+ },
1675
+ {
1676
+ "type": "image",
1677
+ "img_path": "images/6f9b1ef405c1200ecea4e9d17fea6192cb6189de656d2eabe5418e4163295a79.jpg",
1678
+ "image_caption": [
1679
+ "Figure 7: Background context for different DNN models (following figure 2). "
1680
+ ],
1681
+ "image_footnote": [],
1682
+ "bbox": [
1683
+ 184,
1684
+ 210,
1685
+ 815,
1686
+ 357
1687
+ ],
1688
+ "page_idx": 16
1689
+ },
1690
+ {
1691
+ "type": "image",
1692
+ "img_path": "images/7138a34a90ab813f56ea5bb8f05be4794e2f461e3666d4db9eca006d09a47ca1.jpg",
1693
+ "image_caption": [
1694
+ "Figure 8: Background context for baseline DNN models (following figure 2). ”CaffeNet iter 310K” is reproduced from Figure 7. "
1695
+ ],
1696
+ "image_footnote": [],
1697
+ "bbox": [
1698
+ 174,
1699
+ 569,
1700
+ 694,
1701
+ 810
1702
+ ],
1703
+ "page_idx": 16
1704
+ },
1705
+ {
1706
+ "type": "image",
1707
+ "img_path": "images/27d167da9bfbd680de4450c36836d45b46cd94cb5fc4e9f608fdee72b4544a91.jpg",
1708
+ "image_caption": [
1709
+ "Figure 9: Background context for Shape. Shown for each model is the measured MI for the six ”Hard” shapes as a function of the MI for the ”Easy” shape. The last panel shows an analagous comparison measured in human subjects by Weisstein & Harris (1974). A data point which lies below the dashed diagonal indicates a configuration for which discriminating line location is easier for the Easy shape compared with the relevant Hard shape. "
1710
+ ],
1711
+ "image_footnote": [],
1712
+ "bbox": [
1713
+ 173,
1714
+ 289,
1715
+ 812,
1716
+ 690
1717
+ ],
1718
+ "page_idx": 17
1719
+ },
1720
+ {
1721
+ "type": "image",
1722
+ "img_path": "images/861dd0c87dd67be34fa74c6f7d5a517cb2e6e8d0d20c9adf7334aceb7112e790.jpg",
1723
+ "image_caption": [
1724
+ "Figure 10: Contrast sensitivity (following Figure 3) for DNN architectures CaffeNet, GoogLeNet, and ResNet-152. "
1725
+ ],
1726
+ "image_footnote": [],
1727
+ "bbox": [
1728
+ 173,
1729
+ 272,
1730
+ 825,
1731
+ 743
1732
+ ],
1733
+ "page_idx": 18
1734
+ },
1735
+ {
1736
+ "type": "image",
1737
+ "img_path": "images/74f90c0c817b0bea67bc6afa2e46b878b82a65de2628d7e46d194d25a2c10385.jpg",
1738
+ "image_caption": [
1739
+ "Figure 11: Comparison of contrast sensitivity. Shown are iso-output curves, for which perceived contrast is the same (Human), or for which the $L _ { 1 }$ change relative to a gray image is the same (DNN model VGG-19). To obtain a correspondence between human frequency values (given in cycles per degree of visual field) to DNN frequency values (given in cycles per image), a scaling was chosen such that the minima of the blue curve is given at the same frequency value. Human data is for subject M.A.G. as measured by Georgeson & Sullivan (1975). "
1740
+ ],
1741
+ "image_footnote": [],
1742
+ "bbox": [
1743
+ 171,
1744
+ 329,
1745
+ 808,
1746
+ 622
1747
+ ],
1748
+ "page_idx": 19
1749
+ },
1750
+ {
1751
+ "type": "text",
1752
+ "text": "8 APPENDIX: EXPERIMENTAL SETUP ",
1753
+ "text_level": 1,
1754
+ "bbox": [
1755
+ 174,
1756
+ 125,
1757
+ 496,
1758
+ 141
1759
+ ],
1760
+ "page_idx": 20
1761
+ },
1762
+ {
1763
+ "type": "text",
1764
+ "text": "8.1 DNN MODELS ",
1765
+ "text_level": 1,
1766
+ "bbox": [
1767
+ 174,
1768
+ 156,
1769
+ 318,
1770
+ 170
1771
+ ],
1772
+ "page_idx": 20
1773
+ },
1774
+ {
1775
+ "type": "text",
1776
+ "text": "To collect DNN computation snapshots, we used MATLAB with MatConvNet version 1.0-beta20 (Vedaldi & Lenc, 2015). All MATLAB code will be made available upon acceptance of this manuscript. The pre-trained DNN models we have used are: CaffeNet (which is a variant of AlexNet provided in Caffe, Jia et al., 2014), GoogLeNet (Szegedy et al., 2014), VGG-19 (Simonyan & Zisserman, 2014), and ResNet-152 (He et al., 2015). The models were trained on the same ImageNet LSVRC. The CaffeNet model was trained using Caffe with the default ImageNet training parameters (stopping at iteration 310, 000) and imported into MatConvNet. For the GoogLeNet model, we used the imported pre-trained reference-Caffe implementation. For VGG-19 and ResNet-152, we used the imported pre-trained original versions. In all experiments input image size was $2 2 4 \\times 2 2 4$ or $2 2 7 \\times 2 2 7$ . ",
1777
+ "bbox": [
1778
+ 173,
1779
+ 183,
1780
+ 825,
1781
+ 320
1782
+ ],
1783
+ "page_idx": 20
1784
+ },
1785
+ {
1786
+ "type": "text",
1787
+ "text": "8.2 BASELINE MODELS",
1788
+ "text_level": 1,
1789
+ "bbox": [
1790
+ 176,
1791
+ 338,
1792
+ 348,
1793
+ 352
1794
+ ],
1795
+ "page_idx": 20
1796
+ },
1797
+ {
1798
+ "type": "text",
1799
+ "text": "As baselines to compare with pre-trained DNN models, we consider: (a) a multiscale linear filter bank of Gabor functions, (b) a steerable-pyramid linear filter bank (Simoncelli & Freeman, 1995), (c) the VGG-19 model for which the learned parameters (weights) were randomly scrambled within layer, and (d) the CaffeNet model at multiple time points during training. For the Gabor decomposition, the following Gabor filters were used: all compositions of $\\sigma = \\bar { \\{ 1 , 2 , 4 , 8 , 1 6 , 3 2 , 6 4 \\} } \\mathrm { p x }$ , $\\lambda = \\{ 1 , 2 \\} \\cdot \\sigma$ , orientation $\\underline { { \\underline { { \\mathbf { \\Pi } } } } } = \\{ 0 , \\pi / 3 , 2 \\pi / 3 , \\pi , 4 \\pi / 3 , 5 \\pi / 3 \\}$ , and phase $= \\{ 0 , \\pi / 2 \\}$ . ",
1800
+ "bbox": [
1801
+ 174,
1802
+ 364,
1803
+ 825,
1804
+ 449
1805
+ ],
1806
+ "page_idx": 20
1807
+ },
1808
+ {
1809
+ "type": "text",
1810
+ "text": "8.3 IMAGE PERTURBATION EXPERIMENT ",
1811
+ "text_level": 1,
1812
+ "bbox": [
1813
+ 176,
1814
+ 465,
1815
+ 465,
1816
+ 479
1817
+ ],
1818
+ "page_idx": 20
1819
+ },
1820
+ {
1821
+ "type": "text",
1822
+ "text": "The noiseless images were obtained from Alam et al. (2014). In main text, ”image scale” refers to percent coverage of DNN input. Since size of original images $( 1 4 9 \\times 1 4 9 )$ is smaller than DNN input of $( 2 2 4 \\times 2 2 4 )$ or $( 2 2 7 \\times 2 2 7 )$ ), the images were resized by a factor of 1.5 so that $100 \\%$ image scale covers approximately the entire DNN input area. ",
1823
+ "bbox": [
1824
+ 174,
1825
+ 492,
1826
+ 825,
1827
+ 547
1828
+ ],
1829
+ "page_idx": 20
1830
+ },
1831
+ {
1832
+ "type": "text",
1833
+ "text": "Human psychophysics and DNN experiments were done for nearly identical images. A slight discrepancy relates to how the image is blended with the background in the special case where the region where noise is added has no image surround at one or two side. In these sides (which depend on the technical procedure with which images were obtained, see Alam et al., 2014), the surround blending here was hard, while the original was smooth. ",
1834
+ "bbox": [
1835
+ 174,
1836
+ 555,
1837
+ 825,
1838
+ 625
1839
+ ],
1840
+ "page_idx": 20
1841
+ },
1842
+ {
1843
+ "type": "text",
1844
+ "text": "8.4 BACKGROUND CONTEXT EXPERIMENT ",
1845
+ "text_level": 1,
1846
+ "bbox": [
1847
+ 176,
1848
+ 642,
1849
+ 480,
1850
+ 655
1851
+ ],
1852
+ "page_idx": 20
1853
+ },
1854
+ {
1855
+ "type": "text",
1856
+ "text": "8.4.1 SEGMENTATION",
1857
+ "text_level": 1,
1858
+ "bbox": [
1859
+ 174,
1860
+ 667,
1861
+ 339,
1862
+ 683
1863
+ ],
1864
+ "page_idx": 20
1865
+ },
1866
+ {
1867
+ "type": "text",
1868
+ "text": "The images used are based on the Texture Discrimination Task (Karni & Sagi, 1991). In the variant considered here (Pinchuk-Yacobi et al., 2015), subjects were presented with a grid of lines, all of which were horizontal, except two or three that were diagonal. Subjects discriminated whether the arrangement of diagonal lines is horizontal or vertical, and this discrimination was found to be more difficult when the central line is horizontal rather than diagonal (”Hard” vs. ”Easy” in Figure 2a). To limit human performance in this task, two manipulations were applied: (a) the location of each line in the pattern was jittered, and (b) a noise mask was presented briefly after the pattern. Here we only retained (a). ",
1869
+ "bbox": [
1870
+ 174,
1871
+ 691,
1872
+ 825,
1873
+ 804
1874
+ ],
1875
+ "page_idx": 20
1876
+ },
1877
+ {
1878
+ "type": "text",
1879
+ "text": "A total of 90 configurations were tested, obtained by combinations of the following alternatives: ",
1880
+ "bbox": [
1881
+ 174,
1882
+ 810,
1883
+ 802,
1884
+ 825
1885
+ ],
1886
+ "page_idx": 20
1887
+ },
1888
+ {
1889
+ "type": "text",
1890
+ "text": "• Three scales: line length of 9, 12.3, or $1 9 . 4 \\ \\mathrm { p x }$ (number of lines co-varied with line length, see Figure 12). \n• Three levels of location jittering, defined as a multiple of line length: $\\{ 1 , 2 , 3 \\} \\cdot 0 . 0 6 2 5 \\cdot l$ px, where $l$ is the length of a line in the pattern. Jittering was applied separately to each line in the pattern. \n• Ten locations of diagonal lines: center, random, four locations of half-distance from center to corners, four locations of half-distance from center to image borders. ",
1891
+ "bbox": [
1892
+ 217,
1893
+ 838,
1894
+ 825,
1895
+ 946
1896
+ ],
1897
+ "page_idx": 20
1898
+ },
1899
+ {
1900
+ "type": "text",
1901
+ "text": "For each configuration, the discriminated arrangement of diagonal lines was either horizontal or vertical, and the central line was either horizontal or diagonal (i.e. hard or easy). ",
1902
+ "bbox": [
1903
+ 173,
1904
+ 126,
1905
+ 825,
1906
+ 155
1907
+ ],
1908
+ "page_idx": 21
1909
+ },
1910
+ {
1911
+ "type": "image",
1912
+ "img_path": "images/e61f99d55dac1fec445d942c16502244e20273274c1c7ec161dba0ab42e4345e.jpg",
1913
+ "image_caption": [
1914
+ "Figure 12: Pattern scales used in the different configurations of the Segmentation condition. Actual images used were white-on-black rather than black-on-white. "
1915
+ ],
1916
+ "image_footnote": [],
1917
+ "bbox": [
1918
+ 253,
1919
+ 171,
1920
+ 745,
1921
+ 295
1922
+ ],
1923
+ "page_idx": 21
1924
+ },
1925
+ {
1926
+ "type": "text",
1927
+ "text": "8.4.2 CROWDING",
1928
+ "text_level": 1,
1929
+ "bbox": [
1930
+ 174,
1931
+ 377,
1932
+ 310,
1933
+ 392
1934
+ ],
1935
+ "page_idx": 21
1936
+ },
1937
+ {
1938
+ "type": "text",
1939
+ "text": "The images used are motivated by the crowding effect (Livne & Sagi, 2007; Pelli et al., 2004). ",
1940
+ "bbox": [
1941
+ 176,
1942
+ 401,
1943
+ 790,
1944
+ 417
1945
+ ],
1946
+ "page_idx": 21
1947
+ },
1948
+ {
1949
+ "type": "text",
1950
+ "text": "A total of 90 configurations were tested, obtained by combinations of the following alternatives: ",
1951
+ "bbox": [
1952
+ 178,
1953
+ 422,
1954
+ 802,
1955
+ 439
1956
+ ],
1957
+ "page_idx": 21
1958
+ },
1959
+ {
1960
+ "type": "text",
1961
+ "text": "• Three scales: font size of 15.1, 20.6, or $3 2 . 4 { \\mathrm { p x } }$ (see Figure 13). \n• Three levels of discriminated-letter location jittering, defined as a multiple of font size: $\\{ 1 , 2 , 3 \\} \\cdot 0 . 0 6 2 5 \\cdot l$ px, where $l$ is font size. The jitter of surround letters (M, N, S, and T) was fixed (i.e. the background was static). \n• Ten locations: center, random, four locations of half-distance from center to corners, four locations of half-distance from center to image borders. ",
1962
+ "bbox": [
1963
+ 215,
1964
+ 450,
1965
+ 825,
1966
+ 546
1967
+ ],
1968
+ "page_idx": 21
1969
+ },
1970
+ {
1971
+ "type": "text",
1972
+ "text": "For each configuration, the discriminated letter was either A, B, C, D, E, or F, and the background was either blank (easy) or composed of the letters M, N, S, and T (hard). ",
1973
+ "bbox": [
1974
+ 174,
1975
+ 560,
1976
+ 826,
1977
+ 588
1978
+ ],
1979
+ "page_idx": 21
1980
+ },
1981
+ {
1982
+ "type": "image",
1983
+ "img_path": "images/3b00649747048479281c6d49a31d32f1e301675100b165b5e0554a56148e123c.jpg",
1984
+ "image_caption": [
1985
+ "Figure 13: Pattern scales used in the different configurations of the Crowding condition. Actual images used were white-on-black rather than black-on-white. "
1986
+ ],
1987
+ "image_footnote": [],
1988
+ "bbox": [
1989
+ 253,
1990
+ 604,
1991
+ 745,
1992
+ 729
1993
+ ],
1994
+ "page_idx": 21
1995
+ },
1996
+ {
1997
+ "type": "text",
1998
+ "text": "8.4.3 SHAPE ",
1999
+ "text_level": 1,
2000
+ "bbox": [
2001
+ 174,
2002
+ 810,
2003
+ 276,
2004
+ 825
2005
+ ],
2006
+ "page_idx": 21
2007
+ },
2008
+ {
2009
+ "type": "text",
2010
+ "text": "The images used are based on the object superiority effect by Weisstein & Harris (1974), where discriminating a line location is easier when combined with surrounding lines a shape is formed. ",
2011
+ "bbox": [
2012
+ 176,
2013
+ 835,
2014
+ 823,
2015
+ 864
2016
+ ],
2017
+ "page_idx": 21
2018
+ },
2019
+ {
2020
+ "type": "text",
2021
+ "text": "A total of 90 configurations were tested, obtained by combinations of the following alternatives: ",
2022
+ "bbox": [
2023
+ 174,
2024
+ 871,
2025
+ 802,
2026
+ 886
2027
+ ],
2028
+ "page_idx": 21
2029
+ },
2030
+ {
2031
+ "type": "text",
2032
+ "text": "• Three scales: discriminated-line length of 9, 15.1, or 22.7 px (see Figure 14). • Five levels of whole-pattern location jittering, defined as a multiple of discriminated-line length: $\\{ 1 , 2 , 5 , 1 0 , 1 \\bar { 5 } \\} \\cdot 0 . 0 6 2 5 \\cdot l$ px, where $l$ is the length of the discriminated line. ",
2033
+ "bbox": [
2034
+ 217,
2035
+ 897,
2036
+ 825,
2037
+ 946
2038
+ ],
2039
+ "page_idx": 21
2040
+ },
2041
+ {
2042
+ "type": "text",
2043
+ "text": "• Six ”hard” background line layouts (patterns $b { - } f$ of their Figure 2 and the additional pattern $f$ of their Figure 3 in Weisstein & Harris, 1974). The ”easy” layout was always the same (pattern $a$ ). ",
2044
+ "bbox": [
2045
+ 215,
2046
+ 126,
2047
+ 825,
2048
+ 167
2049
+ ],
2050
+ "page_idx": 22
2051
+ },
2052
+ {
2053
+ "type": "text",
2054
+ "text": "For each configuration, the line whose location is discriminated had four possible locations (two locations are shown in Figure 2c), and the surrounding background line layout could compose a shape (easy) or not (hard). ",
2055
+ "bbox": [
2056
+ 176,
2057
+ 181,
2058
+ 825,
2059
+ 224
2060
+ ],
2061
+ "page_idx": 22
2062
+ },
2063
+ {
2064
+ "type": "image",
2065
+ "img_path": "images/3a4cd4d746343780ed7fd9d056ac0f854d4db1895ecffe90c3de68ac7286044d.jpg",
2066
+ "image_caption": [],
2067
+ "image_footnote": [],
2068
+ "bbox": [
2069
+ 254,
2070
+ 241,
2071
+ 745,
2072
+ 364
2073
+ ],
2074
+ "page_idx": 22
2075
+ },
2076
+ {
2077
+ "type": "text",
2078
+ "text": "Figure 14: Pattern scales used in the different configurations of the Shape condition. Actual images used were white-on-black rather than black-on-white. ",
2079
+ "bbox": [
2080
+ 173,
2081
+ 393,
2082
+ 823,
2083
+ 422
2084
+ ],
2085
+ "page_idx": 22
2086
+ },
2087
+ {
2088
+ "type": "text",
2089
+ "text": "8.5 CONTRAST SENSITIVITY EXPERIMENT ",
2090
+ "text_level": 1,
2091
+ "bbox": [
2092
+ 176,
2093
+ 445,
2094
+ 478,
2095
+ 458
2096
+ ],
2097
+ "page_idx": 22
2098
+ },
2099
+ {
2100
+ "type": "text",
2101
+ "text": "Used images depicted sine gratings at different contrast, spatial frequency, sine phase, and sine orientation combinations. ",
2102
+ "bbox": [
2103
+ 174,
2104
+ 469,
2105
+ 825,
2106
+ 498
2107
+ ],
2108
+ "page_idx": 22
2109
+ }
2110
+ ]
parse/train/BJbD_Pqlg/BJbD_Pqlg_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/BJbD_Pqlg/BJbD_Pqlg_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/BJeWUs05KQ/BJeWUs05KQ_layout.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60facb52d2c3fc7a0550d23c3a8b9fabe6a48ceeabae01d7ab56ca03e2d05f19
3
+ size 2713081
parse/train/BJeWUs05KQ/BJeWUs05KQ_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07a0cffb3af023900e4faa1d4df219f999b36c2ba7a1b8d52e51cc859955d9cd
3
+ size 2544012
parse/train/BJeWUs05KQ/BJeWUs05KQ_span.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e82da02598f75c61d57d0720c62c6fddb0f9c48badff3a405db6ec53a3e03ea
3
+ size 2717637
parse/train/BJj6qGbRW/BJj6qGbRW.md ADDED
@@ -0,0 +1,346 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # FEW-SHOT LEARNING WITH GRAPH NEURAL NETWORKS
2
+
3
+ Victor Garcia∗ Amsterdam Machine Learning Lab University of Amsterdam Amsterdam, 1098 XH, NL v.garciasatorras@uva.nl
4
+
5
+ Joan Bruna
6
+ Courant Institute of Mathematical Sciences
7
+ New York University
8
+ New York City, NY, 10010, USA
9
+ bruna@cims.nyu.edu
10
+
11
+ # ABSTRACT
12
+
13
+ We propose to study the problem of few-shot learning with the prism of inference on a partially observed graphical model, constructed from a collection of input images whose label can be either observed or not. By assimilating generic message-passing inference algorithms with their neural-network counterparts, we define a graph neural network architecture that generalizes several of the recently proposed few-shot learning models. Besides providing improved numerical performance, our framework is easily extended to variants of few-shot learning, such as semi-supervised or active learning, demonstrating the ability of graph-based models to operate well on ‘relational’ tasks.
14
+
15
+ # 1 INTRODUCTION
16
+
17
+ Supervised end-to-end learning has been extremely successful in computer vision, speech, or machine translation tasks, thanks to improvements in optimization technology, larger datasets and streamlined designs of deep convolutional or recurrent architectures. Despite these successes, this learning setup does not cover many aspects where learning is nonetheless possible and desirable.
18
+
19
+ One such instance is the ability to learn from few examples, in the so-called few-shot learning tasks. Rather than relying on regularization to compensate for the lack of data, researchers have explored ways to leverage a distribution of similar tasks, inspired by human learning Lake et al. (2015). This defines a new supervised learning setup (also called ‘meta-learning’) in which the input-output pairs are no longer given by iid samples of images and their associated labels, but by iid samples of collections of images and their associated label similarity.
20
+
21
+ A recent and highly-successful research program has exploited this meta-learning paradigm on the few-shot image classification task Lake et al. (2015); Koch et al. (2015); Vinyals et al. (2016); Mishra et al. (2017); Snell et al. (2017). In essence, these works learn a contextual, task-specific similarity measure, that first embeds input images using a CNN, and then learns how to combine the embedded images in the collection to propagate the label information towards the target image.
22
+
23
+ In particular, Vinyals et al. (2016) cast the few-shot learning problem as a supervised classification task mapping a support set of images into the desired label, and developed an end-to-end architecture accepting those support sets as input via attention mechanisms. In this work, we build upon this line of work, and argue that this task is naturally expressed as a supervised interpolation problem on a graph, where nodes are associated with the images in the collection, and edges are given by a trainable similarity kernels. Leveraging recent progress on representation learning for graphstructured data Bronstein et al. (2017); Gilmer et al. (2017), we thus propose a simple graph-based few-shot learning model that implements a task-driven message passing algorithm. The resulting architecture is trained end-to-end, captures the invariances of the task, such as permutations within the input collections, and offers a good tradeoff between simplicity, generality, performance and sample complexity.
24
+
25
+ Besides few-shot learning, a related task is the ability to learn from a mixture of labeled and unlabeled examples — semi-supervised learning, as well as active learning, in which the learner has the option to request those missing labels that will be most helpful for the prediction task. Our graphbased architecture is naturally extended to these setups with minimal changes in the training design. We validate experimentally the model on few-shot image classification, matching state-of-the-art performance with considerably fewer parameters, and demonstrate applications to semi-supervised and active learning setups.
26
+
27
+ Our contributions are summarized as follows:
28
+
29
+ • We cast few-shot learning as a supervised message passing task which is trained end-to-end using graph neural networks.
30
+ • We match state-of-the-art performance on Omniglot and Mini-Imagenet tasks with fewer parameters.
31
+ • We extend the model in the semi-supervised and active learning regimes.
32
+
33
+ The rest of the paper is structured as follows. Section 2 describes related work, Sections 3, 4 and 5 present the problem setup, our graph neural network model and the training, and Section 6 reports numerical experiments.
34
+
35
+ # 2 RELATED WORK
36
+
37
+ One-shot learning was first introduced by Fei-Fei et al. (2006), they assumed that currently learned classes can help to make predictions on new ones when just one or few labels are available. More recently, Lake et al. (2015) presented a Hierarchical Bayesian model that reached human level error on few-shot learning alphabet recongition tasks.
38
+
39
+ Since then, great progress has been done in one-shot learning. Koch et al. (2015) presented a deeplearning model based on computing the pair-wise distance between samples using Siamese Networks, then, this learned distance can be used to solve one-shot problems by $\mathbf { k }$ -nearest neighbors classification. Vinyals et al. (2016) Presented an end-to-end trainable $\mathbf { k }$ -nearest neighbors using the cosine distance, they also introduced a contextual mechanism using an attention LSTM model that takes into account all the samples of the subset $\tau$ when computing the pair-wise distance between samples. Snell et al. (2017) extended the work from Vinyals et al. (2016), by using euclidean distance instead of cosine which provided significant improvements, they also build a prototype representation of each class for the few-shot learning scenario. Mehrotra & Dukkipati (2017) trained a deep residual network together with a generative model to approximate the pair-wise distance between samples.
40
+
41
+ A new line of meta-learners for one-shot learning is rising lately: Ravi & Larochelle (2016) introduced a meta-learning method where an LSTM updates the weights of a classifier for a given episode. Munkhdalai & Yu (2017) also presented a meta-learning architecture that learns meta-level knowledge across tasks, and it changes its inductive bias via fast parametrization. Finn et al. (2017) is using a model agnostic meta-learner based on gradient descent, the goal is to train a classification model such that given a new task, a small amount of gradient steps with few data will be enough to generalize. Lately, Mishra et al. (2017) used Temporal Convolutions which are deep recurrent networks based on dilated convolutions, this method also exploits contextual information from the subset $\tau$ providing very good results.
42
+
43
+ Another related area of research concerns deep learning architectures on graph-structured data. The GNN was first proposed in Gori et al. (2005); Scarselli et al. (2009), as a trainable recurrent messagepassing whose fixed points could be adjusted discriminatively. Subsequent works Li et al. (2015); Sukhbaatar et al. (2016) have relaxed the model by untying the recurrent layer weights and proposed several nonlinear updates through gating mechanisms. Graph neural networks are in fact natural generalizations of convolutional networks to non-Euclidean graphs. Bruna et al. (2013); Henaff et al. (2015) proposed to learn smooth spectral multipliers of the graph Laplacian, albeit with high computational cost, and Defferrard et al. (2016); Kipf & Welling (2016) resolved the computational bottleneck by learning polynomials of the graph Laplacian, thus avoiding the computation of eigenvectors and completing the connection with GNNs. In particular, Kipf & Welling (2016) was the first to propose the use of GNNs on semi-supervised classification problems. We refer the reader to Bronstein et al. (2017) for an exhaustive literature review on the topic. GNNs and the analogous Neural Message Passing Models are finding application in many different domains. Battaglia et al.
44
+
45
+ (2016); Chang et al. (2016) develop graph interaction networks that learn pairwise particle interactions and apply them to discrete particle physical dynamics. Duvenaud et al. (2015); Kearnes et al. (2016) study molecular fingerprints using variants of the GNN architecture, and Gilmer et al. (2017) further develop the model by combining it with set representations Vinyals et al. (2015), showing state-of-the-art results on molecular prediction.
46
+
47
+ # 3 PROBLEM SET-UP
48
+
49
+ We describe first the general setup and notations, and then particularize it to the case of few-shot learning, semi-supervised learning and active learning.
50
+
51
+ We consider input-output pairs $( \mathcal { T } _ { i } , Y _ { i } ) _ { i }$ drawn iid from a distribution $P$ of partially-labeled image collections
52
+
53
+ $$
54
+ \begin{array} { r c l } { { { \cal T } } } & { { = } } & { { \{ \{ ( x _ { 1 } , l _ { 1 } ) , \dots ( x _ { s } , l _ { s } ) \} , \{ \tilde { x } _ { 1 } , \dots , \tilde { x } _ { r } \} , \{ \bar { x } _ { 1 } , \dots , \bar { x } _ { t } \} ; l _ { i } \in \{ 1 , K \} , x _ { i } , \tilde { x } _ { j } , \bar { x } _ { j } \sim \{ \mathcal { P } _ { l } ( \mathbb { R } ^ { N } ) \} \} , } } \\ { { { \cal Y } } } & { { = } } & { { ( y _ { 1 } , \dots , y _ { t } ) \in \{ 1 , K \} ^ { t } , } } \\ { { } } & { { } } & { { ( 1 ) } } \end{array}
55
+ $$
56
+
57
+ for arbitrary values of $s , r , t$ and $K$ . Where $s$ is the number of labeled samples, $r$ is the number of unlabeled samples $r > 0$ for the semi-supervised and active learning scenarios) and $t$ is the number of samples to classify. $K$ is the number of classes. We will focus in the case $t = 1$ where we just classify one sample per task $\tau$ . $\mathcal { P } _ { l } ( \mathbb { R } ^ { N } )$ denotes a class-specific image distribution over $\mathbb { R } ^ { N }$ . In our context, the targets $Y _ { i }$ are associated with image categories of designated images $\bar { x } _ { 1 } , \ldots , \bar { x } _ { t } \in \mathcal { T } _ { i }$ with no observed label. Given a training set $\{ ( \mathcal { T } _ { i } , Y _ { i } ) _ { i } \} _ { i \leq L }$ , we consider the standard supervised learning objective
58
+
59
+ $$
60
+ \operatorname* { m i n } _ { \Theta } \frac { 1 } { L } \sum _ { i \leq L } \ell ( \Phi ( \mathcal { T } _ { i } ; \Theta ) , Y _ { i } ) + \mathcal { R } ( \Theta ) ,
61
+ $$
62
+
63
+ using the model $\Phi ( { \mathcal { T } } ; \Theta ) = p ( Y \mid { \mathcal { T } } )$ specified in Section 4 and $\mathcal { R }$ is a standard regularization objective.
64
+
65
+ Few-Shot Learning When $r = 0$ , $t = 1$ and $s = q K$ , there is a single image in the collection with unknown label. If moreover each label appears exactly $q$ times, this setting is referred as the $q$ -shot, $K$ -way learning.
66
+
67
+ Semi-Supervised Learning When $r > 0$ and $t = 1$ , the input collection contains auxiliary images $\tilde { x } _ { 1 } , \ldots , \tilde { x } _ { r }$ that the model can use to improve the prediction accuracy, by leveraging the fact that these samples are drawn from common distributions as those determining the output.
68
+
69
+ Active Learning In the active learning setting, the learner has the ability to request labels from the sub-collection $\{ \tilde { x } _ { 1 } , \ldots , \tilde { x } _ { r } \}$ . We are interested in studying to what extent this active learning can improve the performance with respect to the previous semi-supervised setup, and match the performance of the one-shot learning setting with $s _ { 0 }$ known labels when $s + r = s _ { 0 }$ , $s \ll s _ { 0 }$ .
70
+
71
+ # 4 MODEL
72
+
73
+ This section presents our approach, based on a simple end-to-end graph neural network architecture. We first explain how the input context is mapped into a graphical representation, then detail the architecture, and next show how this model generalizes a number of previously published few-shot learning architectures.
74
+
75
+ # 4.1 SET AND GRAPH INPUT REPRESENTATIONS
76
+
77
+ The input $\tau$ contains a collection of images, both labeled and unlabeled. The goal of few-shot learning is to propagate label information from labeled samples towards the unlabeled query image. This propagation of information can be formalized as a posterior inference over a graphical model determined by the input images and labels.
78
+
79
+ Following several recent works that cast posterior inference using message passing with neural networks defined over graphs Scarselli et al. (2009); Duvenaud et al. (2015); Gilmer et al. (2017), we associate $\tau$ with a fully-connected graph $G _ { \mathcal { T } } = ( V , E )$ where nodes $v _ { a } \in V$ correspond to the images present in $\tau$ (both labeled and unlabeled). In this context, the setup does not specify a fixed similarity $e _ { a , a ^ { \prime } }$ between images $x _ { a }$ and $x _ { a ^ { \prime } }$ , suggesting an approach where this similarity measure is learnt in a discriminative fashion with a parametric model similarly as in Gilmer et al. (2017), such as a siamese neural architecture. This framework is closely related to the set representation from Vinyals et al. (2016), but extends the inference mechanism using the graph neural network formalism that we detail next.
80
+
81
+ ![](images/f38eabf35cdc750fbe4969ce4ddaefa5ad674cad5880cb8253ae0c611d3881fd.jpg)
82
+ Figure 1: Visual representation of One-Shot Learning setting.
83
+
84
+ # 4.2 GRAPH NEURAL NETWORKS
85
+
86
+ Graph Neural Networks, introduced in Gori et al. (2005); Scarselli et al. (2009) and further simplified in Li et al. (2015); Duvenaud et al. (2015); Sukhbaatar et al. (2016) are neural networks based on local operators of a graph $G = ( V , E )$ , offering a powerful balance between expressivity and sample complexity; see Bronstein et al. (2017) for a recent survey on models and applications of deep learning on graphs.
87
+
88
+ In its simplest incarnation, given an input signal $F \in \mathbb { R } ^ { V \times d }$ on the vertices of a weighted graph $G$ , we consider a family $\mathcal { A }$ of graph intrinsic linear operators that act locally on this signal. The simplest is the adjacency operator $\mathsf { \bar { A } } : \mathsf { F } \mapsto A ( F )$ where $\begin{array} { r } { ( A F ) _ { i } : = \sum _ { j \sim i } w _ { i , j } \mathbf { \bar { F } } _ { j } } \end{array}$ , with $i \sim j$ iff $( i , j ) \in E$ and $w _ { i , j }$ its associated weight. A GNN layer $\operatorname { G c } ( \cdot )$ receives as input a signal $\mathbf { x } ^ { ( k ) } \in \mathbb { R } ^ { V \times d _ { k } }$ and produces $\mathbf { x } ^ { ( k + 1 ) } \in \mathbb { R } ^ { V \times d _ { k + 1 } }$ as
89
+
90
+ $$
91
+ { \bf x } _ { l } ^ { ( k + 1 ) } = { \bf G } { \bf c } ( { \bf x } ^ { ( k ) } ) = \rho \left( \sum _ { B \in \mathcal { A } } B { \bf x } ^ { ( k ) } \theta _ { B , l } ^ { ( k ) } \right) \mathrm { ~ , ~ } l = d _ { 1 } \mathrm { ~ . ~ . ~ } d _ { k + 1 } \mathrm { ~ , ~ }
92
+ $$
93
+
94
+ where $\Theta = \{ \theta _ { 1 } ^ { ( k ) } , \dots , \theta _ { | \mathcal { A } | } ^ { ( k ) } \} _ { k }$ , ${ \boldsymbol { \theta } _ { B } ^ { ( k ) } \in \mathbb { R } ^ { d _ { k } \times d _ { k + 1 } } }$ , are trainable parameters and $\rho ( \cdot )$ is a point-wise non-linearity, chosen in this work to be a ‘leaky’ ReLU et al. (2015).
95
+
96
+ Authors have explored several modeling variants from this basic formulation, by replacing the pointwise nonlinearity with gating operations Duvenaud et al. (2015), or by generalizing the generator family to Laplacian polynomials Defferrard et al. (2016); Kipf & Welling (2016); Bruna et al. (2013), or including $2 ^ { J }$ -th powers of $A$ to $\mathcal { A }$ , $A _ { J } = \operatorname* { m i n } ( 1 , A ^ { 2 ^ { J } } )$ to encode $2 ^ { J }$ -hop neighborhoods of each node Bruna & Li (2017). Cascaded operations in the form (2) are able to approximate a wide range of graph inference tasks. In particular, inspired by message-passing algorithms, Kearnes et al. (2016); Gilmer et al. (2017) generalized the GNN to also learn edge features $\tilde { A } ^ { ( k ) }$ from the current node hidden representation:
97
+
98
+ $$
99
+ \tilde { A } _ { i , j } ^ { ( k ) } = \varphi _ { \tilde { \theta } } ( \mathbf { x } _ { i } ^ { ( k ) } , \mathbf { x } _ { j } ^ { ( k ) } ) ,
100
+ $$
101
+
102
+ ![](images/eaf603a5e43c20546d0f231615b6e5b563d4f466336efd2d591400e51e0ef5d6.jpg)
103
+ Figure 2: Graph Neural Network ilustration. The Adjacency matrix is computed before every Convolutional Layer.
104
+
105
+ where $\varphi$ is a symmetric function parametrized with e.g. a neural network. In this work, we consider a Multilayer Perceptron stacked after the absolute difference between two vector nodes. See eq. 4:
106
+
107
+ $$
108
+ \varphi _ { \tilde { \theta } } ( \mathbf { x } _ { i } ^ { ( k ) } , \mathbf { x } _ { j } ^ { ( k ) } ) = \mathbf { M L P } _ { \tilde { \theta } } ( a b s ( \mathbf { x } _ { i } ^ { ( k ) } - \mathbf { x } _ { j } ^ { ( k ) } ) )
109
+ $$
110
+
111
+ Then $\varphi$ is a metric, which is learned by doing a non-linear combination of the absolute difference between the individual features of two nodes. Using this architecture the distance property Symmetry $\varphi _ { \tilde { \theta } } ( a , b ) = \varphi _ { \tilde { \theta } } ( b , a )$ is fulfilled by construction and the distance property Identity $\varphi _ { \tilde { \theta } } ( a , a ) = 0$ is easily learned.
112
+
113
+ The trainable adjacency is then normalized to a stochastic kernel by using a softmax along each row. The resulting update rules for node features are obtained by adding the edge feature kernel $\tilde { A } ^ { ( k ) }$ into the generator family $\mathcal { A } = \{ \tilde { A } ^ { ( k ) } , \mathbf { 1 } \}$ and applying (2). Adjacency learning is particularly important in applications where the input set is believed to have some geometric structure, but the metric is not known a priori, such as is our case.
114
+
115
+ In general graphs, the network depth is chosen to be of the order of the graph diameter, so that all nodes obtain information from the entire graph. In our context, however, since the graph is densely connected, the depth is interpreted simply as giving the model more expressive power.
116
+
117
+ Construction of Initial Node Features The input collection $\tau$ is mapped into node features as follows. For images $x _ { i } \in \mathcal T$ with known label $l _ { i }$ , the one-hot encoding of the label is concatenated with the embedding features of the image at the input of the GNN.
118
+
119
+ $$
120
+ \mathbf { x } _ { i } ^ { ( 0 ) } = \left( \phi ( { x } _ { i } ) , h ( l _ { i } ) \right) ,
121
+ $$
122
+
123
+ where $\phi$ is a Convolutional neural network and $h ( l ) \ \in \ \mathbb { R } _ { + } ^ { K }$ is a one-hot encoding of the label. Architectural details for $\phi$ are detailed in Section 6.1.1 and 6.1.2. For images $\tilde { x } _ { j } , \bar { x } _ { j ^ { \prime } }$ with unknown label $l _ { i }$ , we modify the previous construction to account for full uncertainty about the label variable by replacing $h ( l )$ with the uniform distribution over the $K$ -simplex: $V _ { j } \doteq ( \phi ( \tilde { x } _ { j } ) , K ^ { - 1 } \mathbf { 1 } _ { K } )$ , and analogously for $\bar { x }$ .
124
+
125
+ # 4.3 RELATIONSHIP WITH EXISTING MODELS
126
+
127
+ The graph neural network formulation of few-shot learning generalizes a number of recent models proposed in the literature.
128
+
129
+ Siamese Networks Siamese Networks Koch et al. (2015) can be interpreted as a single layer message-passing iteration of our model, and using the same initial node embedding (5) $\mathbf { x } _ { i } ^ { ( 0 ) } =$ $( \phi ( x _ { i } ) , h _ { i } )$ , using a non-trainable edge feature
130
+
131
+ $$
132
+ \varphi ( \mathbf { x } _ { i } , \mathbf { x } _ { j } ) = \lVert \phi ( x _ { i } ) - \phi ( x _ { j } ) \rVert , \tilde { A } ^ { ( 0 ) } = \mathrm { s o f t m a x } ( - \varphi ) ,
133
+ $$
134
+
135
+ and resulting label estimation
136
+
137
+ $$
138
+ \hat { Y } _ { * } = \sum _ { j } \tilde { A } _ { * , j } ^ { ( 0 ) } \langle \mathbf { x } _ { j } ^ { ( 0 ) } , u \rangle ,
139
+ $$
140
+
141
+ with $u$ selecting the label field from $\mathbf { x }$ . In this model, the learning is reduced to learning image embeddings $\phi ( x _ { i } )$ whose euclidean metric is consistent with the label similarities.
142
+
143
+ Prototypical Networks Prototypical networks Snell et al. (2017) evolve Siamese networks by aggregating information within each cluster determined by nodes with the same label. This operation can also be accomplished with a gnn as follows. we consider
144
+
145
+ $$
146
+ \tilde { A } _ { i , j } ^ { ( 0 ) } = \left\{ \begin{array} { c c } { q ^ { - 1 } } & { \mathrm { i f } l _ { i } = l _ { j } } \\ { 0 } & { \mathrm { o t h e r w i s e . } } \end{array} \right.
147
+ $$
148
+
149
+ where $q$ is the number of examples per class, and
150
+
151
+ $$
152
+ \mathbf { x } _ { i } ^ { ( 1 ) } = \sum _ { j } \tilde { A } _ { i , j } ^ { ( 0 ) } \mathbf { x } _ { j } ^ { ( 0 ) } ,
153
+ $$
154
+
155
+ where $\mathbf { x } ^ { ( 0 ) }$ is defined as in the Siamese Networks. We finally apply the previous kernel $\tilde { A } ^ { ( 1 ) } =$ softmax $\left( \varphi \right)$ applied to $\mathbf { x } ^ { ( 1 ) }$ to yield class prototypes:
156
+
157
+ $$
158
+ \hat { Y } _ { * } = \sum _ { j } \tilde { A } _ { * , j } ^ { ( 1 ) } \langle \mathbf { x } _ { j } ^ { ( 1 ) } , u \rangle .
159
+ $$
160
+
161
+ Matching Networks Matching networks Vinyals et al. (2016) use a set representation for the ensemble of images in $\tau$ , similarly as our proposed graph neural network model, but with two important differences. First, the attention mechanism considered in this set representation is akin to the edge feature learning, with the difference that the mechanism attends always to the same node embeddings, as opposed to our stacked adjacency learning, which is closer to Vaswani et al. (2017). In other words, instead of the attention kernel in (3), matching networks consider attention mechanisms of the form A˜(k)∗,j $\tilde { A } _ { * , j } ^ { ( k ) } = \varphi ( \mathbf { x } _ { * } ^ { ( k ) } , \mathbf { x } _ { j } ^ { ( T ) } )$ , where $\underset { - } { \mathbf { x } _ { j } ^ { ( T ) } }$ is the encoding function for the elements of the support set, obtained with bidirectional LSTMs. In that case, the support set encoding is thus computed independently of the target image. Second, the label and image fields are treated separately throughout the model, with a final step that aggregates linearly the labels using a trained kernel. This may prevent the model to leverage complex dependencies between labels and images at intermediate stages.
162
+
163
+ # 5 TRAINING
164
+
165
+ We describe next how to train the parameters of the GNN in the different setups we consider: fewshot learning, semi-supervised learning and active learning.
166
+
167
+ # 5.1 FEW-SHOT AND SEMI-SUPERVISED LEARNING
168
+
169
+ In this setup, the model is asked only to predict the label $Y$ corresponding to the image to classify $\bar { x } \in \tau$ , associated with node $^ *$ in the graph. The final layer of the GNN is thus a softmax mapping the node features to the $K$ -simplex. We then consider the Cross-entropy loss evaluated at node $^ *$ :
170
+
171
+ $$
172
+ \ell ( \Phi ( \mathcal { T } ; \Theta ) , Y ) = - \sum _ { k } y _ { k } \log P ( Y _ { * } = y _ { k } \mid \mathcal { T } ) .
173
+ $$
174
+
175
+ The semi-supervised setting is trained identically — the only difference is that the initial label fields of the node will be filled with the uniform distribution on nodes corresponding to $\tilde { x } _ { j }$ .
176
+
177
+ # 5.2 ACTIVE LEARNING
178
+
179
+ In the Active Learning setup, the model has the intrinsic ability to query for one of the labels from $\{ \tilde { x } _ { 1 } , \ldots , \tilde { x } _ { r } \}$ . The network will learn to ask for the most informative label in order to classify the sample $\bar { x } \in \mathcal { T }$ . The querying is done after the first layer of the GNN by using a Softmax attention over the unlabeled nodes of the graph. For this we apply a function $g ( \mathbf { x } _ { i } ^ { ( 1 ) } ) \in \mathbb { R } ^ { 1 }$ that maps each unlabeled vector node to a scalar value. Function $g$ is parametrized by a two layers neural network. A Softmax is applied over the $\{ 1 , \ldots , r \}$ scalar values obtained after applying $g$ :
180
+
181
+ $$
182
+ \mathrm { A t t e n t i o n } = \mathrm { S o f t m a x } ( g ( \mathbf { x } _ { \{ 1 , \dots , r \} } ^ { ( 1 ) } ) )
183
+ $$
184
+
185
+ In order to query only one sample, we set all elements from the $A t t e n t i o n \in \mathbb { R } ^ { r }$ vector to 0 except for one. At test time we keep the maximum value, at train time we randomly sample one value based on its multinomial probability. Then we multiply this sampled attention by the label vectors:
186
+
187
+ $$
188
+ w \cdot h ( l _ { i ^ { * } } ) = \langle \mathrm { A t t e n t i o n } ^ { \prime } , h ( l _ { \{ 1 , \dots , r \} } ) \rangle
189
+ $$
190
+
191
+ The label of the queried vector $h ( l _ { i ^ { * } } )$ is obtained, scaled by the weight $w \in ( 0 , 1 )$ . This value is then summed to the current representation $\mathbf { x } _ { i ^ { * } } ^ { ( 1 ) }$ , since we are using dense connections in our GNN model we can sum this $w \cdot h ( l _ { i ^ { * } } )$ value directly to where the uniform label distribution was concatenated
192
+
193
+ $$
194
+ \mathbf { x } _ { i ^ { * } } ^ { ( 1 ) } = [ \mathbf { G c } ( \mathbf { x } _ { i ^ { * } } ^ { ( 0 ) } ) , \mathbf { x } _ { i ^ { * } } ^ { ( 0 ) } ] = [ \mathbf { G c } ( \mathbf { x } _ { i ^ { * } } ^ { ( 0 ) } ) , ( \phi ( x _ { i ^ { * } } ) , h ( l _ { i ^ { * } } ) ) ]
195
+ $$
196
+
197
+ After the label has been summed to the current node, the information is forward propagated. This attention part is trained end-to-end with the rest of the network by backpropagating the loss from the output of the GNN.
198
+
199
+ # 6 EXPERIMENTS
200
+
201
+ For the few-shot, semi-supervised and active learning experiments we used the Omniglot dataset presented by Lake et al. (2015) and Mini-Imagenet dataset introduced by Vinyals et al. (2016) which is a small version of ILSVRC-12 Krizhevsky et al. (2012). All experiments are based on the $q$ -shot, $K$ -way setting. For all experiments we used the same values $q$ -shot and $K$ -way for both training and testing.
202
+
203
+ Code available at: https://github.com/vgsatorras/few-shot-gnn
204
+
205
+ # 6.1 DATASETS AND IMPLEMENTATION
206
+
207
+ # 6.1.1 OMNIGLOT
208
+
209
+ Dataset: Omniglot is a dataset of 1623 characters from 50 different alphabets, each character/class has been drawn by 20 different people. Following Vinyals et al. (2016) implementation we split the dataset into 1200 classes for training and the remaining 423 for testing. We augmented the dataset by multiples of 90 degrees as proposed by Santoro et al. (2016).
210
+
211
+ Architectures: Inspired by the embedding architecture from Vinyals et al. (2016), following Mishra et al. (2017), a CNN was used as an embedding $\phi$ function consisting of four stacked blocks of $\{ 3 \times 3$ -convolutional layer with 64 filters, batch-normalization, $2 \times 2$ max-pooling, leaky-relu} the output is passed through a fully connected layer resulting in a 64-dimensional embedding. For the GNN we used 3 blocks each of them composed by 1) a module that computes the adjacency matrix and 2) a graph convolutional layer. A more detailed description of each block can be found at Figure 3.
212
+
213
+ # 6.1.2 MINI-IMAGENET
214
+
215
+ Dataset: Mini-Imagenet is a more challenging dataset for one-shot learning proposed by Vinyals et al. (2016) derived from the original ILSVRC-12 dataset Krizhevsky et al. (2012). It consists of $8 4 \times 8 4$ RGB images from 100 different classes with 600 samples per class. It was created with the purpose of increasing the complexity for one-shot tasks while keeping the simplicity of a light size dataset, that makes it suitable for fast prototyping. We used the splits proposed by Ravi & Larochelle (2016) of 64 classes for training, 16 for validation and 20 for testing. Using 64 classes for training, and the 16 validation classes only for early stopping and parameter tuning.
216
+
217
+ Architecture: The embedding architecture used for Mini-Imagenet is formed by 4 convolutional layers followed by a fully-connected layer resulting in a 128 dimensional embedding. This light architecture is useful for fast prototyping:
218
+
219
+ $1 \times \{ 3 \times 3$ -conv. layer (64 filters), batch normalization, max pool $( 2 , 2 )$ , leaky relu $\}$ , $1 \times \{ 3 \times 3$ -conv. layer (96 filters), batch normalization, max $\mathrm { p o o l } ( 2 , 2 )$ , leaky relu}, $1 \times \{ 3 \times 3$ -conv. layer (128 filters), batch normalization, max $\mathrm { p o o l } ( 2 , 2 )$ , leaky relu, dropout $\left( 0 . 5 \right) \}$ , $1 \times \{ 3 \times 3$ -conv. layer (256 filters), batch normalization, max $\mathrm { p o o l } ( 2 , 2 )$ , leaky relu, dropout $\left( 0 . 5 \right) \}$ , $1 \times \left\{ \begin{array} { r l } \end{array} \right.$ fc-layer (128 filters), batch normalization}.
220
+
221
+ The two dropout layers are useful to avoid overfitting the GNN in Mini-Imagenet dataset. The GNN architecture is similar than for Omniglot, it is formed by 3 blocks, each block is described at Figure 3.
222
+
223
+ # 6.2 FEW-SHOT
224
+
225
+ Few-shot learning experiments for Omniglot and Mini-Imagenet are presented at Table 1 and Table 2 respectively.
226
+
227
+ We evaluate our model by performing different ${ \bf q }$ -shot, K-way experiments on both datasets. For every few-shot task $\tau$ , we sample $K$ random classes from the dataset, and from each class we sample $q$ random samples. An extra sample to classify is chosen from one of that $K$ classes.
228
+
229
+ Omniglot: The GNN method is providing competitive results while still remaining simpler than other methods. State of the art results are reached in the 5-Way and 20-way 1-shot experiments. In the 20-Way 1-shot setting the GNN is providing slightly better results than Munkhdalai & Yu (2017) while still being a more simple approach. The TCML approach from Mishra et al. (2017) is in the same confidence interval for 3 out of 4 experiments, but it is slightly better for the 20-Way 5-shot, although the number of parameters is reduced from ${ \sim } 5 \mathbf { M }$ (TCML) to $\sim 3 0 0 \mathrm { K }$ (3 layers GNN).
230
+
231
+ At Mini-Imagenet table we are also presenting a baseline ”Our metric learning $\mathbf { \chi } + K N N ^ { \prime }$ where no information has been aggregated among nodes, it is a K-nearest neighbors applied on top of the pair-wise learnable metric $\bar { \varphi _ { \theta } } ( \mathbf { x } _ { i } ^ { ( 0 ) } , \mathbf { x } _ { j } ^ { ( 0 ) } )$ and trained end-to-end, this learnable metric is competitive by itself compared to other state of the art methods. Even so, a significant improvement (from $6 4 . 0 2 \%$ to $6 6 . 4 1 \%$ ) can be seen for the 5-shot 5-Way Mini-Imagenet setting when aggregating information among nodes by using the full GNN architecture. A variety of embedding functions $\phi$ are used among the different papers for Mini-Imagenet experiments, in our case we are using a simple network of 4 conv. layers followed by a fully connected layer (Section 6.1.2) which served us to compare between Our GNN and Our metric learning $+ ~ K N N$ and it is useful for fast prototyping. More complex embeddings have proven to produce better results, at Mishra et al. (2017) a deep residual network is used as embedding network $\phi$ increasing the accuracy considerably. Regarding the TCML architecture in Mini-Imagenet, the number of parameters is reduced from ${ \sim } 1 1 \mathbf { M }$ (TCML) to ${ \sim } 4 0 0 \mathrm { K }$ (3 layers GNN).
232
+
233
+ <table><tr><td rowspan="2"></td><td colspan="2"> 5-Way</td><td colspan="2">20-Way</td></tr><tr><td>1-shot</td><td>5-shot</td><td>1-shot</td><td>5-shot</td></tr><tr><td>Model Pixels Vinyals et al. (2016)</td><td>41.7%</td><td>63.2%</td><td>26.7%</td><td>42.6%</td></tr><tr><td>Siamese Net Koch et al. (2015)</td><td>97.3%</td><td>98.4%</td><td>88.2%</td><td>97.0%</td></tr><tr><td>Matching Networks Vinyals et al. (2016)</td><td>98.1%</td><td>98.9%</td><td>93.8%</td><td>98.5%</td></tr><tr><td>N.Statistician Edwards &amp; Storkey (2016)</td><td>98.1%</td><td>99.5%</td><td>93.2%</td><td>98.1%</td></tr><tr><td>Res.Pair-Wise Mehrotra &amp; Dukkipati (2017)</td><td>-</td><td>-</td><td>94.8%</td><td>-</td></tr><tr><td>Prototypical Networks Snellet al. (2017)</td><td>97.4%</td><td>99.3%</td><td>95.4%</td><td>98.8%</td></tr><tr><td>ConvNet with Memory Kaiser et al. (2017)</td><td>98.4%</td><td>99.6%</td><td>95.0%</td><td>98.6%</td></tr><tr><td>Agnostic Meta-learner Finn et al. (2017)</td><td>98.7 ±0.4%</td><td>99.9 ±0.3%</td><td>95.8 ±0.3%</td><td>98.9 ±0.2%</td></tr><tr><td>MetaNetworks Munkhdalai&amp; Yu (2017)</td><td>98.9%</td><td>=</td><td>97.0%</td><td></td></tr><tr><td>TCML Mishra et al. (2017)</td><td></td><td>98.96% ±0.20% 99.75% ±0.11% 97.64% ±0.30% 99.36% ±0.18%</td><td></td><td></td></tr><tr><td>Our GNN</td><td>99.2%</td><td>99.7%</td><td>97.4%</td><td>99.0%</td></tr></table>
234
+
235
+ Table 1: Few-Shot Learning — Omniglot accuracies. Siamese Net results are extracted from Vinyals et al. (2016) reimplementation.
236
+
237
+ Table 2: Few-shot learning — Mini-Imagenet average accuracies with $9 5 \%$ confidence intervals.
238
+
239
+ <table><tr><td rowspan="2">Model</td><td colspan="2">5-Way</td></tr><tr><td>1-shot</td><td>5-shot</td></tr><tr><td>Matching Networks Vinyals et al. (2016)</td><td>43.6%</td><td>55.3%</td></tr><tr><td>Prototypical Networks Snel et al. (2017)</td><td>46.61% ±0.78%</td><td>65.77% ±0.70%</td></tr><tr><td>Model Agnostic Meta-learner Finn et al. (2017)</td><td>48.70% ±1.84%</td><td>63.1% ±0.92%</td></tr><tr><td>Meta Networks Munkhdalai &amp; Yu (2017)</td><td>49.21% ±0.96</td><td></td></tr><tr><td>Ravi &amp;Larochelle Ravi &amp; Larochelle (2016)</td><td>43.4% ±0.77%</td><td>60.2% ±0.71%</td></tr><tr><td>TCML Mishra et al. (2017)</td><td>55.71% ±0.99%</td><td>68.88% ±0.92%</td></tr><tr><td>Our metric learning + KNN</td><td>49.44% ±0.28%</td><td>64.02% ±0.51%</td></tr><tr><td>Our GNN</td><td>50.33% ±0.36%</td><td>66.41% ±0.63%</td></tr></table>
240
+
241
+ # 6.3 SEMI-SUPERVISED
242
+
243
+ Semi-supervised experiments are performed on the 5-way 5-shot setting. Different results are presented when $20 \%$ and $40 \%$ of the samples are labeled. The labeled samples are balanced among classes in all experiments, in other words, all the classes have the same amount of labeled and unlabeled samples.
244
+
245
+ Two strategies can be seen at Tables 3 and 4. ”GNN - Trained only with labeled” is equivalent to the supervised few-shot setting, for example, in the 5-Way 5-shot $20 \%$ -labeled setting, this method is equivalent to the 5-way 1-shot learning setting since it is ignoring the unlabeled samples. ”GNN - Semi supervised” is the actual semi-supervised method, for example, in the 5-Way 5-shot $20 \%$ - labeled setting, the GNN receives as input 1 labeled sample per class and 4 unlabeled samples per class.
246
+
247
+ Omniglot results are presented at Table 3, for this scenario we observe that the accuracy improvement is similar when adding images than when adding labels. The GNN is able to extract information from the input distribution of unlabeled samples such that only using $20 \%$ of the labels in a 5-shot semi-supervised environment we get same results as in the $40 \%$ supervised setting.
248
+
249
+ In Mini-Imagenet experiments, Table 4, we also notice an improvement when using semi-supervised data although it is not as significant as in Omniglot. The distribution of Mini-Imagenet images is more complex than for Omniglot. In spite of it, the GNN manages to improve by ${ \sim } 2 \%$ in the $20 \%$ and $40 \%$ settings.
250
+
251
+ Table 3: Semi-Supervised Learning — Omniglot accuracies.
252
+
253
+ <table><tr><td></td><td colspan="3">5-Way 5-shot</td></tr><tr><td>Model</td><td>20%-labeled</td><td>40%-labeled</td><td>100 %-labeled</td></tr><tr><td>GNN - Trained only with labeled</td><td>99.18%</td><td>99.59%</td><td>99.71%</td></tr><tr><td>GNN -Semi supervised</td><td>99.59%</td><td>99.63%</td><td>99.71%</td></tr></table>
254
+
255
+ Table 4: Semi-Supervised Learning — Mini-Imagenet average accuracies with $9 5 \%$ confidence intervals.
256
+
257
+ <table><tr><td></td><td colspan="3">5-Way 5-shot</td></tr><tr><td>Model</td><td>20%-labeled</td><td>40%-labeled</td><td>100 %-labeled</td></tr><tr><td>GNN - Trainedonlywithlabeled</td><td>50.33% ±0.36%</td><td>56.91% ±0.42%</td><td>66.41% ±0.63%</td></tr><tr><td>GNN - Semi supervised</td><td>52.45% ±0.88%</td><td>58.76% ±0.86%</td><td>66.41% ±0.63%</td></tr></table>
258
+
259
+ # 6.4 ACTIVE LEARNING
260
+
261
+ We performed Active Learning experiments on the 5-Way 5-shot set-up when $20 \%$ of the samples are labeled. In this scenario our network will query for the label of one sample from the unlabeled ones. The results are compared with the Random baseline where the network chooses a random sample to be labeled instead of one that maximally reduces the loss of the classification task $\tau$ .
262
+
263
+ Results are shown at Table 5. The results of the GNN-Random criterion are close to the Semisupervised results for $20 \%$ -labeled samples from Tables 3 and 4. It means that selecting one random label practically does not improve the accuracy at all. When using the GNN-AL learned criterion, we notice an improvement of $\sim 3 . 4 \%$ for Mini-Imagenet, it means that the GNN manages to correctly choose a more informative sample than a random one. In Omniglot the improvement is smaller since the accuracy is almost saturated and the improving margin is less.
264
+
265
+ <table><tr><td>Method</td><td>5-Way 5-shot20%-labeled</td><td>Method</td><td>5-Way 5-shot 20%-labeled</td></tr><tr><td>GNN - AL</td><td>99.62%</td><td>GNN - AL</td><td>55.99% ±1.35%</td></tr><tr><td>GNN - Random</td><td>99.59%</td><td>GNN - Random</td><td>52.56% ±1.18%</td></tr></table>
266
+
267
+ Table 5: Omniglot (left) and Mini-Imagneet (right), average accuracies are shown at both tables, the GNN-AL is the learned criterion that performs Active Learning by selecting the sample that will maximally reduce the loss of the current classification. The GNN - Random is also selecting one sample, but in this case a random one. Mini-Imagenet results are presented with $9 5 \%$ confidence intervals.
268
+
269
+ # 7 CONCLUSIONS
270
+
271
+ This paper explored graph neural representations for few-shot, semi-supervised and active learning. From the meta-learning perspective, these tasks become supervised learning problems where the input is given by a collection or set of elements, whose relational structure can be leveraged with neural message passing models. In particular, stacked node and edge features generalize the contextual similarity learning underpinning previous few-shot learning models.
272
+
273
+ The graph formulation is helpful to unify several training setups (few-shot, active, semi-supervised) under the same framework, a necessary step towards the goal of having a single learner which is able to operate simultaneously in different regimes (stream of labels with few examples per class, or stream of examples with few labels). This general goal requires scaling up graph models to millions of nodes, motivating graph hierarchical and coarsening approaches Defferrard et al. (2016).
274
+
275
+ Another future direction is to generalize the scope of Active Learning, to include e.g. the ability to ask questions Rothe et al. (2017), or in reinforcement learning setups, where few-shot learning is critical to adapt to non-stationary environments.
276
+
277
+ # ACKNOWLEDGMENTS
278
+
279
+ This work was partly supported by Samsung Electronics (Improving Deep Learning using Latent Structure).
280
+
281
+ # REFERENCES
282
+
283
+ Peter Battaglia, Razvan Pascanu, Matthew Lai, Danilo Jimenez Rezende, et al. Interaction networks for learning about objects, relations and physics. In Advances in Neural Information Processing Systems, pp. 4502–4510, 2016.
284
+
285
+ Michael M Bronstein, Joan Bruna, Yann LeCun, Arthur Szlam, and Pierre Vandergheynst. Geometric deep learning: going beyond euclidean data. IEEE Signal Processing Magazine, 34(4):18–42, 2017.
286
+
287
+ Joan Bruna and Xiang Li. Community detection with graph neural networks. arXiv preprint arXiv:1705.08415, 2017.
288
+
289
+ Joan Bruna, Wojciech Zaremba, Arthur Szlam, and Yann LeCun. Spectral networks and locally connected networks on graphs. Proc. ICLR, 2013.
290
+
291
+ Michael B. Chang, Tomer Ullman, Antonio Torralba, and Joshua B. Tenenbaum. A compositional object-based approach to learning physical dynamics. ICLR, 2016.
292
+
293
+ Michael Defferrard, Xavier Bresson, and Pierre Vandergheynst. Convolutional neural networks¨ on graphs with fast localized spectral filtering. In Advances in Neural Information Processing Systems, pp. 3837–3845, 2016.
294
+
295
+ David Duvenaud, Dougal Maclaurin, Jorge Aguilera-Iparraguirre, Rafael Gomez-Bombarelli, Tim- ´ othy Hirzel, Alan Aspuru-Guzik, and Ryan P Adams. Convolutional networks on graphs for ´ learning molecular fingerprints. In Neural Information Processing Systems, 2015.
296
+
297
+ Harrison Edwards and Amos Storkey. Towards a neural statistician. arXiv preprint arXiv:1606.02185, 2016.
298
+
299
+ Li Fei-Fei, Rob Fergus, and Pietro Perona. One-shot learning of object categories. IEEE transactions on pattern analysis and machine intelligence, 28(4):594–611, 2006.
300
+
301
+ Chelsea Finn, Pieter Abbeel, and Sergey Levine. Model-agnostic meta-learning for fast adaptation of deep networks. arXiv preprint arXiv:1703.03400, 2017.
302
+
303
+ Justin Gilmer, Samuel S Schoenholz, Patrick F Riley, Oriol Vinyals, and George E Dahl. Neural message passing for quantum chemistry. arXiv preprint arXiv:1704.01212, 2017.
304
+
305
+ M. Gori, G. Monfardini, and F. Scarselli. A new model for learning in graph domains. In Proc. IJCNN, 2005.
306
+
307
+ M. Henaff, J. Bruna, and Y. LeCun. Deep convolutional networks on graph-structured data. arXiv:1506.05163, 2015.
308
+
309
+ Łukasz Kaiser, Ofir Nachum, Aurko Roy, and Samy Bengio. Learning to remember rare events. arXiv preprint arXiv:1703.03129, 2017.
310
+
311
+ Steven Kearnes, Kevin McCloskey, Marc Berndl, Vijay Pande, and Patrick Riley. Molecular graph convolutions: moving beyond fingerprints. Journal of computer-aided molecular design, 30(8): 595–608, 2016.
312
+
313
+ Thomas N Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. arXiv preprint arXiv:1609.02907, 2016.
314
+
315
+ Gregory Koch, Richard Zemel, and Ruslan Salakhutdinov. Siamese neural networks for one-shot image recognition. In ICML Deep Learning Workshop, volume 2, 2015.
316
+
317
+ Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In Advances in neural information processing systems, pp. 1097–1105, 2012.
318
+
319
+ Brenden M Lake, Ruslan Salakhutdinov, and Joshua B Tenenbaum. Human-level concept learning through probabilistic program induction. Science, 350(6266):1332–1338, 2015.
320
+
321
+ Yujia Li, Daniel Tarlow, Marc Brockschmidt, and Richard Zemel. Gated graph sequence neural networks. arXiv preprint arXiv:1511.05493, 2015.
322
+
323
+ Akshay Mehrotra and Ambedkar Dukkipati. Generative adversarial residual pairwise networks for one shot learning. arXiv preprint arXiv:1703.08033, 2017.
324
+
325
+ Nikhil Mishra, Mostafa Rohaninejad, Xi Chen, and Pieter Abbeel. Meta-learning with temporal convolutions. arXiv preprint arXiv:1707.03141, 2017.
326
+
327
+ Tsendsuren Munkhdalai and Hong Yu. Meta networks. arXiv preprint arXiv:1703.00837, 2017.
328
+
329
+ Sachin Ravi and Hugo Larochelle. Optimization as a model for few-shot learning. ICLR, 2016.
330
+
331
+ Anselm Rothe, Brenden Lake, and Todd Gureckis. Question asking as program generation. NIPS, 2017.
332
+
333
+ Adam Santoro, Sergey Bartunov, Matthew Botvinick, Daan Wierstra, and Timothy Lillicrap. Metalearning with memory-augmented neural networks. In International conference on machine learning, pp. 1842–1850, 2016.
334
+
335
+ Franco Scarselli, Marco Gori, Ah Chung Tsoi, Markus Hagenbuchner, and Gabriele Monfardini. The graph neural network model. IEEE Transactions on Neural Networks, 20(1):61–80, 2009.
336
+ Jake Snell, Kevin Swersky, and Richard S Zemel. Prototypical networks for few-shot learning. arXiv preprint arXiv:1703.05175, 2017.
337
+ Sainbayar Sukhbaatar, Rob Fergus, et al. Learning multiagent communication with backpropagation. In Advances in Neural Information Processing Systems, pp. 2244–2252, 2016.
338
+ Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. arXiv preprint arXiv:1706.03762, 2017.
339
+ Oriol Vinyals, Samy Bengio, and Manjunath Kudlur. Order matters: Sequence to sequence for sets. arXiv preprint arXiv:1511.06391, 2015.
340
+ Oriol Vinyals, Charles Blundell, Tim Lillicrap, Daan Wierstra, et al. Matching networks for one shot learning. In Advances in Neural Information Processing Systems, pp. 3630–3638, 2016.
341
+ Bing Xu, Naiyan Wang, Tianqi Chen, and Mu Li. Empirical evaluation of rectified activations in convolutional network. arXiv preprint arXiv:1505.00853, 2015.
342
+
343
+ # APPENDIX
344
+
345
+ ![](images/ab7fb28a484d119fed79007fdb4dbde7401999d4292c486b85a76412e1e59ede.jpg)
346
+ Figure 3: GNN model. Three blue blocks are used for Omniglot and Mini-Imagenet. $( \mathrm { n f } { = } 9 6 ) ,$ ).
parse/train/BJj6qGbRW/BJj6qGbRW_content_list.json ADDED
@@ -0,0 +1,1740 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "FEW-SHOT LEARNING WITH GRAPH NEURAL NETWORKS ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 174,
8
+ 99,
9
+ 821,
10
+ 145
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Victor Garcia∗ Amsterdam Machine Learning Lab University of Amsterdam Amsterdam, 1098 XH, NL v.garciasatorras@uva.nl ",
17
+ "bbox": [
18
+ 184,
19
+ 171,
20
+ 415,
21
+ 239
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Joan Bruna \nCourant Institute of Mathematical Sciences \nNew York University \nNew York City, NY, 10010, USA \nbruna@cims.nyu.edu ",
28
+ "bbox": [
29
+ 480,
30
+ 171,
31
+ 766,
32
+ 239
33
+ ],
34
+ "page_idx": 0
35
+ },
36
+ {
37
+ "type": "text",
38
+ "text": "ABSTRACT ",
39
+ "text_level": 1,
40
+ "bbox": [
41
+ 454,
42
+ 276,
43
+ 544,
44
+ 291
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "We propose to study the problem of few-shot learning with the prism of inference on a partially observed graphical model, constructed from a collection of input images whose label can be either observed or not. By assimilating generic message-passing inference algorithms with their neural-network counterparts, we define a graph neural network architecture that generalizes several of the recently proposed few-shot learning models. Besides providing improved numerical performance, our framework is easily extended to variants of few-shot learning, such as semi-supervised or active learning, demonstrating the ability of graph-based models to operate well on ‘relational’ tasks. ",
51
+ "bbox": [
52
+ 233,
53
+ 306,
54
+ 764,
55
+ 430
56
+ ],
57
+ "page_idx": 0
58
+ },
59
+ {
60
+ "type": "text",
61
+ "text": "1 INTRODUCTION ",
62
+ "text_level": 1,
63
+ "bbox": [
64
+ 176,
65
+ 454,
66
+ 336,
67
+ 469
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "Supervised end-to-end learning has been extremely successful in computer vision, speech, or machine translation tasks, thanks to improvements in optimization technology, larger datasets and streamlined designs of deep convolutional or recurrent architectures. Despite these successes, this learning setup does not cover many aspects where learning is nonetheless possible and desirable. ",
74
+ "bbox": [
75
+ 176,
76
+ 484,
77
+ 823,
78
+ 540
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "One such instance is the ability to learn from few examples, in the so-called few-shot learning tasks. Rather than relying on regularization to compensate for the lack of data, researchers have explored ways to leverage a distribution of similar tasks, inspired by human learning Lake et al. (2015). This defines a new supervised learning setup (also called ‘meta-learning’) in which the input-output pairs are no longer given by iid samples of images and their associated labels, but by iid samples of collections of images and their associated label similarity. ",
85
+ "bbox": [
86
+ 174,
87
+ 547,
88
+ 825,
89
+ 632
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "A recent and highly-successful research program has exploited this meta-learning paradigm on the few-shot image classification task Lake et al. (2015); Koch et al. (2015); Vinyals et al. (2016); Mishra et al. (2017); Snell et al. (2017). In essence, these works learn a contextual, task-specific similarity measure, that first embeds input images using a CNN, and then learns how to combine the embedded images in the collection to propagate the label information towards the target image. ",
96
+ "bbox": [
97
+ 174,
98
+ 638,
99
+ 823,
100
+ 708
101
+ ],
102
+ "page_idx": 0
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "In particular, Vinyals et al. (2016) cast the few-shot learning problem as a supervised classification task mapping a support set of images into the desired label, and developed an end-to-end architecture accepting those support sets as input via attention mechanisms. In this work, we build upon this line of work, and argue that this task is naturally expressed as a supervised interpolation problem on a graph, where nodes are associated with the images in the collection, and edges are given by a trainable similarity kernels. Leveraging recent progress on representation learning for graphstructured data Bronstein et al. (2017); Gilmer et al. (2017), we thus propose a simple graph-based few-shot learning model that implements a task-driven message passing algorithm. The resulting architecture is trained end-to-end, captures the invariances of the task, such as permutations within the input collections, and offers a good tradeoff between simplicity, generality, performance and sample complexity. ",
107
+ "bbox": [
108
+ 174,
109
+ 715,
110
+ 825,
111
+ 867
112
+ ],
113
+ "page_idx": 0
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "Besides few-shot learning, a related task is the ability to learn from a mixture of labeled and unlabeled examples — semi-supervised learning, as well as active learning, in which the learner has the option to request those missing labels that will be most helpful for the prediction task. Our graphbased architecture is naturally extended to these setups with minimal changes in the training design. We validate experimentally the model on few-shot image classification, matching state-of-the-art performance with considerably fewer parameters, and demonstrate applications to semi-supervised and active learning setups. ",
118
+ "bbox": [
119
+ 176,
120
+ 875,
121
+ 821,
122
+ 904
123
+ ],
124
+ "page_idx": 0
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "",
129
+ "bbox": [
130
+ 176,
131
+ 103,
132
+ 825,
133
+ 174
134
+ ],
135
+ "page_idx": 1
136
+ },
137
+ {
138
+ "type": "text",
139
+ "text": "Our contributions are summarized as follows: ",
140
+ "bbox": [
141
+ 174,
142
+ 180,
143
+ 473,
144
+ 195
145
+ ],
146
+ "page_idx": 1
147
+ },
148
+ {
149
+ "type": "text",
150
+ "text": "• We cast few-shot learning as a supervised message passing task which is trained end-to-end using graph neural networks. \n• We match state-of-the-art performance on Omniglot and Mini-Imagenet tasks with fewer parameters. \n• We extend the model in the semi-supervised and active learning regimes. ",
151
+ "bbox": [
152
+ 215,
153
+ 205,
154
+ 825,
155
+ 285
156
+ ],
157
+ "page_idx": 1
158
+ },
159
+ {
160
+ "type": "text",
161
+ "text": "The rest of the paper is structured as follows. Section 2 describes related work, Sections 3, 4 and 5 present the problem setup, our graph neural network model and the training, and Section 6 reports numerical experiments. ",
162
+ "bbox": [
163
+ 178,
164
+ 295,
165
+ 825,
166
+ 338
167
+ ],
168
+ "page_idx": 1
169
+ },
170
+ {
171
+ "type": "text",
172
+ "text": "2 RELATED WORK ",
173
+ "text_level": 1,
174
+ "bbox": [
175
+ 176,
176
+ 357,
177
+ 344,
178
+ 373
179
+ ],
180
+ "page_idx": 1
181
+ },
182
+ {
183
+ "type": "text",
184
+ "text": "One-shot learning was first introduced by Fei-Fei et al. (2006), they assumed that currently learned classes can help to make predictions on new ones when just one or few labels are available. More recently, Lake et al. (2015) presented a Hierarchical Bayesian model that reached human level error on few-shot learning alphabet recongition tasks. ",
185
+ "bbox": [
186
+ 174,
187
+ 388,
188
+ 825,
189
+ 444
190
+ ],
191
+ "page_idx": 1
192
+ },
193
+ {
194
+ "type": "text",
195
+ "text": "Since then, great progress has been done in one-shot learning. Koch et al. (2015) presented a deeplearning model based on computing the pair-wise distance between samples using Siamese Networks, then, this learned distance can be used to solve one-shot problems by $\\mathbf { k }$ -nearest neighbors classification. Vinyals et al. (2016) Presented an end-to-end trainable $\\mathbf { k }$ -nearest neighbors using the cosine distance, they also introduced a contextual mechanism using an attention LSTM model that takes into account all the samples of the subset $\\tau$ when computing the pair-wise distance between samples. Snell et al. (2017) extended the work from Vinyals et al. (2016), by using euclidean distance instead of cosine which provided significant improvements, they also build a prototype representation of each class for the few-shot learning scenario. Mehrotra & Dukkipati (2017) trained a deep residual network together with a generative model to approximate the pair-wise distance between samples. ",
196
+ "bbox": [
197
+ 174,
198
+ 452,
199
+ 825,
200
+ 604
201
+ ],
202
+ "page_idx": 1
203
+ },
204
+ {
205
+ "type": "text",
206
+ "text": "A new line of meta-learners for one-shot learning is rising lately: Ravi & Larochelle (2016) introduced a meta-learning method where an LSTM updates the weights of a classifier for a given episode. Munkhdalai & Yu (2017) also presented a meta-learning architecture that learns meta-level knowledge across tasks, and it changes its inductive bias via fast parametrization. Finn et al. (2017) is using a model agnostic meta-learner based on gradient descent, the goal is to train a classification model such that given a new task, a small amount of gradient steps with few data will be enough to generalize. Lately, Mishra et al. (2017) used Temporal Convolutions which are deep recurrent networks based on dilated convolutions, this method also exploits contextual information from the subset $\\tau$ providing very good results. ",
207
+ "bbox": [
208
+ 174,
209
+ 611,
210
+ 825,
211
+ 736
212
+ ],
213
+ "page_idx": 1
214
+ },
215
+ {
216
+ "type": "text",
217
+ "text": "Another related area of research concerns deep learning architectures on graph-structured data. The GNN was first proposed in Gori et al. (2005); Scarselli et al. (2009), as a trainable recurrent messagepassing whose fixed points could be adjusted discriminatively. Subsequent works Li et al. (2015); Sukhbaatar et al. (2016) have relaxed the model by untying the recurrent layer weights and proposed several nonlinear updates through gating mechanisms. Graph neural networks are in fact natural generalizations of convolutional networks to non-Euclidean graphs. Bruna et al. (2013); Henaff et al. (2015) proposed to learn smooth spectral multipliers of the graph Laplacian, albeit with high computational cost, and Defferrard et al. (2016); Kipf & Welling (2016) resolved the computational bottleneck by learning polynomials of the graph Laplacian, thus avoiding the computation of eigenvectors and completing the connection with GNNs. In particular, Kipf & Welling (2016) was the first to propose the use of GNNs on semi-supervised classification problems. We refer the reader to Bronstein et al. (2017) for an exhaustive literature review on the topic. GNNs and the analogous Neural Message Passing Models are finding application in many different domains. Battaglia et al. ",
218
+ "bbox": [
219
+ 174,
220
+ 743,
221
+ 825,
222
+ 924
223
+ ],
224
+ "page_idx": 1
225
+ },
226
+ {
227
+ "type": "text",
228
+ "text": "(2016); Chang et al. (2016) develop graph interaction networks that learn pairwise particle interactions and apply them to discrete particle physical dynamics. Duvenaud et al. (2015); Kearnes et al. (2016) study molecular fingerprints using variants of the GNN architecture, and Gilmer et al. (2017) further develop the model by combining it with set representations Vinyals et al. (2015), showing state-of-the-art results on molecular prediction. ",
229
+ "bbox": [
230
+ 174,
231
+ 103,
232
+ 825,
233
+ 174
234
+ ],
235
+ "page_idx": 2
236
+ },
237
+ {
238
+ "type": "text",
239
+ "text": "3 PROBLEM SET-UP ",
240
+ "text_level": 1,
241
+ "bbox": [
242
+ 176,
243
+ 193,
244
+ 354,
245
+ 209
246
+ ],
247
+ "page_idx": 2
248
+ },
249
+ {
250
+ "type": "text",
251
+ "text": "We describe first the general setup and notations, and then particularize it to the case of few-shot learning, semi-supervised learning and active learning. ",
252
+ "bbox": [
253
+ 174,
254
+ 224,
255
+ 823,
256
+ 253
257
+ ],
258
+ "page_idx": 2
259
+ },
260
+ {
261
+ "type": "text",
262
+ "text": "We consider input-output pairs $( \\mathcal { T } _ { i } , Y _ { i } ) _ { i }$ drawn iid from a distribution $P$ of partially-labeled image collections ",
263
+ "bbox": [
264
+ 174,
265
+ 258,
266
+ 825,
267
+ 287
268
+ ],
269
+ "page_idx": 2
270
+ },
271
+ {
272
+ "type": "equation",
273
+ "img_path": "images/8251fc0b282a836b4bb81b5fc5257e1baa263762d8814589e46d779e1a1c488e.jpg",
274
+ "text": "$$\n\\begin{array} { r c l } { { { \\cal T } } } & { { = } } & { { \\{ \\{ ( x _ { 1 } , l _ { 1 } ) , \\dots ( x _ { s } , l _ { s } ) \\} , \\{ \\tilde { x } _ { 1 } , \\dots , \\tilde { x } _ { r } \\} , \\{ \\bar { x } _ { 1 } , \\dots , \\bar { x } _ { t } \\} ; l _ { i } \\in \\{ 1 , K \\} , x _ { i } , \\tilde { x } _ { j } , \\bar { x } _ { j } \\sim \\{ \\mathcal { P } _ { l } ( \\mathbb { R } ^ { N } ) \\} \\} , } } \\\\ { { { \\cal Y } } } & { { = } } & { { ( y _ { 1 } , \\dots , y _ { t } ) \\in \\{ 1 , K \\} ^ { t } , } } \\\\ { { } } & { { } } & { { ( 1 ) } } \\end{array}\n$$",
275
+ "text_format": "latex",
276
+ "bbox": [
277
+ 202,
278
+ 291,
279
+ 854,
280
+ 332
281
+ ],
282
+ "page_idx": 2
283
+ },
284
+ {
285
+ "type": "text",
286
+ "text": "for arbitrary values of $s , r , t$ and $K$ . Where $s$ is the number of labeled samples, $r$ is the number of unlabeled samples $r > 0$ for the semi-supervised and active learning scenarios) and $t$ is the number of samples to classify. $K$ is the number of classes. We will focus in the case $t = 1$ where we just classify one sample per task $\\tau$ . $\\mathcal { P } _ { l } ( \\mathbb { R } ^ { N } )$ denotes a class-specific image distribution over $\\mathbb { R } ^ { N }$ . In our context, the targets $Y _ { i }$ are associated with image categories of designated images $\\bar { x } _ { 1 } , \\ldots , \\bar { x } _ { t } \\in \\mathcal { T } _ { i }$ with no observed label. Given a training set $\\{ ( \\mathcal { T } _ { i } , Y _ { i } ) _ { i } \\} _ { i \\leq L }$ , we consider the standard supervised learning objective ",
287
+ "bbox": [
288
+ 173,
289
+ 333,
290
+ 826,
291
+ 431
292
+ ],
293
+ "page_idx": 2
294
+ },
295
+ {
296
+ "type": "equation",
297
+ "img_path": "images/b4c088887f7a08550f0517ecbccd2048032004b20c06360795cf3dc382574d64.jpg",
298
+ "text": "$$\n\\operatorname* { m i n } _ { \\Theta } \\frac { 1 } { L } \\sum _ { i \\leq L } \\ell ( \\Phi ( \\mathcal { T } _ { i } ; \\Theta ) , Y _ { i } ) + \\mathcal { R } ( \\Theta ) ,\n$$",
299
+ "text_format": "latex",
300
+ "bbox": [
301
+ 374,
302
+ 429,
303
+ 620,
304
+ 467
305
+ ],
306
+ "page_idx": 2
307
+ },
308
+ {
309
+ "type": "text",
310
+ "text": "using the model $\\Phi ( { \\mathcal { T } } ; \\Theta ) = p ( Y \\mid { \\mathcal { T } } )$ specified in Section 4 and $\\mathcal { R }$ is a standard regularization objective. ",
311
+ "bbox": [
312
+ 176,
313
+ 469,
314
+ 820,
315
+ 498
316
+ ],
317
+ "page_idx": 2
318
+ },
319
+ {
320
+ "type": "text",
321
+ "text": "Few-Shot Learning When $r = 0$ , $t = 1$ and $s = q K$ , there is a single image in the collection with unknown label. If moreover each label appears exactly $q$ times, this setting is referred as the $q$ -shot, $K$ -way learning. ",
322
+ "bbox": [
323
+ 174,
324
+ 512,
325
+ 825,
326
+ 555
327
+ ],
328
+ "page_idx": 2
329
+ },
330
+ {
331
+ "type": "text",
332
+ "text": "Semi-Supervised Learning When $r > 0$ and $t = 1$ , the input collection contains auxiliary images $\\tilde { x } _ { 1 } , \\ldots , \\tilde { x } _ { r }$ that the model can use to improve the prediction accuracy, by leveraging the fact that these samples are drawn from common distributions as those determining the output. ",
333
+ "bbox": [
334
+ 174,
335
+ 569,
336
+ 825,
337
+ 612
338
+ ],
339
+ "page_idx": 2
340
+ },
341
+ {
342
+ "type": "text",
343
+ "text": "Active Learning In the active learning setting, the learner has the ability to request labels from the sub-collection $\\{ \\tilde { x } _ { 1 } , \\ldots , \\tilde { x } _ { r } \\}$ . We are interested in studying to what extent this active learning can improve the performance with respect to the previous semi-supervised setup, and match the performance of the one-shot learning setting with $s _ { 0 }$ known labels when $s + r = s _ { 0 }$ , $s \\ll s _ { 0 }$ . ",
344
+ "bbox": [
345
+ 174,
346
+ 626,
347
+ 825,
348
+ 684
349
+ ],
350
+ "page_idx": 2
351
+ },
352
+ {
353
+ "type": "text",
354
+ "text": "4 MODEL ",
355
+ "text_level": 1,
356
+ "bbox": [
357
+ 176,
358
+ 703,
359
+ 269,
360
+ 718
361
+ ],
362
+ "page_idx": 2
363
+ },
364
+ {
365
+ "type": "text",
366
+ "text": "This section presents our approach, based on a simple end-to-end graph neural network architecture. We first explain how the input context is mapped into a graphical representation, then detail the architecture, and next show how this model generalizes a number of previously published few-shot learning architectures. ",
367
+ "bbox": [
368
+ 174,
369
+ 734,
370
+ 825,
371
+ 790
372
+ ],
373
+ "page_idx": 2
374
+ },
375
+ {
376
+ "type": "text",
377
+ "text": "4.1 SET AND GRAPH INPUT REPRESENTATIONS ",
378
+ "text_level": 1,
379
+ "bbox": [
380
+ 174,
381
+ 806,
382
+ 516,
383
+ 821
384
+ ],
385
+ "page_idx": 2
386
+ },
387
+ {
388
+ "type": "text",
389
+ "text": "The input $\\tau$ contains a collection of images, both labeled and unlabeled. The goal of few-shot learning is to propagate label information from labeled samples towards the unlabeled query image. This propagation of information can be formalized as a posterior inference over a graphical model determined by the input images and labels. ",
390
+ "bbox": [
391
+ 174,
392
+ 832,
393
+ 825,
394
+ 888
395
+ ],
396
+ "page_idx": 2
397
+ },
398
+ {
399
+ "type": "text",
400
+ "text": "Following several recent works that cast posterior inference using message passing with neural networks defined over graphs Scarselli et al. (2009); Duvenaud et al. (2015); Gilmer et al. (2017), we associate $\\tau$ with a fully-connected graph $G _ { \\mathcal { T } } = ( V , E )$ where nodes $v _ { a } \\in V$ correspond to the images present in $\\tau$ (both labeled and unlabeled). In this context, the setup does not specify a fixed similarity $e _ { a , a ^ { \\prime } }$ between images $x _ { a }$ and $x _ { a ^ { \\prime } }$ , suggesting an approach where this similarity measure is learnt in a discriminative fashion with a parametric model similarly as in Gilmer et al. (2017), such as a siamese neural architecture. This framework is closely related to the set representation from Vinyals et al. (2016), but extends the inference mechanism using the graph neural network formalism that we detail next. ",
401
+ "bbox": [
402
+ 174,
403
+ 895,
404
+ 821,
405
+ 924
406
+ ],
407
+ "page_idx": 2
408
+ },
409
+ {
410
+ "type": "image",
411
+ "img_path": "images/f38eabf35cdc750fbe4969ce4ddaefa5ad674cad5880cb8253ae0c611d3881fd.jpg",
412
+ "image_caption": [
413
+ "Figure 1: Visual representation of One-Shot Learning setting. "
414
+ ],
415
+ "image_footnote": [],
416
+ "bbox": [
417
+ 269,
418
+ 108,
419
+ 736,
420
+ 337
421
+ ],
422
+ "page_idx": 3
423
+ },
424
+ {
425
+ "type": "text",
426
+ "text": "",
427
+ "bbox": [
428
+ 173,
429
+ 397,
430
+ 826,
431
+ 496
432
+ ],
433
+ "page_idx": 3
434
+ },
435
+ {
436
+ "type": "text",
437
+ "text": "4.2 GRAPH NEURAL NETWORKS ",
438
+ "text_level": 1,
439
+ "bbox": [
440
+ 176,
441
+ 513,
442
+ 415,
443
+ 529
444
+ ],
445
+ "page_idx": 3
446
+ },
447
+ {
448
+ "type": "text",
449
+ "text": "Graph Neural Networks, introduced in Gori et al. (2005); Scarselli et al. (2009) and further simplified in Li et al. (2015); Duvenaud et al. (2015); Sukhbaatar et al. (2016) are neural networks based on local operators of a graph $G = ( V , E )$ , offering a powerful balance between expressivity and sample complexity; see Bronstein et al. (2017) for a recent survey on models and applications of deep learning on graphs. ",
450
+ "bbox": [
451
+ 173,
452
+ 540,
453
+ 825,
454
+ 612
455
+ ],
456
+ "page_idx": 3
457
+ },
458
+ {
459
+ "type": "text",
460
+ "text": "In its simplest incarnation, given an input signal $F \\in \\mathbb { R } ^ { V \\times d }$ on the vertices of a weighted graph $G$ , we consider a family $\\mathcal { A }$ of graph intrinsic linear operators that act locally on this signal. The simplest is the adjacency operator $\\mathsf { \\bar { A } } : \\mathsf { F } \\mapsto A ( F )$ where $\\begin{array} { r } { ( A F ) _ { i } : = \\sum _ { j \\sim i } w _ { i , j } \\mathbf { \\bar { F } } _ { j } } \\end{array}$ , with $i \\sim j$ iff $( i , j ) \\in E$ and $w _ { i , j }$ its associated weight. A GNN layer $\\operatorname { G c } ( \\cdot )$ receives as input a signal $\\mathbf { x } ^ { ( k ) } \\in \\mathbb { R } ^ { V \\times d _ { k } }$ and produces $\\mathbf { x } ^ { ( k + 1 ) } \\in \\mathbb { R } ^ { V \\times d _ { k + 1 } }$ as ",
461
+ "bbox": [
462
+ 173,
463
+ 617,
464
+ 825,
465
+ 691
466
+ ],
467
+ "page_idx": 3
468
+ },
469
+ {
470
+ "type": "equation",
471
+ "img_path": "images/b99cbe91ce17b435eb28a5064b4a7aef09c414d743f61664cbc2d8103d226337.jpg",
472
+ "text": "$$\n{ \\bf x } _ { l } ^ { ( k + 1 ) } = { \\bf G } { \\bf c } ( { \\bf x } ^ { ( k ) } ) = \\rho \\left( \\sum _ { B \\in \\mathcal { A } } B { \\bf x } ^ { ( k ) } \\theta _ { B , l } ^ { ( k ) } \\right) \\mathrm { ~ , ~ } l = d _ { 1 } \\mathrm { ~ . ~ . ~ } d _ { k + 1 } \\mathrm { ~ , ~ }\n$$",
473
+ "text_format": "latex",
474
+ "bbox": [
475
+ 305,
476
+ 702,
477
+ 689,
478
+ 741
479
+ ],
480
+ "page_idx": 3
481
+ },
482
+ {
483
+ "type": "text",
484
+ "text": "where $\\Theta = \\{ \\theta _ { 1 } ^ { ( k ) } , \\dots , \\theta _ { | \\mathcal { A } | } ^ { ( k ) } \\} _ { k }$ , ${ \\boldsymbol { \\theta } _ { B } ^ { ( k ) } \\in \\mathbb { R } ^ { d _ { k } \\times d _ { k + 1 } } }$ , are trainable parameters and $\\rho ( \\cdot )$ is a point-wise non-linearity, chosen in this work to be a ‘leaky’ ReLU et al. (2015). ",
485
+ "bbox": [
486
+ 174,
487
+ 747,
488
+ 823,
489
+ 782
490
+ ],
491
+ "page_idx": 3
492
+ },
493
+ {
494
+ "type": "text",
495
+ "text": "Authors have explored several modeling variants from this basic formulation, by replacing the pointwise nonlinearity with gating operations Duvenaud et al. (2015), or by generalizing the generator family to Laplacian polynomials Defferrard et al. (2016); Kipf & Welling (2016); Bruna et al. (2013), or including $2 ^ { J }$ -th powers of $A$ to $\\mathcal { A }$ , $A _ { J } = \\operatorname* { m i n } ( 1 , A ^ { 2 ^ { J } } )$ to encode $2 ^ { J }$ -hop neighborhoods of each node Bruna & Li (2017). Cascaded operations in the form (2) are able to approximate a wide range of graph inference tasks. In particular, inspired by message-passing algorithms, Kearnes et al. (2016); Gilmer et al. (2017) generalized the GNN to also learn edge features $\\tilde { A } ^ { ( k ) }$ from the current node hidden representation: ",
496
+ "bbox": [
497
+ 173,
498
+ 787,
499
+ 825,
500
+ 905
501
+ ],
502
+ "page_idx": 3
503
+ },
504
+ {
505
+ "type": "equation",
506
+ "img_path": "images/cc6bdd9a79e888cec2779fcde6829e785bdd9cb8bba883bcf8aa54d996d7e1a7.jpg",
507
+ "text": "$$\n\\tilde { A } _ { i , j } ^ { ( k ) } = \\varphi _ { \\tilde { \\theta } } ( \\mathbf { x } _ { i } ^ { ( k ) } , \\mathbf { x } _ { j } ^ { ( k ) } ) ,\n$$",
508
+ "text_format": "latex",
509
+ "bbox": [
510
+ 419,
511
+ 905,
512
+ 576,
513
+ 928
514
+ ],
515
+ "page_idx": 3
516
+ },
517
+ {
518
+ "type": "image",
519
+ "img_path": "images/eaf603a5e43c20546d0f231615b6e5b563d4f466336efd2d591400e51e0ef5d6.jpg",
520
+ "image_caption": [
521
+ "Figure 2: Graph Neural Network ilustration. The Adjacency matrix is computed before every Convolutional Layer. "
522
+ ],
523
+ "image_footnote": [],
524
+ "bbox": [
525
+ 230,
526
+ 104,
527
+ 772,
528
+ 262
529
+ ],
530
+ "page_idx": 4
531
+ },
532
+ {
533
+ "type": "text",
534
+ "text": "where $\\varphi$ is a symmetric function parametrized with e.g. a neural network. In this work, we consider a Multilayer Perceptron stacked after the absolute difference between two vector nodes. See eq. 4: ",
535
+ "bbox": [
536
+ 174,
537
+ 337,
538
+ 823,
539
+ 366
540
+ ],
541
+ "page_idx": 4
542
+ },
543
+ {
544
+ "type": "equation",
545
+ "img_path": "images/ef65374236211bf46446281a1608a844d5591b2b870029d8192e31a1323f5c4d.jpg",
546
+ "text": "$$\n\\varphi _ { \\tilde { \\theta } } ( \\mathbf { x } _ { i } ^ { ( k ) } , \\mathbf { x } _ { j } ^ { ( k ) } ) = \\mathbf { M L P } _ { \\tilde { \\theta } } ( a b s ( \\mathbf { x } _ { i } ^ { ( k ) } - \\mathbf { x } _ { j } ^ { ( k ) } ) )\n$$",
547
+ "text_format": "latex",
548
+ "bbox": [
549
+ 356,
550
+ 373,
551
+ 642,
552
+ 397
553
+ ],
554
+ "page_idx": 4
555
+ },
556
+ {
557
+ "type": "text",
558
+ "text": "Then $\\varphi$ is a metric, which is learned by doing a non-linear combination of the absolute difference between the individual features of two nodes. Using this architecture the distance property Symmetry $\\varphi _ { \\tilde { \\theta } } ( a , b ) = \\varphi _ { \\tilde { \\theta } } ( b , a )$ is fulfilled by construction and the distance property Identity $\\varphi _ { \\tilde { \\theta } } ( a , a ) = 0$ is easily learned. ",
559
+ "bbox": [
560
+ 173,
561
+ 409,
562
+ 825,
563
+ 467
564
+ ],
565
+ "page_idx": 4
566
+ },
567
+ {
568
+ "type": "text",
569
+ "text": "The trainable adjacency is then normalized to a stochastic kernel by using a softmax along each row. The resulting update rules for node features are obtained by adding the edge feature kernel $\\tilde { A } ^ { ( k ) }$ into the generator family $\\mathcal { A } = \\{ \\tilde { A } ^ { ( k ) } , \\mathbf { 1 } \\}$ and applying (2). Adjacency learning is particularly important in applications where the input set is believed to have some geometric structure, but the metric is not known a priori, such as is our case. ",
570
+ "bbox": [
571
+ 173,
572
+ 472,
573
+ 825,
574
+ 546
575
+ ],
576
+ "page_idx": 4
577
+ },
578
+ {
579
+ "type": "text",
580
+ "text": "In general graphs, the network depth is chosen to be of the order of the graph diameter, so that all nodes obtain information from the entire graph. In our context, however, since the graph is densely connected, the depth is interpreted simply as giving the model more expressive power. ",
581
+ "bbox": [
582
+ 174,
583
+ 553,
584
+ 823,
585
+ 597
586
+ ],
587
+ "page_idx": 4
588
+ },
589
+ {
590
+ "type": "text",
591
+ "text": "Construction of Initial Node Features The input collection $\\tau$ is mapped into node features as follows. For images $x _ { i } \\in \\mathcal T$ with known label $l _ { i }$ , the one-hot encoding of the label is concatenated with the embedding features of the image at the input of the GNN. ",
592
+ "bbox": [
593
+ 173,
594
+ 611,
595
+ 825,
596
+ 654
597
+ ],
598
+ "page_idx": 4
599
+ },
600
+ {
601
+ "type": "equation",
602
+ "img_path": "images/99e2458e560218a143c89603c764c8d7b9d362faf6930c265b4724de6b205482.jpg",
603
+ "text": "$$\n\\mathbf { x } _ { i } ^ { ( 0 ) } = \\left( \\phi ( { x } _ { i } ) , h ( l _ { i } ) \\right) ,\n$$",
604
+ "text_format": "latex",
605
+ "bbox": [
606
+ 423,
607
+ 661,
608
+ 573,
609
+ 684
610
+ ],
611
+ "page_idx": 4
612
+ },
613
+ {
614
+ "type": "text",
615
+ "text": "where $\\phi$ is a Convolutional neural network and $h ( l ) \\ \\in \\ \\mathbb { R } _ { + } ^ { K }$ is a one-hot encoding of the label. Architectural details for $\\phi$ are detailed in Section 6.1.1 and 6.1.2. For images $\\tilde { x } _ { j } , \\bar { x } _ { j ^ { \\prime } }$ with unknown label $l _ { i }$ , we modify the previous construction to account for full uncertainty about the label variable by replacing $h ( l )$ with the uniform distribution over the $K$ -simplex: $V _ { j } \\doteq ( \\phi ( \\tilde { x } _ { j } ) , K ^ { - 1 } \\mathbf { 1 } _ { K } )$ , and analogously for $\\bar { x }$ . ",
616
+ "bbox": [
617
+ 173,
618
+ 691,
619
+ 825,
620
+ 762
621
+ ],
622
+ "page_idx": 4
623
+ },
624
+ {
625
+ "type": "text",
626
+ "text": "4.3 RELATIONSHIP WITH EXISTING MODELS ",
627
+ "text_level": 1,
628
+ "bbox": [
629
+ 176,
630
+ 780,
631
+ 498,
632
+ 795
633
+ ],
634
+ "page_idx": 4
635
+ },
636
+ {
637
+ "type": "text",
638
+ "text": "The graph neural network formulation of few-shot learning generalizes a number of recent models proposed in the literature. ",
639
+ "bbox": [
640
+ 174,
641
+ 806,
642
+ 823,
643
+ 835
644
+ ],
645
+ "page_idx": 4
646
+ },
647
+ {
648
+ "type": "text",
649
+ "text": "Siamese Networks Siamese Networks Koch et al. (2015) can be interpreted as a single layer message-passing iteration of our model, and using the same initial node embedding (5) $\\mathbf { x } _ { i } ^ { ( 0 ) } =$ $( \\phi ( x _ { i } ) , h _ { i } )$ , using a non-trainable edge feature ",
650
+ "bbox": [
651
+ 173,
652
+ 852,
653
+ 825,
654
+ 898
655
+ ],
656
+ "page_idx": 4
657
+ },
658
+ {
659
+ "type": "equation",
660
+ "img_path": "images/ab10bd7c8353d73117caf2f121585d3517f677e117a02a0454fce76ec74734b7.jpg",
661
+ "text": "$$\n\\varphi ( \\mathbf { x } _ { i } , \\mathbf { x } _ { j } ) = \\lVert \\phi ( x _ { i } ) - \\phi ( x _ { j } ) \\rVert , \\tilde { A } ^ { ( 0 ) } = \\mathrm { s o f t m a x } ( - \\varphi ) ,\n$$",
662
+ "text_format": "latex",
663
+ "bbox": [
664
+ 316,
665
+ 905,
666
+ 679,
667
+ 926
668
+ ],
669
+ "page_idx": 4
670
+ },
671
+ {
672
+ "type": "text",
673
+ "text": "and resulting label estimation ",
674
+ "bbox": [
675
+ 174,
676
+ 103,
677
+ 369,
678
+ 117
679
+ ],
680
+ "page_idx": 5
681
+ },
682
+ {
683
+ "type": "equation",
684
+ "img_path": "images/45a0b8c0818749112a68034fbdcf436895950d17b56b4df930c9cdd0156b32a2.jpg",
685
+ "text": "$$\n\\hat { Y } _ { * } = \\sum _ { j } \\tilde { A } _ { * , j } ^ { ( 0 ) } \\langle \\mathbf { x } _ { j } ^ { ( 0 ) } , u \\rangle ,\n$$",
686
+ "text_format": "latex",
687
+ "bbox": [
688
+ 416,
689
+ 116,
690
+ 578,
691
+ 151
692
+ ],
693
+ "page_idx": 5
694
+ },
695
+ {
696
+ "type": "text",
697
+ "text": "with $u$ selecting the label field from $\\mathbf { x }$ . In this model, the learning is reduced to learning image embeddings $\\phi ( x _ { i } )$ whose euclidean metric is consistent with the label similarities. ",
698
+ "bbox": [
699
+ 169,
700
+ 154,
701
+ 825,
702
+ 183
703
+ ],
704
+ "page_idx": 5
705
+ },
706
+ {
707
+ "type": "text",
708
+ "text": "Prototypical Networks Prototypical networks Snell et al. (2017) evolve Siamese networks by aggregating information within each cluster determined by nodes with the same label. This operation can also be accomplished with a gnn as follows. we consider ",
709
+ "bbox": [
710
+ 173,
711
+ 196,
712
+ 825,
713
+ 239
714
+ ],
715
+ "page_idx": 5
716
+ },
717
+ {
718
+ "type": "equation",
719
+ "img_path": "images/76da29a1ded497e4cc71bf7e60ec7f846e5e02a900a476403dd975fde3fe84a1.jpg",
720
+ "text": "$$\n\\tilde { A } _ { i , j } ^ { ( 0 ) } = \\left\\{ \\begin{array} { c c } { q ^ { - 1 } } & { \\mathrm { i f } l _ { i } = l _ { j } } \\\\ { 0 } & { \\mathrm { o t h e r w i s e . } } \\end{array} \\right.\n$$",
721
+ "text_format": "latex",
722
+ "bbox": [
723
+ 401,
724
+ 244,
725
+ 586,
726
+ 280
727
+ ],
728
+ "page_idx": 5
729
+ },
730
+ {
731
+ "type": "text",
732
+ "text": "where $q$ is the number of examples per class, and ",
733
+ "bbox": [
734
+ 176,
735
+ 285,
736
+ 496,
737
+ 300
738
+ ],
739
+ "page_idx": 5
740
+ },
741
+ {
742
+ "type": "equation",
743
+ "img_path": "images/1749c665207ae427297a74a5058fad81c6fb233bc84b87bbf9a15f13b11663a5.jpg",
744
+ "text": "$$\n\\mathbf { x } _ { i } ^ { ( 1 ) } = \\sum _ { j } \\tilde { A } _ { i , j } ^ { ( 0 ) } \\mathbf { x } _ { j } ^ { ( 0 ) } ,\n$$",
745
+ "text_format": "latex",
746
+ "bbox": [
747
+ 426,
748
+ 306,
749
+ 570,
750
+ 342
751
+ ],
752
+ "page_idx": 5
753
+ },
754
+ {
755
+ "type": "text",
756
+ "text": "where $\\mathbf { x } ^ { ( 0 ) }$ is defined as in the Siamese Networks. We finally apply the previous kernel $\\tilde { A } ^ { ( 1 ) } =$ softmax $\\left( \\varphi \\right)$ applied to $\\mathbf { x } ^ { ( 1 ) }$ to yield class prototypes: ",
757
+ "bbox": [
758
+ 174,
759
+ 349,
760
+ 823,
761
+ 381
762
+ ],
763
+ "page_idx": 5
764
+ },
765
+ {
766
+ "type": "equation",
767
+ "img_path": "images/02c12048be4d1cd58794d6d6ea2e8f782217110e95ea6dd7e4bb1bc95385ad18.jpg",
768
+ "text": "$$\n\\hat { Y } _ { * } = \\sum _ { j } \\tilde { A } _ { * , j } ^ { ( 1 ) } \\langle \\mathbf { x } _ { j } ^ { ( 1 ) } , u \\rangle .\n$$",
769
+ "text_format": "latex",
770
+ "bbox": [
771
+ 416,
772
+ 386,
773
+ 581,
774
+ 422
775
+ ],
776
+ "page_idx": 5
777
+ },
778
+ {
779
+ "type": "text",
780
+ "text": "Matching Networks Matching networks Vinyals et al. (2016) use a set representation for the ensemble of images in $\\tau$ , similarly as our proposed graph neural network model, but with two important differences. First, the attention mechanism considered in this set representation is akin to the edge feature learning, with the difference that the mechanism attends always to the same node embeddings, as opposed to our stacked adjacency learning, which is closer to Vaswani et al. (2017). In other words, instead of the attention kernel in (3), matching networks consider attention mechanisms of the form A˜(k)∗,j $\\tilde { A } _ { * , j } ^ { ( k ) } = \\varphi ( \\mathbf { x } _ { * } ^ { ( k ) } , \\mathbf { x } _ { j } ^ { ( T ) } )$ , where $\\underset { - } { \\mathbf { x } _ { j } ^ { ( T ) } }$ is the encoding function for the elements of the support set, obtained with bidirectional LSTMs. In that case, the support set encoding is thus computed independently of the target image. Second, the label and image fields are treated separately throughout the model, with a final step that aggregates linearly the labels using a trained kernel. This may prevent the model to leverage complex dependencies between labels and images at intermediate stages. ",
781
+ "bbox": [
782
+ 173,
783
+ 434,
784
+ 825,
785
+ 606
786
+ ],
787
+ "page_idx": 5
788
+ },
789
+ {
790
+ "type": "text",
791
+ "text": "5 TRAINING ",
792
+ "text_level": 1,
793
+ "bbox": [
794
+ 174,
795
+ 626,
796
+ 292,
797
+ 642
798
+ ],
799
+ "page_idx": 5
800
+ },
801
+ {
802
+ "type": "text",
803
+ "text": "We describe next how to train the parameters of the GNN in the different setups we consider: fewshot learning, semi-supervised learning and active learning. ",
804
+ "bbox": [
805
+ 174,
806
+ 656,
807
+ 821,
808
+ 685
809
+ ],
810
+ "page_idx": 5
811
+ },
812
+ {
813
+ "type": "text",
814
+ "text": "5.1 FEW-SHOT AND SEMI-SUPERVISED LEARNING ",
815
+ "text_level": 1,
816
+ "bbox": [
817
+ 173,
818
+ 702,
819
+ 539,
820
+ 717
821
+ ],
822
+ "page_idx": 5
823
+ },
824
+ {
825
+ "type": "text",
826
+ "text": "In this setup, the model is asked only to predict the label $Y$ corresponding to the image to classify $\\bar { x } \\in \\tau$ , associated with node $^ *$ in the graph. The final layer of the GNN is thus a softmax mapping the node features to the $K$ -simplex. We then consider the Cross-entropy loss evaluated at node $^ *$ : ",
827
+ "bbox": [
828
+ 174,
829
+ 728,
830
+ 823,
831
+ 771
832
+ ],
833
+ "page_idx": 5
834
+ },
835
+ {
836
+ "type": "equation",
837
+ "img_path": "images/2e2ce54c630a1a436ab7b51bc8ef3a665fb3bf509061d4d219b7fe5b680c0798.jpg",
838
+ "text": "$$\n\\ell ( \\Phi ( \\mathcal { T } ; \\Theta ) , Y ) = - \\sum _ { k } y _ { k } \\log P ( Y _ { * } = y _ { k } \\mid \\mathcal { T } ) .\n$$",
839
+ "text_format": "latex",
840
+ "bbox": [
841
+ 336,
842
+ 776,
843
+ 658,
844
+ 810
845
+ ],
846
+ "page_idx": 5
847
+ },
848
+ {
849
+ "type": "text",
850
+ "text": "The semi-supervised setting is trained identically — the only difference is that the initial label fields of the node will be filled with the uniform distribution on nodes corresponding to $\\tilde { x } _ { j }$ . ",
851
+ "bbox": [
852
+ 173,
853
+ 824,
854
+ 825,
855
+ 853
856
+ ],
857
+ "page_idx": 5
858
+ },
859
+ {
860
+ "type": "text",
861
+ "text": "5.2 ACTIVE LEARNING ",
862
+ "text_level": 1,
863
+ "bbox": [
864
+ 174,
865
+ 869,
866
+ 348,
867
+ 883
868
+ ],
869
+ "page_idx": 5
870
+ },
871
+ {
872
+ "type": "text",
873
+ "text": "In the Active Learning setup, the model has the intrinsic ability to query for one of the labels from $\\{ \\tilde { x } _ { 1 } , \\ldots , \\tilde { x } _ { r } \\}$ . The network will learn to ask for the most informative label in order to classify the sample $\\bar { x } \\in \\mathcal { T }$ . The querying is done after the first layer of the GNN by using a Softmax attention over the unlabeled nodes of the graph. For this we apply a function $g ( \\mathbf { x } _ { i } ^ { ( 1 ) } ) \\in \\mathbb { R } ^ { 1 }$ that maps each unlabeled vector node to a scalar value. Function $g$ is parametrized by a two layers neural network. A Softmax is applied over the $\\{ 1 , \\ldots , r \\}$ scalar values obtained after applying $g$ : ",
874
+ "bbox": [
875
+ 174,
876
+ 895,
877
+ 825,
878
+ 924
879
+ ],
880
+ "page_idx": 5
881
+ },
882
+ {
883
+ "type": "text",
884
+ "text": "",
885
+ "bbox": [
886
+ 174,
887
+ 102,
888
+ 825,
889
+ 164
890
+ ],
891
+ "page_idx": 6
892
+ },
893
+ {
894
+ "type": "equation",
895
+ "img_path": "images/40956d2404fba285f4050d0797270ebf4e608119e957200ba8e13de641ac4836.jpg",
896
+ "text": "$$\n\\mathrm { A t t e n t i o n } = \\mathrm { S o f t m a x } ( g ( \\mathbf { x } _ { \\{ 1 , \\dots , r \\} } ^ { ( 1 ) } ) )\n$$",
897
+ "text_format": "latex",
898
+ "bbox": [
899
+ 380,
900
+ 169,
901
+ 614,
902
+ 194
903
+ ],
904
+ "page_idx": 6
905
+ },
906
+ {
907
+ "type": "text",
908
+ "text": "In order to query only one sample, we set all elements from the $A t t e n t i o n \\in \\mathbb { R } ^ { r }$ vector to 0 except for one. At test time we keep the maximum value, at train time we randomly sample one value based on its multinomial probability. Then we multiply this sampled attention by the label vectors: ",
909
+ "bbox": [
910
+ 173,
911
+ 205,
912
+ 825,
913
+ 250
914
+ ],
915
+ "page_idx": 6
916
+ },
917
+ {
918
+ "type": "equation",
919
+ "img_path": "images/28a8495332a2a041232a49fbbff9d86801681cbfb4d03b028c7e9c128b1f5bb5.jpg",
920
+ "text": "$$\nw \\cdot h ( l _ { i ^ { * } } ) = \\langle \\mathrm { A t t e n t i o n } ^ { \\prime } , h ( l _ { \\{ 1 , \\dots , r \\} } ) \\rangle\n$$",
921
+ "text_format": "latex",
922
+ "bbox": [
923
+ 375,
924
+ 253,
925
+ 622,
926
+ 273
927
+ ],
928
+ "page_idx": 6
929
+ },
930
+ {
931
+ "type": "text",
932
+ "text": "The label of the queried vector $h ( l _ { i ^ { * } } )$ is obtained, scaled by the weight $w \\in ( 0 , 1 )$ . This value is then summed to the current representation $\\mathbf { x } _ { i ^ { * } } ^ { ( 1 ) }$ , since we are using dense connections in our GNN model we can sum this $w \\cdot h ( l _ { i ^ { * } } )$ value directly to where the uniform label distribution was concatenated ",
933
+ "bbox": [
934
+ 174,
935
+ 286,
936
+ 825,
937
+ 333
938
+ ],
939
+ "page_idx": 6
940
+ },
941
+ {
942
+ "type": "equation",
943
+ "img_path": "images/875911c465b5db3c2e3f9b2e38d0b3b1a30909ecc266b76f3a9a1cbeb36f297e.jpg",
944
+ "text": "$$\n\\mathbf { x } _ { i ^ { * } } ^ { ( 1 ) } = [ \\mathbf { G c } ( \\mathbf { x } _ { i ^ { * } } ^ { ( 0 ) } ) , \\mathbf { x } _ { i ^ { * } } ^ { ( 0 ) } ] = [ \\mathbf { G c } ( \\mathbf { x } _ { i ^ { * } } ^ { ( 0 ) } ) , ( \\phi ( x _ { i ^ { * } } ) , h ( l _ { i ^ { * } } ) ) ]\n$$",
945
+ "text_format": "latex",
946
+ "bbox": [
947
+ 320,
948
+ 339,
949
+ 678,
950
+ 361
951
+ ],
952
+ "page_idx": 6
953
+ },
954
+ {
955
+ "type": "text",
956
+ "text": "After the label has been summed to the current node, the information is forward propagated. This attention part is trained end-to-end with the rest of the network by backpropagating the loss from the output of the GNN. ",
957
+ "bbox": [
958
+ 174,
959
+ 373,
960
+ 825,
961
+ 415
962
+ ],
963
+ "page_idx": 6
964
+ },
965
+ {
966
+ "type": "text",
967
+ "text": "6 EXPERIMENTS ",
968
+ "text_level": 1,
969
+ "bbox": [
970
+ 174,
971
+ 435,
972
+ 326,
973
+ 452
974
+ ],
975
+ "page_idx": 6
976
+ },
977
+ {
978
+ "type": "text",
979
+ "text": "For the few-shot, semi-supervised and active learning experiments we used the Omniglot dataset presented by Lake et al. (2015) and Mini-Imagenet dataset introduced by Vinyals et al. (2016) which is a small version of ILSVRC-12 Krizhevsky et al. (2012). All experiments are based on the $q$ -shot, $K$ -way setting. For all experiments we used the same values $q$ -shot and $K$ -way for both training and testing. ",
980
+ "bbox": [
981
+ 173,
982
+ 467,
983
+ 825,
984
+ 537
985
+ ],
986
+ "page_idx": 6
987
+ },
988
+ {
989
+ "type": "text",
990
+ "text": "Code available at: https://github.com/vgsatorras/few-shot-gnn ",
991
+ "bbox": [
992
+ 174,
993
+ 540,
994
+ 549,
995
+ 550
996
+ ],
997
+ "page_idx": 6
998
+ },
999
+ {
1000
+ "type": "text",
1001
+ "text": "6.1 DATASETS AND IMPLEMENTATION ",
1002
+ "text_level": 1,
1003
+ "bbox": [
1004
+ 176,
1005
+ 568,
1006
+ 450,
1007
+ 582
1008
+ ],
1009
+ "page_idx": 6
1010
+ },
1011
+ {
1012
+ "type": "text",
1013
+ "text": "6.1.1 OMNIGLOT ",
1014
+ "text_level": 1,
1015
+ "bbox": [
1016
+ 174,
1017
+ 593,
1018
+ 307,
1019
+ 608
1020
+ ],
1021
+ "page_idx": 6
1022
+ },
1023
+ {
1024
+ "type": "text",
1025
+ "text": "Dataset: Omniglot is a dataset of 1623 characters from 50 different alphabets, each character/class has been drawn by 20 different people. Following Vinyals et al. (2016) implementation we split the dataset into 1200 classes for training and the remaining 423 for testing. We augmented the dataset by multiples of 90 degrees as proposed by Santoro et al. (2016). ",
1026
+ "bbox": [
1027
+ 173,
1028
+ 618,
1029
+ 825,
1030
+ 674
1031
+ ],
1032
+ "page_idx": 6
1033
+ },
1034
+ {
1035
+ "type": "text",
1036
+ "text": "Architectures: Inspired by the embedding architecture from Vinyals et al. (2016), following Mishra et al. (2017), a CNN was used as an embedding $\\phi$ function consisting of four stacked blocks of $\\{ 3 \\times 3$ -convolutional layer with 64 filters, batch-normalization, $2 \\times 2$ max-pooling, leaky-relu} the output is passed through a fully connected layer resulting in a 64-dimensional embedding. For the GNN we used 3 blocks each of them composed by 1) a module that computes the adjacency matrix and 2) a graph convolutional layer. A more detailed description of each block can be found at Figure 3. ",
1037
+ "bbox": [
1038
+ 174,
1039
+ 689,
1040
+ 825,
1041
+ 786
1042
+ ],
1043
+ "page_idx": 6
1044
+ },
1045
+ {
1046
+ "type": "text",
1047
+ "text": "6.1.2 MINI-IMAGENET ",
1048
+ "text_level": 1,
1049
+ "bbox": [
1050
+ 174,
1051
+ 801,
1052
+ 346,
1053
+ 815
1054
+ ],
1055
+ "page_idx": 6
1056
+ },
1057
+ {
1058
+ "type": "text",
1059
+ "text": "Dataset: Mini-Imagenet is a more challenging dataset for one-shot learning proposed by Vinyals et al. (2016) derived from the original ILSVRC-12 dataset Krizhevsky et al. (2012). It consists of $8 4 \\times 8 4$ RGB images from 100 different classes with 600 samples per class. It was created with the purpose of increasing the complexity for one-shot tasks while keeping the simplicity of a light size dataset, that makes it suitable for fast prototyping. We used the splits proposed by Ravi & Larochelle (2016) of 64 classes for training, 16 for validation and 20 for testing. Using 64 classes for training, and the 16 validation classes only for early stopping and parameter tuning. ",
1060
+ "bbox": [
1061
+ 173,
1062
+ 825,
1063
+ 825,
1064
+ 924
1065
+ ],
1066
+ "page_idx": 6
1067
+ },
1068
+ {
1069
+ "type": "text",
1070
+ "text": "Architecture: The embedding architecture used for Mini-Imagenet is formed by 4 convolutional layers followed by a fully-connected layer resulting in a 128 dimensional embedding. This light architecture is useful for fast prototyping: ",
1071
+ "bbox": [
1072
+ 173,
1073
+ 103,
1074
+ 823,
1075
+ 146
1076
+ ],
1077
+ "page_idx": 7
1078
+ },
1079
+ {
1080
+ "type": "text",
1081
+ "text": "$1 \\times \\{ 3 \\times 3$ -conv. layer (64 filters), batch normalization, max pool $( 2 , 2 )$ , leaky relu $\\}$ , $1 \\times \\{ 3 \\times 3$ -conv. layer (96 filters), batch normalization, max $\\mathrm { p o o l } ( 2 , 2 )$ , leaky relu}, $1 \\times \\{ 3 \\times 3$ -conv. layer (128 filters), batch normalization, max $\\mathrm { p o o l } ( 2 , 2 )$ , leaky relu, dropout $\\left( 0 . 5 \\right) \\}$ , $1 \\times \\{ 3 \\times 3$ -conv. layer (256 filters), batch normalization, max $\\mathrm { p o o l } ( 2 , 2 )$ , leaky relu, dropout $\\left( 0 . 5 \\right) \\}$ , $1 \\times \\left\\{ \\begin{array} { r l } \\end{array} \\right.$ fc-layer (128 filters), batch normalization}. ",
1082
+ "bbox": [
1083
+ 173,
1084
+ 146,
1085
+ 818,
1086
+ 215
1087
+ ],
1088
+ "page_idx": 7
1089
+ },
1090
+ {
1091
+ "type": "text",
1092
+ "text": "The two dropout layers are useful to avoid overfitting the GNN in Mini-Imagenet dataset. The GNN architecture is similar than for Omniglot, it is formed by 3 blocks, each block is described at Figure 3. ",
1093
+ "bbox": [
1094
+ 173,
1095
+ 215,
1096
+ 825,
1097
+ 256
1098
+ ],
1099
+ "page_idx": 7
1100
+ },
1101
+ {
1102
+ "type": "text",
1103
+ "text": "6.2 FEW-SHOT ",
1104
+ "text_level": 1,
1105
+ "bbox": [
1106
+ 174,
1107
+ 284,
1108
+ 290,
1109
+ 297
1110
+ ],
1111
+ "page_idx": 7
1112
+ },
1113
+ {
1114
+ "type": "text",
1115
+ "text": "Few-shot learning experiments for Omniglot and Mini-Imagenet are presented at Table 1 and Table 2 respectively. ",
1116
+ "bbox": [
1117
+ 176,
1118
+ 315,
1119
+ 823,
1120
+ 343
1121
+ ],
1122
+ "page_idx": 7
1123
+ },
1124
+ {
1125
+ "type": "text",
1126
+ "text": "We evaluate our model by performing different ${ \\bf q }$ -shot, K-way experiments on both datasets. For every few-shot task $\\tau$ , we sample $K$ random classes from the dataset, and from each class we sample $q$ random samples. An extra sample to classify is chosen from one of that $K$ classes. ",
1127
+ "bbox": [
1128
+ 174,
1129
+ 351,
1130
+ 825,
1131
+ 392
1132
+ ],
1133
+ "page_idx": 7
1134
+ },
1135
+ {
1136
+ "type": "text",
1137
+ "text": "Omniglot: The GNN method is providing competitive results while still remaining simpler than other methods. State of the art results are reached in the 5-Way and 20-way 1-shot experiments. In the 20-Way 1-shot setting the GNN is providing slightly better results than Munkhdalai & Yu (2017) while still being a more simple approach. The TCML approach from Mishra et al. (2017) is in the same confidence interval for 3 out of 4 experiments, but it is slightly better for the 20-Way 5-shot, although the number of parameters is reduced from ${ \\sim } 5 \\mathbf { M }$ (TCML) to $\\sim 3 0 0 \\mathrm { K }$ (3 layers GNN). ",
1138
+ "bbox": [
1139
+ 173,
1140
+ 398,
1141
+ 825,
1142
+ 483
1143
+ ],
1144
+ "page_idx": 7
1145
+ },
1146
+ {
1147
+ "type": "text",
1148
+ "text": "At Mini-Imagenet table we are also presenting a baseline ”Our metric learning $\\mathbf { \\chi } + K N N ^ { \\prime }$ where no information has been aggregated among nodes, it is a K-nearest neighbors applied on top of the pair-wise learnable metric $\\bar { \\varphi _ { \\theta } } ( \\mathbf { x } _ { i } ^ { ( 0 ) } , \\mathbf { x } _ { j } ^ { ( 0 ) } )$ and trained end-to-end, this learnable metric is competitive by itself compared to other state of the art methods. Even so, a significant improvement (from $6 4 . 0 2 \\%$ to $6 6 . 4 1 \\%$ ) can be seen for the 5-shot 5-Way Mini-Imagenet setting when aggregating information among nodes by using the full GNN architecture. A variety of embedding functions $\\phi$ are used among the different papers for Mini-Imagenet experiments, in our case we are using a simple network of 4 conv. layers followed by a fully connected layer (Section 6.1.2) which served us to compare between Our GNN and Our metric learning $+ ~ K N N$ and it is useful for fast prototyping. More complex embeddings have proven to produce better results, at Mishra et al. (2017) a deep residual network is used as embedding network $\\phi$ increasing the accuracy considerably. Regarding the TCML architecture in Mini-Imagenet, the number of parameters is reduced from ${ \\sim } 1 1 \\mathbf { M }$ (TCML) to ${ \\sim } 4 0 0 \\mathrm { K }$ (3 layers GNN). ",
1149
+ "bbox": [
1150
+ 173,
1151
+ 489,
1152
+ 825,
1153
+ 674
1154
+ ],
1155
+ "page_idx": 7
1156
+ },
1157
+ {
1158
+ "type": "table",
1159
+ "img_path": "images/87222dd54ce9d6c0992f4598f628dae14178d75f83063faf9b2d9855f3039239.jpg",
1160
+ "table_caption": [],
1161
+ "table_footnote": [
1162
+ "Table 1: Few-Shot Learning — Omniglot accuracies. Siamese Net results are extracted from Vinyals et al. (2016) reimplementation. "
1163
+ ],
1164
+ "table_body": "<table><tr><td rowspan=\"2\"></td><td colspan=\"2\"> 5-Way</td><td colspan=\"2\">20-Way</td></tr><tr><td>1-shot</td><td>5-shot</td><td>1-shot</td><td>5-shot</td></tr><tr><td>Model Pixels Vinyals et al. (2016)</td><td>41.7%</td><td>63.2%</td><td>26.7%</td><td>42.6%</td></tr><tr><td>Siamese Net Koch et al. (2015)</td><td>97.3%</td><td>98.4%</td><td>88.2%</td><td>97.0%</td></tr><tr><td>Matching Networks Vinyals et al. (2016)</td><td>98.1%</td><td>98.9%</td><td>93.8%</td><td>98.5%</td></tr><tr><td>N.Statistician Edwards &amp; Storkey (2016)</td><td>98.1%</td><td>99.5%</td><td>93.2%</td><td>98.1%</td></tr><tr><td>Res.Pair-Wise Mehrotra &amp; Dukkipati (2017)</td><td>-</td><td>-</td><td>94.8%</td><td>-</td></tr><tr><td>Prototypical Networks Snellet al. (2017)</td><td>97.4%</td><td>99.3%</td><td>95.4%</td><td>98.8%</td></tr><tr><td>ConvNet with Memory Kaiser et al. (2017)</td><td>98.4%</td><td>99.6%</td><td>95.0%</td><td>98.6%</td></tr><tr><td>Agnostic Meta-learner Finn et al. (2017)</td><td>98.7 ±0.4%</td><td>99.9 ±0.3%</td><td>95.8 ±0.3%</td><td>98.9 ±0.2%</td></tr><tr><td>MetaNetworks Munkhdalai&amp; Yu (2017)</td><td>98.9%</td><td>=</td><td>97.0%</td><td></td></tr><tr><td>TCML Mishra et al. (2017)</td><td></td><td>98.96% ±0.20% 99.75% ±0.11% 97.64% ±0.30% 99.36% ±0.18%</td><td></td><td></td></tr><tr><td>Our GNN</td><td>99.2%</td><td>99.7%</td><td>97.4%</td><td>99.0%</td></tr></table>",
1165
+ "bbox": [
1166
+ 161,
1167
+ 696,
1168
+ 838,
1169
+ 864
1170
+ ],
1171
+ "page_idx": 7
1172
+ },
1173
+ {
1174
+ "type": "table",
1175
+ "img_path": "images/cba769c07ae71a49cc6a64b78741abbfb4f2c82cc84c69985d7b84ccd1f297f2.jpg",
1176
+ "table_caption": [
1177
+ "Table 2: Few-shot learning — Mini-Imagenet average accuracies with $9 5 \\%$ confidence intervals. "
1178
+ ],
1179
+ "table_footnote": [],
1180
+ "table_body": "<table><tr><td rowspan=\"2\">Model</td><td colspan=\"2\">5-Way</td></tr><tr><td>1-shot</td><td>5-shot</td></tr><tr><td>Matching Networks Vinyals et al. (2016)</td><td>43.6%</td><td>55.3%</td></tr><tr><td>Prototypical Networks Snel et al. (2017)</td><td>46.61% ±0.78%</td><td>65.77% ±0.70%</td></tr><tr><td>Model Agnostic Meta-learner Finn et al. (2017)</td><td>48.70% ±1.84%</td><td>63.1% ±0.92%</td></tr><tr><td>Meta Networks Munkhdalai &amp; Yu (2017)</td><td>49.21% ±0.96</td><td></td></tr><tr><td>Ravi &amp;Larochelle Ravi &amp; Larochelle (2016)</td><td>43.4% ±0.77%</td><td>60.2% ±0.71%</td></tr><tr><td>TCML Mishra et al. (2017)</td><td>55.71% ±0.99%</td><td>68.88% ±0.92%</td></tr><tr><td>Our metric learning + KNN</td><td>49.44% ±0.28%</td><td>64.02% ±0.51%</td></tr><tr><td>Our GNN</td><td>50.33% ±0.36%</td><td>66.41% ±0.63%</td></tr></table>",
1181
+ "bbox": [
1182
+ 214,
1183
+ 99,
1184
+ 784,
1185
+ 244
1186
+ ],
1187
+ "page_idx": 8
1188
+ },
1189
+ {
1190
+ "type": "text",
1191
+ "text": "6.3 SEMI-SUPERVISED ",
1192
+ "text_level": 1,
1193
+ "bbox": [
1194
+ 174,
1195
+ 297,
1196
+ 346,
1197
+ 311
1198
+ ],
1199
+ "page_idx": 8
1200
+ },
1201
+ {
1202
+ "type": "text",
1203
+ "text": "Semi-supervised experiments are performed on the 5-way 5-shot setting. Different results are presented when $20 \\%$ and $40 \\%$ of the samples are labeled. The labeled samples are balanced among classes in all experiments, in other words, all the classes have the same amount of labeled and unlabeled samples. ",
1204
+ "bbox": [
1205
+ 174,
1206
+ 324,
1207
+ 825,
1208
+ 381
1209
+ ],
1210
+ "page_idx": 8
1211
+ },
1212
+ {
1213
+ "type": "text",
1214
+ "text": "Two strategies can be seen at Tables 3 and 4. ”GNN - Trained only with labeled” is equivalent to the supervised few-shot setting, for example, in the 5-Way 5-shot $20 \\%$ -labeled setting, this method is equivalent to the 5-way 1-shot learning setting since it is ignoring the unlabeled samples. ”GNN - Semi supervised” is the actual semi-supervised method, for example, in the 5-Way 5-shot $20 \\%$ - labeled setting, the GNN receives as input 1 labeled sample per class and 4 unlabeled samples per class. ",
1215
+ "bbox": [
1216
+ 174,
1217
+ 387,
1218
+ 825,
1219
+ 470
1220
+ ],
1221
+ "page_idx": 8
1222
+ },
1223
+ {
1224
+ "type": "text",
1225
+ "text": "Omniglot results are presented at Table 3, for this scenario we observe that the accuracy improvement is similar when adding images than when adding labels. The GNN is able to extract information from the input distribution of unlabeled samples such that only using $20 \\%$ of the labels in a 5-shot semi-supervised environment we get same results as in the $40 \\%$ supervised setting. ",
1226
+ "bbox": [
1227
+ 174,
1228
+ 478,
1229
+ 825,
1230
+ 534
1231
+ ],
1232
+ "page_idx": 8
1233
+ },
1234
+ {
1235
+ "type": "text",
1236
+ "text": "In Mini-Imagenet experiments, Table 4, we also notice an improvement when using semi-supervised data although it is not as significant as in Omniglot. The distribution of Mini-Imagenet images is more complex than for Omniglot. In spite of it, the GNN manages to improve by ${ \\sim } 2 \\%$ in the $20 \\%$ and $40 \\%$ settings. ",
1237
+ "bbox": [
1238
+ 176,
1239
+ 540,
1240
+ 823,
1241
+ 597
1242
+ ],
1243
+ "page_idx": 8
1244
+ },
1245
+ {
1246
+ "type": "table",
1247
+ "img_path": "images/7cb9005803c1ecd4a34de02934cf10c727d4ec05c336c8efed5d6deafd8aa405.jpg",
1248
+ "table_caption": [
1249
+ "Table 3: Semi-Supervised Learning — Omniglot accuracies. "
1250
+ ],
1251
+ "table_footnote": [],
1252
+ "table_body": "<table><tr><td></td><td colspan=\"3\">5-Way 5-shot</td></tr><tr><td>Model</td><td>20%-labeled</td><td>40%-labeled</td><td>100 %-labeled</td></tr><tr><td>GNN - Trained only with labeled</td><td>99.18%</td><td>99.59%</td><td>99.71%</td></tr><tr><td>GNN -Semi supervised</td><td>99.59%</td><td>99.63%</td><td>99.71%</td></tr></table>",
1253
+ "bbox": [
1254
+ 222,
1255
+ 613,
1256
+ 776,
1257
+ 667
1258
+ ],
1259
+ "page_idx": 8
1260
+ },
1261
+ {
1262
+ "type": "table",
1263
+ "img_path": "images/b223122af0b98fa76252ceec175d22e622d1c92d6afb3fab831ea8c8485f8a63.jpg",
1264
+ "table_caption": [
1265
+ "Table 4: Semi-Supervised Learning — Mini-Imagenet average accuracies with $9 5 \\%$ confidence intervals. "
1266
+ ],
1267
+ "table_footnote": [],
1268
+ "table_body": "<table><tr><td></td><td colspan=\"3\">5-Way 5-shot</td></tr><tr><td>Model</td><td>20%-labeled</td><td>40%-labeled</td><td>100 %-labeled</td></tr><tr><td>GNN - Trainedonlywithlabeled</td><td>50.33% ±0.36%</td><td>56.91% ±0.42%</td><td>66.41% ±0.63%</td></tr><tr><td>GNN - Semi supervised</td><td>52.45% ±0.88%</td><td>58.76% ±0.86%</td><td>66.41% ±0.63%</td></tr></table>",
1269
+ "bbox": [
1270
+ 197,
1271
+ 718,
1272
+ 799,
1273
+ 773
1274
+ ],
1275
+ "page_idx": 8
1276
+ },
1277
+ {
1278
+ "type": "text",
1279
+ "text": "6.4 ACTIVE LEARNING ",
1280
+ "text_level": 1,
1281
+ "bbox": [
1282
+ 176,
1283
+ 840,
1284
+ 348,
1285
+ 854
1286
+ ],
1287
+ "page_idx": 8
1288
+ },
1289
+ {
1290
+ "type": "text",
1291
+ "text": "We performed Active Learning experiments on the 5-Way 5-shot set-up when $20 \\%$ of the samples are labeled. In this scenario our network will query for the label of one sample from the unlabeled ones. The results are compared with the Random baseline where the network chooses a random sample to be labeled instead of one that maximally reduces the loss of the classification task $\\tau$ . ",
1292
+ "bbox": [
1293
+ 174,
1294
+ 867,
1295
+ 825,
1296
+ 924
1297
+ ],
1298
+ "page_idx": 8
1299
+ },
1300
+ {
1301
+ "type": "text",
1302
+ "text": "Results are shown at Table 5. The results of the GNN-Random criterion are close to the Semisupervised results for $20 \\%$ -labeled samples from Tables 3 and 4. It means that selecting one random label practically does not improve the accuracy at all. When using the GNN-AL learned criterion, we notice an improvement of $\\sim 3 . 4 \\%$ for Mini-Imagenet, it means that the GNN manages to correctly choose a more informative sample than a random one. In Omniglot the improvement is smaller since the accuracy is almost saturated and the improving margin is less. ",
1303
+ "bbox": [
1304
+ 173,
1305
+ 103,
1306
+ 825,
1307
+ 188
1308
+ ],
1309
+ "page_idx": 9
1310
+ },
1311
+ {
1312
+ "type": "table",
1313
+ "img_path": "images/af8f312e6bfe45541ec2d48eb1b22608ab823fc94a600078f07938ed0c9e2fab.jpg",
1314
+ "table_caption": [],
1315
+ "table_footnote": [],
1316
+ "table_body": "<table><tr><td>Method</td><td>5-Way 5-shot20%-labeled</td><td>Method</td><td>5-Way 5-shot 20%-labeled</td></tr><tr><td>GNN - AL</td><td>99.62%</td><td>GNN - AL</td><td>55.99% ±1.35%</td></tr><tr><td>GNN - Random</td><td>99.59%</td><td>GNN - Random</td><td>52.56% ±1.18%</td></tr></table>",
1317
+ "bbox": [
1318
+ 178,
1319
+ 202,
1320
+ 820,
1321
+ 246
1322
+ ],
1323
+ "page_idx": 9
1324
+ },
1325
+ {
1326
+ "type": "text",
1327
+ "text": "Table 5: Omniglot (left) and Mini-Imagneet (right), average accuracies are shown at both tables, the GNN-AL is the learned criterion that performs Active Learning by selecting the sample that will maximally reduce the loss of the current classification. The GNN - Random is also selecting one sample, but in this case a random one. Mini-Imagenet results are presented with $9 5 \\%$ confidence intervals. ",
1328
+ "bbox": [
1329
+ 173,
1330
+ 256,
1331
+ 825,
1332
+ 327
1333
+ ],
1334
+ "page_idx": 9
1335
+ },
1336
+ {
1337
+ "type": "text",
1338
+ "text": "7 CONCLUSIONS ",
1339
+ "text_level": 1,
1340
+ "bbox": [
1341
+ 176,
1342
+ 356,
1343
+ 328,
1344
+ 372
1345
+ ],
1346
+ "page_idx": 9
1347
+ },
1348
+ {
1349
+ "type": "text",
1350
+ "text": "This paper explored graph neural representations for few-shot, semi-supervised and active learning. From the meta-learning perspective, these tasks become supervised learning problems where the input is given by a collection or set of elements, whose relational structure can be leveraged with neural message passing models. In particular, stacked node and edge features generalize the contextual similarity learning underpinning previous few-shot learning models. ",
1351
+ "bbox": [
1352
+ 174,
1353
+ 388,
1354
+ 825,
1355
+ 458
1356
+ ],
1357
+ "page_idx": 9
1358
+ },
1359
+ {
1360
+ "type": "text",
1361
+ "text": "The graph formulation is helpful to unify several training setups (few-shot, active, semi-supervised) under the same framework, a necessary step towards the goal of having a single learner which is able to operate simultaneously in different regimes (stream of labels with few examples per class, or stream of examples with few labels). This general goal requires scaling up graph models to millions of nodes, motivating graph hierarchical and coarsening approaches Defferrard et al. (2016). ",
1362
+ "bbox": [
1363
+ 174,
1364
+ 465,
1365
+ 825,
1366
+ 535
1367
+ ],
1368
+ "page_idx": 9
1369
+ },
1370
+ {
1371
+ "type": "text",
1372
+ "text": "Another future direction is to generalize the scope of Active Learning, to include e.g. the ability to ask questions Rothe et al. (2017), or in reinforcement learning setups, where few-shot learning is critical to adapt to non-stationary environments. ",
1373
+ "bbox": [
1374
+ 176,
1375
+ 541,
1376
+ 823,
1377
+ 583
1378
+ ],
1379
+ "page_idx": 9
1380
+ },
1381
+ {
1382
+ "type": "text",
1383
+ "text": "ACKNOWLEDGMENTS ",
1384
+ "text_level": 1,
1385
+ "bbox": [
1386
+ 176,
1387
+ 603,
1388
+ 326,
1389
+ 616
1390
+ ],
1391
+ "page_idx": 9
1392
+ },
1393
+ {
1394
+ "type": "text",
1395
+ "text": "This work was partly supported by Samsung Electronics (Improving Deep Learning using Latent Structure). ",
1396
+ "bbox": [
1397
+ 174,
1398
+ 626,
1399
+ 825,
1400
+ 655
1401
+ ],
1402
+ "page_idx": 9
1403
+ },
1404
+ {
1405
+ "type": "text",
1406
+ "text": "REFERENCES ",
1407
+ "text_level": 1,
1408
+ "bbox": [
1409
+ 174,
1410
+ 678,
1411
+ 287,
1412
+ 693
1413
+ ],
1414
+ "page_idx": 9
1415
+ },
1416
+ {
1417
+ "type": "text",
1418
+ "text": "Peter Battaglia, Razvan Pascanu, Matthew Lai, Danilo Jimenez Rezende, et al. Interaction networks for learning about objects, relations and physics. In Advances in Neural Information Processing Systems, pp. 4502–4510, 2016. ",
1419
+ "bbox": [
1420
+ 176,
1421
+ 702,
1422
+ 821,
1423
+ 744
1424
+ ],
1425
+ "page_idx": 9
1426
+ },
1427
+ {
1428
+ "type": "text",
1429
+ "text": "Michael M Bronstein, Joan Bruna, Yann LeCun, Arthur Szlam, and Pierre Vandergheynst. Geometric deep learning: going beyond euclidean data. IEEE Signal Processing Magazine, 34(4):18–42, 2017. ",
1430
+ "bbox": [
1431
+ 173,
1432
+ 757,
1433
+ 825,
1434
+ 799
1435
+ ],
1436
+ "page_idx": 9
1437
+ },
1438
+ {
1439
+ "type": "text",
1440
+ "text": "Joan Bruna and Xiang Li. Community detection with graph neural networks. arXiv preprint arXiv:1705.08415, 2017. ",
1441
+ "bbox": [
1442
+ 171,
1443
+ 813,
1444
+ 823,
1445
+ 842
1446
+ ],
1447
+ "page_idx": 9
1448
+ },
1449
+ {
1450
+ "type": "text",
1451
+ "text": "Joan Bruna, Wojciech Zaremba, Arthur Szlam, and Yann LeCun. Spectral networks and locally connected networks on graphs. Proc. ICLR, 2013. ",
1452
+ "bbox": [
1453
+ 171,
1454
+ 853,
1455
+ 823,
1456
+ 883
1457
+ ],
1458
+ "page_idx": 9
1459
+ },
1460
+ {
1461
+ "type": "text",
1462
+ "text": "Michael B. Chang, Tomer Ullman, Antonio Torralba, and Joshua B. Tenenbaum. A compositional object-based approach to learning physical dynamics. ICLR, 2016. ",
1463
+ "bbox": [
1464
+ 173,
1465
+ 895,
1466
+ 821,
1467
+ 924
1468
+ ],
1469
+ "page_idx": 9
1470
+ },
1471
+ {
1472
+ "type": "text",
1473
+ "text": "Michael Defferrard, Xavier Bresson, and Pierre Vandergheynst. Convolutional neural networks¨ on graphs with fast localized spectral filtering. In Advances in Neural Information Processing Systems, pp. 3837–3845, 2016. ",
1474
+ "bbox": [
1475
+ 174,
1476
+ 103,
1477
+ 823,
1478
+ 146
1479
+ ],
1480
+ "page_idx": 10
1481
+ },
1482
+ {
1483
+ "type": "text",
1484
+ "text": "David Duvenaud, Dougal Maclaurin, Jorge Aguilera-Iparraguirre, Rafael Gomez-Bombarelli, Tim- ´ othy Hirzel, Alan Aspuru-Guzik, and Ryan P Adams. Convolutional networks on graphs for ´ learning molecular fingerprints. In Neural Information Processing Systems, 2015. ",
1485
+ "bbox": [
1486
+ 176,
1487
+ 155,
1488
+ 820,
1489
+ 198
1490
+ ],
1491
+ "page_idx": 10
1492
+ },
1493
+ {
1494
+ "type": "text",
1495
+ "text": "Harrison Edwards and Amos Storkey. Towards a neural statistician. arXiv preprint arXiv:1606.02185, 2016. ",
1496
+ "bbox": [
1497
+ 171,
1498
+ 205,
1499
+ 823,
1500
+ 234
1501
+ ],
1502
+ "page_idx": 10
1503
+ },
1504
+ {
1505
+ "type": "text",
1506
+ "text": "Li Fei-Fei, Rob Fergus, and Pietro Perona. One-shot learning of object categories. IEEE transactions on pattern analysis and machine intelligence, 28(4):594–611, 2006. ",
1507
+ "bbox": [
1508
+ 173,
1509
+ 243,
1510
+ 825,
1511
+ 272
1512
+ ],
1513
+ "page_idx": 10
1514
+ },
1515
+ {
1516
+ "type": "text",
1517
+ "text": "Chelsea Finn, Pieter Abbeel, and Sergey Levine. Model-agnostic meta-learning for fast adaptation of deep networks. arXiv preprint arXiv:1703.03400, 2017. ",
1518
+ "bbox": [
1519
+ 171,
1520
+ 281,
1521
+ 823,
1522
+ 310
1523
+ ],
1524
+ "page_idx": 10
1525
+ },
1526
+ {
1527
+ "type": "text",
1528
+ "text": "Justin Gilmer, Samuel S Schoenholz, Patrick F Riley, Oriol Vinyals, and George E Dahl. Neural message passing for quantum chemistry. arXiv preprint arXiv:1704.01212, 2017. ",
1529
+ "bbox": [
1530
+ 169,
1531
+ 318,
1532
+ 823,
1533
+ 348
1534
+ ],
1535
+ "page_idx": 10
1536
+ },
1537
+ {
1538
+ "type": "text",
1539
+ "text": "M. Gori, G. Monfardini, and F. Scarselli. A new model for learning in graph domains. In Proc. IJCNN, 2005. ",
1540
+ "bbox": [
1541
+ 173,
1542
+ 356,
1543
+ 820,
1544
+ 386
1545
+ ],
1546
+ "page_idx": 10
1547
+ },
1548
+ {
1549
+ "type": "text",
1550
+ "text": "M. Henaff, J. Bruna, and Y. LeCun. Deep convolutional networks on graph-structured data. arXiv:1506.05163, 2015. ",
1551
+ "bbox": [
1552
+ 169,
1553
+ 393,
1554
+ 823,
1555
+ 422
1556
+ ],
1557
+ "page_idx": 10
1558
+ },
1559
+ {
1560
+ "type": "text",
1561
+ "text": "Łukasz Kaiser, Ofir Nachum, Aurko Roy, and Samy Bengio. Learning to remember rare events. arXiv preprint arXiv:1703.03129, 2017. ",
1562
+ "bbox": [
1563
+ 169,
1564
+ 430,
1565
+ 821,
1566
+ 460
1567
+ ],
1568
+ "page_idx": 10
1569
+ },
1570
+ {
1571
+ "type": "text",
1572
+ "text": "Steven Kearnes, Kevin McCloskey, Marc Berndl, Vijay Pande, and Patrick Riley. Molecular graph convolutions: moving beyond fingerprints. Journal of computer-aided molecular design, 30(8): 595–608, 2016. ",
1573
+ "bbox": [
1574
+ 173,
1575
+ 468,
1576
+ 823,
1577
+ 511
1578
+ ],
1579
+ "page_idx": 10
1580
+ },
1581
+ {
1582
+ "type": "text",
1583
+ "text": "Thomas N Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. arXiv preprint arXiv:1609.02907, 2016. ",
1584
+ "bbox": [
1585
+ 173,
1586
+ 520,
1587
+ 821,
1588
+ 549
1589
+ ],
1590
+ "page_idx": 10
1591
+ },
1592
+ {
1593
+ "type": "text",
1594
+ "text": "Gregory Koch, Richard Zemel, and Ruslan Salakhutdinov. Siamese neural networks for one-shot image recognition. In ICML Deep Learning Workshop, volume 2, 2015. ",
1595
+ "bbox": [
1596
+ 173,
1597
+ 556,
1598
+ 821,
1599
+ 587
1600
+ ],
1601
+ "page_idx": 10
1602
+ },
1603
+ {
1604
+ "type": "text",
1605
+ "text": "Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In Advances in neural information processing systems, pp. 1097–1105, 2012. ",
1606
+ "bbox": [
1607
+ 174,
1608
+ 594,
1609
+ 823,
1610
+ 637
1611
+ ],
1612
+ "page_idx": 10
1613
+ },
1614
+ {
1615
+ "type": "text",
1616
+ "text": "Brenden M Lake, Ruslan Salakhutdinov, and Joshua B Tenenbaum. Human-level concept learning through probabilistic program induction. Science, 350(6266):1332–1338, 2015. ",
1617
+ "bbox": [
1618
+ 174,
1619
+ 646,
1620
+ 821,
1621
+ 675
1622
+ ],
1623
+ "page_idx": 10
1624
+ },
1625
+ {
1626
+ "type": "text",
1627
+ "text": "Yujia Li, Daniel Tarlow, Marc Brockschmidt, and Richard Zemel. Gated graph sequence neural networks. arXiv preprint arXiv:1511.05493, 2015. ",
1628
+ "bbox": [
1629
+ 174,
1630
+ 683,
1631
+ 821,
1632
+ 713
1633
+ ],
1634
+ "page_idx": 10
1635
+ },
1636
+ {
1637
+ "type": "text",
1638
+ "text": "Akshay Mehrotra and Ambedkar Dukkipati. Generative adversarial residual pairwise networks for one shot learning. arXiv preprint arXiv:1703.08033, 2017. ",
1639
+ "bbox": [
1640
+ 173,
1641
+ 720,
1642
+ 823,
1643
+ 751
1644
+ ],
1645
+ "page_idx": 10
1646
+ },
1647
+ {
1648
+ "type": "text",
1649
+ "text": "Nikhil Mishra, Mostafa Rohaninejad, Xi Chen, and Pieter Abbeel. Meta-learning with temporal convolutions. arXiv preprint arXiv:1707.03141, 2017. ",
1650
+ "bbox": [
1651
+ 174,
1652
+ 758,
1653
+ 823,
1654
+ 787
1655
+ ],
1656
+ "page_idx": 10
1657
+ },
1658
+ {
1659
+ "type": "text",
1660
+ "text": "Tsendsuren Munkhdalai and Hong Yu. Meta networks. arXiv preprint arXiv:1703.00837, 2017. ",
1661
+ "bbox": [
1662
+ 173,
1663
+ 796,
1664
+ 802,
1665
+ 811
1666
+ ],
1667
+ "page_idx": 10
1668
+ },
1669
+ {
1670
+ "type": "text",
1671
+ "text": "Sachin Ravi and Hugo Larochelle. Optimization as a model for few-shot learning. ICLR, 2016. ",
1672
+ "bbox": [
1673
+ 176,
1674
+ 820,
1675
+ 799,
1676
+ 835
1677
+ ],
1678
+ "page_idx": 10
1679
+ },
1680
+ {
1681
+ "type": "text",
1682
+ "text": "Anselm Rothe, Brenden Lake, and Todd Gureckis. Question asking as program generation. NIPS, 2017. ",
1683
+ "bbox": [
1684
+ 174,
1685
+ 843,
1686
+ 820,
1687
+ 872
1688
+ ],
1689
+ "page_idx": 10
1690
+ },
1691
+ {
1692
+ "type": "text",
1693
+ "text": "Adam Santoro, Sergey Bartunov, Matthew Botvinick, Daan Wierstra, and Timothy Lillicrap. Metalearning with memory-augmented neural networks. In International conference on machine learning, pp. 1842–1850, 2016. ",
1694
+ "bbox": [
1695
+ 176,
1696
+ 882,
1697
+ 823,
1698
+ 924
1699
+ ],
1700
+ "page_idx": 10
1701
+ },
1702
+ {
1703
+ "type": "text",
1704
+ "text": "Franco Scarselli, Marco Gori, Ah Chung Tsoi, Markus Hagenbuchner, and Gabriele Monfardini. The graph neural network model. IEEE Transactions on Neural Networks, 20(1):61–80, 2009. \nJake Snell, Kevin Swersky, and Richard S Zemel. Prototypical networks for few-shot learning. arXiv preprint arXiv:1703.05175, 2017. \nSainbayar Sukhbaatar, Rob Fergus, et al. Learning multiagent communication with backpropagation. In Advances in Neural Information Processing Systems, pp. 2244–2252, 2016. \nAshish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. arXiv preprint arXiv:1706.03762, 2017. \nOriol Vinyals, Samy Bengio, and Manjunath Kudlur. Order matters: Sequence to sequence for sets. arXiv preprint arXiv:1511.06391, 2015. \nOriol Vinyals, Charles Blundell, Tim Lillicrap, Daan Wierstra, et al. Matching networks for one shot learning. In Advances in Neural Information Processing Systems, pp. 3630–3638, 2016. \nBing Xu, Naiyan Wang, Tianqi Chen, and Mu Li. Empirical evaluation of rectified activations in convolutional network. arXiv preprint arXiv:1505.00853, 2015. ",
1705
+ "bbox": [
1706
+ 169,
1707
+ 102,
1708
+ 826,
1709
+ 375
1710
+ ],
1711
+ "page_idx": 11
1712
+ },
1713
+ {
1714
+ "type": "text",
1715
+ "text": "APPENDIX ",
1716
+ "text_level": 1,
1717
+ "bbox": [
1718
+ 176,
1719
+ 103,
1720
+ 263,
1721
+ 117
1722
+ ],
1723
+ "page_idx": 12
1724
+ },
1725
+ {
1726
+ "type": "image",
1727
+ "img_path": "images/ab7fb28a484d119fed79007fdb4dbde7401999d4292c486b85a76412e1e59ede.jpg",
1728
+ "image_caption": [
1729
+ "Figure 3: GNN model. Three blue blocks are used for Omniglot and Mini-Imagenet. $( \\mathrm { n f } { = } 9 6 ) ,$ ). "
1730
+ ],
1731
+ "image_footnote": [],
1732
+ "bbox": [
1733
+ 243,
1734
+ 148,
1735
+ 764,
1736
+ 568
1737
+ ],
1738
+ "page_idx": 12
1739
+ }
1740
+ ]
parse/train/BJj6qGbRW/BJj6qGbRW_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/BJj6qGbRW/BJj6qGbRW_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/BJxH22EKPS/BJxH22EKPS_layout.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbbaa9d9543e28181022135cc9887751decdb39c25d3ae8b3be13e152e244696
3
+ size 4910670
parse/train/BJxH22EKPS/BJxH22EKPS_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c9afc6d6785b178e2df7baa0593945e2b2b6a30592e284161e224442700a48f
3
+ size 4655525
parse/train/BJxH22EKPS/BJxH22EKPS_span.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:94765c2f2f4b8796b5e0a88fcac7d968cd8b73718eaeac5094ac5841a427bfab
3
+ size 4914947
parse/train/BkgnhTEtDS/BkgnhTEtDS.md ADDED
@@ -0,0 +1,381 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # FEATURE INTERACTION INTERPRETABILITY: A CASE FOR EXPLAINING AD-RECOMMENDATION SYSTEMS VIA NEURAL INTERACTION DETECTION
2
+
3
+ Michael Tsang1, Dehua Cheng2, Hanpeng $\mathbf { L i u } ^ { 1 }$ , Xue Feng2, Eric Zhou2, and Yan Liu1
4
+
5
+ 1Department of Computer Science, University of Southern California {tsangm,hanpengl,yanliu.cs}@usc.edu 2Facebook AI {dehuacheng,xfeng,hanningz}@fb.com
6
+
7
+ # ABSTRACT
8
+
9
+ Recommendation is a prevalent application of machine learning that affects many users; therefore, it is important for recommender models to be accurate and interpretable. In this work, we propose a method to both interpret and augment the predictions of black-box recommender systems. In particular, we propose to interpret feature interactions from a source recommender model and explicitly encode these interactions in a target recommender model, where both source and target models are black-boxes. By not assuming the structure of the recommender system, our approach can be used in general settings. In our experiments, we focus on a prominent use of machine learning recommendation: ad-click prediction. We found that our interaction interpretations are both informative and predictive, e.g., significantly outperforming existing recommender models. What’s more, the same approach to interpret interactions can provide new insights into domains even beyond recommendation, such as text and image classification.
10
+
11
+ # 1 INTRODUCTION
12
+
13
+ Despite their impact on users, state-of-the-art recommender systems are becoming increasingly inscrutable. For example, the models that predict if a user will click on an online advertisement are often based on function approximators that contain complex components in order to achieve optimal recommendation accuracy. The complex components come in the form of modules for better learning relationships among features, such as interactions between user and ad features (Cheng et al., 2016; Guo et al., 2017; Wang et al., 2017; Lian et al., 2018; Song et al., 2018). Although efforts have been made to understand the feature relationships, there is still no method that can interpret the feature interactions learned by a generic recommender system, nor is there a strong commercial incentive to do so.
14
+
15
+ In this work, we identify and leverage feature interactions that represent how a recommender system generally behaves. We propose a novel approach, Global Interaction Detection and Encoding for Recommendation (GLIDER), which detects feature interactions that span globally across multiple data-instances from a source recommender model, then explicitly encodes the interactions in a target recommender model, both of which can be black-boxes. GLIDER achieves this by first utilizing our ongoing work on Neural Interaction Detection (NID) (Tsang et al., 2017) with a data-instance perturbation method called LIME (Ribeiro et al., 2016) over a batch of data samples. GLIDER then explicitly encodes the collected global interactions into a target model via sparse feature crossing.
16
+
17
+ In our experiments on ad-click recommendation, we found that the interpretations generated by GLIDER are illuminating, and the detected global interactions can significantly improve the target model’s prediction performance. Because our interaction interpretation method is very general, we also show that the interpretations are informative in other domains: text, image, graph, and dna modeling.
18
+
19
+ ![](images/4466c0e81da8a74a15b634b7bf739e402759928deaf08519a126b360b7d8e755.jpg)
20
+ Figure 1: A simplified overview of GLIDER. $\textcircled{1}$ GLIDER utilizes Neural Interaction Detection and LIME together to interpret feature interactions learned by a source black-box model at a data instance, denoted by the large green plus sign. $\textcircled{2}$ GLIDER identifies interactions that consistently appear over multiple data samples, then explicitly encodes these interactions in a target black-box recommender model $f _ { r e c }$ .
21
+
22
+ Our contributions are as follows:
23
+
24
+ 1. We propose feature interaction interpretations of general prediction models via interaction detection.
25
+ 2. Based on this approach, we propose GLIDER to detect and explicitly encode global feature interactions in black-box recommender systems. This process is a form of automatic feature engineering.
26
+ 3. Through experiments, we demonstrate the overall interpretability of detected feature interactions on a variety of domains and show that the interactions can be leveraged to improve recommendation accuracy.
27
+
28
+ # 2 NOTATIONS AND BACKGROUND
29
+
30
+ Notations: Vectors are represented by boldface lowercase letters, such as $\mathbf { x }$ or $\mathbf { z }$ . The $i$ -th entry of a vector $\mathbf { x }$ is denoted by $x _ { i }$ . For a set $s$ , its cardinality is denoted by $| S |$ .
31
+
32
+ Let $d$ be the number of features in a dataset. An interaction, $\mathcal { T }$ , is a subset of feature indices: ${ \mathcal { T } } \subseteq \{ 1 , 2 , \ldots , d \}$ , where $| \mathcal { T } |$ is always $\geq 2$ . A higher-order interaction always has $| \mathcal { T } | \geq 3$ . For a vector $\mathbf { x } \in \mathbb { R } ^ { d }$ , let $\mathbf { x } _ { \mathcal { I } } \in \mathbb { R } ^ { | \mathcal { I } | }$ be restricted to the dimensions of $\mathbf { x }$ specified by $\mathcal { T }$ .
33
+
34
+ Let a black-box model be $f ( \cdot ) : \mathbb { R } ^ { p } \mathbb { R }$ . A black-box recommender model uses tabular feature types, as discussed later in this section. In classification tasks, we assume $f$ is a class logit. $p$ and $d$ may be different depending on feature transformations.
35
+
36
+ Feature Interactions: By definition, a model $f$ learns a statistical (non-additive) feature interaction $\mathcal { T }$ if and only if $f$ cannot be decomposed into a sum of $| \mathcal { T } |$ arbitrary subfunctions $f _ { i }$ , each excluding a corresponding interaction variable (Friedman et al., 2008; Sorokina et al., 2008; Tsang et al., 2017), i.e., $\begin{array} { r } { f ( \mathbf { x } ) \neq \bar { \sum } _ { i \in \mathcal { T } } f _ { i } ( \mathbf { x } _ { \{ 1 , 2 , \ldots , d \} \backslash i } ) } \end{array}$ .
37
+
38
+ For example, a multiplication between two features, $x _ { 1 }$ and $x _ { 2 }$ , is a feature interaction because it cannot be represented as an addition of univariate functions, i.e., $x _ { 1 } x _ { 2 } \neq f _ { 1 } ( x _ { 2 } ) + f _ { 2 } ( x _ { 1 } )$ .
39
+
40
+ Recommendation Systems: A recommender system, $f _ { r e c } ( \cdot )$ , is a model of two feature types: dense numerical features and sparse categorical features. Since the one-hot encoding of categorical feature $x _ { c }$ can be high-dimensional, it is commonly represented in a low-dimensional embedding $\scriptstyle \mathbf { e } _ { c } \ =$ $o n e \mathbf { \mathcal { - } } h o t ( x _ { c } ) \mathbf { V } _ { c }$ via embedding matrix $\mathbf { V } _ { c }$ .
41
+
42
+ # 3 FEATURE INTERACTIONS IN BLACK-BOX MODELS
43
+
44
+ We start by explaining how to obtain a data-instance level (local) interpretation of feature interactions by utilizing interaction detection on feature perturbations.
45
+
46
+ # 3.1 FEATURE PERTURBATION AND INFERENCE
47
+
48
+ Given a data instance $\mathbf { x } \in \mathbb { R } ^ { p }$ , LIME proposed to perturb the data instance by sampling a separate binary representation $\tilde { \mathbf { x } } \in \{ 0 , 1 \} ^ { d }$ of the same data instance. Let $\xi : \{ 0 , 1 \} ^ { d } \overset { \cdot } { } \mathbb { R } ^ { p }$ be the map from the binary representation to the perturbed data instance. Starting from a binary vector of all ones that map to the original features values in the data instance, LIME uniformly samples the number of random features to switch to 0 or the “off” state. In the data instance, “off” could correspond to a 0 embedding vector for categorical features or mean value over a batch for numerical features. It is possible for $d < p$ by grouping features in the data instance to correspond to single binary features in $\tilde { \bf x }$ . An important step is getting black-box predictions of the perturbed data instances to create a dataset with binary inputs and prediction targets: $\mathcal { D } = \{ ( \tilde { \mathbf { x } } _ { i } , y _ { i } ) ~ | ~ y _ { i } = f ( \xi ( \tilde { \mathbf { x } } _ { i } ) ) , \tilde { \mathbf { x } } _ { i } \in \{ 0 , 1 \} ^ { d } \}$ . Though we use LIME’s approach, the next section is agnostic to the instance perturbation method.
49
+
50
+ # 3.2 FEATURE INTERACTION DETECTION
51
+
52
+ Feature interaction detection is concerned with identifying feature interactions in a dataset (Bien et al., 2013; Purushotham et al., 2014; Lou et al., 2013; Friedman et al., 2008). Typically, proper interaction detection requires a pre-processing step to remove correlated features that adversely affect detection performance (Sorokina et al., 2008). As long as features in dataset $\mathcal { D }$ are generated in an uncorrelated fashion, e.g., through random sampling, we can directly use $\mathcal { D }$ to detect feature interactions from black-box model $f$ at data instance x.
53
+
54
+ # 3.2.1 NEURAL INTERACTION DETECTION
55
+
56
+ $f$ can be an arbitrary function and can generate highly nonlinear targets in $\mathcal { D }$ , so we focus on detecting interactions that could have generic forms. In light of this, we leverage our method, Neural Interaction Detection (NID) (Tsang et al., 2017), which accurately and efficiently detects generic non-additive and arbitrary-order statistical feature interactions. NID detects these interactions by training a lasso-regularized multilayer perceptron (MLP) on a dataset, then identifying the features that have high-magnitude weights to common hidden units. NID is efficient by greedily testing the top-interaction candidates of every order at each of $h$ first-layer hidden units, enabling arbitraryorder interaction detection in $O ( h d )$ tests within one MLP.
57
+
58
+ # 3.2.2 GRADIENT-BASED NEURAL INTERACTION DETECTION
59
+
60
+ Besides the non-additive definition of statistical interaction, a gradient definition also exists based on mixed partial derivatives (Friedman et al., 2008), i.e., a function $F ( \cdot )$ exhibits statistical interaction $\mathcal { T }$ among features $z _ { i }$ indexed by $i _ { 1 } , i _ { 2 } , \dotsc , i _ { | \mathcal { T } | } \in \mathcal { T }$ if
61
+
62
+ $$
63
+ E _ { \mathbf { z } } \left[ \frac { \partial ^ { | \mathcal { T } | } F ( \mathbf { z } ) } { \partial z _ { i _ { 1 } } \partial z _ { i _ { 2 } } \dots \partial z _ { i _ { | \mathcal { T } | } } } \right] ^ { 2 } > 0 .
64
+ $$
65
+
66
+ The advantage of this definition is that it allows exact interaction detection from model gradients (Ai & Norton, 2003); however, this definition contains a computationally expensive expectation, and typical neural networks with ReLU activation functions do not permit mixed partial derivatives. For the task of local interpretation, we only examine a single data instance $\mathbf { x }$ , which avoids the expectation. We turn $F$ into an MLP $g ( \cdot )$ with smooth, infinitely-differentiable activation functions such as softplus, which closely follows ReLU (Glorot et al., 2011). We then train the MLP with the same purpose as $\ S 3 . 2 . 1$ to faithfully capture interactions in perturbation dataset $\mathcal { D }$ . Given these conditions, we define an alternate gradient-based neural interaction detector (GradientNID) as:
67
+
68
+ $$
69
+ \omega ( \mathcal { T } ) = \left( \frac { \partial ^ { | \mathcal { T } | } g ( \tilde { \mathbf { x } } ) } { \partial \tilde { x } _ { i _ { 1 } } \partial \tilde { x } _ { i _ { 2 } } \hdots \partial \tilde { x } _ { i _ { | \mathcal { T } | } } } \right) ^ { 2 } ,
70
+ $$
71
+
72
+ where $\omega$ is the strength of the interaction $\mathcal { T }$ , $\tilde { \mathbf { x } }$ is the representation of $\mathbf { x }$ , and the MLP $g$ is trained on $\mathcal { D }$ . While GradientNID exactly detects interactions from the explainer MLP, it needs to compute interaction strengths $\omega$ for feature combinations that grow exponentially in number as $| \mathcal { T } |$ increases. We recommend restricting GradientNID to low-order interactions.
73
+
74
+ Algorithm 1 Global Interaction Detection in GLIDER
75
+
76
+ <table><tr><td>Input: dataset B, recommender model frec Output: G = {(Ii,ci)}: global interactions Ii and their counts ci over the dataset</td></tr><tr><td>1:G ← initialize occurrence dictionary for global interactions</td></tr><tr><td>2:for each data sample x within dataset B do</td></tr><tr><td>3: S ← MADEX(frec, X)</td></tr><tr><td>4: G ← increment the occurrence count of Ij ∈ S, ∀j = 1,2,...,|S|</td></tr><tr><td>5: sort G by most frequently occurring interactions</td></tr><tr><td>6:[optional prune subset interactions in G within a target number of interactions K</td></tr></table>
77
+
78
+ # 3.3 SCOPE
79
+
80
+ Based on $\ S 3 . 1$ and $\ S 3 . 2$ , we define a function, $\mathtt { M A D E X } ( f , \mathbf { x } )$ , that takes as inputs black-box $f$ and data instance $\mathbf { x }$ , and outputs ${ \cal { S } } = \{ { \cal { T } } _ { i } \} _ { i = 1 } ^ { k }$ , a set of top- $k$ detected feature interactions. MADEX stands for “Model-Agnostic Dependency Explainer”.
81
+
82
+ In some cases, it is necessary to identify a $k$ threshold. Because of the importance of speed for local interpretations, we simply use a linear regression with additional multiplicative terms to approximate the gains given by interactions in $s$ , where $k$ starts at 0 and is incremented until the linear model’s predictions stop improving.
83
+
84
+ # 4 GLIDER: GLOBAL INTERACTION DETECTION AND ENCODING FOR RECOMMENDATION
85
+
86
+ We now discuss the different components of GLIDER: detecting global interactions in $\ S 4 . 1$ , then encoding these interactions in recommender systems in $\ S 4 . 2$ . Recommender systems are interesting because they have pervasive application in real-world systems, and their features are often very sparse. By sparse features, we mean features with many categories, e.g., millions of user IDs. The sparsity makes interaction detection challenging especially when applied directly on raw data because the one-hot encoding of sparse features creates an extremely large space of potential feature combinations (Fan et al., 2015).
87
+
88
+ # 4.1 GLOBAL INTERACTION DETECTION
89
+
90
+ In this section, we explain the first step of GLIDER. As defined in $\ S 3 . 3$ , MADEX takes as input a blackbox model $f$ and data instance $\mathbf { x }$ . In the context of this section, MADEX inputs a source recommender system $f _ { r e c }$ and data instance $\mathbf { x } = [ x _ { 1 } , x _ { 2 } , \ldots , x _ { p } ]$ . $x _ { i }$ is the $i$ -th feature field and is either a dense or sparse feature. $p$ is both the total number of feature fields and the number of perturbation variables $( p = d )$ ). We define global interaction detection as repeatedly running MADEX over a batch of data instances, then counting the occurrences of the same detected interactions, shown in Algorithm 1. The occurrence counts are not only a useful way to rank global interaction detections, but also a sanity check to rule out the chance that the detected feature combinations are random selections.
91
+
92
+ One potential concern with Alg. 1 is that it could be slow depending on the speed of MADEX. In our experiments, the entire process took less than one hour when run in parallel over a batch of 1000 samples with $\sim 4 0$ features on a 32-CPU server with 2 GPUs. This algorithm only needs to be run once to obtain the summary of global interactions.
93
+
94
+ # 4.2 TRUNCATED FEATURE CROSSES
95
+
96
+ The global interaction $\mathcal { T } _ { i }$ , outputted by Alg. 1, is used to create a synthetic feature $x _ { \mathcal { T } _ { i } }$ for a target recommender system. The synthetic feature $x _ { \mathcal { T } _ { i } }$ is created by explicitly crossing sparse features indexed in $\mathcal { T } _ { i }$ . If interaction $\mathcal { T } _ { i }$ involves dense features, we bucketize the dense features before crossing them. The synthetic feature is sometimes called a cross feature (Wang et al., 2017; Luo et al., 2019) or conjunction feature (Rosales et al., 2012; Chapelle et al., 2015).
97
+
98
+ In this context, a cross feature is an $n$ -ary Cartesian product among $n$ sparse features. If we denote $\mathcal { X } _ { 1 } , \mathcal { X } _ { 2 } , \ldots , \mathcal { X } _ { n }$ as the set of IDs for each respective feature $x _ { 1 } , x _ { 2 } , \ldots , x _ { n }$ , then their cross feature $x _ { \{ 1 , . . . , n \} }$ takes on all possible values in
99
+
100
+ $$
101
+ \mathcal { X } _ { 1 } \times \dots \times \mathcal { X } _ { n } = \{ ( x _ { 1 } , \dots , x _ { n } ) ~ | ~ x _ { i } \in \mathcal { X } _ { i } , \forall i = 1 , \dots , n \}
102
+ $$
103
+
104
+ Accordingly, the cardinality of this cross feature is $\left| { \mathcal { X } } _ { 1 } \right| \times \cdots \times \left| { \mathcal { X } } _ { n } \right|$ and can be extremely large, yet many combinations of values in the cross feature are likely unseen in the training data. Therefore, we generate a truncated form of the cross feature with only seen combinations of values, $\mathbf { x } _ { \mathcal { T } } ^ { ( j ) }$ , where $j$ is a sample index in the training data, and $\mathbf { x } _ { \mathcal { T } } ^ { ( j ) }$ is represented as a sparse ID in the cross feature $x \tau$ . We further reduce the cardinality by requiring the same cross feature ID to occur more than times in a batch of samples, or set to a default ID otherwise. These truncation steps significantly reduce the embedding sizes of each cross feature while maintaining their representation power. Once cross features $\{ x _ { \mathbb { Z } _ { i } } \bar \} _ { i }$ are included in a target recommender system, it can be trained as per usual.
105
+
106
+ # 4.3 MODEL DISTILLATION VS. ENHANCEMENT
107
+
108
+ There are dual perspectives of GLIDER: as a method for model distillation or model enhancement. If a strong source model is used to detect global interactions which are then encoded in more resourceconstrained target models, then GLIDER adopts a teacher-student type distillation process. If interaction encoding augments the same model where the interactions were detected from, then GLIDER tries to enhance the model’s ability to represent the interactions.
109
+
110
+ # 5 RELATED WORKS
111
+
112
+ Interaction Interpretations: A variety of methods exist to detect feature interactions learned in specific models but not black-box models. For example, RuleFit (Friedman et al., 2008), Additive Groves (Sorokina et al., 2008), and Tree-Shap (Lundberg et al., 2018) detect interactions specifically in trees; likewise PaD2 (Gevrey et al., 2006) and NID (Tsang et al., 2017) detect interactions in multilayer perceptrons. Some methods have attempted to interpret feature groups in black-box models, such as Anchors (Ribeiro et al., 2018), Agglomerative Contextual Decomposition (Singh et al., 2019), and Context-Aware methods (Singla et al., 2019); however, these methods were not intended to identify feature interactions.
113
+
114
+ Explicit Interaction Representation: There are increasingly methods for explicitly representing interactions in models. Cheng et al. (2016), Guo et al. (2017), Wang et al. (2017), and Lian et al. (2018) directly incorporate multiplicative cross terms in neural network architectures and Song et al. (2018) use attention as an interaction module, all of which are intended to improve the neural network’s function approximation. This line of work found that predictive performance can improve with dedicated interaction modeling. Luo et al. (2019) followed up by proposing feature sets from data then explicitly encoding them via feature crossing, but this method’s proposals are limited by beam search. Our work approaches this problem from a model interpretation standpoint.
115
+
116
+ Black-Box Local vs. Global Interpretations: Data-instance level local interpretation methods are more flexible at explaining general black-box models; however, global interpretations, which cover multiple data instances, have become increasingly desirable to summarize model behavior. Locally Interpretable Model-Agnostic Explanations (LIME) (Ribeiro et al., 2016) and Integrated Gradients (Sundararajan et al., 2017) are some of the most used methods to locally interpret any classifier and neural predictor respectively. There are some methods for global black-box interpretations, such as shuffle-based feature importance (Fisher et al., 2018), submodular pick (Ribeiro et al., 2016), and visual concept extraction (Kim et al., 2018). Our work offers a new tooling option.
117
+
118
+ # 6 EXPERIMENTS
119
+
120
+ # 6.1 SETUP
121
+
122
+ In our experiments, we study interaction interpretation and encoding on real-world data. The hyperparameters in MADEX are as follows. For all experiments, our perturbation datasets $\mathcal { D }$ contain 5000 training samples and 500 samples for each validation and testing. Our usage of NID or GradientNID as the interaction detector (§3.2) depends on the experimental setting. For all experiments that only examine single data instances, we use GradientNID for its exactness and pairwise interaction detection; otherwise, we use NID for its higher-order interaction detection. The MLPs for NID and GradientNID have architectures of 256-128-64 first-to-last hidden layer sizes, and they are trained with learning rate of $\mathrm { 1 e - 2 }$ , batchsize of 100, and the ADAM optimizer. NID uses ReLU activations and an $\ell _ { 1 }$ regularization of $\lambda _ { 1 } = 1 \mathrm { e } { - 4 }$ , whereas GradientNID uses softplus activations and a structural regularizer as MLP+linear regression, which we found offers strong test performance. In general, models are trained with early stopping on validation sets.
123
+
124
+ For LIME perturbations, we need to establish what a binary 0 maps to via $\xi$ in the raw data instance (§3.1). In domains involving embeddings, i.e., sparse features and word embeddings, the 0 (“off”) state is the zeroed embedding vector. For dense features, it is the mean feature value over a batch; for images, the mean superpixel RGB of the image. For our DNA experiment, we use a random nucleotide other than the original one. These settings correspond to what is used in literature (Ribeiro et al., 2016; 2018). In our graph experiment, the nodes within the neighborhood of a test node are perturbed, where each node is zeroed during perturbation.
125
+
126
+ # 6.2 EXPERIMENTS ON CTR RECOMMENDATION
127
+
128
+ In this section, we provide experiments with GLIDER on models trained for clickthrough-rate (CTR) prediction. The recommender models we study include commonly reported baselines, which all use neural networks: Wide&Deep (Cheng et al., 2016), DeepFM (Guo et al., 2017), Deep&Cross (Wang et al., 2017), xDeepFM (Lian et al., 2018), and AutoInt (Song et al., 2018).
129
+
130
+ Table 1: CTR dataset statistics
131
+
132
+ <table><tr><td>Dataset</td><td>#Samples</td><td>#Features</td><td>Total # Sparse IDs</td></tr><tr><td>Criteo</td><td>45,840,617</td><td>39</td><td>998,960</td></tr><tr><td>Avazu</td><td>40,428,967</td><td>23</td><td>1,544,428</td></tr></table>
133
+
134
+ AutoInt is the reported state-of-the-art in academic literature, so we use the model settings and data splits provided by AutoInt’s official public repository1. For all other recommender models, we use public implementations2 with the same original architectures reported in literature, set all embedding sizes to 16, and tune the learning rate and optimizer to reach or surpass the test logloss reported by the AutoInt paper (on AutoInt’s data splits). From tuning, we use the Adagrad optimizer (Duchi et al., 2011) with learning rate of 0.01. All models use early stopping on validation sets.
135
+
136
+ The datasets we use are benchmark CTR datasets with the largest number of features: Criteo3 and Avazu4, whose data statistics are shown in Table 1. Criteo and Avazu both contain $4 0 +$ millions of user records on clicking ads, with Criteo being the primary benchmark in CTR research (Cheng et al., 2016; Guo et al., 2017; Wang et al., 2017; Lian et al., 2018; Song et al., 2018; Luo et al., 2019).
137
+
138
+ # 6.2.1 GLOBAL INTERACTION DETECTION
139
+
140
+ ![](images/21fd470750d5dc6388234135b644ab855f21967212499be6c4e6a14e1650b3c7.jpg)
141
+ Figure 2: Occurrence counts (Total: 1000) vs. rank of detected interactions from AutoInt on Criteo and Avazu datasets. \* indicates a higher-order interaction (details in
142
+
143
+ For each dataset, we train a source AutoInt model, $f _ { r e c }$ , then run global interaction detection via Algorithm 1 on a batch of 1000 samples from the validation set. A full global detection experiment finishes in less than one hour when run in parallel on either Criteo or Avazu datasets in a 32-CPU Intel Xeon E5-2640 v2 $\textcircled { a } \ 2 . 0 0 \mathrm { G H z }$ server with 2 Nvidia 1080 Ti GPUs. The detection results across datasets are shown in Figure 2 Appendix G). as plots of detection counts versus rank. Because the Avazu dataset contains non-anonymized features, we directly show its top-10 detected global interactions in Table 2a.
144
+
145
+ Table 2: Understanding feature interactions: top global feature interactions for (a) an ad targeting system via Algorithm 1 and (b) a text sentiment analyzer via $\ S 6 . 3 . 2$ (later). The tables are juxtaposed to assist in understanding feature interactions, i.e., nuanced changes among interacting variables lead to significant changes in prediction probabilities. The prediction outcomes are ad-clicks by users for (a) and text sentiment for (b).
146
+ (a) Explanation of an ad targeting system
147
+
148
+ <table><tr><td>Count (Total:1000)</td><td>Interaction</td></tr><tr><td>525</td><td>{device_ip,hour}</td></tr><tr><td>235</td><td>{device_id,device_ip,hour}</td></tr><tr><td>217</td><td>{device_id,app-id}</td></tr><tr><td>203</td><td>{device_ip,device_model, hour}</td></tr><tr><td>194</td><td>{site_id, site_domain}</td></tr><tr><td>190</td><td>{site_id, hour}</td></tr><tr><td>187</td><td>{device_ip,site_id,hour}</td></tr><tr><td>183</td><td>{site_id,site_domain,hour}</td></tr><tr><td>179</td><td>{device_id,hour}</td></tr><tr><td>179</td><td>{device_id,device_ip,device_model,hour}</td></tr></table>
149
+
150
+ (b) Explanation of a sentiment analyzer
151
+
152
+ <table><tr><td>Count (Total:40)</td><td>Interaction (ordered)</td></tr><tr><td>36</td><td>never, fails</td></tr><tr><td>30</td><td>suspend,disbelief</td></tr><tr><td>30</td><td>too, bad</td></tr><tr><td>29</td><td>very, funny</td></tr><tr><td>29</td><td>neither, nor</td></tr><tr><td>28</td><td>not, miss</td></tr><tr><td>27</td><td>recent, memory</td></tr><tr><td>27</td><td>not, good</td></tr><tr><td>26</td><td>no,denying</td></tr><tr><td>25</td><td>not, bad</td></tr></table>
153
+
154
+ From Figure 2, we see that the same interactions are detected very frequently across data instances, and many of the interactions are higher-order interactions. The interaction counts are very significant. For example, any top-1 occurrence count $> 2 5$ is significant for the Criteo dataset $( p < 0 . 0 5 ) $ , and likewise $> 7 1$ for the Avazu dataset, assuming a conservative search space of only up to 3-way interactions ( $| \mathcal { I } | \le 3 )$ . Our top-1 occurrence counts are 691 $\left( \gg 2 5 \right)$ ) for Criteo and 525 $( \gg 7 1 )$ ) for Avazu.
155
+
156
+ In Table 2a, the top-interactions are explainable. For example, the interaction between “device ip” and “hour” (in UTC time) makes sense because users - here identified by IP addresses - have ad-click behaviors dependent on their time zones. This is a general theme with many of the top-interactions5. As another example, the interaction between “device id” and “app id” makes sense because ads are targeted to users based on the app they’re in.
157
+
158
+ # 6.2.2 INTERACTION ENCODING
159
+
160
+ Based on our results from the previous section $( \ S 6 . 2 . 1 )$ , we turn our attention to explicitly encoding the detected global interactions in target baseline models via truncated feature crosses (detailed in $\ S 4 . 2 )$ . In order to generate valid cross feature IDs, we bucketize dense features into a maximum of 100 bins before crossing them and require that final cross feature IDs occur more than $T = 1 0 0$ times over a training batch of one million samples.
161
+
162
+ We take AutoInt’s top- $K$ global interactions on each dataset from $\ S 6 . 2 . 1$ with subset interactions excluded (Algorithm 1, line 6) and encode the interactions in each baseline model including AutoInt itself. $K$ is tuned on valiation sets, and model hyperparameters are the same between a baseline and one with encoded interactions. We set $K = 4 0$ for Criteo and $K = 1 0$ for Avazu.
163
+
164
+ In Table 3, we found that GLIDER often obtains significant gains in performance based on standard deviation, and GLIDER often reaches or exceeds a desired 0.001 improvement for the Criteo dataset (Cheng et al., 2016; Guo et al., 2017; Wang et al., 2017; Song et al., 2018). The improvements are especially visible with DeepFM on Criteo. We show how this model’s test performance varies with different $K$ in Figure 3. All performance gains are obtained at limited cost of extra model parameters (Table 4) thanks to the truncations applied to our cross features. To avoid extra parameters entirely, we recommend feature selection on the new and existing features.
165
+
166
+ One one hand, the evidence that AutoInt’s detected interactions can improve other baselines’ performance suggests the viability of interaction distillation. On the other hand, evidence that AutoInt’s performance on Criteo can improve using its own detected interactions suggests that AutoInt may benefit from learning interactions more explicitly. In either model distillation or enhancement settings, we found that GLIDER performs especially well on industry production models trained on large private datasets with thousands of features.
167
+
168
+ Table 3: Test prediction performance by encoding top- $K$ global interactions in baseline recommender systems on the Criteo and Avazu datasets (5 trials). $K$ are 40 and 10 for Criteo and Avazu respectively. $^ { 6 6 } +$ GLIDER” means the inclusion of detected global interactions to corresponding baselines. The “Setting” column is labeled relative to the source of detected interactions: AutoInt. \* scores by Song et al. (2018).
169
+
170
+ <table><tr><td rowspan="2">Setting</td><td rowspan="2">Model</td><td colspan="2">Criteo</td><td colspan="2">Avazu</td></tr><tr><td>AUC</td><td>logloss</td><td>AUC</td><td>logloss</td></tr><tr><td rowspan="7">Distillation</td><td>Wide&amp;Deep +GLIDER</td><td>0.8069 ± 5e-4</td><td>0.4446 ± 4e-4</td><td>0.7794± 3e-4</td><td>0.3804 ± 2e-4</td></tr><tr><td>DeepFM</td><td>0.8080±3e-4 0.8079 ± 3e-4</td><td>0.4436 ± 3e-4 0.4436± 2e-4</td><td>0.7795 ± 1e-4 0.7792 ± 3e-4</td><td>0.3802 ± 9e-5 0.3804±9e-5</td></tr><tr><td>+ GLIDER</td><td>0.8097± 2e-4</td><td>0.4420±2e-4</td><td>0.7795 ± 2e-4</td><td>0.3802 ± 2e-4</td></tr><tr><td>Deep&amp;Cross</td><td>0.8076 ± 2e-4</td><td>0.4438± 2e-4</td><td>0.7791 ± 2e-4</td><td>0.3805± 1e-4</td></tr><tr><td>+ GLIDER</td><td>0.8086±3e-4</td><td>0.4428± 2e-4</td><td>0.7792 ± 2e-4</td><td>0.3803 ± 9e-5</td></tr><tr><td>xDeepFM</td><td>0.8084± 2e-4</td><td>0.4433 ± 2e-4</td><td>0.7785± 3e-4</td><td>0.3808 ± 2e-4</td></tr><tr><td>+ GLIDER</td><td>0.8097±3e-4</td><td>0.4421± 3e-4</td><td>0.7787 ± 4e-4</td><td>0.3806± 1e-4</td></tr><tr><td rowspan="2">Enhancement</td><td>AutoInt *</td><td>0.8083</td><td>0.4434</td><td>0.7774</td><td></td></tr><tr><td></td><td></td><td></td><td></td><td>0.3811</td></tr><tr><td></td><td>+ GLIDER</td><td>0.8090±2e-4</td><td>0.4426± 2e-4</td><td>0.7773 ± 1e-4</td><td>0.3811 ± 5e-5</td></tr></table>
171
+
172
+ Table 4: # parameters of the models in Table 3. M denotes million.
173
+
174
+ <table><tr><td>Model</td><td>Criteo</td><td>Avazu</td></tr><tr><td>Wide&amp;Deep</td><td>18.1M</td><td>27.3M</td></tr><tr><td>+ GLIDER</td><td>19.3M (+6.8%)</td><td>27.6M (+1.0%)</td></tr><tr><td>DeepFM + GLIDER</td><td>17.5M</td><td>26.7M</td></tr><tr><td></td><td>18.3M (+4.8%)</td><td>26.9M(+0.6%)</td></tr><tr><td>Deep&amp;Cross + GLIDER</td><td>17.5M 18.7M (+6.9%)</td><td>26.1M 26.4M (+1.0%)</td></tr><tr><td>xDeepFM</td><td></td><td></td></tr><tr><td>+ GLIDER</td><td>18.5M 21.7M(+17.2%)</td><td>27.6M 28.3M (+2.5%)</td></tr><tr><td></td><td></td><td></td></tr><tr><td>AutoInt</td><td>16.4M</td><td>25.1M</td></tr><tr><td>+ GLIDER</td><td>17.3M (+5.1%)</td><td>25.2M(+0.6%)</td></tr></table>
175
+
176
+ ![](images/b6ae74e4f4ccf7c978df8ac6ef414f4d23615cdc387f916b8944875db9cde694.jpg)
177
+ Figure 3: Test logloss vs. $K$ of DeepFM on the Criteo dataset (5 trials).
178
+
179
+ # 6.3 INTERPRETATIONS ON OTHER DOMAINS
180
+
181
+ Since the proposed interaction interpretations are not entirely limited to recommender systems, we demonstrate interpretations on more general black-box models. Specifically, we experiment with the function MADEX $( \cdot )$ defined in $\ S 3 . 3$ , which inputs a black-box $f$ , data-instance x, and outputs a set of top- $k$ interactions. The models we use are trained on very different tasks, i.e., ResNet152: an image classifier pretrained on ImageNet ‘14 (Russakovsky et al., 2015; He et al., 2016), Sentiment-LSTM: a 2-layer bi-directional long short-term memory network (LSTM) trained on the Stanford Sentiment Treebank (SST) (Socher et al., 2013; Tai et al., 2015), DNA-CNN: a 2-layer 1D convolutional neural network (CNN) trained on MYC-DNA binding data6 (Mordelet et al., 2013; Yang et al., 2013; Alipanahi et al., 2015; Zeng et al., 2016; Wang et al., 2018; Barrett et al., 2012), and GCN: a 3-layer Graph Convolutional Network trained on the Cora dataset (Kipf & Welling, 2016; Sen et al., 2008). In order to make informative comparisons to the linear LIME baseline, we use LIME’s sample weighting strategy and kernel size (0.25) in this section. We first provide quantitative validation for the detected interactions of all four models in $\ S 6 . 3 . 1$ , followed by qualitative results for ResNet152, Sentiment-LSTM, and DNA-CNN in $\ S 6 . 3 . 2$ .
182
+
183
+ # 6.3.1 QUANTITATIVE
184
+
185
+ To quantitatively validate our interaction interpretations of general black-box models, we measure the local explanation fidelity of the interactions via prediction performance. As suggested in $\ S 3 . 3$ and $\ S 4 . 2$ , encoding feature interactions is a way to increase a model’s function representation, but this also means that prediction performance gains over simpler first-order models (e.g., linear regression) is a way to test the significance of the detected interactions. In this section, we use neural network function approximators for each top-interaction from the ranking $\{ \mathcal { T } _ { i } \}$ given by MADEX’s interaction detector (in this case NID). Similar to the $k$ -thresholding description in $\ S 3 . 3$ , we start at $k = 0$ , which is a linear regression, then increment $k$ with added MLPs for each $\mathcal { T } _ { i }$ among $\{ \mathcal { T } _ { i } \} _ { i = 1 } ^ { k }$ until validation performance stops improving, denoted at $k = L$ . The MLPs all have architectures of 64-32-16 first-to-last hidden layer sizes and use the binary perturbation dataset $\mathcal { D }$ (from $\ S 3 . 1 \rrangle$ .
186
+
187
+ Table 5: Prediction performance (mean-squared error; lower is better) with $( k > 0 )$ ) and without $( k \ = \ 0$ ) interactions for random data instances in the test sets of respective black-box models. $k = L$ corresponds to the interaction at a rank threshold. $2 \le k < L$ are excluded because not all instances have 2 or more interactions. Only results with detected interactions are shown. At least $9 4 \%$ $\left( \geq 1 8 8 \right)$ of the data instances had interactions across 5 trials for each model and score statistic.
188
+
189
+ <table><tr><td></td><td>k</td><td>DNA-CNN</td><td>Sentiment-LSTM</td><td>ResNet152</td><td>GCN</td></tr><tr><td>linear LIME</td><td>0</td><td>10e-3±le-3</td><td>8.0e-2±6e-3</td><td>1.9 ±0.1</td><td>7.1e3±7e2</td></tr><tr><td>MADEX (ours)</td><td>1</td><td>8e-3±2e-3</td><td>3.8e-2±6e-3</td><td>1.7 ± 0.1</td><td>5.7e3± 7e2</td></tr><tr><td>MADEX (ours)</td><td>L</td><td>5.0e-3±8e-4</td><td>0.4e-2±3e-3</td><td>0.9± 0.2</td><td>2e3±1e3</td></tr></table>
190
+
191
+ Test prediction performances are shown in Table 5 for $k \in \{ 0 , 1 , L \}$ . The average number of features of $\mathcal { D }$ among the black-box models ranges from 18 to 112. Our quantitative validation shows that adding feature interactions for DNA-CNN, SentimentLSTM, and ResNet152, and adding node interactions for GCN result in significant performance gains when averaged over 40 randomly selected data instances in the test set.
192
+
193
+ # 6.3.2 QUALITATIVE
194
+
195
+ For our qualitative analysis, we provide interaction interpretations via MADEX $( \cdot )$ of ResNet152, SentimentLSTM, and DNA-CNN on test samples. The interpretations are given by $\stackrel { \cdot } { S } = \{ { \cal T } _ { i } \} _ { i = 1 } ^ { k }$ , a set of $k$ detected interactions, which are shown in Figure 4 for ResNet152 and SentimentLSTM. For reference, we also show the top “main effects” by LIME’s original linear regression, which select the top-5 features that attribute towards the predicted class7.
196
+
197
+ In Figure 4a, the “interaction” columns show selected features from MADEX’s interactions between Quickshift superpixels (Vedaldi & Soatto, 2008; Ribeiro et al., 2016). To reduce the number of interactions per image, we merged interactions that have overlap coefficient $\geq ~ 0 . 5$ (Vijaymeena & Kavitha, 2016). From (a) ResNet152 interpretations
198
+
199
+ ![](images/97d9eca2b0f1db7ba92c2bdb92769a97a14f536e83b59ce74445caa04f4a5590.jpg)
200
+ top prediction: trolleybus, trolley coach, trackless trolley
201
+ Figure 4: Qualitative examples (more in Appendix D & E)
202
+
203
+ <table><tr><td rowspan="2">Original sentence</td><td rowspan="2">Predi- ction</td><td rowspan="2">Main effects</td><td colspan="2">Interactions (ours)</td></tr><tr><td>I</td><td>I</td></tr><tr><td>It never fails to engage us.</td><td>pos.</td><td>never, us</td><td>never, fails</td><td></td></tr><tr><td>The movie makes absolutely no sense.</td><td>neg.</td><td>no, sense</td><td>absolutely, no</td><td>no, sense</td></tr><tr><td>The central story lacks punch.</td><td>neg.</td><td>lacks</td><td>story, lacks</td><td>lacks, punch</td></tr></table>
204
+
205
+ the figure, we see that the interactions form a single region or multiple regions of the image. They also tend to be complementary to LIME’s main effects and are sometimes more informative. For example, the interpretations of the “shark” classification show that interaction detection finds the shark fin whereas main effects do not. Interpretations of Sentiment-LSTM are shown in Figure 4b, excluding common stop words (Appendix C). We again see the value of MADEX’s interactions, which show salient combinations of words, such as “never, fails”, “absolutely, no”, and “lacks, punch”.
206
+
207
+ In our experiments on DNA-CNN, we consistently detected the interaction between “CACGTG” nucleotides, which form a canonical DNA sequence (Staiger et al., 1989). The interaction was detected $9 7 . 3 \%$ out of 187 CACGTG appearances in the test set.
208
+
209
+ In order to run consistency experiments now on Sentiment-LSTM, word interactions need to be detected consistently across different sentences, which na¨ıvely would require an exorbitant amount of sentences. Instead, we initially collect interaction candidates by running MADEX over all sentences in the SST test set, then select the word interactions that appear multiple times. We assume that word interactions are ordered but not necessarily adjacent or positionally bound, e.g., (not, good) $\ne ( \mathrm { g o o d }$ , not), but their exact positions don’t matter. We use the larger IMDB dataset (Maas et al., 2011) to collect different sets of sentences that contain the same ordered words as each interaction candidate (but the sentences are otherwise random). The ranked detection counts of the target interactions on their individual sets of sentences are shown in Table 2b. The average sentence length is 33 words, and interaction occurrences are separated by 2 words on average.
210
+
211
+ # 7 CONCLUSION
212
+
213
+ We proposed a way to interpret feature interactions in general prediction models, and we proposed GLIDER to detect and encode these interactions in black-box recommender systems. In our experiments on recommendation, we found that our detected global interactions are explainable and that explicitly encoding them can improve predictions. We further validated our interaction interpretations on image, text, graph, and dna models. We hope the interpretations encourage investigation into the complex behaviors of prediction models, especially models with large societal impact. Some opportunities for future work are generating correct attributions for interaction interpretations, preventing false-positive interactions from out-of-distribution feature perturbations, and performing interaction distillation from multiple models rather than just one.
214
+
215
+ # ACKNOWLEDGMENTS
216
+
217
+ We would like to sincerely thank everyone who has provided their generous feedback for this work. Thank you Youbang Sun, Dongxu Ren, and Beibei Xin for offering early-stage brainstorming and prolonged discussions. Thank you Yuping Luo for providing advice on theoretical analysis of model interpretation. Thank you Rich Caruana for your support and insight. Thank you Artem Volkhin, Levent Ertoz, Ellie Wen, Long Jin, Dario Garcia, and the rest of the Facebook personalization team for your feedback on the paper content. Last but not least, thank you anonymous reviewers for your thorough comments and suggestions. This work was supported by National Science Foundation Awards IIS-1254206 and IIS-1539608, granted to co-author Yan Liu in her academic role at the University of Southern California.
218
+
219
+ # REFERENCES
220
+
221
+ Chunrong Ai and Edward C Norton. Interaction terms in logit and probit models. Economics letters, 80(1):123–129, 2003.
222
+
223
+ Babak Alipanahi, Andrew Delong, Matthew T Weirauch, and Brendan J Frey. Predicting the sequence specificities of dna-and rna-binding proteins by deep learning. Nature biotechnology, 33 (8):831, 2015.
224
+
225
+ Tanya Barrett, Stephen E Wilhite, Pierre Ledoux, Carlos Evangelista, Irene F Kim, Maxim Tomashevsky, Kimberly A Marshall, Katherine H Phillippy, Patti M Sherman, Michelle Holko, et al. Ncbi geo: archive for functional genomics data sets—update. Nucleic acids research, 41(D1): D991–D995, 2012.
226
+
227
+ Jacob Bien, Jonathan Taylor, and Robert Tibshirani. A lasso for hierarchical interactions. Annals of statistics, 41(3):1111, 2013.
228
+
229
+ Olivier Chapelle, Eren Manavoglu, and Romer Rosales. Simple and scalable response prediction for display advertising. ACM Transactions on Intelligent Systems and Technology (TIST), 5(4): 61, 2015.
230
+
231
+ Tianqi Chen and Carlos Guestrin. Xgboost: A scalable tree boosting system. In Proceedings of the 22nd acm sigkdd international conference on knowledge discovery and data mining, pp. 785–794. ACM, 2016.
232
+
233
+ Heng-Tze Cheng, Levent Koc, Jeremiah Harmsen, Tal Shaked, Tushar Chandra, Hrishi Aradhye, Glen Anderson, Greg Corrado, Wei Chai, Mustafa Ispir, et al. Wide & deep learning for recommender systems. In Proceedings of the 1st workshop on deep learning for recommender systems, pp. 7–10. ACM, 2016.
234
+
235
+ John Duchi, Elad Hazan, and Yoram Singer. Adaptive subgradient methods for online learning and stochastic optimization. Journal of Machine Learning Research, 12(Jul):2121–2159, 2011.
236
+
237
+ Yingying Fan, Yinfei Kong, Daoji Li, Zemin Zheng, et al. Innovated interaction screening for highdimensional nonlinear classification. The Annals of Statistics, 43(3):1243–1272, 2015.
238
+
239
+ Aaron Fisher, Cynthia Rudin, and Francesca Dominici. Model class reliance: Variable importance measures for any machine learning model class, from the “rashomon” perspective. arXiv preprint arXiv:1801.01489, 2018.
240
+
241
+ Jerome H Friedman, Bogdan E Popescu, et al. Predictive learning via rule ensembles. The Annals of Applied Statistics, 2(3):916–954, 2008.
242
+
243
+ Muriel Gevrey, Ioannis Dimopoulos, and Sovan Lek. Two-way interaction of input variables in the sensitivity analysis of neural network models. Ecological modelling, 195(1-2):43–50, 2006.
244
+
245
+ Xavier Glorot, Antoine Bordes, and Yoshua Bengio. Deep sparse rectifier neural networks. In Proceedings of the fourteenth international conference on artificial intelligence and statistics, pp. 315–323, 2011.
246
+
247
+ Huifeng Guo, Ruiming Tang, Yunming Ye, Zhenguo Li, and Xiuqiang He. Deepfm: a factorizationmachine based neural network for ctr prediction. In Proceedings of the 26th International Joint Conference on Artificial Intelligence, pp. 1725–1731. AAAI Press, 2017.
248
+
249
+ Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 770–778, 2016.
250
+
251
+ Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural computation, 9(8): 1735–1780, 1997.
252
+
253
+ Giles Hooker. Discovering additive structure in black box functions. In Proceedings of the tenth ACM SIGKDD international conference on Knowledge discovery and data mining, pp. 575–580. ACM, 2004.
254
+
255
+ Been Kim, Martin Wattenberg, Justin Gilmer, Carrie Cai, James Wexler, Fernanda Viegas, et al. Interpretability beyond feature attribution: Quantitative testing with concept activation vectors (tcav). In International Conference on Machine Learning, pp. 2673–2682, 2018.
256
+
257
+ Thomas N Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. arXiv preprint arXiv:1609.02907, 2016.
258
+
259
+ Jianxun Lian, Xiaohuan Zhou, Fuzheng Zhang, Zhongxia Chen, Xing Xie, and Guangzhong Sun. xdeepfm: Combining explicit and implicit feature interactions for recommender systems. In Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pp. 1754–1763. ACM, 2018.
260
+
261
+ Yin Lou, Rich Caruana, Johannes Gehrke, and Giles Hooker. Accurate intelligible models with pairwise interactions. In Proceedings of the 19th ACM SIGKDD international conference on Knowledge discovery and data mining, pp. 623–631. ACM, 2013.
262
+
263
+ Scott M Lundberg, Gabriel G Erion, and Su-In Lee. Consistent individualized feature attribution for tree ensembles. arXiv preprint arXiv:1802.03888, 2018.
264
+
265
+ Yuanfei Luo, Mengshuo Wang, Hao Zhou, Quanming Yao, Wei-Wei Tu, Yuqiang Chen, Wenyuan Dai, and Qiang Yang. Autocross: Automatic feature crossing for tabular data in real-world applications. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, 2019.
266
+
267
+ Andrew L. Maas, Raymond E. Daly, Peter T. Pham, Dan Huang, Andrew Y. Ng, and Christopher Potts. Learning word vectors for sentiment analysis. In Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies, pp. 142–150, Portland, Oregon, USA, June 2011. Association for Computational Linguistics. URL http: //www.aclweb.org/anthology/P11-1015.
268
+
269
+ Christopher D. Manning, Prabhakar Raghavan, and Hinrich Schutze. ¨ Introduction to Information Retrieval. Cambridge University Press, New York, NY, USA, 2008. ISBN 0521865719, 9780521865715.
270
+
271
+ Fantine Mordelet, John Horton, Alexander J Hartemink, Barbara E Engelhardt, and Raluca Gordan.ˆ Stability selection for regression-based models of transcription factor–dna binding specificity. Bioinformatics, 29(13):i117–i125, 2013.
272
+
273
+ W James Murdoch, Peter J Liu, and Bin Yu. Beyond word importance: Contextual decomposition to extract interactions from lstms. International Conference on Learning Representations, 2018.
274
+
275
+ Sanjay Purushotham, Martin Renqiang Min, C-C Jay Kuo, and Rachel Ostroff. Factorized sparse learning models with interpretable high order feature interactions. In Proceedings of the 20th ACM SIGKDD international conference on Knowledge discovery and data mining, pp. 552–561. ACM, 2014.
276
+
277
+ Marco Tulio Ribeiro, Sameer Singh, and Carlos Guestrin. Why should i trust you?: Explaining the predictions of any classifier. In Proceedings of the 22nd ACM SIGKDD international conference on knowledge discovery and data mining, pp. 1135–1144. ACM, 2016.
278
+
279
+ Marco Tulio Ribeiro, Sameer Singh, and Carlos Guestrin. Anchors: High-precision model-agnostic explanations. In AAAI Conference on Artificial Intelligence, 2018.
280
+
281
+ Romer Rosales, Haibin Cheng, and Eren Manavoglu. Post-click conversion modeling and analysis ´ for non-guaranteed delivery display advertising. In Proceedings of the fifth ACM international conference on Web search and data mining, pp. 293–302. ACM, 2012.
282
+
283
+ Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael Bernstein, et al. Imagenet large scale visual recognition challenge. International Journal of Computer Vision, 115(3):211–252, 2015.
284
+
285
+ Victor Sanh, Lysandre Debut, Julien Chaumond, and Thomas Wolf. Distilbert, a distilled version of bert: smaller, faster, cheaper and lighter. arXiv preprint arXiv:1910.01108, 2019.
286
+
287
+ Prithviraj Sen, Galileo Namata, Mustafa Bilgic, Lise Getoor, Brian Galligher, and Tina Eliassi-Rad. Collective classification in network data. AI magazine, 29(3):93–93, 2008.
288
+
289
+ Chandan Singh, W James Murdoch, and Bin Yu. Hierarchical interpretations for neural network predictions. International Conference on Learning Representations, 2019.
290
+
291
+ Sahil Singla, Eric Wallace, Shi Feng, and Soheil Feizi. Understanding impacts of high-order loss approximations and features in deep learning interpretation. arXiv preprint arXiv:1902.00407, 2019.
292
+
293
+ Richard Socher, Alex Perelygin, Jean Wu, Jason Chuang, Christopher D Manning, Andrew $\mathrm { N g }$ , and Christopher Potts. Recursive deep models for semantic compositionality over a sentiment treebank. In Proceedings of the 2013 conference on empirical methods in natural language processing, pp. 1631–1642, 2013.
294
+
295
+ Weiping Song, Chence Shi, Zhiping Xiao, Zhijian Duan, Yewen Xu, Ming Zhang, and Jian Tang. Autoint: Automatic feature interaction learning via self-attentive neural networks. arXiv preprint arXiv:1810.11921, 2018.
296
+
297
+ Daria Sorokina, Rich Caruana, Mirek Riedewald, and Daniel Fink. Detecting statistical interactions with additive groves of trees. In Proceedings of the 25th international conference on Machine learning, pp. 1000–1007. ACM, 2008.
298
+
299
+ Dorothee Staiger, Hildegard Kaulen, and Jeff Schell. A cacgtg motif of the antirrhinum majus chalcone synthase promoter is recognized by an evolutionarily conserved nuclear protein. Proceedings of the National Academy of Sciences, 86(18):6930–6934, 1989.
300
+
301
+ Mukund Sundararajan, Ankur Taly, and Qiqi Yan. Axiomatic attribution for deep networks. In Proceedings of the 34th International Conference on Machine Learning-Volume 70, pp. 3319– 3328. JMLR. org, 2017.
302
+
303
+ Kai Sheng Tai, Richard Socher, and Christopher D Manning. Improved semantic representations from tree-structured long short-term memory networks. arXiv preprint arXiv:1503.00075, 2015.
304
+
305
+ Michael Tsang, Dehua Cheng, and Yan Liu. Detecting statistical interactions from neural network weights. arXiv preprint arXiv:1705.04977, 2017.
306
+
307
+ Andrea Vedaldi and Stefano Soatto. Quick shift and kernel methods for mode seeking. In European Conference on Computer Vision, pp. 705–718. Springer, 2008.
308
+
309
+ MK Vijaymeena and K Kavitha. A survey on similarity measures in text mining. Machine Learning and Applications: An International Journal, 3(2):19–28, 2016.
310
+
311
+ Meng Wang, Cheng Tai, Weinan E, and Liping Wei. Define: deep convolutional neural networks accurately quantify intensities of transcription factor-dna binding and facilitate evaluation of functional non-coding variants. Nucleic acids research, 46(11):e69–e69, 2018.
312
+
313
+ Ruoxi Wang, Bin Fu, Gang Fu, and Mingliang Wang. Deep & cross network for ad click predictions. In Proceedings of the ADKDD’17, pp. 12. ACM, 2017.
314
+
315
+ Lin Yang, Tianyin Zhou, Iris Dror, Anthony Mathelier, Wyeth W Wasserman, Raluca Gordan, and ˆ Remo Rohs. Tfbsshape: a motif database for dna shape features of transcription factor binding sites. Nucleic acids research, 42(D1):D148–D155, 2013.
316
+
317
+ Haoyang Zeng, Matthew D Edwards, Ge Liu, and David K Gifford. Convolutional neural network architectures for predicting dna–protein binding. Bioinformatics, 32(12):i121–i127, 2016.
318
+
319
+ # A EFFECT OF EXTRA PARAMETERS BY INTERACTION ENCODINGS VS. ENLARGED EMBEDDINGS
320
+
321
+ In this section, we study whether increasing embedding size can obtain similar prediction performance gains as explicitly encoding interactions via GLIDER. We increase the embedding dimension sizes of every sparse feature in baseline recommender models to match the total number of model parameters of baseline $^ +$ GLIDER as close as possible. The embedding sizes we used to obtain similar parameter counts are shown in Table 6. For the Avazu dataset, all of the embedding sizes remain unchanged because they were already the target size. The corresponding prediction performances of all models are shown in Table 7. We observed that directly increasing embedding size / parameter counts generally did not give the same level of performance gains that GLIDER provided.
322
+
323
+ Table 6: Comparison of # model parameters between baseline models with enlarged embeddings and original baselines $^ +$ GLIDER (from Tables 3 and 4). The models with enlarged embeddings are denoted by the asterick $( ^ { * } )$ . The embedding dimension of sparse features is denoted by “emb. size”. Percent differences are relative to baseline\* models. M denotes million, and the ditto mark (”) means no change in the above line.
324
+
325
+ <table><tr><td rowspan="2">Model</td><td colspan="2">Criteo</td><td colspan="2">Avazu</td></tr><tr><td>emb. size</td><td># params</td><td>emb. size</td><td># params</td></tr><tr><td>Wide&amp;Deep*</td><td>17</td><td>19.1M</td><td>16</td><td>27.3M</td></tr><tr><td>Wide&amp;Deep</td><td>16</td><td>18.1M</td><td>16</td><td>;</td></tr><tr><td>+ GLIDER</td><td>16</td><td>19.3M (+1.1%)</td><td>16</td><td>27.6M (+1.0%)</td></tr><tr><td>DeepFM*</td><td>17</td><td>18.5M</td><td>16</td><td>26.7M</td></tr><tr><td>DeepFM</td><td>16</td><td>17.5M</td><td>16</td><td>;</td></tr><tr><td>+GLIDER</td><td>16</td><td>18.3M(-0.9%)</td><td>16</td><td>26.9M (+0.6%)</td></tr><tr><td>Deep&amp;Cross*</td><td>17</td><td>18.5M</td><td>16</td><td>26.1M</td></tr><tr><td>Deep&amp;Cross</td><td>16</td><td>17.5M</td><td>16</td><td>;</td></tr><tr><td>+ GLIDER</td><td>16</td><td>18.7M(+1.0%)</td><td>16</td><td>26.4M (+1.0%)</td></tr><tr><td>xDeepFM*</td><td>19</td><td>21.5M</td><td>16</td><td>27.6M</td></tr><tr><td>xDeepFM</td><td>16</td><td>18.5M</td><td>16</td><td>;</td></tr><tr><td>+GLIDER</td><td>16</td><td>21.7M (+0.7%)</td><td>16</td><td>28.3M (+2.5%)</td></tr><tr><td>AutoInt*</td><td>17</td><td>17.4M</td><td>16</td><td>25.1M</td></tr><tr><td>AutoInt</td><td>16</td><td>16.4M</td><td>16</td><td>;</td></tr><tr><td>+ GLIDER</td><td>16</td><td>17.3M(-1.0%)</td><td>16</td><td>25.2M (+0.6%)</td></tr></table>
326
+
327
+ Table 7: Test prediction performance corresponding to the models shown in Table 6
328
+
329
+ <table><tr><td rowspan="2">Model</td><td colspan="2">Criteo</td><td colspan="2">Avazu</td></tr><tr><td>AUC</td><td>logloss</td><td>AUC</td><td>logloss</td></tr><tr><td>Wide&amp;Deep*</td><td>0.8072 ± 3e-4</td><td>0.4443 ± 2e-4</td><td>0.7794±3e-4</td><td>0.3804± 2e-4</td></tr><tr><td>Wide&amp;Deep</td><td>0.8069± 5e-4</td><td>0.4446± 4e-4</td><td>;</td><td>;</td></tr><tr><td>+ GLIDER</td><td>0.8080 ±3e-4</td><td>0.4436 ± 3e-4</td><td>0.7795± 1e-4</td><td>0.3802 ± 9e-5</td></tr><tr><td>DeepFM*</td><td>0.8080±4e-4</td><td>0.4435 ± 4e-4</td><td>0.7792 ± 3e-4</td><td>0.3804 ± 9e-5</td></tr><tr><td>DeepFM</td><td>0.8079±3e-4</td><td>0.4436± 2e-4</td><td>;</td><td>;</td></tr><tr><td>+GLIDER</td><td>0.8097± 2e-4</td><td>0.4420± 2e-4</td><td>0.7795± 2e-4</td><td>0.3802 ± 2e-4</td></tr><tr><td>Deep&amp;Cross*</td><td>0.8081±2e-4</td><td>0.4434±2e-4</td><td>0.7791± 2e-4</td><td>0.3805 ±1e-4</td></tr><tr><td>Deep&amp;Cross + GLIDER</td><td>0.8076±2e-4</td><td>0.4438 ± 2e-4</td><td>;</td><td>;</td></tr><tr><td></td><td>0.8086 ±3e-4</td><td>0.4428 ± 2e-4</td><td>0.7792 ± 2e-4</td><td>0.3803 ± 9e-5</td></tr><tr><td>xDeepFM* xDeepFM</td><td>0.8088±1e-4</td><td>0.4429 ±1e-4</td><td>0.7785±3e-4 ”</td><td>0.3808± 2e-4</td></tr><tr><td>+ GLIDER</td><td>0.8084± 2e-4</td><td>0.4433 ± 2e-4</td><td></td><td>”</td></tr><tr><td>AutoInt*</td><td>0.8097 ± 3e-4</td><td>0.4421± 3e-4</td><td>0.7787± 4e-4</td><td>0.3806 ± 1e-4</td></tr><tr><td>AutoInt</td><td>0.8087±2e-4</td><td>0.4431± 1e-4</td><td>0.7774±1e-4</td><td>0.3811 ± 8e-5</td></tr><tr><td></td><td>0.8083</td><td>0.4434</td><td>”</td><td>;</td></tr><tr><td>+ GLIDER</td><td>0.8090 ± 2e-4</td><td>0.4426± 2e-4</td><td>0.7773±1e-4</td><td>0.3811 ± 5e-5</td></tr></table>
330
+
331
+ # B EFFECT OF DENSE FEATURE BUCKETIZATION
332
+
333
+ We examine the effect of dense feature bucketization on cross feature parameter efficiency for the Criteo dataset, which contains 13 dense features. Figure 5 shows the effects of varying the number of dense buckets on the embedding sizes of the cross features involving dense features. Both the effects on the average and individual embedding size are shown. 14 out of 40 of the cross features involved a dense feature. Different cross features show different parameter patterns as the number of buckets increases (Figure 5b). One one hand, the parameter count sometimes increases then asymptotes. Our requirement that a valid cross feature ID occurs more than $T$ times (§4.2) restricts the growth in parameters. On the other hand, the parameter count sometimes decreases, which happens when the dense bucket size becomes too small to satisfy the $T$ occurrence restriction. In all cases, the parameter counts are kept limited, which is important for overall parameter efficiency.
334
+
335
+ ![](images/261f966830ec935321874e06cf6d957c51abfd170ab6143bbb90f688b4010cb7.jpg)
336
+ Figure 5: The effects of varying the number of buckets on (a) on the average embedding size of cross features involving dense features and (b) the individual embedding sizes of the same cross features.
337
+
338
+ # C STOP WORDS
339
+
340
+ For all qualitative interpretations on text (in $\ S 6 . 3 . 2$ and Appendix D), we preprocessed sentences to remove stop words. We use the same stop words suggested by Manning et al. (2008), i.e., $\{ \mathbf { a } ,$ , an, and, are, as, at, be, by, for, from, has, he, in, is, it, its, of, on, that, the, to, was, were, will, with $\}$ .
341
+
342
+ # D QUALITATIVE RESULTS ON SENTIMENT-LSTM VS. BERT
343
+
344
+ In this section, we compare the word interactions discovered by MADEX on Sentiment-LSTM versus BERT. These models perform with accuracies of $8 7 \%$ and $9 2 \%$ respectively on the SST test set. We use a public pre-trained BERT, i.e., DistilBERT (Sanh et al., 2019), which is available online8. The interaction detector we use is GradientNID $( \ S 3 . 2 . 2 )$ , and sample weighting is disabled for this comparison. The top-2 interactions for each model are shown in Table 8 on random sentences from the SST test set.
345
+
346
+ Table 8: Top-ranked word interactions $\mathcal { T } _ { i }$ from Sentiment-LSTM and BERT on randomly selected sentences in the SST test set.
347
+
348
+ <table><tr><td rowspan="2">Original sentence</td><td colspan="2">Sentiment-LSTM</td><td colspan="2">BERT</td></tr><tr><td>I</td><td>I</td><td>I</td><td>I</td></tr><tr><td>An intelligent, earnest, intimate film that drops the ball only when it pauses for blunt exposition to make sure you&#x27;re getting its metaphysical point.</td><td>intelligent, metaphysical</td><td>metaphysical, point</td><td>intelligent, earnest</td><td>drops, ball</td></tr><tr><td>It&#x27;s not so much enjoyable to watch as it is enlightening to listen to new sides of a previous reality,and to visit with some of the people who were able to make an impact in the theater world.</td><td>not, enjoyable</td><td>not, so</td><td>not, much</td><td>not, enlightening</td></tr><tr><td>Uneasy mishmash of styles and genres.</td><td>uneasy, mishmash</td><td>mishmash, genres</td><td>uneasy, mishmash</td><td>uneasy, styles</td></tr><tr><td>You&#x27;re better off staying home and watching the X-Files.</td><td>x, files</td><td>off, x</td><td>better, off</td><td>you, off</td></tr><tr><td>If this is the Danish idea of a good time, prospective tourists might want to consider a different destination-some jolly country embroiled ina bloody civil war,perhaps.</td><td>if, this</td><td>if, good</td><td>if, jolly</td><td> jolly, country</td></tr><tr><td>We can see the wheels turning,and we might resent it sometimes,but this is still a nice little picture,made by bright and friendly souls with a lot of good cheer.</td><td>resent, nice</td><td>we,resent</td><td>nice, good</td><td>nice,made</td></tr><tr><td>One of the greatest family-oriented, fantasy-adventure movies ever.</td><td>family, oriented</td><td>greatest, family</td><td>greatest, family</td><td>adventure, movies</td></tr><tr><td>It&#x27;s so full of wrong choices that all you can do is shake your head in disbelief- and worry about what classic Oliver Parker intends to mangle next time.</td><td>so,wrong</td><td>full, wrong</td><td>so, wrong</td><td>so, full</td></tr><tr><td>Itsmysteries are transparentlyobvious,and it&#x27;s too slowly paced to be a thriller.</td><td>mysteries, transparently</td><td>paced, thriller</td><td>too, thriller</td><td>too, paced</td></tr><tr><td>This miserable excuse of a movie runs on empty,believing flatbush machismo will get it through.</td><td>miserable, runs</td><td>excuse,get</td><td>runs,empty</td><td>miserable, runs</td></tr></table>
349
+
350
+ # E ADDITIONAL QUALITATIVE RESULTS FOR RESNET152
351
+
352
+ ![](images/8a1cc99aa0d6af07f0cc6bd1634a2891c652636634c4915a0735fac1da313350.jpg)
353
+ Figure 6: Additional qualitative results, following Figure 4a, on random test images in ImageNet. Interactions are denoted by $\mathcal { T } _ { i }$ and are unordered. Overlapping interactions with overlap coefficient $\geq 0 . 5$ are merged to reduce $| \{ \mathcal { T } _ { i } \} |$ per test image.
354
+
355
+ # F DETECTION PERFORMANCE OF MADEX VS. BASELINES
356
+
357
+ We compare the detection performances between MADEX and baselines on identifying feature interactions learned by complex models, i.e., XGBoost (Chen & Guestrin, 2016), Multilayer Perceptron (MLP), and Long Short-Term Memory Network (LSTM) (Hochreiter & Schmidhuber, 1997). The baselines are Tree-Shap: a method to identify interactions in tree-based models like XGBoost (Lundberg et al., 2018), MLP-ACD+: a modified version of ACD (Singh et al., 2019; Murdoch et al., 2018) to search all pairs of features in MLP to find the best interaction candidate, and LSTM-ACD+: the same as MLP-ACD $^ +$ but for LSTMs. All baselines are local interpretation methods. For MADEX, we sample continuous features from a truncated normal distribution $\mathcal { N } ( \mathbf { x } , \sigma ^ { 2 } \mathbf { I } )$ centered at a specified data instance $\mathbf { x }$ and truncated at $\sigma$ . Our MADEX experiments consist of two methods, NID and GradNID (shorthand for GradientNID).
358
+
359
+ Table 9: Data generating functions with interactions
360
+
361
+ <table><tr><td>F1(x)=</td><td>10x1x2+</td></tr><tr><td>F2(x)=</td><td>x102+∑3i 10</td></tr><tr><td>F3(x)=</td><td></td></tr><tr><td>F4(x)=</td><td></td></tr></table>
362
+
363
+ We evaluate interaction detection performance by using synthetic data where ground truth interactions are known (Hooker, 2004; Sorokina et al., 2008). We generate 10e3 samples of synthetic data using functions $F _ { 1 } - F _ { 4 }$ (Table 9) with continuous features uniformly distributed between $- 1$ to 1. Next, we train complex models (XGBoost, MLP, and LSTM) on this data. Lastly, we run MADEX and the baselines on 10 trials of 20 data instances at randomly sampled locations on the synthetic function domain. Between trials, the complex models are trained with different random initialization to test the stability of each interpretation method. Interaction detection performance is computed by the average R-precision (Manning et al., $2 0 0 8 ) ^ { 9 }$ of interaction rankings across the sampled data instances.
364
+
365
+ Results are shown in Table 10. MADEX (NID and GradNID) performs well compared to the baselines. On the tree-based model, MADEX can compete with the tree-specific baseline Tree-Shap, which only detects pairwise interactions. On MLP and LSTM, MADEX performs significantly better than $\mathbf { A C D + }$ . The performance gain is especially large in the LSTM setting. Comparing NID and GradNID, NID tends to perform better in this experiment because it takes its entire sampling region into account whereas GradNID examines a single data instance.
366
+
367
+ Table 10: Detection Performance in R-Precision (higher the better). $\sigma = 0 . 6$ (max: 3.2). “Tree” is XGBoost. \*Does not detect higher-order interactions. $\dagger$ Requires an exhaustive search of all feature combinations.
368
+
369
+ <table><tr><td></td><td colspan="3">Tree</td><td colspan="3">MLP</td><td colspan="3">LSTM</td></tr><tr><td></td><td>Tree-Shap</td><td>NID</td><td>GradNID</td><td>MLP-ACD+</td><td>NID</td><td>GradNID</td><td>LSTM-ACD+</td><td>NID</td><td>GradNID</td></tr><tr><td>F1(x)</td><td>1±0</td><td>1±0</td><td>0.96± 0.04</td><td>0.63±0.08</td><td>1±0</td><td>1±0</td><td>0.3±0.2</td><td>1±0</td><td>1±0</td></tr><tr><td>F(x)</td><td>1±0</td><td>0.3± 0.4</td><td>0.6±0.4</td><td>0.41 ± 0.06</td><td>1±0</td><td>0.95 ± 0.04</td><td>0.01±0.02</td><td>0.99 ±0.02</td><td>0.95±0.04</td></tr><tr><td>F(x)</td><td>1±0</td><td>1±0</td><td>1±0</td><td>0.3±0.2</td><td>1±0</td><td>1±0</td><td>0.05±0.08</td><td>1±0</td><td>1±0</td></tr><tr><td>F4(x)</td><td>*</td><td>1±0</td><td>+</td><td>+</td><td>1±0</td><td>+</td><td>+</td><td>1±0</td><td>+</td></tr></table>
370
+
371
+ # G HIGHER-ORDER INTERACTIONS
372
+
373
+ This section shows how often different orders of higher-order interactions are identified by GLIDER / MADEX. Figure 7 plots the occurrence counts of global interactions detected in AutoInt for the Criteo and Avazu dataset, which correspond to the results in Figure 2. Here we show the occurrence counts of higher-order interactions, where the exact interaction cardinality is annotated besides each data point. 3-way interactions are the most common type, followed by 4-, then 5-way interactions.
374
+
375
+ Figure 8 plots histograms of interaction cardinalities for all interactions detected from ResNet152 and Sentiment-LSTM across 1000 random samples in their test sets. The average number of features are 66 and 18 for ResNet152 and Sentiment-LSTM respectively. Higher-order interactions are common in both models.
376
+
377
+ ![](images/e4b75fb8c322ff5ab5711bf8cc1b9cc54f2ee583cb99c2a343bd16f4f9b13efa.jpg)
378
+ Figure 7: Occurrence counts (total: 1000) vs. rank of interactions detected from AutoInt on (a) Criteo and (b) Avazu datasets. Each higher-order interaction is annotated with its interaction cardinality.
379
+
380
+ ![](images/90b8e36009dccdbbffcb2065e8ddcedbdff85a0eef35a9fe6b561bd69db1b1a0.jpg)
381
+ Figure 8: Histograms of interaction sizes for interactions detected in (a) ResNet152 and (b) Sentiment-LSTM across 1000 random samples in respective test sets.
parse/train/BkgnhTEtDS/BkgnhTEtDS_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/BkgnhTEtDS/BkgnhTEtDS_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/BkgnhTEtDS/BkgnhTEtDS_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/BklIxyHKDr/BklIxyHKDr_layout.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1da14b6c27f7eb5ba74b05739f957356ea2018eb5dbfbcd94420ce5a2bce91b8
3
+ size 24550985
parse/train/BklIxyHKDr/BklIxyHKDr_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4789679612b499eb0890b3ef6cf6b65d805c87d187910cbababd3307af6172fd
3
+ size 24283558
parse/train/BklIxyHKDr/BklIxyHKDr_span.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a41a64634d5765c0f6ff847d3e9302ef64a9f2cdad3a75a757a1da14967d04a
3
+ size 24558790
parse/train/ByG8A7cee/ByG8A7cee.md ADDED
@@ -0,0 +1,331 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # REFERENCE-AWARE LANGUAGE MODELS
2
+
3
+ Zichao $\mathbf { Y a n g ^ { 1 * } }$ ∗, Phil Blunsom2,3, Chris Dyer1,2, and Wang Ling2 1Carnegie Mellon University, 2DeepMind, and 3University of Oxford zichaoy@cs.cmu.edu, {pblunsom,cdyer,lingwang}@google.com
4
+
5
+ # ABSTRACT
6
+
7
+ We propose a general class of language models that treat reference as an explicit stochastic latent variable. This architecture allows models to create mentions of entities and their attributes by accessing external databases (required by, e.g., dialogue generation and recipe generation) and internal state (required by, e.g. language models which are aware of coreference). This facilitates the incorporation of information that can be accessed in predictable locations in databases or discourse context, even when the targets of the reference may be rare words. Experiments on three tasks show our model variants outperform models based on deterministic attention.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ Referring expressions (REs) in natural language are noun phrases (proper nouns, common nouns, and pronouns) that identify objects, entities, and events in an environment. REs occur frequently and they play a key role in communicating information efficiently. While REs are common, previous works neglect to model REs explicitly, either treating REs as ordinary words in the model or replacing them with special tokens. Here we propose a language modeling framework that explicitly incorporates reference decisions.
12
+
13
+ In Figure 1 we list examples of REs in the context of the three tasks that we consider in this work. Firstly, reference to a database is crucial in many applications. One example is in task oriented dialogue where access to a database is necessary to answer a user’s query (Young et al., 2013; Li et al., 2016; Vinyals & Le, 2015; Wen et al., 2015; Sordoni et al., 2015; Serban et al., 2016; Bordes & Weston, 2016; Williams & Zweig, 2016; Shang et al., 2015; Wen et al., 2016). Here we consider the domain of restaurant recommendation where a system refers to restaurants (name) and their attributes (address, phone number etc) in its responses. When the system says “the nirala is a nice restaurant”, it refers to the restaurant name the nirala from the database. Secondly, many models need to refer to a list of items (Kiddon et al., 2016; Wen et al., 2015). In the task of recipe generation from a list of ingredients (Kiddon et al., 2016), the generation of the recipe will frequently reference these items. As shown in Figure 1, in the recipe “Blend soy milk and . . . ”, soy milk refers to the ingredient summaries. Finally, we address references within a document (Mikolov et al., 2010; Ji et al., 2015; Wang & Cho, 2015), as the generation of words will ofter refer to previously generated words. For instance the same entity will often be referred to throughout a document. In Figure 1, the entity you refers to I in a previous utterance.
14
+
15
+ In this work we develop a language model that has a specific module for generating REs. A series of latent decisions (should I generate a RE? If yes, which entity in the context should I refer to? How should the RE be rendered?) augment a traditional recurrent neural network language model and the two components are combined as a mixture model. Selecting an entity in context is similar to familiar models of attention (Bahdanau et al., 2014), but rather than being a deterministic function that reweights representations of elements in the context, it is treated as a distribution over contextual elements which are stochastically selected and then copied or, if the task warrants it, transformed (e.g., a pronoun rather than a proper name is produced as output). Two variants are possible for updating the RNN state: one that only looks at the generated output form; and a second that looks at values of the latent variables. The former admits trivial unsupervised learning, latent decisions are conditionally independent of each other given observed context, whereas the latter enables more expressive models that can extract information from the entity that is being referred to. In each of the three tasks, we demonstrate our reference aware model’s efficacy in evaluations against models that do not explicitly include a reference operation.
16
+
17
+ ![](images/b3c493786dc3a9b650fc7c012d8f1e8c16fa322597d6a17781862a6e4457f828.jpg)
18
+ Figure 1: Reference-aware language models.
19
+
20
+ Our contributions are as follows:
21
+
22
+ • We propose a general framework to model reference in language and instantiate it in the context of dialogue modeling, recipe generation and coreference based language models. • We build three data sets to test our models. There lack existing data sets that satisfy our need, so we build these data sets ourselves. These data sets are either built on top existing data set (we constructed the table for DSTC2 data set for dialogue evaluation), crawled from websites (we crawled all recipes in www.allrecipes.com) or annotated with NLP tools (we annotate the coreference with Gigaword corpus for our evaluation). • We perform comprehensive evaluation of our models on the three data sets and verify our models perform better than strong baselines.
23
+
24
+ # 2 REFERENCE-AWARE LANGUAGE MODELS
25
+
26
+ Here we propose a general framework for reference-aware language models.
27
+
28
+ We denote each document as a series of tokens $x _ { 1 } , \ldots , x _ { L }$ , where $L$ is the number of tokens in the document. Our goal is to maximize the probabilities $p ( x _ { i } \mid c _ { i } )$ , for each word in the document based on its previous context $c _ { i } = x _ { 1 } , \ldots , x _ { i - 1 }$ . In contrast to traditional neural language models, we introduce a variable at each position $z _ { i }$ , which controls the decision on which source $x _ { i }$ is generated from. The token conditional probably is then obtained by:
29
+
30
+ $$
31
+ p ( x _ { i } \mid c _ { i } ) = p ( x _ { i } \mid z _ { i } , c _ { i } ) p ( z _ { i } \mid c _ { i } ) .
32
+ $$
33
+
34
+ In dialogue modeling and recipe generation, $z _ { i }$ will simply taken on values in $\{ 0 , 1 \}$ . Where $z _ { i } = 1$ denotes that $x _ { i }$ is generated as a reference, either to a database entry or an item in a list. However, $z _ { i }$ can also be defined as a distribution over previous entities, allowing the model to predict $x _ { i }$ conditioned on its a previous mention word. This will be the focus of the coreference language model. When $z _ { i }$ is not observed (which it generally will not be), we will train our model to maximize the marginal probability in Eq. 1 directly.
35
+
36
+ # 2.1 DIALOGUE MODEL WITH DATABASE SUPPORT
37
+
38
+ We first apply our model on task-oriented dialogue systems in the domain of restaurant recommendations, and work on the data set from the second Dialogue State Tracking Challenge (DSTC2) (Henderson et al., 2014). Table. 1 is one example dialogue from this dataset.
39
+
40
+ We can observe from this example, users get recommendations of restaurants based on queries that specify the area, price and food type of the restaurant. We can support the system’s decisions by incorporating a mechanism that allows the model to query the database allowing the model to find restaurants that satisfy the users queries. Thus, we crawled TripAdvisor for restaurants in the
41
+
42
+ M: Hello , welcome to the Cambridge restaurant system? You can ask for restaurants by area, price range or food type . How may I help you? U: i want a moderately priced restaurant in the north town M: the nirala is a nice restaurant in the north of town in the moderate price range U: what is the address M: Sure , the nirala is on 7 Milton Road Chesterton
43
+
44
+ Table 1: Example dialogue, M stands for Machine and U stands for User
45
+ Table 2: Fragment of database for dialogue system.
46
+
47
+ <table><tr><td rowspan=1 colspan=1>NAME</td><td rowspan=1 colspan=1>PRICE RANGE</td><td rowspan=1 colspan=1>FOOD</td><td rowspan=1 colspan=1>AREA</td><td rowspan=1 colspan=1>ADDRESS</td><td rowspan=1 colspan=1>POST CODE</td><td rowspan=1 colspan=1>PHONE</td></tr><tr><td rowspan=1 colspan=1>ali baba</td><td rowspan=1 colspan=1>moderate</td><td rowspan=1 colspan=1>lebanese</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>59 Hills Road City Cen-tre</td><td rowspan=1 colspan=1>CB 2,1NT</td><td rowspan=1 colspan=1>01462 432565</td></tr><tr><td rowspan=1 colspan=1>thenirala</td><td rowspan=1 colspan=1>moderate</td><td rowspan=1 colspan=1>indian</td><td rowspan=1 colspan=1>north</td><td rowspan=1 colspan=1>7 Milton Road Chester-ton</td><td rowspan=1 colspan=1>CB 4,1 UY</td><td rowspan=1 colspan=1>01223 360966</td></tr></table>
48
+
49
+ Cambridge area, where the dialog dataset was collected. Then, we remove restaurants that do not appear in the data set and create a database with 109 entries with restaurants and their attributes (e.g. food type). A sample of our database is shown in Table. 2. We can observe that each restaurant contains 6 attributes that are generally referred in the dialogue dataset. As such, if the user requests a restaurant that serves “indian” food, we wish to train a model that can search for entries whose “food” column contains “indian”. Now, we describe how we deploy a model that fulfills these requirements.
50
+
51
+ # 2.1.1 DIALOGUE MODEL
52
+
53
+ ![](images/87ef1fc8d188ea02069cf542faffb56d265b9b1740204980353fa21d6da852bf.jpg)
54
+ Figure 2: Hierarchical RNN Seq2Seq model
55
+
56
+ We build a model based on the hierarchical RNN model described in (Serban et al., 2016), as in dialogues, the generation of the response is not only dependent on the previous sentence, but on all sentences leading to the response. We assume that a dialogue is alternated between a machine and a user. An illustration of the model is shown in Figure 2.
57
+
58
+ Consider a dialogue with $T$ turns, and the utterance from a user is denoted as $X = \{ x _ { i } \} _ { i = 1 } ^ { T }$ , where $i$ is the $i$ -th utterance, whereas the utterance from a machine is denoted as ${ \cal Y } = \{ y _ { i } \} _ { i = 1 } ^ { T }$ , where $i$ is the $i$ -th utterance. We define $x _ { i } = \{ x _ { i j } \} _ { j = 1 } ^ { | x _ { i } | }$ , $y _ { i } = \{ y _ { i v } \} _ { v = 1 } ^ { | y _ { i } | }$ , where $x _ { i j }$ denotes the $j$ -th token in the $i$ -th utterance from the user, whereas $y _ { i v }$ denotes the $v$ -th token in the $i$ -th utterance from the machine. Finally, $\left| x _ { i } \right|$ and $| y _ { i } |$ denote the number of tokens in the user and machine utterances, respectively. The dialogue sequence starts with machine utterance $\left\{ y _ { 1 } , x _ { 1 } , y _ { 2 } , x _ { 2 } , \dots , y _ { T } , x _ { T } \right\}$ . We would like to model the utterances from the machine
59
+
60
+ $$
61
+ p ( y _ { 1 } , y _ { 2 } , \ldots , y _ { T } | x _ { 1 } , x _ { 2 } , \ldots , x _ { T } ) = \prod _ { i } p ( y _ { i } | y _ { < i } , x _ { < i } ) = \prod _ { i , v } p ( y _ { i , v } | y _ { i , < v } , y _ { < i } , x _ { < i } ) ,
62
+ $$
63
+
64
+ where $y _ { < i }$ denotes all the utterances before $i$ and $y _ { i , < v }$ denotes the first $v - 1$ tokens in the $i$ -th utterance of the machine. A neural model is employed to predict $p ( y _ { i , v } | y _ { i , < v } , y _ { < i } , x _ { < i } )$ , which operates as follows:
65
+
66
+ Sentence Encoder: We first encode previous utterances $y _ { < i }$ and $x _ { < i }$ into continuous space by generatistate mploying a LSTM encodand apply the recursion $x _ { i }$ , and sta, where he initial LSTMdenotes a word $h _ { i , 0 } ^ { x }$ $h _ { i , j } ^ { x } = \mathrm { L S T M } _ { \mathrm { E } } ^ { - } ( W _ { E } x _ { i , j } , h _ { i , j - 1 } ^ { x } )$ $W _ { E } x _ { i , j }$
67
+
68
+ embedding lookup for the token $x _ { i , j }$ , and $\mathbf { L S T M _ { E } }$ denotes the LSTM transition function described in Hochreiter & Schmidhuber (1997). The representation of the user utterance is represented by the final LSTM state $h _ { i } ^ { x } \ = \ h _ { i , | x _ { i } | } ^ { x }$ The same process is applied to obtain the machine utterance representation $h _ { i } ^ { y } = h _ { i , | y _ { i } | } ^ { y }$ hyi,|yi|
69
+
70
+ Turn Encoder: Then, combine all the representations of all the utterances with a second LSTM, which encodes the sequence $\{ h _ { 1 } ^ { y } , h _ { 1 } ^ { x } , . . . , h _ { i } ^ { \bar { y } } , h _ { i } ^ { x } \}$ into a continuous vector. Once again, we start with an initial state $u _ { 0 }$ and feed each of the utterance representation to obtain the following LSTM state, until the final state is obtained. For simplicity, we shall refer to this as $u _ { i }$ , which can be seen as the hierarchical encoding of the previous $i$ utterances.
71
+
72
+ Seq2Seq Decoder: As for decoding, in order to generate each utterance $y _ { i }$ , we can feed $u _ { i - 1 }$ into the decoder LSTM as the initial state $s _ { i , 0 } = u _ { i - 1 }$ and decode each token in $y _ { i }$ . Thus, we can express the decoder as:
73
+
74
+ $$
75
+ \begin{array} { r l } & { s _ { i , v } ^ { y } = \mathrm { L S T M } _ { \mathrm { D } } ( W _ { E } y _ { i , v - 1 } , s _ { i , v - 1 } ) , } \\ & { p _ { i , v } ^ { y } = \mathrm { s o f t m a x } ( W s _ { i , v } ^ { y } ) , } \end{array}
76
+ $$
77
+
78
+ where the desired probability $p ( y _ { i , v } | y _ { i , < v } , y _ { < i } , x _ { < i } )$ is expressed by $p _ { i , v } ^ { y }$
79
+
80
+ Attention based decoder: We can also incorporate the attention mechanism in our hierarchical model. An attention model builds a representation $d$ by averaging over a set of vectors $p$ . We define the attention function as $a = \mathrm { A T T N } ( p , q )$ , where $a$ is a probability distribution over the set of vectors $p$ , conditioned on any input representation $q$ . A full description of this operation is described in (Bahon the current decoder state danau et al., 2014). Thus, for each generated token $s _ { i , v } ^ { y }$ , obtaining the attentions over input tokens from previous turn $y _ { i , v }$ , we compute the attentions $a _ { i , v }$ , conditioned $( i - 1 )$ . We denote the vector of all tokens in previous turn as $h _ { i - 1 } ^ { x , y } = [ \{ h _ { i - 1 , j } ^ { x } \} _ { j = 1 } ^ { | x _ { i - 1 } | } , \{ h _ { i - 1 , v } ^ { y } \} _ { v = 1 } ^ { | y _ { i - 1 } | } ]$ }|yi−1|] Let . $K = | h _ { i - 1 } ^ { x , y } |$ be the number of tokens in previous turn. Thus, we obtain the attention probabilities − over all previous tokens $a _ { i , v }$ as $\mathrm { A T T N } ( s _ { i , v } ^ { y } , h _ { i - 1 } ^ { x , y } )$ . Then, the weighted sum is computed over these probabilities $\begin{array} { r } { d _ { i , v } = \sum _ { k \in K } a _ { i , v , k } h _ { i - 1 , k } ^ { x , y } } \end{array}$ , where $_ { a _ { i , v , k } }$ is the probability of aligning to the $k$ -th token from previous turn. The resulting vector $d _ { i , v }$ is used to obtain the probability of the following word $p _ { i , v } ^ { y }$ . Thus, we express the decoder as:
81
+
82
+ $$
83
+ \begin{array} { r l } & { s _ { i , v } ^ { y } = \mathrm { L S T M } _ { \mathrm { D } } ( [ { W } _ { \mathrm { E } } y _ { i , v - 1 } , d _ { i , v - 1 } ] , s _ { i , v - 1 } ) , } \\ & { a _ { i , v } = \mathrm { A T T N } ( h _ { i - 1 } ^ { x , y } , s _ { i , v } ^ { y } ) , } \\ & { d _ { i , v } = \displaystyle \sum _ { k \in K } a _ { i , v , k } h _ { i - 1 , k } ^ { x , y } , } \\ & { p _ { i , v } ^ { y } = \mathrm { s o f t m a x } ( W [ s _ { i , v } ^ { y } , d _ { i , v } ] ) . } \end{array}
84
+ $$
85
+
86
+ # 2.1.2 INCORPORATING TABLE ATTENTION
87
+
88
+ ![](images/b0ecbcb0faa2ea176f8574992b4d9fd0e2656f8d2a9d4622b8cbcf038acd89ca.jpg)
89
+ Figure 3: Table based decoder.
90
+
91
+ We now extend the attention model in order to allow the attention to be computed over a table, allowing the model to condition the generation on a database.
92
+
93
+ We denote a table with $R$ rows and $C$ columns as $\{ f _ { r , c } \} , r \in [ 1 , R ] , c \in [ 1 , C ]$ , where $f _ { r , c }$ is the cell in row $r$ and column $c$ . The attribute of each column is denoted as $s _ { c }$ , where $c$ is the $c$ -th attribute. $f _ { r , c }$ and $s _ { c }$ are one-hot vector.
94
+
95
+ Table Encoding: To encode the table, we build an attribute vector $g _ { c }$ for each column. For each cell $f _ { r , c }$ of the table, we concatenate it with the corresponding attribute $g _ { c }$ and then feed it through a one-layer MLP as follows: $g _ { c } = W _ { E } s _ { c }$ and then $e _ { r , c } = \operatorname { t a n h } ( W [ W _ { E } f _ { r , c } , g _ { c } ] )$ .
96
+
97
+ Table Attention: The diagram for table attention is shown in Figure 3a. The attention over cells in the table is conditioned on a given vector $q$ , similarly to the attention model for sequences $\mathbf { A T T N } ( p , q )$ . However, rather than a sequence $p$ , we now operate over a table $f$ . Our attention model computes a attribute attention followed by row attention of the table. We first use the attention mechanism on the attributes to find out which attribute the user asks about. Suppose a user says cheap, then we should focus on the price attribute. After we get the attention probability $p ^ { a } = \mathrm { A T T N } ( \{ g _ { c } \} , q )$ , over the attribute, we calculate the weighted representation for each row $\begin{array} { r } { e _ { r } = \sum _ { c } p _ { c } ^ { a } e _ { r c } } \end{array}$ conditioned on $p ^ { a }$ . Then $e _ { r }$ has the price information of each row. We further use attention mechanism on $e _ { r }$ and get the probability $p ^ { r } \bar { \mathbf { \Psi } } = \mathrm { A T T N } ( \{ e _ { r } \} , q )$ over the rows. Then restaurants with cheap price will be picked. Then, using the probabilities $p ^ { r }$ , we compute the weighted average over the all rows $\begin{array} { r } { e _ { c } = \sum _ { r } p _ { r } ^ { r } e _ { r , c } } \end{array}$ , which is used in the decoder. The detailed process is:
98
+
99
+ $$
100
+ \begin{array} { r l r } { { p _ { a } = \mathrm { A T T N } ( \{ g _ { c } \} , q ) , } } \\ & { } & { \quad e _ { r } = \displaystyle \sum _ { c } p _ { c } ^ { a } e _ { r c } \quad \forall r , } \\ & { } & { \quad p _ { r } = \mathrm { A T T N } ( \{ e _ { r } \} , q ) , } \\ & { } & { \quad e _ { c } = \displaystyle \sum _ { r } p _ { r } ^ { r } e _ { r , c } \quad \forall c . } \end{array}
101
+ $$
102
+
103
+ This is embedded in the decoder by replacing the conditioned state as the current decoder state $s _ { i , 0 } ^ { y }$ and then at each step, conditioning the prediction of ach step. The detailed diagram of table attention is s $y _ { i , v }$ on n in $\{ e _ { c } \}$ by using attention mechanismre 3a.
104
+
105
+ # 2.1.3 INCORPORATING TABLE POINTER NETWORKS
106
+
107
+ We now describe the mechanism used to refer to specific database entries during decoding. At each timestep, the model needs to decide whether to generate the next token from an entry of the database or from the word softmax. This is performed as follows.
108
+
109
+ Pointer Switch: We use $z _ { i , v } \in [ 0 , 1 ]$ to denote the decision of whether to copy one cell from the table. We compute this probability as follows:
110
+
111
+ $$
112
+ p ( z _ { i , v } | s _ { i , v } ) = \mathrm { s i g m o i d } ( W [ s _ { i , v } , d _ { i , v } ] ) .
113
+ $$
114
+
115
+ Thus, if $z _ { i , v } = 1$ , the next token $y _ { i , v }$ will be generated from the database, whereas if $z _ { i , v } = 0$ , then the following token is generated from a softmax. We shall now describe how we generate tokens from the database.
116
+
117
+ Table Pointer: If $z _ { i , v } = 1$ , the token is generated from the table. The detailed process of calculating the probability distribution over the table is shown in Figure 3b. This is similar to the attention mechanism, except that we perform a column attention to compute the probabilities of copying from each column after Equation. 5. More formally:
118
+
119
+ $$
120
+ \begin{array} { c } { { p ^ { c } = \mathrm { A T T N } ( \{ e _ { c } \} , q ) , } } \\ { { p ^ { \mathrm { c o p y } } = p ^ { r } \otimes p ^ { c } , } } \end{array}
121
+ $$
122
+
123
+ where $p ^ { c }$ is a probability distribution over columns, whereas $p ^ { r }$ is a probability distribution over rows. In order to compute a matrix with the probability of copying each cell, we simply compute the outer product $p ^ { \mathrm { c o p y } } = p ^ { r } \otimes p ^ { c }$ .
124
+
125
+ Objective: As we treat $z _ { i }$ as a latent variable, we wish to maximize the marginal probability of the sequence $y _ { i }$ over all possible values of $z _ { i }$ . Thus, our objective function is defined as:
126
+
127
+ $$
128
+ p ( y _ { i , v } | s _ { i , v } ) = p ^ { \mathrm { v o c a b } } p ( 0 | s _ { i , v } ) + p ^ { \mathrm { c o p y } } p ( 1 | s _ { i , v } ) = p ^ { \mathrm { v o c a b } } ( 1 - p ( 1 | s _ { i , v } ) ) + p ^ { \mathrm { c o p y } } p ( 1 | s _ { i , v } ) .
129
+ $$
130
+
131
+ The model can also be trained in a fully supervised fashion, if $z _ { i , v }$ is observed. In such cases, we simply maximize the likelihood of $p ( z _ { i , v } | s _ { i , v } )$ , based on the observations, rather than using the marginal probability over $z _ { i , v }$ .
132
+
133
+ # 2.2 RECIPE GENERATION
134
+
135
+ Table 3: Ingredients and recipe for Spinach and Banana Power Smoothie.
136
+
137
+ <table><tr><td>ingredients</td><td>recipe</td></tr><tr><td>1 cup plain soy milk 3/4 cup packed fresh spinach leaves 1 large banana, sliced</td><td>Blend soy milk and spinach leaves together in a blender until smooth. Add banana and pulse until thoroughly blended.</td></tr></table>
138
+
139
+ Next, we consider the task of recipe generation conditioning on the ingredient lists. In this task, we must generate the recipe from a list of ingredients. Table. 3 illustrates the ingredient list and recipe for Spinach and Banana Power Smoothie. We can see that the ingredients soy milk, spinach leaves, and banana occur in the recipe.
140
+
141
+ ![](images/97d1e470685ca1f07412db7cba45713c6027dcdcb3319467583430504adf11d3.jpg)
142
+ Figure 4: Recipe pointer
143
+
144
+ Let the ingredients of a recipe be $X ~ = ~ \{ x _ { i } \} _ { i = 1 } ^ { T }$ and each ingredient contains $L$ tokens $\begin{array} { r l } { x _ { i } } & { { } = } \end{array}$ $\{ x _ { i j } \} _ { j = 1 } ^ { L }$ . The corresponding recipe is $y = \{ y _ { v } \} _ { v = 1 } ^ { K }$ . We first use a LSTM to encode each ingredient:
145
+
146
+ $$
147
+ h _ { i , j } = \mathrm { L S T M } _ { \mathrm { E } } ( W _ { E } x _ { i j } , h _ { i , j - 1 } ) \quad \forall i .
148
+ $$
149
+
150
+ Then, we sum the resulting state of each ingredient to obtain the starting LSTM state of the decoder. Once again we use an attention based decoder:
151
+
152
+ $$
153
+ \begin{array} { c } { { s _ { v } = \mathrm { L S T M } _ { \mathrm { D } } \displaystyle ( s _ { v - 1 } , d _ { v - 1 } , W _ { \mathrm { E } } y _ { v - 1 } ) , } } \\ { { p _ { v } ^ { \mathrm { c o p y } } = \mathrm { A T T N } \displaystyle ( \{ \left\{ h _ { i , j } \right\} _ { i = 1 } ^ { T } \} _ { j = 1 } ^ { L } , s _ { v } ) , } } \\ { { d _ { v } = \displaystyle \sum _ { i j } p _ { v , i , j } h _ { i , j } , } } \\ { { p ( z _ { v } | s _ { v } ) = \mathrm { s i g m o i d } ( W [ s _ { v } , d _ { v } ] ) , } } \\ { { p _ { v } ^ { \mathrm { v o c a b } } = \mathrm { s o f t m a x } ( W [ s _ { v } , d _ { v } ] ) . } } \end{array}
154
+ $$
155
+
156
+ Similar to the previous task, the decision to copy from the ingredient list or generate a new
157
+ word from the softmax is performed using a switch, denoted as $p ( z _ { v } | s _ { v } )$ . We can obtain a copying each of the words in the ingredients by computing in the attention mechanism. For training, we optimize the $p _ { v } ^ { \mathrm { c o p y } } =$
158
+ $\mathsf { \bar { A } T T N } ( \{ \{ \bar { h } _ { i , j } \} _ { i = 1 } ^ { T } \} _ { j = 1 } ^ { L } , s _ { v } )$
159
+ likelihood function employed in the previous task.
160
+
161
+ # 2.3 COREFERENCE BASED LANGUAGE MODEL
162
+
163
+ Finally, we build a language model that uses coreference links to point to previous words. Before generating a word, we first make the decision on whether it is an entity mention. If so, we decide which entity this mention belongs to, then we generate the word based on that entity. Denote the document as $X = \{ x _ { i } \} _ { i = 1 } ^ { L }$ , and the entities are $E = \{ e _ { i } \} _ { i = 1 } ^ { N }$ , each entity has $M _ { i }$ mentions, $e _ { i } =$ $\{ m _ { i j } \} _ { j = 1 } ^ { M _ { i } }$ , such that $\{ x _ { m _ { i j } } \} _ { j = 1 } ^ { M _ { i } }$ refer to the same entity. We use a LSTM to model the document, the hidden state of each token is $h _ { i } = \mathrm { L S T M } ( W _ { E } x _ { i } , h _ { i - 1 } )$ . We use a set $h ^ { e } = \{ h _ { 0 } ^ { e } , h _ { 1 } ^ { e } , . . . , h _ { M } ^ { e } \}$ to keep track of the entity states, where $h _ { j } ^ { e }$ is the state of entity $j$ .
164
+
165
+ um and $[ \mathrm { I l } _ { 1 }$ think that is whats - Go ahead [Linda]2. Well and thanks goes to $[ \mathrm { y o u l } _ { 1 }$ and to [the media]3 to help $[ \mathrm { u s } ] _ { 4 } . . . \mathrm { S o } [ \mathrm { o u r } ] _ { 4 }$ hat is off to all of [you]5...
166
+
167
+ ![](images/787f483a8556a3d8a8f59733ad85ae9b906c646cdc53288cac6b92ec15023293.jpg)
168
+ Figure 5: Coreference based language model, example taken from Wiseman et al. (2016).
169
+
170
+ Word generation: At each time step before generating the next word, we predict whether the word is an entity mention:
171
+
172
+ $$
173
+ \begin{array} { r l r } { { p ^ { \mathrm { c o r e f } } ( v _ { i } | h _ { i - 1 } , h ^ { e } ) = \mathrm { A T T N } ( h ^ { e } , h _ { i - 1 } ) , } } \\ & { } & { d _ { i } = \sum _ { v _ { i } } p ( v _ { i } ) h _ { v _ { i } } ^ { e } } \\ & { } & { p ( z _ { i } | h _ { i - 1 } ) = \mathrm { s i g m o i d } ( W [ d _ { i } , h _ { i - 1 } ] ) , } \end{array}
174
+ $$
175
+
176
+ where $z _ { i }$ denotes whether the next word is an entity and if yes $v _ { i }$ denotes which entity the next word corefers to. If the next word is an entity mention, then $p ( x _ { i } | v _ { i } , h _ { i - 1 } , h ^ { e } ) =$ softmax $( W _ { 1 } \operatorname { t a n h } ( W _ { 2 } [ h _ { v _ { i } } ^ { e } , h _ { i - 1 } ] ) )$ else $p ( x _ { i } | h _ { i - 1 } ) = \mathrm { s o f t m a x } ( W _ { 1 } h _ { i - 1 } )$ ,
177
+
178
+ $$
179
+ p ( x _ { i } | x _ { < i } ) = \left\{ \begin{array} { l l } { p ( x _ { i } | h _ { i - 1 } ) p ( z _ { i } | h _ { i - 1 } , h ^ { e } ) } & { \quad \mathrm { i f } \quad z _ { i } = 0 . } \\ { p ( x _ { i } | v _ { i } , h _ { i - 1 } , h ^ { e } ) p ^ { \mathrm { c o r e f } } ( v _ { i } | h _ { i - 1 } , h ^ { e } ) p ( z _ { i } | h _ { i - 1 } , h ^ { e } ) } & { \quad \mathrm { i f } \quad z _ { i } = 1 . } \end{array} \right.
180
+ $$
181
+
182
+ Entity state update: We update the entity state $h ^ { e }$ at each time step. In the beginning, $h ^ { e } = \{ h _ { 0 } ^ { e } \}$ , $h _ { 0 } ^ { e }$ denotes the state of an virtual empty entity and is a learnable variable. If $z _ { i } = 1$ and $v _ { i } = 0$ , then it indicates the next word is a new entity mention, then in the next step, we append $h _ { i }$ to $h ^ { e }$ , i.e., $h ^ { e } = \{ h ^ { e } , h _ { i } \}$ , if $e _ { i } > 0$ , then we update the corresponding entity state with the new hidden state, $h ^ { e } [ v _ { i } ] = h _ { i }$ . Another way to update the entity state is to use one LSTM to encode the mention states and get the new entity state. Here we use the latest entity mention state as the new entity state for simplicity. The detailed update process is shown in Figure 5.
183
+
184
+ # 3 EXPERIMENTS
185
+
186
+ # 4 DATA SETS AND PREPROCESSING
187
+
188
+ Dialogue: We use the DSTC2 data set. We only extracted the dialogue transcript from data set. There are about 3,200 dialogues in total. Since this is a small data set, we use 5-fold cross validation and report the average result over the 5 partitions. There may be multiple tokens in each table cell, for example in Table.2, the name, address, post code and phone number have multiple tokens, we replace them with one special token. For the name, address, post code and phone number of the $j$ -th row, we replace the tokens in each cell with NAME $j$ , ADDR $j$ , POSTCODE $j$ , PHONE $j$ . If a table cell is empty, we replace it with an empty token EMPTY. We do a string match in the transcript and replace the corresponding tokens in transcripts from the table with the special tokens.
189
+
190
+ Each dialogue on average has 8 turns (16 sentences). We use a vocabulary size of 900, including about 400 table tokens and 500 words.
191
+
192
+ Recipes: We crawl all recipes from www.allrecipes.com. There are about 31, 000 recipes in total, and every recipe has a ingredient list and a corresponding recipe. We exclude the recipes that have less than 10 tokens or more than 500 tokens, those recipes take about $0 . 1 \%$ of all data set. On average each recipe has 118 tokens and 9 ingredients. We random shuffle the whole data set and take $80 \%$ as training and $10 \%$ for validation and test. We use a vocabulary size of 10,000 in the model.
193
+
194
+ Coref LM: We use the Xinhua News data set from Gigaword Fifth Edition and sample 100,000 documents from it that has length in range from 100 to 500. Each document has on average 234 tokens, so there are 23 million tokens in total. We use a tool to annotate all the entity mentions and use the annotation in the training. We take $80 \%$ as training and $10 \%$ as validation and test respectively. We ignore the entities that have only one mention and for the mentions that have multiple tokens, we take the token that is most frequent in the all the mentions for this entity. After the preprocessing, tokens that are entity mentions take about $10 \%$ of all tokens. We use a vocabulary size of 50,000 in the model.
195
+
196
+ # 4.1 MODEL TRAINING AND EVALUATION
197
+
198
+ We train all models with simple stochastic gradient descent with clipping. We use a one-layer LSTM for all RNN components. Hyper-parameters are selected using grid search based on the validation set. We use dropout after the input embedding and LSTM output. The learning rate is selected from [0.1, 0.2, 0.5, 1], maximum gradient norm is selected from [1, 2, 5, 10] and drop ratio is selected from [0.2, 0.3, 0.5]. The batch size and LSTM dimension size is slightly different for different tasks so as to make the model fit into memory. The number of epochs to train are different for each task and we drop the learning rate after reaching a given number of epochs. We report the per-word perplexity for all tasks, specifically, we report the perplexity of all words, words that can be generated from reference and non-reference words. For recipe generation, we also generate the recipe using beam size of 10 and evaluate the generated recipe with BLEU.
199
+
200
+ <table><tr><td>model</td><td>all</td><td>table</td><td>table oov</td><td>word</td></tr><tr><td>seq2seq</td><td>1.35±0.01</td><td>4.98±0.38</td><td>1.99E7±7.75E6</td><td>1.23±0.01</td></tr><tr><td>table attn</td><td>1.37±0.01</td><td>5.09±0.64</td><td>7.91E7±1.39E8</td><td>1.24±0.01</td></tr><tr><td>table pointer</td><td>1.33±0.01</td><td>3.99±0.36</td><td>1360 ± 2600</td><td>1.23±0.01</td></tr><tr><td>table latent</td><td>1.36±0.01</td><td>4.99±0.20</td><td>3.78E7±6.08E7</td><td>1.24±0.01</td></tr><tr><td colspan="5">+ sentence attn</td></tr><tr><td>seq2seq</td><td>1.28±0.01</td><td>3.31±0.21</td><td>2.83E9±4.69E9</td><td>1.19±0.01</td></tr><tr><td>table attn</td><td>1.28±0.01</td><td>3.17±0.21</td><td>1.67E7±9.5E6</td><td>1.20±0.01</td></tr><tr><td>table pointer</td><td>1.27±0.01</td><td>2.99±0.19</td><td>82.86±110</td><td>1.20±0.01</td></tr><tr><td>table latent</td><td>1.28±0.01</td><td>3.26±0.25</td><td>1.27E7±1.41E7</td><td>1.20±0.01</td></tr></table>
201
+
202
+ Table 4: Dialogue perplexity results. (All means all tokens, table means tokens from table, table oov denotes table tokens that does not appear in the training set, word means non-table tokens). sentence attn denotes we use attention mechanism over tokens from past turn. Table pointer and table latent differs in that table pointer, we provide supervised signal on when to generate a table token, while in table latent it is a latent decision.
203
+
204
+ <table><tr><td rowspan="3">model</td><td colspan="4">val</td><td colspan="4">test</td></tr><tr><td colspan="3">ppl</td><td rowspan="2">BLEU</td><td colspan="3">ppl</td><td rowspan="2">BLEU</td></tr><tr><td>all</td><td>ing</td><td>word</td><td>all</td><td>ing</td><td>word</td></tr><tr><td>seq2seq</td><td>5.60</td><td>11.26</td><td>5.00</td><td>14.07</td><td>5.52</td><td>11.26</td><td>4.91</td><td>14.39</td></tr><tr><td>attn</td><td>5.25</td><td>6.86</td><td>5.03</td><td>14.84</td><td>5.19</td><td>6.92</td><td>4.95</td><td>15.15</td></tr><tr><td>pointer</td><td>5.15</td><td>5.86</td><td>5.04</td><td>15.06</td><td>5.11</td><td>6.04</td><td>4.98</td><td>15.29</td></tr><tr><td>latent</td><td>5.02</td><td>5.10</td><td>5.01</td><td>14.87</td><td>4.97</td><td>5.19</td><td>4.94</td><td>15.41</td></tr></table>
205
+
206
+ Table 5: Recipe result, evaluated in perplexity and BLEU score. ing denotes tokens from recipe that appear in ingredients.
207
+
208
+ <table><tr><td rowspan="2">model</td><td colspan="3">val</td><td colspan="3">test</td></tr><tr><td>all</td><td>entity</td><td>word</td><td>all</td><td>entity</td><td>word</td></tr><tr><td>lm</td><td>33.08</td><td>44.52</td><td>32.04</td><td>33.08</td><td>43.86</td><td>32.10</td></tr><tr><td>pointer</td><td>32.57</td><td>32.07</td><td>32.62</td><td>32.62</td><td>32.07</td><td>32.69</td></tr><tr><td>pointer +init</td><td>30.43</td><td>28.56</td><td>30.63</td><td>30.42</td><td>28.56</td><td>30.66</td></tr></table>
209
+
210
+ Table 6: Coreference based LM. pointer $^ +$ init means we initialize the model with the LM weights.
211
+
212
+ # 4.2 RESULTS AND ANALYSIS
213
+
214
+ The results for dialogue, recipe generation and coref language model are shown in Table 4, 5 and 6 respectively. We can see from Table 4 that models that condition on table performs better in predicting table tokens in general. Table pointer has the lowest perplexity for token in the table. Since the table token appears rarely in the dialogue, the overall perplexity does not differ much and the non-table tokens perplexity are similar. With attention mechanism over the table, the perplexity of table token improves over basic seq2seq model, but not as good as directly pointing to cells in the table. As expected, using sentence attention improves significantly over models without sentence attention. Surprisingly, table latent performs much worse than table pointer. We also measure the perplexity of table tokens that appear only in test set. For models other than table pointer, because the tokens never appear in training set, the perplexity is quite high, while table pointer can predict these tokens much more accurately. The recipe results in Table 5 in general follows that findings from the dialogue. But the latent model performs better than pointer model since that tokens in ingredients that match with recipe does not necessarily come from the ingredients. Imposing a supervised signal will give wrong information to the model and hence make the result worse. Hence with latent decision, the model learns to when to copy and when to generate it from the vocabulary. The coref LM results are shown in Table 6. We find that coref based LM performs much better on the entities perplexities, but however is a little bit worse than for non-entity words. We found it is an optimization problem and perhaps the model is stuck in local optimum. So we initialize the pointer model with the weights learned from LM, the pointer model performs better than LM both for entity perplexity and non-entity words perplexity.
215
+
216
+ # 5 RELATED WORK
217
+
218
+ Recently, there has been great progresses in modeling languages based on neural network, including language modeling (Mikolov et al., 2010; Jozefowicz et al., 2016), machine translation (Sutskever et al., 2014; Bahdanau et al., 2014), question answering (Hermann et al., 2015) etc. Based on the success of seq2seq models, neural networks are applied in modeling chit-chat dialogue (Li et al., 2016; Vinyals & Le, 2015; Sordoni et al., 2015; Serban et al., 2016; Shang et al., 2015) and task oriented dialogue (Wen et al., 2015; Bordes & Weston, 2016; Williams & Zweig, 2016; Wen et al., 2016). Most of the chit-chat neural dialogue models are simply applying the seq2seq models. For the task oriented dialogues, most of them embed the seq2seq model in traditional dialogue systems, in which the table query part is not differentiable. while our model queries the database directly. Recipe generation was proposed in (Kiddon et al., 2016). Their model extents previous work on attention models (Allamanis et al., 2016) to checklists, whereas our work models explicit references to those checklists. Context dependent language models (Mikolov et al., 2010; Ji et al., 2015; Wang & Cho, 2015) are proposed to capture long term dependency of text. There are also lots of works on coreference resolution (Haghighi & Klein, 2010; Wiseman et al., 2016). We are the first to combine coreference with language modeling, to the best of our knowledge. Much effort has been invested in embedding a copying mechanism for neural models (Gulc¸ehre et al. ¨ , 2016; Gu et al., 2016; Ling et al., 2016). In general, a gating mechanism is employed to combine the softmax over observed words and a pointer network (Vinyals et al., 2015). These gates can be trained either by marginalizing over both outcomes, or using heuristics (e.g. copy low frequency words). Our models are similar to models proposed in (Ahn et al., 2016; Merity et al., 2016), where the generation of each word can be conditioned on a particular entry in knowledge lists and previous words. In our work, we describe a model with broader applications, allowing us to condition, on databases, lists and dynamic lists.
219
+
220
+ # 6 CONCLUSION
221
+
222
+ We introduce reference-aware language models which explicitly model the decision of from where to generate the token at each step. Our model can also learns the decision by treating it as a latent variable. We demonstrate on three tasks, table based dialogue modeling, recipe generation and coref based LM, that our model performs better than attention based model, which does not incorporate this decision explicitly. There are several directions to explore further based on our framework. The current evaluation method is based on perplexity and BLEU. In task oriented dialogues, we can also try human evaluation to see if the model can reply users’ query accurately. It is also interesting to use reinforcement learning to learn the actions in each step.
223
+
224
+ # REFERENCES
225
+
226
+ Sungjin Ahn, Heeyoul Choi, Tanel Parnamaa, and Yoshua Bengio. A neural knowledge language ¨ model. CoRR, abs/1608.00318, 2016.
227
+
228
+ Miltiadis Allamanis, Hao Peng, and Charles A. Sutton. A convolutional attention network for extreme summarization of source code. CoRR, abs/1602.03001, 2016. URL http://arxiv. org/abs/1602.03001.
229
+
230
+ Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. CoRR, abs/1409.0473, 2014. URL http://arxiv.org/ abs/1409.0473.
231
+
232
+ Antoine Bordes and Jason Weston. Learning end-to-end goal-oriented dialog. arXiv preprint arXiv:1605.07683, 2016.
233
+
234
+ Jiatao Gu, Zhengdong Lu, Hang Li, and Victor O. K. Li. Incorporating copying mechanism in sequence-to-sequence learning. CoRR, abs/1603.06393, 2016. URL http://arxiv.org/ abs/1603.06393.
235
+
236
+ C¸ aglar Gulc¸ehre, Sungjin Ahn, Ramesh Nallapati, Bowen Zhou, and Yoshua Bengio. Pointing ¨ the unknown words. CoRR, abs/1603.08148, 2016. URL http://arxiv.org/abs/1603. 08148.
237
+
238
+ Aria Haghighi and Dan Klein. Coreference resolution in a modular, entity-centered model. In Human Language Technologies: The 2010 Annual Conference of the North American Chapter of the Association for Computational Linguistics, pp. 385–393. Association for Computational Linguistics, 2010.
239
+
240
+ Matthew Henderson, Blaise Thomson, and Jason Williams. Dialog state tracking challenge 2 & 3, 2014.
241
+
242
+ Karl Moritz Hermann, Tomas Kocisky, Edward Grefenstette, Lasse Espeholt, Will Kay, Mustafa Suleyman, and Phil Blunsom. Teaching machines to read and comprehend. In Advances in Neural Information Processing Systems, pp. 1693–1701, 2015.
243
+
244
+ Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural Comput., 9(8):1735– 1780, November 1997. ISSN 0899-7667. doi: 10.1162/neco.1997.9.8.1735. URL http://dx. doi.org/10.1162/neco.1997.9.8.1735.
245
+
246
+ Yangfeng Ji, Trevor Cohn, Lingpeng Kong, Chris Dyer, and Jacob Eisenstein. Document context language models. arXiv preprint arXiv:1511.03962, 2015.
247
+
248
+ Rafal Jozefowicz, Oriol Vinyals, Mike Schuster, Noam Shazeer, and Yonghui Wu. Exploring the limits of language modeling. arXiv preprint arXiv:1602.02410, 2016.
249
+
250
+ Chloe Kiddon, Luke Zettlemoyer, and Yejin Choi. Globally coherent text generation with neural ´ checklist models. In Proc. EMNLP, 2016.
251
+
252
+ Jiwei Li, Will Monroe, Alan Ritter, Michel Galley, Jianfeng Gao, and Dan Jurafsky. Deep reinforcement learning for dialogue generation. In Proc. EMNLP, 2016.
253
+
254
+ Wang Ling, Edward Grefenstette, Karl Moritz Hermann, Toma´s Ko ˇ cisk ˇ y, Andrew Senior, Fumin ´ Wang, and Phil Blunsom. Latent predictor networks for code generation. In Proc. ACL, 2016.
255
+
256
+ Stephen Merity, Caiming Xiong, James Bradbury, and Richard Socher. Pointer sentinel mixture models. arXiv preprint arXiv:1609.07843, 2016.
257
+
258
+ Tomas Mikolov, Martin Karafiat, Lukas Burget, Jan Cernock ´ y, and Sanjeev Khudanpur. Recurrent \` neural network based language model. In Interspeech, volume 2, pp. 3, 2010.
259
+
260
+ Iulian V Serban, Alessandro Sordoni, Yoshua Bengio, Aaron Courville, and Joelle Pineau. Building end-to-end dialogue systems using generative hierarchical neural network models. In Proceedings of the 30th AAAI Conference on Artificial Intelligence (AAAI-16), 2016.
261
+
262
+ Lifeng Shang, Zhengdong Lu, and Hang Li. Neural responding machine for short-text conversation. arXiv preprint arXiv:1503.02364, 2015.
263
+
264
+ Alessandro Sordoni, Michel Galley, Michael Auli, Chris Brockett, Yangfeng Ji, Meg Mitchell, JianYun Nie, Jianfeng Gao, and Bill Dolan. A neural network approach to context-sensitive generation of conversational responses. In Proc. NAACL, 2015.
265
+
266
+ Ilya Sutskever, Oriol Vinyals, and Quoc V Le. Sequence to sequence learning with neural networks. In Advances in neural information processing systems, pp. 3104–3112, 2014.
267
+
268
+ Oriol Vinyals and Quoc V. Le. A neural conversational model. In Proc. ICML Deep Learning Workshop, 2015.
269
+
270
+ Oriol Vinyals, Meire Fortunato, and Navdeep Jaitly. Pointer networks. In Proc. NIPS, 2015.
271
+
272
+ Tian Wang and Kyunghyun Cho. Larger-context language modelling. arXiv preprint arXiv:1511.03729, 2015.
273
+
274
+ Tsung-Hsien Wen, Milica Gasic, Nikola Mrksic, Pei-hao Su, David Vandyke, and Steve J. Young. Semantically conditioned LSTM-based natural language generation for spoken dialogue systems. In Proc. EMNLP, 2015.
275
+
276
+ Tsung-Hsien Wen, Milica Gasic, Nikola Mrksic, Lina M Rojas-Barahona, Pei-Hao Su, Stefan Ultes, David Vandyke, and Steve Young. A network-based end-to-end trainable task-oriented dialogue system. arXiv preprint arXiv:1604.04562, 2016.
277
+
278
+ Jason D Williams and Geoffrey Zweig. End-to-end lstm-based dialog control optimized with supervised and reinforcement learning. arXiv preprint arXiv:1606.01269, 2016.
279
+
280
+ Sam Wiseman, Alexander M Rush, and Stuart M Shieber. Learning global features for coreference resolution. arXiv preprint arXiv:1604.03035, 2016.
281
+
282
+ Steve Young, Milica Gasiˇ c, Blaise Thomson, and Jason D Williams. Pomdp-based statistical spoken ´ dialog systems: A review. Proceedings of the IEEE, 101(5):1160–1179, 2013.
283
+
284
+ # A VISUALIZATION
285
+
286
+ M: Hello , welcome to the Cambridge restaurant system ? You can ask for restaurants by area , price range or food type . How may I help you ?
287
+ U: and expensive restaurant that serves tuscan food
288
+ M: Sorry there is no tuscan restaurant in the expensive price range
289
+ U: french food
290
+ M: cote is a great restaurant serving french food and it is in the expensive price range
291
+ U: may i have the phone number
292
+ M: The phone number of cote is 01223 311053 .
293
+ U: thank you good bye
294
+ M: Hello , welcome to the Cambridge restaurant system ? You can ask for restaurants by area , price range or food type . How may I help you ?
295
+ U: cheap restaurant
296
+ M: What kind of food would you like ?
297
+ U: in the west part of town
298
+ M: la margherita is a nice restaurant in the west of town in the cheap price range
299
+ U: address
300
+ M: Sure , la margherita is on 15 Magdalene Street City Centre
301
+ U: thank you
302
+ M: la margherita is a nice restaurant in the west of town in the cheap price range
303
+ U: good bye
304
+
305
+ (a) Dialogue script
306
+
307
+ <table><tr><td rowspan=1 colspan=1>NAME</td><td rowspan=1 colspan=1>PRICE RANGE</td><td rowspan=1 colspan=1>FOOD</td><td rowspan=1 colspan=1>AREA</td><td rowspan=1 colspan=1>ADDRESS</td><td rowspan=1 colspan=1>POST CODE</td><td rowspan=1 colspan=1>PHONE</td></tr><tr><td rowspan=1 colspan=1>charlie chan</td><td rowspan=1 colspan=1>cheap</td><td rowspan=1 colspan=1>chinese</td><td rowspan=1 colspan=1>east</td><td rowspan=1 colspan=1>Regent Street City Cen-tre</td><td rowspan=1 colspan=1>C.B 2, 1 D.B</td><td rowspan=1 colspan=1>01223 361763</td></tr><tr><td rowspan=1 colspan=1>chiquito restau-rant bar</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>mexican</td><td rowspan=1 colspan=1>south</td><td rowspan=1 colspan=1>2G Cambridge LeisurePark Cherry HintonRoad Cherry Hinton</td><td rowspan=1 colspan=1>C.B 1,7D.Y</td><td rowspan=1 colspan=1>01223 400170</td></tr><tr><td rowspan=1 colspan=1>city stop</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>food</td><td rowspan=1 colspan=1>north</td><td rowspan=1 colspan=1>Cambridge City Foot-ball Club Milton RoadChesterton</td><td rowspan=1 colspan=1>EMPTY</td><td rowspan=1 colspan=1>01223 363270</td></tr><tr><td rowspan=1 colspan=1>clowns cafe</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>italian</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>EMPTY</td><td rowspan=1 colspan=1>C.B 1,1 L.N</td><td rowspan=1 colspan=1>01223 355711</td></tr><tr><td rowspan=1 colspan=1>cocum</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>indian</td><td rowspan=1 colspan=1>west</td><td rowspan=1 colspan=1>71 CastleStreet CityCentre</td><td rowspan=1 colspan=1>C.B 3,0 A.H</td><td rowspan=1 colspan=1>01223 366668</td></tr><tr><td rowspan=1 colspan=1>cote</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>french</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>Bridge Street City Cen-tre</td><td rowspan=1 colspan=1>C.B 2, 1U.F</td><td rowspan=1 colspan=1>01223 311053</td></tr><tr><td rowspan=1 colspan=1> curry garden</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>indian</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>106 Regent Street CityCentre</td><td rowspan=1 colspan=1>EMPTY</td><td rowspan=1 colspan=1>01223 302330</td></tr><tr><td rowspan=1 colspan=1>curry king</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>indian</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>5Jordans Yard BridgeStreet City Centre</td><td rowspan=1 colspan=1>C.B 1,2 B.D</td><td rowspan=1 colspan=1>01223 324351</td></tr><tr><td rowspan=1 colspan=1>curry prince</td><td rowspan=1 colspan=1>moderate</td><td rowspan=1 colspan=1>indian</td><td rowspan=1 colspan=1>east</td><td rowspan=1 colspan=1>451 Newmarket RoadFen Ditton</td><td rowspan=1 colspan=1>C.B 5, 8 J.J</td><td rowspan=1 colspan=1>01223 566388</td></tr></table>
308
+
309
+ (b) Attention heat map: cote is a great restaurant serving french food and it is in the expensive price range.
310
+ Table 7: Dialogue visualization 1
311
+
312
+ <table><tr><td rowspan=1 colspan=1>NAME</td><td rowspan=1 colspan=1>PRICERANGE</td><td rowspan=1 colspan=1>FOOD</td><td rowspan=1 colspan=1>AREA</td><td rowspan=1 colspan=1>ADDRESS</td><td rowspan=1 colspan=1>POST CODE</td><td rowspan=1 colspan=1>PHONE</td></tr><tr><td rowspan=1 colspan=1>charlie chan</td><td rowspan=1 colspan=1>cheap</td><td rowspan=1 colspan=1>chinese</td><td rowspan=1 colspan=1>east</td><td rowspan=1 colspan=1>Regent Street City Cen-tre</td><td rowspan=1 colspan=1>C.B 2,1 D.B</td><td rowspan=1 colspan=1>01223 361763</td></tr><tr><td rowspan=1 colspan=1>chiquito restau-rant bar</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>mexican</td><td rowspan=1 colspan=1>south</td><td rowspan=1 colspan=1>2G Cambridge LeisurePark Cherry HintonRoad CherryHinton</td><td rowspan=1 colspan=1>C.B 1,7D.Y</td><td rowspan=1 colspan=1>01223 400170</td></tr><tr><td rowspan=1 colspan=1>city stop</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>food</td><td rowspan=1 colspan=1>north</td><td rowspan=1 colspan=1>Cambridge City Foot-ball Club Milton RoadChesterton</td><td rowspan=1 colspan=1>EMPTY</td><td rowspan=1 colspan=1>01223 363270</td></tr><tr><td rowspan=1 colspan=1>clowns cafe</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>italian</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>EMPTY</td><td rowspan=1 colspan=1>C.B1, 1 L.N</td><td rowspan=1 colspan=1>01223 355711</td></tr><tr><td rowspan=1 colspan=1>cocum</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>indian</td><td rowspan=1 colspan=1>west</td><td rowspan=1 colspan=1>71 CastleStreet CityCentre</td><td rowspan=1 colspan=1>C.B 3,0 A.H</td><td rowspan=1 colspan=1>01223 366668</td></tr><tr><td rowspan=1 colspan=1>cote</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>french</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>Bridge Street City Cen-tre</td><td rowspan=1 colspan=1>C.B 2,1 U.F</td><td rowspan=1 colspan=1>01223 311053</td></tr><tr><td rowspan=1 colspan=1>curry garden</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>indian</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>106 Regent Street CityCentre</td><td rowspan=1 colspan=1>EMPTY</td><td rowspan=1 colspan=1>01223302330</td></tr><tr><td rowspan=1 colspan=1> curry king</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>indian</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>5Jordans Yard BridgeStreet City Centre</td><td rowspan=1 colspan=1>C.B1,2 B.D</td><td rowspan=1 colspan=1>01223 324351</td></tr><tr><td rowspan=1 colspan=1>curry prince</td><td rowspan=1 colspan=1>moderate</td><td rowspan=1 colspan=1>indian</td><td rowspan=1 colspan=1>east</td><td rowspan=1 colspan=1>451 Newmarket RoadFen Ditton</td><td rowspan=1 colspan=1>C.B 5, 8 J.J</td><td rowspan=1 colspan=1>01223 566388</td></tr></table>
313
+
314
+ (c) Attention heap map: The phone number of cote is 01223 311053 .
315
+
316
+ (a) Dialogue script
317
+
318
+ <table><tr><td rowspan=1 colspan=1>NAME</td><td rowspan=1 colspan=1>PRICE RANGE</td><td rowspan=1 colspan=1>FOOD</td><td rowspan=1 colspan=1>AREA</td><td rowspan=1 colspan=1>ADDRESS</td><td rowspan=1 colspan=1>POST CODE</td><td rowspan=1 colspan=1>PHONE</td></tr><tr><td rowspan=1 colspan=1>india house</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>indian</td><td rowspan=1 colspan=1>west</td><td rowspan=1 colspan=1>31Newnham RoadNewnham</td><td rowspan=1 colspan=1>EMPTY</td><td rowspan=1 colspan=1>01223 461661</td></tr><tr><td rowspan=1 colspan=1>j restaurant</td><td rowspan=1 colspan=1>cheap</td><td rowspan=1 colspan=1>oriental</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>86Regent Street CityCentre</td><td rowspan=1 colspan=1>C.B 2,1 D.P</td><td rowspan=1 colspan=1>01223 307581</td></tr><tr><td rowspan=1 colspan=1>jinlingnoodlebar</td><td rowspan=1 colspan=1>moderate</td><td rowspan=1 colspan=1>chinese</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>11 Peas Hill City Cen-tre</td><td rowspan=1 colspan=1>C.B 2, 3 P.P</td><td rowspan=1 colspan=1>01223 566188</td></tr><tr><td rowspan=1 colspan=1>kohinoor</td><td rowspan=1 colspan=1>cheap</td><td rowspan=1 colspan=1>indian</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>74 Mill Road City Cen-tre</td><td rowspan=1 colspan=1>EMPTY</td><td rowspan=1 colspan=1>01223 323639</td></tr><tr><td rowspan=1 colspan=1>kymmoy</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>oriental</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1> 52 Mill Road City Cen-tre</td><td rowspan=1 colspan=1>C.B 1,2 A.S</td><td rowspan=1 colspan=1>01223 311911</td></tr><tr><td rowspan=1 colspan=1>la margherita</td><td rowspan=1 colspan=1>cheap</td><td rowspan=1 colspan=1>italian</td><td rowspan=1 colspan=1>west</td><td rowspan=1 colspan=1>15MagdaleneStreetCity Centre</td><td rowspan=1 colspan=1>C.B 3,0 A.F</td><td rowspan=1 colspan=1>01223 315232</td></tr><tr><td rowspan=1 colspan=1>la mimosa</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>mediterranean</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>ThompsonsLane FenDitton</td><td rowspan=1 colspan=1>C.B 5,8 A.Q</td><td rowspan=1 colspan=1>01223 362525</td></tr><tr><td rowspan=1 colspan=1>la raza</td><td rowspan=1 colspan=1>cheap</td><td rowspan=1 colspan=1>spanish</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>4-6Rose Crescent</td><td rowspan=1 colspan=1>C.B 2, 3L.L</td><td rowspan=1 colspan=1>01223 464550</td></tr><tr><td rowspan=1 colspan=1>la tasca</td><td rowspan=1 colspan=1>moderate</td><td rowspan=1 colspan=1>spanish</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>14 -16 Bridge Street</td><td rowspan=1 colspan=1>C.B 2,1U.F</td><td rowspan=1 colspan=1>01223464630</td></tr><tr><td rowspan=1 colspan=1>lan hong house</td><td rowspan=1 colspan=1>moderate</td><td rowspan=1 colspan=1>chinese</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>12 Norfolk Street CityCentre</td><td rowspan=1 colspan=1>EMPTY</td><td rowspan=1 colspan=1>01223 350420</td></tr></table>
319
+
320
+ (b) Attention heat map: la margherita is a nice restaurant in the west of town in the cheap price range
321
+ Table 8: Dialogue visualization 2
322
+
323
+ <table><tr><td rowspan=1 colspan=1>NAME</td><td rowspan=1 colspan=1>PRICE RANGE</td><td rowspan=1 colspan=1>FOOD</td><td rowspan=1 colspan=1>AREA</td><td rowspan=1 colspan=1>ADDRESS</td><td rowspan=1 colspan=1>POST CODE</td><td rowspan=1 colspan=1>PHONE</td></tr><tr><td rowspan=1 colspan=1>india house</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>indian</td><td rowspan=1 colspan=1>west</td><td rowspan=1 colspan=1>311Newnham RoadNewnham</td><td rowspan=1 colspan=1>EMPTY</td><td rowspan=1 colspan=1>01223 461661</td></tr><tr><td rowspan=1 colspan=1>jrestaurant</td><td rowspan=1 colspan=1>cheap</td><td rowspan=1 colspan=1>oriental</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>86RegentStreet CityCentre</td><td rowspan=1 colspan=1>C.B 2, 1 D.P</td><td rowspan=1 colspan=1>01223 307581</td></tr><tr><td rowspan=1 colspan=1> jinlingnoodlebar</td><td rowspan=1 colspan=1>moderate</td><td rowspan=1 colspan=1>chinese</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>11 Peas Hill City Cen-tre</td><td rowspan=1 colspan=1>C.B 2, 3 P.P</td><td rowspan=1 colspan=1>01223 566188</td></tr><tr><td rowspan=1 colspan=1>kohinoor</td><td rowspan=1 colspan=1>cheap</td><td rowspan=1 colspan=1>indian</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>74 Mill Road City Cen-tre</td><td rowspan=1 colspan=1>EMPTY</td><td rowspan=1 colspan=1>01223 323639</td></tr><tr><td rowspan=1 colspan=1>kymmoy</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>oriental</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1> 52 Mill Road City Cen-tre</td><td rowspan=1 colspan=1>C.B 1,2 A.S</td><td rowspan=1 colspan=1>01223 311911</td></tr><tr><td rowspan=1 colspan=1>la margherita</td><td rowspan=1 colspan=1>cheap</td><td rowspan=1 colspan=1>italian</td><td rowspan=1 colspan=1>west</td><td rowspan=1 colspan=1> 15 MagdaleneStreetCity Centre</td><td rowspan=1 colspan=1>C.B 3,0 A.F</td><td rowspan=1 colspan=1>01223 315232</td></tr><tr><td rowspan=1 colspan=1>la mimosa</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>mediterranean</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>ThompsonsLane FenDitton</td><td rowspan=1 colspan=1>C.B 5, 8 A.Q</td><td rowspan=1 colspan=1>01223 362525</td></tr><tr><td rowspan=1 colspan=1>la raza</td><td rowspan=1 colspan=1>cheap</td><td rowspan=1 colspan=1>spanish</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>4 -6 Rose Crescent</td><td rowspan=1 colspan=1>C.B 2, 3 L.L</td><td rowspan=1 colspan=1>01223 464550</td></tr><tr><td rowspan=1 colspan=1>la tasca</td><td rowspan=1 colspan=1>moderate</td><td rowspan=1 colspan=1>spanish</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>14-16 Bridge Street</td><td rowspan=1 colspan=1>C.B 2, 1 U.F</td><td rowspan=1 colspan=1>01223 464630</td></tr><tr><td rowspan=1 colspan=1>lan hong house</td><td rowspan=1 colspan=1>moderate</td><td rowspan=1 colspan=1>chinese</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>12 Norfolk Street CityCentre</td><td rowspan=1 colspan=1>EMPTY</td><td rowspan=1 colspan=1>01223 350420</td></tr></table>
324
+
325
+ (c) Attention heap map: Sure , la margherita is on 15 Magdalene Street City Centre.
326
+
327
+ ![](images/5c040a0339d10ef5db2a8c0736a89dc5f36207d727dc95cefe05eff4a67e065b.jpg)
328
+ Figure 6: Recipe heat map example 1. The ingredient tokens appear on the left while the recipe tokens appear on the top. The first row is the $p \big ( \bar { z } _ { v } | s _ { v } \big )$ .
329
+
330
+ ![](images/540e5f6a28797252925d3445abfb72ca056f1c0a464097561f7c4b5ff011b8df.jpg)
331
+ Figure 7: Recipe heat map example 2.
parse/train/ByG8A7cee/ByG8A7cee_content_list.json ADDED
@@ -0,0 +1,1601 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "REFERENCE-AWARE LANGUAGE MODELS ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 176,
8
+ 99,
9
+ 676,
10
+ 121
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Zichao $\\mathbf { Y a n g ^ { 1 * } }$ ∗, Phil Blunsom2,3, Chris Dyer1,2, and Wang Ling2 1Carnegie Mellon University, 2DeepMind, and 3University of Oxford zichaoy@cs.cmu.edu, {pblunsom,cdyer,lingwang}@google.com ",
17
+ "bbox": [
18
+ 184,
19
+ 142,
20
+ 730,
21
+ 188
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "ABSTRACT ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 454,
31
+ 224,
32
+ 544,
33
+ 239
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "We propose a general class of language models that treat reference as an explicit stochastic latent variable. This architecture allows models to create mentions of entities and their attributes by accessing external databases (required by, e.g., dialogue generation and recipe generation) and internal state (required by, e.g. language models which are aware of coreference). This facilitates the incorporation of information that can be accessed in predictable locations in databases or discourse context, even when the targets of the reference may be rare words. Experiments on three tasks show our model variants outperform models based on deterministic attention. ",
40
+ "bbox": [
41
+ 233,
42
+ 256,
43
+ 764,
44
+ 381
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 INTRODUCTION ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 176,
54
+ 409,
55
+ 334,
56
+ 425
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Referring expressions (REs) in natural language are noun phrases (proper nouns, common nouns, and pronouns) that identify objects, entities, and events in an environment. REs occur frequently and they play a key role in communicating information efficiently. While REs are common, previous works neglect to model REs explicitly, either treating REs as ordinary words in the model or replacing them with special tokens. Here we propose a language modeling framework that explicitly incorporates reference decisions. ",
63
+ "bbox": [
64
+ 174,
65
+ 441,
66
+ 825,
67
+ 523
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "In Figure 1 we list examples of REs in the context of the three tasks that we consider in this work. Firstly, reference to a database is crucial in many applications. One example is in task oriented dialogue where access to a database is necessary to answer a user’s query (Young et al., 2013; Li et al., 2016; Vinyals & Le, 2015; Wen et al., 2015; Sordoni et al., 2015; Serban et al., 2016; Bordes & Weston, 2016; Williams & Zweig, 2016; Shang et al., 2015; Wen et al., 2016). Here we consider the domain of restaurant recommendation where a system refers to restaurants (name) and their attributes (address, phone number etc) in its responses. When the system says “the nirala is a nice restaurant”, it refers to the restaurant name the nirala from the database. Secondly, many models need to refer to a list of items (Kiddon et al., 2016; Wen et al., 2015). In the task of recipe generation from a list of ingredients (Kiddon et al., 2016), the generation of the recipe will frequently reference these items. As shown in Figure 1, in the recipe “Blend soy milk and . . . ”, soy milk refers to the ingredient summaries. Finally, we address references within a document (Mikolov et al., 2010; Ji et al., 2015; Wang & Cho, 2015), as the generation of words will ofter refer to previously generated words. For instance the same entity will often be referred to throughout a document. In Figure 1, the entity you refers to I in a previous utterance. ",
74
+ "bbox": [
75
+ 174,
76
+ 532,
77
+ 825,
78
+ 739
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "In this work we develop a language model that has a specific module for generating REs. A series of latent decisions (should I generate a RE? If yes, which entity in the context should I refer to? How should the RE be rendered?) augment a traditional recurrent neural network language model and the two components are combined as a mixture model. Selecting an entity in context is similar to familiar models of attention (Bahdanau et al., 2014), but rather than being a deterministic function that reweights representations of elements in the context, it is treated as a distribution over contextual elements which are stochastically selected and then copied or, if the task warrants it, transformed (e.g., a pronoun rather than a proper name is produced as output). Two variants are possible for updating the RNN state: one that only looks at the generated output form; and a second that looks at values of the latent variables. The former admits trivial unsupervised learning, latent decisions are conditionally independent of each other given observed context, whereas the latter enables more expressive models that can extract information from the entity that is being referred to. In each of the three tasks, we demonstrate our reference aware model’s efficacy in evaluations against models that do not explicitly include a reference operation. ",
85
+ "bbox": [
86
+ 174,
87
+ 747,
88
+ 825,
89
+ 900
90
+ ],
91
+ "page_idx": 0
92
+ },
93
+ {
94
+ "type": "image",
95
+ "img_path": "images/b3c493786dc3a9b650fc7c012d8f1e8c16fa322597d6a17781862a6e4457f828.jpg",
96
+ "image_caption": [
97
+ "Figure 1: Reference-aware language models. "
98
+ ],
99
+ "image_footnote": [],
100
+ "bbox": [
101
+ 281,
102
+ 109,
103
+ 717,
104
+ 237
105
+ ],
106
+ "page_idx": 1
107
+ },
108
+ {
109
+ "type": "text",
110
+ "text": "",
111
+ "bbox": [
112
+ 174,
113
+ 296,
114
+ 825,
115
+ 339
116
+ ],
117
+ "page_idx": 1
118
+ },
119
+ {
120
+ "type": "text",
121
+ "text": "Our contributions are as follows: ",
122
+ "bbox": [
123
+ 174,
124
+ 345,
125
+ 390,
126
+ 359
127
+ ],
128
+ "page_idx": 1
129
+ },
130
+ {
131
+ "type": "text",
132
+ "text": "• We propose a general framework to model reference in language and instantiate it in the context of dialogue modeling, recipe generation and coreference based language models. • We build three data sets to test our models. There lack existing data sets that satisfy our need, so we build these data sets ourselves. These data sets are either built on top existing data set (we constructed the table for DSTC2 data set for dialogue evaluation), crawled from websites (we crawled all recipes in www.allrecipes.com) or annotated with NLP tools (we annotate the coreference with Gigaword corpus for our evaluation). • We perform comprehensive evaluation of our models on the three data sets and verify our models perform better than strong baselines. ",
133
+ "bbox": [
134
+ 215,
135
+ 372,
136
+ 825,
137
+ 508
138
+ ],
139
+ "page_idx": 1
140
+ },
141
+ {
142
+ "type": "text",
143
+ "text": "2 REFERENCE-AWARE LANGUAGE MODELS ",
144
+ "text_level": 1,
145
+ "bbox": [
146
+ 174,
147
+ 534,
148
+ 547,
149
+ 549
150
+ ],
151
+ "page_idx": 1
152
+ },
153
+ {
154
+ "type": "text",
155
+ "text": "Here we propose a general framework for reference-aware language models. ",
156
+ "bbox": [
157
+ 176,
158
+ 563,
159
+ 673,
160
+ 578
161
+ ],
162
+ "page_idx": 1
163
+ },
164
+ {
165
+ "type": "text",
166
+ "text": "We denote each document as a series of tokens $x _ { 1 } , \\ldots , x _ { L }$ , where $L$ is the number of tokens in the document. Our goal is to maximize the probabilities $p ( x _ { i } \\mid c _ { i } )$ , for each word in the document based on its previous context $c _ { i } = x _ { 1 } , \\ldots , x _ { i - 1 }$ . In contrast to traditional neural language models, we introduce a variable at each position $z _ { i }$ , which controls the decision on which source $x _ { i }$ is generated from. The token conditional probably is then obtained by: ",
167
+ "bbox": [
168
+ 174,
169
+ 584,
170
+ 825,
171
+ 655
172
+ ],
173
+ "page_idx": 1
174
+ },
175
+ {
176
+ "type": "equation",
177
+ "img_path": "images/a408daa414778b14a0cab2c0d09ff2fd66785f031873300b5337363e5f169b6a.jpg",
178
+ "text": "$$\np ( x _ { i } \\mid c _ { i } ) = p ( x _ { i } \\mid z _ { i } , c _ { i } ) p ( z _ { i } \\mid c _ { i } ) .\n$$",
179
+ "text_format": "latex",
180
+ "bbox": [
181
+ 380,
182
+ 660,
183
+ 616,
184
+ 679
185
+ ],
186
+ "page_idx": 1
187
+ },
188
+ {
189
+ "type": "text",
190
+ "text": "In dialogue modeling and recipe generation, $z _ { i }$ will simply taken on values in $\\{ 0 , 1 \\}$ . Where $z _ { i } = 1$ denotes that $x _ { i }$ is generated as a reference, either to a database entry or an item in a list. However, $z _ { i }$ can also be defined as a distribution over previous entities, allowing the model to predict $x _ { i }$ conditioned on its a previous mention word. This will be the focus of the coreference language model. When $z _ { i }$ is not observed (which it generally will not be), we will train our model to maximize the marginal probability in Eq. 1 directly. ",
191
+ "bbox": [
192
+ 174,
193
+ 691,
194
+ 825,
195
+ 776
196
+ ],
197
+ "page_idx": 1
198
+ },
199
+ {
200
+ "type": "text",
201
+ "text": "2.1 DIALOGUE MODEL WITH DATABASE SUPPORT ",
202
+ "text_level": 1,
203
+ "bbox": [
204
+ 174,
205
+ 792,
206
+ 537,
207
+ 808
208
+ ],
209
+ "page_idx": 1
210
+ },
211
+ {
212
+ "type": "text",
213
+ "text": "We first apply our model on task-oriented dialogue systems in the domain of restaurant recommendations, and work on the data set from the second Dialogue State Tracking Challenge (DSTC2) (Henderson et al., 2014). Table. 1 is one example dialogue from this dataset. ",
214
+ "bbox": [
215
+ 174,
216
+ 818,
217
+ 823,
218
+ 861
219
+ ],
220
+ "page_idx": 1
221
+ },
222
+ {
223
+ "type": "text",
224
+ "text": "We can observe from this example, users get recommendations of restaurants based on queries that specify the area, price and food type of the restaurant. We can support the system’s decisions by incorporating a mechanism that allows the model to query the database allowing the model to find restaurants that satisfy the users queries. Thus, we crawled TripAdvisor for restaurants in the ",
225
+ "bbox": [
226
+ 174,
227
+ 867,
228
+ 823,
229
+ 924
230
+ ],
231
+ "page_idx": 1
232
+ },
233
+ {
234
+ "type": "text",
235
+ "text": "M: Hello , welcome to the Cambridge restaurant system? You can ask for restaurants by area, price range or food type . How may I help you? U: i want a moderately priced restaurant in the north town M: the nirala is a nice restaurant in the north of town in the moderate price range U: what is the address M: Sure , the nirala is on 7 Milton Road Chesterton ",
236
+ "bbox": [
237
+ 199,
238
+ 101,
239
+ 797,
240
+ 185
241
+ ],
242
+ "page_idx": 2
243
+ },
244
+ {
245
+ "type": "table",
246
+ "img_path": "images/801ffef07eb629bad790ce259b827d304563c3a93b5991dd3a911571718eca3e.jpg",
247
+ "table_caption": [
248
+ "Table 1: Example dialogue, M stands for Machine and U stands for User ",
249
+ "Table 2: Fragment of database for dialogue system. "
250
+ ],
251
+ "table_footnote": [],
252
+ "table_body": "<table><tr><td rowspan=1 colspan=1>NAME</td><td rowspan=1 colspan=1>PRICE RANGE</td><td rowspan=1 colspan=1>FOOD</td><td rowspan=1 colspan=1>AREA</td><td rowspan=1 colspan=1>ADDRESS</td><td rowspan=1 colspan=1>POST CODE</td><td rowspan=1 colspan=1>PHONE</td></tr><tr><td rowspan=1 colspan=1>ali baba</td><td rowspan=1 colspan=1>moderate</td><td rowspan=1 colspan=1>lebanese</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>59 Hills Road City Cen-tre</td><td rowspan=1 colspan=1>CB 2,1NT</td><td rowspan=1 colspan=1>01462 432565</td></tr><tr><td rowspan=1 colspan=1>thenirala</td><td rowspan=1 colspan=1>moderate</td><td rowspan=1 colspan=1>indian</td><td rowspan=1 colspan=1>north</td><td rowspan=1 colspan=1>7 Milton Road Chester-ton</td><td rowspan=1 colspan=1>CB 4,1 UY</td><td rowspan=1 colspan=1>01223 360966</td></tr></table>",
253
+ "bbox": [
254
+ 173,
255
+ 226,
256
+ 834,
257
+ 292
258
+ ],
259
+ "page_idx": 2
260
+ },
261
+ {
262
+ "type": "text",
263
+ "text": "Cambridge area, where the dialog dataset was collected. Then, we remove restaurants that do not appear in the data set and create a database with 109 entries with restaurants and their attributes (e.g. food type). A sample of our database is shown in Table. 2. We can observe that each restaurant contains 6 attributes that are generally referred in the dialogue dataset. As such, if the user requests a restaurant that serves “indian” food, we wish to train a model that can search for entries whose “food” column contains “indian”. Now, we describe how we deploy a model that fulfills these requirements. ",
264
+ "bbox": [
265
+ 173,
266
+ 344,
267
+ 826,
268
+ 443
269
+ ],
270
+ "page_idx": 2
271
+ },
272
+ {
273
+ "type": "text",
274
+ "text": "2.1.1 DIALOGUE MODEL ",
275
+ "text_level": 1,
276
+ "bbox": [
277
+ 174,
278
+ 458,
279
+ 362,
280
+ 473
281
+ ],
282
+ "page_idx": 2
283
+ },
284
+ {
285
+ "type": "image",
286
+ "img_path": "images/87ef1fc8d188ea02069cf542faffb56d265b9b1740204980353fa21d6da852bf.jpg",
287
+ "image_caption": [
288
+ "Figure 2: Hierarchical RNN Seq2Seq model "
289
+ ],
290
+ "image_footnote": [],
291
+ "bbox": [
292
+ 339,
293
+ 493,
294
+ 658,
295
+ 565
296
+ ],
297
+ "page_idx": 2
298
+ },
299
+ {
300
+ "type": "text",
301
+ "text": "We build a model based on the hierarchical RNN model described in (Serban et al., 2016), as in dialogues, the generation of the response is not only dependent on the previous sentence, but on all sentences leading to the response. We assume that a dialogue is alternated between a machine and a user. An illustration of the model is shown in Figure 2. ",
302
+ "bbox": [
303
+ 174,
304
+ 613,
305
+ 826,
306
+ 670
307
+ ],
308
+ "page_idx": 2
309
+ },
310
+ {
311
+ "type": "text",
312
+ "text": "Consider a dialogue with $T$ turns, and the utterance from a user is denoted as $X = \\{ x _ { i } \\} _ { i = 1 } ^ { T }$ , where $i$ is the $i$ -th utterance, whereas the utterance from a machine is denoted as ${ \\cal Y } = \\{ y _ { i } \\} _ { i = 1 } ^ { T }$ , where $i$ is the $i$ -th utterance. We define $x _ { i } = \\{ x _ { i j } \\} _ { j = 1 } ^ { | x _ { i } | }$ , $y _ { i } = \\{ y _ { i v } \\} _ { v = 1 } ^ { | y _ { i } | }$ , where $x _ { i j }$ denotes the $j$ -th token in the $i$ -th utterance from the user, whereas $y _ { i v }$ denotes the $v$ -th token in the $i$ -th utterance from the machine. Finally, $\\left| x _ { i } \\right|$ and $| y _ { i } |$ denote the number of tokens in the user and machine utterances, respectively. The dialogue sequence starts with machine utterance $\\left\\{ y _ { 1 } , x _ { 1 } , y _ { 2 } , x _ { 2 } , \\dots , y _ { T } , x _ { T } \\right\\}$ . We would like to model the utterances from the machine ",
313
+ "bbox": [
314
+ 173,
315
+ 676,
316
+ 826,
317
+ 780
318
+ ],
319
+ "page_idx": 2
320
+ },
321
+ {
322
+ "type": "equation",
323
+ "img_path": "images/26e8222cee079a6d8c9cde545d6d81bc13d54638dfc2872f8894bd40f52a619d.jpg",
324
+ "text": "$$\np ( y _ { 1 } , y _ { 2 } , \\ldots , y _ { T } | x _ { 1 } , x _ { 2 } , \\ldots , x _ { T } ) = \\prod _ { i } p ( y _ { i } | y _ { < i } , x _ { < i } ) = \\prod _ { i , v } p ( y _ { i , v } | y _ { i , < v } , y _ { < i } , x _ { < i } ) ,\n$$",
325
+ "text_format": "latex",
326
+ "bbox": [
327
+ 220,
328
+ 784,
329
+ 774,
330
+ 818
331
+ ],
332
+ "page_idx": 2
333
+ },
334
+ {
335
+ "type": "text",
336
+ "text": "where $y _ { < i }$ denotes all the utterances before $i$ and $y _ { i , < v }$ denotes the first $v - 1$ tokens in the $i$ -th utterance of the machine. A neural model is employed to predict $p ( y _ { i , v } | y _ { i , < v } , y _ { < i } , x _ { < i } )$ , which operates as follows: ",
337
+ "bbox": [
338
+ 174,
339
+ 832,
340
+ 825,
341
+ 875
342
+ ],
343
+ "page_idx": 2
344
+ },
345
+ {
346
+ "type": "text",
347
+ "text": "Sentence Encoder: We first encode previous utterances $y _ { < i }$ and $x _ { < i }$ into continuous space by generatistate mploying a LSTM encodand apply the recursion $x _ { i }$ , and sta, where he initial LSTMdenotes a word $h _ { i , 0 } ^ { x }$ $h _ { i , j } ^ { x } = \\mathrm { L S T M } _ { \\mathrm { E } } ^ { - } ( W _ { E } x _ { i , j } , h _ { i , j - 1 } ^ { x } )$ $W _ { E } x _ { i , j }$ ",
348
+ "bbox": [
349
+ 174,
350
+ 881,
351
+ 825,
352
+ 926
353
+ ],
354
+ "page_idx": 2
355
+ },
356
+ {
357
+ "type": "text",
358
+ "text": "embedding lookup for the token $x _ { i , j }$ , and $\\mathbf { L S T M _ { E } }$ denotes the LSTM transition function described in Hochreiter & Schmidhuber (1997). The representation of the user utterance is represented by the final LSTM state $h _ { i } ^ { x } \\ = \\ h _ { i , | x _ { i } | } ^ { x }$ The same process is applied to obtain the machine utterance representation $h _ { i } ^ { y } = h _ { i , | y _ { i } | } ^ { y }$ hyi,|yi| ",
359
+ "bbox": [
360
+ 174,
361
+ 102,
362
+ 825,
363
+ 167
364
+ ],
365
+ "page_idx": 3
366
+ },
367
+ {
368
+ "type": "text",
369
+ "text": "Turn Encoder: Then, combine all the representations of all the utterances with a second LSTM, which encodes the sequence $\\{ h _ { 1 } ^ { y } , h _ { 1 } ^ { x } , . . . , h _ { i } ^ { \\bar { y } } , h _ { i } ^ { x } \\}$ into a continuous vector. Once again, we start with an initial state $u _ { 0 }$ and feed each of the utterance representation to obtain the following LSTM state, until the final state is obtained. For simplicity, we shall refer to this as $u _ { i }$ , which can be seen as the hierarchical encoding of the previous $i$ utterances. ",
370
+ "bbox": [
371
+ 173,
372
+ 172,
373
+ 825,
374
+ 242
375
+ ],
376
+ "page_idx": 3
377
+ },
378
+ {
379
+ "type": "text",
380
+ "text": "Seq2Seq Decoder: As for decoding, in order to generate each utterance $y _ { i }$ , we can feed $u _ { i - 1 }$ into the decoder LSTM as the initial state $s _ { i , 0 } = u _ { i - 1 }$ and decode each token in $y _ { i }$ . Thus, we can express the decoder as: ",
381
+ "bbox": [
382
+ 173,
383
+ 250,
384
+ 825,
385
+ 291
386
+ ],
387
+ "page_idx": 3
388
+ },
389
+ {
390
+ "type": "equation",
391
+ "img_path": "images/4397ec1e96d277d1035ee65ee15160d70077ae573ac28915367c5384afdbae7a.jpg",
392
+ "text": "$$\n\\begin{array} { r l } & { s _ { i , v } ^ { y } = \\mathrm { L S T M } _ { \\mathrm { D } } ( W _ { E } y _ { i , v - 1 } , s _ { i , v - 1 } ) , } \\\\ & { p _ { i , v } ^ { y } = \\mathrm { s o f t m a x } ( W s _ { i , v } ^ { y } ) , } \\end{array}\n$$",
393
+ "text_format": "latex",
394
+ "bbox": [
395
+ 380,
396
+ 299,
397
+ 616,
398
+ 340
399
+ ],
400
+ "page_idx": 3
401
+ },
402
+ {
403
+ "type": "text",
404
+ "text": "where the desired probability $p ( y _ { i , v } | y _ { i , < v } , y _ { < i } , x _ { < i } )$ is expressed by $p _ { i , v } ^ { y }$ ",
405
+ "bbox": [
406
+ 174,
407
+ 348,
408
+ 653,
409
+ 366
410
+ ],
411
+ "page_idx": 3
412
+ },
413
+ {
414
+ "type": "text",
415
+ "text": "Attention based decoder: We can also incorporate the attention mechanism in our hierarchical model. An attention model builds a representation $d$ by averaging over a set of vectors $p$ . We define the attention function as $a = \\mathrm { A T T N } ( p , q )$ , where $a$ is a probability distribution over the set of vectors $p$ , conditioned on any input representation $q$ . A full description of this operation is described in (Bahon the current decoder state danau et al., 2014). Thus, for each generated token $s _ { i , v } ^ { y }$ , obtaining the attentions over input tokens from previous turn $y _ { i , v }$ , we compute the attentions $a _ { i , v }$ , conditioned $( i - 1 )$ . We denote the vector of all tokens in previous turn as $h _ { i - 1 } ^ { x , y } = [ \\{ h _ { i - 1 , j } ^ { x } \\} _ { j = 1 } ^ { | x _ { i - 1 } | } , \\{ h _ { i - 1 , v } ^ { y } \\} _ { v = 1 } ^ { | y _ { i - 1 } | } ]$ }|yi−1|] Let . $K = | h _ { i - 1 } ^ { x , y } |$ be the number of tokens in previous turn. Thus, we obtain the attention probabilities − over all previous tokens $a _ { i , v }$ as $\\mathrm { A T T N } ( s _ { i , v } ^ { y } , h _ { i - 1 } ^ { x , y } )$ . Then, the weighted sum is computed over these probabilities $\\begin{array} { r } { d _ { i , v } = \\sum _ { k \\in K } a _ { i , v , k } h _ { i - 1 , k } ^ { x , y } } \\end{array}$ , where $_ { a _ { i , v , k } }$ is the probability of aligning to the $k$ -th token from previous turn. The resulting vector $d _ { i , v }$ is used to obtain the probability of the following word $p _ { i , v } ^ { y }$ . Thus, we express the decoder as: ",
416
+ "bbox": [
417
+ 173,
418
+ 371,
419
+ 826,
420
+ 554
421
+ ],
422
+ "page_idx": 3
423
+ },
424
+ {
425
+ "type": "equation",
426
+ "img_path": "images/ebaa008105e7dd987239a31655f6ff856e65cab987a99b534f7290d9dc32013b.jpg",
427
+ "text": "$$\n\\begin{array} { r l } & { s _ { i , v } ^ { y } = \\mathrm { L S T M } _ { \\mathrm { D } } ( [ { W } _ { \\mathrm { E } } y _ { i , v - 1 } , d _ { i , v - 1 } ] , s _ { i , v - 1 } ) , } \\\\ & { a _ { i , v } = \\mathrm { A T T N } ( h _ { i - 1 } ^ { x , y } , s _ { i , v } ^ { y } ) , } \\\\ & { d _ { i , v } = \\displaystyle \\sum _ { k \\in K } a _ { i , v , k } h _ { i - 1 , k } ^ { x , y } , } \\\\ & { p _ { i , v } ^ { y } = \\mathrm { s o f t m a x } ( W [ s _ { i , v } ^ { y } , d _ { i , v } ] ) . } \\end{array}\n$$",
428
+ "text_format": "latex",
429
+ "bbox": [
430
+ 354,
431
+ 563,
432
+ 642,
433
+ 661
434
+ ],
435
+ "page_idx": 3
436
+ },
437
+ {
438
+ "type": "text",
439
+ "text": "2.1.2 INCORPORATING TABLE ATTENTION ",
440
+ "text_level": 1,
441
+ "bbox": [
442
+ 174,
443
+ 672,
444
+ 482,
445
+ 688
446
+ ],
447
+ "page_idx": 3
448
+ },
449
+ {
450
+ "type": "image",
451
+ "img_path": "images/b0ecbcb0faa2ea176f8574992b4d9fd0e2656f8d2a9d4622b8cbcf038acd89ca.jpg",
452
+ "image_caption": [
453
+ "Figure 3: Table based decoder. "
454
+ ],
455
+ "image_footnote": [],
456
+ "bbox": [
457
+ 178,
458
+ 709,
459
+ 823,
460
+ 895
461
+ ],
462
+ "page_idx": 3
463
+ },
464
+ {
465
+ "type": "text",
466
+ "text": "We now extend the attention model in order to allow the attention to be computed over a table, allowing the model to condition the generation on a database. ",
467
+ "bbox": [
468
+ 171,
469
+ 103,
470
+ 823,
471
+ 132
472
+ ],
473
+ "page_idx": 4
474
+ },
475
+ {
476
+ "type": "text",
477
+ "text": "We denote a table with $R$ rows and $C$ columns as $\\{ f _ { r , c } \\} , r \\in [ 1 , R ] , c \\in [ 1 , C ]$ , where $f _ { r , c }$ is the cell in row $r$ and column $c$ . The attribute of each column is denoted as $s _ { c }$ , where $c$ is the $c$ -th attribute. $f _ { r , c }$ and $s _ { c }$ are one-hot vector. ",
478
+ "bbox": [
479
+ 174,
480
+ 138,
481
+ 825,
482
+ 181
483
+ ],
484
+ "page_idx": 4
485
+ },
486
+ {
487
+ "type": "text",
488
+ "text": "Table Encoding: To encode the table, we build an attribute vector $g _ { c }$ for each column. For each cell $f _ { r , c }$ of the table, we concatenate it with the corresponding attribute $g _ { c }$ and then feed it through a one-layer MLP as follows: $g _ { c } = W _ { E } s _ { c }$ and then $e _ { r , c } = \\operatorname { t a n h } ( W [ W _ { E } f _ { r , c } , g _ { c } ] )$ . ",
489
+ "bbox": [
490
+ 174,
491
+ 188,
492
+ 825,
493
+ 231
494
+ ],
495
+ "page_idx": 4
496
+ },
497
+ {
498
+ "type": "text",
499
+ "text": "Table Attention: The diagram for table attention is shown in Figure 3a. The attention over cells in the table is conditioned on a given vector $q$ , similarly to the attention model for sequences $\\mathbf { A T T N } ( p , q )$ . However, rather than a sequence $p$ , we now operate over a table $f$ . Our attention model computes a attribute attention followed by row attention of the table. We first use the attention mechanism on the attributes to find out which attribute the user asks about. Suppose a user says cheap, then we should focus on the price attribute. After we get the attention probability $p ^ { a } = \\mathrm { A T T N } ( \\{ g _ { c } \\} , q )$ , over the attribute, we calculate the weighted representation for each row $\\begin{array} { r } { e _ { r } = \\sum _ { c } p _ { c } ^ { a } e _ { r c } } \\end{array}$ conditioned on $p ^ { a }$ . Then $e _ { r }$ has the price information of each row. We further use attention mechanism on $e _ { r }$ and get the probability $p ^ { r } \\bar { \\mathbf { \\Psi } } = \\mathrm { A T T N } ( \\{ e _ { r } \\} , q )$ over the rows. Then restaurants with cheap price will be picked. Then, using the probabilities $p ^ { r }$ , we compute the weighted average over the all rows $\\begin{array} { r } { e _ { c } = \\sum _ { r } p _ { r } ^ { r } e _ { r , c } } \\end{array}$ , which is used in the decoder. The detailed process is: ",
500
+ "bbox": [
501
+ 173,
502
+ 236,
503
+ 825,
504
+ 391
505
+ ],
506
+ "page_idx": 4
507
+ },
508
+ {
509
+ "type": "equation",
510
+ "img_path": "images/a92d24cf1d7529a7eabb16f01b511d907c55d0cf1f852d911cc363ae18227d26.jpg",
511
+ "text": "$$\n\\begin{array} { r l r } { { p _ { a } = \\mathrm { A T T N } ( \\{ g _ { c } \\} , q ) , } } \\\\ & { } & { \\quad e _ { r } = \\displaystyle \\sum _ { c } p _ { c } ^ { a } e _ { r c } \\quad \\forall r , } \\\\ & { } & { \\quad p _ { r } = \\mathrm { A T T N } ( \\{ e _ { r } \\} , q ) , } \\\\ & { } & { \\quad e _ { c } = \\displaystyle \\sum _ { r } p _ { r } ^ { r } e _ { r , c } \\quad \\forall c . } \\end{array}\n$$",
512
+ "text_format": "latex",
513
+ "bbox": [
514
+ 424,
515
+ 392,
516
+ 571,
517
+ 497
518
+ ],
519
+ "page_idx": 4
520
+ },
521
+ {
522
+ "type": "text",
523
+ "text": "This is embedded in the decoder by replacing the conditioned state as the current decoder state $s _ { i , 0 } ^ { y }$ and then at each step, conditioning the prediction of ach step. The detailed diagram of table attention is s $y _ { i , v }$ on n in $\\{ e _ { c } \\}$ by using attention mechanismre 3a. ",
524
+ "bbox": [
525
+ 174,
526
+ 498,
527
+ 825,
528
+ 541
529
+ ],
530
+ "page_idx": 4
531
+ },
532
+ {
533
+ "type": "text",
534
+ "text": "2.1.3 INCORPORATING TABLE POINTER NETWORKS ",
535
+ "text_level": 1,
536
+ "bbox": [
537
+ 174,
538
+ 554,
539
+ 549,
540
+ 569
541
+ ],
542
+ "page_idx": 4
543
+ },
544
+ {
545
+ "type": "text",
546
+ "text": "We now describe the mechanism used to refer to specific database entries during decoding. At each timestep, the model needs to decide whether to generate the next token from an entry of the database or from the word softmax. This is performed as follows. ",
547
+ "bbox": [
548
+ 174,
549
+ 579,
550
+ 823,
551
+ 622
552
+ ],
553
+ "page_idx": 4
554
+ },
555
+ {
556
+ "type": "text",
557
+ "text": "Pointer Switch: We use $z _ { i , v } \\in [ 0 , 1 ]$ to denote the decision of whether to copy one cell from the table. We compute this probability as follows: ",
558
+ "bbox": [
559
+ 171,
560
+ 628,
561
+ 823,
562
+ 656
563
+ ],
564
+ "page_idx": 4
565
+ },
566
+ {
567
+ "type": "equation",
568
+ "img_path": "images/95b63cb0e3b7bf317eb1f705bb06c0974b38241015fc373a77f885c8ed9456e4.jpg",
569
+ "text": "$$\np ( z _ { i , v } | s _ { i , v } ) = \\mathrm { s i g m o i d } ( W [ s _ { i , v } , d _ { i , v } ] ) .\n$$",
570
+ "text_format": "latex",
571
+ "bbox": [
572
+ 372,
573
+ 659,
574
+ 622,
575
+ 676
576
+ ],
577
+ "page_idx": 4
578
+ },
579
+ {
580
+ "type": "text",
581
+ "text": "Thus, if $z _ { i , v } = 1$ , the next token $y _ { i , v }$ will be generated from the database, whereas if $z _ { i , v } = 0$ , then the following token is generated from a softmax. We shall now describe how we generate tokens from the database. ",
582
+ "bbox": [
583
+ 174,
584
+ 679,
585
+ 823,
586
+ 720
587
+ ],
588
+ "page_idx": 4
589
+ },
590
+ {
591
+ "type": "text",
592
+ "text": "Table Pointer: If $z _ { i , v } = 1$ , the token is generated from the table. The detailed process of calculating the probability distribution over the table is shown in Figure 3b. This is similar to the attention mechanism, except that we perform a column attention to compute the probabilities of copying from each column after Equation. 5. More formally: ",
593
+ "bbox": [
594
+ 173,
595
+ 727,
596
+ 825,
597
+ 784
598
+ ],
599
+ "page_idx": 4
600
+ },
601
+ {
602
+ "type": "equation",
603
+ "img_path": "images/ea6534fd1aeab549d7a3230dd7619c1c9e486cf87dcea499428bbe141af10525.jpg",
604
+ "text": "$$\n\\begin{array} { c } { { p ^ { c } = \\mathrm { A T T N } ( \\{ e _ { c } \\} , q ) , } } \\\\ { { p ^ { \\mathrm { c o p y } } = p ^ { r } \\otimes p ^ { c } , } } \\end{array}\n$$",
605
+ "text_format": "latex",
606
+ "bbox": [
607
+ 416,
608
+ 785,
609
+ 578,
610
+ 821
611
+ ],
612
+ "page_idx": 4
613
+ },
614
+ {
615
+ "type": "text",
616
+ "text": "where $p ^ { c }$ is a probability distribution over columns, whereas $p ^ { r }$ is a probability distribution over rows. In order to compute a matrix with the probability of copying each cell, we simply compute the outer product $p ^ { \\mathrm { c o p y } } = p ^ { r } \\otimes p ^ { c }$ . ",
617
+ "bbox": [
618
+ 174,
619
+ 823,
620
+ 825,
621
+ 866
622
+ ],
623
+ "page_idx": 4
624
+ },
625
+ {
626
+ "type": "text",
627
+ "text": "Objective: As we treat $z _ { i }$ as a latent variable, we wish to maximize the marginal probability of the sequence $y _ { i }$ over all possible values of $z _ { i }$ . Thus, our objective function is defined as: ",
628
+ "bbox": [
629
+ 173,
630
+ 871,
631
+ 823,
632
+ 900
633
+ ],
634
+ "page_idx": 4
635
+ },
636
+ {
637
+ "type": "equation",
638
+ "img_path": "images/f1a299ecc2ff105190a3839af5d92f14adfd4953c18d2e38eb529392a72a4281.jpg",
639
+ "text": "$$\np ( y _ { i , v } | s _ { i , v } ) = p ^ { \\mathrm { v o c a b } } p ( 0 | s _ { i , v } ) + p ^ { \\mathrm { c o p y } } p ( 1 | s _ { i , v } ) = p ^ { \\mathrm { v o c a b } } ( 1 - p ( 1 | s _ { i , v } ) ) + p ^ { \\mathrm { c o p y } } p ( 1 | s _ { i , v } ) .\n$$",
640
+ "text_format": "latex",
641
+ "bbox": [
642
+ 214,
643
+ 902,
644
+ 784,
645
+ 921
646
+ ],
647
+ "page_idx": 4
648
+ },
649
+ {
650
+ "type": "text",
651
+ "text": "The model can also be trained in a fully supervised fashion, if $z _ { i , v }$ is observed. In such cases, we simply maximize the likelihood of $p ( z _ { i , v } | s _ { i , v } )$ , based on the observations, rather than using the marginal probability over $z _ { i , v }$ . ",
652
+ "bbox": [
653
+ 174,
654
+ 103,
655
+ 825,
656
+ 147
657
+ ],
658
+ "page_idx": 5
659
+ },
660
+ {
661
+ "type": "text",
662
+ "text": "2.2 RECIPE GENERATION ",
663
+ "text_level": 1,
664
+ "bbox": [
665
+ 174,
666
+ 162,
667
+ 361,
668
+ 176
669
+ ],
670
+ "page_idx": 5
671
+ },
672
+ {
673
+ "type": "table",
674
+ "img_path": "images/c611a549b8b4005a895ec610f9ac220997b6863c479d2d4b105e794440070b62.jpg",
675
+ "table_caption": [
676
+ "Table 3: Ingredients and recipe for Spinach and Banana Power Smoothie. "
677
+ ],
678
+ "table_footnote": [],
679
+ "table_body": "<table><tr><td>ingredients</td><td>recipe</td></tr><tr><td>1 cup plain soy milk 3/4 cup packed fresh spinach leaves 1 large banana, sliced</td><td>Blend soy milk and spinach leaves together in a blender until smooth. Add banana and pulse until thoroughly blended.</td></tr></table>",
680
+ "bbox": [
681
+ 178,
682
+ 190,
683
+ 818,
684
+ 250
685
+ ],
686
+ "page_idx": 5
687
+ },
688
+ {
689
+ "type": "text",
690
+ "text": "Next, we consider the task of recipe generation conditioning on the ingredient lists. In this task, we must generate the recipe from a list of ingredients. Table. 3 illustrates the ingredient list and recipe for Spinach and Banana Power Smoothie. We can see that the ingredients soy milk, spinach leaves, and banana occur in the recipe. ",
691
+ "bbox": [
692
+ 174,
693
+ 291,
694
+ 825,
695
+ 347
696
+ ],
697
+ "page_idx": 5
698
+ },
699
+ {
700
+ "type": "image",
701
+ "img_path": "images/97d1e470685ca1f07412db7cba45713c6027dcdcb3319467583430504adf11d3.jpg",
702
+ "image_caption": [
703
+ "Figure 4: Recipe pointer "
704
+ ],
705
+ "image_footnote": [],
706
+ "bbox": [
707
+ 339,
708
+ 368,
709
+ 651,
710
+ 501
711
+ ],
712
+ "page_idx": 5
713
+ },
714
+ {
715
+ "type": "text",
716
+ "text": "Let the ingredients of a recipe be $X ~ = ~ \\{ x _ { i } \\} _ { i = 1 } ^ { T }$ and each ingredient contains $L$ tokens $\\begin{array} { r l } { x _ { i } } & { { } = } \\end{array}$ $\\{ x _ { i j } \\} _ { j = 1 } ^ { L }$ . The corresponding recipe is $y = \\{ y _ { v } \\} _ { v = 1 } ^ { K }$ . We first use a LSTM to encode each ingredient: ",
717
+ "bbox": [
718
+ 173,
719
+ 554,
720
+ 825,
721
+ 598
722
+ ],
723
+ "page_idx": 5
724
+ },
725
+ {
726
+ "type": "equation",
727
+ "img_path": "images/340062ad53ad84da8e92a8d8255d36056c64c4c2f216b06448d398fcd0853bcc.jpg",
728
+ "text": "$$\nh _ { i , j } = \\mathrm { L S T M } _ { \\mathrm { E } } ( W _ { E } x _ { i j } , h _ { i , j - 1 } ) \\quad \\forall i .\n$$",
729
+ "text_format": "latex",
730
+ "bbox": [
731
+ 375,
732
+ 603,
733
+ 620,
734
+ 621
735
+ ],
736
+ "page_idx": 5
737
+ },
738
+ {
739
+ "type": "text",
740
+ "text": "Then, we sum the resulting state of each ingredient to obtain the starting LSTM state of the decoder. Once again we use an attention based decoder: ",
741
+ "bbox": [
742
+ 173,
743
+ 625,
744
+ 825,
745
+ 652
746
+ ],
747
+ "page_idx": 5
748
+ },
749
+ {
750
+ "type": "equation",
751
+ "img_path": "images/ed3d08b73696099b317ddeec2b6f3256ec66046f67b2cae8ab186414717f7a61.jpg",
752
+ "text": "$$\n\\begin{array} { c } { { s _ { v } = \\mathrm { L S T M } _ { \\mathrm { D } } \\displaystyle ( s _ { v - 1 } , d _ { v - 1 } , W _ { \\mathrm { E } } y _ { v - 1 } ) , } } \\\\ { { p _ { v } ^ { \\mathrm { c o p y } } = \\mathrm { A T T N } \\displaystyle ( \\{ \\left\\{ h _ { i , j } \\right\\} _ { i = 1 } ^ { T } \\} _ { j = 1 } ^ { L } , s _ { v } ) , } } \\\\ { { d _ { v } = \\displaystyle \\sum _ { i j } p _ { v , i , j } h _ { i , j } , } } \\\\ { { p ( z _ { v } | s _ { v } ) = \\mathrm { s i g m o i d } ( W [ s _ { v } , d _ { v } ] ) , } } \\\\ { { p _ { v } ^ { \\mathrm { v o c a b } } = \\mathrm { s o f t m a x } ( W [ s _ { v } , d _ { v } ] ) . } } \\end{array}\n$$",
753
+ "text_format": "latex",
754
+ "bbox": [
755
+ 356,
756
+ 656,
757
+ 642,
758
+ 773
759
+ ],
760
+ "page_idx": 5
761
+ },
762
+ {
763
+ "type": "text",
764
+ "text": "Similar to the previous task, the decision to copy from the ingredient list or generate a new \nword from the softmax is performed using a switch, denoted as $p ( z _ { v } | s _ { v } )$ . We can obtain a copying each of the words in the ingredients by computing in the attention mechanism. For training, we optimize the $p _ { v } ^ { \\mathrm { c o p y } } =$ \n$\\mathsf { \\bar { A } T T N } ( \\{ \\{ \\bar { h } _ { i , j } \\} _ { i = 1 } ^ { T } \\} _ { j = 1 } ^ { L } , s _ { v } )$ \nlikelihood function employed in the previous task. ",
765
+ "bbox": [
766
+ 174,
767
+ 782,
768
+ 825,
769
+ 853
770
+ ],
771
+ "page_idx": 5
772
+ },
773
+ {
774
+ "type": "text",
775
+ "text": "2.3 COREFERENCE BASED LANGUAGE MODEL ",
776
+ "text_level": 1,
777
+ "bbox": [
778
+ 174,
779
+ 869,
780
+ 509,
781
+ 883
782
+ ],
783
+ "page_idx": 5
784
+ },
785
+ {
786
+ "type": "text",
787
+ "text": "Finally, we build a language model that uses coreference links to point to previous words. Before generating a word, we first make the decision on whether it is an entity mention. If so, we decide which entity this mention belongs to, then we generate the word based on that entity. Denote the document as $X = \\{ x _ { i } \\} _ { i = 1 } ^ { L }$ , and the entities are $E = \\{ e _ { i } \\} _ { i = 1 } ^ { N }$ , each entity has $M _ { i }$ mentions, $e _ { i } =$ $\\{ m _ { i j } \\} _ { j = 1 } ^ { M _ { i } }$ , such that $\\{ x _ { m _ { i j } } \\} _ { j = 1 } ^ { M _ { i } }$ refer to the same entity. We use a LSTM to model the document, the hidden state of each token is $h _ { i } = \\mathrm { L S T M } ( W _ { E } x _ { i } , h _ { i - 1 } )$ . We use a set $h ^ { e } = \\{ h _ { 0 } ^ { e } , h _ { 1 } ^ { e } , . . . , h _ { M } ^ { e } \\}$ to keep track of the entity states, where $h _ { j } ^ { e }$ is the state of entity $j$ . ",
788
+ "bbox": [
789
+ 176,
790
+ 895,
791
+ 823,
792
+ 924
793
+ ],
794
+ "page_idx": 5
795
+ },
796
+ {
797
+ "type": "text",
798
+ "text": "",
799
+ "bbox": [
800
+ 174,
801
+ 103,
802
+ 825,
803
+ 179
804
+ ],
805
+ "page_idx": 6
806
+ },
807
+ {
808
+ "type": "text",
809
+ "text": "um and $[ \\mathrm { I l } _ { 1 }$ think that is whats - Go ahead [Linda]2. Well and thanks goes to $[ \\mathrm { y o u l } _ { 1 }$ and to [the media]3 to help $[ \\mathrm { u s } ] _ { 4 } . . . \\mathrm { S o } [ \\mathrm { o u r } ] _ { 4 }$ hat is off to all of [you]5... ",
810
+ "bbox": [
811
+ 196,
812
+ 193,
813
+ 802,
814
+ 223
815
+ ],
816
+ "page_idx": 6
817
+ },
818
+ {
819
+ "type": "image",
820
+ "img_path": "images/787f483a8556a3d8a8f59733ad85ae9b906c646cdc53288cac6b92ec15023293.jpg",
821
+ "image_caption": [
822
+ "Figure 5: Coreference based language model, example taken from Wiseman et al. (2016). "
823
+ ],
824
+ "image_footnote": [],
825
+ "bbox": [
826
+ 220,
827
+ 233,
828
+ 782,
829
+ 375
830
+ ],
831
+ "page_idx": 6
832
+ },
833
+ {
834
+ "type": "text",
835
+ "text": "Word generation: At each time step before generating the next word, we predict whether the word is an entity mention: ",
836
+ "bbox": [
837
+ 173,
838
+ 416,
839
+ 823,
840
+ 445
841
+ ],
842
+ "page_idx": 6
843
+ },
844
+ {
845
+ "type": "equation",
846
+ "img_path": "images/b5c27ea925b0d009a8f43c195c902d40ad96012b0d9951f391fc954740b4293c.jpg",
847
+ "text": "$$\n\\begin{array} { r l r } { { p ^ { \\mathrm { c o r e f } } ( v _ { i } | h _ { i - 1 } , h ^ { e } ) = \\mathrm { A T T N } ( h ^ { e } , h _ { i - 1 } ) , } } \\\\ & { } & { d _ { i } = \\sum _ { v _ { i } } p ( v _ { i } ) h _ { v _ { i } } ^ { e } } \\\\ & { } & { p ( z _ { i } | h _ { i - 1 } ) = \\mathrm { s i g m o i d } ( W [ d _ { i } , h _ { i - 1 } ] ) , } \\end{array}\n$$",
848
+ "text_format": "latex",
849
+ "bbox": [
850
+ 351,
851
+ 452,
852
+ 643,
853
+ 526
854
+ ],
855
+ "page_idx": 6
856
+ },
857
+ {
858
+ "type": "text",
859
+ "text": "where $z _ { i }$ denotes whether the next word is an entity and if yes $v _ { i }$ denotes which entity the next word corefers to. If the next word is an entity mention, then $p ( x _ { i } | v _ { i } , h _ { i - 1 } , h ^ { e } ) =$ softmax $( W _ { 1 } \\operatorname { t a n h } ( W _ { 2 } [ h _ { v _ { i } } ^ { e } , h _ { i - 1 } ] ) )$ else $p ( x _ { i } | h _ { i - 1 } ) = \\mathrm { s o f t m a x } ( W _ { 1 } h _ { i - 1 } )$ , ",
860
+ "bbox": [
861
+ 174,
862
+ 531,
863
+ 825,
864
+ 575
865
+ ],
866
+ "page_idx": 6
867
+ },
868
+ {
869
+ "type": "equation",
870
+ "img_path": "images/e5d980b4e67b4495600016bae44aca7cb6065cf154c0da9ccd8f88373126db37.jpg",
871
+ "text": "$$\np ( x _ { i } | x _ { < i } ) = \\left\\{ \\begin{array} { l l } { p ( x _ { i } | h _ { i - 1 } ) p ( z _ { i } | h _ { i - 1 } , h ^ { e } ) } & { \\quad \\mathrm { i f } \\quad z _ { i } = 0 . } \\\\ { p ( x _ { i } | v _ { i } , h _ { i - 1 } , h ^ { e } ) p ^ { \\mathrm { c o r e f } } ( v _ { i } | h _ { i - 1 } , h ^ { e } ) p ( z _ { i } | h _ { i - 1 } , h ^ { e } ) } & { \\quad \\mathrm { i f } \\quad z _ { i } = 1 . } \\end{array} \\right.\n$$",
872
+ "text_format": "latex",
873
+ "bbox": [
874
+ 228,
875
+ 583,
876
+ 769,
877
+ 619
878
+ ],
879
+ "page_idx": 6
880
+ },
881
+ {
882
+ "type": "text",
883
+ "text": "Entity state update: We update the entity state $h ^ { e }$ at each time step. In the beginning, $h ^ { e } = \\{ h _ { 0 } ^ { e } \\}$ , $h _ { 0 } ^ { e }$ denotes the state of an virtual empty entity and is a learnable variable. If $z _ { i } = 1$ and $v _ { i } = 0$ , then it indicates the next word is a new entity mention, then in the next step, we append $h _ { i }$ to $h ^ { e }$ , i.e., $h ^ { e } = \\{ h ^ { e } , h _ { i } \\}$ , if $e _ { i } > 0$ , then we update the corresponding entity state with the new hidden state, $h ^ { e } [ v _ { i } ] = h _ { i }$ . Another way to update the entity state is to use one LSTM to encode the mention states and get the new entity state. Here we use the latest entity mention state as the new entity state for simplicity. The detailed update process is shown in Figure 5. ",
884
+ "bbox": [
885
+ 173,
886
+ 627,
887
+ 825,
888
+ 726
889
+ ],
890
+ "page_idx": 6
891
+ },
892
+ {
893
+ "type": "text",
894
+ "text": "3 EXPERIMENTS ",
895
+ "text_level": 1,
896
+ "bbox": [
897
+ 176,
898
+ 746,
899
+ 326,
900
+ 762
901
+ ],
902
+ "page_idx": 6
903
+ },
904
+ {
905
+ "type": "text",
906
+ "text": "4 DATA SETS AND PREPROCESSING ",
907
+ "text_level": 1,
908
+ "bbox": [
909
+ 176,
910
+ 780,
911
+ 480,
912
+ 796
913
+ ],
914
+ "page_idx": 6
915
+ },
916
+ {
917
+ "type": "text",
918
+ "text": "Dialogue: We use the DSTC2 data set. We only extracted the dialogue transcript from data set. There are about 3,200 dialogues in total. Since this is a small data set, we use 5-fold cross validation and report the average result over the 5 partitions. There may be multiple tokens in each table cell, for example in Table.2, the name, address, post code and phone number have multiple tokens, we replace them with one special token. For the name, address, post code and phone number of the $j$ -th row, we replace the tokens in each cell with NAME $j$ , ADDR $j$ , POSTCODE $j$ , PHONE $j$ . If a table cell is empty, we replace it with an empty token EMPTY. We do a string match in the transcript and replace the corresponding tokens in transcripts from the table with the special tokens. ",
919
+ "bbox": [
920
+ 174,
921
+ 811,
922
+ 825,
923
+ 924
924
+ ],
925
+ "page_idx": 6
926
+ },
927
+ {
928
+ "type": "text",
929
+ "text": "Each dialogue on average has 8 turns (16 sentences). We use a vocabulary size of 900, including about 400 table tokens and 500 words. ",
930
+ "bbox": [
931
+ 174,
932
+ 103,
933
+ 823,
934
+ 132
935
+ ],
936
+ "page_idx": 7
937
+ },
938
+ {
939
+ "type": "text",
940
+ "text": "Recipes: We crawl all recipes from www.allrecipes.com. There are about 31, 000 recipes in total, and every recipe has a ingredient list and a corresponding recipe. We exclude the recipes that have less than 10 tokens or more than 500 tokens, those recipes take about $0 . 1 \\%$ of all data set. On average each recipe has 118 tokens and 9 ingredients. We random shuffle the whole data set and take $80 \\%$ as training and $10 \\%$ for validation and test. We use a vocabulary size of 10,000 in the model. ",
941
+ "bbox": [
942
+ 174,
943
+ 138,
944
+ 825,
945
+ 208
946
+ ],
947
+ "page_idx": 7
948
+ },
949
+ {
950
+ "type": "text",
951
+ "text": "Coref LM: We use the Xinhua News data set from Gigaword Fifth Edition and sample 100,000 documents from it that has length in range from 100 to 500. Each document has on average 234 tokens, so there are 23 million tokens in total. We use a tool to annotate all the entity mentions and use the annotation in the training. We take $80 \\%$ as training and $10 \\%$ as validation and test respectively. We ignore the entities that have only one mention and for the mentions that have multiple tokens, we take the token that is most frequent in the all the mentions for this entity. After the preprocessing, tokens that are entity mentions take about $10 \\%$ of all tokens. We use a vocabulary size of 50,000 in the model. ",
952
+ "bbox": [
953
+ 174,
954
+ 215,
955
+ 825,
956
+ 327
957
+ ],
958
+ "page_idx": 7
959
+ },
960
+ {
961
+ "type": "text",
962
+ "text": "4.1 MODEL TRAINING AND EVALUATION ",
963
+ "text_level": 1,
964
+ "bbox": [
965
+ 178,
966
+ 344,
967
+ 468,
968
+ 358
969
+ ],
970
+ "page_idx": 7
971
+ },
972
+ {
973
+ "type": "text",
974
+ "text": "We train all models with simple stochastic gradient descent with clipping. We use a one-layer LSTM for all RNN components. Hyper-parameters are selected using grid search based on the validation set. We use dropout after the input embedding and LSTM output. The learning rate is selected from [0.1, 0.2, 0.5, 1], maximum gradient norm is selected from [1, 2, 5, 10] and drop ratio is selected from [0.2, 0.3, 0.5]. The batch size and LSTM dimension size is slightly different for different tasks so as to make the model fit into memory. The number of epochs to train are different for each task and we drop the learning rate after reaching a given number of epochs. We report the per-word perplexity for all tasks, specifically, we report the perplexity of all words, words that can be generated from reference and non-reference words. For recipe generation, we also generate the recipe using beam size of 10 and evaluate the generated recipe with BLEU. ",
975
+ "bbox": [
976
+ 174,
977
+ 369,
978
+ 825,
979
+ 510
980
+ ],
981
+ "page_idx": 7
982
+ },
983
+ {
984
+ "type": "table",
985
+ "img_path": "images/d3108c6d0c18ea8ba368c798cbd6f63b81f84be385fb73c6403abc76351dad2e.jpg",
986
+ "table_caption": [],
987
+ "table_footnote": [],
988
+ "table_body": "<table><tr><td>model</td><td>all</td><td>table</td><td>table oov</td><td>word</td></tr><tr><td>seq2seq</td><td>1.35±0.01</td><td>4.98±0.38</td><td>1.99E7±7.75E6</td><td>1.23±0.01</td></tr><tr><td>table attn</td><td>1.37±0.01</td><td>5.09±0.64</td><td>7.91E7±1.39E8</td><td>1.24±0.01</td></tr><tr><td>table pointer</td><td>1.33±0.01</td><td>3.99±0.36</td><td>1360 ± 2600</td><td>1.23±0.01</td></tr><tr><td>table latent</td><td>1.36±0.01</td><td>4.99±0.20</td><td>3.78E7±6.08E7</td><td>1.24±0.01</td></tr><tr><td colspan=\"5\">+ sentence attn</td></tr><tr><td>seq2seq</td><td>1.28±0.01</td><td>3.31±0.21</td><td>2.83E9±4.69E9</td><td>1.19±0.01</td></tr><tr><td>table attn</td><td>1.28±0.01</td><td>3.17±0.21</td><td>1.67E7±9.5E6</td><td>1.20±0.01</td></tr><tr><td>table pointer</td><td>1.27±0.01</td><td>2.99±0.19</td><td>82.86±110</td><td>1.20±0.01</td></tr><tr><td>table latent</td><td>1.28±0.01</td><td>3.26±0.25</td><td>1.27E7±1.41E7</td><td>1.20±0.01</td></tr></table>",
989
+ "bbox": [
990
+ 254,
991
+ 523,
992
+ 743,
993
+ 671
994
+ ],
995
+ "page_idx": 7
996
+ },
997
+ {
998
+ "type": "text",
999
+ "text": "Table 4: Dialogue perplexity results. (All means all tokens, table means tokens from table, table oov denotes table tokens that does not appear in the training set, word means non-table tokens). sentence attn denotes we use attention mechanism over tokens from past turn. Table pointer and table latent differs in that table pointer, we provide supervised signal on when to generate a table token, while in table latent it is a latent decision. ",
1000
+ "bbox": [
1001
+ 174,
1002
+ 681,
1003
+ 825,
1004
+ 752
1005
+ ],
1006
+ "page_idx": 7
1007
+ },
1008
+ {
1009
+ "type": "table",
1010
+ "img_path": "images/4bf9239ef5f04ab5432eae55b9a70f34a73dae3493ed69a908a9d5fd13f4c2f1.jpg",
1011
+ "table_caption": [],
1012
+ "table_footnote": [],
1013
+ "table_body": "<table><tr><td rowspan=\"3\">model</td><td colspan=\"4\">val</td><td colspan=\"4\">test</td></tr><tr><td colspan=\"3\">ppl</td><td rowspan=\"2\">BLEU</td><td colspan=\"3\">ppl</td><td rowspan=\"2\">BLEU</td></tr><tr><td>all</td><td>ing</td><td>word</td><td>all</td><td>ing</td><td>word</td></tr><tr><td>seq2seq</td><td>5.60</td><td>11.26</td><td>5.00</td><td>14.07</td><td>5.52</td><td>11.26</td><td>4.91</td><td>14.39</td></tr><tr><td>attn</td><td>5.25</td><td>6.86</td><td>5.03</td><td>14.84</td><td>5.19</td><td>6.92</td><td>4.95</td><td>15.15</td></tr><tr><td>pointer</td><td>5.15</td><td>5.86</td><td>5.04</td><td>15.06</td><td>5.11</td><td>6.04</td><td>4.98</td><td>15.29</td></tr><tr><td>latent</td><td>5.02</td><td>5.10</td><td>5.01</td><td>14.87</td><td>4.97</td><td>5.19</td><td>4.94</td><td>15.41</td></tr></table>",
1014
+ "bbox": [
1015
+ 258,
1016
+ 775,
1017
+ 740,
1018
+ 873
1019
+ ],
1020
+ "page_idx": 7
1021
+ },
1022
+ {
1023
+ "type": "text",
1024
+ "text": "Table 5: Recipe result, evaluated in perplexity and BLEU score. ing denotes tokens from recipe that appear in ingredients. ",
1025
+ "bbox": [
1026
+ 173,
1027
+ 883,
1028
+ 825,
1029
+ 912
1030
+ ],
1031
+ "page_idx": 7
1032
+ },
1033
+ {
1034
+ "type": "table",
1035
+ "img_path": "images/ed337d504821f92e0a5582716c9ae60118e31da5536dda3a598f2c873c9b12f5.jpg",
1036
+ "table_caption": [],
1037
+ "table_footnote": [],
1038
+ "table_body": "<table><tr><td rowspan=\"2\">model</td><td colspan=\"3\">val</td><td colspan=\"3\">test</td></tr><tr><td>all</td><td>entity</td><td>word</td><td>all</td><td>entity</td><td>word</td></tr><tr><td>lm</td><td>33.08</td><td>44.52</td><td>32.04</td><td>33.08</td><td>43.86</td><td>32.10</td></tr><tr><td>pointer</td><td>32.57</td><td>32.07</td><td>32.62</td><td>32.62</td><td>32.07</td><td>32.69</td></tr><tr><td>pointer +init</td><td>30.43</td><td>28.56</td><td>30.63</td><td>30.42</td><td>28.56</td><td>30.66</td></tr></table>",
1039
+ "bbox": [
1040
+ 289,
1041
+ 101,
1042
+ 707,
1043
+ 174
1044
+ ],
1045
+ "page_idx": 8
1046
+ },
1047
+ {
1048
+ "type": "text",
1049
+ "text": "Table 6: Coreference based LM. pointer $^ +$ init means we initialize the model with the LM weights. ",
1050
+ "bbox": [
1051
+ 174,
1052
+ 184,
1053
+ 820,
1054
+ 199
1055
+ ],
1056
+ "page_idx": 8
1057
+ },
1058
+ {
1059
+ "type": "text",
1060
+ "text": "4.2 RESULTS AND ANALYSIS ",
1061
+ "text_level": 1,
1062
+ "bbox": [
1063
+ 176,
1064
+ 233,
1065
+ 385,
1066
+ 247
1067
+ ],
1068
+ "page_idx": 8
1069
+ },
1070
+ {
1071
+ "type": "text",
1072
+ "text": "The results for dialogue, recipe generation and coref language model are shown in Table 4, 5 and 6 respectively. We can see from Table 4 that models that condition on table performs better in predicting table tokens in general. Table pointer has the lowest perplexity for token in the table. Since the table token appears rarely in the dialogue, the overall perplexity does not differ much and the non-table tokens perplexity are similar. With attention mechanism over the table, the perplexity of table token improves over basic seq2seq model, but not as good as directly pointing to cells in the table. As expected, using sentence attention improves significantly over models without sentence attention. Surprisingly, table latent performs much worse than table pointer. We also measure the perplexity of table tokens that appear only in test set. For models other than table pointer, because the tokens never appear in training set, the perplexity is quite high, while table pointer can predict these tokens much more accurately. The recipe results in Table 5 in general follows that findings from the dialogue. But the latent model performs better than pointer model since that tokens in ingredients that match with recipe does not necessarily come from the ingredients. Imposing a supervised signal will give wrong information to the model and hence make the result worse. Hence with latent decision, the model learns to when to copy and when to generate it from the vocabulary. The coref LM results are shown in Table 6. We find that coref based LM performs much better on the entities perplexities, but however is a little bit worse than for non-entity words. We found it is an optimization problem and perhaps the model is stuck in local optimum. So we initialize the pointer model with the weights learned from LM, the pointer model performs better than LM both for entity perplexity and non-entity words perplexity. ",
1073
+ "bbox": [
1074
+ 174,
1075
+ 262,
1076
+ 825,
1077
+ 540
1078
+ ],
1079
+ "page_idx": 8
1080
+ },
1081
+ {
1082
+ "type": "text",
1083
+ "text": "5 RELATED WORK ",
1084
+ "text_level": 1,
1085
+ "bbox": [
1086
+ 176,
1087
+ 568,
1088
+ 339,
1089
+ 584
1090
+ ],
1091
+ "page_idx": 8
1092
+ },
1093
+ {
1094
+ "type": "text",
1095
+ "text": "Recently, there has been great progresses in modeling languages based on neural network, including language modeling (Mikolov et al., 2010; Jozefowicz et al., 2016), machine translation (Sutskever et al., 2014; Bahdanau et al., 2014), question answering (Hermann et al., 2015) etc. Based on the success of seq2seq models, neural networks are applied in modeling chit-chat dialogue (Li et al., 2016; Vinyals & Le, 2015; Sordoni et al., 2015; Serban et al., 2016; Shang et al., 2015) and task oriented dialogue (Wen et al., 2015; Bordes & Weston, 2016; Williams & Zweig, 2016; Wen et al., 2016). Most of the chit-chat neural dialogue models are simply applying the seq2seq models. For the task oriented dialogues, most of them embed the seq2seq model in traditional dialogue systems, in which the table query part is not differentiable. while our model queries the database directly. Recipe generation was proposed in (Kiddon et al., 2016). Their model extents previous work on attention models (Allamanis et al., 2016) to checklists, whereas our work models explicit references to those checklists. Context dependent language models (Mikolov et al., 2010; Ji et al., 2015; Wang & Cho, 2015) are proposed to capture long term dependency of text. There are also lots of works on coreference resolution (Haghighi & Klein, 2010; Wiseman et al., 2016). We are the first to combine coreference with language modeling, to the best of our knowledge. Much effort has been invested in embedding a copying mechanism for neural models (Gulc¸ehre et al. ¨ , 2016; Gu et al., 2016; Ling et al., 2016). In general, a gating mechanism is employed to combine the softmax over observed words and a pointer network (Vinyals et al., 2015). These gates can be trained either by marginalizing over both outcomes, or using heuristics (e.g. copy low frequency words). Our models are similar to models proposed in (Ahn et al., 2016; Merity et al., 2016), where the generation of each word can be conditioned on a particular entry in knowledge lists and previous words. In our work, we describe a model with broader applications, allowing us to condition, on databases, lists and dynamic lists. ",
1096
+ "bbox": [
1097
+ 174,
1098
+ 604,
1099
+ 825,
1100
+ 924
1101
+ ],
1102
+ "page_idx": 8
1103
+ },
1104
+ {
1105
+ "type": "text",
1106
+ "text": "6 CONCLUSION ",
1107
+ "text_level": 1,
1108
+ "bbox": [
1109
+ 174,
1110
+ 102,
1111
+ 318,
1112
+ 118
1113
+ ],
1114
+ "page_idx": 9
1115
+ },
1116
+ {
1117
+ "type": "text",
1118
+ "text": "We introduce reference-aware language models which explicitly model the decision of from where to generate the token at each step. Our model can also learns the decision by treating it as a latent variable. We demonstrate on three tasks, table based dialogue modeling, recipe generation and coref based LM, that our model performs better than attention based model, which does not incorporate this decision explicitly. There are several directions to explore further based on our framework. The current evaluation method is based on perplexity and BLEU. In task oriented dialogues, we can also try human evaluation to see if the model can reply users’ query accurately. It is also interesting to use reinforcement learning to learn the actions in each step. ",
1119
+ "bbox": [
1120
+ 174,
1121
+ 133,
1122
+ 825,
1123
+ 246
1124
+ ],
1125
+ "page_idx": 9
1126
+ },
1127
+ {
1128
+ "type": "text",
1129
+ "text": "REFERENCES ",
1130
+ "text_level": 1,
1131
+ "bbox": [
1132
+ 174,
1133
+ 266,
1134
+ 285,
1135
+ 281
1136
+ ],
1137
+ "page_idx": 9
1138
+ },
1139
+ {
1140
+ "type": "text",
1141
+ "text": "Sungjin Ahn, Heeyoul Choi, Tanel Parnamaa, and Yoshua Bengio. A neural knowledge language ¨ model. CoRR, abs/1608.00318, 2016. ",
1142
+ "bbox": [
1143
+ 173,
1144
+ 290,
1145
+ 823,
1146
+ 318
1147
+ ],
1148
+ "page_idx": 9
1149
+ },
1150
+ {
1151
+ "type": "text",
1152
+ "text": "Miltiadis Allamanis, Hao Peng, and Charles A. Sutton. A convolutional attention network for extreme summarization of source code. CoRR, abs/1602.03001, 2016. URL http://arxiv. org/abs/1602.03001. ",
1153
+ "bbox": [
1154
+ 174,
1155
+ 327,
1156
+ 821,
1157
+ 369
1158
+ ],
1159
+ "page_idx": 9
1160
+ },
1161
+ {
1162
+ "type": "text",
1163
+ "text": "Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. CoRR, abs/1409.0473, 2014. URL http://arxiv.org/ abs/1409.0473. ",
1164
+ "bbox": [
1165
+ 174,
1166
+ 378,
1167
+ 823,
1168
+ 421
1169
+ ],
1170
+ "page_idx": 9
1171
+ },
1172
+ {
1173
+ "type": "text",
1174
+ "text": "Antoine Bordes and Jason Weston. Learning end-to-end goal-oriented dialog. arXiv preprint arXiv:1605.07683, 2016. ",
1175
+ "bbox": [
1176
+ 171,
1177
+ 431,
1178
+ 823,
1179
+ 460
1180
+ ],
1181
+ "page_idx": 9
1182
+ },
1183
+ {
1184
+ "type": "text",
1185
+ "text": "Jiatao Gu, Zhengdong Lu, Hang Li, and Victor O. K. Li. Incorporating copying mechanism in sequence-to-sequence learning. CoRR, abs/1603.06393, 2016. URL http://arxiv.org/ abs/1603.06393. ",
1186
+ "bbox": [
1187
+ 173,
1188
+ 468,
1189
+ 825,
1190
+ 512
1191
+ ],
1192
+ "page_idx": 9
1193
+ },
1194
+ {
1195
+ "type": "text",
1196
+ "text": "C¸ aglar Gulc¸ehre, Sungjin Ahn, Ramesh Nallapati, Bowen Zhou, and Yoshua Bengio. Pointing ¨ the unknown words. CoRR, abs/1603.08148, 2016. URL http://arxiv.org/abs/1603. 08148. ",
1197
+ "bbox": [
1198
+ 173,
1199
+ 520,
1200
+ 826,
1201
+ 563
1202
+ ],
1203
+ "page_idx": 9
1204
+ },
1205
+ {
1206
+ "type": "text",
1207
+ "text": "Aria Haghighi and Dan Klein. Coreference resolution in a modular, entity-centered model. In Human Language Technologies: The 2010 Annual Conference of the North American Chapter of the Association for Computational Linguistics, pp. 385–393. Association for Computational Linguistics, 2010. ",
1208
+ "bbox": [
1209
+ 173,
1210
+ 573,
1211
+ 825,
1212
+ 630
1213
+ ],
1214
+ "page_idx": 9
1215
+ },
1216
+ {
1217
+ "type": "text",
1218
+ "text": "Matthew Henderson, Blaise Thomson, and Jason Williams. Dialog state tracking challenge 2 & 3, 2014. ",
1219
+ "bbox": [
1220
+ 173,
1221
+ 638,
1222
+ 823,
1223
+ 667
1224
+ ],
1225
+ "page_idx": 9
1226
+ },
1227
+ {
1228
+ "type": "text",
1229
+ "text": "Karl Moritz Hermann, Tomas Kocisky, Edward Grefenstette, Lasse Espeholt, Will Kay, Mustafa Suleyman, and Phil Blunsom. Teaching machines to read and comprehend. In Advances in Neural Information Processing Systems, pp. 1693–1701, 2015. ",
1230
+ "bbox": [
1231
+ 176,
1232
+ 676,
1233
+ 825,
1234
+ 720
1235
+ ],
1236
+ "page_idx": 9
1237
+ },
1238
+ {
1239
+ "type": "text",
1240
+ "text": "Sepp Hochreiter and Jurgen Schmidhuber. Long short-term memory. ¨ Neural Comput., 9(8):1735– 1780, November 1997. ISSN 0899-7667. doi: 10.1162/neco.1997.9.8.1735. URL http://dx. doi.org/10.1162/neco.1997.9.8.1735. ",
1241
+ "bbox": [
1242
+ 176,
1243
+ 728,
1244
+ 823,
1245
+ 772
1246
+ ],
1247
+ "page_idx": 9
1248
+ },
1249
+ {
1250
+ "type": "text",
1251
+ "text": "Yangfeng Ji, Trevor Cohn, Lingpeng Kong, Chris Dyer, and Jacob Eisenstein. Document context language models. arXiv preprint arXiv:1511.03962, 2015. ",
1252
+ "bbox": [
1253
+ 169,
1254
+ 780,
1255
+ 823,
1256
+ 810
1257
+ ],
1258
+ "page_idx": 9
1259
+ },
1260
+ {
1261
+ "type": "text",
1262
+ "text": "Rafal Jozefowicz, Oriol Vinyals, Mike Schuster, Noam Shazeer, and Yonghui Wu. Exploring the limits of language modeling. arXiv preprint arXiv:1602.02410, 2016. ",
1263
+ "bbox": [
1264
+ 174,
1265
+ 818,
1266
+ 823,
1267
+ 848
1268
+ ],
1269
+ "page_idx": 9
1270
+ },
1271
+ {
1272
+ "type": "text",
1273
+ "text": "Chloe Kiddon, Luke Zettlemoyer, and Yejin Choi. Globally coherent text generation with neural ´ checklist models. In Proc. EMNLP, 2016. ",
1274
+ "bbox": [
1275
+ 176,
1276
+ 857,
1277
+ 821,
1278
+ 886
1279
+ ],
1280
+ "page_idx": 9
1281
+ },
1282
+ {
1283
+ "type": "text",
1284
+ "text": "Jiwei Li, Will Monroe, Alan Ritter, Michel Galley, Jianfeng Gao, and Dan Jurafsky. Deep reinforcement learning for dialogue generation. In Proc. EMNLP, 2016. ",
1285
+ "bbox": [
1286
+ 174,
1287
+ 895,
1288
+ 820,
1289
+ 924
1290
+ ],
1291
+ "page_idx": 9
1292
+ },
1293
+ {
1294
+ "type": "text",
1295
+ "text": "Wang Ling, Edward Grefenstette, Karl Moritz Hermann, Toma´s Ko ˇ cisk ˇ y, Andrew Senior, Fumin ´ Wang, and Phil Blunsom. Latent predictor networks for code generation. In Proc. ACL, 2016. ",
1296
+ "bbox": [
1297
+ 173,
1298
+ 103,
1299
+ 825,
1300
+ 132
1301
+ ],
1302
+ "page_idx": 10
1303
+ },
1304
+ {
1305
+ "type": "text",
1306
+ "text": "Stephen Merity, Caiming Xiong, James Bradbury, and Richard Socher. Pointer sentinel mixture models. arXiv preprint arXiv:1609.07843, 2016. ",
1307
+ "bbox": [
1308
+ 174,
1309
+ 141,
1310
+ 823,
1311
+ 170
1312
+ ],
1313
+ "page_idx": 10
1314
+ },
1315
+ {
1316
+ "type": "text",
1317
+ "text": "Tomas Mikolov, Martin Karafiat, Lukas Burget, Jan Cernock ´ y, and Sanjeev Khudanpur. Recurrent \\` neural network based language model. In Interspeech, volume 2, pp. 3, 2010. ",
1318
+ "bbox": [
1319
+ 173,
1320
+ 178,
1321
+ 823,
1322
+ 208
1323
+ ],
1324
+ "page_idx": 10
1325
+ },
1326
+ {
1327
+ "type": "text",
1328
+ "text": "Iulian V Serban, Alessandro Sordoni, Yoshua Bengio, Aaron Courville, and Joelle Pineau. Building end-to-end dialogue systems using generative hierarchical neural network models. In Proceedings of the 30th AAAI Conference on Artificial Intelligence (AAAI-16), 2016. ",
1329
+ "bbox": [
1330
+ 174,
1331
+ 215,
1332
+ 823,
1333
+ 260
1334
+ ],
1335
+ "page_idx": 10
1336
+ },
1337
+ {
1338
+ "type": "text",
1339
+ "text": "Lifeng Shang, Zhengdong Lu, and Hang Li. Neural responding machine for short-text conversation. arXiv preprint arXiv:1503.02364, 2015. ",
1340
+ "bbox": [
1341
+ 169,
1342
+ 267,
1343
+ 823,
1344
+ 297
1345
+ ],
1346
+ "page_idx": 10
1347
+ },
1348
+ {
1349
+ "type": "text",
1350
+ "text": "Alessandro Sordoni, Michel Galley, Michael Auli, Chris Brockett, Yangfeng Ji, Meg Mitchell, JianYun Nie, Jianfeng Gao, and Bill Dolan. A neural network approach to context-sensitive generation of conversational responses. In Proc. NAACL, 2015. ",
1351
+ "bbox": [
1352
+ 174,
1353
+ 305,
1354
+ 821,
1355
+ 349
1356
+ ],
1357
+ "page_idx": 10
1358
+ },
1359
+ {
1360
+ "type": "text",
1361
+ "text": "Ilya Sutskever, Oriol Vinyals, and Quoc V Le. Sequence to sequence learning with neural networks. In Advances in neural information processing systems, pp. 3104–3112, 2014. ",
1362
+ "bbox": [
1363
+ 173,
1364
+ 357,
1365
+ 821,
1366
+ 387
1367
+ ],
1368
+ "page_idx": 10
1369
+ },
1370
+ {
1371
+ "type": "text",
1372
+ "text": "Oriol Vinyals and Quoc V. Le. A neural conversational model. In Proc. ICML Deep Learning Workshop, 2015. ",
1373
+ "bbox": [
1374
+ 174,
1375
+ 395,
1376
+ 823,
1377
+ 424
1378
+ ],
1379
+ "page_idx": 10
1380
+ },
1381
+ {
1382
+ "type": "text",
1383
+ "text": "Oriol Vinyals, Meire Fortunato, and Navdeep Jaitly. Pointer networks. In Proc. NIPS, 2015. ",
1384
+ "bbox": [
1385
+ 173,
1386
+ 433,
1387
+ 777,
1388
+ 449
1389
+ ],
1390
+ "page_idx": 10
1391
+ },
1392
+ {
1393
+ "type": "text",
1394
+ "text": "Tian Wang and Kyunghyun Cho. Larger-context language modelling. arXiv preprint arXiv:1511.03729, 2015. ",
1395
+ "bbox": [
1396
+ 173,
1397
+ 457,
1398
+ 823,
1399
+ 486
1400
+ ],
1401
+ "page_idx": 10
1402
+ },
1403
+ {
1404
+ "type": "text",
1405
+ "text": "Tsung-Hsien Wen, Milica Gasic, Nikola Mrksic, Pei-hao Su, David Vandyke, and Steve J. Young. Semantically conditioned LSTM-based natural language generation for spoken dialogue systems. In Proc. EMNLP, 2015. ",
1406
+ "bbox": [
1407
+ 173,
1408
+ 494,
1409
+ 823,
1410
+ 537
1411
+ ],
1412
+ "page_idx": 10
1413
+ },
1414
+ {
1415
+ "type": "text",
1416
+ "text": "Tsung-Hsien Wen, Milica Gasic, Nikola Mrksic, Lina M Rojas-Barahona, Pei-Hao Su, Stefan Ultes, David Vandyke, and Steve Young. A network-based end-to-end trainable task-oriented dialogue system. arXiv preprint arXiv:1604.04562, 2016. ",
1417
+ "bbox": [
1418
+ 173,
1419
+ 545,
1420
+ 823,
1421
+ 589
1422
+ ],
1423
+ "page_idx": 10
1424
+ },
1425
+ {
1426
+ "type": "text",
1427
+ "text": "Jason D Williams and Geoffrey Zweig. End-to-end lstm-based dialog control optimized with supervised and reinforcement learning. arXiv preprint arXiv:1606.01269, 2016. ",
1428
+ "bbox": [
1429
+ 171,
1430
+ 597,
1431
+ 823,
1432
+ 627
1433
+ ],
1434
+ "page_idx": 10
1435
+ },
1436
+ {
1437
+ "type": "text",
1438
+ "text": "Sam Wiseman, Alexander M Rush, and Stuart M Shieber. Learning global features for coreference resolution. arXiv preprint arXiv:1604.03035, 2016. ",
1439
+ "bbox": [
1440
+ 174,
1441
+ 636,
1442
+ 823,
1443
+ 665
1444
+ ],
1445
+ "page_idx": 10
1446
+ },
1447
+ {
1448
+ "type": "text",
1449
+ "text": "Steve Young, Milica Gasiˇ c, Blaise Thomson, and Jason D Williams. Pomdp-based statistical spoken ´ dialog systems: A review. Proceedings of the IEEE, 101(5):1160–1179, 2013. ",
1450
+ "bbox": [
1451
+ 174,
1452
+ 672,
1453
+ 825,
1454
+ 703
1455
+ ],
1456
+ "page_idx": 10
1457
+ },
1458
+ {
1459
+ "type": "text",
1460
+ "text": "A VISUALIZATION ",
1461
+ "text_level": 1,
1462
+ "bbox": [
1463
+ 176,
1464
+ 102,
1465
+ 344,
1466
+ 117
1467
+ ],
1468
+ "page_idx": 11
1469
+ },
1470
+ {
1471
+ "type": "text",
1472
+ "text": "M: Hello , welcome to the Cambridge restaurant system ? You can ask for restaurants by area , price range or food type . How may I help you ? \nU: and expensive restaurant that serves tuscan food \nM: Sorry there is no tuscan restaurant in the expensive price range \nU: french food \nM: cote is a great restaurant serving french food and it is in the expensive price range \nU: may i have the phone number \nM: The phone number of cote is 01223 311053 . \nU: thank you good bye \nM: Hello , welcome to the Cambridge restaurant system ? You can ask for restaurants by area , price range or food type . How may I help you ? \nU: cheap restaurant \nM: What kind of food would you like ? \nU: in the west part of town \nM: la margherita is a nice restaurant in the west of town in the cheap price range \nU: address \nM: Sure , la margherita is on 15 Magdalene Street City Centre \nU: thank you \nM: la margherita is a nice restaurant in the west of town in the cheap price range \nU: good bye ",
1473
+ "bbox": [
1474
+ 183,
1475
+ 137,
1476
+ 779,
1477
+ 251
1478
+ ],
1479
+ "page_idx": 11
1480
+ },
1481
+ {
1482
+ "type": "table",
1483
+ "img_path": "images/e31084ef79ac19593ab17d5c577c581bfc002ada7a48a379f96b165f2241b3d5.jpg",
1484
+ "table_caption": [
1485
+ "(a) Dialogue script "
1486
+ ],
1487
+ "table_footnote": [],
1488
+ "table_body": "<table><tr><td rowspan=1 colspan=1>NAME</td><td rowspan=1 colspan=1>PRICE RANGE</td><td rowspan=1 colspan=1>FOOD</td><td rowspan=1 colspan=1>AREA</td><td rowspan=1 colspan=1>ADDRESS</td><td rowspan=1 colspan=1>POST CODE</td><td rowspan=1 colspan=1>PHONE</td></tr><tr><td rowspan=1 colspan=1>charlie chan</td><td rowspan=1 colspan=1>cheap</td><td rowspan=1 colspan=1>chinese</td><td rowspan=1 colspan=1>east</td><td rowspan=1 colspan=1>Regent Street City Cen-tre</td><td rowspan=1 colspan=1>C.B 2, 1 D.B</td><td rowspan=1 colspan=1>01223 361763</td></tr><tr><td rowspan=1 colspan=1>chiquito restau-rant bar</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>mexican</td><td rowspan=1 colspan=1>south</td><td rowspan=1 colspan=1>2G Cambridge LeisurePark Cherry HintonRoad Cherry Hinton</td><td rowspan=1 colspan=1>C.B 1,7D.Y</td><td rowspan=1 colspan=1>01223 400170</td></tr><tr><td rowspan=1 colspan=1>city stop</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>food</td><td rowspan=1 colspan=1>north</td><td rowspan=1 colspan=1>Cambridge City Foot-ball Club Milton RoadChesterton</td><td rowspan=1 colspan=1>EMPTY</td><td rowspan=1 colspan=1>01223 363270</td></tr><tr><td rowspan=1 colspan=1>clowns cafe</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>italian</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>EMPTY</td><td rowspan=1 colspan=1>C.B 1,1 L.N</td><td rowspan=1 colspan=1>01223 355711</td></tr><tr><td rowspan=1 colspan=1>cocum</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>indian</td><td rowspan=1 colspan=1>west</td><td rowspan=1 colspan=1>71 CastleStreet CityCentre</td><td rowspan=1 colspan=1>C.B 3,0 A.H</td><td rowspan=1 colspan=1>01223 366668</td></tr><tr><td rowspan=1 colspan=1>cote</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>french</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>Bridge Street City Cen-tre</td><td rowspan=1 colspan=1>C.B 2, 1U.F</td><td rowspan=1 colspan=1>01223 311053</td></tr><tr><td rowspan=1 colspan=1> curry garden</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>indian</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>106 Regent Street CityCentre</td><td rowspan=1 colspan=1>EMPTY</td><td rowspan=1 colspan=1>01223 302330</td></tr><tr><td rowspan=1 colspan=1>curry king</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>indian</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>5Jordans Yard BridgeStreet City Centre</td><td rowspan=1 colspan=1>C.B 1,2 B.D</td><td rowspan=1 colspan=1>01223 324351</td></tr><tr><td rowspan=1 colspan=1>curry prince</td><td rowspan=1 colspan=1>moderate</td><td rowspan=1 colspan=1>indian</td><td rowspan=1 colspan=1>east</td><td rowspan=1 colspan=1>451 Newmarket RoadFen Ditton</td><td rowspan=1 colspan=1>C.B 5, 8 J.J</td><td rowspan=1 colspan=1>01223 566388</td></tr></table>",
1489
+ "bbox": [
1490
+ 173,
1491
+ 272,
1492
+ 882,
1493
+ 530
1494
+ ],
1495
+ "page_idx": 11
1496
+ },
1497
+ {
1498
+ "type": "table",
1499
+ "img_path": "images/0d8bc099cf3f15db245da8f1f34f6952c46fb09dd90e818d9f8bb3b1af57baa3.jpg",
1500
+ "table_caption": [
1501
+ "(b) Attention heat map: cote is a great restaurant serving french food and it is in the expensive price range. ",
1502
+ "Table 7: Dialogue visualization 1 "
1503
+ ],
1504
+ "table_footnote": [
1505
+ "(c) Attention heap map: The phone number of cote is 01223 311053 . "
1506
+ ],
1507
+ "table_body": "<table><tr><td rowspan=1 colspan=1>NAME</td><td rowspan=1 colspan=1>PRICERANGE</td><td rowspan=1 colspan=1>FOOD</td><td rowspan=1 colspan=1>AREA</td><td rowspan=1 colspan=1>ADDRESS</td><td rowspan=1 colspan=1>POST CODE</td><td rowspan=1 colspan=1>PHONE</td></tr><tr><td rowspan=1 colspan=1>charlie chan</td><td rowspan=1 colspan=1>cheap</td><td rowspan=1 colspan=1>chinese</td><td rowspan=1 colspan=1>east</td><td rowspan=1 colspan=1>Regent Street City Cen-tre</td><td rowspan=1 colspan=1>C.B 2,1 D.B</td><td rowspan=1 colspan=1>01223 361763</td></tr><tr><td rowspan=1 colspan=1>chiquito restau-rant bar</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>mexican</td><td rowspan=1 colspan=1>south</td><td rowspan=1 colspan=1>2G Cambridge LeisurePark Cherry HintonRoad CherryHinton</td><td rowspan=1 colspan=1>C.B 1,7D.Y</td><td rowspan=1 colspan=1>01223 400170</td></tr><tr><td rowspan=1 colspan=1>city stop</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>food</td><td rowspan=1 colspan=1>north</td><td rowspan=1 colspan=1>Cambridge City Foot-ball Club Milton RoadChesterton</td><td rowspan=1 colspan=1>EMPTY</td><td rowspan=1 colspan=1>01223 363270</td></tr><tr><td rowspan=1 colspan=1>clowns cafe</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>italian</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>EMPTY</td><td rowspan=1 colspan=1>C.B1, 1 L.N</td><td rowspan=1 colspan=1>01223 355711</td></tr><tr><td rowspan=1 colspan=1>cocum</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>indian</td><td rowspan=1 colspan=1>west</td><td rowspan=1 colspan=1>71 CastleStreet CityCentre</td><td rowspan=1 colspan=1>C.B 3,0 A.H</td><td rowspan=1 colspan=1>01223 366668</td></tr><tr><td rowspan=1 colspan=1>cote</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>french</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>Bridge Street City Cen-tre</td><td rowspan=1 colspan=1>C.B 2,1 U.F</td><td rowspan=1 colspan=1>01223 311053</td></tr><tr><td rowspan=1 colspan=1>curry garden</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>indian</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>106 Regent Street CityCentre</td><td rowspan=1 colspan=1>EMPTY</td><td rowspan=1 colspan=1>01223302330</td></tr><tr><td rowspan=1 colspan=1> curry king</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>indian</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>5Jordans Yard BridgeStreet City Centre</td><td rowspan=1 colspan=1>C.B1,2 B.D</td><td rowspan=1 colspan=1>01223 324351</td></tr><tr><td rowspan=1 colspan=1>curry prince</td><td rowspan=1 colspan=1>moderate</td><td rowspan=1 colspan=1>indian</td><td rowspan=1 colspan=1>east</td><td rowspan=1 colspan=1>451 Newmarket RoadFen Ditton</td><td rowspan=1 colspan=1>C.B 5, 8 J.J</td><td rowspan=1 colspan=1>01223 566388</td></tr></table>",
1508
+ "bbox": [
1509
+ 173,
1510
+ 551,
1511
+ 882,
1512
+ 809
1513
+ ],
1514
+ "page_idx": 11
1515
+ },
1516
+ {
1517
+ "type": "text",
1518
+ "text": "",
1519
+ "bbox": [
1520
+ 183,
1521
+ 150,
1522
+ 779,
1523
+ 290
1524
+ ],
1525
+ "page_idx": 12
1526
+ },
1527
+ {
1528
+ "type": "table",
1529
+ "img_path": "images/cfecb832e28e27b7c193e6f0fca11681f8407a83b291fbb8a2098dd7f07d9b43.jpg",
1530
+ "table_caption": [
1531
+ "(a) Dialogue script "
1532
+ ],
1533
+ "table_footnote": [],
1534
+ "table_body": "<table><tr><td rowspan=1 colspan=1>NAME</td><td rowspan=1 colspan=1>PRICE RANGE</td><td rowspan=1 colspan=1>FOOD</td><td rowspan=1 colspan=1>AREA</td><td rowspan=1 colspan=1>ADDRESS</td><td rowspan=1 colspan=1>POST CODE</td><td rowspan=1 colspan=1>PHONE</td></tr><tr><td rowspan=1 colspan=1>india house</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>indian</td><td rowspan=1 colspan=1>west</td><td rowspan=1 colspan=1>31Newnham RoadNewnham</td><td rowspan=1 colspan=1>EMPTY</td><td rowspan=1 colspan=1>01223 461661</td></tr><tr><td rowspan=1 colspan=1>j restaurant</td><td rowspan=1 colspan=1>cheap</td><td rowspan=1 colspan=1>oriental</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>86Regent Street CityCentre</td><td rowspan=1 colspan=1>C.B 2,1 D.P</td><td rowspan=1 colspan=1>01223 307581</td></tr><tr><td rowspan=1 colspan=1>jinlingnoodlebar</td><td rowspan=1 colspan=1>moderate</td><td rowspan=1 colspan=1>chinese</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>11 Peas Hill City Cen-tre</td><td rowspan=1 colspan=1>C.B 2, 3 P.P</td><td rowspan=1 colspan=1>01223 566188</td></tr><tr><td rowspan=1 colspan=1>kohinoor</td><td rowspan=1 colspan=1>cheap</td><td rowspan=1 colspan=1>indian</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>74 Mill Road City Cen-tre</td><td rowspan=1 colspan=1>EMPTY</td><td rowspan=1 colspan=1>01223 323639</td></tr><tr><td rowspan=1 colspan=1>kymmoy</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>oriental</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1> 52 Mill Road City Cen-tre</td><td rowspan=1 colspan=1>C.B 1,2 A.S</td><td rowspan=1 colspan=1>01223 311911</td></tr><tr><td rowspan=1 colspan=1>la margherita</td><td rowspan=1 colspan=1>cheap</td><td rowspan=1 colspan=1>italian</td><td rowspan=1 colspan=1>west</td><td rowspan=1 colspan=1>15MagdaleneStreetCity Centre</td><td rowspan=1 colspan=1>C.B 3,0 A.F</td><td rowspan=1 colspan=1>01223 315232</td></tr><tr><td rowspan=1 colspan=1>la mimosa</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>mediterranean</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>ThompsonsLane FenDitton</td><td rowspan=1 colspan=1>C.B 5,8 A.Q</td><td rowspan=1 colspan=1>01223 362525</td></tr><tr><td rowspan=1 colspan=1>la raza</td><td rowspan=1 colspan=1>cheap</td><td rowspan=1 colspan=1>spanish</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>4-6Rose Crescent</td><td rowspan=1 colspan=1>C.B 2, 3L.L</td><td rowspan=1 colspan=1>01223 464550</td></tr><tr><td rowspan=1 colspan=1>la tasca</td><td rowspan=1 colspan=1>moderate</td><td rowspan=1 colspan=1>spanish</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>14 -16 Bridge Street</td><td rowspan=1 colspan=1>C.B 2,1U.F</td><td rowspan=1 colspan=1>01223464630</td></tr><tr><td rowspan=1 colspan=1>lan hong house</td><td rowspan=1 colspan=1>moderate</td><td rowspan=1 colspan=1>chinese</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>12 Norfolk Street CityCentre</td><td rowspan=1 colspan=1>EMPTY</td><td rowspan=1 colspan=1>01223 350420</td></tr></table>",
1535
+ "bbox": [
1536
+ 173,
1537
+ 311,
1538
+ 915,
1539
+ 558
1540
+ ],
1541
+ "page_idx": 12
1542
+ },
1543
+ {
1544
+ "type": "table",
1545
+ "img_path": "images/91ff1c3dba5675cded295e88770f48349c81852b2cd949f25ff89fdc5939fb54.jpg",
1546
+ "table_caption": [
1547
+ "(b) Attention heat map: la margherita is a nice restaurant in the west of town in the cheap price range ",
1548
+ "Table 8: Dialogue visualization 2 "
1549
+ ],
1550
+ "table_footnote": [],
1551
+ "table_body": "<table><tr><td rowspan=1 colspan=1>NAME</td><td rowspan=1 colspan=1>PRICE RANGE</td><td rowspan=1 colspan=1>FOOD</td><td rowspan=1 colspan=1>AREA</td><td rowspan=1 colspan=1>ADDRESS</td><td rowspan=1 colspan=1>POST CODE</td><td rowspan=1 colspan=1>PHONE</td></tr><tr><td rowspan=1 colspan=1>india house</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>indian</td><td rowspan=1 colspan=1>west</td><td rowspan=1 colspan=1>311Newnham RoadNewnham</td><td rowspan=1 colspan=1>EMPTY</td><td rowspan=1 colspan=1>01223 461661</td></tr><tr><td rowspan=1 colspan=1>jrestaurant</td><td rowspan=1 colspan=1>cheap</td><td rowspan=1 colspan=1>oriental</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>86RegentStreet CityCentre</td><td rowspan=1 colspan=1>C.B 2, 1 D.P</td><td rowspan=1 colspan=1>01223 307581</td></tr><tr><td rowspan=1 colspan=1> jinlingnoodlebar</td><td rowspan=1 colspan=1>moderate</td><td rowspan=1 colspan=1>chinese</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>11 Peas Hill City Cen-tre</td><td rowspan=1 colspan=1>C.B 2, 3 P.P</td><td rowspan=1 colspan=1>01223 566188</td></tr><tr><td rowspan=1 colspan=1>kohinoor</td><td rowspan=1 colspan=1>cheap</td><td rowspan=1 colspan=1>indian</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>74 Mill Road City Cen-tre</td><td rowspan=1 colspan=1>EMPTY</td><td rowspan=1 colspan=1>01223 323639</td></tr><tr><td rowspan=1 colspan=1>kymmoy</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>oriental</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1> 52 Mill Road City Cen-tre</td><td rowspan=1 colspan=1>C.B 1,2 A.S</td><td rowspan=1 colspan=1>01223 311911</td></tr><tr><td rowspan=1 colspan=1>la margherita</td><td rowspan=1 colspan=1>cheap</td><td rowspan=1 colspan=1>italian</td><td rowspan=1 colspan=1>west</td><td rowspan=1 colspan=1> 15 MagdaleneStreetCity Centre</td><td rowspan=1 colspan=1>C.B 3,0 A.F</td><td rowspan=1 colspan=1>01223 315232</td></tr><tr><td rowspan=1 colspan=1>la mimosa</td><td rowspan=1 colspan=1>expensive</td><td rowspan=1 colspan=1>mediterranean</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>ThompsonsLane FenDitton</td><td rowspan=1 colspan=1>C.B 5, 8 A.Q</td><td rowspan=1 colspan=1>01223 362525</td></tr><tr><td rowspan=1 colspan=1>la raza</td><td rowspan=1 colspan=1>cheap</td><td rowspan=1 colspan=1>spanish</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>4 -6 Rose Crescent</td><td rowspan=1 colspan=1>C.B 2, 3 L.L</td><td rowspan=1 colspan=1>01223 464550</td></tr><tr><td rowspan=1 colspan=1>la tasca</td><td rowspan=1 colspan=1>moderate</td><td rowspan=1 colspan=1>spanish</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>14-16 Bridge Street</td><td rowspan=1 colspan=1>C.B 2, 1 U.F</td><td rowspan=1 colspan=1>01223 464630</td></tr><tr><td rowspan=1 colspan=1>lan hong house</td><td rowspan=1 colspan=1>moderate</td><td rowspan=1 colspan=1>chinese</td><td rowspan=1 colspan=1>centre</td><td rowspan=1 colspan=1>12 Norfolk Street CityCentre</td><td rowspan=1 colspan=1>EMPTY</td><td rowspan=1 colspan=1>01223 350420</td></tr></table>",
1552
+ "bbox": [
1553
+ 173,
1554
+ 579,
1555
+ 916,
1556
+ 824
1557
+ ],
1558
+ "page_idx": 12
1559
+ },
1560
+ {
1561
+ "type": "text",
1562
+ "text": "(c) Attention heap map: Sure , la margherita is on 15 Magdalene Street City Centre. ",
1563
+ "bbox": [
1564
+ 209,
1565
+ 830,
1566
+ 787,
1567
+ 844
1568
+ ],
1569
+ "page_idx": 12
1570
+ },
1571
+ {
1572
+ "type": "image",
1573
+ "img_path": "images/5c040a0339d10ef5db2a8c0736a89dc5f36207d727dc95cefe05eff4a67e065b.jpg",
1574
+ "image_caption": [
1575
+ "Figure 6: Recipe heat map example 1. The ingredient tokens appear on the left while the recipe tokens appear on the top. The first row is the $p \\big ( \\bar { z } _ { v } | s _ { v } \\big )$ . "
1576
+ ],
1577
+ "image_footnote": [],
1578
+ "bbox": [
1579
+ 179,
1580
+ 212,
1581
+ 820,
1582
+ 763
1583
+ ],
1584
+ "page_idx": 13
1585
+ },
1586
+ {
1587
+ "type": "image",
1588
+ "img_path": "images/540e5f6a28797252925d3445abfb72ca056f1c0a464097561f7c4b5ff011b8df.jpg",
1589
+ "image_caption": [
1590
+ "Figure 7: Recipe heat map example 2. "
1591
+ ],
1592
+ "image_footnote": [],
1593
+ "bbox": [
1594
+ 181,
1595
+ 7,
1596
+ 823,
1597
+ 891
1598
+ ],
1599
+ "page_idx": 14
1600
+ }
1601
+ ]
parse/train/ByG8A7cee/ByG8A7cee_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/ByG8A7cee/ByG8A7cee_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/ByJWeR1AW/ByJWeR1AW_layout.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c002b325164075350325e1e32656d236c2aa4219a83c939e4279308ab2129103
3
+ size 600863
parse/train/ByJWeR1AW/ByJWeR1AW_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5046c6c5659274e147128b7cbecbefe895ad59a4dcc4cd4e818cb97cb46358d
3
+ size 485888
parse/train/ByJWeR1AW/ByJWeR1AW_span.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b2d32fbf6d1ec4c8b6aba7160c04c6f11e6f172a9588a39828033c93ff82e1b
3
+ size 599501
parse/train/CBmJwzneppz/CBmJwzneppz_layout.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fdda2cdc831009d3dabe6fa637dbdc2702794f33636d57858ce1a811d5ed2b6d
3
+ size 720557
parse/train/CBmJwzneppz/CBmJwzneppz_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:063c8dfdc177b7fac113bd089679478c5d5ab9a2f399678f4fa8b8be0b6c451d
3
+ size 382569
parse/train/CBmJwzneppz/CBmJwzneppz_span.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c5b779a354b88532d7fa2edd5a0164925253ca979a9e3abab42aae6acaceb58
3
+ size 736338
parse/train/Ggx8fbKZ1-D/Ggx8fbKZ1-D_layout.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21642197174da80b9cf8f47ca1f173c6789a8e2a89e699d20c37914a8cedcc13
3
+ size 5696547
parse/train/Ggx8fbKZ1-D/Ggx8fbKZ1-D_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74ed42f06a7282ace274dc725e6f95980109906015a8b569c197dac69e441bc7
3
+ size 5472134