Datasets:
Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +167 -0
- parse/dev/4p6_5HBWPCw/4p6_5HBWPCw.md +471 -0
- parse/dev/4p6_5HBWPCw/4p6_5HBWPCw_content_list.json +0 -0
- parse/dev/4p6_5HBWPCw/4p6_5HBWPCw_middle.json +0 -0
- parse/dev/4p6_5HBWPCw/4p6_5HBWPCw_model.json +0 -0
- parse/dev/7r6kDq0mK_/7r6kDq0mK_.md +396 -0
- parse/dev/7r6kDq0mK_/7r6kDq0mK__content_list.json +1986 -0
- parse/dev/7r6kDq0mK_/7r6kDq0mK__middle.json +0 -0
- parse/dev/7r6kDq0mK_/7r6kDq0mK__model.json +0 -0
- parse/dev/AIqC7F7xV-d/AIqC7F7xV-d.md +460 -0
- parse/dev/AIqC7F7xV-d/AIqC7F7xV-d_content_list.json +1495 -0
- parse/dev/AIqC7F7xV-d/AIqC7F7xV-d_middle.json +0 -0
- parse/dev/AIqC7F7xV-d/AIqC7F7xV-d_model.json +0 -0
- parse/dev/E0zOKxQsZhN/E0zOKxQsZhN_model.json +0 -0
- parse/dev/KLaDXLAzzFT/KLaDXLAzzFT.md +0 -0
- parse/dev/NbkjMn7X8H/NbkjMn7X8H_model.json +0 -0
- parse/dev/PqvMRDCJT9t/PqvMRDCJT9t_content_list.json +0 -0
- parse/dev/PqvMRDCJT9t/PqvMRDCJT9t_model.json +0 -0
- parse/dev/S874XAIpkR-/S874XAIpkR-_model.json +0 -0
- parse/dev/_SJ-_yyes8/_SJ-_yyes8_content_list.json +1435 -0
- parse/dev/_VjQlMeSB_J/_VjQlMeSB_J.md +295 -0
- parse/dev/_VjQlMeSB_J/_VjQlMeSB_J_content_list.json +1424 -0
- parse/dev/_VjQlMeSB_J/_VjQlMeSB_J_middle.json +0 -0
- parse/dev/_VjQlMeSB_J/_VjQlMeSB_J_model.json +0 -0
- parse/dev/eYciPrLuUhG/eYciPrLuUhG_middle.json +0 -0
- parse/dev/ldRb12nMfLQ/ldRb12nMfLQ.md +228 -0
- parse/dev/ldRb12nMfLQ/ldRb12nMfLQ_content_list.json +949 -0
- parse/dev/ldRb12nMfLQ/ldRb12nMfLQ_middle.json +0 -0
- parse/dev/ldRb12nMfLQ/ldRb12nMfLQ_model.json +0 -0
- parse/dev/shpkpVXzo3h/shpkpVXzo3h_model.json +0 -0
- parse/dev/zkk_7sV6gm8/zkk_7sV6gm8.md +458 -0
- parse/dev/zkk_7sV6gm8/zkk_7sV6gm8_content_list.json +1116 -0
- parse/dev/zkk_7sV6gm8/zkk_7sV6gm8_middle.json +0 -0
- parse/dev/zkk_7sV6gm8/zkk_7sV6gm8_model.json +0 -0
- parse/train/2VXyy9mIyU3/2VXyy9mIyU3_layout.pdf +3 -0
- parse/train/2VXyy9mIyU3/2VXyy9mIyU3_origin.pdf +3 -0
- parse/train/2VXyy9mIyU3/2VXyy9mIyU3_span.pdf +3 -0
- parse/train/3g5KdPD8LIL/3g5KdPD8LIL_layout.pdf +3 -0
- parse/train/3g5KdPD8LIL/3g5KdPD8LIL_origin.pdf +3 -0
- parse/train/3g5KdPD8LIL/3g5KdPD8LIL_span.pdf +3 -0
- parse/train/9uFiX_HRsIL/9uFiX_HRsIL_layout.pdf +3 -0
- parse/train/9uFiX_HRsIL/9uFiX_HRsIL_origin.pdf +3 -0
- parse/train/9uFiX_HRsIL/9uFiX_HRsIL_span.pdf +3 -0
- parse/train/Aw96fN64soV/Aw96fN64soV_layout.pdf +3 -0
- parse/train/Aw96fN64soV/Aw96fN64soV_origin.pdf +3 -0
- parse/train/Aw96fN64soV/Aw96fN64soV_span.pdf +3 -0
- parse/train/B1hYRMbCW/B1hYRMbCW_layout.pdf +3 -0
- parse/train/B1hYRMbCW/B1hYRMbCW_origin.pdf +3 -0
- parse/train/B1hYRMbCW/B1hYRMbCW_span.pdf +3 -0
- parse/train/BJlgt2EYwr/BJlgt2EYwr_layout.pdf +3 -0
.gitattributes
CHANGED
|
@@ -16014,3 +16014,170 @@ parse/dev/o4neHaKMlse/o4neHaKMlse_span.pdf filter=lfs diff=lfs merge=lfs -text
|
|
| 16014 |
parse/dev/BIpTWmO_BY/BIpTWmO_BY_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16015 |
parse/dev/09hVcSDkea/09hVcSDkea_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16016 |
parse/dev/09hVcSDkea/09hVcSDkea_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16014 |
parse/dev/BIpTWmO_BY/BIpTWmO_BY_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16015 |
parse/dev/09hVcSDkea/09hVcSDkea_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16016 |
parse/dev/09hVcSDkea/09hVcSDkea_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16017 |
+
parse/train/B1hYRMbCW/B1hYRMbCW_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16018 |
+
parse/train/B1hYRMbCW/B1hYRMbCW_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16019 |
+
parse/train/B1hYRMbCW/B1hYRMbCW_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16020 |
+
parse/train/rylejExC-/rylejExC-_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16021 |
+
parse/train/rylejExC-/rylejExC-_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16022 |
+
parse/train/rylejExC-/rylejExC-_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16023 |
+
parse/train/Aw96fN64soV/Aw96fN64soV_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16024 |
+
parse/train/Aw96fN64soV/Aw96fN64soV_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16025 |
+
parse/train/Aw96fN64soV/Aw96fN64soV_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16026 |
+
parse/train/SkeuexBtDr/SkeuexBtDr_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16027 |
+
parse/train/SkeuexBtDr/SkeuexBtDr_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16028 |
+
parse/train/SkeuexBtDr/SkeuexBtDr_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16029 |
+
parse/train/zx_uX-BO7CH/zx_uX-BO7CH_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16030 |
+
parse/train/zx_uX-BO7CH/zx_uX-BO7CH_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16031 |
+
parse/train/zx_uX-BO7CH/zx_uX-BO7CH_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16032 |
+
parse/train/H1gsz30cKX/H1gsz30cKX_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16033 |
+
parse/train/H1gsz30cKX/H1gsz30cKX_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16034 |
+
parse/train/H1gsz30cKX/H1gsz30cKX_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16035 |
+
parse/train/S1GkToR5tm/S1GkToR5tm_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16036 |
+
parse/train/S1GkToR5tm/S1GkToR5tm_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16037 |
+
parse/train/S1GkToR5tm/S1GkToR5tm_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16038 |
+
parse/train/SK7A5pdrgov/SK7A5pdrgov_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16039 |
+
parse/train/SK7A5pdrgov/SK7A5pdrgov_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16040 |
+
parse/train/SK7A5pdrgov/SK7A5pdrgov_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16041 |
+
parse/train/rylBK34FDS/rylBK34FDS_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16042 |
+
parse/train/rylBK34FDS/rylBK34FDS_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16043 |
+
parse/train/rylBK34FDS/rylBK34FDS_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16044 |
+
parse/train/SJICXeWAb/SJICXeWAb_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16045 |
+
parse/train/SJICXeWAb/SJICXeWAb_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16046 |
+
parse/train/SJICXeWAb/SJICXeWAb_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16047 |
+
parse/train/BJlgt2EYwr/BJlgt2EYwr_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16048 |
+
parse/train/BJlgt2EYwr/BJlgt2EYwr_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16049 |
+
parse/train/BJlgt2EYwr/BJlgt2EYwr_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16050 |
+
parse/train/SkxbDsR9Ym/SkxbDsR9Ym_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16051 |
+
parse/train/SkxbDsR9Ym/SkxbDsR9Ym_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16052 |
+
parse/train/SkxbDsR9Ym/SkxbDsR9Ym_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16053 |
+
parse/train/9uFiX_HRsIL/9uFiX_HRsIL_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16054 |
+
parse/train/9uFiX_HRsIL/9uFiX_HRsIL_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16055 |
+
parse/train/9uFiX_HRsIL/9uFiX_HRsIL_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16056 |
+
parse/train/DktZb97_Fx/DktZb97_Fx_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16057 |
+
parse/train/DktZb97_Fx/DktZb97_Fx_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16058 |
+
parse/train/DktZb97_Fx/DktZb97_Fx_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16059 |
+
parse/train/ebS5NUfoMKL/ebS5NUfoMKL_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16060 |
+
parse/train/ebS5NUfoMKL/ebS5NUfoMKL_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16061 |
+
parse/train/ebS5NUfoMKL/ebS5NUfoMKL_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16062 |
+
parse/train/MXmmuhJYPdU/MXmmuhJYPdU_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16063 |
+
parse/train/MXmmuhJYPdU/MXmmuhJYPdU_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16064 |
+
parse/train/MXmmuhJYPdU/MXmmuhJYPdU_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16065 |
+
parse/train/IXexLXymbZ9/IXexLXymbZ9_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16066 |
+
parse/train/IXexLXymbZ9/IXexLXymbZ9_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16067 |
+
parse/train/IXexLXymbZ9/IXexLXymbZ9_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16068 |
+
parse/train/Hkxr1nCcFm/Hkxr1nCcFm_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16069 |
+
parse/train/Hkxr1nCcFm/Hkxr1nCcFm_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16070 |
+
parse/train/Hkxr1nCcFm/Hkxr1nCcFm_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16071 |
+
parse/train/H1gpET4YDB/H1gpET4YDB_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16072 |
+
parse/train/H1gpET4YDB/H1gpET4YDB_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16073 |
+
parse/train/H1gpET4YDB/H1gpET4YDB_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16074 |
+
parse/train/hu2aMLzOxC/hu2aMLzOxC_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16075 |
+
parse/train/hu2aMLzOxC/hu2aMLzOxC_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16076 |
+
parse/train/hu2aMLzOxC/hu2aMLzOxC_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16077 |
+
parse/train/rh0vIXw6i33/rh0vIXw6i33_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16078 |
+
parse/train/rh0vIXw6i33/rh0vIXw6i33_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16079 |
+
parse/train/rh0vIXw6i33/rh0vIXw6i33_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16080 |
+
parse/train/N1i6BJzouX4/N1i6BJzouX4_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16081 |
+
parse/train/N1i6BJzouX4/N1i6BJzouX4_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16082 |
+
parse/train/N1i6BJzouX4/N1i6BJzouX4_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16083 |
+
parse/train/BkgzniCqY7/BkgzniCqY7_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16084 |
+
parse/train/BkgzniCqY7/BkgzniCqY7_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16085 |
+
parse/train/BkgzniCqY7/BkgzniCqY7_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16086 |
+
parse/train/Hy6GHpkCW/Hy6GHpkCW_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16087 |
+
parse/train/Hy6GHpkCW/Hy6GHpkCW_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16088 |
+
parse/train/Hy6GHpkCW/Hy6GHpkCW_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16089 |
+
parse/train/HyzMyhCcK7/HyzMyhCcK7_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16090 |
+
parse/train/HyzMyhCcK7/HyzMyhCcK7_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16091 |
+
parse/train/HyzMyhCcK7/HyzMyhCcK7_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16092 |
+
parse/train/2VXyy9mIyU3/2VXyy9mIyU3_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16093 |
+
parse/train/2VXyy9mIyU3/2VXyy9mIyU3_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16094 |
+
parse/train/2VXyy9mIyU3/2VXyy9mIyU3_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16095 |
+
parse/train/ByxhOyHYwH/ByxhOyHYwH_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16096 |
+
parse/train/ByxhOyHYwH/ByxhOyHYwH_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16097 |
+
parse/train/ByxhOyHYwH/ByxhOyHYwH_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16098 |
+
parse/train/LwEQnp6CYev/LwEQnp6CYev_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16099 |
+
parse/train/LwEQnp6CYev/LwEQnp6CYev_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16100 |
+
parse/train/LwEQnp6CYev/LwEQnp6CYev_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16101 |
+
parse/train/US-TP-xnXI/US-TP-xnXI_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16102 |
+
parse/train/US-TP-xnXI/US-TP-xnXI_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16103 |
+
parse/train/US-TP-xnXI/US-TP-xnXI_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16104 |
+
parse/train/a-xFK8Ymz5J/a-xFK8Ymz5J_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16105 |
+
parse/train/a-xFK8Ymz5J/a-xFK8Ymz5J_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16106 |
+
parse/train/a-xFK8Ymz5J/a-xFK8Ymz5J_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16107 |
+
parse/train/sy4Kg_ZQmS7/sy4Kg_ZQmS7_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16108 |
+
parse/train/sy4Kg_ZQmS7/sy4Kg_ZQmS7_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16109 |
+
parse/train/sy4Kg_ZQmS7/sy4Kg_ZQmS7_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16110 |
+
parse/train/rkgPnhNFPB/rkgPnhNFPB_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16111 |
+
parse/train/rkgPnhNFPB/rkgPnhNFPB_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16112 |
+
parse/train/rkgPnhNFPB/rkgPnhNFPB_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16113 |
+
parse/train/e12NDM7wkEY/e12NDM7wkEY_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16114 |
+
parse/train/e12NDM7wkEY/e12NDM7wkEY_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16115 |
+
parse/train/e12NDM7wkEY/e12NDM7wkEY_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16116 |
+
parse/train/HJrDIpiee/HJrDIpiee_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16117 |
+
parse/train/HJrDIpiee/HJrDIpiee_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16118 |
+
parse/train/HJrDIpiee/HJrDIpiee_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16119 |
+
parse/train/TmkN9JmDJx1/TmkN9JmDJx1_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16120 |
+
parse/train/TmkN9JmDJx1/TmkN9JmDJx1_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16121 |
+
parse/train/TmkN9JmDJx1/TmkN9JmDJx1_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16122 |
+
parse/train/BkxthxHYvr/BkxthxHYvr_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16123 |
+
parse/train/BkxthxHYvr/BkxthxHYvr_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16124 |
+
parse/train/BkxthxHYvr/BkxthxHYvr_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16125 |
+
parse/train/HkgeGeBYDB/HkgeGeBYDB_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16126 |
+
parse/train/HkgeGeBYDB/HkgeGeBYDB_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16127 |
+
parse/train/HkgeGeBYDB/HkgeGeBYDB_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16128 |
+
parse/train/SJCscQcge/SJCscQcge_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16129 |
+
parse/train/SJCscQcge/SJCscQcge_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16130 |
+
parse/train/SJCscQcge/SJCscQcge_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16131 |
+
parse/train/OGg9XnKxFAH/OGg9XnKxFAH_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16132 |
+
parse/train/OGg9XnKxFAH/OGg9XnKxFAH_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16133 |
+
parse/train/OGg9XnKxFAH/OGg9XnKxFAH_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16134 |
+
parse/train/QjINdYOfq0b/QjINdYOfq0b_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16135 |
+
parse/train/QjINdYOfq0b/QjINdYOfq0b_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16136 |
+
parse/train/QjINdYOfq0b/QjINdYOfq0b_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16137 |
+
parse/train/HkCjNI5ex/HkCjNI5ex_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16138 |
+
parse/train/HkCjNI5ex/HkCjNI5ex_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16139 |
+
parse/train/HkCjNI5ex/HkCjNI5ex_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16140 |
+
parse/train/MuSYkd1hxRP/MuSYkd1hxRP_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16141 |
+
parse/train/MuSYkd1hxRP/MuSYkd1hxRP_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16142 |
+
parse/train/MuSYkd1hxRP/MuSYkd1hxRP_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16143 |
+
parse/train/jh-rTtvkGeM/jh-rTtvkGeM_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16144 |
+
parse/train/jh-rTtvkGeM/jh-rTtvkGeM_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16145 |
+
parse/train/jh-rTtvkGeM/jh-rTtvkGeM_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16146 |
+
parse/train/3g5KdPD8LIL/3g5KdPD8LIL_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16147 |
+
parse/train/3g5KdPD8LIL/3g5KdPD8LIL_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16148 |
+
parse/train/3g5KdPD8LIL/3g5KdPD8LIL_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16149 |
+
parse/train/HJewiCVFPB/HJewiCVFPB_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16150 |
+
parse/train/HJewiCVFPB/HJewiCVFPB_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16151 |
+
parse/train/HJewiCVFPB/HJewiCVFPB_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16152 |
+
parse/train/HkxaFoC9KQ/HkxaFoC9KQ_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16153 |
+
parse/train/HkxaFoC9KQ/HkxaFoC9KQ_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16154 |
+
parse/train/HkxaFoC9KQ/HkxaFoC9KQ_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16155 |
+
parse/train/HJV1zP5xg/HJV1zP5xg_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16156 |
+
parse/train/HJV1zP5xg/HJV1zP5xg_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16157 |
+
parse/train/HJV1zP5xg/HJV1zP5xg_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16158 |
+
parse/train/qbH974jKUVy/qbH974jKUVy_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16159 |
+
parse/train/qbH974jKUVy/qbH974jKUVy_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16160 |
+
parse/train/qbH974jKUVy/qbH974jKUVy_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16161 |
+
parse/train/NTEz-6wysdb/NTEz-6wysdb_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16162 |
+
parse/train/NTEz-6wysdb/NTEz-6wysdb_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16163 |
+
parse/train/NTEz-6wysdb/NTEz-6wysdb_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16164 |
+
parse/train/Hkl1iRNFwS/Hkl1iRNFwS_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16165 |
+
parse/train/Hkl1iRNFwS/Hkl1iRNFwS_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16166 |
+
parse/train/Hkl1iRNFwS/Hkl1iRNFwS_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16167 |
+
parse/train/SkeRTsAcYm/SkeRTsAcYm_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16168 |
+
parse/train/SkeRTsAcYm/SkeRTsAcYm_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16169 |
+
parse/train/SkeRTsAcYm/SkeRTsAcYm_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16170 |
+
parse/train/HJlSmC4FPS/HJlSmC4FPS_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16171 |
+
parse/train/HJlSmC4FPS/HJlSmC4FPS_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16172 |
+
parse/train/HJlSmC4FPS/HJlSmC4FPS_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16173 |
+
parse/train/KG2RTUXXU7/KG2RTUXXU7_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16174 |
+
parse/train/KG2RTUXXU7/KG2RTUXXU7_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16175 |
+
parse/train/KG2RTUXXU7/KG2RTUXXU7_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16176 |
+
parse/train/HkljioCcFQ/HkljioCcFQ_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16177 |
+
parse/train/HkljioCcFQ/HkljioCcFQ_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16178 |
+
parse/train/HkljioCcFQ/HkljioCcFQ_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16179 |
+
parse/train/URc7gYBcjVn/URc7gYBcjVn_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16180 |
+
parse/train/URc7gYBcjVn/URc7gYBcjVn_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16181 |
+
parse/train/URc7gYBcjVn/URc7gYBcjVn_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16182 |
+
parse/train/Hyl9xxHYPr/Hyl9xxHYPr_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 16183 |
+
parse/train/Hyl9xxHYPr/Hyl9xxHYPr_span.pdf filter=lfs diff=lfs merge=lfs -text
|
parse/dev/4p6_5HBWPCw/4p6_5HBWPCw.md
ADDED
|
@@ -0,0 +1,471 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# GRAPH-LESS NEURAL NETWORKS: TEACHING OLD MLPS NEW TRICKS VIA DISTILLATION
|
| 2 |
+
|
| 3 |
+
Shichang Zhang∗ University of California, Los Angeles shichang@cs.ucla.edu
|
| 4 |
+
|
| 5 |
+
Yozen Liu
|
| 6 |
+
Snap Inc.
|
| 7 |
+
yliu2@snap.com
|
| 8 |
+
|
| 9 |
+
# Yizhou Sun
|
| 10 |
+
|
| 11 |
+
University of California, Los Angeles yzsun@cs.ucla.edu
|
| 12 |
+
|
| 13 |
+
Neil Shah
|
| 14 |
+
Snap Inc.
|
| 15 |
+
nshah@snap.com
|
| 16 |
+
|
| 17 |
+
# ABSTRACT
|
| 18 |
+
|
| 19 |
+
Graph Neural Networks (GNNs) are popular for graph machine learning and have shown great results on wide node classification tasks. Yet, they are less popular for practical deployments in the industry owing to their scalability challenges incurred by data dependency. Namely, GNN inference depends on neighbor nodes multiple hops away from the target, and fetching them burdens latency-constrained applications. Existing inference acceleration methods like pruning and quantization can speed up GNNs by reducing Multiplication-and-ACcumulation (MAC) operations, but the improvements are limited given the data dependency is not resolved. Conversely, multi-layer perceptrons (MLPs) have no graph dependency and infer much faster than GNNs, even though they are less accurate than GNNs for node classification in general. Motivated by these complementary strengths and weaknesses, we bring GNNs and MLPs together via knowledge distillation (KD). Our work shows that the performance of MLPs can be improved by large margins with GNN KD. We call the distilled MLPs Graph-less Neural Networks (GLNNs) as they have no inference graph dependency. We show that GLNNs with competitive accuracy infer faster than GNNs by $1 4 6 \times - 2 7 3 \times$ and faster than other acceleration methods by $1 4 \times - 2 7 \times$ . Under a production setting involving both transductive and inductive predictions across 7 datasets, GLNN accuracies improve over stand-alone MLPs by $1 2 . 3 6 \%$ on average and match GNNs on 6/7 datasets. Comprehensive analysis shows when and why GLNNs can achieve competitive accuracies to GNNs and suggests GLNN as a handy choice for latency-constrained applications.
|
| 20 |
+
|
| 21 |
+
# 1 INTRODUCTION
|
| 22 |
+
|
| 23 |
+
Graph Neural Networks (GNNs) have recently become very popular for graph machine learning (GML) research and have shown great results on node classification tasks (Kipf & Welling, 2016; Hamilton et al., 2017; Velickovi ˇ c et al. ´ , 2017) like product prediction on co-purchasing graphs and paper category prediction on citation graphs. However, for large-scale industrial applications, MLPs remain the major workhorse, despite common (implicit) underlying graphs and suitability for GML formalisms. One reason for this academic-industrial gap is the challenges in scalability and deployment brought by data dependency in GNNs (Zhang et al., 2020; Jia et al., 2020), which makes GNNs hard to deploy for latency-constrained applications that require fast inference.
|
| 24 |
+
|
| 25 |
+
Neighborhood fetching caused by graph dependency is one of the major sources of GNN latency. Inference on a target node necessitates fetching topology and features of many neighbor nodes, especially on small-world graphs (detailed discussion in Section 4). Common inference acceleration techniques like pruning (Zhou et al., 2021) and quantization (Tailor et al., 2021; Zhao et al., 2020) can speed up GNNs to some extent by reducing Multiplication-and-ACcumulation (MAC) operations.
|
| 26 |
+
|
| 27 |
+
However, their improvements are limited given the graph dependency is not resolved. Unlike GNNs, MLPs have no dependency on graph data and are easier to deploy than GNNs. They also enjoy the auxiliary benefit of sidestepping the cold-start problem that often happens during the online prediction of relational data (Wei et al., 2020), meaning MLPs can infer reasonably even when neighbor information of a new encountered node is not immediately available. On the other hand, this lack of graph dependency typically hurts for relational learning tasks, limiting MLP performance on GML tasks compared to GNNs. We thus ask: can we bridge the two worlds, enjoying the low-latency, dependency-free nature of MLPs and the graph context-awareness of GNNs at the same time?
|
| 28 |
+
|
| 29 |
+
Present work. Our key finding is that it is possible to distill knowledge from GNNs to MLPs without losing significant performance, but reducing the inference time drastically for node classification. The knowledge distillation (KD) can be done offline, coupled with model training. In other words, we can shift considerable work from the latency-constrained inference step, where time reduction in milliseconds makes a huge difference, to the less time-sensitive training step, where time cost in hours or days is often tolerable. We call our approach Graph-less Neural Network (GLNN). Specifically, GLNN is a modeling paradigm involving KD from a GNN teacher to a student MLP; the resulting GLNN is an MLP optimized through KD, so it enjoys the benefits of graph contextawareness in training but has no graph dependency in inference. Regarding speed, GLNNs have superior efficiency and are $1 4 6 \times - 2 7 3 \times$ faster than GNNs and $1 4 \times - 2 7 \times$ faster than other inference acceleration methods. Regarding performance, under a production setting involving both transductive and inductive predictions on 7 datasets, GLNN accuracies improve over MLPs by $1 2 . 3 6 \%$ on average and match GNNs on $6 / 7$ datasets. We comprehensively study when and why GLNNs can achieve competitive results as GNNs. Our analysis suggests the critical factors for such great performance are large MLP sizes and high mutual information between node features and labels. Our observations align with recent results in vision and language, which posit that large enough (or slightly modified) MLPs can achieve similar results as CNNs and Transformers (Liu et al., 2021; Tolstikhin et al., 2021; Melas-Kyriazi, 2021; Touvron et al., 2021; Ding et al., 2021). Our core contributions are as follows:
|
| 30 |
+
|
| 31 |
+
• We propose GLNN, which eliminates neighbor-fetching latency in GNN inference via KD to MLP. • We show GLNNs has competitive performance as GNNs, while enjoying $1 4 6 \times - 2 7 3 \times$ faster inference than vanilla GNNs and $1 4 \times - 2 7 \times$ faster inference than other inference acceleration methods. • We study GLNN properties comprehensively by investigating their performance under different settings, how they work as regularizers, their inductive bias, expressiveness, and limitations.
|
| 32 |
+
|
| 33 |
+
# 2 RELATED WORK
|
| 34 |
+
|
| 35 |
+
Graph Neural Networks. The early GNNs generalize convolution nets to graphs (Bruna et al., 2014; Defferrard et al., 2017) and later simplified to message-passing neural net (MPNN) by GCN (Kipf & Welling, 2016). Most GNNs after can be put as MPNNs. For example, GAT employs attention (Velickovi ˇ c et al. ´ , 2017), PPNP employs personalized PageRank (Klicpera et al., 2019), GCNII and DeeperGCN employ residual connections and dense connections (Chen et al., 2020; Li et al., 2019).
|
| 36 |
+
|
| 37 |
+
Inference Acceleration. Inference acceleration have been proposed by hardware improvements (Chen et al., 2016; Judd et al., 2016) and algorithmic improvements through pruning (Han et al., 2015), quantization (Gupta et al., 2015). For GNNs, pruning (Zhou et al., 2021) and quantizing GNN parameters (Zhao et al., 2020) have been studied. These approaches speed up GNN inference to a certain extent but do not eliminate the neighbor-fetching latency. In contrast, our cross-model KD solves this issue. Concurrently, Graph-MLP also tries to bypass GNN neighbor fetching (Hu et al., 2021) by training an MLP with a neighbor contrastive loss, but it only considers transductive but not the more practical inductive setting. Some sampling works focus on speed up GNN training (Zou et al., 2019; Chen et al., 2018), which are complementary to our goal on inference acceleration.
|
| 38 |
+
|
| 39 |
+
GNN distillation. Existing GNN KD works try to distill large GNNs to smaller GNNs. LSP (Yang et al., 2021b) and TinyGNN (Yan et al., 2020) do KD while preserving local information. Their students are GNNs with fewer parameters but not necessarily fewer layers. Thus, both designs still require latency-inducing fetching. GFKD (Deng & Zhang, 2021) does graph-level KD via graph generation. In GFKD, data instances are independent graphs, whereas we focus on dependent nodes within a graph. GraphSAIL (Xu et al., 2020) uses KD to learn students work well on new data while preserving performance on old data. CPF (Yang et al., 2021a) combines KD and label propagation (LP). The student in CPF is not a GNN, but it is still heavily graph-dependent as it uses LP.
|
| 40 |
+
|
| 41 |
+

|
| 42 |
+
Figure 1: The number of fetches and the inference time of GNNs are both magnitudes more than MLPs and grow exponentially as functions of the number of layers. Left: neighbors need to be fetched for two GNN layers. Middle: the total number of fetches for inference. Right: the total inference time. (Inductive inference for 10 random nodes on OGB Products (Hu et al., 2020))
|
| 43 |
+
|
| 44 |
+
# 3 PRELIMINARIES
|
| 45 |
+
|
| 46 |
+
Notations. For GML tasks, the input is usually a graph and its node features, which we write as $\mathcal { G } = ( \nu , \mathcal { E } )$ , with $\nu$ stands for all nodes, and $\mathcal { E }$ stands for all edges. Let $N$ denote the total number of nodes. We use $\pmb { X } \in \mathbb { R } ^ { N \times D }$ to represent node features, with row $\mathbf { \boldsymbol { x } } _ { v }$ being the $D$ -dimensional feature of node $v \in \mathcal V$ . We represent edges with an adjacency matrix $\pmb { A }$ , with $A _ { u , v } = 1$ if edge $( u , v ) \in \mathcal { E }$ , and 0 otherwise. For node classification, one of the most important GML applications, the prediction targets are $\pmb { Y } \in \mathbb { R } ^ { N \times K }$ , where row $\mathbf { \Delta } _ { \mathbf { \mathcal { Y } } _ { v } }$ is a $K$ -dim one-hot vector for node $v$ . For a given $\mathcal { G }$ , usually a small portion of nodes will be labeled, which we mark using superscript $L$ , i.e. $\mathcal { V } ^ { \tilde { L } }$ , $X ^ { L }$ , and $\mathbf { \nabla } _ { \mathbf { Y } } \breve { L }$ . The majority of nodes will be unlabeled, and we mark using the superscript $U$ , i.e. $\mathcal { V } ^ { U }$ , $X ^ { U }$ , and $\mathbf { \nabla } _ { \mathbf { Y } } U$ .
|
| 47 |
+
|
| 48 |
+
Graph Neural Networks. Most GNNs fit under the message-passing framework, where the representation $h _ { v }$ of each node $v$ is updated iteratively in each layer by collecting messages from its neighbors denoted as $\mathcal { N } ( v )$ . For the $l$ -th layer, $\mathbf { \Sigma } _ { h _ { v } ^ { ( l ) } }$ is obtained from the previous layer representation $ { \boldsymbol { h } } _ { u } ^ { ( l - 1 ) }$ $\mathbf { \mathcal { h } } _ { u } ^ { ( 0 ) } = \mathbf { \mathcal { x } } _ { u } )$ ) via an aggregation operation AGGR followed by an UPDATE operation as
|
| 49 |
+
|
| 50 |
+
$$
|
| 51 |
+
\begin{array} { r } { \pmb { h } _ { N ( v ) } ^ { ( l ) } = \mathrm { A G G R } ( \{ \pmb { h } _ { u } ^ { ( l - 1 ) } : u \in \mathcal { N } ( v ) \} ) \qquad \mathrm { a n d } \qquad \pmb { h } _ { v } ^ { ( l ) } = \mathrm { U P D A T E } ( \pmb { h } _ { N ( v ) } ^ { ( l ) } , \pmb { h } _ { v } ^ { ( l - 1 ) } ) } \end{array}
|
| 52 |
+
$$
|
| 53 |
+
|
| 54 |
+
# 4 MOTIVATION
|
| 55 |
+
|
| 56 |
+
GNNs have considerable inference latency due to graph dependency. One more GNN layer means fetching one more hop of neighbors. To infer a node with a $L$ -layer GNN on a graph with average degree $R$ requires $\mathcal { O } ( R ^ { L } )$ fetches. $R$ can be large for real-world graphs, e.g. 208 for the Twitter (Ching et al., 2015). Also, as layer fetching must be done sequentially, the total latency explodes quickly as $L$ increases. Figure 1 shows the dependency added by each GNN layer and the exponential explosion of inference time. In contrast, the MLP inference time is much smaller and grows linearly. This marked gap contributes greatly to the practicality of MLPs in industrial applications over GNNs.
|
| 57 |
+
|
| 58 |
+
The node-fetching latency is exacerbated by two factors: firstly, newer GNN architectures are getting deeper from 64 layers (Chen et al., 2020) to even 1001 layers (Li et al., 2021). Secondly, industrialscale graphs are frequently too large to fit into the memory of a single machine (Jin et al., 2022), necessitating sharding of the graph out of the main memory. For example, Twitter has 288M monthly active users (nodes) and an estimated 60B followers (edges) as of 3/2015. Facebook has 1.39B active users with more than 400B edges as of 12/2014 (Ching et al., 2015). Even when stored in a sparse-matrix-friendly format (often COO or CSR), these graphs are on the order of TBs and are constantly growing. Moving away from in-memory storage results in even slower neighbor-fetching.
|
| 59 |
+
|
| 60 |
+
MLPs, on the other hand, lack the means to exploit graph topology, which hurts their performance for node classification. For example, test accuracy on Products is 78.61 for GraphSAGE compared to 62.47 for an equal-sized MLP. Nonetheless, recent results in vision and language posit that large (or slightly modified) MLPs can achieve similar results as CNNs and Transformers (Liu et al., 2021). We thus also ask: Can we bridge the best of GNNs and MLPs to get high-accuracy and low-latency models? This motivates us to do cross-model KD from GNNs to MLPs.
|
| 61 |
+
|
| 62 |
+

|
| 63 |
+
Figure 2: The GLNN framework: In offline training, a trained GNN teacher is applied on the graph for soft targets. Then, a student MLP is trained on node features guided by the soft targets. The distilled MLP, now GLNN, is deployed for online predictions. Since graph dependency is eliminated for inference, GLNNs infer much faster than GNNs, and hence the name “Graph-less Neural Network.”
|
| 64 |
+
|
| 65 |
+
# 5 GRAPH-LESS NEURAL NETWORKS
|
| 66 |
+
|
| 67 |
+
We introduce GLNN and answer exploration questions of its properties: 1) How do GLNNs compare to MLPs and GNNs? 2) Can GLNNs work well under both transductive and inductive settings? 3) How do GLNNs compare to other inference acceleration methods? 4) How do GLNNs benefit from KD? 5) Do GLNNs have sufficient model expressiveness? 6) When will GLNNs fail to work?
|
| 68 |
+
|
| 69 |
+
# 5.1 THE GLNN FRAMEWORK
|
| 70 |
+
|
| 71 |
+
The idea of GLNN is straightforward, yet as we will see, extremely effective. In short, we train a “boosted” MLP via KD from a teacher GNN. KD was introduced in Hinton et al. (2015), where knowledge was transferred from a cumbersome teacher to a simpler student. In our case, we generate soft targets $z _ { v }$ for each node $v$ with a teacher GNN. Then we train a student MLP with both true labels $\mathbf { \Delta } _ { \mathbf { \mathcal { Y } } _ { v } }$ and $z _ { v }$ . The objective is as Equation 1, with $\lambda$ being a weight parameter, $\mathcal { L } _ { l a b e l }$ being the cross-entropy between $\mathbf { \nabla } _ { \mathbf { y } _ { v } }$ and student predictions $\hat { y } _ { v }$ , $\mathcal { L } _ { t e a c h e r }$ being the KL-divergence.
|
| 72 |
+
|
| 73 |
+
$$
|
| 74 |
+
\mathcal { L } = \lambda \Sigma _ { v \in \mathcal { V } ^ { L } } \mathcal { L } _ { l a b e l } ( \hat { y } _ { v } , y _ { v } ) + ( 1 - \lambda ) \Sigma _ { v \in \mathcal { V } } \mathcal { L } _ { t e a c h e r } ( \hat { y } _ { v } , z _ { v } )
|
| 75 |
+
$$
|
| 76 |
+
|
| 77 |
+
The model after KD, i.e. GLNN, is essentially a MLP. Therefore, GLNNs have no graph dependency during inference and are as fast as MLPs. On the other hand, through offline KD, GLNN parameters are optimized to predict and generalize as well as GNNs, with the added benefit of faster inference and easier deployment. In Figure 2, we show the offline KD and online inference steps of GLNNs.
|
| 78 |
+
|
| 79 |
+
# 5.2 EXPERIMENT SETTINGS
|
| 80 |
+
|
| 81 |
+
Datasets. We consider all five datasets used in the CPF paper (Yang et al., 2021a), i.e. Cora, Citeseer, Pubmed, A-computer, and A-photo. To fully evaluate our method, we also include two more larger OGB datasets (Hu et al., 2020), i.e. Arxiv and Products.
|
| 82 |
+
|
| 83 |
+
Model Architectures. For consistent results, we use GraphSAGE (Hamilton et al., 2017) with GCN aggregation as the teacher. We conduct ablation studies of other GNN teachers like GCN (Kipf & Welling, 2016), GAT (Velickovi ˇ c et al. ´ , 2017) and, APPNP (Klicpera et al., 2019) in Section 6.
|
| 84 |
+
|
| 85 |
+
Evaluation Protocol. For all experiments in this section, we report the average and standard deviation over ten runs with different random seeds. Model performance is measured as accuracy, and results are reported on test data with the best model selected using validation data.
|
| 86 |
+
|
| 87 |
+
Transductive vs. Inductive. Given ${ \mathcal { G } } , X$ , and $Y ^ { L }$ , we consider node classification under two settings: transductive $( t r a n )$ and inductive $( i n d )$ . For ind, we hold out some test data for inductive evaluation only. We first select inductive nodes $\mathcal { V } _ { i n d } ^ { U } \subset \mathcal { V } ^ { U }$ , which partitions $\mathcal { V } ^ { U }$ into the disjoint inductive subset and observed subset, i.e. $\mathcal { V } ^ { U } = \mathcal { V } _ { o b s } ^ { U } \sqcup \mathcal { V } _ { i n d } ^ { U }$ . Then we hold out $v \in \mathcal { V } _ { i n d } ^ { U }$ and all edges connected to $v \in \mathcal { V } _ { i n d } ^ { U }$ obs ind, which leads to two disjoint graphs $\mathcal { G } = \mathcal { G } _ { o b s } \sqcup \mathcal { G } _ { i n d }$ ind with no shared nodes or
|
| 88 |
+
|
| 89 |
+
Table 1: GLNNs outperform MLPs by large margins and match GNNs on 5 of 7 datasets under the transductive setting. $\Delta _ { M L P }$ $( \Delta _ { G N N } )$ represents difference between the GLNN and a trained MLP (GNN). Results show accuracy (higher is better); $\Delta _ { G N N } 2 0$ indicates GLNN outperforms GNN.
|
| 90 |
+
|
| 91 |
+
<table><tr><td>Datasets</td><td>SAGE</td><td>MLP</td><td>GLNN</td><td>△MLP</td><td>△GNN</td></tr><tr><td>Cora</td><td>80.52 ± 1.77</td><td>59.22 ±1.31</td><td>80.54 ± 1.35</td><td>21.32 (36.00%)</td><td>0.02 (0.02%)</td></tr><tr><td>Citeseer</td><td>70.33 ± 1.97</td><td>59.61 ± 2.88</td><td>71.77 ± 2.01</td><td>12.16 (20.40%)</td><td>1.44 (2.05%)</td></tr><tr><td>Pubmed</td><td>75.39 ± 2.09</td><td>67.55 ± 2.31</td><td>75.42 ± 2.31</td><td>7.87 (11.65%)</td><td>0.03 (0.04%)</td></tr><tr><td>A-computer</td><td>82.97 ± 2.16</td><td>67.80 ± 1.06</td><td>83.03 ± 1.87</td><td>15.23 (22.46%)</td><td>0.06 (0.07%)</td></tr><tr><td>A-photo</td><td>90.90 ± 0.84</td><td>78.77 ± 1.74</td><td>92.11 ± 1.08</td><td>13.34 (16.94%)</td><td>1.21 (1.33%)</td></tr><tr><td>Arxiv</td><td>70.92 ± 0.17</td><td>56.05 ± 0.46</td><td>63.46 ± 0.45</td><td>7.41 (13.24%)</td><td>-7.46 (-10.52%)</td></tr><tr><td>Products</td><td>78.61 ± 0.49</td><td>62.47 ± 0.10</td><td>68.86 ± 0.46</td><td>6.39 (10.23%)</td><td>-9.75 (-12.4%)</td></tr></table>
|
| 92 |
+
|
| 93 |
+
Table 2: Enlarged GLNNs match the performance of GNNs on the OGB datasets. For Arxiv, we use MLPw4 (GLNNw4). For Products, we use MLPw8 (GLNNw8).
|
| 94 |
+
|
| 95 |
+
<table><tr><td>Datasets</td><td>SAGE</td><td>MLP+</td><td>GLNN+</td><td>△MLP</td><td>△GNN</td></tr><tr><td>Arxiv</td><td>70.92 ± 0.17</td><td>55.31± 0.47</td><td>72.15 ± 0.27</td><td>16.85 (30.46%)</td><td>0.51 (0.71%)</td></tr><tr><td>Products</td><td>78.61 ± 0.49</td><td>64.50 ± 0.45</td><td>77.65 ± 0.48</td><td>13.14 (20.38%)</td><td>-0.97 (-1.23%)</td></tr></table>
|
| 96 |
+
|
| 97 |
+
els are partitioned into three disjoint sets, i.e. . Concretely, the input/output of both setting $X = X ^ { L } \sqcup X _ { o b s } ^ { U } \sqcup X _ { i n d } ^ { U }$ $\pmb { Y } = \pmb { Y } ^ { L } \sqcup \pmb { Y } _ { o b s } ^ { U } \sqcup \pmb { Y } _ { i n d } ^ { U }$
|
| 98 |
+
|
| 99 |
+
• ind: train on • tran: train on $\mathcal { G } _ { o b s }$ ${ \mathcal { G } } , X$ , $X ^ { L }$ , and , $X _ { o b s } ^ { U }$ $\mathbf { \nabla } _ { \mathbf { Y } ^ { L } }$ ; evaluate on , and $Y ^ { L }$ ; evaluate on $( X ^ { U } , Y ^ { U } )$ $( X _ { i n d } ^ { U } , Y _ { i n d } ^ { U } )$ ; $\mathrm { K D }$ uses $z _ { v }$ v ; KD uses for $v \in \mathcal V$ $z _ { v }$ . for
|
| 100 |
+
|
| 101 |
+
Note that for tran, all the nodes in the graph including the validation and test nodes are used to generate $_ { z }$ . A discussion of this choice along with other experiment details are in Appendix A.
|
| 102 |
+
|
| 103 |
+
# 5.3 HOW DO GLNNS COMPARE TO MLPS AND GNNS?
|
| 104 |
+
|
| 105 |
+
We start by comparing GLNNs to MLPs and GNNs with the same number of layers and hidden dimensions. We first consider the standard transductive setting, so our results in Table 1 are directly comparable to results reported in previous literature like Yang et al. (2021a) and Hu et al. (2020).
|
| 106 |
+
|
| 107 |
+
As shown in Table 1, the performance of all GLNNs improve over MLPs by large margins. On smaller datasets (first 5 rows), GLNNs can even outperform the teacher GNNs. In other words, for each task, with the same parameter budget, there exists a set of MLP parameters that has GNN-competitive performance (detailed discussion in Sections 5.6 and 5.7). For the larger OGB datasets (last 2 rows), the GLNN performance is improved over MLPs but still worse than the teacher GNNs. However, as we show in Table 2, this gap can be mitigated by increasing MLP size to MLPwi1. In Figure 3 (right), we visualize the trade-off between prediction accuracy and model inference time with different model sizes. We show that gradually increasing GLNN size pushes its performance to be close to SAGE. On the other hand, when we reduce the number of layers of $\mathrm { S A G E } ^ { 2 }$ , the accuracy quickly drops to be worse than GLNNs. A detailed discussion of the rationale for increasing MLP sizes is in Appendix B.
|
| 108 |
+
|
| 109 |
+
# 5.4 CAN GLNNS WORK WELL UNDER BOTH TRANSDUCTIVE AND INDUCTIVE SETTINGS?
|
| 110 |
+
|
| 111 |
+
Although transductive is the commonly studied setting for node classification, it does not encompass prediction on unseen nodes. Therefore, it may not be the best way to evaluate a deployed model, which must often generate predictions for new data points as well as reliably maintain performance on old ones. Thus, to better understand the effectiveness of GLNN, we also consider their performance under a realistic production setting, which contains both transductive and inductive predictions.
|
| 112 |
+
|
| 113 |
+
To evaluate a model inductively, we hold out some test nodes from training to form an inductive set, i.e. $\mathcal { V } ^ { U } = \mathcal { V } _ { o b s } ^ { U } \sqcup \mathcal { V } _ { i n d } ^ { U }$ . In production, a model might be re-trained periodically, e.g. weekly. The obs hold-out nodes in $V _ { i n d } ^ { U }$ represent new nodes entered the graph between two trainings. $V _ { i n d } ^ { U }$ is usually small compared to $V _ { o b s } ^ { U }$ – e.g. Graham (2012) estimates $5- 7 \%$ for the fastest-growing tech startups. In our case, to mitigate randomness and better evaluate generalizability, we use V Uind containing 20% of the test data. We also evaluate on standard transductive prediction on $V _ { o b s } ^ { U }$ containing the otherrved unlabeled nodes $80 \%$ of the test data, representing thee inference is commonly redone on existing nodes in real-world cases. We report both results and a interpolated production (prod) results in Table 3. The prod results paint a clearer picture of model generalization as well as accuracy in production. See Section 6 for an ablation study of different inductive split rates other than 20-80.
|
| 114 |
+
|
| 115 |
+

|
| 116 |
+
Figure 3: Enlarged MLPs (GLNNs) can match GNN accuracy, but infer dramatically faster. Plots are under the same setting as Figure 1. Left: inference time of MLPs vs. GNN (SAGE) for different model sizes. Right: model accuracy vs. inference time. Note: time axes are log-scaled.
|
| 117 |
+
|
| 118 |
+
Table 3: GLNNs match GNN performance on a production setting with both inductive and transductive predictions. We uProducts. ind results on $V _ { i n d } ^ { U }$ LP for the 5 C, tran results on $V _ { o b s } ^ { U }$ atasets, MLPw4 for Arxiv, and MLPw8 for, and the interpolated prod results are reported.
|
| 119 |
+
|
| 120 |
+
<table><tr><td>Datasets</td><td>Eval</td><td>SAGE</td><td>MLP/MLP+</td><td>GLNN/GLNN+</td><td>△MLP</td><td>△GNN</td></tr><tr><td>Cora</td><td>prod</td><td>79.29</td><td>58.98</td><td>78.28</td><td>19.30 (32.72%)</td><td>-1.01 (-1.28%)</td></tr><tr><td></td><td>ind</td><td>81.33 ± 2.19</td><td>59.09 ± 2.96</td><td>73.82 ± 1.93</td><td>14.73 (24.93%)</td><td>-7.51 (-9.23%)</td></tr><tr><td></td><td>tran</td><td>78.78 ± 1.92</td><td>58.95 ± 1.66</td><td>79.39 ± 1.64</td><td>20.44 (34.66%)</td><td>0.61 (0.77%)</td></tr><tr><td>Citeseer</td><td>prod</td><td>68.38</td><td>59.81</td><td>69.27</td><td>9.46 (15.82%)</td><td>0.89 (1.30%)</td></tr><tr><td></td><td>ind</td><td>69.75 ± 3.59</td><td>60.06 ± 5.00</td><td>69.25 ± 2.25</td><td>9.19 (15.30%)</td><td>-0.5 (-0.7%)</td></tr><tr><td></td><td>tran</td><td>68.04 ± 3.34</td><td>59.75 ± 2.48</td><td>69.28 ± 3.12</td><td>9.63 (15.93%)</td><td>1.24 (1.82%)</td></tr><tr><td>Pubmed</td><td>prod</td><td>74.88</td><td>66.80</td><td>74.71</td><td>7.91 (11.83%)</td><td>-0.17 (-0.22%)</td></tr><tr><td></td><td>ind</td><td>75.26 ± 2.57</td><td>66.85 ± 2.96</td><td>74.30 ± 2.61</td><td>7.45 (11.83%)</td><td>-0.96 (-1.27%)</td></tr><tr><td></td><td>tran</td><td>74.78 ± 2.22</td><td>66.79 ± 2.90</td><td>74.81 ± 2.39</td><td>8.02 (12.01%)</td><td>0.03 (0.04%)</td></tr><tr><td>A-computer</td><td>prod</td><td>82.14</td><td>67.38</td><td>82.29</td><td>14.90 (22.12%)</td><td>0.15 (0.19%)</td></tr><tr><td></td><td>ind</td><td>82.08 ± 1.79</td><td>67.84 ± 1.78</td><td>80.92 ± 1.36</td><td>13.08 (19.28%)</td><td>-1.16 (-1.41%)</td></tr><tr><td></td><td>tran</td><td>82.15 ± 1.55</td><td>67.27 ± 1.36</td><td>82.63 ± 1.40</td><td>15.36 (22.79%)</td><td>0.48 (0.58%)</td></tr><tr><td>A-photo</td><td>prod</td><td>91.08</td><td>79.25</td><td>92.38</td><td>13.13 (16.57%)</td><td>1.30 (1.42%)</td></tr><tr><td></td><td>ind</td><td>91.50 ± 0.79</td><td>79.44 ± 1.72</td><td>91.18 ± 0.81</td><td>11.74 (14.78%)</td><td>-0.32 (-0.35%)</td></tr><tr><td></td><td>tran</td><td>90.80 ± 0.77</td><td>79.20 ± 1.64</td><td>92.68 ± 0.56</td><td>13.48 (17.01%)</td><td>1.70 (1.87%)</td></tr><tr><td>Arxiv</td><td>prod</td><td>70.73</td><td>55.30</td><td>65.09</td><td>9.79 (17.70%)</td><td>-5.64 (-7.97%)</td></tr><tr><td></td><td>ind</td><td>70.64 ± 0.67</td><td>55.40 ± 0.56</td><td>60.48 ± 0.46</td><td>4.3 (7.76%)</td><td>-10.94 (-15.49%)</td></tr><tr><td></td><td>tran</td><td>70.75± 0.27</td><td>55.28 ± 0.49</td><td>71.46 ± 0.33</td><td>11.16 (20.18%)</td><td>-4.31 (-6.09%)</td></tr><tr><td>Products</td><td>prod</td><td>76.60</td><td>63.72</td><td>75.77</td><td>12.05 (18.91%)</td><td>-0.83 (-1.09%)</td></tr><tr><td></td><td>ind</td><td>76.89 ± 0.53</td><td>63.70 ± 0.66</td><td>75.16 ± 0.34</td><td>11.44 (17.96%)</td><td>-1.73 (-2.25%)</td></tr><tr><td></td><td>tran</td><td>76.53 ±0.55</td><td>63.73 ± 0.69</td><td>75.92 ± 0.61</td><td>12.20 (19.15%)</td><td>-0.61 (-0.79%)</td></tr></table>
|
| 121 |
+
|
| 122 |
+
In Table 3, we see that GLNNs can still improve over MLP by large margins for inductive predictions. On 6/7 datasets, the GLNN prod performance are competitive to GNNs, which supports deploying GLNN as a much faster model with no or only slight performance loss. On the Arxiv dataset, the GLNN performance is notably less than GNNs – we hypothesize this is due to Arxiv having a particularly challenging data split which causes distribution shift between test nodes and training
|
| 123 |
+
|
| 124 |
+
Table 4: While other inference acceleration methods speed up SAGE, they are considerably slower than GLNNs. Numbers (in ms) are inductive inference time on 10 randomly chosen nodes.
|
| 125 |
+
|
| 126 |
+
<table><tr><td>Datasets</td><td>SAGE</td><td>QSAGE</td><td>PSAGE</td><td>Neighbor Sample</td><td>GLNN+</td></tr><tr><td>Arxiv</td><td>489.49</td><td>433.90 (1.13x)</td><td>465.43 (1.05x)</td><td>91.03 (5.37x)</td><td>3.34 (146.55x)</td></tr><tr><td>Products</td><td>2071.30</td><td>1946.49 (1.06x)</td><td>2001.46 (1.04x)</td><td>107.71 (19.23x)</td><td>7.56 (273.98x)</td></tr></table>
|
| 127 |
+
|
| 128 |
+
nodes, which is hard for GLNNs to capture without utilizing neighbor information like GNNs.
|
| 129 |
+
However, we note that GLNN performance is substantially improved over MLP.
|
| 130 |
+
|
| 131 |
+
# 5.5 HOW DO GLNNS COMPARE TO OTHER INFERENCE ACCELERATION METHODS?
|
| 132 |
+
|
| 133 |
+
Common techniques of inference acceleration include pruning and quantization. These approaches can reduce model parameters and Multiplication-and-ACcumulation (MACs) operations. Still, they don’t eliminate neighbor-fetching latency. Therefore, their speed gain on GNNs is less significant than on NNs. For GNNs, neighbor sampling is also used to reduce the fetching latency. We show an explicit speed comparison between vanilla SAGE, quantized SAGE from FP32 to INT8 (QSAGE), SAGE with $50 \%$ weights pruned (PSAGE), inference neighbor sampling with fan-out 15, and GLNN in Table 4. With the same setting as Figure 1, we see that GLNN is considerably faster.
|
| 134 |
+
|
| 135 |
+
Two other kinds of methods considered as inference acceleration are GNN-to-GNN KD like TinyGNN (Yan et al., 2020) and Graph Augmented-MLPs (GA-MLPs) like SGC (Wu et al., 2019) or SIGN (Frasca et al., 2020). Inference of GNN-to-GNN KD is likely to be slower than a GNN-Li with the same $i$ as the student, since there will usually be some extra overheads like the Peer-Aware Module (PAM) in TinyGNN. GA-MLPs precompute augmented node features and apply MLPs to them. With precomputation, their inference time will be the same as MLPs for dimension-preserving augmentation (SGC) and the same as enlarged MLPwi for augmentation involves concatenation (SIGN). Thus, for both kinds of approaches, it is sufficient to compare GLNN with GNN-Li and MLPwi, which we have already shown in Figure 3 (left). We see that GNN-Lis are much slower than MLPs. For GA-MLPs, since full pre-computation cannot be done for inductive nodes, GA-MLPs still need to fetch neighbor nodes. This makes them much slower than MLPwi in the inductive setting, and even slower than pruned GNNs and TinyGNN as shown in Zhou et al. (2021).
|
| 136 |
+
|
| 137 |
+
# 5.6 HOW DOES GLNN BENEFIT FROM DISTILLATION?
|
| 138 |
+
|
| 139 |
+
We showed that GNNs are markedly better than MLPs on node classification tasks. But, with KD, GLNNs can often become competitive to GNNs. This indicates that there exist suitable MLP parameters which can well approximate the ideal prediction function from node features to labels. However, these parameters can be difficult to learn through standard stochastic gradient descent. We hypothesize that KD helps to find them through regularization and transfer of inductive bias.
|
| 140 |
+
|
| 141 |
+
First, we show that KD can help to regularize the student model. From loss curves of a directly trained MLP and the GLNN in Figure 4, we see the gap between training and validation loss is visibly larger for MLPs than GLNNs, and MLPs show obvious overfitting trends. Second, we analyze the inductive bias that makes GNNs powerful on node classification, which suggests that node inferences should be influenced by the graph topology. Whereas MLPs have less inductive bias. Similar difference exists between Transformers (Vaswani et al., 2017) and MLPs. Liu et al. (2021) shows that the inductive bias in Transformers can be mitigated by a simple gate on large MLPs. For node classification, we hypothesize that KD helps to mitigate the inductive bias, so GLNNs can perform competitively. Soft labels from GNN teachers are heavily influenced by the graph topology due to inductive bias. They maintain nonzero probabilities on classes other than the ground truth provided by labels, which can be useful for the student to learn to complement the missing inductive bias in MLPs. To evaluate this hypothesis quantitatively, we define the cut loss $\mathcal { L } _ { c u t } \in [ 0 , 1 ]$ in Equation 2 to measure the consistency between model predictions and graph topology (details in Appendix C):
|
| 142 |
+
|
| 143 |
+
$$
|
| 144 |
+
\mathcal { L } _ { c u t } = \frac { T r ( \hat { Y } ^ { T } A \hat { Y } ) } { T r ( \hat { Y } ^ { T } D \hat { Y } ) }
|
| 145 |
+
$$
|
| 146 |
+
|
| 147 |
+
Here $\hat { \pmb { Y } } \in [ 0 , 1 ] ^ { N \times K }$ is the soft classification probability output by the model, $\pmb { A }$ and $_ { D }$ are the adjacency and degree matrices. When $\mathcal { L } _ { c u t }$ is close to $^ { 1 }$ , it means the predictions and the graph topology are very consistent. In our experiment, we observe that the average $\mathcal { L } _ { c u t }$ for SAGE over five CPF datasets is 0.9221, which means high consistency. The same $\mathcal { L } _ { c u t }$ for MLPs is only 0.7644, but for GLNNs it is 0.8986. This shows that the GLNN predictions indeed benefit from the graph topology knowledge contained in the teacher outputs (the full table of $\mathcal { L } _ { c u t }$ values in Appendix C).
|
| 148 |
+
|
| 149 |
+

|
| 150 |
+
Figure 4: Loss curves on CPF datasets show GLNN distillation can help to regularize the training. Here the training loss of GLNN is on hard labels, only corresponding to the first term in Equation 1.
|
| 151 |
+
|
| 152 |
+
# 5.7 DO GLNNS HAVE ENOUGH MODEL EXPRESSIVENESS?
|
| 153 |
+
|
| 154 |
+
Intuitively, the addition of neighbor information makes GNNs more powerful than MLPs when classifying nodes. Thus, a natural question regarding KD from GNNs to MLPs is whether MLPs are expressive enough to represent graph data as well as GNNs. Many recent works studied GNN model expressiveness (Xu et al., 2018; Chen et al., 2021). The latter analyzed GNNs and GA-MLPs for node classification and characterized expressiveness as the number of equivalence classes of rooted graphs induced by the model (formal definitions in Appendix D). The conclusion is that GNNs are more powerful than GA-MLPs, but in most real-world cases their expressiveness is indistinguishable.
|
| 155 |
+
|
| 156 |
+
We adopt the analysis framework from Chen et al. (2021) and show in Appendix D that the number of equivalence classes induced by GNNs and MLPs are |X |+m−2m−1 2L−1 a nd $| \mathcal { X } |$ respectively. Here $m$ denotes the max node degree, $L$ denotes the number of GNN layers, and $\mathcal { X }$ denotes the set of all possible node features. The former is apparently larger which concludes that GNNs are more expressive. Empirically, however, the gap makes little difference when $| \mathcal { X } |$ is large. In real applications, node features can be high dimensional like bag-of-words, or even word embeddings, thus making $| \mathcal { X } |$ enormous. Like for bag-of-words, $| \mathcal { X } |$ is in the order of $\mathcal { O } ( p ^ { D } )$ , where $D$ is the vocabulary size, and $p$ is the max word frequency. The expressiveness of a L-layer GNN is lower bounded by |X |+m−22L−1 $\left( \stackrel { | \mathcal { X } | + m - 2 } { m - 1 } \right) ^ { 2 ^ { L } - 1 } = \mathcal { O } ( p ^ { D ( m - 1 ) ( 2 ^ { L } - 1 ) } )$ , but empirically, both MLPs and GNNs should have enough expressiveness given $D$ is usually hundreds or bigger (see Table 5).
|
| 157 |
+
|
| 158 |
+
# 5.8 WHEN WILL GLNNS FAIL TO WORK?
|
| 159 |
+
|
| 160 |
+
As discussed in Section 5.7 and Appendix D, the goal of GML node classification is to fit a function $f$ on the rooted graph $\mathcal { G } ^ { [ i ] }$ and label $\mathbf { \nabla } _ { \mathbf { \psi } _ { 3 } } \mathbf { \psi } _ { 2 } \qquad \mathbf { \psi } _ { 3 } \mathbf { \psi } _ { 4 } \qquad \mathbf { \psi } _ { 3 } \mathbf { \psi } _ { 4 } \qquad \mathbf { \psi } _ { 3 } \mathbf { \psi } _ { 4 } \mathbf { \psi } _ { 3 } \qquad \mathbf { \psi } _ { 4 } \mathbf { \psi } _ { 4 } \mathbf { \psi } _ { 3 } \mathbf { \psi } _ { 4 } \mathbf { \psi } _ { 4 } \mathbf { \psi } _ { 3 } \qquad \mathbf { \psi } _ { 3 } \mathbf { \psi } _ { 4 } \mathbf { \psi } _ { 4 } \mathbf { \psi } _ { 3 } \mathbf { \psi } _ { 4 } \mathbf { \psi } _ { 4 }$ . From the information theoretic perspective, fitting $f$ by minimizing the commonly used cross-entropy loss is equivalent to maximizing the mutual information (MI), $I ( \mathcal G ^ { [ i ] } ; \boldsymbol y _ { i } )$ as shown in Qin et al. (2020). If we consider $\mathcal { G } ^ { [ i ] }$ as a joint distribution of two random variables $X ^ { [ i ] }$ and ${ \mathcal { E } } ^ { [ i ] }$ representing the node features and edges in $\mathcal { G } ^ { [ i ] }$ respectively, we have
|
| 161 |
+
|
| 162 |
+
$$
|
| 163 |
+
I ( \mathcal { G } ^ { [ i ] } ; \pmb { y } _ { i } ) = I ( \pmb { X } ^ { [ i ] } , \pmb { \mathcal { E } } ^ { [ i ] } ; \pmb { y } _ { i } ) = I ( \pmb { \mathcal { E } } ^ { [ i ] } ; \pmb { y } _ { i } ) + I ( \pmb { X } ^ { [ i ] } ; \pmb { y } _ { i } | \pmb { \mathcal { E } } ^ { [ i ] } )
|
| 164 |
+
$$
|
| 165 |
+
|
| 166 |
+
$I ( \mathcal { E } ^ { [ i ] } ; y _ { i } )$ only depends on edges and labels, thus MLPs can only maximize $I ( X ^ { [ i ] } ; y _ { i } | \mathcal { E } ^ { [ i ] } )$ . In the extreme case, $I ( X ^ { [ i ] } ; y _ { i } | \mathcal { E } ^ { [ i ] } )$ can be zero when $y ^ { [ i ] }$ is conditionally independent from $X ^ { [ i ] }$ given $\mathcal { E } ^ { [ i ] }$ . For example, when every node is labeled by its degree or whether it forms a triangle. Then MLPs won’t be able to fit meaningful functions, and neither will GLNNs. However, such cases are typically rare, and unexpected in practical settings our work is mainly concerned with. For real GML tasks, node features and structural roles are often highly correlated (Lerique et al., 2020), hence MLPs can achieve reasonable results even only based on node features, and thus GLNNs can potentially achieve much better results. We study the failure case of GLNNs by creating a low MI scenario in Section 6.
|
| 167 |
+
|
| 168 |
+

|
| 169 |
+
Figure 5: Left: Node feature noise. GLNN has comparable performance to GNNs only when nodes are less noisy. Adding more noise decreases GLNN performance faster than GNNs. Middle: Inductive split rate. Altering the inductive:transductive ratio in the production setting doesn’t affect the accuracy much. Right: Teacher GNN architecture. GLNNs can learn from different GNN teachers to improve over MLPs and achieve comparable results. Accuracies are averaged over five CPF datasets.
|
| 170 |
+
|
| 171 |
+
# 6 ABLATION STUDIES
|
| 172 |
+
|
| 173 |
+
In this section, we do ablation studies of GLNNs on node feature noise, inductive split rates, and teacher GNN architecture. Reported results are test accuracies averaged over five datasets in CPF. More experiments can be found in Appendix including advanced GNN teachers (Appendix F), GA-MLP student (Appendix G), and non-homogeneous data (Appendix I).
|
| 174 |
+
|
| 175 |
+
Noisy node features. Following Section 5.8, we investigate failure cases of GLNN by adding different levels of Gaussian noise to node features to decrease their mutual information with labels. Specifically, we replace $\boldsymbol { X }$ with $\tilde { \cal X } = ( 1 - \alpha ) { \cal X } + \alpha \epsilon$ . $\epsilon$ is an isotropic Gaussian independent from $\boldsymbol { X }$ , and $\alpha \in [ 0 , 1 ]$ denotes the noise level. We show the inductive performance of MLP, GNN, and GLNN under different noise levels in Figure 5 (left). We see that as $\alpha$ increases, the accuracy of MLPs and GLNNs decrease faster than GNNs, while the performance of GLNNs and GNNs are still comparable for small $\alpha \mathbf { s }$ . When $\alpha$ reaches 1, $\tilde { X }$ and $\mathbf { Y }$ will become independent corresponding to the extreme case discussed in Section 5.8. A more detailed discussion is in Appendix J.
|
| 176 |
+
|
| 177 |
+
Inductive split rate. In Section 5.4, we use a 20-80 split of the test data for inductive evaluation. In Figure 5 (middle), we show the results under different split rates (More detailed plots in Appendix H). We see that as the inductive portion increase, GNN and MLP performance stays roughly the same, and the GLNN inductive performance drops slightly. We only consider rates up to 50-50 since having $50 \%$ or even more inductive nodes is highly atypical in practice. When a large amount of new data are encountered, practitioners can opt to retrain the model on all the data before deployment.
|
| 178 |
+
|
| 179 |
+
Teacher GNN architecture. We used SAGE to represent GNNs so far. In Figure 5 (right), we show results with other various GNN teachers, e.g. GCN, GAT, and APPNP. We see that GLNNs can learn from different teachers and improve over MLPs. The performance is similar for all four teachers, with the GLNN distilled from APPNP very slightly worse than others. In fact, a similar phenomenon has been observed in Yang et al. (2021a) as well, i.e. APPNP benefits the student the least. One possible reason is that the first step of APPNP is to utilize the node’s own feature for prediction (prior to propagating over the graph), which is very similar to what the student MLP is doing, and thus provides less additional information to MLPs than other teachers.
|
| 180 |
+
|
| 181 |
+
# 7 CONCLUSION AND FUTURE WORK
|
| 182 |
+
|
| 183 |
+
In this paper, we explored whether we can bridge the best of GNNs and MLPs to achieve accurate and fast GML models for deployment. We found that KD from GNNs to MLPs helps to eliminate inference graph dependency, which results in GLNNs that are $1 4 6 \times - 2 7 3 \times$ faster than GNNs while enjoying competitive performance. We do a comprehensive study of GLNN properties. The promising results on 7 datasets across different domains show that GLNNs can be a handy choice for deploying latencyconstraint models. In our experiments, the current version of GLNNs on the Arxiv dataset doesn’t show competitive inductive performance. More advanced distillation techniques can potentially improve the GLNN performance, and we leave this investigation as future work.
|
| 184 |
+
|
| 185 |
+
# REFERENCES
|
| 186 |
+
|
| 187 |
+
Filippo Maria Bianchi, Daniele Grattarola, and Cesare Alippi. Mincut pooling in graph neural networks. CoRR, abs/1907.00481, 2019. URL http://arxiv.org/abs/1907.00481.
|
| 188 |
+
|
| 189 |
+
Joan Bruna, Wojciech Zaremba, Arthur Szlam, and Yann LeCun. Spectral networks and locally connected networks on graphs, 2014.
|
| 190 |
+
|
| 191 |
+
Jie Chen, Tengfei Ma, and Cao Xiao. FastGCN: Fast learning with graph convolutional networks via importance sampling. In International Conference on Learning Representations, 2018. URL https://openreview.net/forum?id=rytstxWAW.
|
| 192 |
+
|
| 193 |
+
Lei Chen, Zhengdao Chen, and Joan Bruna. On graph neural networks versus graph-augmented {mlp}s. In International Conference on Learning Representations, 2021. URL https:// openreview.net/forum?id=tiqI7w64JG2.
|
| 194 |
+
|
| 195 |
+
Ming Chen, Zhewei Wei, Zengfeng Huang, Bolin Ding, and Yaliang Li. Simple and deep graph convolutional networks. In Hal Daumé III and Aarti Singh (eds.), Proceedings of the 37th International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pp. 1725–1735. PMLR, 13–18 Jul 2020. URL https://proceedings.mlr.press/v119/ chen20v.html.
|
| 196 |
+
|
| 197 |
+
Yu-Hsin Chen, Joel Emer, and Vivienne Sze. Eyeriss: A spatial architecture for energy-efficient dataflow for convolutional neural networks. In 2016 ACM/IEEE 43rd Annual International Symposium on Computer Architecture (ISCA), pp. 367–379, 2016. doi: 10.1109/ISCA.2016.40.
|
| 198 |
+
|
| 199 |
+
Avery Ching, Sergey Edunov, Maja Kabiljo, Dionysios Logothetis, and Sambavi Muthukrishnan. One trillion edges: Graph processing at facebook-scale. Proceedings of the VLDB Endowment, 8 (12):1804–1815, 2015.
|
| 200 |
+
|
| 201 |
+
Michaël Defferrard, Xavier Bresson, and Pierre Vandergheynst. Convolutional neural networks on graphs with fast localized spectral filtering, 2017.
|
| 202 |
+
|
| 203 |
+
Xiang Deng and Zhongfei Zhang. Graph-free knowledge distillation for graph neural networks, 2021.
|
| 204 |
+
|
| 205 |
+
Inderjit S. Dhillon, Yuqiang Guan, and Brian Kulis. Kernel k-means: Spectral clustering and normalized cuts. In Proceedings of the Tenth ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD $^ { \cdot } { 0 4 }$ , pp. 551–556, New York, NY, USA, 2004. Association for Computing Machinery. ISBN 1581138881. doi: 10.1145/1014052.1014118. URL https://doi.org/10.1145/1014052.1014118.
|
| 206 |
+
|
| 207 |
+
Xiaohan Ding, Xiangyu Zhang, Jungong Han, and Guiguang Ding. Repmlp: Re-parameterizing convolutions into fully-connected layers for image recognition, 2021.
|
| 208 |
+
|
| 209 |
+
Fabrizio Frasca, Emanuele Rossi, Davide Eynard, Ben Chamberlain, Michael Bronstein, and Federico Monti. Sign: Scalable inception graph neural networks, 2020.
|
| 210 |
+
|
| 211 |
+
Paul Graham. Want to start a startup? http://www.paulgraham.com/growth.html, 2012.
|
| 212 |
+
|
| 213 |
+
Suyog Gupta, Ankur Agrawal, Kailash Gopalakrishnan, and Pritish Narayanan. Deep learning with limited numerical precision. In Francis Bach and David Blei (eds.), Proceedings of the 32nd International Conference on Machine Learning, volume 37 of Proceedings of Machine Learning Research, pp. 1737–1746, Lille, France, 07–09 Jul 2015. PMLR. URL https://proceedings.mlr.press/v37/gupta15.html.
|
| 214 |
+
|
| 215 |
+
Will Hamilton, Zhitao Ying, and Jure Leskovec. Inductive representation learning on large graphs. In Advances in neural information processing systems, pp. 1024–1034, 2017.
|
| 216 |
+
|
| 217 |
+
Song Han, Jeff Pool, John Tran, and William J. Dally. Learning both weights and connections for efficient neural networks. In Proceedings of the 28th International Conference on Neural Information Processing Systems - Volume 1, NIPS’15, pp. 1135–1143, Cambridge, MA, USA, 2015. MIT Press.
|
| 218 |
+
|
| 219 |
+
Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the knowledge in a neural network, 2015.
|
| 220 |
+
|
| 221 |
+
Weihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong, Hongyu Ren, Bowen Liu, Michele Catasta, and Jure Leskovec. Open graph benchmark: Datasets for machine learning on graphs. CoRR, abs/2005.00687, 2020. URL https://arxiv.org/abs/2005.00687.
|
| 222 |
+
|
| 223 |
+
Yang Hu, Haoxuan You, Zhecan Wang, Zhicheng Wang, Erjin Zhou, and Yue Gao. Graph-mlp: Node classification without message passing in graph. CoRR, abs/2106.04051, 2021. URL https://arxiv.org/abs/2106.04051.
|
| 224 |
+
|
| 225 |
+
Qian Huang, Horace He, Abhay Singh, Ser-Nam Lim, and Austin Benson. Combining label propagation and simple models out-performs graph neural networks. In International Conference on Learning Representations, 2021. URL https://openreview.net/forum? id=8E1-f3VhX1o.
|
| 226 |
+
|
| 227 |
+
Sergei Ivanov and Liudmila Prokhorenkova. Boost then convolve: Gradient boosting meets graph neural networks. CoRR, abs/2101.08543, 2021. URL https://arxiv.org/abs/2101. 08543.
|
| 228 |
+
|
| 229 |
+
Zhihao Jia, Sina Lin, Rex Ying, Jiaxuan You, Jure Leskovec, and Alex Aiken. Redundancy-free computation for graph neural networks. In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pp. 997–1005, 2020.
|
| 230 |
+
|
| 231 |
+
Wei Jin, Lingxiao Zhao, Shichang Zhang, Yozen Liu, Jiliang Tang, and Neil Shah. Graph condensation for graph neural networks. In ICLR, 2022.
|
| 232 |
+
|
| 233 |
+
Patrick Judd, Jorge Albericio, Tayler Hetherington, Tor M. Aamodt, Natalie Enright Jerger, and Andreas Moshovos. Proteus: Exploiting numerical precision variability in deep neural networks. In Proceedings of the 2016 International Conference on Supercomputing, pp. 23, 2016.
|
| 234 |
+
|
| 235 |
+
Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In ICLR (Poster), 2015. URL http://arxiv.org/abs/1412.6980.
|
| 236 |
+
|
| 237 |
+
Thomas N Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. arXiv preprint arXiv:1609.02907, 2016.
|
| 238 |
+
|
| 239 |
+
Johannes Klicpera, Aleksandar Bojchevski, and Stephan Günnemann. Predict then propagate: Graph neural networks meet personalized pagerank, 2019.
|
| 240 |
+
|
| 241 |
+
Sébastien Lerique, Jacob Levy Abitbol, and Márton Karsai. Joint embedding of structure and features via graph convolutional networks. Applied Network Science, 5(1):1–24, 2020.
|
| 242 |
+
|
| 243 |
+
Guohao Li, Matthias Muller, Ali Thabet, and Bernard Ghanem. Deepgcns: Can gcns go as deep as cnns? In Proceedings of the IEEE International Conference on Computer Vision, pp. 9267–9276, 2019.
|
| 244 |
+
|
| 245 |
+
Guohao Li, Matthias Müller, Bernard Ghanem, and Vladlen Koltun. Training graph neural networks with 1000 layers. In International Conference on Machine Learning (ICML), 2021.
|
| 246 |
+
|
| 247 |
+
Derek Lim, Xiuyu Li, Felix Hohne, and Ser-Nam Lim. New benchmarks for learning on nonhomophilous graphs. CoRR, abs/2104.01404, 2021. URL https://arxiv.org/abs/2104. 01404.
|
| 248 |
+
|
| 249 |
+
Hanxiao Liu, Zihang Dai, David R. So, and Quoc V. Le. Pay attention to mlps, 2021.
|
| 250 |
+
|
| 251 |
+
Luke Melas-Kyriazi. Do you even need attention? a stack of feed-forward layers does surprisingly well on imagenet, 2021.
|
| 252 |
+
|
| 253 |
+
Zhenyue Qin, Dongwoo Kim, and Tom Gedeon. Rethinking softmax with cross-entropy: Neural network classifier as mutual information estimator, 2020.
|
| 254 |
+
|
| 255 |
+
Shyam Anil Tailor, Javier Fernandez-Marques, and Nicholas Donald Lane. Degree-quant: Quantization-aware training for graph neural networks. In International Conference on Learning Representations, 2021. URL https://openreview.net/forum?id $\bar { }$ NSBrFgJAHg.
|
| 256 |
+
|
| 257 |
+
Ilya Tolstikhin, Neil Houlsby, Alexander Kolesnikov, Lucas Beyer, Xiaohua Zhai, Thomas Unterthiner, Jessica Yung, Daniel Keysers, Jakob Uszkoreit, Mario Lucic, et al. Mlp-mixer: An all-mlp architecture for vision. arXiv preprint arXiv:2105.01601, 2021.
|
| 258 |
+
|
| 259 |
+
Hugo Touvron, Piotr Bojanowski, Mathilde Caron, Matthieu Cord, Alaaeldin El-Nouby, Edouard Grave, Armand Joulin, Gabriel Synnaeve, Jakob Verbeek, and Hervé Jégou. Resmlp: Feedforward networks for image classification with data-efficient training. arXiv preprint arXiv:2105.03404, 2021.
|
| 260 |
+
|
| 261 |
+
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need, 2017.
|
| 262 |
+
|
| 263 |
+
Petar Velickovi ˇ c, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Lio, and Yoshua ´ Bengio. Graph attention networks. arXiv preprint arXiv:1710.10903, 2017.
|
| 264 |
+
|
| 265 |
+
Minjie Wang, Da Zheng, Zihao Ye, Quan Gan, Mufei Li, Xiang Song, Jinjing Zhou, Chao Ma, Lingfan Yu, Yu Gai, Tianjun Xiao, Tong He, George Karypis, Jinyang Li, and Zheng Zhang. Deep graph library: A graph-centric, highly-performant package for graph neural networks. arXiv preprint arXiv:1909.01315, 2019.
|
| 266 |
+
|
| 267 |
+
Tianxin Wei, Ziwei Wu, Ruirui Li, Ziniu Hu, Fuli Feng, Xiangnan He, Yizhou Sun, and Wei Wang. Fast adaptation for cold-start collaborative filtering with meta-learning. In 2020 IEEE International Conference on Data Mining (ICDM), pp. 661–670. IEEE, 2020.
|
| 268 |
+
|
| 269 |
+
Felix Wu, Tianyi Zhang, Amauri Holanda de Souza Jr. au2, Christopher Fifty, Tao Yu, and Kilian Q. Weinberger. Simplifying graph convolutional networks, 2019.
|
| 270 |
+
|
| 271 |
+
Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. How powerful are graph neural networks? arXiv preprint arXiv:1810.00826, 2018.
|
| 272 |
+
|
| 273 |
+
Yishi Xu, Yingxue Zhang, Wei Guo, Huifeng Guo, Ruiming Tang, and Mark Coates. Graphsail: Graph structure aware incremental learning for recommender systems. In Proceedings of the 29th ACM International Conference on Information amp; Knowledge Management, CIKM ’20, pp. 2861–2868, New York, NY, USA, 2020. Association for Computing Machinery. ISBN 9781450368599. doi: 10.1145/3340531.3412754. URL https://doi.org/10.1145/ 3340531.3412754.
|
| 274 |
+
|
| 275 |
+
Bencheng Yan, Chaokun Wang, Gaoyang Guo, and Yunkai Lou. Tinygnn: Learning efficient graph neural networks. In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining (KDD), pp. 1848–1856, 2020.
|
| 276 |
+
|
| 277 |
+
Cheng Yang, Jiawei Liu, and Chuan Shi. Extract the knowledge of graph neural networks and go beyond it: An effective knowledge distillation framework, 2021a.
|
| 278 |
+
|
| 279 |
+
Yiding Yang, Jiayan Qiu, Mingli Song, Dacheng Tao, and Xinchao Wang. Distilling knowledge from graph convolutional networks, 2021b.
|
| 280 |
+
|
| 281 |
+
Dalong Zhang, Xin Huang, Ziqi Liu, Zhiyang Hu, Xianzheng Song, Zhibang Ge, Zhiqiang Zhang, Lin Wang, Jun Zhou, Yang Shuang, et al. Agl: a scalable system for industrial-purpose graph machine learning. arXiv preprint arXiv:2003.02454, 2020.
|
| 282 |
+
|
| 283 |
+
Yiren Zhao, Duo Wang, Daniel Bates, Robert Mullins, Mateja Jamnik, and Pietro Lio. Learned low precision graph neural networks, 2020.
|
| 284 |
+
|
| 285 |
+
Hongkuan Zhou, Ajitesh Srivastava, Hanqing Zeng, Rajgopal Kannan, and Viktor K. Prasanna. Accelerating large scale real-time GNN inference using channel pruning. CoRR, abs/2105.04528, 2021. URL https://arxiv.org/abs/2105.04528.
|
| 286 |
+
|
| 287 |
+
Difan Zou, Ziniu Hu, Yewen Wang, Song Jiang, Yizhou Sun, and Quanquan Gu. Layer-dependent importance sampling for training deep and large graph convolutional networks. arXiv preprint arXiv:1911.07323, 2019.
|
| 288 |
+
|
| 289 |
+
# A DETAILED EXPERIMENT SETTINGS
|
| 290 |
+
|
| 291 |
+
# A.1 DATASETS
|
| 292 |
+
|
| 293 |
+
Here we provide a detailed description of the datasets we used to support our argument. Out of these datasets, 4 of them are citation graphs. Cora, Citeseer, Pubmed, ogbn-arxiv with the node features being descriptions of the papers, either bag-of-word vector, TF-IDF vector, or word embedding vectors.
|
| 294 |
+
|
| 295 |
+
In Table 5, we provided the basic statistics of these datasets.
|
| 296 |
+
|
| 297 |
+
Table 5: Dataset Statistics.
|
| 298 |
+
|
| 299 |
+
<table><tr><td>Dataset</td><td>#Nodes</td><td>#Edges</td><td>#Features</td><td># Classes</td></tr><tr><td>Cora</td><td>2,485</td><td>5,069</td><td>1,433</td><td>7</td></tr><tr><td>Citeseer</td><td>2,110</td><td>3,668</td><td>3,703</td><td>6</td></tr><tr><td>Pubmed</td><td>19,717</td><td>44,324</td><td>500</td><td>3</td></tr><tr><td>A-computer</td><td>13,381</td><td>245,778</td><td>767</td><td>10</td></tr><tr><td>A-photo</td><td>7,487</td><td>119,043</td><td>745</td><td>8</td></tr><tr><td>Arxiv</td><td>169,343</td><td>1,166,243</td><td>128</td><td>40</td></tr><tr><td>Products</td><td>2,449,029</td><td>61,859,140</td><td>100</td><td>47</td></tr></table>
|
| 300 |
+
|
| 301 |
+
For all datasets, we follow the setting in the original paper to split the data. Specifically, for the five smaller datasets from the CPF paper, we use the CPF splitting strategy and each random seed corresponds to a different split. For the OGB datasets, we follow the OGB official splits based on time and popularity for Arxiv and Products respectively.
|
| 302 |
+
|
| 303 |
+
# A.2 MODEL HYPERPARAMETERS
|
| 304 |
+
|
| 305 |
+
The hyperparameters of GNN models on each dataset are taken from the best hyperparameters provided by the CPF paper and the OGB official examples. For the student MLPs and GLNN s, unless otherwise specified with -wi or $- \mathbf { L } i$ , we set the number of layers and the hidden dimension of each layer to be the same as the teacher GNN, so their total number of parameters stays the same as the teacher GNN.
|
| 306 |
+
|
| 307 |
+
Table 6: Hyperparameters for GNNs on five datasets from the CPF paper.
|
| 308 |
+
|
| 309 |
+
<table><tr><td></td><td>SAGE</td><td>GCN</td><td>GAT</td><td>APPNP</td></tr><tr><td>#layers</td><td>2</td><td>2</td><td>2</td><td>2</td></tr><tr><td>hidden dim</td><td>128</td><td>64</td><td>64</td><td>64</td></tr><tr><td>learning rate</td><td>0.01</td><td>0.01</td><td>0.01</td><td>0.01</td></tr><tr><td>weight decay</td><td>0.0005</td><td>0.001</td><td>0.01</td><td>0.01</td></tr><tr><td>dropout</td><td>0</td><td>0.8</td><td>0.6</td><td>0.5</td></tr><tr><td>fan out</td><td>5,5</td><td>1</td><td>1</td><td>-</td></tr><tr><td>attention heads</td><td>1</td><td>=</td><td>8</td><td>1</td></tr><tr><td>power iterations</td><td>1</td><td>=</td><td>1</td><td>10</td></tr></table>
|
| 310 |
+
|
| 311 |
+
Table 7: Hyperparameters for GraphSAGE on OGB datasets.
|
| 312 |
+
|
| 313 |
+
<table><tr><td>Dataset</td><td>Arxiv</td><td>Products</td></tr><tr><td># layers</td><td>3</td><td>3</td></tr><tr><td>hidden dim</td><td>256</td><td>256</td></tr><tr><td>learning rate</td><td>0.01</td><td>0.003</td></tr><tr><td>weight decay</td><td>0</td><td>0</td></tr><tr><td>dropout</td><td>0.2</td><td>0.5</td></tr><tr><td>normalization</td><td>batch</td><td>batch</td></tr><tr><td>fan out</td><td>[5,10,15]</td><td>[5,10,15]</td></tr></table>
|
| 314 |
+
|
| 315 |
+
For GLNN s we do a hyperparameter search of learning rate from [0.01, 0.005, 0.001], weight decay from [0, 0.001, 0.002, 0.005, 0.01], and dropout from [0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6]
|
| 316 |
+
|
| 317 |
+
# A.3 KNOWLEDGE DISTILLATION
|
| 318 |
+
|
| 319 |
+
We use the distillation method proposed in Hinton et al. (2015) as in Equation 1, the hard labels are found to be helpful, so nonzero $\lambda s$ was suggested. In our case, we did a little tuning for $\lambda$ but didn’t find nonzero $\lambda s$ to be very helpful. Therefore, we report all of our results with $\lambda = 0$ , i.e. only the second term involving soft labels is effective. More careful tuning of $\lambda$ should further improve the results since the searching space is strictly larger. We implemented a weighted version in our code, and we leave the choice of $\lambda$ as future work.
|
| 320 |
+
|
| 321 |
+
# A.4 THE TRANSDUCTIVE SETTING AND THE INDUCTIVE SETTING
|
| 322 |
+
|
| 323 |
+
Given ${ \mathcal { G } } , X$ , and $Y ^ { L }$ , the goal of node classification can be divided into two different settings, i.e. transductive and inductive. In real applications, the former can correspond to predict missing attributes of a user based on the user profile and other existing users, and the latter can correspond to predict labels of some new nodes that are only seen during inference time. To create the inductive setting on a given dataset, we hold out some nodes along with edges connected to these nodes during data. Using notation defined above, we pick the inductive nodes training and use them for inductive evaluation only. These nodes and edges are picked from the test $\mathcal { V } _ { i n d } ^ { U } \subset \mathcal { V } ^ { U }$ , which partitions $\mathcal { V } ^ { U }$ into the disjoint inductive subset and observed subset, i.e. $\mathcal { V } ^ { U } = \mathcal { V } _ { o b s } ^ { U } \sqcup \mathcal { V } _ { i n d } ^ { U }$ V ind . Then we can take , $\mathcal { V } _ { i n d } ^ { U }$ furth, and raph, so we end up with. We show the input and $\mathcal { G } = \mathcal { G } _ { o b s } \sqcup \mathcal { G } _ { i n d }$ $\pmb { X } = \pmb { X } ^ { L } \sqcup \pmb { X } _ { o b s } ^ { U } \sqcup \overbrace { \pmb { X } _ { i n d } ^ { U } }$ $\pmb { Y } = \pmb { Y } ^ { L } \sqcup \pmb { Y } _ { o b s } ^ { U } \sqcup \pmb { Y } _ { i n d } ^ { U }$ output of both settings using the notations below.
|
| 324 |
+
|
| 325 |
+
We visualize the difference between the inductive setting and the transductive setting in Figure 6.
|
| 326 |
+
|
| 327 |
+

|
| 328 |
+
Figure 6: The transductive setting and inductive setting illustrated by a 2-layer GNN. The middle shows the original graph used for training. The left shows the transductive setting, where the test node is in red and within the graph. The right shows the inductive setting, where the test node is an unseen new node.
|
| 329 |
+
|
| 330 |
+
# A.5 CHOOSING SOFT TARGETS UNDER THE TRANSDUCTIVE SETTING
|
| 331 |
+
|
| 332 |
+
For the transductive setting in Section 5.3, all the nodes in the graph, including the validation and test nodes, are used for the soft target generation. It seems less practical compared to the inductive case, but it is a necessary step to develop our argument. We now discuss the rationale behind this choice.
|
| 333 |
+
|
| 334 |
+
Firstly, the transductive setting is the most common setting for graph data and it was used in most GNN architecture works and GNN acceleration works we mentioned in related work. Therefore, to avoid any confusion and for a fair comparison with numbers from previous literature, we start our experiments with exactly the same input and output as the standard transductive setting. Under this setting, the inputs to GNNs include all the node features and the graph structure, so GLNN is set to be able to access the same input. As GLNN includes a teacher training step and a distillation step, the soft labels of all the nodes are intermediate outputs produced by the teacher training step, and thus used for the second distillation step for the best GLNN performance. This transductive setting can boil down to a sanity check when the student is sufficiently large. Therefore, we separate the setting to be GLNN and $\mathsf { G L N N + }$ and report the results in Table 1 and Table 2 separately. In Table 1, we are checking how well GLNNs can perform compared to GNNs under the equal-parameter constraint. The results can be interpreted as given a fixed parameter budget, whether there exists one set of parameters (one instantiation of the MLP) that can achieve competitive results as the GNN. Only when this holds, should we further investigate the more interesting and challenging inductive case as in Section 5.4.
|
| 335 |
+
|
| 336 |
+
Secondly, the task we focus on is node classification, which in many cases is considered as semisupervised learning with very scarce labels. For example, Pubmed only uses 60 labeled nodes (20 per class) out of 20K nodes for training. Rather than design an advanced model that can do few-shot learning, our goal here is to leverage as much data as possible to simplify the model for more efficient inference. We thus utilize the soft pseudo-labels on all the unlabelled nodes for the best GLNN performance. In reality, when there is a large amount of separate unlabeled data, these unlabeled data can be used for GLNN distillation training and a different set of labeled data can be used for evaluation. In our case, we mimic this scenario in the inductive setting in Section 5.4.
|
| 337 |
+
|
| 338 |
+
# A.6 IMPLEMENTATION AND HARDWARD DETAILS
|
| 339 |
+
|
| 340 |
+
The experiments on both baselines and our approach are implemented using PyTorch, the DGL (Wang et al., 2019) library for GNN algorithms, and Adam (Kingma & Ba, 2015) for optimization. We run all experiments on a machine with 80 Intel(R) Xeon(R) E5-2698 v4 $@$ 2.20GHz CPUs, and a single NVIDIA V100 GPU with 16GB RAM.
|
| 341 |
+
|
| 342 |
+
# B SPACE AND TIME COMPLEXITY OF GNNS VS. MLPS
|
| 343 |
+
|
| 344 |
+
Compared to MLP and GNN, GLNN provides a handy tool for users to trade-off between model accuracy and time complexity, which does not directly focus on space complexity. Given the space and time complexity are related, we now provide a more detailed discussion regarding these two complexities in our experiments.
|
| 345 |
+
|
| 346 |
+
In Table 1, the model comparison was between equal-sized MLPs (GLNNs) and GNNs. While fixing parameter budget to control space complexity is a standard approach when comparing models, it is not completely fair for cross-model comparison especially for MLPs vs. GNNs. To do inference with GNNs, the graph needs to be loaded in the memory either entirely or batch by batch, and may use much larger space than the model parameters. Thus, the actual space complexity of GNNs is much higher than equal-sized MLPs. From the time complexity perspective, the major inference latency of GNNs comes from the data dependency as shown in Section 4. Under the same setting as Figure 1, we show in Figure 3 Left that even a 5-layer MLP with 8 times wider hidden layers still runs much faster than a single-layer SAGE. Another example of cross-model comparison is Transformers vs. RNNs. Large Transformers can have more parameters than RNNs because of the attention mechanism, but they are also faster than RNNs in general, which is an important consideration in the context of inference time minimization.
|
| 347 |
+
|
| 348 |
+
In Table 1, we saw that for equal-sized comparison, GLNNs are not as accurate as GNNs on the OGB datasets. Following the discussion above and given the GLNNs used in Table 1 are relatively small (3 layers and 256 hidden dimensions) for millions of nodes in the OGB datasets, we ask whether this gap can be mitigated by increasing the MLP and thus GLNN sizes. The answer is yes as shown in Table 2.
|
| 349 |
+
|
| 350 |
+
# C CONSISTENCY MEASURE OF MODEL PREDICTIONS AND GRAPH TOPOLOGY BASED ON MIN-CUT
|
| 351 |
+
|
| 352 |
+
We introduce a metric to measure the consistency between model predictions and graph topology based on the min-cut problem in Section 5.6. The $K$ -way normalized min-cut problem, or simply min-cut, partitions $N$ nodes in $\nu$ into $K$ disjoint subsets by removing the minimum volume of edges. According to Dhillon et al. (2004), the min-cut problem can be expressed as
|
| 353 |
+
|
| 354 |
+
$$
|
| 355 |
+
\operatorname* { m a x } \frac { 1 } { K } \sum _ { k = 1 } ^ { K } \frac { C _ { k } ^ { T } A C _ { k } } { C _ { k } ^ { T } D C _ { k } }
|
| 356 |
+
$$
|
| 357 |
+
|
| 358 |
+
with $C$ being the node assignment matrix that partitions $\nu$ , i.e. $C _ { i , j } = 1$ if node $i$ is assigned to class $j$ . $\pmb { A }$ being the adjacency matrix and $_ { D }$ being the degree matrix. This quantity we try to maximize here tells us whether the assignment is consistent with the graph topology. The bigger it is, the less edges need to be removed, and the assignment is more consistent with existing connections in the graph. In Bianchi et al. (2019), the authors show that when replacing the hard assignments $C \in \{ 0 , 1 \} ^ { N \times K }$ with a soft classification probability $\hat { \pmb Y } \in [ 0 , 1 ] ^ { N \times K }$ , a cut loss $\mathcal { L } _ { c u t }$ in Equation 2 can become a good approximation of Equation 4 and be used as the measuring metric.
|
| 359 |
+
|
| 360 |
+
Table 8: GLNN predictions are much more consistent with the graph topology than MLPs. We show the $\mathcal { L } _ { c u t }$ values of GNNs, MLPs, and GLNN s on five CPF datasets. GLNN $\mathcal { L } _ { c u t }$ values become pretty close to the high $\mathcal { L } _ { c u t }$ values of GNNs, which were closely related to the GNN inductive bias.
|
| 361 |
+
|
| 362 |
+
<table><tr><td>Datasets</td><td>SAGE</td><td>MLP</td><td>GLNN</td></tr><tr><td>Cora</td><td>0.9347</td><td>0.7026</td><td>0.8852</td></tr><tr><td>Citeseer</td><td>0.9485</td><td>0.7693</td><td>0.9339</td></tr><tr><td>Pubmed</td><td>0.9605</td><td>0.9455</td><td>0.9701</td></tr><tr><td>A-computer</td><td>0.9003</td><td>0.6976</td><td>0.8638</td></tr><tr><td>A-photo</td><td>0.8664</td><td>0.7069</td><td>0.8398</td></tr><tr><td>Average</td><td>0.9221</td><td>0.7644</td><td>0.8986</td></tr></table>
|
| 363 |
+
|
| 364 |
+
# D EXPRESSIVENESS OF GNNS VS. MLPS IN TERMS OF EQUIVALENCE CLASSES OF ROOTED GRAPHS
|
| 365 |
+
|
| 366 |
+
In Chen et al. (2021), the expressiveness of GNNs and GA-MLPs were theoretically quantified in terms of induced equivalence classes of rooted graphs. We adopt their framework and perform a similar analysis for GNNs vs. MLPs. We first define rooted graphs.
|
| 367 |
+
|
| 368 |
+
Definition 1 (Rooted Graph). A rooted graph, denoted as $\mathcal { G } ^ { [ i ] }$ is a graph with one node i in $\mathcal { G } ^ { [ i ] }$ designated as the root. GNNs, GA-MLPs, and MLPs can all be considered as functions on rooted graphs. The goal of a node-level task on node $i$ with label $\mathbf { \nabla } _ { \mathbf { \psi } _ { 3 } } \psi _ { i }$ is to fit a function to the input-output pairs $( \mathcal G ^ { [ i ] } , y _ { i } )$ .
|
| 369 |
+
|
| 370 |
+
We denote the space of rooted graphs as $\mathcal { E }$ . Following Chen et al. (2021), the expressive power of a model on graph data is evaluated by its ability to approximate functions on $\mathcal { E }$ . This is further characterized as the number of induced equivalence classes of rooted graphs on $\mathcal { E }$ , with the equivalence relation defined as the following. Given a family of functions $\mathcal { F }$ on $\mathcal { E }$ , we define an equivalence relation $\simeq _ { \varepsilon , F }$ among all rooted graphs such that $\forall \mathcal { G } ^ { [ i ] } , \mathcal { G } ^ { \prime [ j ] } \in \mathcal { E } , \mathcal { G } ^ { [ i ] } \simeq _ { \mathcal { E } , \mathcal { F } } \mathcal { G } ^ { \prime [ j ] }$ if and only if $\forall f \in \mathcal { F } , f ( \mathcal { G } ^ { [ i ] } ) = f ( \mathcal { G } ^ { \prime [ j ] } )$ . We now give a proposition to characterize the GNN expressive power (proof in Appendix E).
|
| 371 |
+
|
| 372 |
+
Proposition 1. With $\mathcal { X }$ denotes the set of all possible node features and assuming $| \mathcal { X } | \ge 2$ , with $m$ denotes the maximum node degree and assuming $m \geq 3$ , the total number of equivalence classes of rooted graphs induced by an $L$ -layer GNN is lower bounded by $\binom { | \mathcal { X } | + m - 2 } { m - 1 } ^ { 2 ^ { L } - 1 }$
|
| 373 |
+
|
| 374 |
+
As shown in Proposition 1, the expressive power of GNNs grows doubly-exponentially in the number of layers $L$ , which means it grows linearly in $L$ after taking $\log ( \log ( \cdot ) )$ . The expressive power GA-MLPs only grows exponentially in $L$ as shown in Chen et al. (2021). Under this framework, the expressive power of MLPs, which corresponds to a 0-layer GA-MLP, is $| \mathcal { X } |$ . Since the former is much larger than the latter, the conclusion will be GNNs are much more expressive than MLPs. The gap between these two numbers indeed exists, but empirically this gap will only make a difference when $| \mathcal { X } |$ is small. As in Chen et al. (2021), both the lower bound proof and the constructed examples showing GNNs are more powerful than GA-MLPs assumed $| \mathcal { X } | = 2$ . In real applications and datasets considered in this work, the node features can be high dimensional vectors like bag-of-words, which makes $| \mathcal { X } |$ enormous. Thus, this gap doesn’t matter much empirically.
|
| 375 |
+
|
| 376 |
+
# E PROOF OF THE PROPOSITION 1
|
| 377 |
+
|
| 378 |
+
To prove Proposition 1, we first define rooted aggregation trees, which is similar to but different from rooted graphs.
|
| 379 |
+
|
| 380 |
+
Definition 2 (Rooted Aggregation Tree). The depth-K rooted aggregation tree of a rooted graph $\mathcal { G } ^ { [ i ] }$ is a depth-K rooted tree with $a$ (possibly many-to-one) mapping from every node in the tree to some node in $\mathcal { G } ^ { [ i ] }$ , where (i) the root of the tree is mapped to node $i$ , and (ii) the children of every node $j$ in the tree are mapped to the neighbors of the node in $\mathcal { G } ^ { [ i ] }$ to which $j$ is mapped.
|
| 381 |
+
|
| 382 |
+
A rooted aggregation tree can be obtained by unrolling the neighborhood aggregation steps in the GNNs. An illustration of rooted graphs and rooted aggregation trees can be found in Chen et al. (2021) Figure 4. We denote the set of all rooted aggregation trees of depth $\mathrm { L }$ using $\mathcal { T } _ { L }$ . Then we use $\mathcal { T } _ { L , \mathcal { X } , m }$ to denote a subset of $\mathcal { T } _ { L }$ , where the node features belong to $\mathcal { X }$ , and all the nodes have exactly degree $m$ ( $m$ children), and at least two nodes out of these m nodes have different features. In other words, a node can’t have all identical children. With rooted aggregation trees defined, we are ready to prove Proposition 1. The proof is adapted from the proof of Lemma 3 in Chen et al. (2021).
|
| 383 |
+
|
| 384 |
+
Proof. Since the number of equivalence classes on $\mathcal { E }$ induced by the family of all depth-L GNNs consists of all rooted graphs that share the same rooted aggregation tree of depth- $\mathrm { . L }$ (Chen et al., 2021), the lower bound problem in Proposition 1 can be reduced to lower bound $| \mathcal { T } _ { L } |$ , which can be further reduced to lower bound the subset $| \mathcal { T } _ { L , \mathcal { X } , m } |$ . We now show $\begin{array} { r } { | \mathcal { T } _ { L , \mathcal { X } , m } | \geq \binom { | \mathcal { X } | + m - 2 } { m - 1 } ^ { 2 ^ { L } - 1 } } \end{array}$ inductively.
|
| 385 |
+
|
| 386 |
+
When $L = 1$ , the root of the tree can have $| \mathcal { X } |$ different choices. For the children nodes, we $m$ $| \mathcal { X } |$ are allowed. This leads to . $\binom { | x | + m - 1 } { m }$ cases. Therefore, $\mathcal { T } _ { L + 1 , \mathcal { X } , m } = | \mathcal { X } | \binom { | \mathcal { X } | + m - 1 } { m } \ge \binom { | \mathcal { X } | + m - 2 } { m - 1 }$
|
| 387 |
+
|
| 388 |
+
Assuming the statement holds for $L$ , we show it holds for $L + 1$ by constructing trees in $\tau _ { L + 1 , x , m }$ from $T , T ^ { \prime } \in \mathcal { T } _ { L , x , m }$ . We do this by assigning node features in $\mathcal { X }$ to the $m$ children of each leaf node in $T$ and $T ^ { \prime }$ . First note that when $T$ and $T ^ { \prime }$ are two non-isomorphic trees, two depth- $\mathrm { . L } { + } 1$ trees constructed from $T$ and $T ^ { \prime }$ will be different no matter how the node features are assigned. Now we consider all the trees can be constructed from $T$ by assign node features of children to leaf nodes.
|
| 389 |
+
|
| 390 |
+
We first consider all paths from the root to leaves in $T$ . Each path consists of a sequence of nodes where the node features form a one-to-one mapping to an $\mathrm { L }$ -tuple $\tau \in \{ ( x _ { 1 } , \ldots , x _ { L } ) : x _ { i } \in \mathcal { X } \}$ . Leaf nodes are called node under $\tau$ if the path from the root to it corresponds to $\tau$ . The children of nodes under different $\tau \mathbf { S }$ are always distinguishable, and thus any assignments lead to distinct rooted aggregation trees of depth $L + 1$ . The assignment of children of nodes under the same $\tau$ , on the other hand, could be overcounted. Therefore, to lower bound $\tau _ { L + 1 , \mathcal { X } , m }$ , we only consider a special way of assignments to avoid over counting, which is that children of all nodes under the same $\tau$ are assigned the same set of features.
|
| 391 |
+
|
| 392 |
+
Since we assumed that at least two nodes of $T$ have different features, there are at least $2 ^ { L }$ different $\tau \mathbf { S }$ corresponding to the path from the root to leaves. For a leaf node $j$ under a fixed $\tau$ , one of its children needs to have the same feature as $j$ ’s parent node. This restriction is due to the definition of rooted aggregation trees. Therefore, we only pick features for the other $m - 1$ nodes, which will be $\binom { | \mathcal { X } | + m - 2 } { m - 1 }$ cases for each $j$ . Then through this construction, the total number of depth- $\mathrm { . L } { + } 1$ trees from T can be lower bounded by |X |+m−2m−1 2L. $T \in \mathcal { T } _ { L , \mathcal { X } , m }$ , so we derive $\begin{array} { r } { \mathcal { T } _ { L + 1 , \mathcal { X } , m } \geq \binom { | \mathcal { X } | + m - 2 } { m - 1 } ^ { 2 ^ { L } } \mathcal { T } _ { L , \mathcal { X } , m } } \end{array}$ hav, and $\begin{array} { r } { \mathcal { T } _ { L , \mathcal { X } , m } \geq \binom { | \mathcal { X } | + m - 2 } { m - 1 } ^ { \sum _ { l = 1 } ^ { L } 2 ^ { l } } = } \end{array}$ $\binom { | \mathcal { X } | + m - 2 } { m - 1 } ^ { 2 ^ { L } - 1 }$
|
| 393 |
+
|
| 394 |
+
# F ADVANCED GNN ARCHITECTURES AS THE TEACHER
|
| 395 |
+
|
| 396 |
+
In our experiment, SAGE teacher is used throughout to avoid influence by model architecture. Some other GNNs like GCN are also considered in the ablation studies, but they are not the best known architecture for a specific dataset. To show GLNN has stronger performance given a stronger teacher, we consider the best teacher we can access on Products. We take $\mathrm { M L P { + } C S }$ Huang et al. (2021) from the OGB leaderboard as a new teacher, which has reported accuracy $8 4 . 1 8 \%$ and ranks 8 on the leadarboard as of Nov 2021. We choose $_ { \mathrm { M L P + C S } }$ instead of the other top 7 because the others either rely on raw text (additional info to the given node feature), or require a large GPU with ${ > } 1 6 \mathrm { G B }$ memory, which we don’t have access to. Also, their improvement is not super significant compared to $\mathrm { M L P { + } C S }$ , i.e. $84 \%$ to $86 \%$ . The result with $\mathrm { M L P { + } C S }$ teacher is shown in Table 9. We see that with the new teacher, performance of ${ \mathrm { G L N N } } +$ improves to be even better than SAGE $( 7 8 . 6 1 \% )$ , which shows GLNN can get stronger given a stronger teacher.
|
| 397 |
+
|
| 398 |
+
Table 9: ${ \mathrm { G L N N } } +$ with $\mathrm { M L P { + } C S }$ teacher on Products
|
| 399 |
+
|
| 400 |
+
<table><tr><td></td><td>MLP+C&S</td><td>MLP+</td><td>GLNN+</td></tr><tr><td>Acc</td><td>84.18</td><td>64.50</td><td>82.94</td></tr></table>
|
| 401 |
+
|
| 402 |
+
# G GLNN WITH FEATURE AUGMENTATION FROM ONE-HOP NEIGHBORS
|
| 403 |
+
|
| 404 |
+
In our main experiment, the inductive performance of GLNN on the Arxiv dataset is less desirable than others. We thus consider augment the node features with their one-hop neighbors to include more graph information. This can be seen as a middle ground between pure GLNNs and GNNs. For this new experiment, we follow the setting in Table 3 but with two new approaches. We explain the setting of these two approaches below.
|
| 405 |
+
|
| 406 |
+
1. 1-hop GA-MLP: firstly, for each node $v$ , we collect features of its 1-hop neighbors $u$ to augment the raw feature of $v$ , i.e. $x _ { v } \tilde { x } _ { v }$ , like in SGC. Then we train an MLP on the graph with $\tilde { x } _ { v }$ . Note if $v$ is in the observed graph but $u$ is in the inductive (unobserved during training) part, then $v$ doesn’t collect features from $u$ .
|
| 407 |
+
|
| 408 |
+
2. 1-hop GA-GLNN: Go through the same feature augmentation step as 1-hop GA-MLP. Then train an MLP with distillation from teacher GNN.
|
| 409 |
+
|
| 410 |
+
3. In summary, we compare 5 different models in the table below
|
| 411 |
+
|
| 412 |
+
(a) SAGE: single model on $x _ { v }$
|
| 413 |
+
(b) MLP: single model on $x _ { v }$
|
| 414 |
+
(c) GLNN: SAGE teacher and MLP student on $x _ { v }$
|
| 415 |
+
(d) 1-hop GA-MLP: single model on $\tilde { x } _ { v }$
|
| 416 |
+
(e) 1-hop GA-GLNN: SAGE teacher on $x _ { v }$ , MLP student on $\tilde { x } _ { v }$
|
| 417 |
+
|
| 418 |
+
We show in the table below, with 1-hop neighbor features, performance of GLNN improves a lot. This is expected as we also observe significant improvement from MLP to 1-hop GA-MLP. However, we indeed see 1-hop GA-GLNN (68.83) can further improve from 1-hop GA-MLP (66.62) and nearly match the teacher (70.64).
|
| 419 |
+
|
| 420 |
+
Table 10: GLNN with feature augmentation from one-hop neighbor on Arxiv
|
| 421 |
+
|
| 422 |
+
<table><tr><td></td><td>Eval</td><td>SAGE</td><td>MLP</td><td>GLNN</td><td>1-hop GA-MLP</td><td>1-hop GA-GLNN</td></tr><tr><td>Arxiv</td><td>ind</td><td>70.64</td><td>55.40</td><td>60.48</td><td>66.62</td><td>68.83</td></tr><tr><td></td><td>tran</td><td>70.75</td><td>55.28</td><td>71.46</td><td>66.67</td><td>69.82</td></tr></table>
|
| 423 |
+
|
| 424 |
+
As we have shown in Figure 3, the 1-Layer GNN in our case is roughly 4 times slower than GLNN (29.31ms vs. $7 . 5 6 \mathrm { m s } ,$ ), which should be a good approximation for the speed comparison between 1-hop GA-MLP/GA-GLNN and GLNN. This result is practically beneficial, as it gives practitioners more flexibility about how much accuracy they want to trade for less inference time.
|
| 425 |
+
|
| 426 |
+
This section is a continuation of the ablation study of inductive split rate in Section 6. It generalizes Figure 5 Middle to more split rates (from 10:90 to 90:10), and explicitly show the inductive and transductive performance on each dataset. For better visualization, the training data label rate is also reduced from 20 per class to 5 per class in the following plots.
|
| 427 |
+
|
| 428 |
+

|
| 429 |
+
Figure 7: Model inductive performance comparison between MLP, GNN(SAGE), and GLNN under different inductive split rate in the production setting.
|
| 430 |
+
|
| 431 |
+

|
| 432 |
+
Figure 8: Model transductive performance comparison between MLP, GNN(SAGE), and GLNN under different inductive split rate in the production setting.
|
| 433 |
+
|
| 434 |
+
# I GLNN UNDER NODE FEATURE HETEROGENEITY AND NON-HOMOPHILY
|
| 435 |
+
|
| 436 |
+
Besides the 7 datasets used in the main experiments, we consider 4 more datasets from Ivanov & Prokhorenkova (2021) and Lim et al. (2021) to further evaluate GLNN.
|
| 437 |
+
|
| 438 |
+
The House_class and VK_class datasets are from Ivanov & Prokhorenkova (2021). The node features of these two graphs are based on tabular data, which have different types, scales, and meanings as the opposite of the bag-of-word node features in Cora and etc. Some basic statistics of the datasets are shown in the following table.
|
| 439 |
+
|
| 440 |
+
Table 11: Statistics of dataset with heterogeneous node features
|
| 441 |
+
|
| 442 |
+
<table><tr><td>Dataset</td><td># Nodes</td><td>#Edges</td><td># Features</td><td>#Classes</td></tr><tr><td>House_class</td><td>20,640</td><td>182,146</td><td>6</td><td>5</td></tr><tr><td>VK_class</td><td>54,028</td><td>213,644</td><td>14</td><td>7</td></tr></table>
|
| 443 |
+
|
| 444 |
+
We apply the GLNN on House_class and VK_class using the best BGNN model from Ivanov & Prokhorenkova (2021) as the teacher. The comparison is shown in the following table. Ivanov & Prokhorenkova (2021) also includes GAT, GCN, AGNN, and APPNP as baselines, whose performance on these two datasets are quite similar (difference $< 0 . 0 2 5$ ). We compare with these baselines by including the best result among the 4 GNN models and refer it as GNN in the table below, i.e. GNN $=$ max(GAT, GCN, AGNN, APPNP). From the table, we see that GLNN can improve from MLP, outperform GNN and LightGBM, and become competitive to the teacher BGNN.
|
| 445 |
+
|
| 446 |
+
Table 12: GLNN on datasets with heterogeneous node features. Numbers other than GLNN are taken from Ivanov & Prokhorenkova (2021)
|
| 447 |
+
|
| 448 |
+
<table><tr><td>Dataset</td><td>LightGBM</td><td>GNNs</td><td>BGNN</td><td>MLP</td><td>GLNN</td></tr><tr><td>House_class</td><td>0.55</td><td>0.625</td><td>0.682</td><td>0.534</td><td>0.672</td></tr><tr><td>VK_class</td><td>0.57</td><td>0.577</td><td>0.683</td><td>0.567</td><td>0.641</td></tr></table>
|
| 449 |
+
|
| 450 |
+
We further pick the non-homophilous Penn94 and Pokec datasets from Lim et al. (2021). Some basic statistics of the datasets are shown in the following table.
|
| 451 |
+
|
| 452 |
+
Table 13: Statistics of non-homophilous datasets
|
| 453 |
+
|
| 454 |
+
<table><tr><td>Dataset</td><td># Nodes</td><td>#Edges</td><td># Features</td><td># Classes</td></tr><tr><td>Penn94</td><td>41,536</td><td>1,590,655</td><td>5</td><td>2</td></tr><tr><td>Pokec</td><td>1,632,803</td><td>30,622,564</td><td>65</td><td>2</td></tr></table>
|
| 455 |
+
|
| 456 |
+
Using the GCN teacher, we see that the performance of GLNN is improved over MLP and becomes competitive to the teacher GCN on $\mathtt { P e n n 9 4 }$ . However, on Pokec, the simple LINK model can achieve very good performance, and it is better than most GNNs reported in Lim et al. (2021). LINK is a purely structural model which does not use node features at all. This shows that the Pokec dataset corresponds to the setting we discussed in Sec 5.8 (limitations of GLNN) – if the node labels can be largely determined by only the graph structure, then GLNN will struggle. We observe that GLNN is not as good as LINK owing to this limitation. However, we still see that for most of the non-homophilous datasets, MLPs already work quite well on them, and we can use GLNN for the other ones like Penn94.
|
| 457 |
+
|
| 458 |
+
Table 14: GLNN on non-homophilous datasets. Numbers other than GLNN are taken from Lim et al. (2021)
|
| 459 |
+
|
| 460 |
+
<table><tr><td>Dataset</td><td>LINK</td><td>GCN</td><td>MLP</td><td>GLNN</td></tr><tr><td>Penn94</td><td>80.79</td><td>82.47</td><td>73.61</td><td>81.69</td></tr><tr><td>Pokec</td><td>80.54</td><td>75.45</td><td>62.37</td><td>61.32</td></tr></table>
|
| 461 |
+
|
| 462 |
+
# J MODEL COMPARISON WITH NOISY NODE FEATURES
|
| 463 |
+
|
| 464 |
+
In Section 6, we conducted an ablation study to compare model performance with noisy node features, and the result is shown in the left plot in Figure 5. There are two subtle points in this plot. (1) The performance of GNN is still relatively high for high noisy features, even when $\alpha = 1$ and the features are completely random. (2) For completely random features, the performance of GLNN is still higher than MLP. We now discuss and explain them in more detail.
|
| 465 |
+
|
| 466 |
+
GNN Performance on Random Features. GNN still performs well because nodes with the same labels are likely to be connected and GNN can overfit the training data. We explain the detail through a toy example. Suppose there is a 4-clique containing nodes A, B, C, D in the graph with only a single edge D-E connects this clique to other graph nodes. Suppose A, B, C, D all have iid random Gaussian raw features and the same class label c. Let’s pick A to be the inductive test node and assume E and the triangle formed by B, C, D to be in the training graph. Let’s consider a simple example for 1-layer GCN and break down message passing into feature aggregation and nonlinear transformation. During training, GNN can overfit the data by learning a nonlinear transformation which maps the aggregated features of B, C, D to class c. The aggregated features of B and C will just be the average of the raw features of B, C, D. Although E is also involved in D’s feature aggregation step, the aggregated features of D will also be very close to this average. Then when test on A, the aggregated feature of A will likely be classified to the same class c by the overfitted nonlinear transformation because it is the average of raw node features of A, B, C, D. In this case, GNN can actually correctly classify A because of the overfitting. For GNNs with more layers and graphs with more neighbor nodes, the conclusion may be generalized.This is roughly sort of a “majority vote” process. For a test node A, if many nodes, which A collects features from, have the same class label and appear in the training graph, then A will be classified as this class by an overfitted classifier.
|
| 467 |
+
|
| 468 |
+
GLNN and MLP Performance on Random Features. The gap between MLP and GLNN is due to imbalanced datasets. The GLNN can learn the imbalance from soft labels, whereas MLPs can only access uniformly picked training nodes. We explain more detail using the A-computer dataset as an example, for which the gap between MLP and GLNN is obvious. The task is 10-class classification. With random node features $( \alpha { = } 1 )$ ), the inductive accuracy for MLP is 0.0652 and 0.2538 for GLNN. If the data labels are uniform, then both models should give an accuracy around 0.1. However, the labels on the inductive dataset are actually imbalanced. We show the results in Figure 9. The hist on the left is the label distribution of the inductive test set. In particular, class 4 takes about $40 \%$ . However, given this imbalance, the standard train-test split selects training nodes uniformly among labels. In this case, 20 nodes per class. Therefore, the predictions of MLP on random features are expected to be relatively uniform because the 200 nodes we train it on are uniform. This gives the hist shown in the middle, where the largest class takes about $1 7 . 5 \%$ . Finally, for GLNN, we train it on all the 200 training nodes with hard labels, plus soft labels of other nodes in the observed graph $\mathcal { G } _ { o b s }$ (see Section 5.2). Since these extra nodes are selected randomly, whose label distribution is actually similar to the label distribution on the whole data and the distribution on the inductive test set. Therefore, we get the GLNN predictions hist on the right. Although for each node, we can’t assign a prediction correlated to its feature, on average the distribution is very close to the true label distribution on the inductive test set and has a much higher expectation. In fact, if the prediction distribution is exactly the true distribution on the inductive test set, the expectation will be 0.2169. GLNN actually does even a bit better by putting its bet more on the largest class.
|
| 469 |
+
|
| 470 |
+

|
| 471 |
+
Figure 9: Inductive (predicted) label distribution on the A-computer dataset. Left: true labels. Middle: predicted labels by MLP. Right: predicted labels by GLNN.
|
parse/dev/4p6_5HBWPCw/4p6_5HBWPCw_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/4p6_5HBWPCw/4p6_5HBWPCw_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/4p6_5HBWPCw/4p6_5HBWPCw_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/7r6kDq0mK_/7r6kDq0mK_.md
ADDED
|
@@ -0,0 +1,396 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# LATENT IMAGE ANIMATOR: LEARNING TO ANIMATE IMAGES VIA LATENT SPACE NAVIGATION
|
| 2 |
+
|
| 3 |
+
Yaohui Wang, Di Yang, Francois Bremond & Antitza Dantcheva Inria, Universite C´ ote d’Azur ˆ {yaohui.wang,di.yang,francois.bremond,antitza.dantcheva}@inria.fr
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
Due to the remarkable progress of deep generative models, animating images has become increasingly efficient, whereas associated results have become increasingly realistic. Current animation-approaches commonly exploit structure representation extracted from driving videos. Such structure representation is instrumental in transferring motion from driving videos to still images. However, such approaches fail in case the source image and driving video encompass large appearance variation. Moreover, the extraction of structure information requires additional modules that endow the animation-model with increased complexity. Deviating from such models, we here introduce the Latent Image Animator (LIA), a self-supervised autoencoder that evades need for structure representation. LIA is streamlined to animate images by linear navigation in the latent space. Specifically, motion in generated video is constructed by linear displacement of codes in the latent space. Towards this, we learn a set of orthogonal motion directions simultaneously, and use their linear combination, in order to represent any displacement in the latent space. Extensive quantitative and qualitative analysis suggests that our model systematically and significantly outperforms state-of-art methods on VoxCeleb, Taichi and TED-talk datasets w.r.t. generated quality. Source code and pre-trained models are publicly available1.
|
| 8 |
+
|
| 9 |
+

|
| 10 |
+
Figure 1: LIA animation examples. The two images of Marilyn Monroe and Emmanuel Macron are animated by LIA, which transfers motion of a driving video (smaller images on the top) from VoxCeleb dataset (Chung et al., 2018) onto the still images. LIA is able to successfully animate these two images without relying on any explicit structure representations, such as landmarks and region representations.
|
| 11 |
+
|
| 12 |
+
# 1 INTRODUCTION
|
| 13 |
+
|
| 14 |
+
In the series of science fiction books Harry Potter (Rowling et al., 2016; Rowling, 2019), wizards and witches were able to magically enchant portraits, bringing them to life. Remarkable progress of deep generative models has recently turned this vision into reality. This work examines the scenario where a framework animates a source image by motion representations learned from a driving video. Existing approaches for image animation are classically related to computer graphics (Cao et al., 2014; Thies et al., 2016; 2019; Zhao et al., 2018) or exploit motion labels (Wang et al., 2020b) and structure representations such as semantic maps (Pan et al., 2019; Wang et al., 2018; 2019), human keypoints (Jang et al., 2018; Yang et al., 2018; Walker et al., 2017; Chan et al., 2019; Zakharov et al., 2019; Wang et al., 2019; Siarohin et al., 2019), 3D meshes (Liu et al., 2019; Chen et al., 2021), and optical flows (Li et al., 2018; Ohnishi et al., 2018). We note that the ground truth of such structure representations has been computed a-priori for the purpose of supervised training, which poses constraints on applications, where such representations of unseen testing images might be fragmentary or difficult to access.
|
| 15 |
+
|
| 16 |
+
Self-supervised motion transfer approaches (Wiles et al., 2018; Siarohin et al., 2019; 2021) accept raw videos as input and learn to reconstruct driving images by warping source image with predicted dense optical flow fields. While the need for domain knowledge or labeled ground truth data has been obviated, which improves performance on in-the-wild testing images, such methods entail necessity of explicit structure representations as motion guidance. Prior information such as keypoints (Siarohin et al., 2019; Wang et al., 2021a) or regions (Siarohin et al., 2021) are learned in an end-to-end training manner by additional networks as intermediate features, in order to predict target flow fields. Although online prediction of such representations is less tedious than the acquisition of ground truth labels, it still strains the complexity of networks.
|
| 17 |
+
|
| 18 |
+
Deviating from such approaches, we here aim to fully eliminate the need of explicit structure representations by directly manipulating the latent space of a deep generative model. To the best of our knowledge, this constitutes a new direction in the context of image animation. Our work is motivated by interpretation of GANs (Shen et al., 2020; Goetschalckx et al., 2019; Jahanian et al., 2020; Voynov & Babenko, 2020), showcasing that latent spaces of StyleGAN (Karras et al., 2019; 2020b) and BigGAN (Brock et al., 2019) contain rich semantically meaningful directions. Given that walking along such directions, basic visual transformations such as zooming and rotation can be induced in generated results. As in image animation, we have that motion between source and driving images can be considered as higher-level transformation, a natural question here arises: can we discover a set of directions in the latent space that induces high-level motion transformations collaboratively?
|
| 19 |
+
|
| 20 |
+
Towards answering this question, we introduce LIA, a novel Latent Image Animator constituting of an autoencoder for animating still images via latent space navigation. LIA seeks to animate a source image via linearly navigating associated source latent code along a learned path to reach a target latent code, which represents the high-level transformation for animating the source image. We introduce a Linear Motion Decomposition (LMD) approach aiming to represent a latent path via a linear combination of a set of learned motion directions and associated magnitudes. Specifically, we constrain the set as an orthogonal basis, where each vector indicates a basic visual transformation. By describing the whole motion space using such learned basis, LIA eliminates the requirement of explicit structure representations.
|
| 21 |
+
|
| 22 |
+
In addition, we design LIA to disentangle motion and appearance within a single encoder-generator architecture. Deviating from existing methods using separate networks to learn disentangled features, LIA integrates both, latent motion code, as well as appearance features in a single encoder, which highly reduces the model complexity and simplifies training.
|
| 23 |
+
|
| 24 |
+
We provide evaluation on multiple datasets including VoxCeleb (Chung et al., 2018), TaichiHD (Siarohin et al., 2019) and TED-talk (Siarohin et al., 2021). In addition, we show that LIA outperforms the state-of-the-art in preserving the facial structure in generated videos in the setting of one-shot image animation on unseen datasets such as FFHQ (Karras et al., 2019) and GermanPublicTV (Thies et al., 2020).
|
| 25 |
+
|
| 26 |
+
# 2 RELATED WORK
|
| 27 |
+
|
| 28 |
+
Video generation GAN-based video generation is aimed at mapping Gaussian noise to video, directly and in the absence of prior information (Vondrick et al., 2016; Saito et al., 2017; Tulyakov et al., 2018; Wang et al., 2020a; Wang, 2021). Approaches based on deep probabilistic models (Denton & Birodkar, 2017; Li & Mandt, 2018; Bhagat et al., 2020; Xie et al., 2020) were also proposed to tackle this problem, however only show results on toy datasets with low resolution. Recently, with the progress of GANs in photo-realistic image generation (Brock et al., 2019; Karras et al., 2019; 2020a), a series of works (Clark et al., 2019; Wang et al., 2021c) explored production of highresolution videos by incorporating the architecture of an image generator into video GANs, trained jointly with RNNs. Tian et al. (2021) directly leveraged the knowledge of a pre-trained StyleGAN to produce videos of resolution up to $1 0 2 4 \times \mathrm { i } 0 2 4$ . Unlike these approaches, which generate random videos based on noise vectors in an unconditional manner, in this paper, we focus on conditionally creating novel videos by transferring motion from driving videos to input images.
|
| 29 |
+
|
| 30 |
+

|
| 31 |
+
Figure 2: General pipeline. Our objective is to transfer motion via latent space navigation. The entire training pipeline consists of two steps. Firstly, we encode a source image $x _ { s }$ into a latent code $z _ { s r }$ . By linearly navigating $z _ { s r }$ along a path $w _ { r \to d }$ , we reach a target latent code $z _ { s d }$ . The latent paths are represented by a linear combination between a set of learned motion directions (e.g., $d _ { 1 }$ and $d _ { 2 }$ ), which is an orthogonal basis, and associated magnitudes. In the second step, we decode $z _ { s d }$ to a target dense optical flow field $\phi _ { s d }$ , which is used to warp $x _ { s }$ into the driving image $x _ { d }$ . While we train our model using images from the same video sequence, in the testing phase, $x _ { s }$ and $x _ { d }$ generally pertain to different identities.
|
| 32 |
+
|
| 33 |
+
Latent space editing In an effort to control generated images, recent works explored the discovery of semantically meaningful directions in the latent space of pre-trained GANs, where linear navigation corresponds to desired image manipulation. Supervised (Shen et al., 2020; Jahanian et al., 2020; Goetschalckx et al., 2019) and unsupervised (Voynov & Babenko, 2020; Peebles et al., 2020; Shen & Zhou, 2021) approaches were proposed to edit semantics such as facial attributes, colors and basic visual transformations (e.g., rotation and zooming) in generated or inverted real images (Zhu et al., 2020; Abdal et al., 2020). In this work, as opposed to finding directions corresponding to individual visual transformations, we seek to learn a set of directions that cooperatively allows for high-level visual transformations that can be beneficial in image animation.
|
| 34 |
+
|
| 35 |
+
Image animation Related approaches (Chan et al., 2019; Wang et al., 2018; Zakharov et al., 2019; Wang et al., 2019; Yang et al., 2020) in image animation required strong prior structure labels as motion guidance. In particular, Chan et al. (2019), Yang et al. (2020) and Wang et al. (2018) proposed to map representations such as human keypoints and facial landmarks to videos in the setting of image-to-image translation proposed by Isola et al. (2017). However, such approaches were only able to learn an individual model for a single identity. Transferring motion on new appearances requires retraining the entire model from scratch by using videos of target identities. Several recent works (Zakharov et al., 2019; Wang et al., 2019) explored meta learning in fine-tuning models on target identities. While only few images of target identities were required during inference time, it was still compulsory to input pre-computed structure representations in those approaches, which usually are hard to access in many real-world scenarios. Towards addressing this issue, very recent works (Siarohin et al., 2019; 2021; Wang et al., 2021b; Wiles et al., 2018) proposed to learn image animation in self-supervised manner, only relying on RGB videos for both, training and testing without any priors. They firstly predicted dense flow fields from input images, which were then utilized to warp source images, in order to obtain final generated results. Inference only required one image of a target identity without any fine-tuning step on pre-trained models. While no priors were required, state-of-the-art methods still followed the idea of using explicit structure representations. FOMM (Siarohin et al., 2019) proposed a first order motion approach to predict keypoints and local transformations online to generate flow fields. Siarohin et al. (2021) developed this idea to model articulated objects by replacing a keypoints predictor by a PCA-based region prediction module. Wang et al. (2021b) extended FOMM by predicting 3D keypoints for view-free generation. We note though that in all approaches, given that keypoints or regions are inadequately predicted, the quality of generated images drastically decreases. In contrast to such approaches, our method does not require any explicit structure representations. We dive into the latent space of the generator and self-learn to navigate motion codes in certain directions with the goal to reach target codes, which are then decoded to flow fields for warping.
|
| 36 |
+
|
| 37 |
+

|
| 38 |
+
Figure 3: Overview of LIA. LIA is an autoencoder consisting of two networks, an encoder $E$ and a generator $G$ . In the latent space, we apply Linear Motion Decomposition (LMD) towards learning a motion dictionary $D _ { m }$ , which is an orthogonal basis where each vector represents a basic visual transformation. LIA takes two frames sampled from the same video sequence as source image $x _ { s }$ and driving image $x _ { d }$ respectively during training. Firstly, it encodes $x _ { s }$ into a source latent code $z _ { s r }$ and $x _ { d }$ into a magnitude vector $\bar { A _ { r \to d } }$ . Then, it linearly combines $A _ { r d }$ and a trainable $D _ { m }$ using LMD to obtain a latent path $w _ { r \to d }$ , which is used to navigate $z _ { s _ { } r }$ to a target code $z _ { s d }$ . Finally, $G$ decodes $z _ { s d }$ into a target dense flow field and warps $x _ { s }$ to an output image $x _ { s \to d }$ . The training objective is to reconstruct $x _ { d }$ using $x _ { s \to d }$ .
|
| 39 |
+
|
| 40 |
+
# 3 METHOD
|
| 41 |
+
|
| 42 |
+
Self-supervised image animation aims at learning to transfer motion from a subject of a driving video to a subject in a source image based on training with a large video dataset. In this work, we propose to model such motion transformation via latent space navigation. The general pipeline is illustrated in Fig. 2. Specifically, for training, our model takes in a pair of source and driving images, randomly sampled from one video sequence. These two images are encoded into a latent code which is used to represent motion transformation in the image space. The training objective is to reconstruct the driving image by combining source image with learned motion transformation. For testing, frames of a driving video are sequentially processed with the source image to animate the source subject.
|
| 43 |
+
|
| 44 |
+
We provide an overview of the proposed model in Fig. 3. Our model is an autoencoder, consisting of two main networks, an encoder $\bar { E }$ and a generator $\bar { G }$ . In general, our model requires two steps to transfer motion. In the first step, $E$ encodes source and driving images $\boldsymbol { x } _ { s } , \boldsymbol { x } _ { d } \sim \dot { \mathcal { X } } \in \mathbb { R } ^ { 3 \times H \times W }$ into latent codes in the latent space. The source code is then navigated into a target code, which is used to represent target motion transformation, along a learned latent path. Based on proposed Linear Motion Decomposition (LMD), we represent such a path as a linear combination of a set of learned motion directions and associated magnitudes, which are learned from $x _ { d }$ . In the second step, once the target latent code is obtained, $G$ decodes it as a dense flow field $\phi _ { s \to d } \sim \Phi \in \mathbb { R } ^ { 2 \times H \times W }$ and uses $\bar { \phi _ { s \to d } }$ to warp $x _ { s }$ and then to obtain the output image. In the following, we proceed to discuss the two steps in detail.
|
| 45 |
+
|
| 46 |
+
# 3.1 LATENT MOTION REPRESENTATION
|
| 47 |
+
|
| 48 |
+
Given a source image $x _ { s }$ and a driving image $x _ { d }$ , our first step constitutes of learning a latent code $z _ { s \to d } \sim \mathcal { Z } \in \mathbb { R } ^ { N }$ to represent the motion transformation from $x _ { s }$ to $x _ { d }$ . Due to the uncertainty of two images, directly learning $z _ { s d }$ puts forward a high requirement on the model to capture a complex distribution of motion. Mathematically, it requires modeling directions and norms of the vector $z _ { s d }$ simultaneously, which is challenging. Therefore, instead of modeling motion transformation $x _ { s } \to x _ { d }$ , we assume there exists a reference image $x _ { r }$ and motion transfer can be modeled as $x _ { s } x _ { r } x _ { d }$ , where $z _ { s d }$ is learned in an indirect manner. We model $z _ { s d }$ as a target point in the latent space, which can be reached by taking linear walks from a starting point $z _ { s r }$ along a linear path $w _ { r \to d }$ (see Fig. 2), given by
|
| 49 |
+
|
| 50 |
+
$$
|
| 51 |
+
z _ { s d } = z _ { s r } + w _ { r d } ,
|
| 52 |
+
$$
|
| 53 |
+
|
| 54 |
+
where $z _ { s r }$ and $w _ { r \to d }$ indicate the transformation $x _ { s } \to x _ { r }$ and $x _ { r } \to x _ { d }$ respectively. Both $z _ { s r }$ and $w _ { r \to d }$ are learned independently and $z _ { s r }$ is obtained by passing $x _ { s }$ through $E$ .
|
| 55 |
+
|
| 56 |
+
We learn $w _ { r \to d }$ via Linear Motion Decomposition (LMD). Our idea is to learn a set of motion directions $D _ { m } = \{ \mathbf { d _ { 1 } } , . . . , \mathbf { d _ { M } } \}$ to represent any path in the latent space. We constrain $D _ { m }$ as an orthogonal basis, where each vector indicates a motion direction $\mathbf { d _ { i } }$ . We then combine each vector in the basis with a vector $A _ { r d } = \{ a _ { 1 } , . . . , a _ { M } \}$ , where $a _ { i }$ represents the magnitude of $\mathbf { d _ { i } }$ . Hence, any linear path in the latent space can be represented using a linear combination
|
| 57 |
+
|
| 58 |
+
$$
|
| 59 |
+
w _ { r d } = \sum _ { i = 1 } ^ { M } a _ { i } { \bf d _ { i } } ,
|
| 60 |
+
$$
|
| 61 |
+
|
| 62 |
+
where $\mathbf { d } _ { \mathbf { i } } \in \mathbb { R } ^ { N }$ and $a _ { i } \in \mathbb { R }$ for all $i \in \{ 1 , . . . , M \}$ . Semantically, each $\mathbf { d _ { i } }$ should represent a basic visual transformation and $a _ { i }$ indicates the required steps to walk in $\mathbf { d _ { i } }$ towards achieving $w _ { r \to d }$ . Due to $D _ { m }$ entailing an orthogonal basis, any two directions $\mathbf { d } _ { \mathrm { i } } , \mathbf { d } _ { \mathrm { j } }$ follow the constrain
|
| 63 |
+
|
| 64 |
+
$$
|
| 65 |
+
< { \bf d _ { i } } , { \bf d _ { j } } > = \left\{ \begin{array} { c c } { { 0 } } & { { i \neq j } } \\ { { 1 } } & { { i = j . } } \end{array} \right.
|
| 66 |
+
$$
|
| 67 |
+
|
| 68 |
+
We implement $D _ { m }$ as a learnable matrix and apply the Gram-Schmidt process during each forward pass, in order to meet the requirement of orthogonality. $A _ { r d }$ is obtained by mapping $z _ { d r }$ , which is the output of $x _ { d }$ after $E$ , through a 5-layer MLP. The final formulation of latent motion representation for each $x _ { s }$ and $x _ { d }$ is thus given as
|
| 69 |
+
|
| 70 |
+
$$
|
| 71 |
+
z _ { s d } = z _ { s r } + \sum _ { i = 1 } ^ { M } a _ { i } { \bf d _ { i } } .
|
| 72 |
+
$$
|
| 73 |
+
|
| 74 |
+
# 3.2 LATENT CODE DRIVEN IMAGE ANIMATION
|
| 75 |
+
|
| 76 |
+
Once we obtain $z _ { s d }$ , in our second step, we use $G$ to decode a flow field $\phi _ { s \to d }$ and warp $x _ { s }$ . Our $G$ consists of two components, a flow field generator $G _ { f }$ and a refinement network $G _ { r }$ (we provide details in App. A).
|
| 77 |
+
|
| 78 |
+
Towards learning multi-scale features, $G$ is designed as a residual network containing $N$ models to produce a pyramid of flow fields $\phi _ { s \to d } = \{ \bar { \phi _ { i } } \bar \} _ { 1 } ^ { N }$ in different layers of $G _ { f }$ . Multi-scale source features $x _ { s } ^ { e n c } = \{ x _ { i } ^ { e n c } \} _ { 1 } ^ { N }$ are obtained from $E$ and are warped in $G _ { f }$ .
|
| 79 |
+
|
| 80 |
+
However, as pointed out by Siarohin et al. (2019), only relying on $\phi _ { s \to d }$ to warp source features is insufficient to precisely reconstruct driving images due to the existing occlusions in some positions of $x _ { s }$ . In order to predict pixels in those positions, the network is required to inpaint the warped feature maps. Therefore, we predict multi-scale masks $\{ m _ { i } \} _ { 1 } ^ { N }$ along with $\{ \phi _ { i } \} _ { 1 } ^ { N }$ in $G _ { f }$ to mask out the regions required to be inpainted. In each residual module, we have
|
| 81 |
+
|
| 82 |
+
$$
|
| 83 |
+
x _ { i } ^ { \prime } = \mathcal { T } ( \phi _ { i } , x _ { i } ^ { e n c } ) \odot m _ { i } ,
|
| 84 |
+
$$
|
| 85 |
+
|
| 86 |
+
where $\odot$ denotes the Hadamard product and $\tau$ denotes warping operation, whereas $\boldsymbol { x } _ { i } ^ { \prime }$ signifies the masked features. We generate both dense flow fields, as well as masks by letting each residual module output a 3-channel feature map in which the first two channels represent ${ \bar { \phi } } _ { i }$ and the last channel $m _ { i }$ . Based on an inpainted feature map $f ( x _ { i } ^ { \prime } )$ , as well as an upsampled image $g ( x _ { i - 1 } )$ provided by the previous module in $G _ { r }$ , the RGB image from each module is given by
|
| 87 |
+
|
| 88 |
+
$$
|
| 89 |
+
o _ { i } = f ( x _ { i } ^ { \prime } ) + g ( o _ { i - 1 } ) ,
|
| 90 |
+
$$
|
| 91 |
+
|
| 92 |
+
where $f$ and $g$ denote the inpainting and upsampling layers, respectively. The output image $o _ { N }$ from the last module constitutes the final generated image $x _ { s \to d } = o _ { N }$ .
|
| 93 |
+
|
| 94 |
+
# 3.3 LEARNING
|
| 95 |
+
|
| 96 |
+
We train LIA in a self-supervised manner to reconstruct $x _ { d }$ using three losses, i.e., a reconstruction loss $\mathcal { L } _ { r e c o n }$ , a perceptual loss $\mathcal { L } _ { v g g }$ (Johnson et al., 2016) and an adversarial loss $\mathcal { L } _ { a d v }$ . We use $\mathcal { L } _ { r e c o n }$ to minimize the pixel-wise $\mathbb { L } _ { 1 }$ distance between $x _ { d }$ and $x _ { s \to d }$ , calculated as
|
| 97 |
+
|
| 98 |
+
$$
|
| 99 |
+
\mathcal { L } _ { r e c o n } ( x _ { s d } , x _ { d } ) = \mathbb { E } [ \| x _ { d } - x _ { s d } \| _ { 1 } ] .
|
| 100 |
+
$$
|
| 101 |
+
|
| 102 |
+
Towards minimizing the perceptual distance, we apply a VGG19-based $\mathcal { L } _ { v g g }$ on multi-scale feature maps between real and generated images, written as
|
| 103 |
+
|
| 104 |
+
$$
|
| 105 |
+
\mathcal { L } _ { v g g } ( x _ { s d } , x _ { d } ) = \mathbb { E } [ \sum _ { n } ^ { N } \| F _ { n } ( x _ { d } ) - F _ { n } ( x _ { s d } ) \| _ { 1 } ] ,
|
| 106 |
+
$$
|
| 107 |
+
|
| 108 |
+
where $F _ { n }$ denotes the $n ^ { t h }$ layer in a pre-trained VGG19 (Simonyan & Zisserman, 2015). In practice, towards penalizing real and generated images in multi-scale images, we use a pyramid of four resolutions, namely $2 5 6 \times 2 5 6$ , ${ \bar { 1 } } 2 8 \times 1 2 8$ , $6 4 \times 6 4$ and $3 2 \times 3 2$ as inputs of VGG19. The final perceptual loss is the addition of perceptual losses in four resolutions.
|
| 109 |
+
|
| 110 |
+
Further, towards generating photo-realistic results, we incorporate a non-saturating adversarial loss $\mathcal { L } _ { a d v }$ on $x _ { s \to d }$ , which is calculated as
|
| 111 |
+
|
| 112 |
+
$$
|
| 113 |
+
\mathcal { L } _ { a d v } ( x _ { s d } ) = \mathbb { E } _ { x _ { s d } \sim p _ { r e c } } [ - l o g ( D ( x _ { s d } ) ] ,
|
| 114 |
+
$$
|
| 115 |
+
|
| 116 |
+
where $D$ is a discriminator, aimed at distinguishing reconstructed images from the original ones. Our full loss function is the combination of three losses with $\lambda$ as a balanced hyperparameter
|
| 117 |
+
|
| 118 |
+
$$
|
| 119 |
+
{ \mathcal { L } } ( x _ { s d } , x _ { d } ) = { \mathcal { L } } _ { r e c o n } ( x _ { s d } , x _ { d } ) + \lambda { \mathcal { L } } _ { v g g } ( x _ { s d } , x _ { d } ) + { \mathcal { L } } _ { a d v } ( x _ { s d } ) .
|
| 120 |
+
$$
|
| 121 |
+
|
| 122 |
+
# 3.4 INFERENCE
|
| 123 |
+
|
| 124 |
+
In inference stage, given a driving video sequence $V _ { d } = \{ x _ { t } \} _ { 1 } ^ { T }$ , we aim to transfer motion from $V _ { d }$ to $x _ { s }$ , in order to generate a novel video $V _ { d s } = \{ x _ { t s } \} _ { 1 } ^ { T }$ . If $V _ { d }$ and $x _ { s }$ stem from the same video sequence, i.e., $x _ { s } ~ = ~ x _ { 1 }$ , our task comprises of reconstructing the entire original video sequence. Therefore, we construct the latent motion representation of each frame using absolute transfer, which follows the training process, given as
|
| 125 |
+
|
| 126 |
+
$$
|
| 127 |
+
z _ { s t } = z _ { s r } + w _ { r t } , t \in \{ 1 , . . . , T \} .
|
| 128 |
+
$$
|
| 129 |
+
|
| 130 |
+
However, in real world applications, interest is rather placed on the scenario, where motion transfer between $x _ { s }$ and $V _ { d }$ , the latter stemming from different identities, i.e., $x _ { s } \neq x _ { 1 }$ . Taking a talking head video as an example, in this setting, beyond identity, $x _ { 1 }$ and $x _ { s }$ might also differ in pose and expression. Therefore, we propose relative transfer to eliminate the motion impact of $w _ { r \to 1 }$ and involve motion of $w _ { r \to s }$ in the full generated video sequence. Owing to a linear representation of the latent path, we can easily represent $z _ { s t }$ for each frame as
|
| 131 |
+
|
| 132 |
+
$$
|
| 133 |
+
\begin{array} { r l } & { z _ { s t } = ( z _ { s r } + w _ { r s } ) + ( w _ { r t } - w _ { r 1 } ) } \\ & { \qquad = z _ { s s } + ( w _ { r t } - w _ { r 1 } ) , \ t \in \{ 1 , . . . , T \} . } \end{array}
|
| 134 |
+
$$
|
| 135 |
+
|
| 136 |
+
The first term in Eq. (12), $z _ { s s }$ indicates the reconstruction of $x _ { s }$ , while the second term $( w _ { r t } - w _ { r 1 } )$ represents the motion from $x _ { 1 }$ to $x _ { t }$ . This equation indicates that the original pose is preserved in $x _ { s }$ , at the same time motion is transferred from $V _ { d }$ . We note that in order to completely replicate the position and pose in $V _ { d }$ , it requires $x _ { s }$ and $x _ { 1 }$ to contain similar poses in relative motion transfer.
|
| 137 |
+
|
| 138 |
+
# 4 EXPERIMENTS
|
| 139 |
+
|
| 140 |
+
In this section, we firstly describe our experimental setup including implementation details and datasets. Secondly, we qualitatively demonstrate generated results based on testing datasets. Then, we provide quantitative evaluation w.r.t. image quality on (a) same-identity reconstruction, (b) crossvideo motion transfer, presenting (c) a user study. Next, we conduct an ablation study that demonstrates (d) the effectiveness of our proposed motion dictionary, as well as (e) associated size. Finally, we provide an in-depth analysis of our (f) latent codes and (g) motion dictionary to interpret their semantic meanings.
|
| 141 |
+
|
| 142 |
+
Datasets Our model is trained on the datasets VoxCeleb, TaichiHD and TED-talk. We follow the pre-processing method in (Siarohin et al., 2019) to crop frames into $2 5 6 \times 2 5 6$ resolution for quantitative evaluation.
|
| 143 |
+
|
| 144 |
+
Implementation details Our model is implemented in PyTorch (Paszke et al., 2019). All models are trained on four 16G NVIDIA V100 GPUs. The total batch size is 32 with 8 images per GPU. We use a learning rate of 0.002 to train our model with the Adam optimizer (Kingma & Ba, 2014). The dimension of all latent codes, as well as directions in $D _ { m }$ is set to be 512. In our loss function, we use $\lambda = 1 0$ in order to penalize more on the perceptual loss. It takes around 150 hours to fully train our framework.
|
| 145 |
+
|
| 146 |
+

|
| 147 |
+
Figure 4: Qualitative results. Examples for same-dataset absolute motion transfer on TaichiHD (top-right) and TED-talk (bottom-right). On VoxCeleb (left), we demonstrate cross-dataset relative motion transfer. We successfully transfer motion between $x _ { 1 }$ and $x _ { t }$ from videos in VoxCeleb to $x _ { s }$ from FFHQ, the latter not being used for training.
|
| 148 |
+
|
| 149 |
+
Evaluation metrics We evaluate our model w.r.t. (i) reconstruction faithfulness using $\mathcal { L } _ { 1 }$ , LPIPS, (ii) generated video quality using video FID, as well as (iii) semantic consistency using average keypoint distance (AKD), missing keypoint rate (MKR) and average euclidean distance (AED). Details are available in App. B.2.
|
| 150 |
+
|
| 151 |
+
# 4.1 QUALITATIVE RESULTS
|
| 152 |
+
|
| 153 |
+
Firstly, we evaluate the ability of LIA to generate realistic videos and compare related results with four state-of-the-art methods. For TaichiHD and TED-talk datasets, we conduct an experiment related to cross-video generation. Corresponding results (see Fig. 4) confirm that our method is able to correctly transfer motion on articulated human bodies, in the absence of explicit structure representations. For the VoxCeleb dataset, we conduct a cross-dataset generation-experiment, where we transfer motion from VoxCeleb to images of the FFHQ dataset. We observe that our method outperforms FOMM and MRAA w.r.t. image quality, as both approaches visibly deform the shape of the original faces. This is specifically notable in the case that source and driving images entail large pose variations. At the same time, LIA is able to successfully tackle this challenge and no similar deformations are visible.
|
| 154 |
+
|
| 155 |
+
# 4.2 COMPARISON WITH STATE-OF-THE-ART METHODS
|
| 156 |
+
|
| 157 |
+
We quantitatively compare our method with the state-of-the-art approaches X2Face, Monkey-Net, FOMM and MRAA on two tasks, namely (a) same-identity reconstruction and (b) cross-video motion transfer. Additionally, we conduct a (c) user study.
|
| 158 |
+
|
| 159 |
+
(a) Same-identity reconstruction We here evaluate the reconstruction ability of our method. Specifically, we reconstruct each testing video by using the first frame as $x _ { s }$ and the remaining frames as $x _ { d }$ . Results on three datasets are reported in Table 1. Focusing on foregroundreconstruction, our method outperforms the other approaches w.r.t. all metrics. More results are presented in App. B.3, discussing background-reconstruction.
|
| 160 |
+
|
| 161 |
+
(b) Cross-video motion transfer Next, we conduct experiments, where source images and driving videos stem from different video sequences. In this context, we mainly focus on evaluating talking head videos and explore two different cases. In the first case, we generate videos using the VoxCeleb testing set to conduct motion transfer. In the second case, source images are from an unseen dataset, namely the GermanPublicTV dataset, as we conduct cross-dataset motion transfer. In both experiments, we randomly construct source and driving pairs and transfer motion from driving videos to source images to generate a novel manipulated dataset. Since ground truth data for our generated videos is not available, we use video FID (as initialized by Wang et al. (2020a)) to compute the distance between generated and real data distributions. As shown in Tab. 2, our method outperforms all other approaches w.r.t. video FID, indicating the best generated video quality.
|
| 162 |
+
|
| 163 |
+
Table 1: Same-identity reconstruction. Comparison with state-of-the-art methods on three datasets for same-identity reconstruction.
|
| 164 |
+
|
| 165 |
+
<table><tr><td rowspan="2">Method</td><td colspan="4">VoxCeleb</td><td colspan="4">TaichiHD</td><td colspan="4">TED-talks</td></tr><tr><td>L1</td><td>AKD</td><td>AED</td><td>LPIPS</td><td>L1</td><td>(AKD,MKR)</td><td>AED</td><td>LPIPS</td><td>L1</td><td>(AKD,MKR)</td><td>AED</td><td>LPIPS</td></tr><tr><td>X2Face</td><td>0.078</td><td>7.687</td><td>0.405</td><td>-</td><td>0.080</td><td>(17.654,0.109)</td><td></td><td>-</td><td>=</td><td></td><td></td><td>-</td></tr><tr><td>Monkey-Net</td><td>0.049</td><td>1.878</td><td>0.199</td><td>-</td><td>0.077</td><td>(10.798,0.059)</td><td></td><td></td><td>=</td><td></td><td></td><td>=</td></tr><tr><td>FOMM</td><td>0.046</td><td>1.395</td><td>0.141</td><td>0.136</td><td>0.063</td><td>(6.472,0.032)</td><td>0.4950.191</td><td></td><td>0.030</td><td>(3.759,0.0090)0.428</td><td></td><td>0.13</td></tr><tr><td>MRAA w/o bg</td><td>0.043</td><td>1.307</td><td>0.140</td><td>0.127</td><td>0.063</td><td>(5.626,0.025)</td><td>0.460</td><td>0.189</td><td>0.029</td><td>(3.126,0.0092)0.396</td><td></td><td>0.12</td></tr><tr><td>Ours</td><td>0.041</td><td>1.353</td><td>0.138</td><td>0.123</td><td>0.057</td><td>(4.823, 0.020)</td><td>0.431</td><td>0.180</td><td>0.027</td><td>(3.141,0.0095)0.399</td><td></td><td>0.11</td></tr></table>
|
| 166 |
+
|
| 167 |
+
Table 2: Cross-video generation. We report video FID for both inner- and cross-dataset tasks on VoxCeleb and GermanPublicTV.
|
| 168 |
+
|
| 169 |
+
<table><tr><td>VoxCeleb</td><td>GermanPublicTV</td></tr><tr><td>FOMM</td><td>0.323 0.456</td></tr><tr><td>MRAA 0.308</td><td>0.454</td></tr><tr><td>Ours</td><td>0.161 0.406</td></tr></table>
|
| 170 |
+
|
| 171 |
+
Table 3: User study. We ask 20 human raters to conduct a subjective video quality evaluation.
|
| 172 |
+
|
| 173 |
+
<table><tr><td></td><td>VoxCeleb(%)</td><td>TaichiHD(%)</td><td>TED-talk(%)</td></tr><tr><td>Ours/FOMM</td><td>92.9/7.1</td><td>64.5/35.5</td><td>71.4/28.6</td></tr><tr><td>Ours/MRAA</td><td>89.7/10.3</td><td>60.7/39.9</td><td>54.8/45.2</td></tr></table>
|
| 174 |
+
|
| 175 |
+
(c) User study We conduct a user study to evaluate video quality. Towards this, we displayed paired videos and asked 20 human raters ‘which clip is more realistic?’. Each video-pair contains a generated video from our method, as well as a video generated from FOMM or MRAA. Results suggest that our results are more realistic in comparison to FOMM and MRAA across all three datasets (see Tab. 3). Hence, the obtained human preference is in accordance with our quantitative evaluation.
|
| 176 |
+
|
| 177 |
+
Table 4: Ablation study on motion dictionary. We conduct experiments on three datasets with and without $D _ { m } ^ { \phantom { \dagger } }$ and show reconstruction results.
|
| 178 |
+
|
| 179 |
+
<table><tr><td colspan="2">VoxCeleb</td><td colspan="2">TaichiHD</td><td colspan="2">TED-talks</td></tr><tr><td>Method</td><td>L1 LPIPS</td><td>L1</td><td>LPIPS</td><td>L1</td><td>LPIPS</td></tr><tr><td>wloDm</td><td>0.049 0.165</td><td>0.062</td><td>0.186</td><td>0.031</td><td>0.12</td></tr><tr><td>Full</td><td>0.041 0.123</td><td>0.057</td><td>0.180</td><td>0.028</td><td>0.11</td></tr></table>
|
| 180 |
+
|
| 181 |
+
Table 5: Ablation study on $D _ { m }$ size. We conduct experiments on three datasets with 5 different $D _ { m }$ size and show reconstruction results.
|
| 182 |
+
|
| 183 |
+
<table><tr><td colspan="3">VoxCeleb</td><td colspan="2">TaichiHD</td><td colspan="2">TED-talks</td></tr><tr><td>M</td><td>L1</td><td>LPIPS</td><td>L1</td><td>LPIPS</td><td>L1</td><td>LPIPS</td></tr><tr><td>5 10</td><td>0.051 0.043</td><td>0.15 0.13</td><td>0.070 0.065</td><td>0.22 0.20</td><td>0.037 0.036</td><td>0.15</td></tr><tr><td>20</td><td>0.041</td><td>0.12</td><td>0.057</td><td>0.18</td><td>0.028</td><td>0.13 0.11</td></tr><tr><td>40</td><td>0.042</td><td>0.12</td><td>0.060</td><td>0.19</td><td>0.030</td><td>0.12</td></tr><tr><td>100</td><td>0.041</td><td>0.12</td><td>0.058</td><td>0.18</td><td>0.028</td><td>0.11</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr></table>
|
| 184 |
+
|
| 185 |
+
# 4.3 ABLATION STUDY
|
| 186 |
+
|
| 187 |
+
We here analyze our proposed motion dictionary and focus on answering following two questions.
|
| 188 |
+
|
| 189 |
+
(d) Is the motion dictionary $D _ { m }$ beneficial? We here explore the impact of proposed $D _ { m }$ , by training our model without $D _ { m }$ . Specifically, we output $w _ { r \to d }$ directly from MLP, without using LMD to learn an orthogonal basis. From the evaluation results reported in Tab. 4 and qualitative results in App. B.5, we observe that in the absence of $D _ { m }$ , model fails to generate high-quality images, which proves the effectiveness of $D _ { m }$ , consistently on all datasets.
|
| 190 |
+
|
| 191 |
+
(e) How many directions are required in $D _ { m }$ ? Towards finding an effective size of $D _ { m }$ , we empirically test three different $M$ , viz. 5, 10, 20, 40 and 100. Quantitative results in Tab. 5 show that when using 20 directions, the model achieves the best reconstruction results.
|
| 192 |
+
|
| 193 |
+
# 4.4 FURTHER ANALYSIS
|
| 194 |
+
|
| 195 |
+
(f) Latent code analysis. While our method successfully transfers motion via latent space navigation, we here aim at answering the question — what does $x _ { r }$ represent? Towards answering this question, we proceed to visualize $x _ { r }$ . We firstly decode $z _ { s r }$ into a dense flow field $\phi _ { s r }$ , which is then used to warp $x _ { s }$ (we show details in App. B.4). Fig. 5 shows examples of $x _ { s }$ and $x _ { r }$ . Interestingly, we observe that $x _ { r }$ represents the canonical pose of $x _ { s }$ , regardless of original poses of the subjects. And for all datasets, reference images resemble each other $w . r . t .$ . pose and scale. As such reference images can be considered as a normalized form of $x _ { s }$ , learning transformations between $x _ { s }$ and $x _ { d }$ using $x _ { s } x _ { r } x _ { d }$ is considerably more efficient than $x _ { s } \to x _ { d }$ , once $x _ { r }$ is fixed.
|
| 196 |
+
|
| 197 |
+

|
| 198 |
+
Figure 5: Visualization of reference images. Example source (top) and reference images (down) from VoxCeleb, TaichiHD and TED-talk datasets. Our network learns reference images of a consistently frontal pose, systematically for all input images of each dataset.
|
| 199 |
+
|
| 200 |
+

|
| 201 |
+
Figure 6: Linear manipulation of four motion directions on the painting of Mona Lisa. Manipulated results indicate that $d _ { 6 }$ represents eye movement, $d _ { 8 }$ represents head nodding, whereas $\bar { d _ { 1 9 } }$ and $d _ { 7 }$ represent facial expressions.
|
| 202 |
+
|
| 203 |
+
Noteworthy, we found the similar idea of learning a ‘reference image’ has also been explored by Siarohin et al. (2019) (FOMM) and Wiles et al. (2018) (X2Face). However, deviating from our visualized ‘reference image’, the ’reference image ’in FOMM refers to a non-visualized and abstract concept. In addition, LIA only requires a latent code $z _ { s r }$ , rather than the ’reference image’ for both, training and testing, which is contrast to X2Face.
|
| 204 |
+
|
| 205 |
+
(g) Motion dictionary interpretation. Towards further interpretation of directions in $D _ { m }$ , we conduct linear manipulations on each $d _ { i }$ . Images pertained to manipulating four motion directions are depicted in Fig. 6. The results suggest that the directions in $\boldsymbol { D } _ { m } ^ { \bar { 2 } }$ are semantically meaningful, as they represent basic visual transformations such as head nodding $( d _ { 8 } )$ , eye movement $( d _ { 6 } ) ^ { \dag }$ and facial expressions $\cdot d _ { 1 9 }$ and $d _ { 7 }$ ). More results can be found on our project webpage2.
|
| 206 |
+
|
| 207 |
+
# 5 CONCLUSIONS
|
| 208 |
+
|
| 209 |
+
In this paper, we presented a novel self-supervised autoencoder LIA, aimed at animating images via latent space navigation. By the proposed Linear Motion Decomposition (LMD), we were able to formulate the task of transferring motion from driving videos to source images as learning linear transformations in the latent space. We evaluated proposed method on real-world videos and demonstrated that our approach is able to successfully animate still images, while eliminating the necessity of explicit structure representations. In addition, we showed that the incorporated motion dictionary is interpretable and contains directions pertaining to basic visual transformations. Both quantitative and qualitative evaluations showed that LIA outperforms state-of-art algorithms on all benchmarks. We postulate that LIA opens a new door in design of interpretable generative models for video generation.
|
| 210 |
+
|
| 211 |
+
# ETHIC STATEMENT
|
| 212 |
+
|
| 213 |
+
In this work, we aim to synthesize high-quality videos by transferring motion on still images. Our approach can be used for movie production, making video games, online education, generating synthetic data for other computer vision tasks, etc. We note that our framework mainly focuses on learning how to model motion distribution rather than directly model appearance, therefore it is not biased towards any specific gender, race, region, or social class. It works equally well irrespective of the difference in subjects.
|
| 214 |
+
|
| 215 |
+
# REPRODUCIBILITY STATEMENT
|
| 216 |
+
|
| 217 |
+
We assure that all the results shown in the paper and supplemental materials can be reproduced. We intend to open-source our code, as well as trained models.
|
| 218 |
+
|
| 219 |
+
# ACKNOWLEDGEMENTS
|
| 220 |
+
|
| 221 |
+
This work was granted access to the HPC resources of IDRIS under the allocation AD011011627R1. It was supported by the French Government, by the National Research Agency (ANR) under Grant ANR-18-CE92-0024, project RESPECT and through the 3IA Cote d’Azur Investments in the Future ˆ project managed by the National Research Agency (ANR) with the reference number ANR-19- P3IA-0002.
|
| 222 |
+
|
| 223 |
+
# REFERENCES
|
| 224 |
+
|
| 225 |
+
Rameen Abdal, Yipeng Qin, and Peter Wonka. Image2stylegan $^ { + + }$ : How to edit the embedded images? In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), June 2020.
|
| 226 |
+
|
| 227 |
+
Brandon Amos, Bartosz Ludwiczuk, and Mahadev Satyanarayanan. Openface: A general-purpose face recognition library with mobile applications. Technical report, CMU-CS-16-118, CMU School of Computer Science, 2016.
|
| 228 |
+
|
| 229 |
+
Sarthak Bhagat, Shagun Uppal, Zhuyun Yin, and Nengli Lim. Disentangling multiple features in video sequences using gaussian processes in variational autoencoders. In ECCV, 2020.
|
| 230 |
+
|
| 231 |
+
Andrew Brock, Jeff Donahue, and Karen Simonyan. Large scale GAN training for high fidelity natural image synthesis. In ICLR, 2019.
|
| 232 |
+
|
| 233 |
+
Adrian Bulat and Georgios Tzimiropoulos. How far are we from solving the 2d & 3d face alignment problem? (and a dataset of 230,000 3d facial landmarks). In ICCV, 2017.
|
| 234 |
+
|
| 235 |
+
Chen Cao, Qiming Hou, and Kun Zhou. Displaced dynamic expression regression for real-time facial tracking and animation. ACM Transactions on graphics (TOG), 33(4):1–10, 2014.
|
| 236 |
+
|
| 237 |
+
Z. Cao, G. Hidalgo Martinez, T. Simon, S. Wei, and Y. A. Sheikh. Openpose: Realtime multi-person 2d pose estimation using part affinity fields. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2019.
|
| 238 |
+
|
| 239 |
+
Caroline Chan, Shiry Ginosar, Tinghui Zhou, and Alexei A Efros. Everybody dance now. In ICCV, 2019.
|
| 240 |
+
|
| 241 |
+
Hao Chen, Yaohui Wang, Benoit Lagadec, Antitza Dantcheva, and Francois Bremond. Joint generative and contrastive learning for unsupervised person re-identification. In CVPR, 2021.
|
| 242 |
+
|
| 243 |
+
J. S. Chung, A. Nagrani, and A. Zisserman. Voxceleb2: Deep speaker recognition. In INTERSPEECH, 2018.
|
| 244 |
+
|
| 245 |
+
Aidan Clark, Jeff Donahue, and Karen Simonyan. Adversarial video generation on complex datasets. arXiv preprint arXiv:1907.06571, 2019.
|
| 246 |
+
|
| 247 |
+
Emily L Denton and vighnesh Birodkar. Unsupervised learning of disentangled representations from video. In I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett (eds.), NeurIPS, 2017.
|
| 248 |
+
|
| 249 |
+
Lore Goetschalckx, Alex Andonian, Aude Oliva, and Phillip Isola. Ganalyze: Toward visual definitions of cognitive image properties. In ICCV, pp. 5744–5753, 2019.
|
| 250 |
+
|
| 251 |
+
Kensho Hara, Hirokatsu Kataoka, and Yutaka Satoh. Can spatiotemporal 3d cnns retrace the history of 2d cnns and imagenet? In CVPR, 2018.
|
| 252 |
+
|
| 253 |
+
Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. Gans trained by a two time-scale update rule converge to a local nash equilibrium. In NIPS, 2017.
|
| 254 |
+
|
| 255 |
+
Phillip Isola, Jun-Yan Zhu, Tinghui Zhou, and Alexei A Efros. Image-to-Image Translation with Conditional Adversarial Networks. In CVPR, 2017.
|
| 256 |
+
|
| 257 |
+
Ali Jahanian, Lucy Chai, and Phillip Isola. On the ”steerability” of generative adversarial networks. In ICLR, 2020.
|
| 258 |
+
|
| 259 |
+
Yunseok Jang, Gunhee Kim, and Yale Song. Video Prediction with Appearance and Motion Conditions. In ICML, 2018.
|
| 260 |
+
|
| 261 |
+
Justin Johnson, Alexandre Alahi, and Li Fei-Fei. Perceptual losses for real-time style transfer and super-resolution. In European conference on computer vision, pp. 694–711. Springer, 2016.
|
| 262 |
+
|
| 263 |
+
Tero Karras, Samuli Laine, and Timo Aila. A style-based generator architecture for generative adversarial networks. In CVPR, 2019.
|
| 264 |
+
|
| 265 |
+
Tero Karras, Samuli Laine, Miika Aittala, Janne Hellsten, Jaakko Lehtinen, and Timo Aila. Analyzing and improving the image quality of StyleGAN. In CVPR, 2020a.
|
| 266 |
+
|
| 267 |
+
Tero Karras, Samuli Laine, Miika Aittala, Janne Hellsten, Jaakko Lehtinen, and Timo Aila. Analyzing and improving the image quality of stylegan. In CVPR, 2020b.
|
| 268 |
+
|
| 269 |
+
Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
|
| 270 |
+
|
| 271 |
+
Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In F. Pereira, C. J. C. Burges, L. Bottou, and K. Q. Weinberger (eds.), Advances in Neural Information Processing Systems, 2012.
|
| 272 |
+
|
| 273 |
+
Yijun Li, Chen Fang, Jimei Yang, Zhaowen Wang, Xin Lu, and Ming-Hsuan Yang. Flow-grounded spatial-temporal video prediction from still images. In ECCV, 2018.
|
| 274 |
+
|
| 275 |
+
Yingzhen Li and Stephan Mandt. Disentangled sequential autoencoder. ICML, 2018.
|
| 276 |
+
|
| 277 |
+
Wen Liu, Zhixin Piao, Jie Min, Wenhan Luo, Lin Ma, and Shenghua Gao. Liquid warping gan: A unified framework for human motion imitation, appearance transfer and novel view synthesis. In CVPR, 2019.
|
| 278 |
+
|
| 279 |
+
Arsha Nagrani, Joon Son Chung, Weidi Xie, and Andrew Zisserman. Voxceleb: Large-scale speaker verification in the wild. Computer Science and Language, 2019.
|
| 280 |
+
|
| 281 |
+
Katsunori Ohnishi, Shohei Yamamoto, Yoshitaka Ushiku, and Tatsuya Harada. Hierarchical video generation from orthogonal information: Optical flow and texture. In AAAI, 2018.
|
| 282 |
+
|
| 283 |
+
Junting Pan, Chengyu Wang, Xu Jia, Jing Shao, Lu Sheng, Junjie Yan, and Xiaogang Wang. Video generation from single semantic label map. arXiv preprint arXiv:1903.04480, 2019.
|
| 284 |
+
|
| 285 |
+
Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, Alban Desmaison, Andreas Kopf, Edward Yang, Zachary DeVito, Martin Raison, Alykhan Tejani, Sasank Chilamkurthy, Benoit Steiner, Lu Fang, Junjie Bai, and Soumith Chintala. Pytorch: An imperative style, high-performance deep learning library. In H. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alche-Buc, E. Fox, and´ R. Garnett (eds.), Advances in Neural Information Processing Systems. 2019.
|
| 286 |
+
|
| 287 |
+
William Peebles, John Peebles, Jun-Yan Zhu, Alexei A. Efros, and Antonio Torralba. The hessian penalty: A weak prior for unsupervised disentanglement. In Proceedings of European Conference on Computer Vision (ECCV), 2020.
|
| 288 |
+
|
| 289 |
+
JK Rowling. Harry potter. The 100 Greatest Literary Characters, pp. 183, 2019.
|
| 290 |
+
Joanne Kathleen Rowling, John Tiffany, and Jack Thorne. Harry Potter and the Cursed Child–Parts One and Two (Special Rehearsal Edition). Pottermore Publishing, 2016.
|
| 291 |
+
Masaki Saito, Eiichi Matsumoto, and Shunta Saito. Temporal generative adversarial nets with singular value clipping. In ICCV, 2017.
|
| 292 |
+
Yujun Shen and Bolei Zhou. Closed-form factorization of latent semantics in gans. In CVPR, 2021.
|
| 293 |
+
Yujun Shen, Jinjin Gu, Xiaoou Tang, and Bolei Zhou. Interpreting the latent space of gans for semantic face editing. In CVPR, 2020.
|
| 294 |
+
Aliaksandr Siarohin, Stephane Lathuili ´ ere, Sergey Tulyakov, Elisa Ricci, and Nicu Sebe. First order \` motion model for image animation. In H. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alche-´ Buc, E. Fox, and R. Garnett (eds.), NeurIPS. Curran Associates, Inc., 2019.
|
| 295 |
+
Aliaksandr Siarohin, Oliver Woodford, Jian Ren, Menglei Chai, and Sergey Tulyakov. Motion representations for articulated animation. In CVPR, 2021.
|
| 296 |
+
Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. In International Conference on Learning Representations, 2015.
|
| 297 |
+
Justus Thies, Michael Zollhofer, Marc Stamminger, Christian Theobalt, and Matthias Nießner. Face2face: Real-time face capture and reenactment of RGB videos. In CVPR, 2016.
|
| 298 |
+
Justus Thies, Michael Zollhofer, and Matthias Nießner. Deferred neural rendering: Image synthesis ¨ using neural textures. ACM Transactions on Graphics (TOG), 38(4):1–12, 2019.
|
| 299 |
+
Justus Thies, Mohamed Elgharib, Ayush Tewari, Christian Theobalt, and Matthias Nießner. Neural voice puppetry: Audio-driven facial reenactment. ECCV, 2020.
|
| 300 |
+
Yu Tian, Jian Ren, Menglei Chai, Kyle Olszewski, Xi Peng, Dimitris N. Metaxas, and Sergey Tulyakov. A good image generator is what you need for high-resolution video synthesis. In ICLR, 2021.
|
| 301 |
+
Sergey Tulyakov, Ming-Yu Liu, Xiaodong Yang, and Jan Kautz. MoCoGAN: Decomposing motion and content for video generation. In CVPR, 2018.
|
| 302 |
+
Carl Vondrick, Hamed Pirsiavash, and Antonio Torralba. Generating videos with scene dynamics. In NIPS, 2016.
|
| 303 |
+
Andrey Voynov and Artem Babenko. Unsupervised discovery of interpretable directions in the gan latent space. arXiv preprint arXiv:2002.03754, 2020.
|
| 304 |
+
Jacob Walker, Kenneth Marino, Abhinav Gupta, and Martial Hebert. The pose knows: Video forecasting by generating pose futures. In ICCV, 2017.
|
| 305 |
+
Ting-Chun Wang, Ming-Yu Liu, Jun-Yan Zhu, Guilin Liu, Andrew Tao, Jan Kautz, and Bryan Catanzaro. Video-to-video synthesis. In NeurIPS, 2018.
|
| 306 |
+
Ting-Chun Wang, Ming-Yu Liu, Andrew Tao, Guilin Liu, Jan Kautz, and Bryan Catanzaro. Fewshot video-to-video synthesis. In NeurIPS, 2019.
|
| 307 |
+
Ting-Chun Wang, Arun Mallya, and Ming-Yu Liu. One-shot free-view neural talking-head synthesis for video conferencing. In CVPR, 2021a.
|
| 308 |
+
Ting-Chun Wang, Arun Mallya, and Ming-Yu Liu. One-shot free-view neural talking-head synthesis for video conferencing. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2021b.
|
| 309 |
+
Yaohui Wang. Learning to Generate Human Videos. Theses, Inria - Sophia Antipolis ; Universite´ Cote d’Azur, September 2021.
|
| 310 |
+
Yaohui Wang, Piotr Bilinski, Francois Bremond, and Antitza Dantcheva. G3AN: Disentangling appearance and motion for video generation. In CVPR, 2020a.
|
| 311 |
+
Yaohui Wang, Piotr Bilinski, Francois F Bremond, and Antitza Dantcheva. ImaGINator: Conditional Spatio-Temporal GAN for Video Generation. In WACV, 2020b.
|
| 312 |
+
|
| 313 |
+
Yaohui Wang, Francois Bremond, and Antitza Dantcheva. Inmodegan: Interpretable motion decomposition generative adversarial network for video generation. arXiv preprint arXiv:2101.03049, 2021c.
|
| 314 |
+
|
| 315 |
+
Olivia Wiles, A Koepke, and Andrew Zisserman. X2face: A network for controlling face generation using images, audio, and pose codes. In Proceedings of the European conference on computer vision (ECCV), pp. 670–686, 2018.
|
| 316 |
+
|
| 317 |
+
Jianwen Xie, Ruiqi Gao, Zilong Zheng, Song-Chun Zhu, and Ying Nian Wu. Motion-based generator model: Unsupervised disentanglement of appearance, trackable and intrackable motions in dynamic patterns. In AAAI, 2020.
|
| 318 |
+
|
| 319 |
+
Ceyuan Yang, Zhe Wang, Xinge Zhu, Chen Huang, Jianping Shi, and Dahua Lin. Pose guided human video generation. In ECCV, 2018.
|
| 320 |
+
|
| 321 |
+
Zhuoqian Yang, Wentao Zhu, Wayne Wu, Chen Qian, Qiang Zhou, Bolei Zhou, and Chen Change Loy. Transmomo: Invariance-driven unsupervised video motion retargeting. In CVPR, 2020.
|
| 322 |
+
|
| 323 |
+
Egor Zakharov, Aliaksandra Shysheya, Egor Burkov, and Victor Lempitsky. Few-shot adversarial learning of realistic neural talking head models. In ICCV, 2019.
|
| 324 |
+
|
| 325 |
+
Richard Zhang, Phillip Isola, Alexei A Efros, Eli Shechtman, and Oliver Wang. The unreasonable effectiveness of deep features as a perceptual metric. In CVPR, 2018.
|
| 326 |
+
|
| 327 |
+
Long Zhao, Xi Peng, Yu Tian, Mubbasir Kapadia, and Dimitris Metaxas. Learning to forecast and refine residual motion for image-to-video generation. In ECCV, 2018.
|
| 328 |
+
|
| 329 |
+
Zhedong Zheng, Tao Ruan, Yunchao Wei, Yi Yang, and Tao Mei. Vehiclenet: Learning robust visual representation for vehicle re-identification. IEEE Transaction on Multimedia (TMM), 2020.
|
| 330 |
+
|
| 331 |
+
Jiapeng Zhu, Yujun Shen, Deli Zhao, and Bolei Zhou. In-domain gan inversion for real image editing. In Proceedings of European Conference on Computer Vision (ECCV), 2020.
|
| 332 |
+
|
| 333 |
+
# A DETAILS OF MODEL ARCHITECTURE
|
| 334 |
+
|
| 335 |
+
We proceed to describe the model architecture in this section. Fig. 7 shows details of our $E$ . In each ResBlock in $E$ , spatial size of input feature maps are downsampled. We take feature maps of spatial sizes from $8 \times 8$ to $2 5 6 \times 2 5 6$ as our appearance features $x _ { i } ^ { e n c }$ . We use a 5-layer MLP to predict a magnitude vector $A _ { d r }$ from $z _ { d r }$ . Fig. 8 (a) shows the general architecture of our $G$ , which consists of two components, a flow field generator $G _ { f }$ and a refinement network $G _ { r }$ . We apply StyleConv (Upsample $\mathbf { + \ C o n v 3 \times 3 }$ ), which is proposed by StyleGAN2, in $G _ { f }$ . StyleConv takes latent representation $z _ { s t }$ as style code and generates flow field $\phi _ { i }$ and corresponding mask $m _ { i }$ . $G _ { r }$ uses UpConv (Conv1 $\times \ 1 +$ Upsample) to upsample and refine inpainted feature maps to target resolution. We show details pertaining to $G$ block in Fig. 8 (b). Each $G$ block is used to upsample $\times 2$ the previous resolution. We stack 6 blocks towards producing 256 resolution images.
|
| 336 |
+
|
| 337 |
+

|
| 338 |
+
Figure 7: Encoder architecture. We show details of architecture of $E$ in (a) and ResBlock in (b).
|
| 339 |
+
|
| 340 |
+
# B EXPERIMENTS
|
| 341 |
+
|
| 342 |
+
We proceed to introduce details of datasets and evaluation metrics used in our experiments.
|
| 343 |
+
|
| 344 |
+
# B.1 DATASETS
|
| 345 |
+
|
| 346 |
+
VoxCeleb (Nagrani et al., 2019) consists of a large amount of interview videos of different celebrities. Following the process of FOMM (Siarohin et al., 2019), we extract frames and crop them into $2 5 6 \times 2 5 6$ resolution. In total, VoxCeleb contains a training set of 17928 videos and a test set of 495 videos.
|
| 347 |
+
|
| 348 |
+

|
| 349 |
+
Figure 8: Generator architecture. We show details about architecture of $G$ in (a) and $G$ block in (b).
|
| 350 |
+
|
| 351 |
+
TaiChiHD (Siarohin et al., 2019) consists of videos of full human bodies performing Tai Chi actions. We follow the original pre-processing of FOMM (Siarohin et al., 2019) and utilize its $2 5 6 \times 2 5 6$ version. TaiChiHD contains 1096 training videos and 115 testing videos.
|
| 352 |
+
|
| 353 |
+
TED-talk is a new dataset proposed in MRAA (Siarohin et al., 2021). It comprises a number of TED-talk videos, where the main subjects have been cropped out. We resize the original version into $2 5 6 \times 2 5 6$ resolution to train our model. This dataset includes 1124 training videos and 130 testing videos.
|
| 354 |
+
|
| 355 |
+
# B.2 EVALUATION METRICS
|
| 356 |
+
|
| 357 |
+
We use five different metrics to evaluate our experimental results, namely $\mathcal { L } _ { 1 }$ , LPIPS, AKD, MKR and AED that quantify the reconstructed results. In addition, we compute video FID to evaluate video quality in motion transferring tasks.
|
| 358 |
+
|
| 359 |
+
$\mathcal { L } _ { 1 }$ represents the mean absolute pixel difference between reconstructed and real videos.
|
| 360 |
+
|
| 361 |
+
LPIPS (Zhang et al., 2018) aims at measuring the perceptual similarity between reconstructed and real images by leveraging the deep features from AlexNet (Krizhevsky et al., 2012).
|
| 362 |
+
|
| 363 |
+
Video FID is a modified version of the original FID (Heusel et al., 2017). We here follow the same implementation as Wang et al. (2020a) and utilize a pre-trained ResNext101 (Hara et al., 2018) to extract spatio-temporal features to compute the distance between real and generated videos distributions. We take the first 100 frames of each video as input of the feature-extractor to compute the final scores.
|
| 364 |
+
|
| 365 |
+
Average keypoint distance (AKD) and missing keypoint rate (MKR) evaluate the difference between keypoints of reconstructed and ground truth videos. We extract landmarks using the face alignment approach of (Bulat & Tzimiropoulos, 2017) and extract body poses for both TaiChiHD and TED-talks using OpenPose (Cao et al., 2019). AKD is computed as the average distance between corresponding keypoints, whereas MKR is the proportion of keypoints present in the groundtruth that are missing in a reconstructed video.
|
| 366 |
+
|
| 367 |
+
Average Euclidean distance (AED) measures the ability of preserving identity in reconstructed video. We use a person re-identification pretrained model (Zheng et al., 2020) for measuring human bodies (TaichiHD and TED-talk) and OpenFace (Amos et al., 2016) for faces to extract identity embeddings from reconstructed and ground truth frame pairs, then we compute MSE of their difference for all pairs.
|
| 368 |
+
|
| 369 |
+
# B.3 COMPARISON WITH FULL MRAA
|
| 370 |
+
|
| 371 |
+
We show quantitative evaluation results with the full MRAA model in Tab. 6. We observe that our method achieves competitive results in reconstruction and keypoint evaluation. While we do not explicitly predict keypoints, w.r.t. the TaichiHD dataset, interestingly we outperform MRAA in both, AKD and MKR. Such results showcase the effectiveness of our proposed method on modeling articulated human structures. However, reconstruction evaluation cannot provide a completely fair comparison on how well the main subjects (e.g., faces and human bodies) are generated in videos. This is in particular the case for TaichiHD and TED-talk, where backgrounds have large contributions to the final scores.
|
| 372 |
+
|
| 373 |
+
Table 6: Comparison with full MRAA.
|
| 374 |
+
|
| 375 |
+
<table><tr><td rowspan="2">Method</td><td colspan="4">VoxCeleb</td><td colspan="4">TaichiHD</td><td colspan="4">TED-talks</td></tr><tr><td>L1</td><td>AKD</td><td>AED</td><td>LPIPS</td><td>L1</td><td>(AKD,MKR)</td><td>AED</td><td>LPIPS</td><td>L1</td><td>(AKD,MKR)</td><td>AED</td><td>LPIPS</td></tr><tr><td>MRAA</td><td>0.041</td><td>1.303</td><td>0.135</td><td>0.124</td><td>0.045</td><td>(5.551,( ,0.025)</td><td>0.431</td><td>0.178</td><td>0.027</td><td>(3.107,0.0093)</td><td>0.379</td><td>0.11</td></tr><tr><td>Ours</td><td>0.041</td><td>1.353</td><td>0.138</td><td>0.123</td><td>0.057</td><td>(4.823,0.020)</td><td>0.431</td><td>0.180</td><td>0.027</td><td>(3.141,0.0095)</td><td>0.399</td><td>0.11</td></tr></table>
|
| 376 |
+
|
| 377 |
+
# B.4 REFERENCE IMAGE GENERATION.
|
| 378 |
+
|
| 379 |
+
To produce $x _ { r }$ , we use $G$ to decode $z _ { s r }$ into the flow field $\phi _ { s r }$ . Reference image $x _ { r }$ is obtained by warping $x _ { s }$ using $\phi _ { s r }$ . The entire process is shown in Fig. 9.
|
| 380 |
+
|
| 381 |
+

|
| 382 |
+
Figure 9: Reference image generation.
|
| 383 |
+
|
| 384 |
+
# B.5 QUALITATIVE RESULTS ON EFFECTIVENESS OF USING MOTION DICTIONARY
|
| 385 |
+
|
| 386 |
+
Fig. 10 illustrates the generated results on transferring motion from VoxCeleb to GermanPublicTV with and without motion dictionary. We observe that without the motion dictionary, appearance information is undesirably transferred from driving videos to generated videos.
|
| 387 |
+
|
| 388 |
+
# B.6 LIMITATIONS
|
| 389 |
+
|
| 390 |
+
For human body, one limitation of our method is dealing with body occlusion. We observe in Fig. 11 that in taichi videos, in case of occlusion cause by legs and arms, motion is not transferred successfully. In addition, in TED-talks, transferring hand motion is challenging, as hands are of small size, articulated and sometimes occluded by human bodies.
|
| 391 |
+
|
| 392 |
+

|
| 393 |
+
Figure 10: Generated results with and without $D _ { m }$ . We observe that the disentanglement of appearance and motion is much better by using $D _ { m }$ .
|
| 394 |
+
|
| 395 |
+

|
| 396 |
+
Figure 11: Failure cases. We observed that it is still challenging for LIA to handle arm-leg occlusion (Taichi) and hand motion (TED-talk).
|
parse/dev/7r6kDq0mK_/7r6kDq0mK__content_list.json
ADDED
|
@@ -0,0 +1,1986 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "LATENT IMAGE ANIMATOR: LEARNING TO ANIMATE IMAGES VIA LATENT SPACE NAVIGATION ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
174,
|
| 8 |
+
99,
|
| 9 |
+
823,
|
| 10 |
+
166
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Yaohui Wang, Di Yang, Francois Bremond & Antitza Dantcheva Inria, Universite C´ ote d’Azur ˆ {yaohui.wang,di.yang,francois.bremond,antitza.dantcheva}@inria.fr ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
184,
|
| 19 |
+
190,
|
| 20 |
+
756,
|
| 21 |
+
229
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
265,
|
| 32 |
+
544,
|
| 33 |
+
280
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Due to the remarkable progress of deep generative models, animating images has become increasingly efficient, whereas associated results have become increasingly realistic. Current animation-approaches commonly exploit structure representation extracted from driving videos. Such structure representation is instrumental in transferring motion from driving videos to still images. However, such approaches fail in case the source image and driving video encompass large appearance variation. Moreover, the extraction of structure information requires additional modules that endow the animation-model with increased complexity. Deviating from such models, we here introduce the Latent Image Animator (LIA), a self-supervised autoencoder that evades need for structure representation. LIA is streamlined to animate images by linear navigation in the latent space. Specifically, motion in generated video is constructed by linear displacement of codes in the latent space. Towards this, we learn a set of orthogonal motion directions simultaneously, and use their linear combination, in order to represent any displacement in the latent space. Extensive quantitative and qualitative analysis suggests that our model systematically and significantly outperforms state-of-art methods on VoxCeleb, Taichi and TED-talk datasets w.r.t. generated quality. Source code and pre-trained models are publicly available1. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
297,
|
| 43 |
+
764,
|
| 44 |
+
527
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "image",
|
| 50 |
+
"img_path": "images/e378522fe7bd0a0020ce31d5201a8ccda8a4e2a620417861db6f080cf4f0c4a2.jpg",
|
| 51 |
+
"image_caption": [
|
| 52 |
+
"Figure 1: LIA animation examples. The two images of Marilyn Monroe and Emmanuel Macron are animated by LIA, which transfers motion of a driving video (smaller images on the top) from VoxCeleb dataset (Chung et al., 2018) onto the still images. LIA is able to successfully animate these two images without relying on any explicit structure representations, such as landmarks and region representations. "
|
| 53 |
+
],
|
| 54 |
+
"image_footnote": [],
|
| 55 |
+
"bbox": [
|
| 56 |
+
176,
|
| 57 |
+
558,
|
| 58 |
+
823,
|
| 59 |
+
794
|
| 60 |
+
],
|
| 61 |
+
"page_idx": 0
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"type": "text",
|
| 65 |
+
"text": "1 INTRODUCTION ",
|
| 66 |
+
"text_level": 1,
|
| 67 |
+
"bbox": [
|
| 68 |
+
176,
|
| 69 |
+
102,
|
| 70 |
+
336,
|
| 71 |
+
117
|
| 72 |
+
],
|
| 73 |
+
"page_idx": 1
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"type": "text",
|
| 77 |
+
"text": "In the series of science fiction books Harry Potter (Rowling et al., 2016; Rowling, 2019), wizards and witches were able to magically enchant portraits, bringing them to life. Remarkable progress of deep generative models has recently turned this vision into reality. This work examines the scenario where a framework animates a source image by motion representations learned from a driving video. Existing approaches for image animation are classically related to computer graphics (Cao et al., 2014; Thies et al., 2016; 2019; Zhao et al., 2018) or exploit motion labels (Wang et al., 2020b) and structure representations such as semantic maps (Pan et al., 2019; Wang et al., 2018; 2019), human keypoints (Jang et al., 2018; Yang et al., 2018; Walker et al., 2017; Chan et al., 2019; Zakharov et al., 2019; Wang et al., 2019; Siarohin et al., 2019), 3D meshes (Liu et al., 2019; Chen et al., 2021), and optical flows (Li et al., 2018; Ohnishi et al., 2018). We note that the ground truth of such structure representations has been computed a-priori for the purpose of supervised training, which poses constraints on applications, where such representations of unseen testing images might be fragmentary or difficult to access. ",
|
| 78 |
+
"bbox": [
|
| 79 |
+
174,
|
| 80 |
+
138,
|
| 81 |
+
825,
|
| 82 |
+
303
|
| 83 |
+
],
|
| 84 |
+
"page_idx": 1
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"type": "text",
|
| 88 |
+
"text": "Self-supervised motion transfer approaches (Wiles et al., 2018; Siarohin et al., 2019; 2021) accept raw videos as input and learn to reconstruct driving images by warping source image with predicted dense optical flow fields. While the need for domain knowledge or labeled ground truth data has been obviated, which improves performance on in-the-wild testing images, such methods entail necessity of explicit structure representations as motion guidance. Prior information such as keypoints (Siarohin et al., 2019; Wang et al., 2021a) or regions (Siarohin et al., 2021) are learned in an end-to-end training manner by additional networks as intermediate features, in order to predict target flow fields. Although online prediction of such representations is less tedious than the acquisition of ground truth labels, it still strains the complexity of networks. ",
|
| 89 |
+
"bbox": [
|
| 90 |
+
174,
|
| 91 |
+
309,
|
| 92 |
+
825,
|
| 93 |
+
424
|
| 94 |
+
],
|
| 95 |
+
"page_idx": 1
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"type": "text",
|
| 99 |
+
"text": "Deviating from such approaches, we here aim to fully eliminate the need of explicit structure representations by directly manipulating the latent space of a deep generative model. To the best of our knowledge, this constitutes a new direction in the context of image animation. Our work is motivated by interpretation of GANs (Shen et al., 2020; Goetschalckx et al., 2019; Jahanian et al., 2020; Voynov & Babenko, 2020), showcasing that latent spaces of StyleGAN (Karras et al., 2019; 2020b) and BigGAN (Brock et al., 2019) contain rich semantically meaningful directions. Given that walking along such directions, basic visual transformations such as zooming and rotation can be induced in generated results. As in image animation, we have that motion between source and driving images can be considered as higher-level transformation, a natural question here arises: can we discover a set of directions in the latent space that induces high-level motion transformations collaboratively? ",
|
| 100 |
+
"bbox": [
|
| 101 |
+
174,
|
| 102 |
+
431,
|
| 103 |
+
825,
|
| 104 |
+
570
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 1
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "text",
|
| 110 |
+
"text": "Towards answering this question, we introduce LIA, a novel Latent Image Animator constituting of an autoencoder for animating still images via latent space navigation. LIA seeks to animate a source image via linearly navigating associated source latent code along a learned path to reach a target latent code, which represents the high-level transformation for animating the source image. We introduce a Linear Motion Decomposition (LMD) approach aiming to represent a latent path via a linear combination of a set of learned motion directions and associated magnitudes. Specifically, we constrain the set as an orthogonal basis, where each vector indicates a basic visual transformation. By describing the whole motion space using such learned basis, LIA eliminates the requirement of explicit structure representations. ",
|
| 111 |
+
"bbox": [
|
| 112 |
+
174,
|
| 113 |
+
577,
|
| 114 |
+
825,
|
| 115 |
+
691
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "In addition, we design LIA to disentangle motion and appearance within a single encoder-generator architecture. Deviating from existing methods using separate networks to learn disentangled features, LIA integrates both, latent motion code, as well as appearance features in a single encoder, which highly reduces the model complexity and simplifies training. ",
|
| 122 |
+
"bbox": [
|
| 123 |
+
174,
|
| 124 |
+
698,
|
| 125 |
+
825,
|
| 126 |
+
750
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "We provide evaluation on multiple datasets including VoxCeleb (Chung et al., 2018), TaichiHD (Siarohin et al., 2019) and TED-talk (Siarohin et al., 2021). In addition, we show that LIA outperforms the state-of-the-art in preserving the facial structure in generated videos in the setting of one-shot image animation on unseen datasets such as FFHQ (Karras et al., 2019) and GermanPublicTV (Thies et al., 2020). ",
|
| 133 |
+
"bbox": [
|
| 134 |
+
174,
|
| 135 |
+
756,
|
| 136 |
+
825,
|
| 137 |
+
820
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "text",
|
| 143 |
+
"text": "2 RELATED WORK ",
|
| 144 |
+
"text_level": 1,
|
| 145 |
+
"bbox": [
|
| 146 |
+
176,
|
| 147 |
+
842,
|
| 148 |
+
339,
|
| 149 |
+
857
|
| 150 |
+
],
|
| 151 |
+
"page_idx": 1
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"type": "text",
|
| 155 |
+
"text": "Video generation GAN-based video generation is aimed at mapping Gaussian noise to video, directly and in the absence of prior information (Vondrick et al., 2016; Saito et al., 2017; Tulyakov et al., 2018; Wang et al., 2020a; Wang, 2021). Approaches based on deep probabilistic models (Denton & Birodkar, 2017; Li & Mandt, 2018; Bhagat et al., 2020; Xie et al., 2020) were also proposed to tackle this problem, however only show results on toy datasets with low resolution. Recently, with the progress of GANs in photo-realistic image generation (Brock et al., 2019; Karras et al., 2019; 2020a), a series of works (Clark et al., 2019; Wang et al., 2021c) explored production of highresolution videos by incorporating the architecture of an image generator into video GANs, trained jointly with RNNs. Tian et al. (2021) directly leveraged the knowledge of a pre-trained StyleGAN to produce videos of resolution up to $1 0 2 4 \\times \\mathrm { i } 0 2 4$ . Unlike these approaches, which generate random videos based on noise vectors in an unconditional manner, in this paper, we focus on conditionally creating novel videos by transferring motion from driving videos to input images. ",
|
| 156 |
+
"bbox": [
|
| 157 |
+
174,
|
| 158 |
+
878,
|
| 159 |
+
823,
|
| 160 |
+
917
|
| 161 |
+
],
|
| 162 |
+
"page_idx": 1
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"type": "image",
|
| 166 |
+
"img_path": "images/adf402bc242a87960126961b2dd01a4fedaa5916e13c5407ab9a2e27d13beee5.jpg",
|
| 167 |
+
"image_caption": [
|
| 168 |
+
"Figure 2: General pipeline. Our objective is to transfer motion via latent space navigation. The entire training pipeline consists of two steps. Firstly, we encode a source image $x _ { s }$ into a latent code $z _ { s r }$ . By linearly navigating $z _ { s r }$ along a path $w _ { r \\to d }$ , we reach a target latent code $z _ { s d }$ . The latent paths are represented by a linear combination between a set of learned motion directions (e.g., $d _ { 1 }$ and $d _ { 2 }$ ), which is an orthogonal basis, and associated magnitudes. In the second step, we decode $z _ { s d }$ to a target dense optical flow field $\\phi _ { s d }$ , which is used to warp $x _ { s }$ into the driving image $x _ { d }$ . While we train our model using images from the same video sequence, in the testing phase, $x _ { s }$ and $x _ { d }$ generally pertain to different identities. "
|
| 169 |
+
],
|
| 170 |
+
"image_footnote": [],
|
| 171 |
+
"bbox": [
|
| 172 |
+
183,
|
| 173 |
+
104,
|
| 174 |
+
825,
|
| 175 |
+
260
|
| 176 |
+
],
|
| 177 |
+
"page_idx": 2
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"type": "text",
|
| 181 |
+
"text": "",
|
| 182 |
+
"bbox": [
|
| 183 |
+
173,
|
| 184 |
+
393,
|
| 185 |
+
825,
|
| 186 |
+
508
|
| 187 |
+
],
|
| 188 |
+
"page_idx": 2
|
| 189 |
+
},
|
| 190 |
+
{
|
| 191 |
+
"type": "text",
|
| 192 |
+
"text": "Latent space editing In an effort to control generated images, recent works explored the discovery of semantically meaningful directions in the latent space of pre-trained GANs, where linear navigation corresponds to desired image manipulation. Supervised (Shen et al., 2020; Jahanian et al., 2020; Goetschalckx et al., 2019) and unsupervised (Voynov & Babenko, 2020; Peebles et al., 2020; Shen & Zhou, 2021) approaches were proposed to edit semantics such as facial attributes, colors and basic visual transformations (e.g., rotation and zooming) in generated or inverted real images (Zhu et al., 2020; Abdal et al., 2020). In this work, as opposed to finding directions corresponding to individual visual transformations, we seek to learn a set of directions that cooperatively allows for high-level visual transformations that can be beneficial in image animation. ",
|
| 193 |
+
"bbox": [
|
| 194 |
+
173,
|
| 195 |
+
525,
|
| 196 |
+
825,
|
| 197 |
+
641
|
| 198 |
+
],
|
| 199 |
+
"page_idx": 2
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"type": "text",
|
| 203 |
+
"text": "Image animation Related approaches (Chan et al., 2019; Wang et al., 2018; Zakharov et al., 2019; Wang et al., 2019; Yang et al., 2020) in image animation required strong prior structure labels as motion guidance. In particular, Chan et al. (2019), Yang et al. (2020) and Wang et al. (2018) proposed to map representations such as human keypoints and facial landmarks to videos in the setting of image-to-image translation proposed by Isola et al. (2017). However, such approaches were only able to learn an individual model for a single identity. Transferring motion on new appearances requires retraining the entire model from scratch by using videos of target identities. Several recent works (Zakharov et al., 2019; Wang et al., 2019) explored meta learning in fine-tuning models on target identities. While only few images of target identities were required during inference time, it was still compulsory to input pre-computed structure representations in those approaches, which usually are hard to access in many real-world scenarios. Towards addressing this issue, very recent works (Siarohin et al., 2019; 2021; Wang et al., 2021b; Wiles et al., 2018) proposed to learn image animation in self-supervised manner, only relying on RGB videos for both, training and testing without any priors. They firstly predicted dense flow fields from input images, which were then utilized to warp source images, in order to obtain final generated results. Inference only required one image of a target identity without any fine-tuning step on pre-trained models. While no priors were required, state-of-the-art methods still followed the idea of using explicit structure representations. FOMM (Siarohin et al., 2019) proposed a first order motion approach to predict keypoints and local transformations online to generate flow fields. Siarohin et al. (2021) developed this idea to model articulated objects by replacing a keypoints predictor by a PCA-based region prediction module. Wang et al. (2021b) extended FOMM by predicting 3D keypoints for view-free generation. We note though that in all approaches, given that keypoints or regions are inadequately predicted, the quality of generated images drastically decreases. In contrast to such approaches, our method does not require any explicit structure representations. We dive into the latent space of the generator and self-learn to navigate motion codes in certain directions with the goal to reach target codes, which are then decoded to flow fields for warping. ",
|
| 204 |
+
"bbox": [
|
| 205 |
+
173,
|
| 206 |
+
657,
|
| 207 |
+
825,
|
| 208 |
+
924
|
| 209 |
+
],
|
| 210 |
+
"page_idx": 2
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"type": "image",
|
| 214 |
+
"img_path": "images/203fe2748a461292b0737c6c4a21c45cb5adc8b929922aec910a81a2c52ff5dd.jpg",
|
| 215 |
+
"image_caption": [
|
| 216 |
+
"Figure 3: Overview of LIA. LIA is an autoencoder consisting of two networks, an encoder $E$ and a generator $G$ . In the latent space, we apply Linear Motion Decomposition (LMD) towards learning a motion dictionary $D _ { m }$ , which is an orthogonal basis where each vector represents a basic visual transformation. LIA takes two frames sampled from the same video sequence as source image $x _ { s }$ and driving image $x _ { d }$ respectively during training. Firstly, it encodes $x _ { s }$ into a source latent code $z _ { s r }$ and $x _ { d }$ into a magnitude vector $\\bar { A _ { r \\to d } }$ . Then, it linearly combines $A _ { r d }$ and a trainable $D _ { m }$ using LMD to obtain a latent path $w _ { r \\to d }$ , which is used to navigate $z _ { s _ { } r }$ to a target code $z _ { s d }$ . Finally, $G$ decodes $z _ { s d }$ into a target dense flow field and warps $x _ { s }$ to an output image $x _ { s \\to d }$ . The training objective is to reconstruct $x _ { d }$ using $x _ { s \\to d }$ . "
|
| 217 |
+
],
|
| 218 |
+
"image_footnote": [],
|
| 219 |
+
"bbox": [
|
| 220 |
+
181,
|
| 221 |
+
99,
|
| 222 |
+
808,
|
| 223 |
+
286
|
| 224 |
+
],
|
| 225 |
+
"page_idx": 3
|
| 226 |
+
},
|
| 227 |
+
{
|
| 228 |
+
"type": "text",
|
| 229 |
+
"text": "",
|
| 230 |
+
"bbox": [
|
| 231 |
+
174,
|
| 232 |
+
440,
|
| 233 |
+
825,
|
| 234 |
+
505
|
| 235 |
+
],
|
| 236 |
+
"page_idx": 3
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"type": "text",
|
| 240 |
+
"text": "3 METHOD ",
|
| 241 |
+
"text_level": 1,
|
| 242 |
+
"bbox": [
|
| 243 |
+
174,
|
| 244 |
+
526,
|
| 245 |
+
281,
|
| 246 |
+
541
|
| 247 |
+
],
|
| 248 |
+
"page_idx": 3
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"type": "text",
|
| 252 |
+
"text": "Self-supervised image animation aims at learning to transfer motion from a subject of a driving video to a subject in a source image based on training with a large video dataset. In this work, we propose to model such motion transformation via latent space navigation. The general pipeline is illustrated in Fig. 2. Specifically, for training, our model takes in a pair of source and driving images, randomly sampled from one video sequence. These two images are encoded into a latent code which is used to represent motion transformation in the image space. The training objective is to reconstruct the driving image by combining source image with learned motion transformation. For testing, frames of a driving video are sequentially processed with the source image to animate the source subject. ",
|
| 253 |
+
"bbox": [
|
| 254 |
+
174,
|
| 255 |
+
563,
|
| 256 |
+
823,
|
| 257 |
+
665
|
| 258 |
+
],
|
| 259 |
+
"page_idx": 3
|
| 260 |
+
},
|
| 261 |
+
{
|
| 262 |
+
"type": "text",
|
| 263 |
+
"text": "We provide an overview of the proposed model in Fig. 3. Our model is an autoencoder, consisting of two main networks, an encoder $\\bar { E }$ and a generator $\\bar { G }$ . In general, our model requires two steps to transfer motion. In the first step, $E$ encodes source and driving images $\\boldsymbol { x } _ { s } , \\boldsymbol { x } _ { d } \\sim \\dot { \\mathcal { X } } \\in \\mathbb { R } ^ { 3 \\times H \\times W }$ into latent codes in the latent space. The source code is then navigated into a target code, which is used to represent target motion transformation, along a learned latent path. Based on proposed Linear Motion Decomposition (LMD), we represent such a path as a linear combination of a set of learned motion directions and associated magnitudes, which are learned from $x _ { d }$ . In the second step, once the target latent code is obtained, $G$ decodes it as a dense flow field $\\phi _ { s \\to d } \\sim \\Phi \\in \\mathbb { R } ^ { 2 \\times H \\times W }$ and uses $\\bar { \\phi _ { s \\to d } }$ to warp $x _ { s }$ and then to obtain the output image. In the following, we proceed to discuss the two steps in detail. ",
|
| 264 |
+
"bbox": [
|
| 265 |
+
173,
|
| 266 |
+
670,
|
| 267 |
+
825,
|
| 268 |
+
803
|
| 269 |
+
],
|
| 270 |
+
"page_idx": 3
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"type": "text",
|
| 274 |
+
"text": "3.1 LATENT MOTION REPRESENTATION ",
|
| 275 |
+
"text_level": 1,
|
| 276 |
+
"bbox": [
|
| 277 |
+
176,
|
| 278 |
+
820,
|
| 279 |
+
457,
|
| 280 |
+
833
|
| 281 |
+
],
|
| 282 |
+
"page_idx": 3
|
| 283 |
+
},
|
| 284 |
+
{
|
| 285 |
+
"type": "text",
|
| 286 |
+
"text": "Given a source image $x _ { s }$ and a driving image $x _ { d }$ , our first step constitutes of learning a latent code $z _ { s \\to d } \\sim \\mathcal { Z } \\in \\mathbb { R } ^ { N }$ to represent the motion transformation from $x _ { s }$ to $x _ { d }$ . Due to the uncertainty of two images, directly learning $z _ { s d }$ puts forward a high requirement on the model to capture a complex distribution of motion. Mathematically, it requires modeling directions and norms of the vector $z _ { s d }$ simultaneously, which is challenging. Therefore, instead of modeling motion transformation $x _ { s } \\to x _ { d }$ , we assume there exists a reference image $x _ { r }$ and motion transfer can be modeled as $x _ { s } x _ { r } x _ { d }$ , where $z _ { s d }$ is learned in an indirect manner. We model $z _ { s d }$ as a target point in the latent space, which can be reached by taking linear walks from a starting point $z _ { s r }$ along a linear path $w _ { r \\to d }$ (see Fig. 2), given by ",
|
| 287 |
+
"bbox": [
|
| 288 |
+
174,
|
| 289 |
+
844,
|
| 290 |
+
823,
|
| 291 |
+
922
|
| 292 |
+
],
|
| 293 |
+
"page_idx": 3
|
| 294 |
+
},
|
| 295 |
+
{
|
| 296 |
+
"type": "text",
|
| 297 |
+
"text": "",
|
| 298 |
+
"bbox": [
|
| 299 |
+
173,
|
| 300 |
+
103,
|
| 301 |
+
825,
|
| 302 |
+
143
|
| 303 |
+
],
|
| 304 |
+
"page_idx": 4
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"type": "equation",
|
| 308 |
+
"img_path": "images/df5faf4fb0dcd135a23a966fa3b1c603d561a212356fc77108d9539a75f1e93f.jpg",
|
| 309 |
+
"text": "$$\nz _ { s d } = z _ { s r } + w _ { r d } ,\n$$",
|
| 310 |
+
"text_format": "latex",
|
| 311 |
+
"bbox": [
|
| 312 |
+
419,
|
| 313 |
+
147,
|
| 314 |
+
575,
|
| 315 |
+
161
|
| 316 |
+
],
|
| 317 |
+
"page_idx": 4
|
| 318 |
+
},
|
| 319 |
+
{
|
| 320 |
+
"type": "text",
|
| 321 |
+
"text": "where $z _ { s r }$ and $w _ { r \\to d }$ indicate the transformation $x _ { s } \\to x _ { r }$ and $x _ { r } \\to x _ { d }$ respectively. Both $z _ { s r }$ and $w _ { r \\to d }$ are learned independently and $z _ { s r }$ is obtained by passing $x _ { s }$ through $E$ . ",
|
| 322 |
+
"bbox": [
|
| 323 |
+
169,
|
| 324 |
+
164,
|
| 325 |
+
823,
|
| 326 |
+
191
|
| 327 |
+
],
|
| 328 |
+
"page_idx": 4
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"type": "text",
|
| 332 |
+
"text": "We learn $w _ { r \\to d }$ via Linear Motion Decomposition (LMD). Our idea is to learn a set of motion directions $D _ { m } = \\{ \\mathbf { d _ { 1 } } , . . . , \\mathbf { d _ { M } } \\}$ to represent any path in the latent space. We constrain $D _ { m }$ as an orthogonal basis, where each vector indicates a motion direction $\\mathbf { d _ { i } }$ . We then combine each vector in the basis with a vector $A _ { r d } = \\{ a _ { 1 } , . . . , a _ { M } \\}$ , where $a _ { i }$ represents the magnitude of $\\mathbf { d _ { i } }$ . Hence, any linear path in the latent space can be represented using a linear combination ",
|
| 333 |
+
"bbox": [
|
| 334 |
+
173,
|
| 335 |
+
195,
|
| 336 |
+
825,
|
| 337 |
+
262
|
| 338 |
+
],
|
| 339 |
+
"page_idx": 4
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"type": "equation",
|
| 343 |
+
"img_path": "images/ce1f4fd033c395dd8b54261361e0752d9b643c625285ae9ed34fbcd1dc76b91b.jpg",
|
| 344 |
+
"text": "$$\nw _ { r d } = \\sum _ { i = 1 } ^ { M } a _ { i } { \\bf d _ { i } } ,\n$$",
|
| 345 |
+
"text_format": "latex",
|
| 346 |
+
"bbox": [
|
| 347 |
+
436,
|
| 348 |
+
263,
|
| 349 |
+
560,
|
| 350 |
+
308
|
| 351 |
+
],
|
| 352 |
+
"page_idx": 4
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"type": "text",
|
| 356 |
+
"text": "where $\\mathbf { d } _ { \\mathbf { i } } \\in \\mathbb { R } ^ { N }$ and $a _ { i } \\in \\mathbb { R }$ for all $i \\in \\{ 1 , . . . , M \\}$ . Semantically, each $\\mathbf { d _ { i } }$ should represent a basic visual transformation and $a _ { i }$ indicates the required steps to walk in $\\mathbf { d _ { i } }$ towards achieving $w _ { r \\to d }$ . Due to $D _ { m }$ entailing an orthogonal basis, any two directions $\\mathbf { d } _ { \\mathrm { i } } , \\mathbf { d } _ { \\mathrm { j } }$ follow the constrain ",
|
| 357 |
+
"bbox": [
|
| 358 |
+
173,
|
| 359 |
+
310,
|
| 360 |
+
825,
|
| 361 |
+
352
|
| 362 |
+
],
|
| 363 |
+
"page_idx": 4
|
| 364 |
+
},
|
| 365 |
+
{
|
| 366 |
+
"type": "equation",
|
| 367 |
+
"img_path": "images/bfc2c5b59b76752fb48e656a15dc1ab4f70d40f6618ec59824266734f74db017.jpg",
|
| 368 |
+
"text": "$$\n< { \\bf d _ { i } } , { \\bf d _ { j } } > = \\left\\{ \\begin{array} { c c } { { 0 } } & { { i \\neq j } } \\\\ { { 1 } } & { { i = j . } } \\end{array} \\right.\n$$",
|
| 369 |
+
"text_format": "latex",
|
| 370 |
+
"bbox": [
|
| 371 |
+
415,
|
| 372 |
+
354,
|
| 373 |
+
586,
|
| 374 |
+
388
|
| 375 |
+
],
|
| 376 |
+
"page_idx": 4
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"type": "text",
|
| 380 |
+
"text": "We implement $D _ { m }$ as a learnable matrix and apply the Gram-Schmidt process during each forward pass, in order to meet the requirement of orthogonality. $A _ { r d }$ is obtained by mapping $z _ { d r }$ , which is the output of $x _ { d }$ after $E$ , through a 5-layer MLP. The final formulation of latent motion representation for each $x _ { s }$ and $x _ { d }$ is thus given as ",
|
| 381 |
+
"bbox": [
|
| 382 |
+
174,
|
| 383 |
+
391,
|
| 384 |
+
825,
|
| 385 |
+
443
|
| 386 |
+
],
|
| 387 |
+
"page_idx": 4
|
| 388 |
+
},
|
| 389 |
+
{
|
| 390 |
+
"type": "equation",
|
| 391 |
+
"img_path": "images/ab23dd7519062548f3ca731d261f453a3c7b9dbc7fa310e1f0a65e6770d781b7.jpg",
|
| 392 |
+
"text": "$$\nz _ { s d } = z _ { s r } + \\sum _ { i = 1 } ^ { M } a _ { i } { \\bf d _ { i } } .\n$$",
|
| 393 |
+
"text_format": "latex",
|
| 394 |
+
"bbox": [
|
| 395 |
+
411,
|
| 396 |
+
445,
|
| 397 |
+
586,
|
| 398 |
+
489
|
| 399 |
+
],
|
| 400 |
+
"page_idx": 4
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"type": "text",
|
| 404 |
+
"text": "3.2 LATENT CODE DRIVEN IMAGE ANIMATION ",
|
| 405 |
+
"text_level": 1,
|
| 406 |
+
"bbox": [
|
| 407 |
+
176,
|
| 408 |
+
503,
|
| 409 |
+
508,
|
| 410 |
+
517
|
| 411 |
+
],
|
| 412 |
+
"page_idx": 4
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"type": "text",
|
| 416 |
+
"text": "Once we obtain $z _ { s d }$ , in our second step, we use $G$ to decode a flow field $\\phi _ { s \\to d }$ and warp $x _ { s }$ . Our $G$ consists of two components, a flow field generator $G _ { f }$ and a refinement network $G _ { r }$ (we provide details in App. A). ",
|
| 417 |
+
"bbox": [
|
| 418 |
+
176,
|
| 419 |
+
527,
|
| 420 |
+
823,
|
| 421 |
+
568
|
| 422 |
+
],
|
| 423 |
+
"page_idx": 4
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"type": "text",
|
| 427 |
+
"text": "Towards learning multi-scale features, $G$ is designed as a residual network containing $N$ models to produce a pyramid of flow fields $\\phi _ { s \\to d } = \\{ \\bar { \\phi _ { i } } \\bar \\} _ { 1 } ^ { N }$ in different layers of $G _ { f }$ . Multi-scale source features $x _ { s } ^ { e n c } = \\{ x _ { i } ^ { e n c } \\} _ { 1 } ^ { N }$ are obtained from $E$ and are warped in $G _ { f }$ . ",
|
| 428 |
+
"bbox": [
|
| 429 |
+
173,
|
| 430 |
+
571,
|
| 431 |
+
825,
|
| 432 |
+
618
|
| 433 |
+
],
|
| 434 |
+
"page_idx": 4
|
| 435 |
+
},
|
| 436 |
+
{
|
| 437 |
+
"type": "text",
|
| 438 |
+
"text": "However, as pointed out by Siarohin et al. (2019), only relying on $\\phi _ { s \\to d }$ to warp source features is insufficient to precisely reconstruct driving images due to the existing occlusions in some positions of $x _ { s }$ . In order to predict pixels in those positions, the network is required to inpaint the warped feature maps. Therefore, we predict multi-scale masks $\\{ m _ { i } \\} _ { 1 } ^ { N }$ along with $\\{ \\phi _ { i } \\} _ { 1 } ^ { N }$ in $G _ { f }$ to mask out the regions required to be inpainted. In each residual module, we have ",
|
| 439 |
+
"bbox": [
|
| 440 |
+
173,
|
| 441 |
+
622,
|
| 442 |
+
825,
|
| 443 |
+
690
|
| 444 |
+
],
|
| 445 |
+
"page_idx": 4
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"type": "equation",
|
| 449 |
+
"img_path": "images/f1fed0d72e23b786d5fd7c6ab0d7b925e01797b6981cab28e1c7543451d43876.jpg",
|
| 450 |
+
"text": "$$\nx _ { i } ^ { \\prime } = \\mathcal { T } ( \\phi _ { i } , x _ { i } ^ { e n c } ) \\odot m _ { i } ,\n$$",
|
| 451 |
+
"text_format": "latex",
|
| 452 |
+
"bbox": [
|
| 453 |
+
416,
|
| 454 |
+
693,
|
| 455 |
+
578,
|
| 456 |
+
710
|
| 457 |
+
],
|
| 458 |
+
"page_idx": 4
|
| 459 |
+
},
|
| 460 |
+
{
|
| 461 |
+
"type": "text",
|
| 462 |
+
"text": "where $\\odot$ denotes the Hadamard product and $\\tau$ denotes warping operation, whereas $\\boldsymbol { x } _ { i } ^ { \\prime }$ signifies the masked features. We generate both dense flow fields, as well as masks by letting each residual module output a 3-channel feature map in which the first two channels represent ${ \\bar { \\phi } } _ { i }$ and the last channel $m _ { i }$ . Based on an inpainted feature map $f ( x _ { i } ^ { \\prime } )$ , as well as an upsampled image $g ( x _ { i - 1 } )$ provided by the previous module in $G _ { r }$ , the RGB image from each module is given by ",
|
| 463 |
+
"bbox": [
|
| 464 |
+
173,
|
| 465 |
+
714,
|
| 466 |
+
825,
|
| 467 |
+
779
|
| 468 |
+
],
|
| 469 |
+
"page_idx": 4
|
| 470 |
+
},
|
| 471 |
+
{
|
| 472 |
+
"type": "equation",
|
| 473 |
+
"img_path": "images/601a95e6281a7fb5e685caccc2b4354ef2a527cee69d14b6f4fba9163185cdda.jpg",
|
| 474 |
+
"text": "$$\no _ { i } = f ( x _ { i } ^ { \\prime } ) + g ( o _ { i - 1 } ) ,\n$$",
|
| 475 |
+
"text_format": "latex",
|
| 476 |
+
"bbox": [
|
| 477 |
+
423,
|
| 478 |
+
781,
|
| 479 |
+
573,
|
| 480 |
+
799
|
| 481 |
+
],
|
| 482 |
+
"page_idx": 4
|
| 483 |
+
},
|
| 484 |
+
{
|
| 485 |
+
"type": "text",
|
| 486 |
+
"text": "where $f$ and $g$ denote the inpainting and upsampling layers, respectively. The output image $o _ { N }$ from the last module constitutes the final generated image $x _ { s \\to d } = o _ { N }$ . ",
|
| 487 |
+
"bbox": [
|
| 488 |
+
171,
|
| 489 |
+
801,
|
| 490 |
+
825,
|
| 491 |
+
829
|
| 492 |
+
],
|
| 493 |
+
"page_idx": 4
|
| 494 |
+
},
|
| 495 |
+
{
|
| 496 |
+
"type": "text",
|
| 497 |
+
"text": "3.3 LEARNING ",
|
| 498 |
+
"text_level": 1,
|
| 499 |
+
"bbox": [
|
| 500 |
+
174,
|
| 501 |
+
842,
|
| 502 |
+
290,
|
| 503 |
+
856
|
| 504 |
+
],
|
| 505 |
+
"page_idx": 4
|
| 506 |
+
},
|
| 507 |
+
{
|
| 508 |
+
"type": "text",
|
| 509 |
+
"text": "We train LIA in a self-supervised manner to reconstruct $x _ { d }$ using three losses, i.e., a reconstruction loss $\\mathcal { L } _ { r e c o n }$ , a perceptual loss $\\mathcal { L } _ { v g g }$ (Johnson et al., 2016) and an adversarial loss $\\mathcal { L } _ { a d v }$ . We use $\\mathcal { L } _ { r e c o n }$ to minimize the pixel-wise $\\mathbb { L } _ { 1 }$ distance between $x _ { d }$ and $x _ { s \\to d }$ , calculated as ",
|
| 510 |
+
"bbox": [
|
| 511 |
+
173,
|
| 512 |
+
867,
|
| 513 |
+
825,
|
| 514 |
+
906
|
| 515 |
+
],
|
| 516 |
+
"page_idx": 4
|
| 517 |
+
},
|
| 518 |
+
{
|
| 519 |
+
"type": "equation",
|
| 520 |
+
"img_path": "images/cbb3836f85ac8c8ad821df8ecc4c383d89ef22c12144dd5d156a4e64e232c07d.jpg",
|
| 521 |
+
"text": "$$\n\\mathcal { L } _ { r e c o n } ( x _ { s d } , x _ { d } ) = \\mathbb { E } [ \\| x _ { d } - x _ { s d } \\| _ { 1 } ] .\n$$",
|
| 522 |
+
"text_format": "latex",
|
| 523 |
+
"bbox": [
|
| 524 |
+
366,
|
| 525 |
+
909,
|
| 526 |
+
630,
|
| 527 |
+
926
|
| 528 |
+
],
|
| 529 |
+
"page_idx": 4
|
| 530 |
+
},
|
| 531 |
+
{
|
| 532 |
+
"type": "text",
|
| 533 |
+
"text": "Towards minimizing the perceptual distance, we apply a VGG19-based $\\mathcal { L } _ { v g g }$ on multi-scale feature maps between real and generated images, written as ",
|
| 534 |
+
"bbox": [
|
| 535 |
+
174,
|
| 536 |
+
103,
|
| 537 |
+
823,
|
| 538 |
+
131
|
| 539 |
+
],
|
| 540 |
+
"page_idx": 5
|
| 541 |
+
},
|
| 542 |
+
{
|
| 543 |
+
"type": "equation",
|
| 544 |
+
"img_path": "images/f7928c756c955cc141db6fcd558a53236b4a94a707d3bc71ec40d8ed94509e02.jpg",
|
| 545 |
+
"text": "$$\n\\mathcal { L } _ { v g g } ( x _ { s d } , x _ { d } ) = \\mathbb { E } [ \\sum _ { n } ^ { N } \\| F _ { n } ( x _ { d } ) - F _ { n } ( x _ { s d } ) \\| _ { 1 } ] ,\n$$",
|
| 546 |
+
"text_format": "latex",
|
| 547 |
+
"bbox": [
|
| 548 |
+
326,
|
| 549 |
+
131,
|
| 550 |
+
669,
|
| 551 |
+
174
|
| 552 |
+
],
|
| 553 |
+
"page_idx": 5
|
| 554 |
+
},
|
| 555 |
+
{
|
| 556 |
+
"type": "text",
|
| 557 |
+
"text": "where $F _ { n }$ denotes the $n ^ { t h }$ layer in a pre-trained VGG19 (Simonyan & Zisserman, 2015). In practice, towards penalizing real and generated images in multi-scale images, we use a pyramid of four resolutions, namely $2 5 6 \\times 2 5 6$ , ${ \\bar { 1 } } 2 8 \\times 1 2 8$ , $6 4 \\times 6 4$ and $3 2 \\times 3 2$ as inputs of VGG19. The final perceptual loss is the addition of perceptual losses in four resolutions. ",
|
| 558 |
+
"bbox": [
|
| 559 |
+
173,
|
| 560 |
+
176,
|
| 561 |
+
825,
|
| 562 |
+
229
|
| 563 |
+
],
|
| 564 |
+
"page_idx": 5
|
| 565 |
+
},
|
| 566 |
+
{
|
| 567 |
+
"type": "text",
|
| 568 |
+
"text": "Further, towards generating photo-realistic results, we incorporate a non-saturating adversarial loss $\\mathcal { L } _ { a d v }$ on $x _ { s \\to d }$ , which is calculated as ",
|
| 569 |
+
"bbox": [
|
| 570 |
+
171,
|
| 571 |
+
234,
|
| 572 |
+
823,
|
| 573 |
+
261
|
| 574 |
+
],
|
| 575 |
+
"page_idx": 5
|
| 576 |
+
},
|
| 577 |
+
{
|
| 578 |
+
"type": "equation",
|
| 579 |
+
"img_path": "images/05bea7d6e6d22c447e74d62df9efb0cfa6ed3c06ed8234e0270924bc5b87f9da.jpg",
|
| 580 |
+
"text": "$$\n\\mathcal { L } _ { a d v } ( x _ { s d } ) = \\mathbb { E } _ { x _ { s d } \\sim p _ { r e c } } [ - l o g ( D ( x _ { s d } ) ] ,\n$$",
|
| 581 |
+
"text_format": "latex",
|
| 582 |
+
"bbox": [
|
| 583 |
+
348,
|
| 584 |
+
261,
|
| 585 |
+
647,
|
| 586 |
+
279
|
| 587 |
+
],
|
| 588 |
+
"page_idx": 5
|
| 589 |
+
},
|
| 590 |
+
{
|
| 591 |
+
"type": "text",
|
| 592 |
+
"text": "where $D$ is a discriminator, aimed at distinguishing reconstructed images from the original ones. Our full loss function is the combination of three losses with $\\lambda$ as a balanced hyperparameter ",
|
| 593 |
+
"bbox": [
|
| 594 |
+
171,
|
| 595 |
+
280,
|
| 596 |
+
823,
|
| 597 |
+
305
|
| 598 |
+
],
|
| 599 |
+
"page_idx": 5
|
| 600 |
+
},
|
| 601 |
+
{
|
| 602 |
+
"type": "equation",
|
| 603 |
+
"img_path": "images/98a99248b9ea0369084c2ed86f66e8b66265c9eda359ab2a875e641b6da0b3c9.jpg",
|
| 604 |
+
"text": "$$\n{ \\mathcal { L } } ( x _ { s d } , x _ { d } ) = { \\mathcal { L } } _ { r e c o n } ( x _ { s d } , x _ { d } ) + \\lambda { \\mathcal { L } } _ { v g g } ( x _ { s d } , x _ { d } ) + { \\mathcal { L } } _ { a d v } ( x _ { s d } ) .\n$$",
|
| 605 |
+
"text_format": "latex",
|
| 606 |
+
"bbox": [
|
| 607 |
+
264,
|
| 608 |
+
305,
|
| 609 |
+
732,
|
| 610 |
+
323
|
| 611 |
+
],
|
| 612 |
+
"page_idx": 5
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"type": "text",
|
| 616 |
+
"text": "3.4 INFERENCE ",
|
| 617 |
+
"text_level": 1,
|
| 618 |
+
"bbox": [
|
| 619 |
+
174,
|
| 620 |
+
335,
|
| 621 |
+
295,
|
| 622 |
+
349
|
| 623 |
+
],
|
| 624 |
+
"page_idx": 5
|
| 625 |
+
},
|
| 626 |
+
{
|
| 627 |
+
"type": "text",
|
| 628 |
+
"text": "In inference stage, given a driving video sequence $V _ { d } = \\{ x _ { t } \\} _ { 1 } ^ { T }$ , we aim to transfer motion from $V _ { d }$ to $x _ { s }$ , in order to generate a novel video $V _ { d s } = \\{ x _ { t s } \\} _ { 1 } ^ { T }$ . If $V _ { d }$ and $x _ { s }$ stem from the same video sequence, i.e., $x _ { s } ~ = ~ x _ { 1 }$ , our task comprises of reconstructing the entire original video sequence. Therefore, we construct the latent motion representation of each frame using absolute transfer, which follows the training process, given as ",
|
| 629 |
+
"bbox": [
|
| 630 |
+
173,
|
| 631 |
+
361,
|
| 632 |
+
825,
|
| 633 |
+
430
|
| 634 |
+
],
|
| 635 |
+
"page_idx": 5
|
| 636 |
+
},
|
| 637 |
+
{
|
| 638 |
+
"type": "equation",
|
| 639 |
+
"img_path": "images/906b3d65e6df9ab02a1357d7fd666aa6dc6b2c37473057c00ea3397676e29cf5.jpg",
|
| 640 |
+
"text": "$$\nz _ { s t } = z _ { s r } + w _ { r t } , t \\in \\{ 1 , . . . , T \\} .\n$$",
|
| 641 |
+
"text_format": "latex",
|
| 642 |
+
"bbox": [
|
| 643 |
+
370,
|
| 644 |
+
430,
|
| 645 |
+
627,
|
| 646 |
+
446
|
| 647 |
+
],
|
| 648 |
+
"page_idx": 5
|
| 649 |
+
},
|
| 650 |
+
{
|
| 651 |
+
"type": "text",
|
| 652 |
+
"text": "However, in real world applications, interest is rather placed on the scenario, where motion transfer between $x _ { s }$ and $V _ { d }$ , the latter stemming from different identities, i.e., $x _ { s } \\neq x _ { 1 }$ . Taking a talking head video as an example, in this setting, beyond identity, $x _ { 1 }$ and $x _ { s }$ might also differ in pose and expression. Therefore, we propose relative transfer to eliminate the motion impact of $w _ { r \\to 1 }$ and involve motion of $w _ { r \\to s }$ in the full generated video sequence. Owing to a linear representation of the latent path, we can easily represent $z _ { s t }$ for each frame as ",
|
| 653 |
+
"bbox": [
|
| 654 |
+
173,
|
| 655 |
+
454,
|
| 656 |
+
825,
|
| 657 |
+
531
|
| 658 |
+
],
|
| 659 |
+
"page_idx": 5
|
| 660 |
+
},
|
| 661 |
+
{
|
| 662 |
+
"type": "equation",
|
| 663 |
+
"img_path": "images/ffd2269604154178f057dda4081be44f9ef04e2bc5ecbbf0667ba81e6b26d159.jpg",
|
| 664 |
+
"text": "$$\n\\begin{array} { r l } & { z _ { s t } = ( z _ { s r } + w _ { r s } ) + ( w _ { r t } - w _ { r 1 } ) } \\\\ & { \\qquad = z _ { s s } + ( w _ { r t } - w _ { r 1 } ) , \\ t \\in \\{ 1 , . . . , T \\} . } \\end{array}\n$$",
|
| 665 |
+
"text_format": "latex",
|
| 666 |
+
"bbox": [
|
| 667 |
+
334,
|
| 668 |
+
532,
|
| 669 |
+
663,
|
| 670 |
+
569
|
| 671 |
+
],
|
| 672 |
+
"page_idx": 5
|
| 673 |
+
},
|
| 674 |
+
{
|
| 675 |
+
"type": "text",
|
| 676 |
+
"text": "The first term in Eq. (12), $z _ { s s }$ indicates the reconstruction of $x _ { s }$ , while the second term $( w _ { r t } - w _ { r 1 } )$ represents the motion from $x _ { 1 }$ to $x _ { t }$ . This equation indicates that the original pose is preserved in $x _ { s }$ , at the same time motion is transferred from $V _ { d }$ . We note that in order to completely replicate the position and pose in $V _ { d }$ , it requires $x _ { s }$ and $x _ { 1 }$ to contain similar poses in relative motion transfer. ",
|
| 677 |
+
"bbox": [
|
| 678 |
+
173,
|
| 679 |
+
569,
|
| 680 |
+
825,
|
| 681 |
+
633
|
| 682 |
+
],
|
| 683 |
+
"page_idx": 5
|
| 684 |
+
},
|
| 685 |
+
{
|
| 686 |
+
"type": "text",
|
| 687 |
+
"text": "4 EXPERIMENTS ",
|
| 688 |
+
"text_level": 1,
|
| 689 |
+
"bbox": [
|
| 690 |
+
174,
|
| 691 |
+
655,
|
| 692 |
+
326,
|
| 693 |
+
670
|
| 694 |
+
],
|
| 695 |
+
"page_idx": 5
|
| 696 |
+
},
|
| 697 |
+
{
|
| 698 |
+
"type": "text",
|
| 699 |
+
"text": "In this section, we firstly describe our experimental setup including implementation details and datasets. Secondly, we qualitatively demonstrate generated results based on testing datasets. Then, we provide quantitative evaluation w.r.t. image quality on (a) same-identity reconstruction, (b) crossvideo motion transfer, presenting (c) a user study. Next, we conduct an ablation study that demonstrates (d) the effectiveness of our proposed motion dictionary, as well as (e) associated size. Finally, we provide an in-depth analysis of our (f) latent codes and (g) motion dictionary to interpret their semantic meanings. ",
|
| 700 |
+
"bbox": [
|
| 701 |
+
173,
|
| 702 |
+
690,
|
| 703 |
+
825,
|
| 704 |
+
781
|
| 705 |
+
],
|
| 706 |
+
"page_idx": 5
|
| 707 |
+
},
|
| 708 |
+
{
|
| 709 |
+
"type": "text",
|
| 710 |
+
"text": "Datasets Our model is trained on the datasets VoxCeleb, TaichiHD and TED-talk. We follow the pre-processing method in (Siarohin et al., 2019) to crop frames into $2 5 6 \\times 2 5 6$ resolution for quantitative evaluation. ",
|
| 711 |
+
"bbox": [
|
| 712 |
+
173,
|
| 713 |
+
794,
|
| 714 |
+
821,
|
| 715 |
+
833
|
| 716 |
+
],
|
| 717 |
+
"page_idx": 5
|
| 718 |
+
},
|
| 719 |
+
{
|
| 720 |
+
"type": "text",
|
| 721 |
+
"text": "Implementation details Our model is implemented in PyTorch (Paszke et al., 2019). All models are trained on four 16G NVIDIA V100 GPUs. The total batch size is 32 with 8 images per GPU. We use a learning rate of 0.002 to train our model with the Adam optimizer (Kingma & Ba, 2014). The dimension of all latent codes, as well as directions in $D _ { m }$ is set to be 512. In our loss function, we use $\\lambda = 1 0$ in order to penalize more on the perceptual loss. It takes around 150 hours to fully train our framework. ",
|
| 722 |
+
"bbox": [
|
| 723 |
+
174,
|
| 724 |
+
845,
|
| 725 |
+
825,
|
| 726 |
+
922
|
| 727 |
+
],
|
| 728 |
+
"page_idx": 5
|
| 729 |
+
},
|
| 730 |
+
{
|
| 731 |
+
"type": "image",
|
| 732 |
+
"img_path": "images/a37a7371bb03be1d7874e44a06664ca4dc3ef0bc6d060aab959b38245f9df2b2.jpg",
|
| 733 |
+
"image_caption": [
|
| 734 |
+
"Figure 4: Qualitative results. Examples for same-dataset absolute motion transfer on TaichiHD (top-right) and TED-talk (bottom-right). On VoxCeleb (left), we demonstrate cross-dataset relative motion transfer. We successfully transfer motion between $x _ { 1 }$ and $x _ { t }$ from videos in VoxCeleb to $x _ { s }$ from FFHQ, the latter not being used for training. "
|
| 735 |
+
],
|
| 736 |
+
"image_footnote": [],
|
| 737 |
+
"bbox": [
|
| 738 |
+
174,
|
| 739 |
+
101,
|
| 740 |
+
823,
|
| 741 |
+
335
|
| 742 |
+
],
|
| 743 |
+
"page_idx": 6
|
| 744 |
+
},
|
| 745 |
+
{
|
| 746 |
+
"type": "text",
|
| 747 |
+
"text": "Evaluation metrics We evaluate our model w.r.t. (i) reconstruction faithfulness using $\\mathcal { L } _ { 1 }$ , LPIPS, (ii) generated video quality using video FID, as well as (iii) semantic consistency using average keypoint distance (AKD), missing keypoint rate (MKR) and average euclidean distance (AED). Details are available in App. B.2. ",
|
| 748 |
+
"bbox": [
|
| 749 |
+
174,
|
| 750 |
+
417,
|
| 751 |
+
825,
|
| 752 |
+
469
|
| 753 |
+
],
|
| 754 |
+
"page_idx": 6
|
| 755 |
+
},
|
| 756 |
+
{
|
| 757 |
+
"type": "text",
|
| 758 |
+
"text": "4.1 QUALITATIVE RESULTS ",
|
| 759 |
+
"text_level": 1,
|
| 760 |
+
"bbox": [
|
| 761 |
+
176,
|
| 762 |
+
487,
|
| 763 |
+
377,
|
| 764 |
+
501
|
| 765 |
+
],
|
| 766 |
+
"page_idx": 6
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"type": "text",
|
| 770 |
+
"text": "Firstly, we evaluate the ability of LIA to generate realistic videos and compare related results with four state-of-the-art methods. For TaichiHD and TED-talk datasets, we conduct an experiment related to cross-video generation. Corresponding results (see Fig. 4) confirm that our method is able to correctly transfer motion on articulated human bodies, in the absence of explicit structure representations. For the VoxCeleb dataset, we conduct a cross-dataset generation-experiment, where we transfer motion from VoxCeleb to images of the FFHQ dataset. We observe that our method outperforms FOMM and MRAA w.r.t. image quality, as both approaches visibly deform the shape of the original faces. This is specifically notable in the case that source and driving images entail large pose variations. At the same time, LIA is able to successfully tackle this challenge and no similar deformations are visible. ",
|
| 771 |
+
"bbox": [
|
| 772 |
+
174,
|
| 773 |
+
513,
|
| 774 |
+
825,
|
| 775 |
+
640
|
| 776 |
+
],
|
| 777 |
+
"page_idx": 6
|
| 778 |
+
},
|
| 779 |
+
{
|
| 780 |
+
"type": "text",
|
| 781 |
+
"text": "4.2 COMPARISON WITH STATE-OF-THE-ART METHODS ",
|
| 782 |
+
"text_level": 1,
|
| 783 |
+
"bbox": [
|
| 784 |
+
174,
|
| 785 |
+
659,
|
| 786 |
+
566,
|
| 787 |
+
672
|
| 788 |
+
],
|
| 789 |
+
"page_idx": 6
|
| 790 |
+
},
|
| 791 |
+
{
|
| 792 |
+
"type": "text",
|
| 793 |
+
"text": "We quantitatively compare our method with the state-of-the-art approaches X2Face, Monkey-Net, FOMM and MRAA on two tasks, namely (a) same-identity reconstruction and (b) cross-video motion transfer. Additionally, we conduct a (c) user study. ",
|
| 794 |
+
"bbox": [
|
| 795 |
+
174,
|
| 796 |
+
684,
|
| 797 |
+
823,
|
| 798 |
+
723
|
| 799 |
+
],
|
| 800 |
+
"page_idx": 6
|
| 801 |
+
},
|
| 802 |
+
{
|
| 803 |
+
"type": "text",
|
| 804 |
+
"text": "(a) Same-identity reconstruction We here evaluate the reconstruction ability of our method. Specifically, we reconstruct each testing video by using the first frame as $x _ { s }$ and the remaining frames as $x _ { d }$ . Results on three datasets are reported in Table 1. Focusing on foregroundreconstruction, our method outperforms the other approaches w.r.t. all metrics. More results are presented in App. B.3, discussing background-reconstruction. ",
|
| 805 |
+
"bbox": [
|
| 806 |
+
174,
|
| 807 |
+
741,
|
| 808 |
+
823,
|
| 809 |
+
804
|
| 810 |
+
],
|
| 811 |
+
"page_idx": 6
|
| 812 |
+
},
|
| 813 |
+
{
|
| 814 |
+
"type": "text",
|
| 815 |
+
"text": "(b) Cross-video motion transfer Next, we conduct experiments, where source images and driving videos stem from different video sequences. In this context, we mainly focus on evaluating talking head videos and explore two different cases. In the first case, we generate videos using the VoxCeleb testing set to conduct motion transfer. In the second case, source images are from an unseen dataset, namely the GermanPublicTV dataset, as we conduct cross-dataset motion transfer. In both experiments, we randomly construct source and driving pairs and transfer motion from driving videos to source images to generate a novel manipulated dataset. Since ground truth data for our generated videos is not available, we use video FID (as initialized by Wang et al. (2020a)) to compute the distance between generated and real data distributions. As shown in Tab. 2, our method outperforms all other approaches w.r.t. video FID, indicating the best generated video quality. ",
|
| 816 |
+
"bbox": [
|
| 817 |
+
174,
|
| 818 |
+
820,
|
| 819 |
+
823,
|
| 820 |
+
922
|
| 821 |
+
],
|
| 822 |
+
"page_idx": 6
|
| 823 |
+
},
|
| 824 |
+
{
|
| 825 |
+
"type": "table",
|
| 826 |
+
"img_path": "images/c2aa88b5ad472a0d7b3a5f9284ee27dd781681e2c7f2352efd69236a7987ccec.jpg",
|
| 827 |
+
"table_caption": [
|
| 828 |
+
"Table 1: Same-identity reconstruction. Comparison with state-of-the-art methods on three datasets for same-identity reconstruction. "
|
| 829 |
+
],
|
| 830 |
+
"table_footnote": [],
|
| 831 |
+
"table_body": "<table><tr><td rowspan=\"2\">Method</td><td colspan=\"4\">VoxCeleb</td><td colspan=\"4\">TaichiHD</td><td colspan=\"4\">TED-talks</td></tr><tr><td>L1</td><td>AKD</td><td>AED</td><td>LPIPS</td><td>L1</td><td>(AKD,MKR)</td><td>AED</td><td>LPIPS</td><td>L1</td><td>(AKD,MKR)</td><td>AED</td><td>LPIPS</td></tr><tr><td>X2Face</td><td>0.078</td><td>7.687</td><td>0.405</td><td>-</td><td>0.080</td><td>(17.654,0.109)</td><td></td><td>-</td><td>=</td><td></td><td></td><td>-</td></tr><tr><td>Monkey-Net</td><td>0.049</td><td>1.878</td><td>0.199</td><td>-</td><td>0.077</td><td>(10.798,0.059)</td><td></td><td></td><td>=</td><td></td><td></td><td>=</td></tr><tr><td>FOMM</td><td>0.046</td><td>1.395</td><td>0.141</td><td>0.136</td><td>0.063</td><td>(6.472,0.032)</td><td>0.4950.191</td><td></td><td>0.030</td><td>(3.759,0.0090)0.428</td><td></td><td>0.13</td></tr><tr><td>MRAA w/o bg</td><td>0.043</td><td>1.307</td><td>0.140</td><td>0.127</td><td>0.063</td><td>(5.626,0.025)</td><td>0.460</td><td>0.189</td><td>0.029</td><td>(3.126,0.0092)0.396</td><td></td><td>0.12</td></tr><tr><td>Ours</td><td>0.041</td><td>1.353</td><td>0.138</td><td>0.123</td><td>0.057</td><td>(4.823, 0.020)</td><td>0.431</td><td>0.180</td><td>0.027</td><td>(3.141,0.0095)0.399</td><td></td><td>0.11</td></tr></table>",
|
| 832 |
+
"bbox": [
|
| 833 |
+
178,
|
| 834 |
+
143,
|
| 835 |
+
821,
|
| 836 |
+
219
|
| 837 |
+
],
|
| 838 |
+
"page_idx": 7
|
| 839 |
+
},
|
| 840 |
+
{
|
| 841 |
+
"type": "table",
|
| 842 |
+
"img_path": "images/ad274f8070fac87f953923f2ff42c22d786ec650ba57cc10b4221205e6b9fe26.jpg",
|
| 843 |
+
"table_caption": [
|
| 844 |
+
"Table 2: Cross-video generation. We report video FID for both inner- and cross-dataset tasks on VoxCeleb and GermanPublicTV. "
|
| 845 |
+
],
|
| 846 |
+
"table_footnote": [],
|
| 847 |
+
"table_body": "<table><tr><td>VoxCeleb</td><td>GermanPublicTV</td></tr><tr><td>FOMM</td><td>0.323 0.456</td></tr><tr><td>MRAA 0.308</td><td>0.454</td></tr><tr><td>Ours</td><td>0.161 0.406</td></tr></table>",
|
| 848 |
+
"bbox": [
|
| 849 |
+
199,
|
| 850 |
+
295,
|
| 851 |
+
441,
|
| 852 |
+
349
|
| 853 |
+
],
|
| 854 |
+
"page_idx": 7
|
| 855 |
+
},
|
| 856 |
+
{
|
| 857 |
+
"type": "table",
|
| 858 |
+
"img_path": "images/a132cc7dfc5907d4d643154a3c90f40b6d770be090a737eb77630cf2dfb3443d.jpg",
|
| 859 |
+
"table_caption": [
|
| 860 |
+
"Table 3: User study. We ask 20 human raters to conduct a subjective video quality evaluation. "
|
| 861 |
+
],
|
| 862 |
+
"table_footnote": [],
|
| 863 |
+
"table_body": "<table><tr><td></td><td>VoxCeleb(%)</td><td>TaichiHD(%)</td><td>TED-talk(%)</td></tr><tr><td>Ours/FOMM</td><td>92.9/7.1</td><td>64.5/35.5</td><td>71.4/28.6</td></tr><tr><td>Ours/MRAA</td><td>89.7/10.3</td><td>60.7/39.9</td><td>54.8/45.2</td></tr></table>",
|
| 864 |
+
"bbox": [
|
| 865 |
+
496,
|
| 866 |
+
304,
|
| 867 |
+
813,
|
| 868 |
+
342
|
| 869 |
+
],
|
| 870 |
+
"page_idx": 7
|
| 871 |
+
},
|
| 872 |
+
{
|
| 873 |
+
"type": "text",
|
| 874 |
+
"text": "",
|
| 875 |
+
"bbox": [
|
| 876 |
+
173,
|
| 877 |
+
363,
|
| 878 |
+
825,
|
| 879 |
+
390
|
| 880 |
+
],
|
| 881 |
+
"page_idx": 7
|
| 882 |
+
},
|
| 883 |
+
{
|
| 884 |
+
"type": "text",
|
| 885 |
+
"text": "(c) User study We conduct a user study to evaluate video quality. Towards this, we displayed paired videos and asked 20 human raters ‘which clip is more realistic?’. Each video-pair contains a generated video from our method, as well as a video generated from FOMM or MRAA. Results suggest that our results are more realistic in comparison to FOMM and MRAA across all three datasets (see Tab. 3). Hence, the obtained human preference is in accordance with our quantitative evaluation. ",
|
| 886 |
+
"bbox": [
|
| 887 |
+
174,
|
| 888 |
+
404,
|
| 889 |
+
825,
|
| 890 |
+
481
|
| 891 |
+
],
|
| 892 |
+
"page_idx": 7
|
| 893 |
+
},
|
| 894 |
+
{
|
| 895 |
+
"type": "table",
|
| 896 |
+
"img_path": "images/f09a5c2b6459de9d6ea611e9c6cf079f6a6df9128278bcecbdc537633eda7d9a.jpg",
|
| 897 |
+
"table_caption": [
|
| 898 |
+
"Table 4: Ablation study on motion dictionary. We conduct experiments on three datasets with and without $D _ { m } ^ { \\phantom { \\dagger } }$ and show reconstruction results. "
|
| 899 |
+
],
|
| 900 |
+
"table_footnote": [],
|
| 901 |
+
"table_body": "<table><tr><td colspan=\"2\">VoxCeleb</td><td colspan=\"2\">TaichiHD</td><td colspan=\"2\">TED-talks</td></tr><tr><td>Method</td><td>L1 LPIPS</td><td>L1</td><td>LPIPS</td><td>L1</td><td>LPIPS</td></tr><tr><td>wloDm</td><td>0.049 0.165</td><td>0.062</td><td>0.186</td><td>0.031</td><td>0.12</td></tr><tr><td>Full</td><td>0.041 0.123</td><td>0.057</td><td>0.180</td><td>0.028</td><td>0.11</td></tr></table>",
|
| 902 |
+
"bbox": [
|
| 903 |
+
179,
|
| 904 |
+
546,
|
| 905 |
+
464,
|
| 906 |
+
604
|
| 907 |
+
],
|
| 908 |
+
"page_idx": 7
|
| 909 |
+
},
|
| 910 |
+
{
|
| 911 |
+
"type": "table",
|
| 912 |
+
"img_path": "images/e356340e7653eeceefae4355bd4672591605f3b6600bca605a5f9eb9c4ad26f3.jpg",
|
| 913 |
+
"table_caption": [
|
| 914 |
+
"Table 5: Ablation study on $D _ { m }$ size. We conduct experiments on three datasets with 5 different $D _ { m }$ size and show reconstruction results. "
|
| 915 |
+
],
|
| 916 |
+
"table_footnote": [],
|
| 917 |
+
"table_body": "<table><tr><td colspan=\"3\">VoxCeleb</td><td colspan=\"2\">TaichiHD</td><td colspan=\"2\">TED-talks</td></tr><tr><td>M</td><td>L1</td><td>LPIPS</td><td>L1</td><td>LPIPS</td><td>L1</td><td>LPIPS</td></tr><tr><td>5 10</td><td>0.051 0.043</td><td>0.15 0.13</td><td>0.070 0.065</td><td>0.22 0.20</td><td>0.037 0.036</td><td>0.15</td></tr><tr><td>20</td><td>0.041</td><td>0.12</td><td>0.057</td><td>0.18</td><td>0.028</td><td>0.13 0.11</td></tr><tr><td>40</td><td>0.042</td><td>0.12</td><td>0.060</td><td>0.19</td><td>0.030</td><td>0.12</td></tr><tr><td>100</td><td>0.041</td><td>0.12</td><td>0.058</td><td>0.18</td><td>0.028</td><td>0.11</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr></table>",
|
| 918 |
+
"bbox": [
|
| 919 |
+
522,
|
| 920 |
+
532,
|
| 921 |
+
785,
|
| 922 |
+
617
|
| 923 |
+
],
|
| 924 |
+
"page_idx": 7
|
| 925 |
+
},
|
| 926 |
+
{
|
| 927 |
+
"type": "text",
|
| 928 |
+
"text": "4.3 ABLATION STUDY ",
|
| 929 |
+
"text_level": 1,
|
| 930 |
+
"bbox": [
|
| 931 |
+
174,
|
| 932 |
+
633,
|
| 933 |
+
339,
|
| 934 |
+
647
|
| 935 |
+
],
|
| 936 |
+
"page_idx": 7
|
| 937 |
+
},
|
| 938 |
+
{
|
| 939 |
+
"type": "text",
|
| 940 |
+
"text": "We here analyze our proposed motion dictionary and focus on answering following two questions. ",
|
| 941 |
+
"bbox": [
|
| 942 |
+
174,
|
| 943 |
+
657,
|
| 944 |
+
815,
|
| 945 |
+
672
|
| 946 |
+
],
|
| 947 |
+
"page_idx": 7
|
| 948 |
+
},
|
| 949 |
+
{
|
| 950 |
+
"type": "text",
|
| 951 |
+
"text": "(d) Is the motion dictionary $D _ { m }$ beneficial? We here explore the impact of proposed $D _ { m }$ , by training our model without $D _ { m }$ . Specifically, we output $w _ { r \\to d }$ directly from MLP, without using LMD to learn an orthogonal basis. From the evaluation results reported in Tab. 4 and qualitative results in App. B.5, we observe that in the absence of $D _ { m }$ , model fails to generate high-quality images, which proves the effectiveness of $D _ { m }$ , consistently on all datasets. ",
|
| 952 |
+
"bbox": [
|
| 953 |
+
173,
|
| 954 |
+
685,
|
| 955 |
+
823,
|
| 956 |
+
751
|
| 957 |
+
],
|
| 958 |
+
"page_idx": 7
|
| 959 |
+
},
|
| 960 |
+
{
|
| 961 |
+
"type": "text",
|
| 962 |
+
"text": "(e) How many directions are required in $D _ { m }$ ? Towards finding an effective size of $D _ { m }$ , we empirically test three different $M$ , viz. 5, 10, 20, 40 and 100. Quantitative results in Tab. 5 show that when using 20 directions, the model achieves the best reconstruction results. ",
|
| 963 |
+
"bbox": [
|
| 964 |
+
174,
|
| 965 |
+
766,
|
| 966 |
+
821,
|
| 967 |
+
805
|
| 968 |
+
],
|
| 969 |
+
"page_idx": 7
|
| 970 |
+
},
|
| 971 |
+
{
|
| 972 |
+
"type": "text",
|
| 973 |
+
"text": "4.4 FURTHER ANALYSIS ",
|
| 974 |
+
"text_level": 1,
|
| 975 |
+
"bbox": [
|
| 976 |
+
174,
|
| 977 |
+
821,
|
| 978 |
+
354,
|
| 979 |
+
835
|
| 980 |
+
],
|
| 981 |
+
"page_idx": 7
|
| 982 |
+
},
|
| 983 |
+
{
|
| 984 |
+
"type": "text",
|
| 985 |
+
"text": "(f) Latent code analysis. While our method successfully transfers motion via latent space navigation, we here aim at answering the question — what does $x _ { r }$ represent? Towards answering this question, we proceed to visualize $x _ { r }$ . We firstly decode $z _ { s r }$ into a dense flow field $\\phi _ { s r }$ , which is then used to warp $x _ { s }$ (we show details in App. B.4). Fig. 5 shows examples of $x _ { s }$ and $x _ { r }$ . Interestingly, we observe that $x _ { r }$ represents the canonical pose of $x _ { s }$ , regardless of original poses of the subjects. And for all datasets, reference images resemble each other $w . r . t .$ . pose and scale. As such reference images can be considered as a normalized form of $x _ { s }$ , learning transformations between $x _ { s }$ and $x _ { d }$ using $x _ { s } x _ { r } x _ { d }$ is considerably more efficient than $x _ { s } \\to x _ { d }$ , once $x _ { r }$ is fixed. ",
|
| 986 |
+
"bbox": [
|
| 987 |
+
173,
|
| 988 |
+
847,
|
| 989 |
+
823,
|
| 990 |
+
922
|
| 991 |
+
],
|
| 992 |
+
"page_idx": 7
|
| 993 |
+
},
|
| 994 |
+
{
|
| 995 |
+
"type": "image",
|
| 996 |
+
"img_path": "images/f4021d1e9c0a6b78d5507518e6f476c3eb214d4b2fd88cb1cbad903d30c7d449.jpg",
|
| 997 |
+
"image_caption": [
|
| 998 |
+
"Figure 5: Visualization of reference images. Example source (top) and reference images (down) from VoxCeleb, TaichiHD and TED-talk datasets. Our network learns reference images of a consistently frontal pose, systematically for all input images of each dataset. "
|
| 999 |
+
],
|
| 1000 |
+
"image_footnote": [],
|
| 1001 |
+
"bbox": [
|
| 1002 |
+
174,
|
| 1003 |
+
102,
|
| 1004 |
+
823,
|
| 1005 |
+
267
|
| 1006 |
+
],
|
| 1007 |
+
"page_idx": 8
|
| 1008 |
+
},
|
| 1009 |
+
{
|
| 1010 |
+
"type": "image",
|
| 1011 |
+
"img_path": "images/833c41d15a70be2fc45b2ced129969f51412a6047f24acd5518917c81c6c810d.jpg",
|
| 1012 |
+
"image_caption": [
|
| 1013 |
+
"Figure 6: Linear manipulation of four motion directions on the painting of Mona Lisa. Manipulated results indicate that $d _ { 6 }$ represents eye movement, $d _ { 8 }$ represents head nodding, whereas $\\bar { d _ { 1 9 } }$ and $d _ { 7 }$ represent facial expressions. "
|
| 1014 |
+
],
|
| 1015 |
+
"image_footnote": [],
|
| 1016 |
+
"bbox": [
|
| 1017 |
+
181,
|
| 1018 |
+
333,
|
| 1019 |
+
816,
|
| 1020 |
+
464
|
| 1021 |
+
],
|
| 1022 |
+
"page_idx": 8
|
| 1023 |
+
},
|
| 1024 |
+
{
|
| 1025 |
+
"type": "text",
|
| 1026 |
+
"text": "",
|
| 1027 |
+
"bbox": [
|
| 1028 |
+
171,
|
| 1029 |
+
531,
|
| 1030 |
+
821,
|
| 1031 |
+
558
|
| 1032 |
+
],
|
| 1033 |
+
"page_idx": 8
|
| 1034 |
+
},
|
| 1035 |
+
{
|
| 1036 |
+
"type": "text",
|
| 1037 |
+
"text": "Noteworthy, we found the similar idea of learning a ‘reference image’ has also been explored by Siarohin et al. (2019) (FOMM) and Wiles et al. (2018) (X2Face). However, deviating from our visualized ‘reference image’, the ’reference image ’in FOMM refers to a non-visualized and abstract concept. In addition, LIA only requires a latent code $z _ { s r }$ , rather than the ’reference image’ for both, training and testing, which is contrast to X2Face. ",
|
| 1038 |
+
"bbox": [
|
| 1039 |
+
174,
|
| 1040 |
+
564,
|
| 1041 |
+
823,
|
| 1042 |
+
628
|
| 1043 |
+
],
|
| 1044 |
+
"page_idx": 8
|
| 1045 |
+
},
|
| 1046 |
+
{
|
| 1047 |
+
"type": "text",
|
| 1048 |
+
"text": "(g) Motion dictionary interpretation. Towards further interpretation of directions in $D _ { m }$ , we conduct linear manipulations on each $d _ { i }$ . Images pertained to manipulating four motion directions are depicted in Fig. 6. The results suggest that the directions in $\\boldsymbol { D } _ { m } ^ { \\bar { 2 } }$ are semantically meaningful, as they represent basic visual transformations such as head nodding $( d _ { 8 } )$ , eye movement $( d _ { 6 } ) ^ { \\dag }$ and facial expressions $\\cdot d _ { 1 9 }$ and $d _ { 7 }$ ). More results can be found on our project webpage2. ",
|
| 1049 |
+
"bbox": [
|
| 1050 |
+
174,
|
| 1051 |
+
645,
|
| 1052 |
+
825,
|
| 1053 |
+
710
|
| 1054 |
+
],
|
| 1055 |
+
"page_idx": 8
|
| 1056 |
+
},
|
| 1057 |
+
{
|
| 1058 |
+
"type": "text",
|
| 1059 |
+
"text": "5 CONCLUSIONS ",
|
| 1060 |
+
"text_level": 1,
|
| 1061 |
+
"bbox": [
|
| 1062 |
+
176,
|
| 1063 |
+
732,
|
| 1064 |
+
328,
|
| 1065 |
+
748
|
| 1066 |
+
],
|
| 1067 |
+
"page_idx": 8
|
| 1068 |
+
},
|
| 1069 |
+
{
|
| 1070 |
+
"type": "text",
|
| 1071 |
+
"text": "In this paper, we presented a novel self-supervised autoencoder LIA, aimed at animating images via latent space navigation. By the proposed Linear Motion Decomposition (LMD), we were able to formulate the task of transferring motion from driving videos to source images as learning linear transformations in the latent space. We evaluated proposed method on real-world videos and demonstrated that our approach is able to successfully animate still images, while eliminating the necessity of explicit structure representations. In addition, we showed that the incorporated motion dictionary is interpretable and contains directions pertaining to basic visual transformations. Both quantitative and qualitative evaluations showed that LIA outperforms state-of-art algorithms on all benchmarks. We postulate that LIA opens a new door in design of interpretable generative models for video generation. ",
|
| 1072 |
+
"bbox": [
|
| 1073 |
+
174,
|
| 1074 |
+
768,
|
| 1075 |
+
825,
|
| 1076 |
+
896
|
| 1077 |
+
],
|
| 1078 |
+
"page_idx": 8
|
| 1079 |
+
},
|
| 1080 |
+
{
|
| 1081 |
+
"type": "text",
|
| 1082 |
+
"text": "ETHIC STATEMENT ",
|
| 1083 |
+
"text_level": 1,
|
| 1084 |
+
"bbox": [
|
| 1085 |
+
176,
|
| 1086 |
+
102,
|
| 1087 |
+
333,
|
| 1088 |
+
117
|
| 1089 |
+
],
|
| 1090 |
+
"page_idx": 9
|
| 1091 |
+
},
|
| 1092 |
+
{
|
| 1093 |
+
"type": "text",
|
| 1094 |
+
"text": "In this work, we aim to synthesize high-quality videos by transferring motion on still images. Our approach can be used for movie production, making video games, online education, generating synthetic data for other computer vision tasks, etc. We note that our framework mainly focuses on learning how to model motion distribution rather than directly model appearance, therefore it is not biased towards any specific gender, race, region, or social class. It works equally well irrespective of the difference in subjects. ",
|
| 1095 |
+
"bbox": [
|
| 1096 |
+
174,
|
| 1097 |
+
138,
|
| 1098 |
+
825,
|
| 1099 |
+
215
|
| 1100 |
+
],
|
| 1101 |
+
"page_idx": 9
|
| 1102 |
+
},
|
| 1103 |
+
{
|
| 1104 |
+
"type": "text",
|
| 1105 |
+
"text": "REPRODUCIBILITY STATEMENT ",
|
| 1106 |
+
"text_level": 1,
|
| 1107 |
+
"bbox": [
|
| 1108 |
+
176,
|
| 1109 |
+
237,
|
| 1110 |
+
437,
|
| 1111 |
+
252
|
| 1112 |
+
],
|
| 1113 |
+
"page_idx": 9
|
| 1114 |
+
},
|
| 1115 |
+
{
|
| 1116 |
+
"type": "text",
|
| 1117 |
+
"text": "We assure that all the results shown in the paper and supplemental materials can be reproduced. We intend to open-source our code, as well as trained models. ",
|
| 1118 |
+
"bbox": [
|
| 1119 |
+
174,
|
| 1120 |
+
273,
|
| 1121 |
+
825,
|
| 1122 |
+
300
|
| 1123 |
+
],
|
| 1124 |
+
"page_idx": 9
|
| 1125 |
+
},
|
| 1126 |
+
{
|
| 1127 |
+
"type": "text",
|
| 1128 |
+
"text": "ACKNOWLEDGEMENTS ",
|
| 1129 |
+
"text_level": 1,
|
| 1130 |
+
"bbox": [
|
| 1131 |
+
176,
|
| 1132 |
+
323,
|
| 1133 |
+
367,
|
| 1134 |
+
338
|
| 1135 |
+
],
|
| 1136 |
+
"page_idx": 9
|
| 1137 |
+
},
|
| 1138 |
+
{
|
| 1139 |
+
"type": "text",
|
| 1140 |
+
"text": "This work was granted access to the HPC resources of IDRIS under the allocation AD011011627R1. It was supported by the French Government, by the National Research Agency (ANR) under Grant ANR-18-CE92-0024, project RESPECT and through the 3IA Cote d’Azur Investments in the Future ˆ project managed by the National Research Agency (ANR) with the reference number ANR-19- P3IA-0002. ",
|
| 1141 |
+
"bbox": [
|
| 1142 |
+
174,
|
| 1143 |
+
358,
|
| 1144 |
+
825,
|
| 1145 |
+
422
|
| 1146 |
+
],
|
| 1147 |
+
"page_idx": 9
|
| 1148 |
+
},
|
| 1149 |
+
{
|
| 1150 |
+
"type": "text",
|
| 1151 |
+
"text": "REFERENCES ",
|
| 1152 |
+
"text_level": 1,
|
| 1153 |
+
"bbox": [
|
| 1154 |
+
176,
|
| 1155 |
+
445,
|
| 1156 |
+
285,
|
| 1157 |
+
460
|
| 1158 |
+
],
|
| 1159 |
+
"page_idx": 9
|
| 1160 |
+
},
|
| 1161 |
+
{
|
| 1162 |
+
"type": "text",
|
| 1163 |
+
"text": "Rameen Abdal, Yipeng Qin, and Peter Wonka. Image2stylegan $^ { + + }$ : How to edit the embedded images? In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), June 2020. ",
|
| 1164 |
+
"bbox": [
|
| 1165 |
+
173,
|
| 1166 |
+
481,
|
| 1167 |
+
821,
|
| 1168 |
+
520
|
| 1169 |
+
],
|
| 1170 |
+
"page_idx": 9
|
| 1171 |
+
},
|
| 1172 |
+
{
|
| 1173 |
+
"type": "text",
|
| 1174 |
+
"text": "Brandon Amos, Bartosz Ludwiczuk, and Mahadev Satyanarayanan. Openface: A general-purpose face recognition library with mobile applications. Technical report, CMU-CS-16-118, CMU School of Computer Science, 2016. ",
|
| 1175 |
+
"bbox": [
|
| 1176 |
+
174,
|
| 1177 |
+
531,
|
| 1178 |
+
823,
|
| 1179 |
+
570
|
| 1180 |
+
],
|
| 1181 |
+
"page_idx": 9
|
| 1182 |
+
},
|
| 1183 |
+
{
|
| 1184 |
+
"type": "text",
|
| 1185 |
+
"text": "Sarthak Bhagat, Shagun Uppal, Zhuyun Yin, and Nengli Lim. Disentangling multiple features in video sequences using gaussian processes in variational autoencoders. In ECCV, 2020. ",
|
| 1186 |
+
"bbox": [
|
| 1187 |
+
173,
|
| 1188 |
+
582,
|
| 1189 |
+
823,
|
| 1190 |
+
608
|
| 1191 |
+
],
|
| 1192 |
+
"page_idx": 9
|
| 1193 |
+
},
|
| 1194 |
+
{
|
| 1195 |
+
"type": "text",
|
| 1196 |
+
"text": "Andrew Brock, Jeff Donahue, and Karen Simonyan. Large scale GAN training for high fidelity natural image synthesis. In ICLR, 2019. ",
|
| 1197 |
+
"bbox": [
|
| 1198 |
+
171,
|
| 1199 |
+
619,
|
| 1200 |
+
823,
|
| 1201 |
+
646
|
| 1202 |
+
],
|
| 1203 |
+
"page_idx": 9
|
| 1204 |
+
},
|
| 1205 |
+
{
|
| 1206 |
+
"type": "text",
|
| 1207 |
+
"text": "Adrian Bulat and Georgios Tzimiropoulos. How far are we from solving the 2d & 3d face alignment problem? (and a dataset of 230,000 3d facial landmarks). In ICCV, 2017. ",
|
| 1208 |
+
"bbox": [
|
| 1209 |
+
171,
|
| 1210 |
+
657,
|
| 1211 |
+
823,
|
| 1212 |
+
684
|
| 1213 |
+
],
|
| 1214 |
+
"page_idx": 9
|
| 1215 |
+
},
|
| 1216 |
+
{
|
| 1217 |
+
"type": "text",
|
| 1218 |
+
"text": "Chen Cao, Qiming Hou, and Kun Zhou. Displaced dynamic expression regression for real-time facial tracking and animation. ACM Transactions on graphics (TOG), 33(4):1–10, 2014. ",
|
| 1219 |
+
"bbox": [
|
| 1220 |
+
173,
|
| 1221 |
+
694,
|
| 1222 |
+
823,
|
| 1223 |
+
722
|
| 1224 |
+
],
|
| 1225 |
+
"page_idx": 9
|
| 1226 |
+
},
|
| 1227 |
+
{
|
| 1228 |
+
"type": "text",
|
| 1229 |
+
"text": "Z. Cao, G. Hidalgo Martinez, T. Simon, S. Wei, and Y. A. Sheikh. Openpose: Realtime multi-person 2d pose estimation using part affinity fields. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2019. ",
|
| 1230 |
+
"bbox": [
|
| 1231 |
+
174,
|
| 1232 |
+
732,
|
| 1233 |
+
825,
|
| 1234 |
+
772
|
| 1235 |
+
],
|
| 1236 |
+
"page_idx": 9
|
| 1237 |
+
},
|
| 1238 |
+
{
|
| 1239 |
+
"type": "text",
|
| 1240 |
+
"text": "Caroline Chan, Shiry Ginosar, Tinghui Zhou, and Alexei A Efros. Everybody dance now. In ICCV, 2019. ",
|
| 1241 |
+
"bbox": [
|
| 1242 |
+
173,
|
| 1243 |
+
782,
|
| 1244 |
+
823,
|
| 1245 |
+
810
|
| 1246 |
+
],
|
| 1247 |
+
"page_idx": 9
|
| 1248 |
+
},
|
| 1249 |
+
{
|
| 1250 |
+
"type": "text",
|
| 1251 |
+
"text": "Hao Chen, Yaohui Wang, Benoit Lagadec, Antitza Dantcheva, and Francois Bremond. Joint generative and contrastive learning for unsupervised person re-identification. In CVPR, 2021. ",
|
| 1252 |
+
"bbox": [
|
| 1253 |
+
174,
|
| 1254 |
+
820,
|
| 1255 |
+
821,
|
| 1256 |
+
848
|
| 1257 |
+
],
|
| 1258 |
+
"page_idx": 9
|
| 1259 |
+
},
|
| 1260 |
+
{
|
| 1261 |
+
"type": "text",
|
| 1262 |
+
"text": "J. S. Chung, A. Nagrani, and A. Zisserman. Voxceleb2: Deep speaker recognition. In INTERSPEECH, 2018. ",
|
| 1263 |
+
"bbox": [
|
| 1264 |
+
173,
|
| 1265 |
+
858,
|
| 1266 |
+
820,
|
| 1267 |
+
886
|
| 1268 |
+
],
|
| 1269 |
+
"page_idx": 9
|
| 1270 |
+
},
|
| 1271 |
+
{
|
| 1272 |
+
"type": "text",
|
| 1273 |
+
"text": "Aidan Clark, Jeff Donahue, and Karen Simonyan. Adversarial video generation on complex datasets. arXiv preprint arXiv:1907.06571, 2019. ",
|
| 1274 |
+
"bbox": [
|
| 1275 |
+
176,
|
| 1276 |
+
897,
|
| 1277 |
+
820,
|
| 1278 |
+
922
|
| 1279 |
+
],
|
| 1280 |
+
"page_idx": 9
|
| 1281 |
+
},
|
| 1282 |
+
{
|
| 1283 |
+
"type": "text",
|
| 1284 |
+
"text": "Emily L Denton and vighnesh Birodkar. Unsupervised learning of disentangled representations from video. In I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett (eds.), NeurIPS, 2017. ",
|
| 1285 |
+
"bbox": [
|
| 1286 |
+
173,
|
| 1287 |
+
103,
|
| 1288 |
+
823,
|
| 1289 |
+
143
|
| 1290 |
+
],
|
| 1291 |
+
"page_idx": 10
|
| 1292 |
+
},
|
| 1293 |
+
{
|
| 1294 |
+
"type": "text",
|
| 1295 |
+
"text": "Lore Goetschalckx, Alex Andonian, Aude Oliva, and Phillip Isola. Ganalyze: Toward visual definitions of cognitive image properties. In ICCV, pp. 5744–5753, 2019. ",
|
| 1296 |
+
"bbox": [
|
| 1297 |
+
173,
|
| 1298 |
+
151,
|
| 1299 |
+
821,
|
| 1300 |
+
179
|
| 1301 |
+
],
|
| 1302 |
+
"page_idx": 10
|
| 1303 |
+
},
|
| 1304 |
+
{
|
| 1305 |
+
"type": "text",
|
| 1306 |
+
"text": "Kensho Hara, Hirokatsu Kataoka, and Yutaka Satoh. Can spatiotemporal 3d cnns retrace the history of 2d cnns and imagenet? In CVPR, 2018. ",
|
| 1307 |
+
"bbox": [
|
| 1308 |
+
176,
|
| 1309 |
+
186,
|
| 1310 |
+
820,
|
| 1311 |
+
214
|
| 1312 |
+
],
|
| 1313 |
+
"page_idx": 10
|
| 1314 |
+
},
|
| 1315 |
+
{
|
| 1316 |
+
"type": "text",
|
| 1317 |
+
"text": "Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. Gans trained by a two time-scale update rule converge to a local nash equilibrium. In NIPS, 2017. ",
|
| 1318 |
+
"bbox": [
|
| 1319 |
+
176,
|
| 1320 |
+
222,
|
| 1321 |
+
821,
|
| 1322 |
+
250
|
| 1323 |
+
],
|
| 1324 |
+
"page_idx": 10
|
| 1325 |
+
},
|
| 1326 |
+
{
|
| 1327 |
+
"type": "text",
|
| 1328 |
+
"text": "Phillip Isola, Jun-Yan Zhu, Tinghui Zhou, and Alexei A Efros. Image-to-Image Translation with Conditional Adversarial Networks. In CVPR, 2017. ",
|
| 1329 |
+
"bbox": [
|
| 1330 |
+
174,
|
| 1331 |
+
257,
|
| 1332 |
+
823,
|
| 1333 |
+
285
|
| 1334 |
+
],
|
| 1335 |
+
"page_idx": 10
|
| 1336 |
+
},
|
| 1337 |
+
{
|
| 1338 |
+
"type": "text",
|
| 1339 |
+
"text": "Ali Jahanian, Lucy Chai, and Phillip Isola. On the ”steerability” of generative adversarial networks. In ICLR, 2020. ",
|
| 1340 |
+
"bbox": [
|
| 1341 |
+
174,
|
| 1342 |
+
291,
|
| 1343 |
+
823,
|
| 1344 |
+
319
|
| 1345 |
+
],
|
| 1346 |
+
"page_idx": 10
|
| 1347 |
+
},
|
| 1348 |
+
{
|
| 1349 |
+
"type": "text",
|
| 1350 |
+
"text": "Yunseok Jang, Gunhee Kim, and Yale Song. Video Prediction with Appearance and Motion Conditions. In ICML, 2018. ",
|
| 1351 |
+
"bbox": [
|
| 1352 |
+
176,
|
| 1353 |
+
327,
|
| 1354 |
+
821,
|
| 1355 |
+
354
|
| 1356 |
+
],
|
| 1357 |
+
"page_idx": 10
|
| 1358 |
+
},
|
| 1359 |
+
{
|
| 1360 |
+
"type": "text",
|
| 1361 |
+
"text": "Justin Johnson, Alexandre Alahi, and Li Fei-Fei. Perceptual losses for real-time style transfer and super-resolution. In European conference on computer vision, pp. 694–711. Springer, 2016. ",
|
| 1362 |
+
"bbox": [
|
| 1363 |
+
174,
|
| 1364 |
+
362,
|
| 1365 |
+
823,
|
| 1366 |
+
390
|
| 1367 |
+
],
|
| 1368 |
+
"page_idx": 10
|
| 1369 |
+
},
|
| 1370 |
+
{
|
| 1371 |
+
"type": "text",
|
| 1372 |
+
"text": "Tero Karras, Samuli Laine, and Timo Aila. A style-based generator architecture for generative adversarial networks. In CVPR, 2019. ",
|
| 1373 |
+
"bbox": [
|
| 1374 |
+
176,
|
| 1375 |
+
397,
|
| 1376 |
+
821,
|
| 1377 |
+
425
|
| 1378 |
+
],
|
| 1379 |
+
"page_idx": 10
|
| 1380 |
+
},
|
| 1381 |
+
{
|
| 1382 |
+
"type": "text",
|
| 1383 |
+
"text": "Tero Karras, Samuli Laine, Miika Aittala, Janne Hellsten, Jaakko Lehtinen, and Timo Aila. Analyzing and improving the image quality of StyleGAN. In CVPR, 2020a. ",
|
| 1384 |
+
"bbox": [
|
| 1385 |
+
174,
|
| 1386 |
+
433,
|
| 1387 |
+
820,
|
| 1388 |
+
460
|
| 1389 |
+
],
|
| 1390 |
+
"page_idx": 10
|
| 1391 |
+
},
|
| 1392 |
+
{
|
| 1393 |
+
"type": "text",
|
| 1394 |
+
"text": "Tero Karras, Samuli Laine, Miika Aittala, Janne Hellsten, Jaakko Lehtinen, and Timo Aila. Analyzing and improving the image quality of stylegan. In CVPR, 2020b. ",
|
| 1395 |
+
"bbox": [
|
| 1396 |
+
173,
|
| 1397 |
+
468,
|
| 1398 |
+
821,
|
| 1399 |
+
496
|
| 1400 |
+
],
|
| 1401 |
+
"page_idx": 10
|
| 1402 |
+
},
|
| 1403 |
+
{
|
| 1404 |
+
"type": "text",
|
| 1405 |
+
"text": "Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. ",
|
| 1406 |
+
"bbox": [
|
| 1407 |
+
173,
|
| 1408 |
+
503,
|
| 1409 |
+
823,
|
| 1410 |
+
531
|
| 1411 |
+
],
|
| 1412 |
+
"page_idx": 10
|
| 1413 |
+
},
|
| 1414 |
+
{
|
| 1415 |
+
"type": "text",
|
| 1416 |
+
"text": "Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In F. Pereira, C. J. C. Burges, L. Bottou, and K. Q. Weinberger (eds.), Advances in Neural Information Processing Systems, 2012. ",
|
| 1417 |
+
"bbox": [
|
| 1418 |
+
176,
|
| 1419 |
+
539,
|
| 1420 |
+
821,
|
| 1421 |
+
579
|
| 1422 |
+
],
|
| 1423 |
+
"page_idx": 10
|
| 1424 |
+
},
|
| 1425 |
+
{
|
| 1426 |
+
"type": "text",
|
| 1427 |
+
"text": "Yijun Li, Chen Fang, Jimei Yang, Zhaowen Wang, Xin Lu, and Ming-Hsuan Yang. Flow-grounded spatial-temporal video prediction from still images. In ECCV, 2018. ",
|
| 1428 |
+
"bbox": [
|
| 1429 |
+
176,
|
| 1430 |
+
587,
|
| 1431 |
+
821,
|
| 1432 |
+
614
|
| 1433 |
+
],
|
| 1434 |
+
"page_idx": 10
|
| 1435 |
+
},
|
| 1436 |
+
{
|
| 1437 |
+
"type": "text",
|
| 1438 |
+
"text": "Yingzhen Li and Stephan Mandt. Disentangled sequential autoencoder. ICML, 2018. ",
|
| 1439 |
+
"bbox": [
|
| 1440 |
+
176,
|
| 1441 |
+
622,
|
| 1442 |
+
732,
|
| 1443 |
+
637
|
| 1444 |
+
],
|
| 1445 |
+
"page_idx": 10
|
| 1446 |
+
},
|
| 1447 |
+
{
|
| 1448 |
+
"type": "text",
|
| 1449 |
+
"text": "Wen Liu, Zhixin Piao, Jie Min, Wenhan Luo, Lin Ma, and Shenghua Gao. Liquid warping gan: A unified framework for human motion imitation, appearance transfer and novel view synthesis. In CVPR, 2019. ",
|
| 1450 |
+
"bbox": [
|
| 1451 |
+
174,
|
| 1452 |
+
645,
|
| 1453 |
+
823,
|
| 1454 |
+
684
|
| 1455 |
+
],
|
| 1456 |
+
"page_idx": 10
|
| 1457 |
+
},
|
| 1458 |
+
{
|
| 1459 |
+
"type": "text",
|
| 1460 |
+
"text": "Arsha Nagrani, Joon Son Chung, Weidi Xie, and Andrew Zisserman. Voxceleb: Large-scale speaker verification in the wild. Computer Science and Language, 2019. ",
|
| 1461 |
+
"bbox": [
|
| 1462 |
+
173,
|
| 1463 |
+
693,
|
| 1464 |
+
823,
|
| 1465 |
+
720
|
| 1466 |
+
],
|
| 1467 |
+
"page_idx": 10
|
| 1468 |
+
},
|
| 1469 |
+
{
|
| 1470 |
+
"type": "text",
|
| 1471 |
+
"text": "Katsunori Ohnishi, Shohei Yamamoto, Yoshitaka Ushiku, and Tatsuya Harada. Hierarchical video generation from orthogonal information: Optical flow and texture. In AAAI, 2018. ",
|
| 1472 |
+
"bbox": [
|
| 1473 |
+
174,
|
| 1474 |
+
728,
|
| 1475 |
+
821,
|
| 1476 |
+
756
|
| 1477 |
+
],
|
| 1478 |
+
"page_idx": 10
|
| 1479 |
+
},
|
| 1480 |
+
{
|
| 1481 |
+
"type": "text",
|
| 1482 |
+
"text": "Junting Pan, Chengyu Wang, Xu Jia, Jing Shao, Lu Sheng, Junjie Yan, and Xiaogang Wang. Video generation from single semantic label map. arXiv preprint arXiv:1903.04480, 2019. ",
|
| 1483 |
+
"bbox": [
|
| 1484 |
+
173,
|
| 1485 |
+
762,
|
| 1486 |
+
821,
|
| 1487 |
+
791
|
| 1488 |
+
],
|
| 1489 |
+
"page_idx": 10
|
| 1490 |
+
},
|
| 1491 |
+
{
|
| 1492 |
+
"type": "text",
|
| 1493 |
+
"text": "Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, Alban Desmaison, Andreas Kopf, Edward Yang, Zachary DeVito, Martin Raison, Alykhan Tejani, Sasank Chilamkurthy, Benoit Steiner, Lu Fang, Junjie Bai, and Soumith Chintala. Pytorch: An imperative style, high-performance deep learning library. In H. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alche-Buc, E. Fox, and´ R. Garnett (eds.), Advances in Neural Information Processing Systems. 2019. ",
|
| 1494 |
+
"bbox": [
|
| 1495 |
+
174,
|
| 1496 |
+
799,
|
| 1497 |
+
825,
|
| 1498 |
+
876
|
| 1499 |
+
],
|
| 1500 |
+
"page_idx": 10
|
| 1501 |
+
},
|
| 1502 |
+
{
|
| 1503 |
+
"type": "text",
|
| 1504 |
+
"text": "William Peebles, John Peebles, Jun-Yan Zhu, Alexei A. Efros, and Antonio Torralba. The hessian penalty: A weak prior for unsupervised disentanglement. In Proceedings of European Conference on Computer Vision (ECCV), 2020. ",
|
| 1505 |
+
"bbox": [
|
| 1506 |
+
174,
|
| 1507 |
+
883,
|
| 1508 |
+
820,
|
| 1509 |
+
922
|
| 1510 |
+
],
|
| 1511 |
+
"page_idx": 10
|
| 1512 |
+
},
|
| 1513 |
+
{
|
| 1514 |
+
"type": "text",
|
| 1515 |
+
"text": "JK Rowling. Harry potter. The 100 Greatest Literary Characters, pp. 183, 2019. \nJoanne Kathleen Rowling, John Tiffany, and Jack Thorne. Harry Potter and the Cursed Child–Parts One and Two (Special Rehearsal Edition). Pottermore Publishing, 2016. \nMasaki Saito, Eiichi Matsumoto, and Shunta Saito. Temporal generative adversarial nets with singular value clipping. In ICCV, 2017. \nYujun Shen and Bolei Zhou. Closed-form factorization of latent semantics in gans. In CVPR, 2021. \nYujun Shen, Jinjin Gu, Xiaoou Tang, and Bolei Zhou. Interpreting the latent space of gans for semantic face editing. In CVPR, 2020. \nAliaksandr Siarohin, Stephane Lathuili ´ ere, Sergey Tulyakov, Elisa Ricci, and Nicu Sebe. First order \\` motion model for image animation. In H. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alche-´ Buc, E. Fox, and R. Garnett (eds.), NeurIPS. Curran Associates, Inc., 2019. \nAliaksandr Siarohin, Oliver Woodford, Jian Ren, Menglei Chai, and Sergey Tulyakov. Motion representations for articulated animation. In CVPR, 2021. \nKaren Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. In International Conference on Learning Representations, 2015. \nJustus Thies, Michael Zollhofer, Marc Stamminger, Christian Theobalt, and Matthias Nießner. Face2face: Real-time face capture and reenactment of RGB videos. In CVPR, 2016. \nJustus Thies, Michael Zollhofer, and Matthias Nießner. Deferred neural rendering: Image synthesis ¨ using neural textures. ACM Transactions on Graphics (TOG), 38(4):1–12, 2019. \nJustus Thies, Mohamed Elgharib, Ayush Tewari, Christian Theobalt, and Matthias Nießner. Neural voice puppetry: Audio-driven facial reenactment. ECCV, 2020. \nYu Tian, Jian Ren, Menglei Chai, Kyle Olszewski, Xi Peng, Dimitris N. Metaxas, and Sergey Tulyakov. A good image generator is what you need for high-resolution video synthesis. In ICLR, 2021. \nSergey Tulyakov, Ming-Yu Liu, Xiaodong Yang, and Jan Kautz. MoCoGAN: Decomposing motion and content for video generation. In CVPR, 2018. \nCarl Vondrick, Hamed Pirsiavash, and Antonio Torralba. Generating videos with scene dynamics. In NIPS, 2016. \nAndrey Voynov and Artem Babenko. Unsupervised discovery of interpretable directions in the gan latent space. arXiv preprint arXiv:2002.03754, 2020. \nJacob Walker, Kenneth Marino, Abhinav Gupta, and Martial Hebert. The pose knows: Video forecasting by generating pose futures. In ICCV, 2017. \nTing-Chun Wang, Ming-Yu Liu, Jun-Yan Zhu, Guilin Liu, Andrew Tao, Jan Kautz, and Bryan Catanzaro. Video-to-video synthesis. In NeurIPS, 2018. \nTing-Chun Wang, Ming-Yu Liu, Andrew Tao, Guilin Liu, Jan Kautz, and Bryan Catanzaro. Fewshot video-to-video synthesis. In NeurIPS, 2019. \nTing-Chun Wang, Arun Mallya, and Ming-Yu Liu. One-shot free-view neural talking-head synthesis for video conferencing. In CVPR, 2021a. \nTing-Chun Wang, Arun Mallya, and Ming-Yu Liu. One-shot free-view neural talking-head synthesis for video conferencing. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2021b. \nYaohui Wang. Learning to Generate Human Videos. Theses, Inria - Sophia Antipolis ; Universite´ Cote d’Azur, September 2021. \nYaohui Wang, Piotr Bilinski, Francois Bremond, and Antitza Dantcheva. G3AN: Disentangling appearance and motion for video generation. In CVPR, 2020a. \nYaohui Wang, Piotr Bilinski, Francois F Bremond, and Antitza Dantcheva. ImaGINator: Conditional Spatio-Temporal GAN for Video Generation. In WACV, 2020b. ",
|
| 1516 |
+
"bbox": [
|
| 1517 |
+
171,
|
| 1518 |
+
77,
|
| 1519 |
+
826,
|
| 1520 |
+
928
|
| 1521 |
+
],
|
| 1522 |
+
"page_idx": 11
|
| 1523 |
+
},
|
| 1524 |
+
{
|
| 1525 |
+
"type": "text",
|
| 1526 |
+
"text": "Yaohui Wang, Francois Bremond, and Antitza Dantcheva. Inmodegan: Interpretable motion decomposition generative adversarial network for video generation. arXiv preprint arXiv:2101.03049, 2021c. ",
|
| 1527 |
+
"bbox": [
|
| 1528 |
+
174,
|
| 1529 |
+
103,
|
| 1530 |
+
823,
|
| 1531 |
+
143
|
| 1532 |
+
],
|
| 1533 |
+
"page_idx": 12
|
| 1534 |
+
},
|
| 1535 |
+
{
|
| 1536 |
+
"type": "text",
|
| 1537 |
+
"text": "Olivia Wiles, A Koepke, and Andrew Zisserman. X2face: A network for controlling face generation using images, audio, and pose codes. In Proceedings of the European conference on computer vision (ECCV), pp. 670–686, 2018. ",
|
| 1538 |
+
"bbox": [
|
| 1539 |
+
176,
|
| 1540 |
+
151,
|
| 1541 |
+
823,
|
| 1542 |
+
191
|
| 1543 |
+
],
|
| 1544 |
+
"page_idx": 12
|
| 1545 |
+
},
|
| 1546 |
+
{
|
| 1547 |
+
"type": "text",
|
| 1548 |
+
"text": "Jianwen Xie, Ruiqi Gao, Zilong Zheng, Song-Chun Zhu, and Ying Nian Wu. Motion-based generator model: Unsupervised disentanglement of appearance, trackable and intrackable motions in dynamic patterns. In AAAI, 2020. ",
|
| 1549 |
+
"bbox": [
|
| 1550 |
+
173,
|
| 1551 |
+
199,
|
| 1552 |
+
821,
|
| 1553 |
+
238
|
| 1554 |
+
],
|
| 1555 |
+
"page_idx": 12
|
| 1556 |
+
},
|
| 1557 |
+
{
|
| 1558 |
+
"type": "text",
|
| 1559 |
+
"text": "Ceyuan Yang, Zhe Wang, Xinge Zhu, Chen Huang, Jianping Shi, and Dahua Lin. Pose guided human video generation. In ECCV, 2018. ",
|
| 1560 |
+
"bbox": [
|
| 1561 |
+
173,
|
| 1562 |
+
246,
|
| 1563 |
+
821,
|
| 1564 |
+
275
|
| 1565 |
+
],
|
| 1566 |
+
"page_idx": 12
|
| 1567 |
+
},
|
| 1568 |
+
{
|
| 1569 |
+
"type": "text",
|
| 1570 |
+
"text": "Zhuoqian Yang, Wentao Zhu, Wayne Wu, Chen Qian, Qiang Zhou, Bolei Zhou, and Chen Change Loy. Transmomo: Invariance-driven unsupervised video motion retargeting. In CVPR, 2020. ",
|
| 1571 |
+
"bbox": [
|
| 1572 |
+
173,
|
| 1573 |
+
281,
|
| 1574 |
+
825,
|
| 1575 |
+
309
|
| 1576 |
+
],
|
| 1577 |
+
"page_idx": 12
|
| 1578 |
+
},
|
| 1579 |
+
{
|
| 1580 |
+
"type": "text",
|
| 1581 |
+
"text": "Egor Zakharov, Aliaksandra Shysheya, Egor Burkov, and Victor Lempitsky. Few-shot adversarial learning of realistic neural talking head models. In ICCV, 2019. ",
|
| 1582 |
+
"bbox": [
|
| 1583 |
+
173,
|
| 1584 |
+
318,
|
| 1585 |
+
823,
|
| 1586 |
+
345
|
| 1587 |
+
],
|
| 1588 |
+
"page_idx": 12
|
| 1589 |
+
},
|
| 1590 |
+
{
|
| 1591 |
+
"type": "text",
|
| 1592 |
+
"text": "Richard Zhang, Phillip Isola, Alexei A Efros, Eli Shechtman, and Oliver Wang. The unreasonable effectiveness of deep features as a perceptual metric. In CVPR, 2018. ",
|
| 1593 |
+
"bbox": [
|
| 1594 |
+
173,
|
| 1595 |
+
352,
|
| 1596 |
+
823,
|
| 1597 |
+
381
|
| 1598 |
+
],
|
| 1599 |
+
"page_idx": 12
|
| 1600 |
+
},
|
| 1601 |
+
{
|
| 1602 |
+
"type": "text",
|
| 1603 |
+
"text": "Long Zhao, Xi Peng, Yu Tian, Mubbasir Kapadia, and Dimitris Metaxas. Learning to forecast and refine residual motion for image-to-video generation. In ECCV, 2018. ",
|
| 1604 |
+
"bbox": [
|
| 1605 |
+
174,
|
| 1606 |
+
387,
|
| 1607 |
+
825,
|
| 1608 |
+
416
|
| 1609 |
+
],
|
| 1610 |
+
"page_idx": 12
|
| 1611 |
+
},
|
| 1612 |
+
{
|
| 1613 |
+
"type": "text",
|
| 1614 |
+
"text": "Zhedong Zheng, Tao Ruan, Yunchao Wei, Yi Yang, and Tao Mei. Vehiclenet: Learning robust visual representation for vehicle re-identification. IEEE Transaction on Multimedia (TMM), 2020. ",
|
| 1615 |
+
"bbox": [
|
| 1616 |
+
173,
|
| 1617 |
+
422,
|
| 1618 |
+
823,
|
| 1619 |
+
450
|
| 1620 |
+
],
|
| 1621 |
+
"page_idx": 12
|
| 1622 |
+
},
|
| 1623 |
+
{
|
| 1624 |
+
"type": "text",
|
| 1625 |
+
"text": "Jiapeng Zhu, Yujun Shen, Deli Zhao, and Bolei Zhou. In-domain gan inversion for real image editing. In Proceedings of European Conference on Computer Vision (ECCV), 2020. ",
|
| 1626 |
+
"bbox": [
|
| 1627 |
+
173,
|
| 1628 |
+
458,
|
| 1629 |
+
823,
|
| 1630 |
+
486
|
| 1631 |
+
],
|
| 1632 |
+
"page_idx": 12
|
| 1633 |
+
},
|
| 1634 |
+
{
|
| 1635 |
+
"type": "text",
|
| 1636 |
+
"text": "A DETAILS OF MODEL ARCHITECTURE ",
|
| 1637 |
+
"text_level": 1,
|
| 1638 |
+
"bbox": [
|
| 1639 |
+
176,
|
| 1640 |
+
103,
|
| 1641 |
+
511,
|
| 1642 |
+
117
|
| 1643 |
+
],
|
| 1644 |
+
"page_idx": 13
|
| 1645 |
+
},
|
| 1646 |
+
{
|
| 1647 |
+
"type": "text",
|
| 1648 |
+
"text": "We proceed to describe the model architecture in this section. Fig. 7 shows details of our $E$ . In each ResBlock in $E$ , spatial size of input feature maps are downsampled. We take feature maps of spatial sizes from $8 \\times 8$ to $2 5 6 \\times 2 5 6$ as our appearance features $x _ { i } ^ { e n c }$ . We use a 5-layer MLP to predict a magnitude vector $A _ { d r }$ from $z _ { d r }$ . Fig. 8 (a) shows the general architecture of our $G$ , which consists of two components, a flow field generator $G _ { f }$ and a refinement network $G _ { r }$ . We apply StyleConv (Upsample $\\mathbf { + \\ C o n v 3 \\times 3 }$ ), which is proposed by StyleGAN2, in $G _ { f }$ . StyleConv takes latent representation $z _ { s t }$ as style code and generates flow field $\\phi _ { i }$ and corresponding mask $m _ { i }$ . $G _ { r }$ uses UpConv (Conv1 $\\times \\ 1 +$ Upsample) to upsample and refine inpainted feature maps to target resolution. We show details pertaining to $G$ block in Fig. 8 (b). Each $G$ block is used to upsample $\\times 2$ the previous resolution. We stack 6 blocks towards producing 256 resolution images. ",
|
| 1649 |
+
"bbox": [
|
| 1650 |
+
173,
|
| 1651 |
+
138,
|
| 1652 |
+
825,
|
| 1653 |
+
266
|
| 1654 |
+
],
|
| 1655 |
+
"page_idx": 13
|
| 1656 |
+
},
|
| 1657 |
+
{
|
| 1658 |
+
"type": "image",
|
| 1659 |
+
"img_path": "images/9325fffdbfebc0ee68f0be3ae9d39d9a1ea8e2cd0cc42b57b0799a99bd6ea9c8.jpg",
|
| 1660 |
+
"image_caption": [
|
| 1661 |
+
"Figure 7: Encoder architecture. We show details of architecture of $E$ in (a) and ResBlock in (b). "
|
| 1662 |
+
],
|
| 1663 |
+
"image_footnote": [],
|
| 1664 |
+
"bbox": [
|
| 1665 |
+
178,
|
| 1666 |
+
300,
|
| 1667 |
+
826,
|
| 1668 |
+
694
|
| 1669 |
+
],
|
| 1670 |
+
"page_idx": 13
|
| 1671 |
+
},
|
| 1672 |
+
{
|
| 1673 |
+
"type": "text",
|
| 1674 |
+
"text": "B EXPERIMENTS ",
|
| 1675 |
+
"text_level": 1,
|
| 1676 |
+
"bbox": [
|
| 1677 |
+
176,
|
| 1678 |
+
765,
|
| 1679 |
+
330,
|
| 1680 |
+
781
|
| 1681 |
+
],
|
| 1682 |
+
"page_idx": 13
|
| 1683 |
+
},
|
| 1684 |
+
{
|
| 1685 |
+
"type": "text",
|
| 1686 |
+
"text": "We proceed to introduce details of datasets and evaluation metrics used in our experiments. ",
|
| 1687 |
+
"bbox": [
|
| 1688 |
+
171,
|
| 1689 |
+
801,
|
| 1690 |
+
769,
|
| 1691 |
+
816
|
| 1692 |
+
],
|
| 1693 |
+
"page_idx": 13
|
| 1694 |
+
},
|
| 1695 |
+
{
|
| 1696 |
+
"type": "text",
|
| 1697 |
+
"text": "B.1 DATASETS ",
|
| 1698 |
+
"text_level": 1,
|
| 1699 |
+
"bbox": [
|
| 1700 |
+
174,
|
| 1701 |
+
842,
|
| 1702 |
+
290,
|
| 1703 |
+
857
|
| 1704 |
+
],
|
| 1705 |
+
"page_idx": 13
|
| 1706 |
+
},
|
| 1707 |
+
{
|
| 1708 |
+
"type": "text",
|
| 1709 |
+
"text": "VoxCeleb (Nagrani et al., 2019) consists of a large amount of interview videos of different celebrities. Following the process of FOMM (Siarohin et al., 2019), we extract frames and crop them into $2 5 6 \\times 2 5 6$ resolution. In total, VoxCeleb contains a training set of 17928 videos and a test set of 495 videos. ",
|
| 1710 |
+
"bbox": [
|
| 1711 |
+
174,
|
| 1712 |
+
871,
|
| 1713 |
+
825,
|
| 1714 |
+
922
|
| 1715 |
+
],
|
| 1716 |
+
"page_idx": 13
|
| 1717 |
+
},
|
| 1718 |
+
{
|
| 1719 |
+
"type": "image",
|
| 1720 |
+
"img_path": "images/9bfd82d4cf08f228e79a896a311bfc79b0ee414695a25bedad52ccbc1330672a.jpg",
|
| 1721 |
+
"image_caption": [
|
| 1722 |
+
"Figure 8: Generator architecture. We show details about architecture of $G$ in (a) and $G$ block in (b). "
|
| 1723 |
+
],
|
| 1724 |
+
"image_footnote": [],
|
| 1725 |
+
"bbox": [
|
| 1726 |
+
183,
|
| 1727 |
+
99,
|
| 1728 |
+
821,
|
| 1729 |
+
411
|
| 1730 |
+
],
|
| 1731 |
+
"page_idx": 14
|
| 1732 |
+
},
|
| 1733 |
+
{
|
| 1734 |
+
"type": "text",
|
| 1735 |
+
"text": "TaiChiHD (Siarohin et al., 2019) consists of videos of full human bodies performing Tai Chi actions. We follow the original pre-processing of FOMM (Siarohin et al., 2019) and utilize its $2 5 6 \\times 2 5 6$ version. TaiChiHD contains 1096 training videos and 115 testing videos. ",
|
| 1736 |
+
"bbox": [
|
| 1737 |
+
173,
|
| 1738 |
+
468,
|
| 1739 |
+
823,
|
| 1740 |
+
508
|
| 1741 |
+
],
|
| 1742 |
+
"page_idx": 14
|
| 1743 |
+
},
|
| 1744 |
+
{
|
| 1745 |
+
"type": "text",
|
| 1746 |
+
"text": "TED-talk is a new dataset proposed in MRAA (Siarohin et al., 2021). It comprises a number of TED-talk videos, where the main subjects have been cropped out. We resize the original version into $2 5 6 \\times 2 5 6$ resolution to train our model. This dataset includes 1124 training videos and 130 testing videos. ",
|
| 1747 |
+
"bbox": [
|
| 1748 |
+
174,
|
| 1749 |
+
513,
|
| 1750 |
+
825,
|
| 1751 |
+
565
|
| 1752 |
+
],
|
| 1753 |
+
"page_idx": 14
|
| 1754 |
+
},
|
| 1755 |
+
{
|
| 1756 |
+
"type": "text",
|
| 1757 |
+
"text": "B.2 EVALUATION METRICS ",
|
| 1758 |
+
"text_level": 1,
|
| 1759 |
+
"bbox": [
|
| 1760 |
+
176,
|
| 1761 |
+
582,
|
| 1762 |
+
375,
|
| 1763 |
+
597
|
| 1764 |
+
],
|
| 1765 |
+
"page_idx": 14
|
| 1766 |
+
},
|
| 1767 |
+
{
|
| 1768 |
+
"type": "text",
|
| 1769 |
+
"text": "We use five different metrics to evaluate our experimental results, namely $\\mathcal { L } _ { 1 }$ , LPIPS, AKD, MKR and AED that quantify the reconstructed results. In addition, we compute video FID to evaluate video quality in motion transferring tasks. ",
|
| 1770 |
+
"bbox": [
|
| 1771 |
+
176,
|
| 1772 |
+
608,
|
| 1773 |
+
823,
|
| 1774 |
+
647
|
| 1775 |
+
],
|
| 1776 |
+
"page_idx": 14
|
| 1777 |
+
},
|
| 1778 |
+
{
|
| 1779 |
+
"type": "text",
|
| 1780 |
+
"text": "$\\mathcal { L } _ { 1 }$ represents the mean absolute pixel difference between reconstructed and real videos. ",
|
| 1781 |
+
"bbox": [
|
| 1782 |
+
174,
|
| 1783 |
+
652,
|
| 1784 |
+
750,
|
| 1785 |
+
666
|
| 1786 |
+
],
|
| 1787 |
+
"page_idx": 14
|
| 1788 |
+
},
|
| 1789 |
+
{
|
| 1790 |
+
"type": "text",
|
| 1791 |
+
"text": "LPIPS (Zhang et al., 2018) aims at measuring the perceptual similarity between reconstructed and real images by leveraging the deep features from AlexNet (Krizhevsky et al., 2012). ",
|
| 1792 |
+
"bbox": [
|
| 1793 |
+
173,
|
| 1794 |
+
672,
|
| 1795 |
+
826,
|
| 1796 |
+
699
|
| 1797 |
+
],
|
| 1798 |
+
"page_idx": 14
|
| 1799 |
+
},
|
| 1800 |
+
{
|
| 1801 |
+
"type": "text",
|
| 1802 |
+
"text": "Video FID is a modified version of the original FID (Heusel et al., 2017). We here follow the same implementation as Wang et al. (2020a) and utilize a pre-trained ResNext101 (Hara et al., 2018) to extract spatio-temporal features to compute the distance between real and generated videos distributions. We take the first 100 frames of each video as input of the feature-extractor to compute the final scores. ",
|
| 1803 |
+
"bbox": [
|
| 1804 |
+
174,
|
| 1805 |
+
705,
|
| 1806 |
+
825,
|
| 1807 |
+
770
|
| 1808 |
+
],
|
| 1809 |
+
"page_idx": 14
|
| 1810 |
+
},
|
| 1811 |
+
{
|
| 1812 |
+
"type": "text",
|
| 1813 |
+
"text": "Average keypoint distance (AKD) and missing keypoint rate (MKR) evaluate the difference between keypoints of reconstructed and ground truth videos. We extract landmarks using the face alignment approach of (Bulat & Tzimiropoulos, 2017) and extract body poses for both TaiChiHD and TED-talks using OpenPose (Cao et al., 2019). AKD is computed as the average distance between corresponding keypoints, whereas MKR is the proportion of keypoints present in the groundtruth that are missing in a reconstructed video. ",
|
| 1814 |
+
"bbox": [
|
| 1815 |
+
173,
|
| 1816 |
+
776,
|
| 1817 |
+
823,
|
| 1818 |
+
853
|
| 1819 |
+
],
|
| 1820 |
+
"page_idx": 14
|
| 1821 |
+
},
|
| 1822 |
+
{
|
| 1823 |
+
"type": "text",
|
| 1824 |
+
"text": "Average Euclidean distance (AED) measures the ability of preserving identity in reconstructed video. We use a person re-identification pretrained model (Zheng et al., 2020) for measuring human bodies (TaichiHD and TED-talk) and OpenFace (Amos et al., 2016) for faces to extract identity embeddings from reconstructed and ground truth frame pairs, then we compute MSE of their difference for all pairs. ",
|
| 1825 |
+
"bbox": [
|
| 1826 |
+
174,
|
| 1827 |
+
859,
|
| 1828 |
+
823,
|
| 1829 |
+
924
|
| 1830 |
+
],
|
| 1831 |
+
"page_idx": 14
|
| 1832 |
+
},
|
| 1833 |
+
{
|
| 1834 |
+
"type": "text",
|
| 1835 |
+
"text": "B.3 COMPARISON WITH FULL MRAA ",
|
| 1836 |
+
"text_level": 1,
|
| 1837 |
+
"bbox": [
|
| 1838 |
+
176,
|
| 1839 |
+
103,
|
| 1840 |
+
449,
|
| 1841 |
+
117
|
| 1842 |
+
],
|
| 1843 |
+
"page_idx": 15
|
| 1844 |
+
},
|
| 1845 |
+
{
|
| 1846 |
+
"type": "text",
|
| 1847 |
+
"text": "We show quantitative evaluation results with the full MRAA model in Tab. 6. We observe that our method achieves competitive results in reconstruction and keypoint evaluation. While we do not explicitly predict keypoints, w.r.t. the TaichiHD dataset, interestingly we outperform MRAA in both, AKD and MKR. Such results showcase the effectiveness of our proposed method on modeling articulated human structures. However, reconstruction evaluation cannot provide a completely fair comparison on how well the main subjects (e.g., faces and human bodies) are generated in videos. This is in particular the case for TaichiHD and TED-talk, where backgrounds have large contributions to the final scores. ",
|
| 1848 |
+
"bbox": [
|
| 1849 |
+
173,
|
| 1850 |
+
127,
|
| 1851 |
+
825,
|
| 1852 |
+
231
|
| 1853 |
+
],
|
| 1854 |
+
"page_idx": 15
|
| 1855 |
+
},
|
| 1856 |
+
{
|
| 1857 |
+
"type": "table",
|
| 1858 |
+
"img_path": "images/a627194bf94f738dbeb4d2f9efd1eb6f668ed70266fedc4e6e71e0ba390a5374.jpg",
|
| 1859 |
+
"table_caption": [
|
| 1860 |
+
"Table 6: Comparison with full MRAA. "
|
| 1861 |
+
],
|
| 1862 |
+
"table_footnote": [],
|
| 1863 |
+
"table_body": "<table><tr><td rowspan=\"2\">Method</td><td colspan=\"4\">VoxCeleb</td><td colspan=\"4\">TaichiHD</td><td colspan=\"4\">TED-talks</td></tr><tr><td>L1</td><td>AKD</td><td>AED</td><td>LPIPS</td><td>L1</td><td>(AKD,MKR)</td><td>AED</td><td>LPIPS</td><td>L1</td><td>(AKD,MKR)</td><td>AED</td><td>LPIPS</td></tr><tr><td>MRAA</td><td>0.041</td><td>1.303</td><td>0.135</td><td>0.124</td><td>0.045</td><td>(5.551,( ,0.025)</td><td>0.431</td><td>0.178</td><td>0.027</td><td>(3.107,0.0093)</td><td>0.379</td><td>0.11</td></tr><tr><td>Ours</td><td>0.041</td><td>1.353</td><td>0.138</td><td>0.123</td><td>0.057</td><td>(4.823,0.020)</td><td>0.431</td><td>0.180</td><td>0.027</td><td>(3.141,0.0095)</td><td>0.399</td><td>0.11</td></tr></table>",
|
| 1864 |
+
"bbox": [
|
| 1865 |
+
199,
|
| 1866 |
+
272,
|
| 1867 |
+
802,
|
| 1868 |
+
319
|
| 1869 |
+
],
|
| 1870 |
+
"page_idx": 15
|
| 1871 |
+
},
|
| 1872 |
+
{
|
| 1873 |
+
"type": "text",
|
| 1874 |
+
"text": "B.4 REFERENCE IMAGE GENERATION. ",
|
| 1875 |
+
"text_level": 1,
|
| 1876 |
+
"bbox": [
|
| 1877 |
+
178,
|
| 1878 |
+
352,
|
| 1879 |
+
449,
|
| 1880 |
+
364
|
| 1881 |
+
],
|
| 1882 |
+
"page_idx": 15
|
| 1883 |
+
},
|
| 1884 |
+
{
|
| 1885 |
+
"type": "text",
|
| 1886 |
+
"text": "To produce $x _ { r }$ , we use $G$ to decode $z _ { s r }$ into the flow field $\\phi _ { s r }$ . Reference image $x _ { r }$ is obtained by warping $x _ { s }$ using $\\phi _ { s r }$ . The entire process is shown in Fig. 9. ",
|
| 1887 |
+
"bbox": [
|
| 1888 |
+
174,
|
| 1889 |
+
376,
|
| 1890 |
+
825,
|
| 1891 |
+
402
|
| 1892 |
+
],
|
| 1893 |
+
"page_idx": 15
|
| 1894 |
+
},
|
| 1895 |
+
{
|
| 1896 |
+
"type": "image",
|
| 1897 |
+
"img_path": "images/762132d8adc241e8fde2ec32f40c10dbb27f4f06b3953c429f112db181bf10c2.jpg",
|
| 1898 |
+
"image_caption": [
|
| 1899 |
+
"Figure 9: Reference image generation. "
|
| 1900 |
+
],
|
| 1901 |
+
"image_footnote": [],
|
| 1902 |
+
"bbox": [
|
| 1903 |
+
191,
|
| 1904 |
+
415,
|
| 1905 |
+
802,
|
| 1906 |
+
534
|
| 1907 |
+
],
|
| 1908 |
+
"page_idx": 15
|
| 1909 |
+
},
|
| 1910 |
+
{
|
| 1911 |
+
"type": "text",
|
| 1912 |
+
"text": "B.5 QUALITATIVE RESULTS ON EFFECTIVENESS OF USING MOTION DICTIONARY ",
|
| 1913 |
+
"text_level": 1,
|
| 1914 |
+
"bbox": [
|
| 1915 |
+
176,
|
| 1916 |
+
593,
|
| 1917 |
+
738,
|
| 1918 |
+
607
|
| 1919 |
+
],
|
| 1920 |
+
"page_idx": 15
|
| 1921 |
+
},
|
| 1922 |
+
{
|
| 1923 |
+
"type": "text",
|
| 1924 |
+
"text": "Fig. 10 illustrates the generated results on transferring motion from VoxCeleb to GermanPublicTV with and without motion dictionary. We observe that without the motion dictionary, appearance information is undesirably transferred from driving videos to generated videos. ",
|
| 1925 |
+
"bbox": [
|
| 1926 |
+
174,
|
| 1927 |
+
616,
|
| 1928 |
+
825,
|
| 1929 |
+
657
|
| 1930 |
+
],
|
| 1931 |
+
"page_idx": 15
|
| 1932 |
+
},
|
| 1933 |
+
{
|
| 1934 |
+
"type": "text",
|
| 1935 |
+
"text": "B.6 LIMITATIONS ",
|
| 1936 |
+
"text_level": 1,
|
| 1937 |
+
"bbox": [
|
| 1938 |
+
174,
|
| 1939 |
+
671,
|
| 1940 |
+
310,
|
| 1941 |
+
685
|
| 1942 |
+
],
|
| 1943 |
+
"page_idx": 15
|
| 1944 |
+
},
|
| 1945 |
+
{
|
| 1946 |
+
"type": "text",
|
| 1947 |
+
"text": "For human body, one limitation of our method is dealing with body occlusion. We observe in Fig. 11 that in taichi videos, in case of occlusion cause by legs and arms, motion is not transferred successfully. In addition, in TED-talks, transferring hand motion is challenging, as hands are of small size, articulated and sometimes occluded by human bodies. ",
|
| 1948 |
+
"bbox": [
|
| 1949 |
+
174,
|
| 1950 |
+
696,
|
| 1951 |
+
825,
|
| 1952 |
+
748
|
| 1953 |
+
],
|
| 1954 |
+
"page_idx": 15
|
| 1955 |
+
},
|
| 1956 |
+
{
|
| 1957 |
+
"type": "image",
|
| 1958 |
+
"img_path": "images/70acaf34c5c7203b948fb2919b9b562110b48bb7fdf0186567c1baf79c82cd42.jpg",
|
| 1959 |
+
"image_caption": [
|
| 1960 |
+
"Figure 10: Generated results with and without $D _ { m }$ . We observe that the disentanglement of appearance and motion is much better by using $D _ { m }$ . "
|
| 1961 |
+
],
|
| 1962 |
+
"image_footnote": [],
|
| 1963 |
+
"bbox": [
|
| 1964 |
+
176,
|
| 1965 |
+
127,
|
| 1966 |
+
823,
|
| 1967 |
+
518
|
| 1968 |
+
],
|
| 1969 |
+
"page_idx": 16
|
| 1970 |
+
},
|
| 1971 |
+
{
|
| 1972 |
+
"type": "image",
|
| 1973 |
+
"img_path": "images/8df647813e53c9e3f9fda4ddf2534e1d09430b0019731ce68455cebf897027e0.jpg",
|
| 1974 |
+
"image_caption": [
|
| 1975 |
+
"Figure 11: Failure cases. We observed that it is still challenging for LIA to handle arm-leg occlusion (Taichi) and hand motion (TED-talk). "
|
| 1976 |
+
],
|
| 1977 |
+
"image_footnote": [],
|
| 1978 |
+
"bbox": [
|
| 1979 |
+
174,
|
| 1980 |
+
627,
|
| 1981 |
+
823,
|
| 1982 |
+
849
|
| 1983 |
+
],
|
| 1984 |
+
"page_idx": 16
|
| 1985 |
+
}
|
| 1986 |
+
]
|
parse/dev/7r6kDq0mK_/7r6kDq0mK__middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/7r6kDq0mK_/7r6kDq0mK__model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/AIqC7F7xV-d/AIqC7F7xV-d.md
ADDED
|
@@ -0,0 +1,460 @@
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Learning Unified Representations for Multi-Resolution Face Recognition
|
| 2 |
+
|
| 3 |
+
Anonymous Author(s)
|
| 4 |
+
Affiliation
|
| 5 |
+
Address
|
| 6 |
+
email
|
| 7 |
+
|
| 8 |
+
# Abstract
|
| 9 |
+
|
| 10 |
+
1 In this work, we propose Branch-to-Trunk network (BTNet), a novel representation
|
| 11 |
+
2 learning method for multi-resolution face recognition. It consists of a trunk network
|
| 12 |
+
3 (TNet), namely a unified encoder, and multiple branch networks (BNets), namely
|
| 13 |
+
4 resolution adapters. As per the input, a resolution-specific BNet is used and the
|
| 14 |
+
5 output are implanted as feature maps in the feature pyramid of TNet, at a layer with
|
| 15 |
+
6 the same resolution. The discriminability of tiny faces is significantly improved, as
|
| 16 |
+
7 the interpolation error introduced by rescaling, especially up-sampling, is mitigated
|
| 17 |
+
8 on the inputs. With branch distillation and backward-compatible training, BTNet
|
| 18 |
+
9 transfers discriminative high-resolution information to multiple branches while
|
| 19 |
+
10 guaranteeing representation compatibility. Our experiments demonstrate strong
|
| 20 |
+
11 performance on face recognition benchmarks, both for multi-resolution identity
|
| 21 |
+
12 matching and feature aggregation, with much less computation amount and param
|
| 22 |
+
13 eter storage. We establish new state-of-the-art on the challenging QMUL-SurvFace
|
| 23 |
+
14 1: N face identification task.
|
| 24 |
+
|
| 25 |
+
# 15 1 Introduction
|
| 26 |
+
|
| 27 |
+
16 Machine learning has advanced tremendously driven by deep learning methods, but is still severely
|
| 28 |
+
17 challenged by various data specifications, such as data type, structure, scale and size, etc. For
|
| 29 |
+
18 instance, face recognition (FR) is a well-established deep learning task, while the performance
|
| 30 |
+
19 degrades dramatically in the testing domain that differs from the training one, influenced by factors
|
| 31 |
+
20 of variance like resolution, illumination, occlusion, etc.
|
| 32 |
+
21 Most face recognition methods map each image to a point embedding in the common metric space
|
| 33 |
+
22 by deep neural networks (DNNs). The dissimilarity of images can be then calculated using various
|
| 34 |
+
23 distance metrics (e.g., cosine similarity, Euclidean distance, etc.) for face recognition tasks.
|
| 35 |
+
24 Recent advancements in margin-based loss (e.g., ArcFace [1], MV-Arc-Softmax [2], CurricularFace
|
| 36 |
+
25 [3], etc) enhanced discriminability of the metric space, with small intra-identity distance and large
|
| 37 |
+
26 inter-identity distance. However, lack of variation in training data still leads to poor generalizability.
|
| 38 |
+
27 Various useful methods are utilized to mitigate this issue. The model adapts to factors of variance
|
| 39 |
+
28 by augmenting datasets, whereas the large discrepancy in data distribution could potentially weaken
|
| 40 |
+
29 the model’s ability to extract discriminative features with the same data scale and model structure
|
| 41 |
+
30 (see Section 4.3). Fine-tuning is widely used to transfer large pretrained models to new domains with
|
| 42 |
+
31 different data specifications. However, this strategy requires one to store and deploy a separate copy
|
| 43 |
+
32 of the backbone parameters for every single new domain, which is expensive and often infeasible.
|
| 44 |
+
33 As known, the resolutions of face images in reality may be far beyond the scope covered by the
|
| 45 |
+
34 model. As the small feature maps with a fixed spatial extent (e.g., $7 \times 7 )$ are mapped to an embedding
|
| 46 |
+
35 with a predefined dimension (e.g., $1 2 8 - d$ , $5 1 2 - d$ , etc.) by a fully connected (fc) layer, input
|
| 47 |
+
36 images need to be rescaled to a canonical spatial size (e.g., $1 1 2 \times 1 1 2 )$ before fed into the network.
|
| 48 |
+
37 However, up-sampling low-resolution (LR) images introduces the interpolation error (see Section 3.1),
|
| 49 |
+
38 deteriorating the recognizable ones which contain enough clues to identify the subject. Even though
|
| 50 |
+
39 super-resolution methods [4–10] are widely used to build faces with good visualization, they inevitably
|
| 51 |
+
40 introduce feature information of other identities when reconstructing high-resolution (HR) faces.
|
| 52 |
+
41 This may lead to erroneous identity-specific features, which are detrimental to risk-controlled face
|
| 53 |
+
42 recognition.
|
| 54 |
+
43 Empirically, we can divide inputs by resolution distribution and learn to operate on them via multiple
|
| 55 |
+
44 models to achieve high accuracy and efficiency. However, multi-model fashion cannot be applied
|
| 56 |
+
45 directly for cross-resolution recognition as representation compatibility among models need to be
|
| 57 |
+
46 guaranteed [11–15].
|
| 58 |
+
47 To improve discriminability while ensure the compatibility of the metric space for multi-resolution
|
| 59 |
+
48 face representation, we learn the “unified” representation by a partially-coupled Branch-to-Trunk
|
| 60 |
+
49 Network (BTNet). It is composed of multiple independent branch networks (BNets) and a shared
|
| 61 |
+
50 trunk network (TNet). A resolution-specific BNet is used for a given image, and the output are
|
| 62 |
+
51 implanted as feature maps in the feature pyramid of TNet, at a layer with the same resolution.
|
| 63 |
+
52 Furthermore, we find that multi-resolution training can be beneficial to building a strong and robust
|
| 64 |
+
53 TNet, and backward-compatible training (BCT) [11] can improve the representation compatibility
|
| 65 |
+
54 during the training process of BTNet. To ameliorate the discriminability of tiny faces, we propose
|
| 66 |
+
55 branch distillation in intermediate layers, utilizing information extracted from HR images to help the
|
| 67 |
+
56 extraction of discriminative features for resolution-specific branches.
|
| 68 |
+
57 Our method is simple and efficient, which breaks the convention of up-sampling the inputs and
|
| 69 |
+
58 serves as a general framework that can be easily implemented by several existing methods due to
|
| 70 |
+
59 conceptual simplicity. Meanwhile, BTNet is able to reduce the number of FLOPS by operating the
|
| 71 |
+
60 inputs without up-sampling, and per-resolution storage cost by only storing the learned branches and
|
| 72 |
+
61 resolution-aware BNs [16], while re-using the copy of the trunk model.
|
| 73 |
+
62 We demonstrate that our method performs comparably in various open-set face recognition tasks (1:1
|
| 74 |
+
63 face verification and 1: N face identification), in both settings of multi-resolution identity matching
|
| 75 |
+
64 and feature aggregation, while meaningfully reduces the redundant computation cost and parameter
|
| 76 |
+
65 storage. In the challenging QMUL-SurvFace 1: N face identification task [17], we establish new
|
| 77 |
+
66 state-of-the-art by outperforming prior models. Furthermore, by avoiding the ill-posed problem (i.e.,
|
| 78 |
+
67 image up-sampling), our approach also effectively reduces the additional noise and uncertainty of the
|
| 79 |
+
68 representation, which plays a key role in reliable risk-controlled face recognition.
|
| 80 |
+
|
| 81 |
+
# 69 2 Related Work
|
| 82 |
+
|
| 83 |
+
70 Compatible Representation Learning: The task of compatible representation learning aims at
|
| 84 |
+
71 encoding features that are interoperable with the features extracted from other models. Shen et. al.
|
| 85 |
+
72 [11] first formulated the problem of backward-compatible learning (BCT) and proposed to utilize the
|
| 86 |
+
73 old classifier for compatible feature learning. Since the multi-model fashion benefits representation
|
| 87 |
+
74 learning with lower computation, our idea of cross-resolution representation learning can be modeled
|
| 88 |
+
75 similar to cross-model compatibility [11–15], as metric space alignment for different resolutions. Our
|
| 89 |
+
76 goal is achieved by both compatibility-aware network architecture and training strategy.
|
| 90 |
+
77 Knowledge Distillation and Transfer: The concept of knowledge distillation (KD) was first
|
| 91 |
+
78 proposed by Hinton et. al. in [18], which can be summarized as employing a large parameter
|
| 92 |
+
79 model (teacher) to supervise the learning of a small parameter model (student). Distillation from
|
| 93 |
+
80 intermediate features [19–29] is widely adopted to enhance the effectiveness of knowledge transfer.
|
| 94 |
+
81 However, due to the “dark knowledge” hidden in the intermediate layers, additional subtle design is
|
| 95 |
+
82 often required to match and rescale intermediate features. Instead, our approach can easily locate the
|
| 96 |
+
83 distillation features without rescaling and effectively transfer knowledge from the HR domain to LR
|
| 97 |
+
84 branches.
|
| 98 |
+
85 Low Resolution Face Recognition: Its task includes low resolution-to-low resolution (LR-to-LR)
|
| 99 |
+
86 matching and low resolution-to-high resolution (LR-to-HR) matching [30]. The work can be divided
|
| 100 |
+
87 into two categories [31]: (1) Super-resolution (SR) based methods aim to upscale LR images to
|
| 101 |
+
88 construct HR images and use them for feature extraction [4–10]. (2) Projection-based methods aim to
|
| 102 |
+
89 extract adequate representations in different domains and project them into a common feature space
|
| 103 |
+
90 [32–34]. SR approaches are able to build faces with good visualization, but inevitably introduce
|
| 104 |
+
91 feature information of other identities when reconstructing corresponding HR faces, thus introducing
|
| 105 |
+
92 noise for identity-specific features. Compared to previous projection methods, our approach directly
|
| 106 |
+
93 learns discriminative representations in a common feature space for HR and LR inputs, without
|
| 107 |
+
94 additional projection heads for feature transformation.
|
| 108 |
+
|
| 109 |
+
Pseudo-Siamese Networks: Siamese networks are a coupling architecture based on DNNs, which are widely used for signature verification [35], face verification [36, 37], tracking [38], etc. PseudoSiamese networks [39] are decoupled Siamese networks, as the weights of the two branches are not shared, resulting in a more flexible representation way for the two entities. Hughes et. al. in [40] proposed a pseudo-Siamese CNN for identifying corresponding patches in SAR and optical images. Inspired by pseudo-Siamese networks, we propose a resolution-adaptive partially coupled Siamese network architecture, extracting specific-shared features for images with different resolutions.
|
| 110 |
+
|
| 111 |
+
# 3 Learning Specific-Shared Feature Transfer
|
| 112 |
+
|
| 113 |
+
Instead of rescaling the inputs to a canonical size, we build multiple resolution-specific branches (BNets) that are used to map inputs to intermediate features with the same resolution and a resolutionshared trunk (TNet) to map feature maps with different resolutions to a high-dimension embedding. We gain several important properties by doing so: (1) Processing inputs on its original resolution can diminish the inevitably introduced error via up-sampling or information loss via down-sampling, thus preserving the discriminability of visual information with different resolutions. (2) Information streams of different resolutions are encoded uniformly, thus enabling the representation compatibility, which is particularly beneficial to open-set face recognition considering that a compatible metric space is the prerequisite for computing similarity. (3) This also effectively reduce the computation for LR images by supplying computational resources conditioned on the input resolution.
|
| 114 |
+
|
| 115 |
+
# 113 3.1 Up-Sampling Error Analysis
|
| 116 |
+
|
| 117 |
+

|
| 118 |
+
Figure 1: Estimated Error Upperbound. (bilinear interpolation, average value for over 100 images) with the change of image resolution relative to resolution 112.
|
| 119 |
+
|
| 120 |
+

|
| 121 |
+
Figure 2: Basic ideas of the proposed BTNet. Images of a certain identity are first projected to the feature maps with the same resolution respectively (Adapt) and then projected to a unified feature representation (Encode). In this figure, feature maps with the same resolution are indicated by outlines in the same color.
|
| 122 |
+
|
| 123 |
+
114 Figure 1 illustrates the experimental estimation of interpolation error, whose upper bound increases
|
| 124 |
+
115 with the decline of the image resolution (see detailed theoretical derivation in Appendix A.1). Note
|
| 125 |
+
116 that the error soars up when the resolution drops below 32 approximately which can be viewed as LR
|
| 126 |
+
117 face images, consistent with the tiny-object criterion [41].
|
| 127 |
+
118 The results show that: (1) inputs with a resolution higher than around 32 can be considered in the
|
| 128 |
+
119 same HR domain, since the error information introduced by up-sampling via interpolation can be
|
| 129 |
+
120 ignored to a certain extent; (2) inputs with a resolution lower than around 32 should be treated as in
|
| 130 |
+
121 various LR domains due to the high sensitivity of the resolution to errors.
|
| 131 |
+
|
| 132 |
+
# 3.2 Branch-to-Trunk Network
|
| 133 |
+
|
| 134 |
+
Let $X$ be an input RGB image with a space shape: $X \in \mathbb { R } ^ { H \times W \times 3 }$ where $H \times W$ corresponds to the spatial dimension of the input. For efficient batch training and inference, we predefine a canonical size $S \times S$ (e.g., $1 1 2 \times 1 1 2$ for typical face recognition models like ArcFace [1]).
|
| 135 |
+
|
| 136 |
+
We build a trunk network $\boldsymbol { T } : \mathbb { R } ^ { H \times W \times 3 } \mathbb { R } ^ { C _ { e m b } }$ capable of extracting discriminative information with different resolutions, where $C _ { e m b }$ is the number of embedding channels. For every resolution $r$ in the candidate set, we formulate a resolution-specific branch, $z _ { r } = \textit { B } _ { r } ( X _ { r } )$ , which maps the input image $X _ { r }$ to feature maps with the same resolution and expanded channels $\boldsymbol { z } _ { r } : \mathbb { R } ^ { r \times r \times 3 } \mathbb { R } ^ { r \times r \times C _ { r } }$ . The idea is to learn our branches $B$ to focus on resolution-specific feature transfer independently. Feature maps will then be coupled to the trunk network $T$ in the feature pyramid with the same spatial resolution $r \times r$ , allowing for further mapping to the unified presentation space by $T _ { r } : \mathbb { R } ^ { r \times r \times C _ { r } } $ $\mathbb { R } ^ { C _ { e m b } }$ .
|
| 137 |
+
|
| 138 |
+
Here, we follow the idea of “avoiding redundant up-sampling”. Our branches $B$ are implemented with same-resolution mapping: i.e., the model preserves the network architecture of $T$ from input to the layer with resolution $r$ and abandons down-sampling operations (e.g., replacing the convolution of stride 2 with stride 1, abandoning the pooling layers, etc.) to keep the same-resolution flow.
|
| 139 |
+
|
| 140 |
+
We specifically name our specific-shared feature transfer network as Branch-to-Trunk Network, abbreviated as "BTNet". Figure 2 visually summarizes the main ideas of BTNet.
|
| 141 |
+
|
| 142 |
+
# 3.3 Training Objectives
|
| 143 |
+
|
| 144 |
+
We now describe the training objectives. The training of BTNet includes training the trunk network $T$ such that it can produce discriminative and compatible representations for multi-resolution information, and fine-tuning the branch networks $B$ to encourage them to learn resolution-specific feature transfer, so as to improve accuracy without compromising compatibility.
|
| 145 |
+
|
| 146 |
+
Influence Loss. It is a compatibility-aware classification loss which is implemented by feeding the embeddings of the new model to the classifier of the old model [11]. Since the difficulties of samples vary due to image resolution, we compute CurricularFace [3] as our classification loss, in the form of:
|
| 147 |
+
|
| 148 |
+
$$
|
| 149 |
+
L _ { c u r } = - \log ( \frac { e ^ { s \cos ( \theta _ { y _ { i } } + m ) } } { e ^ { s \cos ( \theta _ { y _ { i } } + m ) } + \sum _ { j = 1 , j \neq y _ { i } } ^ { n } e ^ { s N ( t ^ { ( k ) } , \cos ( \theta _ { j } ) ) } } )
|
| 150 |
+
$$
|
| 151 |
+
|
| 152 |
+
$$
|
| 153 |
+
\begin{array} { c } { { N ( t , \cos \theta _ { j } ) = \displaystyle \left\{ \begin{array} { l c } { { \cos ( \theta _ { j } ) , } } & { { \cos ( \theta _ { y _ { i } } + m ) - \cos ( \theta _ { j } ) \ge 0 } } \\ { { \cos ( \theta _ { j } ) ( t + \cos ( \theta _ { j } ) ) , } } & { { e l s e } } \end{array} \right. } } \\ { { t ^ { ( k ) } = \displaystyle \alpha \sum _ { i } \cos \theta _ { y _ { i } } + ( 1 - \alpha ) t ^ { ( k - 1 ) } } } \end{array}
|
| 154 |
+
$$
|
| 155 |
+
|
| 156 |
+
150 which distinguishes both the difficultness of different samples in each stage and relative importance
|
| 157 |
+
151 of easy and hard samples during different training stages. Thus, we refine CurricularFace loss as our
|
| 158 |
+
152 influence loss:
|
| 159 |
+
|
| 160 |
+
$$
|
| 161 |
+
L _ { i n f l u e n c e } = L _ { c u r } ( \varphi _ { b t } , \kappa ^ { * } )
|
| 162 |
+
$$
|
| 163 |
+
|
| 164 |
+
where 153 $\varphi _ { b t }$ is BTNet backbone (both $B _ { r }$ and $T _ { r }$ ), and $\kappa ^ { * }$ is the classifier of the pretrained trunk $T$ .
|
| 165 |
+
|
| 166 |
+
154 Branch Distillation Loss. Due to the
|
| 167 |
+
155 continuity of the scale change of both the
|
| 168 |
+
156 image pyramid and the feature pyramid
|
| 169 |
+
157 [42], we can get a qualitative sense of
|
| 170 |
+
158 the similarity between images and feature
|
| 171 |
+
159 maps with the same resolution (see Figure
|
| 172 |
+
160 3). Furthermore, features extracted from
|
| 173 |
+
161 HR images have richer and clearer infor
|
| 174 |
+
162 mation than those from LR images [43].
|
| 175 |
+
163 Motivated by these analyses, we utilize an
|
| 176 |
+
164 MSE loss to encourage the branch output
|
| 177 |
+
165 $z _ { r }$ to be similar to the corresponding fea
|
| 178 |
+
166 ture maps of the pretrained trunk network
|
| 179 |
+
167 $z _ { s }$ :
|
| 180 |
+
|
| 181 |
+

|
| 182 |
+
Figure 3: Visual comparison of face image-feature map pairs with different resolutions (resized to a common size here for illustration).
|
| 183 |
+
|
| 184 |
+
$$
|
| 185 |
+
L _ { b r a n c h } = \frac { 1 } { V } \sum _ { v = 1 } ^ { V } { ( z _ { r _ { v } } - z _ { s _ { v } } ) } ^ { 2 }
|
| 186 |
+
$$
|
| 187 |
+
|
| 188 |
+
168 where $V$ denotes the batch size.
|
| 189 |
+
|
| 190 |
+
169 The whole training objective is a combination of the above objectives:
|
| 191 |
+
|
| 192 |
+
$$
|
| 193 |
+
L = L _ { i n f l u e n c e } + \lambda _ { b r a n c h } L _ { b r a n c h }
|
| 194 |
+
$$
|
| 195 |
+
|
| 196 |
+
170 where $\lambda _ { b r a n c h }$ is a hyper-parameter to weigh the losses and we set $\lambda _ { b r a n c h } = 0 . 5$ in all our experi
|
| 197 |
+
171 ments.
|
| 198 |
+
|
| 199 |
+

|
| 200 |
+
Figure 4: Comparison of $\#$ Params $\mathbf { \Psi } ^ { ( \mathbf { M } ) }$ between fully finetuning and $\varphi _ { b t }$ .
|
| 201 |
+
|
| 202 |
+

|
| 203 |
+
Figure 5: Comparison of FLOPs (G) between baselines and $\varphi _ { b t }$ .
|
| 204 |
+
|
| 205 |
+
# 172 3.4 Storing Branch Networks
|
| 206 |
+
|
| 207 |
+
An obvious adaptation strategy is fully finetuning of the model on each resolution. However, this strategy requires one to store and deploy a separate copy of the backbone parameters for every resolution, which is an expensive proposition and difficult to expand into more segmented resolution branches. Our BTNet is beneficial in the scenario of multi-resolution face recognition which achieves better parameter/accuracy trade-offs. Since activation statistics including means and variances under different resolutions are incompatible [44], we update and store Batch Normalization (BN) [45] parameters in all layers of $B _ { r }$ and $T _ { r }$ for each resolution, whose amount is negligible. Apart from this, we only need to store the learned branches and re-use the original copy of the pretrained trunk model, significantly reducing the storage cost. Figure 4 shows that BTNet requires only $1 . 1 \% \sim 4 8 . 9 \%$ of all the parameters compared to fully updating all the parameters of TNet.
|
| 208 |
+
|
| 209 |
+
# 4 Experiments
|
| 210 |
+
|
| 211 |
+
184 To validate BTNet on face recognition tasks in open universe, we perform 1:1 verification and $1 : N$
|
| 212 |
+
185 identification tasks in two different settings, including (a) multi-resolution identity matching, and
|
| 213 |
+
|
| 214 |
+
(b) multi-resolution feature aggregation. For 1:1 verification, a pair of templates are provided and the model is to decide whether they belong to the same identity or not. For 1:N identification, a set of gallery images are first mapped onto their embedding vectors (indexing) and the embeddings of query images are extracted to perform search against indexed gallery.
|
| 215 |
+
|
| 216 |
+
# 4.1 Implementation Details
|
| 217 |
+
|
| 218 |
+
Datasets. We use MS1Mv3 [46] for training face embedding models. The MS1Mv3 dataset contains 5,179,510 images of 93,431 celebrities. According to the test setting, different test datasets are used.
|
| 219 |
+
|
| 220 |
+
·Multi-Resolution Identity Matching. We try on six widely adopted face verification benchmarks: LFW [47], CFP-FF [48], CFP-FP [48], AgeDB-30 [49], CALFW [50], and CPLFW [51], while the large-scale surveillance face dataset QMUL-SurvFace [17] is used for 1:N face identification, which contains native LR surveillance faces across wide space and time. The spatial resolution for QMUL-SurvFace ranges from 6/5 to 124/106 in height/width with an average of 24/20.
|
| 221 |
+
|
| 222 |
+
·Multi-Resolution Feature Aggregation. We adopt a top challenging benchmark IJB-C [52], which has around 130k images from 3,531 identities, for two standard testing protocols: $1 : 1$ verification and 1:N identification.
|
| 223 |
+
|
| 224 |
+
Training. All the models are trained on four RTX 2080 Tis with batch size 128 by stochastic gradient descent. For TNet, we train for 25 epochs, with learning rate initialized at 0.2 with 2 warmup epochs and decaying as a quadratic polynomial. We augment training samples by random horizonal flipping and multi-resolution training. For BNets, we initialize the learning rate by 0.02 without warm-up epochs. The training all stops at the $1 0 t h$ epoch for a fair comparison. The recommended hyper-parameters are used for classification loss from the original paper (e.g., $m = 0 . 5 , s = 6 4$ for ArcFace [1], and $\alpha = 0 . 9 9 , t ^ { 0 } = 0$ for CurricularFace [3]). Only horizonal flipping is used as augmentation when training BNets.
|
| 225 |
+
|
| 226 |
+
Baselines. In our experiment, several baselines are used to validate BTNet in learning discriminative and compatible representations for multi-resolution face recognition.
|
| 227 |
+
|
| 228 |
+
·High-Resolution Trained $\varphi _ { h r }$ . Naive baseline trained with HR data.
|
| 229 |
+
|
| 230 |
+
·Independently Trained $\varphi _ { m m }$ . Multi-model fashion: is it possible to achieve better results if we train a specific model for each resolution independently? Specifically, we train $\varphi _ { r }$ for data with resolution $r$ and denote the multi-model collections as $\varphi _ { m m }$ .
|
| 231 |
+
|
| 232 |
+
·Multi-Resolution Trained $\varphi _ { m r }$ . Trained with multi-resolution data which adapts to resolutionvariance. Specifically, each image is randomly down-sampled to a size in the candidate set $\textstyle \{ { \frac { 1 1 2 } { 2 ^ { i } } } \ x$ $\textstyle { \frac { 1 1 2 } { 2 ^ { i } } } | i = 0 , 1 , 2 , 3 , 4 \}$ with equal probability of being chosen, and then up-sampled back to $1 1 2 \times 1 1 2$
|
| 233 |
+
|
| 234 |
+
Instantiation of Network Architecture. The BTNet and baselines are implemented with ResNet50 [53], and they could be extended easily with other implementations. Dubbed as $\varphi _ { b t }$ , the detailed instantiation of BTNet based on ResNet50 is illustrated in Appendix A.2.
|
| 235 |
+
|
| 236 |
+
# 4.2 Evaluation Metrics
|
| 237 |
+
|
| 238 |
+
On the benchmarks for face verification, we use 1:1 verification accuracy as the basic metrics. The rank-20 true positive identification rates (TPIR20) at varying false positive identification rates (FPIR) and AUC are used to report the identification results on QMUL-SurvFace. The evaluation metrics for IJB-C 1:1 verification protocol are true acceptance rates (TAR) at different false acceptance rate (FAR). For 1:N identification, the basic evaluation metrics are the true positive identification rates (TPIR) at different false positive identification rates (FPIR).
|
| 239 |
+
|
| 240 |
+
229 For better evaluation, we define another two metrics to assess the relative performance gain similar to
|
| 241 |
+
230 [11, 14].
|
| 242 |
+
|
| 243 |
+
(a) Cross-resolution identity matching.
|
| 244 |
+
|
| 245 |
+
Table 1: Comparison of different methods on six face verification benchmarks. “Acc.” denotes average 1:1 verification accuracy.
|
| 246 |
+
|
| 247 |
+
<table><tr><td rowspan="2"></td><td colspan="2">112&7</td><td colspan="2">112&14</td><td colspan="2">112&28</td></tr><tr><td>Acc.</td><td>Gain</td><td>Acc.</td><td>Gain</td><td>Acc.</td><td>Gain</td></tr><tr><td>hr</td><td>57.75</td><td>-</td><td>81.02</td><td>=</td><td>95.90</td><td></td></tr><tr><td>mm</td><td>50.58</td><td>-0.89</td><td>49.90</td><td>-4.82</td><td>50.03</td><td>-305.80</td></tr><tr><td>mr</td><td>65.85</td><td>+1.00</td><td>87.47</td><td>+1.00</td><td>96.05</td><td>+1.00</td></tr><tr><td>bt(Ours)</td><td>86.10</td><td>+3.50</td><td>94.08</td><td>+2.02</td><td>96.65</td><td>+5.00</td></tr></table>
|
| 248 |
+
|
| 249 |
+
(b) Same-resolution identity matching.
|
| 250 |
+
|
| 251 |
+
<table><tr><td colspan="2">7&7</td><td colspan="2">14&14</td><td colspan="2">28&28</td><td colspan="2">112&112</td></tr><tr><td>Acc.</td><td>Gain</td><td>Acc.</td><td>Gain</td><td>Acc.</td><td>Gain</td><td>Acc.</td><td>Gain</td></tr><tr><td>60.70</td><td></td><td>73.88</td><td></td><td>93.58</td><td>=</td><td>97.68</td><td>-</td></tr><tr><td>62.57</td><td>+1.00</td><td>78.00</td><td>+1.00</td><td>94.68</td><td>+1.00</td><td>97.68</td><td>-</td></tr><tr><td>61.02</td><td>+0.17</td><td>80.32</td><td>+1.56</td><td>95.12</td><td>+1.40</td><td>97.25</td><td>-</td></tr><tr><td>77.78</td><td>+9.13</td><td>90.90</td><td>+4.13</td><td>96.27</td><td>+2.45</td><td>97.25</td><td>=</td></tr></table>
|
| 252 |
+
|
| 253 |
+
231 Cross-Resolution Gain. With the purpose towards the cross-resolution compatible representations,
|
| 254 |
+
232 we define the performance gain as follows:
|
| 255 |
+
|
| 256 |
+
$$
|
| 257 |
+
G a i n _ { r _ { 1 } \& r _ { 2 } } ( \varphi ) = \frac { M _ { r _ { 1 } \& r _ { 2 } } ( \varphi ) - M _ { r _ { 1 } \& r _ { 2 } } ( \varphi _ { h r } ) } { | M _ { r _ { 1 } \& r _ { 2 } } ( \varphi _ { m r } ) - M _ { r _ { 1 } \& r _ { 2 } } ( \varphi _ { h r } ) | }
|
| 258 |
+
$$
|
| 259 |
+
|
| 260 |
+
Here 33 $M _ { r _ { 1 } \& r _ { 2 } } ( \cdot )$ are metrics when the resolutions of the image/template pair are $r _ { 1 } \times r _ { 1 }$ and $r _ { 2 } \times r _ { 2 }$ 4 $( r _ { 1 } \neq r _ { 2 } )$ , respectively. $\varphi _ { m r }$ shares the same architecture with $\varphi _ { h r }$ while is trained on multi-resolution 5 images and thus serves as the baseline of cross-resolution gain.
|
| 261 |
+
|
| 262 |
+
36 Same-Resolution Gain. For the scenario of multi-resolution face recognition, the performance of
|
| 263 |
+
37 same-resolution verification/identification is also vital besides cross-resolution one. Therefore, we
|
| 264 |
+
38 report the relative performance improvement from base model $\varphi _ { h r }$ in the scenario of same-resolution.
|
| 265 |
+
|
| 266 |
+
$$
|
| 267 |
+
G a i n _ { r \& r } ( \varphi ) = \frac { M _ { r \& r } ( \varphi ) - M _ { r \& r } ( \varphi _ { h r } ) } { | M _ { r \& r } ( \varphi _ { r } ) - M _ { r \& r } ( \varphi _ { h r } ) | }
|
| 268 |
+
$$
|
| 269 |
+
|
| 270 |
+
39 Here $M _ { r \& r } \left( \cdot \right)$ are metrics when the resolutions of the image/template pair are both $r \times r$ . $\varphi _ { r }$ is
|
| 271 |
+
40 a model of the set $\{ \varphi _ { m m } = \varphi _ { r } | r = 7 , 1 4 , 2 8 \}$ trained on images with resolution $r \times r$ without
|
| 272 |
+
41 considering cross-resolution representation compatibility, which serves as the baseline of same
|
| 273 |
+
42 resolution gain on resolution $r$ . Note that for both metrics we add the absolute symbol to the
|
| 274 |
+
43 denominator as they can be negative in some test settings (detailed in Section 4.3 and 4.4).
|
| 275 |
+
|
| 276 |
+
# 4.3 Multi-Resolution Identity Matching
|
| 277 |
+
|
| 278 |
+
We now conduct experiments on the proposed BTNet framework for multi-resolution identity matching. Two different settings are included : (1) same-resolution matching, and (2) cross-resolution matching. Table 1 compares the average performance on popular benchmarks for $\varphi _ { h r } , \varphi _ { m m } , \varphi _ { m r } ,$ $\varphi _ { b t }$ . The experimental results on each dataset are detailed in Appendix A.5.
|
| 279 |
+
|
| 280 |
+
249 When directly applied to test data with the resolution lower than training data, $\varphi _ { h r }$ suffers a severe
|
| 281 |
+
250 performance degradation. Up-sampling images via interpolation can increase the amount of data
|
| 282 |
+
251 but not the amount of information, only to improve the detailed part of the image and the spatial
|
| 283 |
+
252 resolution (size) [64]. Moreover, it also brings various noise and artificial processing traces [65].
|
| 284 |
+
253 Up-sampling images via interpolation-typically bilinear interpolation or bicubic interpolation of
|
| 285 |
+
254 4x4 pixel neighborhoods, essentially a function approximation method, is bound to introduce error
|
| 286 |
+
255 information (detailed in Appendix A.1), thus potentially confusing identity information, which is
|
| 287 |
+
256 especially crucial for LR images with limited details. We are able to observe improvement of $\varphi _ { m m }$ in
|
| 288 |
+
257 same-resolution matching but its cross-resolution gain is negative with approximately $50 \%$ accuracy.
|
| 289 |
+
258 Unsurprisingly, independently trained $\varphi _ { r }$ is unaware of representation compatibility, and thus does
|
| 290 |
+
259 not naturally suitable for cross-resolution recognition. The results show that $\varphi _ { m r }$ improved both
|
| 291 |
+
260 cross-resolution and same-resolution accuracy by a large margin, as it learns to adapt to resolution
|
| 292 |
+
261 variance and maintain discriminability of multi-resolution inputs. Note that the model size and
|
| 293 |
+
262 training data scale stay the same, while only the resolution distribution of the data changes for
|
| 294 |
+
263 $\varphi _ { m r }$ , and thus there is a marginal accuracy drop in the setting of 112&112 matching. Comparably,
|
| 295 |
+
264 $\varphi _ { b t }$ substantially outperforms all baselines with $2 . 0 2 \sim 5 . 0 0$ cross-resolution gain and 2.45\~9.13
|
| 296 |
+
265 same-resolution gain. Importantly, due to the multi-resolution branches, our approach has a cost same
|
| 297 |
+
266 with $\varphi _ { m m }$ , significantly lower than $\varphi _ { h r }$ and $\varphi _ { m r }$ (see Figure 5).
|
| 298 |
+
267 For inference on inputs with resolutions not strictly matched to the branch, we validate three selection
|
| 299 |
+
268 strategies based on three resolution indicators (see Figure 6). Table 2 compares BTNet against the
|
| 300 |
+
269 state-of-the-arts models on QMUL-SurvFace 1:N identification benchmark. We are able to observe
|
| 301 |
+
270 that our proposed approach extends the state-of-the-arts while being more computationally efficient.
|
| 302 |
+
271 We believe the performance of BTNet (max $^ +$ ceil) is the highest that have been reported so far, and
|
| 303 |
+
272 we believe it is meaningful with the increased focus on unconstrained surveillance applications.
|
| 304 |
+
|
| 305 |
+
Table 2: Performance of face identification on QMUL-SurvFace. Most compared results are cited from [17, 54] except BTNet.
|
| 306 |
+
|
| 307 |
+
<table><tr><td rowspan="2"></td><td colspan="5">TPIR20(%)@FPIR</td></tr><tr><td>AUC</td><td>0.3</td><td>0.2</td><td>0.1</td><td>0.01</td></tr><tr><td>VGG-Face [55]</td><td>14.0</td><td>5.1</td><td>2.6</td><td>0.8</td><td>0.1</td></tr><tr><td>DeepID2 [56]</td><td>20.8</td><td>12.8</td><td>8.1</td><td>3.4</td><td>0.8</td></tr><tr><td>FaceNet [57]</td><td>19.8</td><td>12.7</td><td>8.1</td><td>4.3</td><td>1.0</td></tr><tr><td>SphereFace [58]</td><td>28.1</td><td>21.3</td><td>15.7</td><td>8.3</td><td>1.0</td></tr><tr><td>SRCNN [59]</td><td>27.0</td><td>20.0</td><td>14.9</td><td>6.2</td><td>0.6</td></tr><tr><td>FSRCNN [60]</td><td>27.3</td><td>20.0</td><td>14.4</td><td>6.1</td><td>0.7</td></tr><tr><td>VDSR [61]</td><td>27.3</td><td>20.1</td><td>14.5</td><td>6.1</td><td>0.8</td></tr><tr><td>DRRN [62]</td><td>27.5</td><td>20.3</td><td>14.9</td><td>6.3</td><td>0.6</td></tr><tr><td>LapSRN [63]</td><td>27.4</td><td>20.2</td><td>14.7</td><td>6.3</td><td>0.7</td></tr><tr><td>ArcFace [1]</td><td>25.3</td><td>18.7</td><td>15.1</td><td>10.1</td><td>2.0</td></tr><tr><td>RAN [54]</td><td>32.3</td><td>26.5</td><td>21.6</td><td>14.9</td><td>3.8</td></tr><tr><td>BTNet (avg.+floor)</td><td>32.6</td><td>27.9</td><td>23.4</td><td>16.5</td><td>1.4</td></tr><tr><td>BTNet (avg.+near)</td><td>34.6</td><td>30.3</td><td>25.7</td><td>18.9</td><td>1.5</td></tr><tr><td>BTNet (avg.+ceil)</td><td>35.4</td><td>31.1</td><td>26.8</td><td>20.3</td><td>2.2</td></tr><tr><td>BTNet (min+floor)</td><td>32.3</td><td>27.6</td><td>23.2</td><td>16.1</td><td>1.4</td></tr><tr><td>BTNet (min+near)</td><td>34.0</td><td>29.6</td><td>25.0</td><td>18.0</td><td>1.4</td></tr><tr><td>BTNet (min+ceil)</td><td>35.3</td><td>31.0</td><td>26.6</td><td>19.9</td><td>2.0</td></tr><tr><td>BTNet (max+floor)</td><td>33.6</td><td>29.1</td><td>24.5</td><td>17.6</td><td>1.3</td></tr><tr><td>BTNet (max+near)</td><td>35.2</td><td>31.0</td><td>26.4</td><td>19.6</td><td>1.7</td></tr><tr><td>BTNet (max+ceil)</td><td>35.4</td><td>31.2</td><td>26.9</td><td>20.6</td><td>2.5</td></tr></table>
|
| 308 |
+
|
| 309 |
+
# 4.4 Multi-Resolution Feature Aggregation
|
| 310 |
+
|
| 311 |
+
Multi-resolution feature aggregation is common in set-based recognition tasks where the model needs to determine the similarity of sets (templates), instead of images. Each set could contain images of the same identity with different resolutions. In our experiment, we rescale the original and flipped images in each set to different resolutions and aggregate their features into a representation of the template. Detailed experimental results can be seen in Appendix A.5.
|
| 312 |
+
|
| 313 |
+
Table 3 (a) compares the cross-resolution results of $\mathrm { T A R } @ \mathrm { F A R } = 1 0 ^ { - 4 }$ for 1:1 verification. The cross-resolution features are ensured to be mapped to the same vector space where the aggregation is conducted for $\varphi _ { h r }$ and $\varphi _ { m r }$ , but we can observe that $\varphi _ { h r }$ performs much better than $\varphi _ { m r }$ . One possible reason is that $\varphi _ { h r }$ has outstanding discriminability to extract HR features, while LR features may not overly deteriorate the HR information. This phenomenon also suggests that $\varphi _ { m r }$ sacrifices its discriminability in exchange for the adaptability for resolution-variance. We can see $\varphi _ { b t }$ is comparable with $\varphi _ { h r }$ , demonstrating the discriminative power of BTNet for aggregating multi-resolution features.
|
| 314 |
+
|
| 315 |
+
Table 3 (b) compares the same-resolution results of $\mathrm { T A R } @ \mathrm { F A R } = 1 0 ^ { - 4 }$ for 1:1 verification. When HR information is removed from the template representation (i.e., test settings 7&7, 14&14, 28&28), $\varphi _ { h r }$ suffers from performance degradation as well, as the informative embedding cannot catch the lost details of the LR images [54]. Both $\varphi _ { m m }$ and $\varphi _ { m r }$ improve with a limited same-resolution gain, while $\varphi _ { b t }$ surpasses the baselines by a large margin while also reducing the compute.
|
| 316 |
+
|
| 317 |
+
In Table 4 we show the results of291 $\mathrm { T P I R } @ \mathrm { F P I R } { = } 1 0 ^ { - 1 }$ for 1:N identification protocol. Similar to our 292 results for 1:1 verification, we are able to observe that $\varphi _ { b t }$ is comparable or even better than $\varphi _ { h r }$ with
|
| 318 |
+
|
| 319 |
+
Table 3: Comparison of different methods on the IJB-C dataset 1:1 face verification task.
|
| 320 |
+
“TAR” denotes TAR $( \% @ \mathsf { F A R = } 1 \mathsf { e } { \mathrm { - } } 4 )$ .
|
| 321 |
+
|
| 322 |
+
(a) Cross-resolution feature aggregation.
|
| 323 |
+
|
| 324 |
+
(b) Same-resolution feature aggregation.
|
| 325 |
+
|
| 326 |
+
<table><tr><td colspan="2">7&7</td><td colspan="2">14&14</td><td colspan="2">28&28</td><td colspan="2">112&112</td></tr><tr><td>TAR</td><td>Gain</td><td>TAR</td><td>Gain</td><td>TAR</td><td>Gain</td><td>TAR</td><td>Gain</td></tr><tr><td>4.83</td><td>=</td><td>33.74</td><td></td><td>89.65</td><td></td><td>96.40</td><td></td></tr><tr><td>4.83</td><td>+0.00</td><td>29.26</td><td>-1.00</td><td>92.58</td><td>+1.00</td><td>96.40</td><td>=</td></tr><tr><td>4.48</td><td>-</td><td>40.51</td><td>+1.51</td><td>92.81</td><td>+1.08</td><td>96.06</td><td></td></tr><tr><td>35.47</td><td>-</td><td>82.08</td><td>+10.79</td><td>94.50</td><td>+1.66</td><td>96.06</td><td>=</td></tr></table>
|
| 327 |
+
|
| 328 |
+
<table><tr><td></td><td colspan="2">112&7</td><td colspan="2">112&14</td><td colspan="2">112&28</td></tr><tr><td></td><td>TAR</td><td>Gain</td><td>TAR</td><td>Gain</td><td>TAR</td><td>Gain</td></tr><tr><td>hr</td><td>88.89</td><td></td><td>92.40</td><td>=</td><td>95.62</td><td></td></tr><tr><td>mm</td><td>74.54</td><td>-0.56</td><td>93.52</td><td>+1.33</td><td>95.42</td><td>-0.69</td></tr><tr><td>mr</td><td>63.11</td><td>-1.00</td><td>91.56</td><td>-1.00</td><td>95.33</td><td>-1.00</td></tr><tr><td>bt(Ours)</td><td>88.17</td><td>-0.03</td><td>93.97</td><td>+1.87</td><td>95.62</td><td>+0.00</td></tr></table>
|
| 329 |
+
|
| 330 |
+
Table 4: Comparison of different methods on the IJB-C dataset 1: N face identification task.
|
| 331 |
+
“TPIR” denotes TPIR $( \% @ \mathsf { G P I R { = } } 0 . 1 $ ).
|
| 332 |
+
|
| 333 |
+
(a) Cross-resolution feature aggregation.
|
| 334 |
+
|
| 335 |
+
<table><tr><td></td><td colspan="2">112&7</td><td colspan="2">112&14</td><td colspan="2">112&28</td></tr><tr><td></td><td>TPIR</td><td>Gain</td><td>TPIR</td><td>Gain</td><td>TPIR</td><td>Gain</td></tr><tr><td>hr</td><td>85.60</td><td>-</td><td>90.11</td><td>-</td><td>94.27</td><td>-</td></tr><tr><td>mm</td><td>69.70</td><td>-0.55</td><td>91.73</td><td>+1.53</td><td>94.13</td><td>-0.33</td></tr><tr><td>mr</td><td>56.64</td><td>-1.00</td><td>89.05</td><td>-1.00</td><td>93.84</td><td>-1.00</td></tr><tr><td>bt(Ours)</td><td>83.93</td><td>-0.06</td><td>91.87</td><td>+1.66</td><td>94.33</td><td>+0.14</td></tr></table>
|
| 336 |
+
|
| 337 |
+
(b) Same-resolution feature aggregation.
|
| 338 |
+
|
| 339 |
+
<table><tr><td colspan="2">7&7</td><td colspan="2">14&14</td><td>28&28</td><td></td><td colspan="2">112&112</td></tr><tr><td>TPIR</td><td>Gain</td><td>TPIR</td><td>Gain</td><td>TPIR</td><td>Gain</td><td>TPIR</td><td>Gain</td></tr><tr><td>3.12</td><td>-</td><td>26.37</td><td>-</td><td>86.06</td><td>=</td><td>95.57</td><td>-</td></tr><tr><td>3.24</td><td>+1.00</td><td>21.84</td><td>-1.00</td><td>89.76</td><td>+1.00</td><td>95.57</td><td>=</td></tr><tr><td>3.25</td><td>+1.08</td><td>37.58</td><td>+2.47</td><td>91.02</td><td>+1.34</td><td>94.85</td><td>-</td></tr><tr><td>27.70</td><td>+204.83</td><td>76.65</td><td>+11.10</td><td>92.89</td><td>+1.85</td><td>94.85</td><td>-</td></tr></table>
|
| 340 |
+
|
| 341 |
+
293 HR information involved and can preserve superior discriminability with limited LR information,
|
| 342 |
+
294 while also being more computationally efficient.
|
| 343 |
+
|
| 344 |
+

|
| 345 |
+
Figure 6: Branch selection process. Max/min/average is used on (W, H) to obtain a resolution indicator for further allocation (floor/near/ceil) to a certain branch.
|
| 346 |
+
|
| 347 |
+
# 295 5 Discussion and Conclusion
|
| 348 |
+
|
| 349 |
+
This paper works on the problem of multi-resolution face recognition, and provides a new scheme to operate images conditioned on its input resolution without large span rescaling. The error introduced by up-sampling via interpolation is investigated and analyzed. Decoupled as branches for discriminative representation learning and coupled as the trunk for compatible representation learning, our Branch-to-Trunk Network (BTNet) achieves significant improvements on multi-resolution face verification and identification tasks. Besides, the superiority of BTNet in reducing computational cost and parameter storage cost is also demonstrated. It is worth noting that our approach is easy to expand to recognition tasks for other classes of objects and has the potential to serve as a general network architecture for multi-resolution visual recognition.
|
| 350 |
+
|
| 351 |
+
Limitations and Future Work. The dislocation between the underlying optical resolution of native face images and that of a certain branch may limit the power of the model, which may be improved by selecting the optimal processing branch for the input in combination with the image quality, rather than by image size alone. The optimal branch selection strategy is not fully investigated though we have provided an intuitive way to select the branch for inputs (see Figure 6). Importantly, based on the unified multi-resolution metric space, the underlying resolution of the inputs (integrated spatial resolution with quality assessment) can be utilized to provide the reliability of the representation and contribute to risk-controlled face recognition. They will be our future research directions.
|
| 352 |
+
|
| 353 |
+
References
|
| 354 |
+
[1] Jiankang Deng, Jia Guo, Niannan Xue, and Stefanos Zafeiriou. Arcface: Additive angular margin loss for deep face recognition. In IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2019, Long Beach, CA, USA, June 16-20, 2019, pages 4690–4699. Computer Vision Foundation / IEEE, 2019.
|
| 355 |
+
[2] Xiaobo Wang, Shifeng Zhang, Shuo Wang, Tianyu Fu, Hailin Shi, and Tao Mei. Mis-classified vector guided softmax loss for face recognition. In The Thirty-Fourth AAAI Conference on Artificial Intelligence, AAAI 2020, The Thirty-Second Innovative Applications of Artificial Intelligence Conference, IAAI 2020, The Tenth AAAI Symposium on Educational Advances in Artificial Intelligence, EAAI 2020, New York, NY, USA, February 7-12, 2020, pages 12241– 12248. AAAI Press, 2020.
|
| 356 |
+
[3] Yuge Huang, Yuhan Wang, Ying Tai, Xiaoming Liu, Pengcheng Shen, Shaoxin Li, Jilin Li, and Feiyue Huang. Curricularface: Adaptive curriculum learning loss for deep face recognition. In 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2020, Seattle, WA, USA, June 13-19, 2020, pages 5900–5909. Computer Vision Foundation / IEEE, 2020.
|
| 357 |
+
[4] Shizhan Zhu, Sifei Liu, Chen Change Loy, and Xiaoou Tang. Deep cascaded bi-network for face hallucination. In Bastian Leibe, Jiri Matas, Nicu Sebe, and Max Welling, editors, Computer Vision – ECCV 2016, pages 614–630, Cham, 2016. Springer International Publishing.
|
| 358 |
+
[5] Klemen Grm, Walter J. Scheirer, and Vitomir Struc. Face hallucination using cascaded superresolution and identity priors. IEEE Trans. Image Process., 29:2150–2165, 2020.
|
| 359 |
+
[6] Zhangyang Wang, Shiyu Chang, Yingzhen Yang, Ding Liu, and Thomas S. Huang. Studying very low resolution recognition using deep networks. CoRR, abs/1601.04153, 2016.
|
| 360 |
+
[7] Zhiyi Cheng, Xiatian Zhu, and Shaogang Gong. Low-resolution face recognition. In C. V. Jawahar, Hongdong Li, Greg Mori, and Konrad Schindler, editors, Computer Vision - ACCV 2018 - 14th Asian Conference on Computer Vision, Perth, Australia, December 2-6, 2018, Revised Selected Papers, Part III, volume 11363 of Lecture Notes in Computer Science, pages 605–621. Springer, 2018.
|
| 361 |
+
[8] Xi Yin, Ying Tai, Yuge Huang, and Xiaoming Liu. FAN: feature adaptation network for surveillance face recognition and normalization. In Hiroshi Ishikawa, Cheng-Lin Liu, Tomás Pajdla, and Jianbo Shi, editors, Computer Vision - ACCV 2020 - 15th Asian Conference on Computer Vision, Kyoto, Japan, November 30 - December 4, 2020, Revised Selected Papers, Part II, volume 12623 of Lecture Notes in Computer Science, pages 301–319. Springer, 2020.
|
| 362 |
+
[9] Maneet Singh, Shruti Nagpal, Richa Singh, and Mayank Vatsa. Dual directed capsule network for very low resolution image recognition. In 2019 IEEE/CVF International Conference on Computer Vision, ICCV 2019, Seoul, Korea (South), October 27 - November 2, 2019, pages 340–349. IEEE, 2019.
|
| 363 |
+
[10] Aashish Rai, Vishal M. Chudasama, Kishor P. Upla, Kiran B. Raja, Raghavendra Ramachandra, and Christoph Busch. Comsupresnet: A compact super-resolution network for low-resolution face images. In 8th International Workshop on Biometrics and Forensics, IWBF 2020, Porto, Portugal, April 29-30, 2020, pages 1–6. IEEE, 2020.
|
| 364 |
+
[11] Yantao Shen, Yuanjun Xiong, Wei Xia, and Stefano Soatto. Towards backward-compatible representation learning. In 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2020, Seattle, WA, USA, June 13-19, 2020, pages 6367–6376. Computer Vision Foundation / IEEE, 2020.
|
| 365 |
+
[12] Mateusz Budnik and Yannis Avrithis. Asymmetric metric learning for knowledge transfer. In IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2021, virtual, June 19-25, 2021, pages 8228–8238. Computer Vision Foundation / IEEE, 2021.
|
| 366 |
+
360 [13] Chien-Yi Wang, Ya-Liang Chang, Shang-Ta Yang, Dong Chen, and Shang-Hong Lai. Unified representation learning for cross model compatibility. In 31st British Machine Vision Conference 2020, BMVC 2020, Virtual Event, UK, September 7-10, 2020. BMVA Press, 2020.
|
| 367 |
+
363 [14] Qiang Meng, Chixiang Zhang, Xiaoqiang Xu, and Feng Zhou. Learning compatible embeddings. In 2021 IEEE/CVF International Conference on Computer Vision, ICCV 2021, Montreal, QC, Canada, October 10-17, 2021, pages 9919–9928. IEEE, 2021.
|
| 368 |
+
366 [15] Rahul Duggal, Hao Zhou, Shuo Yang, Yuanjun Xiong, Wei Xia, Zhuowen Tu, and Stefano Soatto. Compatibility-aware heterogeneous visual search. In IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2021, virtual, June 19-25, 2021, pages 10723–10732. Computer Vision Foundation / IEEE, 2021. [16] Mingjian Zhu, Kai Han, Enhua Wu, Qiulin Zhang, Ying Nie, Zhenzhong Lan, and Yunhe Wang. Dynamic resolution network. In Marc’Aurelio Ranzato, Alina Beygelzimer, Yann N. Dauphin, Percy Liang, and Jennifer Wortman Vaughan, editors, Advances in Neural Information Processing Systems 34: Annual Conference on Neural Information Processing Systems 2021, NeurIPS 2021, December 6-14, 2021, virtual, pages 27319–27330, 2021.
|
| 369 |
+
375 [17] Zhiyi Cheng, Xiatian Zhu, and Shaogang Gong. Surveillance face recognition challenge. CoRR, abs/1804.09691, 2018.
|
| 370 |
+
377 [18] Geoffrey E. Hinton, Oriol Vinyals, and Jeffrey Dean. Distilling the knowledge in a neural network. CoRR, abs/1503.02531, 2015. [19] Byeongho Heo, Jeesoo Kim, Sangdoo Yun, Hyojin Park, Nojun Kwak, and Jin Young Choi. A comprehensive overhaul of feature distillation. In 2019 IEEE/CVF International Conference on Computer Vision, ICCV 2019, Seoul, Korea (South), October 27 - November 2, 2019, pages 1921–1930. IEEE, 2019. [20] Zehao Huang and Naiyan Wang. Like what you like: Knowledge distill via neuron selectivity transfer. CoRR, abs/1707.01219, 2017. [21] Wonpyo Park, Dongju Kim, Yan Lu, and Minsu Cho. Relational knowledge distillation. In IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2019, Long Beach, CA, USA, June 16-20, 2019, pages 3967–3976. Computer Vision Foundation / IEEE, 2019.
|
| 371 |
+
388 [22] Adriana Romero, Nicolas Ballas, Samira Ebrahimi Kahou, Antoine Chassang, Carlo Gatta, and Yoshua Bengio. Fitnets: Hints for thin deep nets. In Yoshua Bengio and Yann LeCun, editors, 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Conference Track Proceedings, 2015. [23] Frederick Tung and Greg Mori. Similarity-preserving knowledge distillation. In 2019 IEEE/CVF International Conference on Computer Vision, ICCV 2019, Seoul, Korea (South), October 27 - November 2, 2019, pages 1365–1374. IEEE, 2019.
|
| 372 |
+
395 [24] Sergey Zagoruyko and Nikos Komodakis. Wide residual networks. In Richard C. Wilson, Edwin R. Hancock, and William A. P. Smith, editors, Proceedings of the British Machine Vision Conference 2016, BMVC 2016, York, UK, September 19-22, 2016. BMVA Press, 2016. [25] Junho Yim, Donggyu Joo, Ji-Hoon Bae, and Junmo Kim. A gift from knowledge distillation: Fast optimization, network minimization and transfer learning. In 2017 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2017, Honolulu, HI, USA, July 21-26, 2017, pages 7130–7138. IEEE Computer Society, 2017. [26] Yonglong Tian, Dilip Krishnan, and Phillip Isola. Contrastive representation distillation. CoRR, abs/1910.10699, 2019.
|
| 373 |
+
|
| 374 |
+
[27] Baoyun Peng, Xiao Jin, Dongsheng Li, Shunfeng Zhou, Yichao Wu, Jiaheng Liu, Zhaoning Zhang, and Yu Liu. Correlation congruence for knowledge distillation. In 2019 IEEE/CVF International Conference on Computer Vision, ICCV 2019, Seoul, Korea (South), October 27 - November 2, 2019, pages 5006–5015. IEEE, 2019.
|
| 375 |
+
|
| 376 |
+
[28] Jangho Kim, Seonguk Park, and Nojun Kwak. Paraphrasing complex network: Network compression via factor transfer. In Samy Bengio, Hanna M. Wallach, Hugo Larochelle, Kristen Grauman, Nicolò Cesa-Bianchi, and Roman Garnett, editors, Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018, NeurIPS 2018, December 3-8, 2018, Montréal, Canada, pages 2765–2774, 2018.
|
| 377 |
+
|
| 378 |
+
[29] Byeongho Heo, Minsik Lee, Sangdoo Yun, and Jin Young Choi. Knowledge transfer via distillation of activation boundaries formed by hidden neurons. In The Thirty-Third AAAI Conference on Artificial Intelligence, AAAI 2019, The Thirty-First Innovative Applications of Artificial Intelligence Conference, IAAI 2019, The Ninth AAAI Symposium on Educational Advances in Artificial Intelligence, EAAI 2019, Honolulu, Hawaii, USA, January 27 - February 1, 2019, pages 3779–3787. AAAI Press, 2019.
|
| 379 |
+
|
| 380 |
+
[30] Yoanna Martínez-Díaz, Heydi Méndez-Vázquez, Luis S. Luevano, Leonardo Chang, and Miguel González-Mendoza. Lightweight low-resolution face recognition for surveillance applications. In 25th International Conference on Pattern Recognition, ICPR 2020, Virtual Event / Milan, Italy, January 10-15, 2021, pages 5421–5428. IEEE, 2020.
|
| 381 |
+
|
| 382 |
+
[31] Luis S. Luevano, Leonardo Chang, Heydi Méndez-Vázquez, Yoanna Martínez-Díaz, and Miguel González-Mendoza. A study on the performance of unconstrained very low resolution face recognition: Analyzing current trends and new research directions. IEEE Access, 9:75470– 75493, 2021.
|
| 383 |
+
|
| 384 |
+
427 [32] Ze Lu, Xudong Jiang, and Alex C. Kot. Deep coupled resnet for low-resolution face recognition.
|
| 385 |
+
428 IEEE Signal Process. Lett., 25(4):526–530, 2018.
|
| 386 |
+
|
| 387 |
+
[33] Sivaram Prasad Mudunuri, Soubhik Sanyal, and Soma Biswas. Genlr-net: Deep framework for very low resolution face and object recognition with generalization to unseen categories. In 2018 IEEE Conference on Computer Vision and Pattern Recognition Workshops, CVPR Workshops 2018, Salt Lake City, UT, USA, June 18-22, 2018, pages 489–498. Computer Vision Foundation / IEEE Computer Society, 2018.
|
| 388 |
+
|
| 389 |
+
[34] Juan Zha and Hongyang Chao. TCN: transferable coupled network for cross-resolution face recognition\* . In IEEE International Conference on Acoustics, Speech and Signal Processing, ICASSP 2019, Brighton, United Kingdom, May 12-17, 2019, pages 3302–3306. IEEE, 2019.
|
| 390 |
+
|
| 391 |
+
[35] Jane Bromley, Isabelle Guyon, Yann LeCun, Eduard Säckinger, and Roopak Shah. Signature verification using a siamese time delay neural network. In Jack D. Cowan, Gerald Tesauro, and Joshua Alspector, editors, Advances in Neural Information Processing Systems 6, [7th NIPS Conference, Denver, Colorado, USA, 1993], pages 737–744. Morgan Kaufmann, 1993.
|
| 392 |
+
|
| 393 |
+
[36] Yaniv Taigman, Ming Yang, Marc’Aurelio Ranzato, and Lior Wolf. Deepface: Closing the gap to human-level performance in face verification. In 2014 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2014, Columbus, OH, USA, June 23-28, 2014, pages 1701–1708. IEEE Computer Society, 2014.
|
| 394 |
+
|
| 395 |
+
[37] Sumit Chopra, Raia Hadsell, and Yann LeCun. Learning a similarity metric discriminatively, with application to face verification. In 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR 2005), 20-26 June 2005, San Diego, CA, USA, pages 539–546. IEEE Computer Society, 2005.
|
| 396 |
+
|
| 397 |
+
[38] Luca Bertinetto, Jack Valmadre, João F. Henriques, Andrea Vedaldi, and Philip H. S. Torr. Fully-convolutional siamese networks for object tracking. In Gang Hua and Hervé Jégou, editors, Computer Vision - ECCV 2016 Workshops - Amsterdam, The Netherlands, October 8-10 and 15-16, 2016, Proceedings, Part II, volume 9914 of Lecture Notes in Computer Science, pages 850–865, 2016. [39] Sergey Zagoruyko and Nikos Komodakis. Learning to compare image patches via convolutional neural networks. In IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2015, Boston, MA, USA, June 7-12, 2015, pages 4353–4361. IEEE Computer Society, 2015. [40] Lloyd H. Hughes, Michael Schmitt, Lichao Mou, Yuanyuan Wang, and Xiao Xiang Zhu. Identifying corresponding patches in SAR and optical images with a pseudo-siamese CNN. IEEE Geosci. Remote. Sens. Lett., 15(5):784–788, 2018. [41] Antonio Torralba, Robert Fergus, and William T. Freeman. 80 million tiny images: A large data set for nonparametric object and scene recognition. IEEE Trans. Pattern Anal. Mach. Intell., 30(11):1958–1970, 2008. [42] Tony Lindeberg. Scale-space theory: a basic tool for analyzing structures at different scales. Journal of Applied Statistics, 21(1-2):225–270, 1994.
|
| 398 |
+
465 [43] Yui Man Lui, David Bolme, Bruce A. Draper, J. Ross Beveridge, Geoff Givens, and P. Jonathon Phillips. A meta-analysis of face recognition covariates. In 2009 IEEE 3rd International Conference on Biometrics: Theory, Applications, and Systems, pages 1–8, 2009. [44] Hugo Touvron, Andrea Vedaldi, Matthijs Douze, and Hervé Jégou. Fixing the train-test resolution discrepancy. In Hanna M. Wallach, Hugo Larochelle, Alina Beygelzimer, Florence d’Alché-Buc, Emily B. Fox, and Roman Garnett, editors, Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada, pages 8250–8260, 2019. [45] Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In Francis R. Bach and David M. Blei, editors, Proceedings of the 32nd International Conference on Machine Learning, ICML 2015, Lille, France, 6-11 July 2015, volume 37 of JMLR Workshop and Conference Proceedings, pages 448–456. JMLR.org, 2015. [46] Jiankang Deng, Jia Guo, Debing Zhang, Yafeng Deng, Xiangju Lu, and Song Shi. Lightweight face recognition challenge. In 2019 IEEE/CVF International Conference on Computer Vision Workshops, ICCV Workshops 2019, Seoul, Korea (South), October 27-28, 2019, pages 2638– 2646. IEEE, 2019. [47] Gary B Huang, Marwan Mattar, Tamara Berg, and Eric Learned-Miller. Labeled faces in the wild: A database forstudying face recognition in unconstrained environments. In Workshop on faces in’Real-Life’Images: detection, alignment, and recognition, 2008. [48] Soumyadip Sengupta, Jun-Cheng Chen, Carlos Castillo, Vishal M Patel, Rama Chellappa, and David W Jacobs. Frontal to profile face verification in the wild. In 2016 IEEE winter conference on applications of computer vision (WACV), pages 1–9. IEEE, 2016.
|
| 399 |
+
488 [49] Stylianos Moschoglou, Athanasios Papaioannou, Christos Sagonas, Jiankang Deng, Irene Kotsia, and Stefanos Zafeiriou. Agedb: The first manually collected, in-the-wild age database. In 2017 IEEE Conference on Computer Vision and Pattern Recognition Workshops, CVPR Workshops 2017, Honolulu, HI, USA, July 21-26, 2017, pages 1997–2005. IEEE Computer Society, 2017. [50] Tianyue Zheng, Weihong Deng, and Jiani Hu. Cross-age LFW: A database for studying cross-age face recognition in unconstrained environments. CoRR, abs/1708.08197, 2017.
|
| 400 |
+
|
| 401 |
+
[51] Tianyue Zheng and Weihong Deng. Cross-pose lfw: A database for studying cross-pose face recognition in unconstrained environments. Beijing University of Posts and Telecommunications, Tech. Rep, 5:7, 2018.
|
| 402 |
+
|
| 403 |
+
[52] Brianna Maze, Jocelyn C. Adams, James A. Duncan, Nathan D. Kalka, Tim Miller, Charles Otto, Anil K. Jain, W. Tyler Niggel, Janet Anderson, Jordan Cheney, and Patrick Grother. IARPA janus benchmark - C: face dataset and protocol. In 2018 International Conference on Biometrics, ICB 2018, Gold Coast, Australia, February 20-23, 2018, pages 158–165. IEEE, 2018.
|
| 404 |
+
[53] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In 2016 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2016, Las Vegas, NV, USA, June 27-30, 2016, pages 770–778. IEEE Computer Society, 2016.
|
| 405 |
+
[54] Han Fang, Weihong Deng, Yaoyao Zhong, and Jiani Hu. Generate to adapt: Resolution adaption network for surveillance face recognition. In Andrea Vedaldi, Horst Bischof, Thomas Brox, and Jan-Michael Frahm, editors, Computer Vision - ECCV 2020 - 16th European Conference, Glasgow, UK, August 23-28, 2020, Proceedings, Part XV, volume 12360 of Lecture Notes in Computer Science, pages 741–758. Springer, 2020.
|
| 406 |
+
[55] Omkar M. Parkhi, Andrea Vedaldi, and Andrew Zisserman. Deep face recognition. In Xianghua Xie, Mark W. Jones, and Gary K. L. Tam, editors, Proceedings of the British Machine Vision Conference 2015, BMVC 2015, Swansea, UK, September 7-10, 2015, pages 41.1–41.12. BMVA Press, 2015.
|
| 407 |
+
[56] Yi Sun, Yuheng Chen, Xiaogang Wang, and Xiaoou Tang. Deep learning face representation by joint identification-verification. In Zoubin Ghahramani, Max Welling, Corinna Cortes, Neil D. Lawrence, and Kilian Q. Weinberger, editors, Advances in Neural Information Processing Systems 27: Annual Conference on Neural Information Processing Systems 2014, December 8-13 2014, Montreal, Quebec, Canada, pages 1988–1996, 2014.
|
| 408 |
+
[57] Florian Schroff, Dmitry Kalenichenko, and James Philbin. Facenet: A unified embedding for face recognition and clustering. In IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2015, Boston, MA, USA, June 7-12, 2015, pages 815–823. IEEE Computer Society, 2015.
|
| 409 |
+
[58] Weiyang Liu, Yandong Wen, Zhiding Yu, Ming Li, Bhiksha Raj, and Le Song. Sphereface: Deep hypersphere embedding for face recognition. In 2017 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2017, Honolulu, HI, USA, July 21-26, 2017, pages 6738–6746. IEEE Computer Society, 2017.
|
| 410 |
+
[59] Chao Dong, Chen Change Loy, Kaiming He, and Xiaoou Tang. Learning a deep convolutional network for image super-resolution. In David J. Fleet, Tomás Pajdla, Bernt Schiele, and Tinne Tuytelaars, editors, Computer Vision - ECCV 2014 - 13th European Conference, Zurich, Switzerland, September 6-12, 2014, Proceedings, Part IV, volume 8692 of Lecture Notes in Computer Science, pages 184–199. Springer, 2014.
|
| 411 |
+
[60] Chao Dong, Chen Change Loy, and Xiaoou Tang. Accelerating the super-resolution convolutional neural network. In Bastian Leibe, Jiri Matas, Nicu Sebe, and Max Welling, editors, Computer Vision - ECCV 2016 - 14th European Conference, Amsterdam, The Netherlands, October 11-14, 2016, Proceedings, Part II, volume 9906 of Lecture Notes in Computer Science, pages 391–407. Springer, 2016.
|
| 412 |
+
[61] Jiwon Kim, Jung Kwon Lee, and Kyoung Mu Lee. Accurate image super-resolution using very deep convolutional networks. In 2016 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2016, Las Vegas, NV, USA, June 27-30, 2016, pages 1646–1654. IEEE Computer Society, 2016.
|
| 413 |
+
[62] Ying Tai, Jian Yang, and Xiaoming Liu. Image super-resolution via deep recursive residual network. In 2017 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2017, Honolulu, HI, USA, July 21-26, 2017, pages 2790–2798. IEEE Computer Society, 2017.
|
| 414 |
+
[63] Wei-Sheng Lai, Jia-Bin Huang, Narendra Ahuja, and Ming-Hsuan Yang. Deep laplacian pyramid networks for fast and accurate super-resolution. In 2017 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2017, Honolulu, HI, USA, July 21-26, 2017, pages 5835–5843. IEEE Computer Society, 2017.
|
| 415 |
+
[64] Z. G. Liu and D. Z. Liu. Reappraising about image magnification methods based on wavelet transformation. Journal of Image and Graphics, 2003.
|
| 416 |
+
[65] Wan-Chi Siu and Kwok-Wai Hung. Review of image interpolation and super-resolution. In Asia-Pacific Signal and Information Processing Association Annual Summit and Conference, APSIPA 2012, Hollywood, CA, USA, December 3-6, 2012, pages 1–10. IEEE, 2012.
|
| 417 |
+
[66] Haohan Wang, Xindi Wu, Zeyi Huang, and Eric P. Xing. High-frequency component helps explain the generalization of convolutional neural networks. In 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2020, Seattle, WA, USA, June 13-19, 2020, pages 8681–8691. Computer Vision Foundation / IEEE, 2020.
|
| 418 |
+
|
| 419 |
+
# Checklist
|
| 420 |
+
|
| 421 |
+
1. For all authors...
|
| 422 |
+
|
| 423 |
+
(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes]
|
| 424 |
+
(b) Did you describe the limitations of your work? [Yes] See Section 5.The dislocation between the underlying optical resolution of native face images and that of a certain branch may limit the power of the model, which may be improved by selecting the optimal processing branch for the input in combination with the image quality, rather than by image size alone. The optimal branch selection strategy is not fully investigated though we have provided an intuitive way to select the branch for inputs.
|
| 425 |
+
(c) Did you discuss any potential negative societal impacts of your work? [N/A] We study a general framework for multi-resolution face recognition. Our method is not for specific applications, which does not directly involve societal issues.
|
| 426 |
+
(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes]
|
| 427 |
+
|
| 428 |
+
2. If you are including theoretical results...
|
| 429 |
+
|
| 430 |
+
(a) Did you state the full set of assumptions of all theoretical results? [Yes] See Appendix A.1
|
| 431 |
+
(b) Did you include complete proofs of all theoretical results? [Yes] See Appendix A.1
|
| 432 |
+
|
| 433 |
+
3. If you ran experiments...
|
| 434 |
+
|
| 435 |
+
(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes]
|
| 436 |
+
(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes]
|
| 437 |
+
(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [No] We follow the common practice in previous works, where they didn’t report the error bars.
|
| 438 |
+
(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 our implementation details in Section 4.
|
| 439 |
+
|
| 440 |
+
4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets...
|
| 441 |
+
|
| 442 |
+
(a) If your work uses existing assets, did you cite the creators? [Yes]
|
| 443 |
+
(b) Did you mention the license of the assets? [N/A]
|
| 444 |
+
(c) Did you include any new assets either in the supplemental material or as a URL? [No]
|
| 445 |
+
(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [N/A]
|
| 446 |
+
(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [N/A]
|
| 447 |
+
|
| 448 |
+
5. If you used crowdsourcing or conducted research with human subjects...
|
| 449 |
+
|
| 450 |
+
591
|
| 451 |
+
592
|
| 452 |
+
593
|
| 453 |
+
594
|
| 454 |
+
595
|
| 455 |
+
596
|
| 456 |
+
597
|
| 457 |
+
|
| 458 |
+
(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A]
|
| 459 |
+
(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A]
|
| 460 |
+
(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A]
|
parse/dev/AIqC7F7xV-d/AIqC7F7xV-d_content_list.json
ADDED
|
@@ -0,0 +1,1495 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Learning Unified Representations for Multi-Resolution Face Recognition ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
174,
|
| 8 |
+
122,
|
| 9 |
+
825,
|
| 10 |
+
172
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous Author(s) \nAffiliation \nAddress \nemail ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
423,
|
| 19 |
+
226,
|
| 20 |
+
580,
|
| 21 |
+
281
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Abstract ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
462,
|
| 31 |
+
306,
|
| 32 |
+
535,
|
| 33 |
+
323
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "1 In this work, we propose Branch-to-Trunk network (BTNet), a novel representation \n2 learning method for multi-resolution face recognition. It consists of a trunk network \n3 (TNet), namely a unified encoder, and multiple branch networks (BNets), namely \n4 resolution adapters. As per the input, a resolution-specific BNet is used and the \n5 output are implanted as feature maps in the feature pyramid of TNet, at a layer with \n6 the same resolution. The discriminability of tiny faces is significantly improved, as \n7 the interpolation error introduced by rescaling, especially up-sampling, is mitigated \n8 on the inputs. With branch distillation and backward-compatible training, BTNet \n9 transfers discriminative high-resolution information to multiple branches while \n10 guaranteeing representation compatibility. Our experiments demonstrate strong \n11 performance on face recognition benchmarks, both for multi-resolution identity \n12 matching and feature aggregation, with much less computation amount and param \n13 eter storage. We establish new state-of-the-art on the challenging QMUL-SurvFace \n14 1: N face identification task. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
148,
|
| 42 |
+
339,
|
| 43 |
+
766,
|
| 44 |
+
550
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "15 1 Introduction ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
148,
|
| 54 |
+
569,
|
| 55 |
+
312,
|
| 56 |
+
587
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "16 Machine learning has advanced tremendously driven by deep learning methods, but is still severely \n17 challenged by various data specifications, such as data type, structure, scale and size, etc. For \n18 instance, face recognition (FR) is a well-established deep learning task, while the performance \n19 degrades dramatically in the testing domain that differs from the training one, influenced by factors \n20 of variance like resolution, illumination, occlusion, etc. \n21 Most face recognition methods map each image to a point embedding in the common metric space \n22 by deep neural networks (DNNs). The dissimilarity of images can be then calculated using various \n23 distance metrics (e.g., cosine similarity, Euclidean distance, etc.) for face recognition tasks. \n24 Recent advancements in margin-based loss (e.g., ArcFace [1], MV-Arc-Softmax [2], CurricularFace \n25 [3], etc) enhanced discriminability of the metric space, with small intra-identity distance and large \n26 inter-identity distance. However, lack of variation in training data still leads to poor generalizability. \n27 Various useful methods are utilized to mitigate this issue. The model adapts to factors of variance \n28 by augmenting datasets, whereas the large discrepancy in data distribution could potentially weaken \n29 the model’s ability to extract discriminative features with the same data scale and model structure \n30 (see Section 4.3). Fine-tuning is widely used to transfer large pretrained models to new domains with \n31 different data specifications. However, this strategy requires one to store and deploy a separate copy \n32 of the backbone parameters for every single new domain, which is expensive and often infeasible. \n33 As known, the resolutions of face images in reality may be far beyond the scope covered by the \n34 model. As the small feature maps with a fixed spatial extent (e.g., $7 \\times 7 )$ are mapped to an embedding \n35 with a predefined dimension (e.g., $1 2 8 - d$ , $5 1 2 - d$ , etc.) by a fully connected (fc) layer, input \n36 images need to be rescaled to a canonical spatial size (e.g., $1 1 2 \\times 1 1 2 )$ before fed into the network. \n37 However, up-sampling low-resolution (LR) images introduces the interpolation error (see Section 3.1), \n38 deteriorating the recognizable ones which contain enough clues to identify the subject. Even though \n39 super-resolution methods [4–10] are widely used to build faces with good visualization, they inevitably \n40 introduce feature information of other identities when reconstructing high-resolution (HR) faces. \n41 This may lead to erroneous identity-specific features, which are detrimental to risk-controlled face \n42 recognition. \n43 Empirically, we can divide inputs by resolution distribution and learn to operate on them via multiple \n44 models to achieve high accuracy and efficiency. However, multi-model fashion cannot be applied \n45 directly for cross-resolution recognition as representation compatibility among models need to be \n46 guaranteed [11–15]. \n47 To improve discriminability while ensure the compatibility of the metric space for multi-resolution \n48 face representation, we learn the “unified” representation by a partially-coupled Branch-to-Trunk \n49 Network (BTNet). It is composed of multiple independent branch networks (BNets) and a shared \n50 trunk network (TNet). A resolution-specific BNet is used for a given image, and the output are \n51 implanted as feature maps in the feature pyramid of TNet, at a layer with the same resolution. \n52 Furthermore, we find that multi-resolution training can be beneficial to building a strong and robust \n53 TNet, and backward-compatible training (BCT) [11] can improve the representation compatibility \n54 during the training process of BTNet. To ameliorate the discriminability of tiny faces, we propose \n55 branch distillation in intermediate layers, utilizing information extracted from HR images to help the \n56 extraction of discriminative features for resolution-specific branches. \n57 Our method is simple and efficient, which breaks the convention of up-sampling the inputs and \n58 serves as a general framework that can be easily implemented by several existing methods due to \n59 conceptual simplicity. Meanwhile, BTNet is able to reduce the number of FLOPS by operating the \n60 inputs without up-sampling, and per-resolution storage cost by only storing the learned branches and \n61 resolution-aware BNs [16], while re-using the copy of the trunk model. \n62 We demonstrate that our method performs comparably in various open-set face recognition tasks (1:1 \n63 face verification and 1: N face identification), in both settings of multi-resolution identity matching \n64 and feature aggregation, while meaningfully reduces the redundant computation cost and parameter \n65 storage. In the challenging QMUL-SurvFace 1: N face identification task [17], we establish new \n66 state-of-the-art by outperforming prior models. Furthermore, by avoiding the ill-posed problem (i.e., \n67 image up-sampling), our approach also effectively reduces the additional noise and uncertainty of the \n68 representation, which plays a key role in reliable risk-controlled face recognition. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
147,
|
| 65 |
+
595,
|
| 66 |
+
825,
|
| 67 |
+
670
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "",
|
| 74 |
+
"bbox": [
|
| 75 |
+
147,
|
| 76 |
+
679,
|
| 77 |
+
825,
|
| 78 |
+
723
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "",
|
| 85 |
+
"bbox": [
|
| 86 |
+
145,
|
| 87 |
+
731,
|
| 88 |
+
825,
|
| 89 |
+
866
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "",
|
| 96 |
+
"bbox": [
|
| 97 |
+
148,
|
| 98 |
+
873,
|
| 99 |
+
826,
|
| 100 |
+
904
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 0
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "",
|
| 107 |
+
"bbox": [
|
| 108 |
+
147,
|
| 109 |
+
90,
|
| 110 |
+
826,
|
| 111 |
+
212
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "",
|
| 118 |
+
"bbox": [
|
| 119 |
+
147,
|
| 120 |
+
218,
|
| 121 |
+
825,
|
| 122 |
+
279
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "",
|
| 129 |
+
"bbox": [
|
| 130 |
+
147,
|
| 131 |
+
286,
|
| 132 |
+
825,
|
| 133 |
+
361
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 1
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "",
|
| 140 |
+
"bbox": [
|
| 141 |
+
147,
|
| 142 |
+
368,
|
| 143 |
+
825,
|
| 144 |
+
444
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 1
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "text",
|
| 150 |
+
"text": "",
|
| 151 |
+
"bbox": [
|
| 152 |
+
147,
|
| 153 |
+
450,
|
| 154 |
+
825,
|
| 155 |
+
526
|
| 156 |
+
],
|
| 157 |
+
"page_idx": 1
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"type": "text",
|
| 161 |
+
"text": "",
|
| 162 |
+
"bbox": [
|
| 163 |
+
147,
|
| 164 |
+
532,
|
| 165 |
+
825,
|
| 166 |
+
638
|
| 167 |
+
],
|
| 168 |
+
"page_idx": 1
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"type": "text",
|
| 172 |
+
"text": "69 2 Related Work ",
|
| 173 |
+
"text_level": 1,
|
| 174 |
+
"bbox": [
|
| 175 |
+
148,
|
| 176 |
+
647,
|
| 177 |
+
321,
|
| 178 |
+
665
|
| 179 |
+
],
|
| 180 |
+
"page_idx": 1
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"type": "text",
|
| 184 |
+
"text": "70 Compatible Representation Learning: The task of compatible representation learning aims at \n71 encoding features that are interoperable with the features extracted from other models. Shen et. al. \n72 [11] first formulated the problem of backward-compatible learning (BCT) and proposed to utilize the \n73 old classifier for compatible feature learning. Since the multi-model fashion benefits representation \n74 learning with lower computation, our idea of cross-resolution representation learning can be modeled \n75 similar to cross-model compatibility [11–15], as metric space alignment for different resolutions. Our \n76 goal is achieved by both compatibility-aware network architecture and training strategy. \n77 Knowledge Distillation and Transfer: The concept of knowledge distillation (KD) was first \n78 proposed by Hinton et. al. in [18], which can be summarized as employing a large parameter \n79 model (teacher) to supervise the learning of a small parameter model (student). Distillation from \n80 intermediate features [19–29] is widely adopted to enhance the effectiveness of knowledge transfer. \n81 However, due to the “dark knowledge” hidden in the intermediate layers, additional subtle design is \n82 often required to match and rescale intermediate features. Instead, our approach can easily locate the \n83 distillation features without rescaling and effectively transfer knowledge from the HR domain to LR \n84 branches. \n85 Low Resolution Face Recognition: Its task includes low resolution-to-low resolution (LR-to-LR) \n86 matching and low resolution-to-high resolution (LR-to-HR) matching [30]. The work can be divided \n87 into two categories [31]: (1) Super-resolution (SR) based methods aim to upscale LR images to \n88 construct HR images and use them for feature extraction [4–10]. (2) Projection-based methods aim to \n89 extract adequate representations in different domains and project them into a common feature space \n90 [32–34]. SR approaches are able to build faces with good visualization, but inevitably introduce \n91 feature information of other identities when reconstructing corresponding HR faces, thus introducing \n92 noise for identity-specific features. Compared to previous projection methods, our approach directly \n93 learns discriminative representations in a common feature space for HR and LR inputs, without \n94 additional projection heads for feature transformation. ",
|
| 185 |
+
"bbox": [
|
| 186 |
+
147,
|
| 187 |
+
679,
|
| 188 |
+
825,
|
| 189 |
+
785
|
| 190 |
+
],
|
| 191 |
+
"page_idx": 1
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"type": "text",
|
| 195 |
+
"text": "",
|
| 196 |
+
"bbox": [
|
| 197 |
+
147,
|
| 198 |
+
796,
|
| 199 |
+
825,
|
| 200 |
+
917
|
| 201 |
+
],
|
| 202 |
+
"page_idx": 1
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"type": "text",
|
| 206 |
+
"text": "",
|
| 207 |
+
"bbox": [
|
| 208 |
+
145,
|
| 209 |
+
90,
|
| 210 |
+
825,
|
| 211 |
+
242
|
| 212 |
+
],
|
| 213 |
+
"page_idx": 2
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"type": "text",
|
| 217 |
+
"text": "Pseudo-Siamese Networks: Siamese networks are a coupling architecture based on DNNs, which are widely used for signature verification [35], face verification [36, 37], tracking [38], etc. PseudoSiamese networks [39] are decoupled Siamese networks, as the weights of the two branches are not shared, resulting in a more flexible representation way for the two entities. Hughes et. al. in [40] proposed a pseudo-Siamese CNN for identifying corresponding patches in SAR and optical images. Inspired by pseudo-Siamese networks, we propose a resolution-adaptive partially coupled Siamese network architecture, extracting specific-shared features for images with different resolutions. ",
|
| 218 |
+
"bbox": [
|
| 219 |
+
160,
|
| 220 |
+
252,
|
| 221 |
+
826,
|
| 222 |
+
358
|
| 223 |
+
],
|
| 224 |
+
"page_idx": 2
|
| 225 |
+
},
|
| 226 |
+
{
|
| 227 |
+
"type": "text",
|
| 228 |
+
"text": "3 Learning Specific-Shared Feature Transfer ",
|
| 229 |
+
"text_level": 1,
|
| 230 |
+
"bbox": [
|
| 231 |
+
160,
|
| 232 |
+
372,
|
| 233 |
+
563,
|
| 234 |
+
390
|
| 235 |
+
],
|
| 236 |
+
"page_idx": 2
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"type": "text",
|
| 240 |
+
"text": "Instead of rescaling the inputs to a canonical size, we build multiple resolution-specific branches (BNets) that are used to map inputs to intermediate features with the same resolution and a resolutionshared trunk (TNet) to map feature maps with different resolutions to a high-dimension embedding. We gain several important properties by doing so: (1) Processing inputs on its original resolution can diminish the inevitably introduced error via up-sampling or information loss via down-sampling, thus preserving the discriminability of visual information with different resolutions. (2) Information streams of different resolutions are encoded uniformly, thus enabling the representation compatibility, which is particularly beneficial to open-set face recognition considering that a compatible metric space is the prerequisite for computing similarity. (3) This also effectively reduce the computation for LR images by supplying computational resources conditioned on the input resolution. ",
|
| 241 |
+
"bbox": [
|
| 242 |
+
163,
|
| 243 |
+
400,
|
| 244 |
+
826,
|
| 245 |
+
550
|
| 246 |
+
],
|
| 247 |
+
"page_idx": 2
|
| 248 |
+
},
|
| 249 |
+
{
|
| 250 |
+
"type": "text",
|
| 251 |
+
"text": "113 3.1 Up-Sampling Error Analysis ",
|
| 252 |
+
"text_level": 1,
|
| 253 |
+
"bbox": [
|
| 254 |
+
143,
|
| 255 |
+
561,
|
| 256 |
+
411,
|
| 257 |
+
577
|
| 258 |
+
],
|
| 259 |
+
"page_idx": 2
|
| 260 |
+
},
|
| 261 |
+
{
|
| 262 |
+
"type": "image",
|
| 263 |
+
"img_path": "images/bcaf8fb368f804daba922e50885b5d890a9bd70ea33f0a8743d4e42864a72421.jpg",
|
| 264 |
+
"image_caption": [
|
| 265 |
+
"Figure 1: Estimated Error Upperbound. (bilinear interpolation, average value for over 100 images) with the change of image resolution relative to resolution 112. "
|
| 266 |
+
],
|
| 267 |
+
"image_footnote": [],
|
| 268 |
+
"bbox": [
|
| 269 |
+
178,
|
| 270 |
+
597,
|
| 271 |
+
457,
|
| 272 |
+
742
|
| 273 |
+
],
|
| 274 |
+
"page_idx": 2
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"type": "image",
|
| 278 |
+
"img_path": "images/49c6de557e00d2a1971a3a5c302649e9eb1af1a26b38f484c1a1576206274175.jpg",
|
| 279 |
+
"image_caption": [
|
| 280 |
+
"Figure 2: Basic ideas of the proposed BTNet. Images of a certain identity are first projected to the feature maps with the same resolution respectively (Adapt) and then projected to a unified feature representation (Encode). In this figure, feature maps with the same resolution are indicated by outlines in the same color. "
|
| 281 |
+
],
|
| 282 |
+
"image_footnote": [],
|
| 283 |
+
"bbox": [
|
| 284 |
+
483,
|
| 285 |
+
563,
|
| 286 |
+
813,
|
| 287 |
+
724
|
| 288 |
+
],
|
| 289 |
+
"page_idx": 2
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"type": "text",
|
| 293 |
+
"text": "114 Figure 1 illustrates the experimental estimation of interpolation error, whose upper bound increases \n115 with the decline of the image resolution (see detailed theoretical derivation in Appendix A.1). Note \n116 that the error soars up when the resolution drops below 32 approximately which can be viewed as LR \n117 face images, consistent with the tiny-object criterion [41]. \n118 The results show that: (1) inputs with a resolution higher than around 32 can be considered in the \n119 same HR domain, since the error information introduced by up-sampling via interpolation can be \n120 ignored to a certain extent; (2) inputs with a resolution lower than around 32 should be treated as in \n121 various LR domains due to the high sensitivity of the resolution to errors. ",
|
| 294 |
+
"bbox": [
|
| 295 |
+
140,
|
| 296 |
+
851,
|
| 297 |
+
825,
|
| 298 |
+
911
|
| 299 |
+
],
|
| 300 |
+
"page_idx": 2
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"type": "text",
|
| 304 |
+
"text": "",
|
| 305 |
+
"bbox": [
|
| 306 |
+
142,
|
| 307 |
+
90,
|
| 308 |
+
825,
|
| 309 |
+
151
|
| 310 |
+
],
|
| 311 |
+
"page_idx": 3
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"type": "text",
|
| 315 |
+
"text": "3.2 Branch-to-Trunk Network ",
|
| 316 |
+
"text_level": 1,
|
| 317 |
+
"bbox": [
|
| 318 |
+
174,
|
| 319 |
+
162,
|
| 320 |
+
397,
|
| 321 |
+
178
|
| 322 |
+
],
|
| 323 |
+
"page_idx": 3
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"type": "text",
|
| 327 |
+
"text": "Let $X$ be an input RGB image with a space shape: $X \\in \\mathbb { R } ^ { H \\times W \\times 3 }$ where $H \\times W$ corresponds to the spatial dimension of the input. For efficient batch training and inference, we predefine a canonical size $S \\times S$ (e.g., $1 1 2 \\times 1 1 2$ for typical face recognition models like ArcFace [1]). ",
|
| 328 |
+
"bbox": [
|
| 329 |
+
171,
|
| 330 |
+
184,
|
| 331 |
+
825,
|
| 332 |
+
229
|
| 333 |
+
],
|
| 334 |
+
"page_idx": 3
|
| 335 |
+
},
|
| 336 |
+
{
|
| 337 |
+
"type": "text",
|
| 338 |
+
"text": "We build a trunk network $\\boldsymbol { T } : \\mathbb { R } ^ { H \\times W \\times 3 } \\mathbb { R } ^ { C _ { e m b } }$ capable of extracting discriminative information with different resolutions, where $C _ { e m b }$ is the number of embedding channels. For every resolution $r$ in the candidate set, we formulate a resolution-specific branch, $z _ { r } = \\textit { B } _ { r } ( X _ { r } )$ , which maps the input image $X _ { r }$ to feature maps with the same resolution and expanded channels $\\boldsymbol { z } _ { r } : \\mathbb { R } ^ { r \\times r \\times 3 } \\mathbb { R } ^ { r \\times r \\times C _ { r } }$ . The idea is to learn our branches $B$ to focus on resolution-specific feature transfer independently. Feature maps will then be coupled to the trunk network $T$ in the feature pyramid with the same spatial resolution $r \\times r$ , allowing for further mapping to the unified presentation space by $T _ { r } : \\mathbb { R } ^ { r \\times r \\times C _ { r } } $ $\\mathbb { R } ^ { C _ { e m b } }$ . ",
|
| 339 |
+
"bbox": [
|
| 340 |
+
168,
|
| 341 |
+
234,
|
| 342 |
+
825,
|
| 343 |
+
357
|
| 344 |
+
],
|
| 345 |
+
"page_idx": 3
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"type": "text",
|
| 349 |
+
"text": "Here, we follow the idea of “avoiding redundant up-sampling”. Our branches $B$ are implemented with same-resolution mapping: i.e., the model preserves the network architecture of $T$ from input to the layer with resolution $r$ and abandons down-sampling operations (e.g., replacing the convolution of stride 2 with stride 1, abandoning the pooling layers, etc.) to keep the same-resolution flow. ",
|
| 350 |
+
"bbox": [
|
| 351 |
+
158,
|
| 352 |
+
364,
|
| 353 |
+
825,
|
| 354 |
+
425
|
| 355 |
+
],
|
| 356 |
+
"page_idx": 3
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"type": "text",
|
| 360 |
+
"text": "We specifically name our specific-shared feature transfer network as Branch-to-Trunk Network, abbreviated as \"BTNet\". Figure 2 visually summarizes the main ideas of BTNet. ",
|
| 361 |
+
"bbox": [
|
| 362 |
+
165,
|
| 363 |
+
431,
|
| 364 |
+
823,
|
| 365 |
+
462
|
| 366 |
+
],
|
| 367 |
+
"page_idx": 3
|
| 368 |
+
},
|
| 369 |
+
{
|
| 370 |
+
"type": "text",
|
| 371 |
+
"text": "3.3 Training Objectives ",
|
| 372 |
+
"text_level": 1,
|
| 373 |
+
"bbox": [
|
| 374 |
+
174,
|
| 375 |
+
473,
|
| 376 |
+
351,
|
| 377 |
+
489
|
| 378 |
+
],
|
| 379 |
+
"page_idx": 3
|
| 380 |
+
},
|
| 381 |
+
{
|
| 382 |
+
"type": "text",
|
| 383 |
+
"text": "We now describe the training objectives. The training of BTNet includes training the trunk network $T$ such that it can produce discriminative and compatible representations for multi-resolution information, and fine-tuning the branch networks $B$ to encourage them to learn resolution-specific feature transfer, so as to improve accuracy without compromising compatibility. ",
|
| 384 |
+
"bbox": [
|
| 385 |
+
173,
|
| 386 |
+
494,
|
| 387 |
+
825,
|
| 388 |
+
555
|
| 389 |
+
],
|
| 390 |
+
"page_idx": 3
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"type": "text",
|
| 394 |
+
"text": "Influence Loss. It is a compatibility-aware classification loss which is implemented by feeding the embeddings of the new model to the classifier of the old model [11]. Since the difficulties of samples vary due to image resolution, we compute CurricularFace [3] as our classification loss, in the form of: ",
|
| 395 |
+
"bbox": [
|
| 396 |
+
171,
|
| 397 |
+
566,
|
| 398 |
+
825,
|
| 399 |
+
627
|
| 400 |
+
],
|
| 401 |
+
"page_idx": 3
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"type": "equation",
|
| 405 |
+
"img_path": "images/d6b9123892a8d3b50dd58976ab5588ce77e9987f40e0e996073d9ea59c4e0169.jpg",
|
| 406 |
+
"text": "$$\nL _ { c u r } = - \\log ( \\frac { e ^ { s \\cos ( \\theta _ { y _ { i } } + m ) } } { e ^ { s \\cos ( \\theta _ { y _ { i } } + m ) } + \\sum _ { j = 1 , j \\neq y _ { i } } ^ { n } e ^ { s N ( t ^ { ( k ) } , \\cos ( \\theta _ { j } ) ) } } )\n$$",
|
| 407 |
+
"text_format": "latex",
|
| 408 |
+
"bbox": [
|
| 409 |
+
303,
|
| 410 |
+
645,
|
| 411 |
+
694,
|
| 412 |
+
685
|
| 413 |
+
],
|
| 414 |
+
"page_idx": 3
|
| 415 |
+
},
|
| 416 |
+
{
|
| 417 |
+
"type": "equation",
|
| 418 |
+
"img_path": "images/8f657c9f655cdab89de25260c177752739bba8583601187e6f0314079daf299b.jpg",
|
| 419 |
+
"text": "$$\n\\begin{array} { c } { { N ( t , \\cos \\theta _ { j } ) = \\displaystyle \\left\\{ \\begin{array} { l c } { { \\cos ( \\theta _ { j } ) , } } & { { \\cos ( \\theta _ { y _ { i } } + m ) - \\cos ( \\theta _ { j } ) \\ge 0 } } \\\\ { { \\cos ( \\theta _ { j } ) ( t + \\cos ( \\theta _ { j } ) ) , } } & { { e l s e } } \\end{array} \\right. } } \\\\ { { t ^ { ( k ) } = \\displaystyle \\alpha \\sum _ { i } \\cos \\theta _ { y _ { i } } + ( 1 - \\alpha ) t ^ { ( k - 1 ) } } } \\end{array}\n$$",
|
| 420 |
+
"text_format": "latex",
|
| 421 |
+
"bbox": [
|
| 422 |
+
256,
|
| 423 |
+
710,
|
| 424 |
+
730,
|
| 425 |
+
792
|
| 426 |
+
],
|
| 427 |
+
"page_idx": 3
|
| 428 |
+
},
|
| 429 |
+
{
|
| 430 |
+
"type": "text",
|
| 431 |
+
"text": "150 which distinguishes both the difficultness of different samples in each stage and relative importance \n151 of easy and hard samples during different training stages. Thus, we refine CurricularFace loss as our \n152 influence loss: ",
|
| 432 |
+
"bbox": [
|
| 433 |
+
140,
|
| 434 |
+
803,
|
| 435 |
+
825,
|
| 436 |
+
848
|
| 437 |
+
],
|
| 438 |
+
"page_idx": 3
|
| 439 |
+
},
|
| 440 |
+
{
|
| 441 |
+
"type": "equation",
|
| 442 |
+
"img_path": "images/2f5169b65aef79ee9ba9f8724552804ab1c162a4b97e4bdecf71cc03dc3589ad.jpg",
|
| 443 |
+
"text": "$$\nL _ { i n f l u e n c e } = L _ { c u r } ( \\varphi _ { b t } , \\kappa ^ { * } )\n$$",
|
| 444 |
+
"text_format": "latex",
|
| 445 |
+
"bbox": [
|
| 446 |
+
403,
|
| 447 |
+
867,
|
| 448 |
+
594,
|
| 449 |
+
885
|
| 450 |
+
],
|
| 451 |
+
"page_idx": 3
|
| 452 |
+
},
|
| 453 |
+
{
|
| 454 |
+
"type": "text",
|
| 455 |
+
"text": "where 153 $\\varphi _ { b t }$ is BTNet backbone (both $B _ { r }$ and $T _ { r }$ ), and $\\kappa ^ { * }$ is the classifier of the pretrained trunk $T$ . ",
|
| 456 |
+
"bbox": [
|
| 457 |
+
135,
|
| 458 |
+
897,
|
| 459 |
+
810,
|
| 460 |
+
915
|
| 461 |
+
],
|
| 462 |
+
"page_idx": 3
|
| 463 |
+
},
|
| 464 |
+
{
|
| 465 |
+
"type": "text",
|
| 466 |
+
"text": "154 Branch Distillation Loss. Due to the \n155 continuity of the scale change of both the \n156 image pyramid and the feature pyramid \n157 [42], we can get a qualitative sense of \n158 the similarity between images and feature \n159 maps with the same resolution (see Figure \n160 3). Furthermore, features extracted from \n161 HR images have richer and clearer infor \n162 mation than those from LR images [43]. \n163 Motivated by these analyses, we utilize an \n164 MSE loss to encourage the branch output \n165 $z _ { r }$ to be similar to the corresponding fea \n166 ture maps of the pretrained trunk network \n167 $z _ { s }$ : ",
|
| 467 |
+
"bbox": [
|
| 468 |
+
140,
|
| 469 |
+
90,
|
| 470 |
+
452,
|
| 471 |
+
301
|
| 472 |
+
],
|
| 473 |
+
"page_idx": 4
|
| 474 |
+
},
|
| 475 |
+
{
|
| 476 |
+
"type": "image",
|
| 477 |
+
"img_path": "images/e434a9a21fd643648ac4896d6cdd3ccf6e9342a751aac825373efc28d542ddee.jpg",
|
| 478 |
+
"image_caption": [
|
| 479 |
+
"Figure 3: Visual comparison of face image-feature map pairs with different resolutions (resized to a common size here for illustration). "
|
| 480 |
+
],
|
| 481 |
+
"image_footnote": [],
|
| 482 |
+
"bbox": [
|
| 483 |
+
467,
|
| 484 |
+
82,
|
| 485 |
+
820,
|
| 486 |
+
231
|
| 487 |
+
],
|
| 488 |
+
"page_idx": 4
|
| 489 |
+
},
|
| 490 |
+
{
|
| 491 |
+
"type": "equation",
|
| 492 |
+
"img_path": "images/f2246fd21423a49aa7cc30c51c18bb60978ccaa1ffe7a96330ec0d7e5b0584e2.jpg",
|
| 493 |
+
"text": "$$\nL _ { b r a n c h } = \\frac { 1 } { V } \\sum _ { v = 1 } ^ { V } { ( z _ { r _ { v } } - z _ { s _ { v } } ) } ^ { 2 }\n$$",
|
| 494 |
+
"text_format": "latex",
|
| 495 |
+
"bbox": [
|
| 496 |
+
395,
|
| 497 |
+
313,
|
| 498 |
+
602,
|
| 499 |
+
356
|
| 500 |
+
],
|
| 501 |
+
"page_idx": 4
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"type": "text",
|
| 505 |
+
"text": "168 where $V$ denotes the batch size. ",
|
| 506 |
+
"bbox": [
|
| 507 |
+
147,
|
| 508 |
+
358,
|
| 509 |
+
383,
|
| 510 |
+
373
|
| 511 |
+
],
|
| 512 |
+
"page_idx": 4
|
| 513 |
+
},
|
| 514 |
+
{
|
| 515 |
+
"type": "text",
|
| 516 |
+
"text": "169 The whole training objective is a combination of the above objectives: ",
|
| 517 |
+
"bbox": [
|
| 518 |
+
145,
|
| 519 |
+
380,
|
| 520 |
+
632,
|
| 521 |
+
395
|
| 522 |
+
],
|
| 523 |
+
"page_idx": 4
|
| 524 |
+
},
|
| 525 |
+
{
|
| 526 |
+
"type": "equation",
|
| 527 |
+
"img_path": "images/cbd4434da50cb2dcda48da9a71a6dcc4aa4054c36bb94eaea39636b77d6c7fe8.jpg",
|
| 528 |
+
"text": "$$\nL = L _ { i n f l u e n c e } + \\lambda _ { b r a n c h } L _ { b r a n c h }\n$$",
|
| 529 |
+
"text_format": "latex",
|
| 530 |
+
"bbox": [
|
| 531 |
+
382,
|
| 532 |
+
397,
|
| 533 |
+
614,
|
| 534 |
+
415
|
| 535 |
+
],
|
| 536 |
+
"page_idx": 4
|
| 537 |
+
},
|
| 538 |
+
{
|
| 539 |
+
"type": "text",
|
| 540 |
+
"text": "170 where $\\lambda _ { b r a n c h }$ is a hyper-parameter to weigh the losses and we set $\\lambda _ { b r a n c h } = 0 . 5$ in all our experi \n171 ments. ",
|
| 541 |
+
"bbox": [
|
| 542 |
+
140,
|
| 543 |
+
421,
|
| 544 |
+
833,
|
| 545 |
+
452
|
| 546 |
+
],
|
| 547 |
+
"page_idx": 4
|
| 548 |
+
},
|
| 549 |
+
{
|
| 550 |
+
"type": "image",
|
| 551 |
+
"img_path": "images/22946257e92b509279813a29ef0c3ac19fcb89eb7b3c4b6d171707c4f9ae79f6.jpg",
|
| 552 |
+
"image_caption": [
|
| 553 |
+
"Figure 4: Comparison of $\\#$ Params $\\mathbf { \\Psi } ^ { ( \\mathbf { M } ) }$ between fully finetuning and $\\varphi _ { b t }$ . "
|
| 554 |
+
],
|
| 555 |
+
"image_footnote": [],
|
| 556 |
+
"bbox": [
|
| 557 |
+
209,
|
| 558 |
+
468,
|
| 559 |
+
460,
|
| 560 |
+
617
|
| 561 |
+
],
|
| 562 |
+
"page_idx": 4
|
| 563 |
+
},
|
| 564 |
+
{
|
| 565 |
+
"type": "image",
|
| 566 |
+
"img_path": "images/1df08d5fa7d736b80d3f65aa605b4972425929210f8a903a7b8e250ca889addb.jpg",
|
| 567 |
+
"image_caption": [
|
| 568 |
+
"Figure 5: Comparison of FLOPs (G) between baselines and $\\varphi _ { b t }$ . "
|
| 569 |
+
],
|
| 570 |
+
"image_footnote": [],
|
| 571 |
+
"bbox": [
|
| 572 |
+
526,
|
| 573 |
+
468,
|
| 574 |
+
777,
|
| 575 |
+
617
|
| 576 |
+
],
|
| 577 |
+
"page_idx": 4
|
| 578 |
+
},
|
| 579 |
+
{
|
| 580 |
+
"type": "text",
|
| 581 |
+
"text": "172 3.4 Storing Branch Networks ",
|
| 582 |
+
"text_level": 1,
|
| 583 |
+
"bbox": [
|
| 584 |
+
147,
|
| 585 |
+
678,
|
| 586 |
+
392,
|
| 587 |
+
693
|
| 588 |
+
],
|
| 589 |
+
"page_idx": 4
|
| 590 |
+
},
|
| 591 |
+
{
|
| 592 |
+
"type": "text",
|
| 593 |
+
"text": "An obvious adaptation strategy is fully finetuning of the model on each resolution. However, this strategy requires one to store and deploy a separate copy of the backbone parameters for every resolution, which is an expensive proposition and difficult to expand into more segmented resolution branches. Our BTNet is beneficial in the scenario of multi-resolution face recognition which achieves better parameter/accuracy trade-offs. Since activation statistics including means and variances under different resolutions are incompatible [44], we update and store Batch Normalization (BN) [45] parameters in all layers of $B _ { r }$ and $T _ { r }$ for each resolution, whose amount is negligible. Apart from this, we only need to store the learned branches and re-use the original copy of the pretrained trunk model, significantly reducing the storage cost. Figure 4 shows that BTNet requires only $1 . 1 \\% \\sim 4 8 . 9 \\%$ of all the parameters compared to fully updating all the parameters of TNet. ",
|
| 594 |
+
"bbox": [
|
| 595 |
+
173,
|
| 596 |
+
698,
|
| 597 |
+
826,
|
| 598 |
+
849
|
| 599 |
+
],
|
| 600 |
+
"page_idx": 4
|
| 601 |
+
},
|
| 602 |
+
{
|
| 603 |
+
"type": "text",
|
| 604 |
+
"text": "4 Experiments ",
|
| 605 |
+
"text_level": 1,
|
| 606 |
+
"bbox": [
|
| 607 |
+
169,
|
| 608 |
+
856,
|
| 609 |
+
313,
|
| 610 |
+
872
|
| 611 |
+
],
|
| 612 |
+
"page_idx": 4
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"type": "text",
|
| 616 |
+
"text": "184 To validate BTNet on face recognition tasks in open universe, we perform 1:1 verification and $1 : N$ \n185 identification tasks in two different settings, including (a) multi-resolution identity matching, and ",
|
| 617 |
+
"bbox": [
|
| 618 |
+
148,
|
| 619 |
+
882,
|
| 620 |
+
825,
|
| 621 |
+
912
|
| 622 |
+
],
|
| 623 |
+
"page_idx": 4
|
| 624 |
+
},
|
| 625 |
+
{
|
| 626 |
+
"type": "text",
|
| 627 |
+
"text": "(b) multi-resolution feature aggregation. For 1:1 verification, a pair of templates are provided and the model is to decide whether they belong to the same identity or not. For 1:N identification, a set of gallery images are first mapped onto their embedding vectors (indexing) and the embeddings of query images are extracted to perform search against indexed gallery. ",
|
| 628 |
+
"bbox": [
|
| 629 |
+
165,
|
| 630 |
+
90,
|
| 631 |
+
825,
|
| 632 |
+
151
|
| 633 |
+
],
|
| 634 |
+
"page_idx": 5
|
| 635 |
+
},
|
| 636 |
+
{
|
| 637 |
+
"type": "text",
|
| 638 |
+
"text": "4.1 Implementation Details ",
|
| 639 |
+
"text_level": 1,
|
| 640 |
+
"bbox": [
|
| 641 |
+
166,
|
| 642 |
+
164,
|
| 643 |
+
377,
|
| 644 |
+
179
|
| 645 |
+
],
|
| 646 |
+
"page_idx": 5
|
| 647 |
+
},
|
| 648 |
+
{
|
| 649 |
+
"type": "text",
|
| 650 |
+
"text": "Datasets. We use MS1Mv3 [46] for training face embedding models. The MS1Mv3 dataset contains 5,179,510 images of 93,431 celebrities. According to the test setting, different test datasets are used. ",
|
| 651 |
+
"bbox": [
|
| 652 |
+
174,
|
| 653 |
+
189,
|
| 654 |
+
825,
|
| 655 |
+
233
|
| 656 |
+
],
|
| 657 |
+
"page_idx": 5
|
| 658 |
+
},
|
| 659 |
+
{
|
| 660 |
+
"type": "text",
|
| 661 |
+
"text": "·Multi-Resolution Identity Matching. We try on six widely adopted face verification benchmarks: LFW [47], CFP-FF [48], CFP-FP [48], AgeDB-30 [49], CALFW [50], and CPLFW [51], while the large-scale surveillance face dataset QMUL-SurvFace [17] is used for 1:N face identification, which contains native LR surveillance faces across wide space and time. The spatial resolution for QMUL-SurvFace ranges from 6/5 to 124/106 in height/width with an average of 24/20. ",
|
| 662 |
+
"bbox": [
|
| 663 |
+
173,
|
| 664 |
+
246,
|
| 665 |
+
825,
|
| 666 |
+
321
|
| 667 |
+
],
|
| 668 |
+
"page_idx": 5
|
| 669 |
+
},
|
| 670 |
+
{
|
| 671 |
+
"type": "text",
|
| 672 |
+
"text": "·Multi-Resolution Feature Aggregation. We adopt a top challenging benchmark IJB-C [52], which has around 130k images from 3,531 identities, for two standard testing protocols: $1 : 1$ verification and 1:N identification. ",
|
| 673 |
+
"bbox": [
|
| 674 |
+
173,
|
| 675 |
+
334,
|
| 676 |
+
825,
|
| 677 |
+
378
|
| 678 |
+
],
|
| 679 |
+
"page_idx": 5
|
| 680 |
+
},
|
| 681 |
+
{
|
| 682 |
+
"type": "text",
|
| 683 |
+
"text": "Training. All the models are trained on four RTX 2080 Tis with batch size 128 by stochastic gradient descent. For TNet, we train for 25 epochs, with learning rate initialized at 0.2 with 2 warmup epochs and decaying as a quadratic polynomial. We augment training samples by random horizonal flipping and multi-resolution training. For BNets, we initialize the learning rate by 0.02 without warm-up epochs. The training all stops at the $1 0 t h$ epoch for a fair comparison. The recommended hyper-parameters are used for classification loss from the original paper (e.g., $m = 0 . 5 , s = 6 4$ for ArcFace [1], and $\\alpha = 0 . 9 9 , t ^ { 0 } = 0$ for CurricularFace [3]). Only horizonal flipping is used as augmentation when training BNets. ",
|
| 684 |
+
"bbox": [
|
| 685 |
+
173,
|
| 686 |
+
391,
|
| 687 |
+
826,
|
| 688 |
+
512
|
| 689 |
+
],
|
| 690 |
+
"page_idx": 5
|
| 691 |
+
},
|
| 692 |
+
{
|
| 693 |
+
"type": "text",
|
| 694 |
+
"text": "Baselines. In our experiment, several baselines are used to validate BTNet in learning discriminative and compatible representations for multi-resolution face recognition. ",
|
| 695 |
+
"bbox": [
|
| 696 |
+
176,
|
| 697 |
+
523,
|
| 698 |
+
823,
|
| 699 |
+
554
|
| 700 |
+
],
|
| 701 |
+
"page_idx": 5
|
| 702 |
+
},
|
| 703 |
+
{
|
| 704 |
+
"type": "text",
|
| 705 |
+
"text": "·High-Resolution Trained $\\varphi _ { h r }$ . Naive baseline trained with HR data. ",
|
| 706 |
+
"bbox": [
|
| 707 |
+
171,
|
| 708 |
+
566,
|
| 709 |
+
643,
|
| 710 |
+
582
|
| 711 |
+
],
|
| 712 |
+
"page_idx": 5
|
| 713 |
+
},
|
| 714 |
+
{
|
| 715 |
+
"type": "text",
|
| 716 |
+
"text": "·Independently Trained $\\varphi _ { m m }$ . Multi-model fashion: is it possible to achieve better results if we train a specific model for each resolution independently? Specifically, we train $\\varphi _ { r }$ for data with resolution $r$ and denote the multi-model collections as $\\varphi _ { m m }$ . ",
|
| 717 |
+
"bbox": [
|
| 718 |
+
174,
|
| 719 |
+
594,
|
| 720 |
+
825,
|
| 721 |
+
640
|
| 722 |
+
],
|
| 723 |
+
"page_idx": 5
|
| 724 |
+
},
|
| 725 |
+
{
|
| 726 |
+
"type": "text",
|
| 727 |
+
"text": "·Multi-Resolution Trained $\\varphi _ { m r }$ . Trained with multi-resolution data which adapts to resolutionvariance. Specifically, each image is randomly down-sampled to a size in the candidate set $\\textstyle \\{ { \\frac { 1 1 2 } { 2 ^ { i } } } \\ x$ $\\textstyle { \\frac { 1 1 2 } { 2 ^ { i } } } | i = 0 , 1 , 2 , 3 , 4 \\}$ with equal probability of being chosen, and then up-sampled back to $1 1 2 \\times 1 1 2$ ",
|
| 728 |
+
"bbox": [
|
| 729 |
+
174,
|
| 730 |
+
651,
|
| 731 |
+
826,
|
| 732 |
+
696
|
| 733 |
+
],
|
| 734 |
+
"page_idx": 5
|
| 735 |
+
},
|
| 736 |
+
{
|
| 737 |
+
"type": "text",
|
| 738 |
+
"text": "Instantiation of Network Architecture. The BTNet and baselines are implemented with ResNet50 [53], and they could be extended easily with other implementations. Dubbed as $\\varphi _ { b t }$ , the detailed instantiation of BTNet based on ResNet50 is illustrated in Appendix A.2. ",
|
| 739 |
+
"bbox": [
|
| 740 |
+
174,
|
| 741 |
+
708,
|
| 742 |
+
825,
|
| 743 |
+
753
|
| 744 |
+
],
|
| 745 |
+
"page_idx": 5
|
| 746 |
+
},
|
| 747 |
+
{
|
| 748 |
+
"type": "text",
|
| 749 |
+
"text": "4.2 Evaluation Metrics ",
|
| 750 |
+
"text_level": 1,
|
| 751 |
+
"bbox": [
|
| 752 |
+
174,
|
| 753 |
+
766,
|
| 754 |
+
346,
|
| 755 |
+
781
|
| 756 |
+
],
|
| 757 |
+
"page_idx": 5
|
| 758 |
+
},
|
| 759 |
+
{
|
| 760 |
+
"type": "text",
|
| 761 |
+
"text": "On the benchmarks for face verification, we use 1:1 verification accuracy as the basic metrics. The rank-20 true positive identification rates (TPIR20) at varying false positive identification rates (FPIR) and AUC are used to report the identification results on QMUL-SurvFace. The evaluation metrics for IJB-C 1:1 verification protocol are true acceptance rates (TAR) at different false acceptance rate (FAR). For 1:N identification, the basic evaluation metrics are the true positive identification rates (TPIR) at different false positive identification rates (FPIR). ",
|
| 762 |
+
"bbox": [
|
| 763 |
+
173,
|
| 764 |
+
789,
|
| 765 |
+
825,
|
| 766 |
+
878
|
| 767 |
+
],
|
| 768 |
+
"page_idx": 5
|
| 769 |
+
},
|
| 770 |
+
{
|
| 771 |
+
"type": "text",
|
| 772 |
+
"text": "229 For better evaluation, we define another two metrics to assess the relative performance gain similar to \n230 [11, 14]. ",
|
| 773 |
+
"bbox": [
|
| 774 |
+
150,
|
| 775 |
+
886,
|
| 776 |
+
825,
|
| 777 |
+
916
|
| 778 |
+
],
|
| 779 |
+
"page_idx": 5
|
| 780 |
+
},
|
| 781 |
+
{
|
| 782 |
+
"type": "text",
|
| 783 |
+
"text": "(a) Cross-resolution identity matching. ",
|
| 784 |
+
"bbox": [
|
| 785 |
+
220,
|
| 786 |
+
102,
|
| 787 |
+
449,
|
| 788 |
+
116
|
| 789 |
+
],
|
| 790 |
+
"page_idx": 6
|
| 791 |
+
},
|
| 792 |
+
{
|
| 793 |
+
"type": "table",
|
| 794 |
+
"img_path": "images/5bc6cd3f78ae7b22f0215c5956576a0f985cb5a161b0a0711b0085a5814c9685.jpg",
|
| 795 |
+
"table_caption": [
|
| 796 |
+
"Table 1: Comparison of different methods on six face verification benchmarks. “Acc.” denotes average 1:1 verification accuracy. "
|
| 797 |
+
],
|
| 798 |
+
"table_footnote": [],
|
| 799 |
+
"table_body": "<table><tr><td rowspan=\"2\"></td><td colspan=\"2\">112&7</td><td colspan=\"2\">112&14</td><td colspan=\"2\">112&28</td></tr><tr><td>Acc.</td><td>Gain</td><td>Acc.</td><td>Gain</td><td>Acc.</td><td>Gain</td></tr><tr><td>hr</td><td>57.75</td><td>-</td><td>81.02</td><td>=</td><td>95.90</td><td></td></tr><tr><td>mm</td><td>50.58</td><td>-0.89</td><td>49.90</td><td>-4.82</td><td>50.03</td><td>-305.80</td></tr><tr><td>mr</td><td>65.85</td><td>+1.00</td><td>87.47</td><td>+1.00</td><td>96.05</td><td>+1.00</td></tr><tr><td>bt(Ours)</td><td>86.10</td><td>+3.50</td><td>94.08</td><td>+2.02</td><td>96.65</td><td>+5.00</td></tr></table>",
|
| 800 |
+
"bbox": [
|
| 801 |
+
173,
|
| 802 |
+
122,
|
| 803 |
+
480,
|
| 804 |
+
218
|
| 805 |
+
],
|
| 806 |
+
"page_idx": 6
|
| 807 |
+
},
|
| 808 |
+
{
|
| 809 |
+
"type": "table",
|
| 810 |
+
"img_path": "images/e4b339b356e5710a821d674e46406b978e735e5547439a4c5a002b9ecd815938.jpg",
|
| 811 |
+
"table_caption": [
|
| 812 |
+
"(b) Same-resolution identity matching. "
|
| 813 |
+
],
|
| 814 |
+
"table_footnote": [],
|
| 815 |
+
"table_body": "<table><tr><td colspan=\"2\">7&7</td><td colspan=\"2\">14&14</td><td colspan=\"2\">28&28</td><td colspan=\"2\">112&112</td></tr><tr><td>Acc.</td><td>Gain</td><td>Acc.</td><td>Gain</td><td>Acc.</td><td>Gain</td><td>Acc.</td><td>Gain</td></tr><tr><td>60.70</td><td></td><td>73.88</td><td></td><td>93.58</td><td>=</td><td>97.68</td><td>-</td></tr><tr><td>62.57</td><td>+1.00</td><td>78.00</td><td>+1.00</td><td>94.68</td><td>+1.00</td><td>97.68</td><td>-</td></tr><tr><td>61.02</td><td>+0.17</td><td>80.32</td><td>+1.56</td><td>95.12</td><td>+1.40</td><td>97.25</td><td>-</td></tr><tr><td>77.78</td><td>+9.13</td><td>90.90</td><td>+4.13</td><td>96.27</td><td>+2.45</td><td>97.25</td><td>=</td></tr></table>",
|
| 816 |
+
"bbox": [
|
| 817 |
+
495,
|
| 818 |
+
122,
|
| 819 |
+
812,
|
| 820 |
+
218
|
| 821 |
+
],
|
| 822 |
+
"page_idx": 6
|
| 823 |
+
},
|
| 824 |
+
{
|
| 825 |
+
"type": "text",
|
| 826 |
+
"text": "231 Cross-Resolution Gain. With the purpose towards the cross-resolution compatible representations, \n232 we define the performance gain as follows: ",
|
| 827 |
+
"bbox": [
|
| 828 |
+
138,
|
| 829 |
+
232,
|
| 830 |
+
826,
|
| 831 |
+
262
|
| 832 |
+
],
|
| 833 |
+
"page_idx": 6
|
| 834 |
+
},
|
| 835 |
+
{
|
| 836 |
+
"type": "equation",
|
| 837 |
+
"img_path": "images/4b139041d6657e17e2e1fa3469d8912dd4a8543ae9b6b2451d4ccd7624681030.jpg",
|
| 838 |
+
"text": "$$\nG a i n _ { r _ { 1 } \\& r _ { 2 } } ( \\varphi ) = \\frac { M _ { r _ { 1 } \\& r _ { 2 } } ( \\varphi ) - M _ { r _ { 1 } \\& r _ { 2 } } ( \\varphi _ { h r } ) } { | M _ { r _ { 1 } \\& r _ { 2 } } ( \\varphi _ { m r } ) - M _ { r _ { 1 } \\& r _ { 2 } } ( \\varphi _ { h r } ) | }\n$$",
|
| 839 |
+
"text_format": "latex",
|
| 840 |
+
"bbox": [
|
| 841 |
+
330,
|
| 842 |
+
273,
|
| 843 |
+
668,
|
| 844 |
+
308
|
| 845 |
+
],
|
| 846 |
+
"page_idx": 6
|
| 847 |
+
},
|
| 848 |
+
{
|
| 849 |
+
"type": "text",
|
| 850 |
+
"text": "Here 33 $M _ { r _ { 1 } \\& r _ { 2 } } ( \\cdot )$ are metrics when the resolutions of the image/template pair are $r _ { 1 } \\times r _ { 1 }$ and $r _ { 2 } \\times r _ { 2 }$ 4 $( r _ { 1 } \\neq r _ { 2 } )$ , respectively. $\\varphi _ { m r }$ shares the same architecture with $\\varphi _ { h r }$ while is trained on multi-resolution 5 images and thus serves as the baseline of cross-resolution gain. ",
|
| 851 |
+
"bbox": [
|
| 852 |
+
156,
|
| 853 |
+
318,
|
| 854 |
+
825,
|
| 855 |
+
363
|
| 856 |
+
],
|
| 857 |
+
"page_idx": 6
|
| 858 |
+
},
|
| 859 |
+
{
|
| 860 |
+
"type": "text",
|
| 861 |
+
"text": "36 Same-Resolution Gain. For the scenario of multi-resolution face recognition, the performance of \n37 same-resolution verification/identification is also vital besides cross-resolution one. Therefore, we \n38 report the relative performance improvement from base model $\\varphi _ { h r }$ in the scenario of same-resolution. ",
|
| 862 |
+
"bbox": [
|
| 863 |
+
151,
|
| 864 |
+
372,
|
| 865 |
+
826,
|
| 866 |
+
417
|
| 867 |
+
],
|
| 868 |
+
"page_idx": 6
|
| 869 |
+
},
|
| 870 |
+
{
|
| 871 |
+
"type": "equation",
|
| 872 |
+
"img_path": "images/afc66ac1bfdfe86e199dea6044bcececcbb9f300a5752f45c8950c00da6e810e.jpg",
|
| 873 |
+
"text": "$$\nG a i n _ { r \\& r } ( \\varphi ) = \\frac { M _ { r \\& r } ( \\varphi ) - M _ { r \\& r } ( \\varphi _ { h r } ) } { | M _ { r \\& r } ( \\varphi _ { r } ) - M _ { r \\& r } ( \\varphi _ { h r } ) | }\n$$",
|
| 874 |
+
"text_format": "latex",
|
| 875 |
+
"bbox": [
|
| 876 |
+
354,
|
| 877 |
+
422,
|
| 878 |
+
643,
|
| 879 |
+
457
|
| 880 |
+
],
|
| 881 |
+
"page_idx": 6
|
| 882 |
+
},
|
| 883 |
+
{
|
| 884 |
+
"type": "text",
|
| 885 |
+
"text": "39 Here $M _ { r \\& r } \\left( \\cdot \\right)$ are metrics when the resolutions of the image/template pair are both $r \\times r$ . $\\varphi _ { r }$ is \n40 a model of the set $\\{ \\varphi _ { m m } = \\varphi _ { r } | r = 7 , 1 4 , 2 8 \\}$ trained on images with resolution $r \\times r$ without \n41 considering cross-resolution representation compatibility, which serves as the baseline of same \n42 resolution gain on resolution $r$ . Note that for both metrics we add the absolute symbol to the \n43 denominator as they can be negative in some test settings (detailed in Section 4.3 and 4.4). ",
|
| 886 |
+
"bbox": [
|
| 887 |
+
150,
|
| 888 |
+
467,
|
| 889 |
+
825,
|
| 890 |
+
542
|
| 891 |
+
],
|
| 892 |
+
"page_idx": 6
|
| 893 |
+
},
|
| 894 |
+
{
|
| 895 |
+
"type": "text",
|
| 896 |
+
"text": "4.3 Multi-Resolution Identity Matching ",
|
| 897 |
+
"text_level": 1,
|
| 898 |
+
"bbox": [
|
| 899 |
+
168,
|
| 900 |
+
551,
|
| 901 |
+
462,
|
| 902 |
+
568
|
| 903 |
+
],
|
| 904 |
+
"page_idx": 6
|
| 905 |
+
},
|
| 906 |
+
{
|
| 907 |
+
"type": "text",
|
| 908 |
+
"text": "We now conduct experiments on the proposed BTNet framework for multi-resolution identity matching. Two different settings are included : (1) same-resolution matching, and (2) cross-resolution matching. Table 1 compares the average performance on popular benchmarks for $\\varphi _ { h r } , \\varphi _ { m m } , \\varphi _ { m r } ,$ $\\varphi _ { b t }$ . The experimental results on each dataset are detailed in Appendix A.5. ",
|
| 909 |
+
"bbox": [
|
| 910 |
+
173,
|
| 911 |
+
573,
|
| 912 |
+
826,
|
| 913 |
+
633
|
| 914 |
+
],
|
| 915 |
+
"page_idx": 6
|
| 916 |
+
},
|
| 917 |
+
{
|
| 918 |
+
"type": "text",
|
| 919 |
+
"text": "249 When directly applied to test data with the resolution lower than training data, $\\varphi _ { h r }$ suffers a severe \n250 performance degradation. Up-sampling images via interpolation can increase the amount of data \n251 but not the amount of information, only to improve the detailed part of the image and the spatial \n252 resolution (size) [64]. Moreover, it also brings various noise and artificial processing traces [65]. \n253 Up-sampling images via interpolation-typically bilinear interpolation or bicubic interpolation of \n254 4x4 pixel neighborhoods, essentially a function approximation method, is bound to introduce error \n255 information (detailed in Appendix A.1), thus potentially confusing identity information, which is \n256 especially crucial for LR images with limited details. We are able to observe improvement of $\\varphi _ { m m }$ in \n257 same-resolution matching but its cross-resolution gain is negative with approximately $50 \\%$ accuracy. \n258 Unsurprisingly, independently trained $\\varphi _ { r }$ is unaware of representation compatibility, and thus does \n259 not naturally suitable for cross-resolution recognition. The results show that $\\varphi _ { m r }$ improved both \n260 cross-resolution and same-resolution accuracy by a large margin, as it learns to adapt to resolution \n261 variance and maintain discriminability of multi-resolution inputs. Note that the model size and \n262 training data scale stay the same, while only the resolution distribution of the data changes for \n263 $\\varphi _ { m r }$ , and thus there is a marginal accuracy drop in the setting of 112&112 matching. Comparably, \n264 $\\varphi _ { b t }$ substantially outperforms all baselines with $2 . 0 2 \\sim 5 . 0 0$ cross-resolution gain and 2.45\\~9.13 \n265 same-resolution gain. Importantly, due to the multi-resolution branches, our approach has a cost same \n266 with $\\varphi _ { m m }$ , significantly lower than $\\varphi _ { h r }$ and $\\varphi _ { m r }$ (see Figure 5). \n267 For inference on inputs with resolutions not strictly matched to the branch, we validate three selection \n268 strategies based on three resolution indicators (see Figure 6). Table 2 compares BTNet against the \n269 state-of-the-arts models on QMUL-SurvFace 1:N identification benchmark. We are able to observe \n270 that our proposed approach extends the state-of-the-arts while being more computationally efficient. \n271 We believe the performance of BTNet (max $^ +$ ceil) is the highest that have been reported so far, and \n272 we believe it is meaningful with the increased focus on unconstrained surveillance applications. ",
|
| 920 |
+
"bbox": [
|
| 921 |
+
142,
|
| 922 |
+
638,
|
| 923 |
+
826,
|
| 924 |
+
912
|
| 925 |
+
],
|
| 926 |
+
"page_idx": 6
|
| 927 |
+
},
|
| 928 |
+
{
|
| 929 |
+
"type": "table",
|
| 930 |
+
"img_path": "images/a917f84eb65923fef0ec3ac3270ad45b1e02c6a459f4c0c4aa26583a3e31ddf9.jpg",
|
| 931 |
+
"table_caption": [
|
| 932 |
+
"Table 2: Performance of face identification on QMUL-SurvFace. Most compared results are cited from [17, 54] except BTNet. "
|
| 933 |
+
],
|
| 934 |
+
"table_footnote": [],
|
| 935 |
+
"table_body": "<table><tr><td rowspan=\"2\"></td><td colspan=\"5\">TPIR20(%)@FPIR</td></tr><tr><td>AUC</td><td>0.3</td><td>0.2</td><td>0.1</td><td>0.01</td></tr><tr><td>VGG-Face [55]</td><td>14.0</td><td>5.1</td><td>2.6</td><td>0.8</td><td>0.1</td></tr><tr><td>DeepID2 [56]</td><td>20.8</td><td>12.8</td><td>8.1</td><td>3.4</td><td>0.8</td></tr><tr><td>FaceNet [57]</td><td>19.8</td><td>12.7</td><td>8.1</td><td>4.3</td><td>1.0</td></tr><tr><td>SphereFace [58]</td><td>28.1</td><td>21.3</td><td>15.7</td><td>8.3</td><td>1.0</td></tr><tr><td>SRCNN [59]</td><td>27.0</td><td>20.0</td><td>14.9</td><td>6.2</td><td>0.6</td></tr><tr><td>FSRCNN [60]</td><td>27.3</td><td>20.0</td><td>14.4</td><td>6.1</td><td>0.7</td></tr><tr><td>VDSR [61]</td><td>27.3</td><td>20.1</td><td>14.5</td><td>6.1</td><td>0.8</td></tr><tr><td>DRRN [62]</td><td>27.5</td><td>20.3</td><td>14.9</td><td>6.3</td><td>0.6</td></tr><tr><td>LapSRN [63]</td><td>27.4</td><td>20.2</td><td>14.7</td><td>6.3</td><td>0.7</td></tr><tr><td>ArcFace [1]</td><td>25.3</td><td>18.7</td><td>15.1</td><td>10.1</td><td>2.0</td></tr><tr><td>RAN [54]</td><td>32.3</td><td>26.5</td><td>21.6</td><td>14.9</td><td>3.8</td></tr><tr><td>BTNet (avg.+floor)</td><td>32.6</td><td>27.9</td><td>23.4</td><td>16.5</td><td>1.4</td></tr><tr><td>BTNet (avg.+near)</td><td>34.6</td><td>30.3</td><td>25.7</td><td>18.9</td><td>1.5</td></tr><tr><td>BTNet (avg.+ceil)</td><td>35.4</td><td>31.1</td><td>26.8</td><td>20.3</td><td>2.2</td></tr><tr><td>BTNet (min+floor)</td><td>32.3</td><td>27.6</td><td>23.2</td><td>16.1</td><td>1.4</td></tr><tr><td>BTNet (min+near)</td><td>34.0</td><td>29.6</td><td>25.0</td><td>18.0</td><td>1.4</td></tr><tr><td>BTNet (min+ceil)</td><td>35.3</td><td>31.0</td><td>26.6</td><td>19.9</td><td>2.0</td></tr><tr><td>BTNet (max+floor)</td><td>33.6</td><td>29.1</td><td>24.5</td><td>17.6</td><td>1.3</td></tr><tr><td>BTNet (max+near)</td><td>35.2</td><td>31.0</td><td>26.4</td><td>19.6</td><td>1.7</td></tr><tr><td>BTNet (max+ceil)</td><td>35.4</td><td>31.2</td><td>26.9</td><td>20.6</td><td>2.5</td></tr></table>",
|
| 936 |
+
"bbox": [
|
| 937 |
+
318,
|
| 938 |
+
121,
|
| 939 |
+
676,
|
| 940 |
+
460
|
| 941 |
+
],
|
| 942 |
+
"page_idx": 7
|
| 943 |
+
},
|
| 944 |
+
{
|
| 945 |
+
"type": "text",
|
| 946 |
+
"text": "",
|
| 947 |
+
"bbox": [
|
| 948 |
+
140,
|
| 949 |
+
481,
|
| 950 |
+
825,
|
| 951 |
+
571
|
| 952 |
+
],
|
| 953 |
+
"page_idx": 7
|
| 954 |
+
},
|
| 955 |
+
{
|
| 956 |
+
"type": "text",
|
| 957 |
+
"text": "4.4 Multi-Resolution Feature Aggregation ",
|
| 958 |
+
"text_level": 1,
|
| 959 |
+
"bbox": [
|
| 960 |
+
166,
|
| 961 |
+
583,
|
| 962 |
+
480,
|
| 963 |
+
599
|
| 964 |
+
],
|
| 965 |
+
"page_idx": 7
|
| 966 |
+
},
|
| 967 |
+
{
|
| 968 |
+
"type": "text",
|
| 969 |
+
"text": "Multi-resolution feature aggregation is common in set-based recognition tasks where the model needs to determine the similarity of sets (templates), instead of images. Each set could contain images of the same identity with different resolutions. In our experiment, we rescale the original and flipped images in each set to different resolutions and aggregate their features into a representation of the template. Detailed experimental results can be seen in Appendix A.5. ",
|
| 970 |
+
"bbox": [
|
| 971 |
+
173,
|
| 972 |
+
604,
|
| 973 |
+
825,
|
| 974 |
+
679
|
| 975 |
+
],
|
| 976 |
+
"page_idx": 7
|
| 977 |
+
},
|
| 978 |
+
{
|
| 979 |
+
"type": "text",
|
| 980 |
+
"text": "Table 3 (a) compares the cross-resolution results of $\\mathrm { T A R } @ \\mathrm { F A R } = 1 0 ^ { - 4 }$ for 1:1 verification. The cross-resolution features are ensured to be mapped to the same vector space where the aggregation is conducted for $\\varphi _ { h r }$ and $\\varphi _ { m r }$ , but we can observe that $\\varphi _ { h r }$ performs much better than $\\varphi _ { m r }$ . One possible reason is that $\\varphi _ { h r }$ has outstanding discriminability to extract HR features, while LR features may not overly deteriorate the HR information. This phenomenon also suggests that $\\varphi _ { m r }$ sacrifices its discriminability in exchange for the adaptability for resolution-variance. We can see $\\varphi _ { b t }$ is comparable with $\\varphi _ { h r }$ , demonstrating the discriminative power of BTNet for aggregating multi-resolution features. ",
|
| 981 |
+
"bbox": [
|
| 982 |
+
173,
|
| 983 |
+
685,
|
| 984 |
+
825,
|
| 985 |
+
792
|
| 986 |
+
],
|
| 987 |
+
"page_idx": 7
|
| 988 |
+
},
|
| 989 |
+
{
|
| 990 |
+
"type": "text",
|
| 991 |
+
"text": "Table 3 (b) compares the same-resolution results of $\\mathrm { T A R } @ \\mathrm { F A R } = 1 0 ^ { - 4 }$ for 1:1 verification. When HR information is removed from the template representation (i.e., test settings 7&7, 14&14, 28&28), $\\varphi _ { h r }$ suffers from performance degradation as well, as the informative embedding cannot catch the lost details of the LR images [54]. Both $\\varphi _ { m m }$ and $\\varphi _ { m r }$ improve with a limited same-resolution gain, while $\\varphi _ { b t }$ surpasses the baselines by a large margin while also reducing the compute. ",
|
| 992 |
+
"bbox": [
|
| 993 |
+
171,
|
| 994 |
+
799,
|
| 995 |
+
825,
|
| 996 |
+
875
|
| 997 |
+
],
|
| 998 |
+
"page_idx": 7
|
| 999 |
+
},
|
| 1000 |
+
{
|
| 1001 |
+
"type": "text",
|
| 1002 |
+
"text": "In Table 4 we show the results of291 $\\mathrm { T P I R } @ \\mathrm { F P I R } { = } 1 0 ^ { - 1 }$ for 1:N identification protocol. Similar to our 292 results for 1:1 verification, we are able to observe that $\\varphi _ { b t }$ is comparable or even better than $\\varphi _ { h r }$ with ",
|
| 1003 |
+
"bbox": [
|
| 1004 |
+
145,
|
| 1005 |
+
881,
|
| 1006 |
+
823,
|
| 1007 |
+
912
|
| 1008 |
+
],
|
| 1009 |
+
"page_idx": 7
|
| 1010 |
+
},
|
| 1011 |
+
{
|
| 1012 |
+
"type": "text",
|
| 1013 |
+
"text": "Table 3: Comparison of different methods on the IJB-C dataset 1:1 face verification task. \n“TAR” denotes TAR $( \\% @ \\mathsf { F A R = } 1 \\mathsf { e } { \\mathrm { - } } 4 )$ . ",
|
| 1014 |
+
"bbox": [
|
| 1015 |
+
168,
|
| 1016 |
+
65,
|
| 1017 |
+
753,
|
| 1018 |
+
93
|
| 1019 |
+
],
|
| 1020 |
+
"page_idx": 8
|
| 1021 |
+
},
|
| 1022 |
+
{
|
| 1023 |
+
"type": "text",
|
| 1024 |
+
"text": "(a) Cross-resolution feature aggregation. ",
|
| 1025 |
+
"bbox": [
|
| 1026 |
+
215,
|
| 1027 |
+
103,
|
| 1028 |
+
454,
|
| 1029 |
+
116
|
| 1030 |
+
],
|
| 1031 |
+
"page_idx": 8
|
| 1032 |
+
},
|
| 1033 |
+
{
|
| 1034 |
+
"type": "table",
|
| 1035 |
+
"img_path": "images/5b1f1bff4f8c3abafbab07138d8023950fef2ba90c0c9e80acbd2e7a3f3c7011.jpg",
|
| 1036 |
+
"table_caption": [
|
| 1037 |
+
"(b) Same-resolution feature aggregation. "
|
| 1038 |
+
],
|
| 1039 |
+
"table_footnote": [],
|
| 1040 |
+
"table_body": "<table><tr><td colspan=\"2\">7&7</td><td colspan=\"2\">14&14</td><td colspan=\"2\">28&28</td><td colspan=\"2\">112&112</td></tr><tr><td>TAR</td><td>Gain</td><td>TAR</td><td>Gain</td><td>TAR</td><td>Gain</td><td>TAR</td><td>Gain</td></tr><tr><td>4.83</td><td>=</td><td>33.74</td><td></td><td>89.65</td><td></td><td>96.40</td><td></td></tr><tr><td>4.83</td><td>+0.00</td><td>29.26</td><td>-1.00</td><td>92.58</td><td>+1.00</td><td>96.40</td><td>=</td></tr><tr><td>4.48</td><td>-</td><td>40.51</td><td>+1.51</td><td>92.81</td><td>+1.08</td><td>96.06</td><td></td></tr><tr><td>35.47</td><td>-</td><td>82.08</td><td>+10.79</td><td>94.50</td><td>+1.66</td><td>96.06</td><td>=</td></tr></table>",
|
| 1041 |
+
"bbox": [
|
| 1042 |
+
496,
|
| 1043 |
+
122,
|
| 1044 |
+
818,
|
| 1045 |
+
218
|
| 1046 |
+
],
|
| 1047 |
+
"page_idx": 8
|
| 1048 |
+
},
|
| 1049 |
+
{
|
| 1050 |
+
"type": "table",
|
| 1051 |
+
"img_path": "images/2443428c5deb0919a8302f752c3c6d53991627ec9633ca5d82d7fb69c4bdb157.jpg",
|
| 1052 |
+
"table_caption": [],
|
| 1053 |
+
"table_footnote": [],
|
| 1054 |
+
"table_body": "<table><tr><td></td><td colspan=\"2\">112&7</td><td colspan=\"2\">112&14</td><td colspan=\"2\">112&28</td></tr><tr><td></td><td>TAR</td><td>Gain</td><td>TAR</td><td>Gain</td><td>TAR</td><td>Gain</td></tr><tr><td>hr</td><td>88.89</td><td></td><td>92.40</td><td>=</td><td>95.62</td><td></td></tr><tr><td>mm</td><td>74.54</td><td>-0.56</td><td>93.52</td><td>+1.33</td><td>95.42</td><td>-0.69</td></tr><tr><td>mr</td><td>63.11</td><td>-1.00</td><td>91.56</td><td>-1.00</td><td>95.33</td><td>-1.00</td></tr><tr><td>bt(Ours)</td><td>88.17</td><td>-0.03</td><td>93.97</td><td>+1.87</td><td>95.62</td><td>+0.00</td></tr></table>",
|
| 1055 |
+
"bbox": [
|
| 1056 |
+
173,
|
| 1057 |
+
122,
|
| 1058 |
+
470,
|
| 1059 |
+
217
|
| 1060 |
+
],
|
| 1061 |
+
"page_idx": 8
|
| 1062 |
+
},
|
| 1063 |
+
{
|
| 1064 |
+
"type": "text",
|
| 1065 |
+
"text": "Table 4: Comparison of different methods on the IJB-C dataset 1: N face identification task. \n“TPIR” denotes TPIR $( \\% @ \\mathsf { G P I R { = } } 0 . 1 $ ). ",
|
| 1066 |
+
"bbox": [
|
| 1067 |
+
169,
|
| 1068 |
+
234,
|
| 1069 |
+
774,
|
| 1070 |
+
262
|
| 1071 |
+
],
|
| 1072 |
+
"page_idx": 8
|
| 1073 |
+
},
|
| 1074 |
+
{
|
| 1075 |
+
"type": "text",
|
| 1076 |
+
"text": "(a) Cross-resolution feature aggregation. ",
|
| 1077 |
+
"bbox": [
|
| 1078 |
+
215,
|
| 1079 |
+
271,
|
| 1080 |
+
455,
|
| 1081 |
+
285
|
| 1082 |
+
],
|
| 1083 |
+
"page_idx": 8
|
| 1084 |
+
},
|
| 1085 |
+
{
|
| 1086 |
+
"type": "table",
|
| 1087 |
+
"img_path": "images/6065fcbea5b19bea017c03a6374b0469b7a188b7d66b4092782fe3b712c6e307.jpg",
|
| 1088 |
+
"table_caption": [],
|
| 1089 |
+
"table_footnote": [],
|
| 1090 |
+
"table_body": "<table><tr><td></td><td colspan=\"2\">112&7</td><td colspan=\"2\">112&14</td><td colspan=\"2\">112&28</td></tr><tr><td></td><td>TPIR</td><td>Gain</td><td>TPIR</td><td>Gain</td><td>TPIR</td><td>Gain</td></tr><tr><td>hr</td><td>85.60</td><td>-</td><td>90.11</td><td>-</td><td>94.27</td><td>-</td></tr><tr><td>mm</td><td>69.70</td><td>-0.55</td><td>91.73</td><td>+1.53</td><td>94.13</td><td>-0.33</td></tr><tr><td>mr</td><td>56.64</td><td>-1.00</td><td>89.05</td><td>-1.00</td><td>93.84</td><td>-1.00</td></tr><tr><td>bt(Ours)</td><td>83.93</td><td>-0.06</td><td>91.87</td><td>+1.66</td><td>94.33</td><td>+0.14</td></tr></table>",
|
| 1091 |
+
"bbox": [
|
| 1092 |
+
173,
|
| 1093 |
+
291,
|
| 1094 |
+
470,
|
| 1095 |
+
387
|
| 1096 |
+
],
|
| 1097 |
+
"page_idx": 8
|
| 1098 |
+
},
|
| 1099 |
+
{
|
| 1100 |
+
"type": "table",
|
| 1101 |
+
"img_path": "images/7f48a4a8376d99bea53855f456f39b4b1f9bc918498a85209e6e981ad9516181.jpg",
|
| 1102 |
+
"table_caption": [
|
| 1103 |
+
"(b) Same-resolution feature aggregation. "
|
| 1104 |
+
],
|
| 1105 |
+
"table_footnote": [],
|
| 1106 |
+
"table_body": "<table><tr><td colspan=\"2\">7&7</td><td colspan=\"2\">14&14</td><td>28&28</td><td></td><td colspan=\"2\">112&112</td></tr><tr><td>TPIR</td><td>Gain</td><td>TPIR</td><td>Gain</td><td>TPIR</td><td>Gain</td><td>TPIR</td><td>Gain</td></tr><tr><td>3.12</td><td>-</td><td>26.37</td><td>-</td><td>86.06</td><td>=</td><td>95.57</td><td>-</td></tr><tr><td>3.24</td><td>+1.00</td><td>21.84</td><td>-1.00</td><td>89.76</td><td>+1.00</td><td>95.57</td><td>=</td></tr><tr><td>3.25</td><td>+1.08</td><td>37.58</td><td>+2.47</td><td>91.02</td><td>+1.34</td><td>94.85</td><td>-</td></tr><tr><td>27.70</td><td>+204.83</td><td>76.65</td><td>+11.10</td><td>92.89</td><td>+1.85</td><td>94.85</td><td>-</td></tr></table>",
|
| 1107 |
+
"bbox": [
|
| 1108 |
+
496,
|
| 1109 |
+
291,
|
| 1110 |
+
834,
|
| 1111 |
+
387
|
| 1112 |
+
],
|
| 1113 |
+
"page_idx": 8
|
| 1114 |
+
},
|
| 1115 |
+
{
|
| 1116 |
+
"type": "text",
|
| 1117 |
+
"text": "293 HR information involved and can preserve superior discriminability with limited LR information, \n294 while also being more computationally efficient. ",
|
| 1118 |
+
"bbox": [
|
| 1119 |
+
142,
|
| 1120 |
+
414,
|
| 1121 |
+
826,
|
| 1122 |
+
444
|
| 1123 |
+
],
|
| 1124 |
+
"page_idx": 8
|
| 1125 |
+
},
|
| 1126 |
+
{
|
| 1127 |
+
"type": "image",
|
| 1128 |
+
"img_path": "images/a8c4e8888c6239a2f78ab3386fd66c4578ddb9b6f3764bbdd536c5e5c274bf6e.jpg",
|
| 1129 |
+
"image_caption": [
|
| 1130 |
+
"Figure 6: Branch selection process. Max/min/average is used on (W, H) to obtain a resolution indicator for further allocation (floor/near/ceil) to a certain branch. "
|
| 1131 |
+
],
|
| 1132 |
+
"image_footnote": [],
|
| 1133 |
+
"bbox": [
|
| 1134 |
+
186,
|
| 1135 |
+
459,
|
| 1136 |
+
799,
|
| 1137 |
+
549
|
| 1138 |
+
],
|
| 1139 |
+
"page_idx": 8
|
| 1140 |
+
},
|
| 1141 |
+
{
|
| 1142 |
+
"type": "text",
|
| 1143 |
+
"text": "295 5 Discussion and Conclusion ",
|
| 1144 |
+
"text_level": 1,
|
| 1145 |
+
"bbox": [
|
| 1146 |
+
151,
|
| 1147 |
+
606,
|
| 1148 |
+
428,
|
| 1149 |
+
623
|
| 1150 |
+
],
|
| 1151 |
+
"page_idx": 8
|
| 1152 |
+
},
|
| 1153 |
+
{
|
| 1154 |
+
"type": "text",
|
| 1155 |
+
"text": "This paper works on the problem of multi-resolution face recognition, and provides a new scheme to operate images conditioned on its input resolution without large span rescaling. The error introduced by up-sampling via interpolation is investigated and analyzed. Decoupled as branches for discriminative representation learning and coupled as the trunk for compatible representation learning, our Branch-to-Trunk Network (BTNet) achieves significant improvements on multi-resolution face verification and identification tasks. Besides, the superiority of BTNet in reducing computational cost and parameter storage cost is also demonstrated. It is worth noting that our approach is easy to expand to recognition tasks for other classes of objects and has the potential to serve as a general network architecture for multi-resolution visual recognition. ",
|
| 1156 |
+
"bbox": [
|
| 1157 |
+
173,
|
| 1158 |
+
633,
|
| 1159 |
+
825,
|
| 1160 |
+
768
|
| 1161 |
+
],
|
| 1162 |
+
"page_idx": 8
|
| 1163 |
+
},
|
| 1164 |
+
{
|
| 1165 |
+
"type": "text",
|
| 1166 |
+
"text": "Limitations and Future Work. The dislocation between the underlying optical resolution of native face images and that of a certain branch may limit the power of the model, which may be improved by selecting the optimal processing branch for the input in combination with the image quality, rather than by image size alone. The optimal branch selection strategy is not fully investigated though we have provided an intuitive way to select the branch for inputs (see Figure 6). Importantly, based on the unified multi-resolution metric space, the underlying resolution of the inputs (integrated spatial resolution with quality assessment) can be utilized to provide the reliability of the representation and contribute to risk-controlled face recognition. They will be our future research directions. ",
|
| 1167 |
+
"bbox": [
|
| 1168 |
+
168,
|
| 1169 |
+
779,
|
| 1170 |
+
825,
|
| 1171 |
+
900
|
| 1172 |
+
],
|
| 1173 |
+
"page_idx": 8
|
| 1174 |
+
},
|
| 1175 |
+
{
|
| 1176 |
+
"type": "text",
|
| 1177 |
+
"text": "References \n[1] Jiankang Deng, Jia Guo, Niannan Xue, and Stefanos Zafeiriou. Arcface: Additive angular margin loss for deep face recognition. In IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2019, Long Beach, CA, USA, June 16-20, 2019, pages 4690–4699. Computer Vision Foundation / IEEE, 2019. \n[2] Xiaobo Wang, Shifeng Zhang, Shuo Wang, Tianyu Fu, Hailin Shi, and Tao Mei. Mis-classified vector guided softmax loss for face recognition. In The Thirty-Fourth AAAI Conference on Artificial Intelligence, AAAI 2020, The Thirty-Second Innovative Applications of Artificial Intelligence Conference, IAAI 2020, The Tenth AAAI Symposium on Educational Advances in Artificial Intelligence, EAAI 2020, New York, NY, USA, February 7-12, 2020, pages 12241– 12248. AAAI Press, 2020. \n[3] Yuge Huang, Yuhan Wang, Ying Tai, Xiaoming Liu, Pengcheng Shen, Shaoxin Li, Jilin Li, and Feiyue Huang. Curricularface: Adaptive curriculum learning loss for deep face recognition. In 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2020, Seattle, WA, USA, June 13-19, 2020, pages 5900–5909. Computer Vision Foundation / IEEE, 2020. \n[4] Shizhan Zhu, Sifei Liu, Chen Change Loy, and Xiaoou Tang. Deep cascaded bi-network for face hallucination. In Bastian Leibe, Jiri Matas, Nicu Sebe, and Max Welling, editors, Computer Vision – ECCV 2016, pages 614–630, Cham, 2016. Springer International Publishing. \n[5] Klemen Grm, Walter J. Scheirer, and Vitomir Struc. Face hallucination using cascaded superresolution and identity priors. IEEE Trans. Image Process., 29:2150–2165, 2020. \n[6] Zhangyang Wang, Shiyu Chang, Yingzhen Yang, Ding Liu, and Thomas S. Huang. Studying very low resolution recognition using deep networks. CoRR, abs/1601.04153, 2016. \n[7] Zhiyi Cheng, Xiatian Zhu, and Shaogang Gong. Low-resolution face recognition. In C. V. Jawahar, Hongdong Li, Greg Mori, and Konrad Schindler, editors, Computer Vision - ACCV 2018 - 14th Asian Conference on Computer Vision, Perth, Australia, December 2-6, 2018, Revised Selected Papers, Part III, volume 11363 of Lecture Notes in Computer Science, pages 605–621. Springer, 2018. \n[8] Xi Yin, Ying Tai, Yuge Huang, and Xiaoming Liu. FAN: feature adaptation network for surveillance face recognition and normalization. In Hiroshi Ishikawa, Cheng-Lin Liu, Tomás Pajdla, and Jianbo Shi, editors, Computer Vision - ACCV 2020 - 15th Asian Conference on Computer Vision, Kyoto, Japan, November 30 - December 4, 2020, Revised Selected Papers, Part II, volume 12623 of Lecture Notes in Computer Science, pages 301–319. Springer, 2020. \n[9] Maneet Singh, Shruti Nagpal, Richa Singh, and Mayank Vatsa. Dual directed capsule network for very low resolution image recognition. In 2019 IEEE/CVF International Conference on Computer Vision, ICCV 2019, Seoul, Korea (South), October 27 - November 2, 2019, pages 340–349. IEEE, 2019. \n[10] Aashish Rai, Vishal M. Chudasama, Kishor P. Upla, Kiran B. Raja, Raghavendra Ramachandra, and Christoph Busch. Comsupresnet: A compact super-resolution network for low-resolution face images. In 8th International Workshop on Biometrics and Forensics, IWBF 2020, Porto, Portugal, April 29-30, 2020, pages 1–6. IEEE, 2020. \n[11] Yantao Shen, Yuanjun Xiong, Wei Xia, and Stefano Soatto. Towards backward-compatible representation learning. In 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2020, Seattle, WA, USA, June 13-19, 2020, pages 6367–6376. Computer Vision Foundation / IEEE, 2020. \n[12] Mateusz Budnik and Yannis Avrithis. Asymmetric metric learning for knowledge transfer. In IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2021, virtual, June 19-25, 2021, pages 8228–8238. Computer Vision Foundation / IEEE, 2021. \n360 [13] Chien-Yi Wang, Ya-Liang Chang, Shang-Ta Yang, Dong Chen, and Shang-Hong Lai. Unified representation learning for cross model compatibility. In 31st British Machine Vision Conference 2020, BMVC 2020, Virtual Event, UK, September 7-10, 2020. BMVA Press, 2020. \n363 [14] Qiang Meng, Chixiang Zhang, Xiaoqiang Xu, and Feng Zhou. Learning compatible embeddings. In 2021 IEEE/CVF International Conference on Computer Vision, ICCV 2021, Montreal, QC, Canada, October 10-17, 2021, pages 9919–9928. IEEE, 2021. \n366 [15] Rahul Duggal, Hao Zhou, Shuo Yang, Yuanjun Xiong, Wei Xia, Zhuowen Tu, and Stefano Soatto. Compatibility-aware heterogeneous visual search. In IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2021, virtual, June 19-25, 2021, pages 10723–10732. Computer Vision Foundation / IEEE, 2021. [16] Mingjian Zhu, Kai Han, Enhua Wu, Qiulin Zhang, Ying Nie, Zhenzhong Lan, and Yunhe Wang. Dynamic resolution network. In Marc’Aurelio Ranzato, Alina Beygelzimer, Yann N. Dauphin, Percy Liang, and Jennifer Wortman Vaughan, editors, Advances in Neural Information Processing Systems 34: Annual Conference on Neural Information Processing Systems 2021, NeurIPS 2021, December 6-14, 2021, virtual, pages 27319–27330, 2021. \n375 [17] Zhiyi Cheng, Xiatian Zhu, and Shaogang Gong. Surveillance face recognition challenge. CoRR, abs/1804.09691, 2018. \n377 [18] Geoffrey E. Hinton, Oriol Vinyals, and Jeffrey Dean. Distilling the knowledge in a neural network. CoRR, abs/1503.02531, 2015. [19] Byeongho Heo, Jeesoo Kim, Sangdoo Yun, Hyojin Park, Nojun Kwak, and Jin Young Choi. A comprehensive overhaul of feature distillation. In 2019 IEEE/CVF International Conference on Computer Vision, ICCV 2019, Seoul, Korea (South), October 27 - November 2, 2019, pages 1921–1930. IEEE, 2019. [20] Zehao Huang and Naiyan Wang. Like what you like: Knowledge distill via neuron selectivity transfer. CoRR, abs/1707.01219, 2017. [21] Wonpyo Park, Dongju Kim, Yan Lu, and Minsu Cho. Relational knowledge distillation. In IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2019, Long Beach, CA, USA, June 16-20, 2019, pages 3967–3976. Computer Vision Foundation / IEEE, 2019. \n388 [22] Adriana Romero, Nicolas Ballas, Samira Ebrahimi Kahou, Antoine Chassang, Carlo Gatta, and Yoshua Bengio. Fitnets: Hints for thin deep nets. In Yoshua Bengio and Yann LeCun, editors, 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015, Conference Track Proceedings, 2015. [23] Frederick Tung and Greg Mori. Similarity-preserving knowledge distillation. In 2019 IEEE/CVF International Conference on Computer Vision, ICCV 2019, Seoul, Korea (South), October 27 - November 2, 2019, pages 1365–1374. IEEE, 2019. \n395 [24] Sergey Zagoruyko and Nikos Komodakis. Wide residual networks. In Richard C. Wilson, Edwin R. Hancock, and William A. P. Smith, editors, Proceedings of the British Machine Vision Conference 2016, BMVC 2016, York, UK, September 19-22, 2016. BMVA Press, 2016. [25] Junho Yim, Donggyu Joo, Ji-Hoon Bae, and Junmo Kim. A gift from knowledge distillation: Fast optimization, network minimization and transfer learning. In 2017 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2017, Honolulu, HI, USA, July 21-26, 2017, pages 7130–7138. IEEE Computer Society, 2017. [26] Yonglong Tian, Dilip Krishnan, and Phillip Isola. Contrastive representation distillation. CoRR, abs/1910.10699, 2019. ",
|
| 1178 |
+
"bbox": [
|
| 1179 |
+
142,
|
| 1180 |
+
71,
|
| 1181 |
+
828,
|
| 1182 |
+
920
|
| 1183 |
+
],
|
| 1184 |
+
"page_idx": 9
|
| 1185 |
+
},
|
| 1186 |
+
{
|
| 1187 |
+
"type": "text",
|
| 1188 |
+
"text": "",
|
| 1189 |
+
"bbox": [
|
| 1190 |
+
147,
|
| 1191 |
+
34,
|
| 1192 |
+
828,
|
| 1193 |
+
915
|
| 1194 |
+
],
|
| 1195 |
+
"page_idx": 10
|
| 1196 |
+
},
|
| 1197 |
+
{
|
| 1198 |
+
"type": "text",
|
| 1199 |
+
"text": "[27] Baoyun Peng, Xiao Jin, Dongsheng Li, Shunfeng Zhou, Yichao Wu, Jiaheng Liu, Zhaoning Zhang, and Yu Liu. Correlation congruence for knowledge distillation. In 2019 IEEE/CVF International Conference on Computer Vision, ICCV 2019, Seoul, Korea (South), October 27 - November 2, 2019, pages 5006–5015. IEEE, 2019. ",
|
| 1200 |
+
"bbox": [
|
| 1201 |
+
173,
|
| 1202 |
+
90,
|
| 1203 |
+
826,
|
| 1204 |
+
151
|
| 1205 |
+
],
|
| 1206 |
+
"page_idx": 11
|
| 1207 |
+
},
|
| 1208 |
+
{
|
| 1209 |
+
"type": "text",
|
| 1210 |
+
"text": "[28] Jangho Kim, Seonguk Park, and Nojun Kwak. Paraphrasing complex network: Network compression via factor transfer. In Samy Bengio, Hanna M. Wallach, Hugo Larochelle, Kristen Grauman, Nicolò Cesa-Bianchi, and Roman Garnett, editors, Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018, NeurIPS 2018, December 3-8, 2018, Montréal, Canada, pages 2765–2774, 2018. ",
|
| 1211 |
+
"bbox": [
|
| 1212 |
+
173,
|
| 1213 |
+
165,
|
| 1214 |
+
825,
|
| 1215 |
+
241
|
| 1216 |
+
],
|
| 1217 |
+
"page_idx": 11
|
| 1218 |
+
},
|
| 1219 |
+
{
|
| 1220 |
+
"type": "text",
|
| 1221 |
+
"text": "[29] Byeongho Heo, Minsik Lee, Sangdoo Yun, and Jin Young Choi. Knowledge transfer via distillation of activation boundaries formed by hidden neurons. In The Thirty-Third AAAI Conference on Artificial Intelligence, AAAI 2019, The Thirty-First Innovative Applications of Artificial Intelligence Conference, IAAI 2019, The Ninth AAAI Symposium on Educational Advances in Artificial Intelligence, EAAI 2019, Honolulu, Hawaii, USA, January 27 - February 1, 2019, pages 3779–3787. AAAI Press, 2019. ",
|
| 1222 |
+
"bbox": [
|
| 1223 |
+
171,
|
| 1224 |
+
253,
|
| 1225 |
+
826,
|
| 1226 |
+
345
|
| 1227 |
+
],
|
| 1228 |
+
"page_idx": 11
|
| 1229 |
+
},
|
| 1230 |
+
{
|
| 1231 |
+
"type": "text",
|
| 1232 |
+
"text": "[30] Yoanna Martínez-Díaz, Heydi Méndez-Vázquez, Luis S. Luevano, Leonardo Chang, and Miguel González-Mendoza. Lightweight low-resolution face recognition for surveillance applications. In 25th International Conference on Pattern Recognition, ICPR 2020, Virtual Event / Milan, Italy, January 10-15, 2021, pages 5421–5428. IEEE, 2020. ",
|
| 1233 |
+
"bbox": [
|
| 1234 |
+
166,
|
| 1235 |
+
358,
|
| 1236 |
+
825,
|
| 1237 |
+
420
|
| 1238 |
+
],
|
| 1239 |
+
"page_idx": 11
|
| 1240 |
+
},
|
| 1241 |
+
{
|
| 1242 |
+
"type": "text",
|
| 1243 |
+
"text": "[31] Luis S. Luevano, Leonardo Chang, Heydi Méndez-Vázquez, Yoanna Martínez-Díaz, and Miguel González-Mendoza. A study on the performance of unconstrained very low resolution face recognition: Analyzing current trends and new research directions. IEEE Access, 9:75470– 75493, 2021. ",
|
| 1244 |
+
"bbox": [
|
| 1245 |
+
171,
|
| 1246 |
+
433,
|
| 1247 |
+
825,
|
| 1248 |
+
493
|
| 1249 |
+
],
|
| 1250 |
+
"page_idx": 11
|
| 1251 |
+
},
|
| 1252 |
+
{
|
| 1253 |
+
"type": "text",
|
| 1254 |
+
"text": "427 [32] Ze Lu, Xudong Jiang, and Alex C. Kot. Deep coupled resnet for low-resolution face recognition. \n428 IEEE Signal Process. Lett., 25(4):526–530, 2018. ",
|
| 1255 |
+
"bbox": [
|
| 1256 |
+
145,
|
| 1257 |
+
507,
|
| 1258 |
+
826,
|
| 1259 |
+
539
|
| 1260 |
+
],
|
| 1261 |
+
"page_idx": 11
|
| 1262 |
+
},
|
| 1263 |
+
{
|
| 1264 |
+
"type": "text",
|
| 1265 |
+
"text": "[33] Sivaram Prasad Mudunuri, Soubhik Sanyal, and Soma Biswas. Genlr-net: Deep framework for very low resolution face and object recognition with generalization to unseen categories. In 2018 IEEE Conference on Computer Vision and Pattern Recognition Workshops, CVPR Workshops 2018, Salt Lake City, UT, USA, June 18-22, 2018, pages 489–498. Computer Vision Foundation / IEEE Computer Society, 2018. ",
|
| 1266 |
+
"bbox": [
|
| 1267 |
+
176,
|
| 1268 |
+
551,
|
| 1269 |
+
826,
|
| 1270 |
+
628
|
| 1271 |
+
],
|
| 1272 |
+
"page_idx": 11
|
| 1273 |
+
},
|
| 1274 |
+
{
|
| 1275 |
+
"type": "text",
|
| 1276 |
+
"text": "[34] Juan Zha and Hongyang Chao. TCN: transferable coupled network for cross-resolution face recognition\\* . In IEEE International Conference on Acoustics, Speech and Signal Processing, ICASSP 2019, Brighton, United Kingdom, May 12-17, 2019, pages 3302–3306. IEEE, 2019. ",
|
| 1277 |
+
"bbox": [
|
| 1278 |
+
176,
|
| 1279 |
+
641,
|
| 1280 |
+
826,
|
| 1281 |
+
689
|
| 1282 |
+
],
|
| 1283 |
+
"page_idx": 11
|
| 1284 |
+
},
|
| 1285 |
+
{
|
| 1286 |
+
"type": "text",
|
| 1287 |
+
"text": "[35] Jane Bromley, Isabelle Guyon, Yann LeCun, Eduard Säckinger, and Roopak Shah. Signature verification using a siamese time delay neural network. In Jack D. Cowan, Gerald Tesauro, and Joshua Alspector, editors, Advances in Neural Information Processing Systems 6, [7th NIPS Conference, Denver, Colorado, USA, 1993], pages 737–744. Morgan Kaufmann, 1993. ",
|
| 1288 |
+
"bbox": [
|
| 1289 |
+
174,
|
| 1290 |
+
702,
|
| 1291 |
+
826,
|
| 1292 |
+
763
|
| 1293 |
+
],
|
| 1294 |
+
"page_idx": 11
|
| 1295 |
+
},
|
| 1296 |
+
{
|
| 1297 |
+
"type": "text",
|
| 1298 |
+
"text": "[36] Yaniv Taigman, Ming Yang, Marc’Aurelio Ranzato, and Lior Wolf. Deepface: Closing the gap to human-level performance in face verification. In 2014 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2014, Columbus, OH, USA, June 23-28, 2014, pages 1701–1708. IEEE Computer Society, 2014. ",
|
| 1299 |
+
"bbox": [
|
| 1300 |
+
174,
|
| 1301 |
+
776,
|
| 1302 |
+
825,
|
| 1303 |
+
837
|
| 1304 |
+
],
|
| 1305 |
+
"page_idx": 11
|
| 1306 |
+
},
|
| 1307 |
+
{
|
| 1308 |
+
"type": "text",
|
| 1309 |
+
"text": "[37] Sumit Chopra, Raia Hadsell, and Yann LeCun. Learning a similarity metric discriminatively, with application to face verification. In 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR 2005), 20-26 June 2005, San Diego, CA, USA, pages 539–546. IEEE Computer Society, 2005. ",
|
| 1310 |
+
"bbox": [
|
| 1311 |
+
174,
|
| 1312 |
+
851,
|
| 1313 |
+
825,
|
| 1314 |
+
911
|
| 1315 |
+
],
|
| 1316 |
+
"page_idx": 11
|
| 1317 |
+
},
|
| 1318 |
+
{
|
| 1319 |
+
"type": "text",
|
| 1320 |
+
"text": "[38] Luca Bertinetto, Jack Valmadre, João F. Henriques, Andrea Vedaldi, and Philip H. S. Torr. Fully-convolutional siamese networks for object tracking. In Gang Hua and Hervé Jégou, editors, Computer Vision - ECCV 2016 Workshops - Amsterdam, The Netherlands, October 8-10 and 15-16, 2016, Proceedings, Part II, volume 9914 of Lecture Notes in Computer Science, pages 850–865, 2016. [39] Sergey Zagoruyko and Nikos Komodakis. Learning to compare image patches via convolutional neural networks. In IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2015, Boston, MA, USA, June 7-12, 2015, pages 4353–4361. IEEE Computer Society, 2015. [40] Lloyd H. Hughes, Michael Schmitt, Lichao Mou, Yuanyuan Wang, and Xiao Xiang Zhu. Identifying corresponding patches in SAR and optical images with a pseudo-siamese CNN. IEEE Geosci. Remote. Sens. Lett., 15(5):784–788, 2018. [41] Antonio Torralba, Robert Fergus, and William T. Freeman. 80 million tiny images: A large data set for nonparametric object and scene recognition. IEEE Trans. Pattern Anal. Mach. Intell., 30(11):1958–1970, 2008. [42] Tony Lindeberg. Scale-space theory: a basic tool for analyzing structures at different scales. Journal of Applied Statistics, 21(1-2):225–270, 1994. \n465 [43] Yui Man Lui, David Bolme, Bruce A. Draper, J. Ross Beveridge, Geoff Givens, and P. Jonathon Phillips. A meta-analysis of face recognition covariates. In 2009 IEEE 3rd International Conference on Biometrics: Theory, Applications, and Systems, pages 1–8, 2009. [44] Hugo Touvron, Andrea Vedaldi, Matthijs Douze, and Hervé Jégou. Fixing the train-test resolution discrepancy. In Hanna M. Wallach, Hugo Larochelle, Alina Beygelzimer, Florence d’Alché-Buc, Emily B. Fox, and Roman Garnett, editors, Advances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019, NeurIPS 2019, December 8-14, 2019, Vancouver, BC, Canada, pages 8250–8260, 2019. [45] Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In Francis R. Bach and David M. Blei, editors, Proceedings of the 32nd International Conference on Machine Learning, ICML 2015, Lille, France, 6-11 July 2015, volume 37 of JMLR Workshop and Conference Proceedings, pages 448–456. JMLR.org, 2015. [46] Jiankang Deng, Jia Guo, Debing Zhang, Yafeng Deng, Xiangju Lu, and Song Shi. Lightweight face recognition challenge. In 2019 IEEE/CVF International Conference on Computer Vision Workshops, ICCV Workshops 2019, Seoul, Korea (South), October 27-28, 2019, pages 2638– 2646. IEEE, 2019. [47] Gary B Huang, Marwan Mattar, Tamara Berg, and Eric Learned-Miller. Labeled faces in the wild: A database forstudying face recognition in unconstrained environments. In Workshop on faces in’Real-Life’Images: detection, alignment, and recognition, 2008. [48] Soumyadip Sengupta, Jun-Cheng Chen, Carlos Castillo, Vishal M Patel, Rama Chellappa, and David W Jacobs. Frontal to profile face verification in the wild. In 2016 IEEE winter conference on applications of computer vision (WACV), pages 1–9. IEEE, 2016. \n488 [49] Stylianos Moschoglou, Athanasios Papaioannou, Christos Sagonas, Jiankang Deng, Irene Kotsia, and Stefanos Zafeiriou. Agedb: The first manually collected, in-the-wild age database. In 2017 IEEE Conference on Computer Vision and Pattern Recognition Workshops, CVPR Workshops 2017, Honolulu, HI, USA, July 21-26, 2017, pages 1997–2005. IEEE Computer Society, 2017. [50] Tianyue Zheng, Weihong Deng, and Jiani Hu. Cross-age LFW: A database for studying cross-age face recognition in unconstrained environments. CoRR, abs/1708.08197, 2017. ",
|
| 1321 |
+
"bbox": [
|
| 1322 |
+
148,
|
| 1323 |
+
90,
|
| 1324 |
+
828,
|
| 1325 |
+
912
|
| 1326 |
+
],
|
| 1327 |
+
"page_idx": 12
|
| 1328 |
+
},
|
| 1329 |
+
{
|
| 1330 |
+
"type": "text",
|
| 1331 |
+
"text": "[51] Tianyue Zheng and Weihong Deng. Cross-pose lfw: A database for studying cross-pose face recognition in unconstrained environments. Beijing University of Posts and Telecommunications, Tech. Rep, 5:7, 2018. ",
|
| 1332 |
+
"bbox": [
|
| 1333 |
+
163,
|
| 1334 |
+
90,
|
| 1335 |
+
825,
|
| 1336 |
+
136
|
| 1337 |
+
],
|
| 1338 |
+
"page_idx": 13
|
| 1339 |
+
},
|
| 1340 |
+
{
|
| 1341 |
+
"type": "text",
|
| 1342 |
+
"text": "[52] Brianna Maze, Jocelyn C. Adams, James A. Duncan, Nathan D. Kalka, Tim Miller, Charles Otto, Anil K. Jain, W. Tyler Niggel, Janet Anderson, Jordan Cheney, and Patrick Grother. IARPA janus benchmark - C: face dataset and protocol. In 2018 International Conference on Biometrics, ICB 2018, Gold Coast, Australia, February 20-23, 2018, pages 158–165. IEEE, 2018. \n[53] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In 2016 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2016, Las Vegas, NV, USA, June 27-30, 2016, pages 770–778. IEEE Computer Society, 2016. \n[54] Han Fang, Weihong Deng, Yaoyao Zhong, and Jiani Hu. Generate to adapt: Resolution adaption network for surveillance face recognition. In Andrea Vedaldi, Horst Bischof, Thomas Brox, and Jan-Michael Frahm, editors, Computer Vision - ECCV 2020 - 16th European Conference, Glasgow, UK, August 23-28, 2020, Proceedings, Part XV, volume 12360 of Lecture Notes in Computer Science, pages 741–758. Springer, 2020. \n[55] Omkar M. Parkhi, Andrea Vedaldi, and Andrew Zisserman. Deep face recognition. In Xianghua Xie, Mark W. Jones, and Gary K. L. Tam, editors, Proceedings of the British Machine Vision Conference 2015, BMVC 2015, Swansea, UK, September 7-10, 2015, pages 41.1–41.12. BMVA Press, 2015. \n[56] Yi Sun, Yuheng Chen, Xiaogang Wang, and Xiaoou Tang. Deep learning face representation by joint identification-verification. In Zoubin Ghahramani, Max Welling, Corinna Cortes, Neil D. Lawrence, and Kilian Q. Weinberger, editors, Advances in Neural Information Processing Systems 27: Annual Conference on Neural Information Processing Systems 2014, December 8-13 2014, Montreal, Quebec, Canada, pages 1988–1996, 2014. \n[57] Florian Schroff, Dmitry Kalenichenko, and James Philbin. Facenet: A unified embedding for face recognition and clustering. In IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2015, Boston, MA, USA, June 7-12, 2015, pages 815–823. IEEE Computer Society, 2015. \n[58] Weiyang Liu, Yandong Wen, Zhiding Yu, Ming Li, Bhiksha Raj, and Le Song. Sphereface: Deep hypersphere embedding for face recognition. In 2017 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2017, Honolulu, HI, USA, July 21-26, 2017, pages 6738–6746. IEEE Computer Society, 2017. \n[59] Chao Dong, Chen Change Loy, Kaiming He, and Xiaoou Tang. Learning a deep convolutional network for image super-resolution. In David J. Fleet, Tomás Pajdla, Bernt Schiele, and Tinne Tuytelaars, editors, Computer Vision - ECCV 2014 - 13th European Conference, Zurich, Switzerland, September 6-12, 2014, Proceedings, Part IV, volume 8692 of Lecture Notes in Computer Science, pages 184–199. Springer, 2014. \n[60] Chao Dong, Chen Change Loy, and Xiaoou Tang. Accelerating the super-resolution convolutional neural network. In Bastian Leibe, Jiri Matas, Nicu Sebe, and Max Welling, editors, Computer Vision - ECCV 2016 - 14th European Conference, Amsterdam, The Netherlands, October 11-14, 2016, Proceedings, Part II, volume 9906 of Lecture Notes in Computer Science, pages 391–407. Springer, 2016. \n[61] Jiwon Kim, Jung Kwon Lee, and Kyoung Mu Lee. Accurate image super-resolution using very deep convolutional networks. In 2016 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2016, Las Vegas, NV, USA, June 27-30, 2016, pages 1646–1654. IEEE Computer Society, 2016. \n[62] Ying Tai, Jian Yang, and Xiaoming Liu. Image super-resolution via deep recursive residual network. In 2017 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2017, Honolulu, HI, USA, July 21-26, 2017, pages 2790–2798. IEEE Computer Society, 2017. \n[63] Wei-Sheng Lai, Jia-Bin Huang, Narendra Ahuja, and Ming-Hsuan Yang. Deep laplacian pyramid networks for fast and accurate super-resolution. In 2017 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2017, Honolulu, HI, USA, July 21-26, 2017, pages 5835–5843. IEEE Computer Society, 2017. \n[64] Z. G. Liu and D. Z. Liu. Reappraising about image magnification methods based on wavelet transformation. Journal of Image and Graphics, 2003. \n[65] Wan-Chi Siu and Kwok-Wai Hung. Review of image interpolation and super-resolution. In Asia-Pacific Signal and Information Processing Association Annual Summit and Conference, APSIPA 2012, Hollywood, CA, USA, December 3-6, 2012, pages 1–10. IEEE, 2012. \n[66] Haohan Wang, Xindi Wu, Zeyi Huang, and Eric P. Xing. High-frequency component helps explain the generalization of convolutional neural networks. In 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2020, Seattle, WA, USA, June 13-19, 2020, pages 8681–8691. Computer Vision Foundation / IEEE, 2020. ",
|
| 1343 |
+
"bbox": [
|
| 1344 |
+
163,
|
| 1345 |
+
101,
|
| 1346 |
+
826,
|
| 1347 |
+
922
|
| 1348 |
+
],
|
| 1349 |
+
"page_idx": 13
|
| 1350 |
+
},
|
| 1351 |
+
{
|
| 1352 |
+
"type": "text",
|
| 1353 |
+
"text": "",
|
| 1354 |
+
"bbox": [
|
| 1355 |
+
163,
|
| 1356 |
+
89,
|
| 1357 |
+
826,
|
| 1358 |
+
372
|
| 1359 |
+
],
|
| 1360 |
+
"page_idx": 14
|
| 1361 |
+
},
|
| 1362 |
+
{
|
| 1363 |
+
"type": "text",
|
| 1364 |
+
"text": "Checklist ",
|
| 1365 |
+
"text_level": 1,
|
| 1366 |
+
"bbox": [
|
| 1367 |
+
142,
|
| 1368 |
+
396,
|
| 1369 |
+
254,
|
| 1370 |
+
412
|
| 1371 |
+
],
|
| 1372 |
+
"page_idx": 14
|
| 1373 |
+
},
|
| 1374 |
+
{
|
| 1375 |
+
"type": "text",
|
| 1376 |
+
"text": "1. For all authors... ",
|
| 1377 |
+
"bbox": [
|
| 1378 |
+
214,
|
| 1379 |
+
421,
|
| 1380 |
+
330,
|
| 1381 |
+
434
|
| 1382 |
+
],
|
| 1383 |
+
"page_idx": 14
|
| 1384 |
+
},
|
| 1385 |
+
{
|
| 1386 |
+
"type": "text",
|
| 1387 |
+
"text": "(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] \n(b) Did you describe the limitations of your work? [Yes] See Section 5.The dislocation between the underlying optical resolution of native face images and that of a certain branch may limit the power of the model, which may be improved by selecting the optimal processing branch for the input in combination with the image quality, rather than by image size alone. The optimal branch selection strategy is not fully investigated though we have provided an intuitive way to select the branch for inputs. \n(c) Did you discuss any potential negative societal impacts of your work? [N/A] We study a general framework for multi-resolution face recognition. Our method is not for specific applications, which does not directly involve societal issues. \n(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes] ",
|
| 1388 |
+
"bbox": [
|
| 1389 |
+
240,
|
| 1390 |
+
439,
|
| 1391 |
+
825,
|
| 1392 |
+
598
|
| 1393 |
+
],
|
| 1394 |
+
"page_idx": 14
|
| 1395 |
+
},
|
| 1396 |
+
{
|
| 1397 |
+
"type": "text",
|
| 1398 |
+
"text": "2. If you are including theoretical results... ",
|
| 1399 |
+
"bbox": [
|
| 1400 |
+
215,
|
| 1401 |
+
603,
|
| 1402 |
+
467,
|
| 1403 |
+
616
|
| 1404 |
+
],
|
| 1405 |
+
"page_idx": 14
|
| 1406 |
+
},
|
| 1407 |
+
{
|
| 1408 |
+
"type": "text",
|
| 1409 |
+
"text": "(a) Did you state the full set of assumptions of all theoretical results? [Yes] See Appendix A.1 \n(b) Did you include complete proofs of all theoretical results? [Yes] See Appendix A.1 ",
|
| 1410 |
+
"bbox": [
|
| 1411 |
+
240,
|
| 1412 |
+
619,
|
| 1413 |
+
799,
|
| 1414 |
+
648
|
| 1415 |
+
],
|
| 1416 |
+
"page_idx": 14
|
| 1417 |
+
},
|
| 1418 |
+
{
|
| 1419 |
+
"type": "text",
|
| 1420 |
+
"text": "3. If you ran experiments... ",
|
| 1421 |
+
"bbox": [
|
| 1422 |
+
215,
|
| 1423 |
+
654,
|
| 1424 |
+
377,
|
| 1425 |
+
666
|
| 1426 |
+
],
|
| 1427 |
+
"page_idx": 14
|
| 1428 |
+
},
|
| 1429 |
+
{
|
| 1430 |
+
"type": "text",
|
| 1431 |
+
"text": "(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] \n(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] \n(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [No] We follow the common practice in previous works, where they didn’t report the error bars. \n(d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] See our implementation details in Section 4. ",
|
| 1432 |
+
"bbox": [
|
| 1433 |
+
240,
|
| 1434 |
+
670,
|
| 1435 |
+
825,
|
| 1436 |
+
791
|
| 1437 |
+
],
|
| 1438 |
+
"page_idx": 14
|
| 1439 |
+
},
|
| 1440 |
+
{
|
| 1441 |
+
"type": "text",
|
| 1442 |
+
"text": "4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets... ",
|
| 1443 |
+
"bbox": [
|
| 1444 |
+
212,
|
| 1445 |
+
795,
|
| 1446 |
+
767,
|
| 1447 |
+
809
|
| 1448 |
+
],
|
| 1449 |
+
"page_idx": 14
|
| 1450 |
+
},
|
| 1451 |
+
{
|
| 1452 |
+
"type": "text",
|
| 1453 |
+
"text": "(a) If your work uses existing assets, did you cite the creators? [Yes] \n(b) Did you mention the license of the assets? [N/A] \n(c) Did you include any new assets either in the supplemental material or as a URL? [No] \n(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [N/A] \n(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [N/A] ",
|
| 1454 |
+
"bbox": [
|
| 1455 |
+
240,
|
| 1456 |
+
813,
|
| 1457 |
+
826,
|
| 1458 |
+
911
|
| 1459 |
+
],
|
| 1460 |
+
"page_idx": 14
|
| 1461 |
+
},
|
| 1462 |
+
{
|
| 1463 |
+
"type": "text",
|
| 1464 |
+
"text": "5. If you used crowdsourcing or conducted research with human subjects... ",
|
| 1465 |
+
"bbox": [
|
| 1466 |
+
220,
|
| 1467 |
+
92,
|
| 1468 |
+
656,
|
| 1469 |
+
106
|
| 1470 |
+
],
|
| 1471 |
+
"page_idx": 15
|
| 1472 |
+
},
|
| 1473 |
+
{
|
| 1474 |
+
"type": "text",
|
| 1475 |
+
"text": "591 \n592 \n593 \n594 \n595 \n596 \n597 ",
|
| 1476 |
+
"bbox": [
|
| 1477 |
+
138,
|
| 1478 |
+
101,
|
| 1479 |
+
163,
|
| 1480 |
+
194
|
| 1481 |
+
],
|
| 1482 |
+
"page_idx": 15
|
| 1483 |
+
},
|
| 1484 |
+
{
|
| 1485 |
+
"type": "text",
|
| 1486 |
+
"text": "(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A] \n(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A] \n(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A] ",
|
| 1487 |
+
"bbox": [
|
| 1488 |
+
235,
|
| 1489 |
+
109,
|
| 1490 |
+
826,
|
| 1491 |
+
193
|
| 1492 |
+
],
|
| 1493 |
+
"page_idx": 15
|
| 1494 |
+
}
|
| 1495 |
+
]
|
parse/dev/AIqC7F7xV-d/AIqC7F7xV-d_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/AIqC7F7xV-d/AIqC7F7xV-d_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/E0zOKxQsZhN/E0zOKxQsZhN_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/KLaDXLAzzFT/KLaDXLAzzFT.md
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/NbkjMn7X8H/NbkjMn7X8H_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/PqvMRDCJT9t/PqvMRDCJT9t_content_list.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/PqvMRDCJT9t/PqvMRDCJT9t_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/S874XAIpkR-/S874XAIpkR-_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/_SJ-_yyes8/_S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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "MASTERING VISUAL CONTINUOUS CONTROL: IMPROVED DATA-AUGMENTED REINFORCEMENT LEARNING ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
174,
|
| 8 |
+
98,
|
| 9 |
+
823,
|
| 10 |
+
170
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous authors Paper under double-blind review ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
183,
|
| 19 |
+
195,
|
| 20 |
+
400,
|
| 21 |
+
223
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
261,
|
| 32 |
+
544,
|
| 33 |
+
275
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "We present DrQ-v2, a model-free reinforcement learning (RL) algorithm for visual continuous control. DrQ-v2 builds on DrQ, an off-policy actor-critic approach that uses data augmentation to learn directly from pixels. We introduce several improvements that yield state-of-the-art results on the DeepMind Control Suite. Notably, DrQ-v2 is able to solve complex humanoid locomotion tasks directly from pixel observations, previously unattained by model-free RL. DrQ-v2 is conceptually simple, easy to implement, and provides significantly better computational footprint compared to prior work, with the majority of tasks taking just 8 hours to train on a single GPU. Finally, DrQ-v2’s implementation is publicly released to provide RL practitioners with a strong and computationally efficient baseline. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
233,
|
| 42 |
+
295,
|
| 43 |
+
766,
|
| 44 |
+
434
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
476,
|
| 55 |
+
336,
|
| 56 |
+
491
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Creating sample-efficient continuous control methods that observe high-dimensional images has been a long standing challenge in reinforcement learning (RL) . Over the last three years, the RL community has made significant headway on this problem, improving sample-efficiency significantly. The key insight to solving visual control is the learning of better low-dimensional representations, either through autoencoders (Yarats et al., 2019; Finn et al., 2015), variational inference (Hafner et al., 2018; 2019; Lee et al., 2019), contrastive learning (Srinivas et al., 2020; Yarats et al., 2021a), self-prediction (Schwarzer et al., 2020b), or data augmentations (Yarats et al., 2021b; Laskin et al., 2020). However, current state-of-the-art model-free methods are still limited in three ways. First, they are unable to solve the more challenging visual control problems such as quadruped and humanoid locomotion. Second, they often require significant computational resources, i.e. lengthy training times using distributed multi-GPU infrastructure. Lastly, it is often unclear how different design choices affect overall system performance. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
510,
|
| 66 |
+
826,
|
| 67 |
+
678
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "image",
|
| 73 |
+
"img_path": "images/e84129af41009f6a5914fde2b150e79150a0bba702766235dd57287b087195b6.jpg",
|
| 74 |
+
"image_caption": [
|
| 75 |
+
"Figure $1 : \\mathrm { D r Q - v } 2$ demonstrates significantly better sample efficiency and computational footprint compared to state-of-the-art model-free methods for visual continuous control while being conceptually simple and easy to implement. (Left two) Average performance results across 12 challenging tasks from the DeepMind Control Suite (the set of tasks can be seen in Figure 8). (Right two) Performance on the Humanoid Walk task from visual input, previously unsolved by model-free methods. In both cases we report sample complexity and wall-clock time axes for evaluation, with time being measured on a single GPU machine and using official implementations for each method. "
|
| 76 |
+
],
|
| 77 |
+
"image_footnote": [],
|
| 78 |
+
"bbox": [
|
| 79 |
+
176,
|
| 80 |
+
705,
|
| 81 |
+
816,
|
| 82 |
+
813
|
| 83 |
+
],
|
| 84 |
+
"page_idx": 0
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"type": "text",
|
| 88 |
+
"text": "In this paper we present DrQ-v2, a simple model-free algorithm that builds on the idea of using data augmentations (Yarats et al., 2021b; Laskin et al., 2020) to solve hard visual control problems. Most notably, it is the first model-free method that solves complex humanoid tasks directly from pixels. Compared to previous state-of-the-art model-free methods, DrQ-v2 provides significant improvements in sample efficiency across tasks from the DeepMind Control Suite (Tassa et al., 2018). Conceptually simple, DrQ-v2 is also computationally efficient, which allows solving most tasks in DeepMind Control Suite in just 8 hours on a single GPU (see Figure 1). Recently, a model-based method, DreamerV2 (Hafner et al., 2020) was also shown to solve visual continuous control problems and it was first to solve the humanoid locomotion problem from pixels. While our model-free $\\mathrm { D r Q - v } 2$ matches DreamerV2 in terms sample efficiency and performance, it does so $4 \\times$ faster in terms of wall-clock time to train. We believe this makes DrQ-v2 a more accessible approach to support research in visual continuous control and it reinforces the question on whether model-free or model-based is the more suitable approach to solve this type of tasks. ",
|
| 89 |
+
"bbox": [
|
| 90 |
+
174,
|
| 91 |
+
103,
|
| 92 |
+
825,
|
| 93 |
+
284
|
| 94 |
+
],
|
| 95 |
+
"page_idx": 1
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"type": "text",
|
| 99 |
+
"text": "$\\mathrm { D r Q - v } 2$ , which is detailed in Section 3, improves upon DrQ (Yarats et al., 2021b) by making several algorithmic changes: (i) switching the base RL algorithm from SAC (Haarnoja et al., 2018a) to DDPG (Lillicrap et al., 2015a) with clipped double Q-learning from TD3 (Fujimoto et al., 2018), (ii) this allows us straightforwardly incorporating multi-step return, (iii) adding bilinear interpolation to the random shift image augmentation, (iv) introducing an exploration schedule, (v) selecting better hyper-parameters including a larger capacity of the replay buffer. A careful ablation study of these design choices is presented in Section 4.4. Furthermore, we re-examine the original implementation of DrQ and identify several computational bottlenecks such as replay buffer management, data augmentation processing, batch size, and frequency of learning updates (see Section 3.2). To remedy these, we have developed a new implementation that both achieves better performance and trains around 3.5 times faster with respect to wall-clock time than the previous implementation on the same hardware with an increase in environment frame throughput (FPS) from 28 to 96 (i.e., it takes $1 0 ^ { 6 } / 9 6 / 3 6 0 0 \\approx 2 . 9$ hours to train for 1M environment steps). DrQ-v2’s implementation is available at https://anonymous.4open.science/r/drqv2. ",
|
| 100 |
+
"bbox": [
|
| 101 |
+
174,
|
| 102 |
+
291,
|
| 103 |
+
825,
|
| 104 |
+
484
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 1
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "text",
|
| 110 |
+
"text": "2 BACKGROUND ",
|
| 111 |
+
"text_level": 1,
|
| 112 |
+
"bbox": [
|
| 113 |
+
176,
|
| 114 |
+
507,
|
| 115 |
+
326,
|
| 116 |
+
525
|
| 117 |
+
],
|
| 118 |
+
"page_idx": 1
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"type": "text",
|
| 122 |
+
"text": "2.1 REINFORCEMENT LEARNING FROM IMAGES ",
|
| 123 |
+
"text_level": 1,
|
| 124 |
+
"bbox": [
|
| 125 |
+
179,
|
| 126 |
+
541,
|
| 127 |
+
516,
|
| 128 |
+
556
|
| 129 |
+
],
|
| 130 |
+
"page_idx": 1
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"type": "text",
|
| 134 |
+
"text": "We formulate image-based control as an infinite-horizon Markov Decision Process (MDP) (Bellman, 1957). Generally, in such a setting, an image rendering of the system is not sufficient to perfectly describe the system’s underlying state. To this end and per common practice (Mnih et al., 2013), we approximate the current state of the system by stacking three consecutive prior observations. With this in mind, such MDP can be described as a tuple $( \\mathcal { X } , \\mathcal { A } , P , R , \\gamma , d _ { 0 } )$ , where $\\mathcal { X }$ is the state space (a three-stack of image observations), $\\mathcal { A }$ is the action space, $P : \\mathcal { X } \\times \\mathcal { A } \\Delta ( \\mathcal { X } )$ is the transition function1 that defines a probability distribution over the next state given the current state and action, $R : \\mathcal { X } \\times \\mathcal { A } [ 0 , 1 ]$ is the reward function, $\\gamma \\in [ 0 , 1 )$ is a discount factor, and $d _ { 0 } \\in \\Delta ( { \\mathcal { X } } )$ is the distribution of the initial state $\\scriptstyle { \\mathbf { { \\mathit { x } } } } _ { 0 }$ . The goal is to find a policy $\\pi : \\mathcal { X } \\Delta ( \\mathcal { A } )$ that maximizes the expected discounted sum of rewards $\\mathbb { E } _ { \\pi } \\big [ \\sum _ { t = 0 } ^ { \\infty } \\gamma ^ { t } r _ { t } \\big ]$ , where $\\mathbf { x } _ { 0 } \\sim d _ { 0 }$ , and $\\forall t$ we have $\\mathbf { \\boldsymbol { a } } _ { t } \\sim \\pi ( \\cdot | \\mathbf { \\boldsymbol { x } } _ { t } )$ $\\mathbf { \\boldsymbol { x } } _ { t + 1 } \\sim P ( \\cdot | \\mathbf { \\boldsymbol { x } } _ { t } , \\mathbf { \\boldsymbol { a } } _ { t } )$ , and $r _ { t } = R ( \\pmb { x } _ { t } , \\pmb { a } _ { t } ) \\overline { { \\mathbf { \\phi } } }$ . ",
|
| 135 |
+
"bbox": [
|
| 136 |
+
173,
|
| 137 |
+
568,
|
| 138 |
+
825,
|
| 139 |
+
722
|
| 140 |
+
],
|
| 141 |
+
"page_idx": 1
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"type": "text",
|
| 145 |
+
"text": "2.2 DEEP DETERMINISTIC POLICY GRADIENT ",
|
| 146 |
+
"text_level": 1,
|
| 147 |
+
"bbox": [
|
| 148 |
+
176,
|
| 149 |
+
741,
|
| 150 |
+
506,
|
| 151 |
+
756
|
| 152 |
+
],
|
| 153 |
+
"page_idx": 1
|
| 154 |
+
},
|
| 155 |
+
{
|
| 156 |
+
"type": "text",
|
| 157 |
+
"text": "Deep Deterministic Policy Gradient (DDPG) (Lillicrap et al., 2015a) is an actor-critic algorithm for continuous control that concurrently learns a Q-function $Q _ { \\theta }$ and a deterministic policy $\\pi _ { \\phi }$ . For this, DDPG uses Q-learning (Watkins and Dayan, 1992) to learn $Q _ { \\theta }$ by minimizing the one-step Bellman residual $J _ { \\theta } ( \\mathcal { D } ) = \\mathbb { E } _ { ( \\pmb { x } _ { t } , \\underline { { a } } _ { t } , r _ { t } , \\pmb { x } _ { t + 1 } ) \\sim \\mathcal { D } } [ \\big ( Q _ { \\theta } ( \\pmb { x } _ { t } , \\underline { { a } } _ { t } ) _ { } r _ { t } - \\underline { { \\gamma Q _ { \\theta } } } ( \\pmb { x } _ { t + 1 } , \\pi _ { \\phi } ( \\pmb { x } _ { t + 1 } ) ) ^ { 2 } \\big ]$ . The policy $\\pi _ { \\phi }$ is learned by employing Deterministic Policy Gradient (DPG) (Silver et al., 2014) and maximizing $J _ { \\phi } ( \\mathcal { D } ) = \\mathbb { E } _ { \\pmb { x } _ { t } \\sim \\mathcal { D } } [ Q _ { \\theta } ( \\pmb { x } _ { t } , \\pi _ { \\phi } ( \\pmb { x } _ { t } ) ) ]$ , so $\\pi _ { \\phi } ( \\pmb { x } _ { t } )$ approximates argmax $\\mathbf { \\Sigma } _ { \\alpha } Q _ { \\theta } ( \\pmb { x } _ { t } , \\pmb { a } )$ . Here, $\\mathcal { D }$ is a replay buffer of environment transitions and $\\bar { \\theta }$ is an exponential moving average of the weights. DDPG is amenable to incorporate $n$ -step returns (Watkins, 1989; eng and Williams, 1996) when estimating TD error beyond a single step (Barth-Maron et al., 2018). In practice, $n$ -step returns allow for faster reward propagation and has been previously used in policy gradient and Q-learning methods (Mnih et al., 2016b; Barth-Maron et al., 2018; Hessel et al., 2017). ",
|
| 158 |
+
"bbox": [
|
| 159 |
+
174,
|
| 160 |
+
767,
|
| 161 |
+
825,
|
| 162 |
+
895
|
| 163 |
+
],
|
| 164 |
+
"page_idx": 1
|
| 165 |
+
},
|
| 166 |
+
{
|
| 167 |
+
"type": "image",
|
| 168 |
+
"img_path": "images/549fe695324b96cc93df2881f3296d0b6333a6e41e473a27a33b6bfc84cf2f08.jpg",
|
| 169 |
+
"image_caption": [
|
| 170 |
+
"Figure 2: (Left): $\\mathrm { D r Q - v } 2$ is an off-policy actor-critic algorithm for image-based RL. It alleviates encoder overfitting by applying random shift augmentation to pixel observations sampled from the replay buffer. (Right): Examples of walking and standing behaviors learned by $\\mathrm { D r Q - v } 2$ for a complex humanoid agent from DMC (Tassa et al., 2018) with 21 and 54 dimensional action and state spaces, respectively. DrQ-v2 does not have access to the internal state of the environment, only observing three consecutive pixel frames at a time. Despite this imperfect observational channel, our agent still manages to solve the tasks. To the best of our knowledge, this is the first successful demonstration by a model-free method, using pixel-based inputs of these tasks. "
|
| 171 |
+
],
|
| 172 |
+
"image_footnote": [],
|
| 173 |
+
"bbox": [
|
| 174 |
+
209,
|
| 175 |
+
68,
|
| 176 |
+
789,
|
| 177 |
+
227
|
| 178 |
+
],
|
| 179 |
+
"page_idx": 2
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"type": "text",
|
| 183 |
+
"text": "",
|
| 184 |
+
"bbox": [
|
| 185 |
+
174,
|
| 186 |
+
378,
|
| 187 |
+
823,
|
| 188 |
+
406
|
| 189 |
+
],
|
| 190 |
+
"page_idx": 2
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"type": "text",
|
| 194 |
+
"text": "2.3 DATA AUGMENTATION IN REINFORCEMENT LEARNING ",
|
| 195 |
+
"text_level": 1,
|
| 196 |
+
"bbox": [
|
| 197 |
+
174,
|
| 198 |
+
422,
|
| 199 |
+
596,
|
| 200 |
+
438
|
| 201 |
+
],
|
| 202 |
+
"page_idx": 2
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"type": "text",
|
| 206 |
+
"text": "Recently, it has been shown that data augmentation techniques, commonplace in Computer Vision, are also important for achieving the state-of-the-art performance in image-based RL (Yarats et al., 2021b; Laskin et al., 2020). For example, the state-of-the-art algorithm for visual RL, DrQ (Yarats et al., 2021b) builds on top of Soft Actor-Critic (Haarnoja et al., 2018a), a model-free actor-critic algorithm, by adding a convolutional encoder and data augmentation in the form of random shifts. The use of such data augmentations now forms an essential component of several recent visual RL algorithms (Srinivas et al., 2020; Raileanu et al., 2020; Yarats et al., 2021a; Stooke et al., 2020; Hansen and Wang, 2021; Schwarzer et al., 2020b). ",
|
| 207 |
+
"bbox": [
|
| 208 |
+
174,
|
| 209 |
+
449,
|
| 210 |
+
826,
|
| 211 |
+
560
|
| 212 |
+
],
|
| 213 |
+
"page_idx": 2
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"type": "text",
|
| 217 |
+
"text": "3 DRQ-V2: IMPROVED DATA-AUGMENTED REINFORCEMENT LEARNING ",
|
| 218 |
+
"text_level": 1,
|
| 219 |
+
"bbox": [
|
| 220 |
+
174,
|
| 221 |
+
580,
|
| 222 |
+
794,
|
| 223 |
+
597
|
| 224 |
+
],
|
| 225 |
+
"page_idx": 2
|
| 226 |
+
},
|
| 227 |
+
{
|
| 228 |
+
"type": "text",
|
| 229 |
+
"text": "In this section, we describe DrQ-v2, a simple model-free actor-critic RL algorithm for image-based continuous control, that builds upon DrQ. ",
|
| 230 |
+
"bbox": [
|
| 231 |
+
174,
|
| 232 |
+
612,
|
| 233 |
+
823,
|
| 234 |
+
641
|
| 235 |
+
],
|
| 236 |
+
"page_idx": 2
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"type": "text",
|
| 240 |
+
"text": "3.1 ALGORITHMIC DETAILS ",
|
| 241 |
+
"text_level": 1,
|
| 242 |
+
"bbox": [
|
| 243 |
+
174,
|
| 244 |
+
657,
|
| 245 |
+
383,
|
| 246 |
+
671
|
| 247 |
+
],
|
| 248 |
+
"page_idx": 2
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"type": "text",
|
| 252 |
+
"text": "Image Augmentation As in DrQ we apply random shifts image augmentation to pixel observations of the environment. In the settings of visual continuous control by DMC, this augmentation can be instantiated by first padding each side of $8 4 \\times 8 4$ observation rendering by 4 pixels (by repeating boundary pixels), and then selecting a random $8 4 \\times 8 4$ crop, yielding the original image shifted by $\\pm 4$ pixels. We also find it useful to apply bilinear interpolation on top of the shifted image (i.e, we replace each pixel value with the average of the four nearest pixel values). In our experiments, this modification provides an additional performance boost across the board. ",
|
| 253 |
+
"bbox": [
|
| 254 |
+
174,
|
| 255 |
+
684,
|
| 256 |
+
825,
|
| 257 |
+
781
|
| 258 |
+
],
|
| 259 |
+
"page_idx": 2
|
| 260 |
+
},
|
| 261 |
+
{
|
| 262 |
+
"type": "text",
|
| 263 |
+
"text": "Image Encoder The augmented image observation is then embedded into a low-dimensional latent vector by applying a convolutional encoder. We use the same encoder architecture as in DrQ, which first was introduced introduced in SAC-AE (Yarats et al., 2019). This process can be succinctly summarized as $\\pmb { h } = f _ { \\xi } ( \\mathrm { a u g } ( \\pmb { x } ) )$ , where $f _ { \\xi }$ is the encoder, aug is the random shifts augmentation, and $_ { \\textbf { \\em x } }$ is the original image observation. ",
|
| 264 |
+
"bbox": [
|
| 265 |
+
174,
|
| 266 |
+
796,
|
| 267 |
+
825,
|
| 268 |
+
866
|
| 269 |
+
],
|
| 270 |
+
"page_idx": 2
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"type": "text",
|
| 274 |
+
"text": "Actor-Critic Algorithm We use DDPG (Lillicrap et al., 2015a) as a backbone actor-critic RL algorithm and, similarly to Barth-Maron et al. (2018), augment it with $n$ -step returns to estimate TD error. This results into faster reward propagation and overall learning progress (Mnih et al., 2016a). ",
|
| 275 |
+
"bbox": [
|
| 276 |
+
176,
|
| 277 |
+
882,
|
| 278 |
+
825,
|
| 279 |
+
924
|
| 280 |
+
],
|
| 281 |
+
"page_idx": 2
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"type": "text",
|
| 285 |
+
"text": "While some methods (Hafner et al., 2020) employ more sophisticated techniques such as $\\mathrm { T D } ( \\lambda )$ or Retrace $( \\lambda )$ (Munos et al., 2016), they are often computationally demanding when $n$ is large. We find that using simple $n$ -step returns, without an importance sampling correction, strikes a good balance between performance and efficiency. We also employ clipped double Q-learning (Fujimoto et al., 2018) to reduce overestimation bias in the target value. Practically, this requires training two Qfunctions $Q _ { \\theta _ { 1 } }$ and $Q _ { \\theta _ { 2 } }$ . For this, we sample a mini-batch of transitions $\\tau = ( \\mathbf { x } _ { t } , \\mathbf { a } _ { t } , r _ { t : t + n - 1 } , \\mathbf { x } _ { t + n } )$ from the replay buffer $\\mathcal { D }$ and compute the following two losses: ",
|
| 286 |
+
"bbox": [
|
| 287 |
+
173,
|
| 288 |
+
103,
|
| 289 |
+
826,
|
| 290 |
+
202
|
| 291 |
+
],
|
| 292 |
+
"page_idx": 3
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"type": "equation",
|
| 296 |
+
"img_path": "images/21f5b49e1058571b066a400cb4942e8b0691c5876a0567d3f54d57c99b7289be.jpg",
|
| 297 |
+
"text": "$$\n\\begin{array} { r } { \\mathcal { L } _ { \\boldsymbol { \\theta } _ { k } , \\boldsymbol { \\xi } } ( \\mathcal { D } ) = \\mathbb { E } _ { \\tau \\sim \\mathcal { D } } \\big [ ( Q _ { \\boldsymbol { \\theta } _ { k } } ( h _ { t } , \\boldsymbol { a } _ { t } ) - y ) ^ { 2 } \\big ] \\quad \\forall k \\in \\{ 1 , 2 \\} , } \\end{array}\n$$",
|
| 298 |
+
"text_format": "latex",
|
| 299 |
+
"bbox": [
|
| 300 |
+
315,
|
| 301 |
+
210,
|
| 302 |
+
681,
|
| 303 |
+
231
|
| 304 |
+
],
|
| 305 |
+
"page_idx": 3
|
| 306 |
+
},
|
| 307 |
+
{
|
| 308 |
+
"type": "text",
|
| 309 |
+
"text": "with the TD target $y$ defined as: ",
|
| 310 |
+
"bbox": [
|
| 311 |
+
173,
|
| 312 |
+
238,
|
| 313 |
+
383,
|
| 314 |
+
253
|
| 315 |
+
],
|
| 316 |
+
"page_idx": 3
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"type": "equation",
|
| 320 |
+
"img_path": "images/bb4d51d5aefb63d565fb1da6ccfcdc2b6e2cfc9e812e1c7364b45c1df85f8d92.jpg",
|
| 321 |
+
"text": "$$\ny = \\sum _ { i = 0 } ^ { n - 1 } \\gamma ^ { i } r _ { t + i } + \\gamma ^ { n } \\operatorname* { m i n } _ { k = 1 , 2 } Q _ { \\bar { \\theta } _ { k } } ( h _ { t + n } , \\mathbf { a } _ { t + n } ) ,\n$$",
|
| 322 |
+
"text_format": "latex",
|
| 323 |
+
"bbox": [
|
| 324 |
+
346,
|
| 325 |
+
263,
|
| 326 |
+
650,
|
| 327 |
+
308
|
| 328 |
+
],
|
| 329 |
+
"page_idx": 3
|
| 330 |
+
},
|
| 331 |
+
{
|
| 332 |
+
"type": "text",
|
| 333 |
+
"text": "where $\\pmb { h } _ { t } = f _ { \\xi } ( \\mathrm { a u g } ( \\pmb { x } _ { t } ) )$ , ${ h _ { t + n } } = f _ { \\xi } ( \\mathrm { a u g } ( { { \\bf x } _ { t + n } } ) )$ , $a _ { t + n } = \\pi _ { \\phi } ( h _ { t + n } ) + \\epsilon , \\bar { \\theta } _ { 1 }$ and ${ \\bar { \\theta } _ { 2 } }$ are the slowmoving weights for the Q target networks. We note, that in contrast to DrQ, we do not employ a target network for the encoder $f _ { \\xi }$ and always use the most recent weights $\\xi$ to embed $\\mathbf { \\Delta } _ { \\mathbf { \\mathcal { X } } _ { t } }$ and $\\mathbf { \\Delta } _ { \\mathbf { x } _ { t + n } }$ . The exploration noise $\\epsilon$ is sampled from $\\mathrm { c l i p } ( \\mathcal { N } ( 0 , \\sigma ^ { 2 } ) , - c , c )$ similar to TD3 (Fujimoto et al., 2018), with the exception of decaying $\\sigma$ , which we describe below. Finally, we train the deterministic actor $\\pi _ { \\phi }$ using DPG with the following loss: ",
|
| 334 |
+
"bbox": [
|
| 335 |
+
173,
|
| 336 |
+
318,
|
| 337 |
+
826,
|
| 338 |
+
404
|
| 339 |
+
],
|
| 340 |
+
"page_idx": 3
|
| 341 |
+
},
|
| 342 |
+
{
|
| 343 |
+
"type": "equation",
|
| 344 |
+
"img_path": "images/19949ea5e4ecf0cc87814f68e6506792333b535c3a3583c7335970adf32fefdc.jpg",
|
| 345 |
+
"text": "$$\n\\mathcal { L } _ { \\phi } ( \\mathcal { D } ) = - \\mathbb { E } _ { x _ { t } \\sim \\mathcal { D } } \\big [ \\operatorname* { m i n } _ { k = 1 , 2 } Q _ { \\theta _ { k } } ( h _ { t } , \\pmb { a } _ { t } ) \\big ] ,\n$$",
|
| 346 |
+
"text_format": "latex",
|
| 347 |
+
"bbox": [
|
| 348 |
+
364,
|
| 349 |
+
414,
|
| 350 |
+
632,
|
| 351 |
+
440
|
| 352 |
+
],
|
| 353 |
+
"page_idx": 3
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"type": "text",
|
| 357 |
+
"text": "where $\\pmb { h } _ { t } = f _ { \\xi } ( \\mathrm { a u g } ( \\pmb { x } _ { t } ) )$ , ${ \\pmb a } _ { t } = \\pi _ { \\phi } ( { \\pmb h } _ { t } ) + \\epsilon$ , and $\\epsilon \\sim \\mathrm { c l i p } ( \\mathcal { N } ( 0 , \\sigma ^ { 2 } ) , - c , c )$ . Similar to $_ \\mathrm { D r Q }$ , we do not use actor’s gradients to update the encoder’s parameters $\\xi$ . ",
|
| 358 |
+
"bbox": [
|
| 359 |
+
173,
|
| 360 |
+
450,
|
| 361 |
+
825,
|
| 362 |
+
481
|
| 363 |
+
],
|
| 364 |
+
"page_idx": 3
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"type": "text",
|
| 368 |
+
"text": "Scheduled Exploration Noise Empirically, we observe that it is helpful to have different levels of exploration at different stages of learning. At the beginning of training we want the agent to be more stochastic and explore the environment more effectively, while at the later stages of training, when the agent has already identified promising behaviors, it is better to be more deterministic and master those behaviors. Similar to Amos et al. (2020), we instantiate this idea by using linear decay $\\sigma ( t )$ for the variance $\\sigma ^ { 2 }$ of the exploration noise defined as: ",
|
| 369 |
+
"bbox": [
|
| 370 |
+
173,
|
| 371 |
+
498,
|
| 372 |
+
825,
|
| 373 |
+
583
|
| 374 |
+
],
|
| 375 |
+
"page_idx": 3
|
| 376 |
+
},
|
| 377 |
+
{
|
| 378 |
+
"type": "equation",
|
| 379 |
+
"img_path": "images/845554410f8da0899d23c194d909d3308487d8ae22f946d09cbaf11cb779a4d8.jpg",
|
| 380 |
+
"text": "$$\n\\sigma ( t ) = \\sigma _ { \\mathrm { i n i t } } + ( 1 - \\mathrm { m i n } ( \\frac { t } { T } , 1 ) ) ( \\sigma _ { \\mathrm { f i n a l } } - \\sigma _ { \\mathrm { i n i t } } ) ,\n$$",
|
| 381 |
+
"text_format": "latex",
|
| 382 |
+
"bbox": [
|
| 383 |
+
339,
|
| 384 |
+
593,
|
| 385 |
+
656,
|
| 386 |
+
623
|
| 387 |
+
],
|
| 388 |
+
"page_idx": 3
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"type": "text",
|
| 392 |
+
"text": "where $\\sigma _ { \\mathrm { i n i t } }$ and $\\sigma _ { \\mathrm { f i n a l } }$ are the initial and final values for standard deviation, and $T$ is the decay horizon. ",
|
| 393 |
+
"bbox": [
|
| 394 |
+
174,
|
| 395 |
+
632,
|
| 396 |
+
823,
|
| 397 |
+
647
|
| 398 |
+
],
|
| 399 |
+
"page_idx": 3
|
| 400 |
+
},
|
| 401 |
+
{
|
| 402 |
+
"type": "text",
|
| 403 |
+
"text": "Key Hyper-Parameters We conduct an extensive hyper-parameter search and identify several hyper-parameter changes compared to DrQ. The three most important hyper-parameters are: (i) the size of the replay buffer, (ii) mini-batch size, and (iii) learning rate. Specifically, we use a 10 times larger replay buffer than DrQ. We also use a smaller mini-batch size of 256 without any noticeable performance degradation. This is in contrast to CURL (Srinivas et al., 2020) and $\\mathrm { D r Q }$ (Yarats et al., 2021b) that both use a larger batch size of 512 to attain more stable training in the expense of computational efficiency. Finally, we find that using smaller learning rate of $1 \\times 1 0 ^ { - 4 }$ , rather than DrQ’s learning rate of $\\mathrm { i \\times 1 0 ^ { - 3 } }$ , results into more stable training without any loss in learning speed. ",
|
| 404 |
+
"bbox": [
|
| 405 |
+
173,
|
| 406 |
+
665,
|
| 407 |
+
826,
|
| 408 |
+
779
|
| 409 |
+
],
|
| 410 |
+
"page_idx": 3
|
| 411 |
+
},
|
| 412 |
+
{
|
| 413 |
+
"type": "text",
|
| 414 |
+
"text": "3.2 IMPLEMENTATION DETAILS ",
|
| 415 |
+
"text_level": 1,
|
| 416 |
+
"bbox": [
|
| 417 |
+
176,
|
| 418 |
+
797,
|
| 419 |
+
406,
|
| 420 |
+
813
|
| 421 |
+
],
|
| 422 |
+
"page_idx": 3
|
| 423 |
+
},
|
| 424 |
+
{
|
| 425 |
+
"type": "text",
|
| 426 |
+
"text": "Faster Image Augmentation We replace DrQ’s random shifts augmentation (i.e., kornia.augmentation.RandomCrop) by a custom implementation that uses flowfield image sampling provided in PyTorch (i.e., grid_sample). This is done for two reasons. First, we noticed that Kornia’s implementation does not fully utilize GPU pipelining since it has some intermediate CPU to GPU data transferring which breaks the computational flow. Second, using grid_sample allows straightforward addition of bilinear interpolation. Our custom random shifts augmentation improves training throughput by a factor of 2. ",
|
| 427 |
+
"bbox": [
|
| 428 |
+
173,
|
| 429 |
+
825,
|
| 430 |
+
826,
|
| 431 |
+
924
|
| 432 |
+
],
|
| 433 |
+
"page_idx": 3
|
| 434 |
+
},
|
| 435 |
+
{
|
| 436 |
+
"type": "text",
|
| 437 |
+
"text": "Faster Replay Buffer Another computational bottleneck of $\\mathrm { D r Q }$ was the replay buffer. The specific implementation had poor memory management which resulted in slow CPU to GPU data transfer, which also restricted the number of image-based transitions that could be stored. We reimplemented the replay buffer to address these issues which led to a ten-fold increase in storage capacity and faster data transfer. More details are available in our open-source release. We note that the improved training speed of DrQ-v2 was key to solving humanoid tasks as it enabled much faster experimentation. ",
|
| 438 |
+
"bbox": [
|
| 439 |
+
174,
|
| 440 |
+
103,
|
| 441 |
+
825,
|
| 442 |
+
188
|
| 443 |
+
],
|
| 444 |
+
"page_idx": 4
|
| 445 |
+
},
|
| 446 |
+
{
|
| 447 |
+
"type": "text",
|
| 448 |
+
"text": "4 EXPERIMENTS ",
|
| 449 |
+
"text_level": 1,
|
| 450 |
+
"bbox": [
|
| 451 |
+
176,
|
| 452 |
+
209,
|
| 453 |
+
326,
|
| 454 |
+
226
|
| 455 |
+
],
|
| 456 |
+
"page_idx": 4
|
| 457 |
+
},
|
| 458 |
+
{
|
| 459 |
+
"type": "text",
|
| 460 |
+
"text": "In this section we provide empirical evaluation of $\\mathrm { D r Q - v } 2$ on an extensive set of visual continuous control tasks from DMC (Tassa et al., 2018). We first present comparison to prior methods, both model-free and model-based, in terms of sample efficiency and wall-clock time. We then present a large scale ablation study that guided the final version of DrQ-v2. ",
|
| 461 |
+
"bbox": [
|
| 462 |
+
174,
|
| 463 |
+
242,
|
| 464 |
+
825,
|
| 465 |
+
297
|
| 466 |
+
],
|
| 467 |
+
"page_idx": 4
|
| 468 |
+
},
|
| 469 |
+
{
|
| 470 |
+
"type": "text",
|
| 471 |
+
"text": "4.1 SETUP ",
|
| 472 |
+
"text_level": 1,
|
| 473 |
+
"bbox": [
|
| 474 |
+
174,
|
| 475 |
+
316,
|
| 476 |
+
261,
|
| 477 |
+
330
|
| 478 |
+
],
|
| 479 |
+
"page_idx": 4
|
| 480 |
+
},
|
| 481 |
+
{
|
| 482 |
+
"type": "text",
|
| 483 |
+
"text": "Environments We consider a set of MuJoCo tasks (Todorov et al., 2012) provided by DMC (Tassa et al., 2018), a widely used benchmark for continous control. DMC offers environments of various difficulty, ranging from the simple control problems such as the single degree of freedom (DOF) pendulum and cartpool, to the control of complex multi-joint bodies such as the humanoid (21 DOF). We consider learning from pixels. In this setting, environment observations are stacks of 3 consecutive RGB images of size $8 4 \\times 8 4$ , stacked along the channel dimension to enable inference of dynamic information like velocity and acceleration. In total, we consider 24 different tasks, which we group into three buckets, easy, medium, and hard, according to the sample complexity to reach near-optimal performance (see Appendix B). Our motivation for this is to encourage RL practitioners to focus on the medium and hard tasks and stop using the easy tasks for evaluation, as they are mostly solved at this point and may no longer provide any valuable signal in comparing different methods. ",
|
| 484 |
+
"bbox": [
|
| 485 |
+
174,
|
| 486 |
+
343,
|
| 487 |
+
825,
|
| 488 |
+
496
|
| 489 |
+
],
|
| 490 |
+
"page_idx": 4
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"type": "text",
|
| 494 |
+
"text": "Training Details For all tasks in the suite an episode corresponds to 1000 steps, where a per-step reward is in the unit interval [0, 1]. This upper bounds the episode return to 1000 making it easier to compute aggregated performance measures across tasks. To facilitate fair wall-clock time comparison all algorithms are trained on the same hardware (i.e., a single NVIDIA V100 GPU machine) and evaluated with the same periodicity of 20000 environment steps. Each evaluation query averages episode returns over 10 episodes. Per common practice (Hafner et al., 2019), we employ action repeat of 2 and measure sample complexity in the environment steps, rather than the actor steps. In all the figures we plot the mean performance over 10 seeds together with the shaded regions which represent $9 \\hat { 5 } \\%$ confidence intervals. A full list of hyper-parameters can be found in Appendix E. ",
|
| 495 |
+
"bbox": [
|
| 496 |
+
174,
|
| 497 |
+
513,
|
| 498 |
+
825,
|
| 499 |
+
638
|
| 500 |
+
],
|
| 501 |
+
"page_idx": 4
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"type": "text",
|
| 505 |
+
"text": "Comparison Axes In many real-world applications, taking a step in the environment incurs significant computational cost making sample efficiency a critical feature of an RL algorithm. It is hence important to compare RL algorithms in terms of their sample efficiency. We facilitate this comparison by computing an algorithm’s performance measured by episode return with respect to environment steps. On the other end, striving low sample complexity often comes at the cost of a poor computational efficiency. Unfortunately, recent deep RL literature has paid very little attention to this important axis, which has led to skyrocketing hardware requirements. Such a trend has made it virtually impossible for an RL practitioner with modest hardware capacity to contribute to advancements in image-based RL, leaving research in this area to a few well-equipped labs. To democratize research in visual RL, we additionally propose to compare the agents in terms of wall-clock training time given the same single GPU hardware. We note that it is possible to adapt DrQ-v2 to a distributed setup, as has been done for DDPG in prior work (Barth-Maron et al., 2018; Hoffman et al., 2020). ",
|
| 506 |
+
"bbox": [
|
| 507 |
+
174,
|
| 508 |
+
655,
|
| 509 |
+
825,
|
| 510 |
+
821
|
| 511 |
+
],
|
| 512 |
+
"page_idx": 4
|
| 513 |
+
},
|
| 514 |
+
{
|
| 515 |
+
"type": "text",
|
| 516 |
+
"text": "4.2 COMPARISON TO MODEL-FREE METHODS ",
|
| 517 |
+
"text_level": 1,
|
| 518 |
+
"bbox": [
|
| 519 |
+
176,
|
| 520 |
+
840,
|
| 521 |
+
508,
|
| 522 |
+
856
|
| 523 |
+
],
|
| 524 |
+
"page_idx": 4
|
| 525 |
+
},
|
| 526 |
+
{
|
| 527 |
+
"type": "text",
|
| 528 |
+
"text": "Baselines We compare our method to several state-of-the-art model-free algorithms for visual RL including CURL (Srinivas et al., 2020), DrQ (Yarats et al., 2021b), and vanilla SAC (Haarnoja et al., 2018a) augmented with the convolutional encoder from SAC-AE (Yarats et al., 2019). Vanilla SAC is a weak baseline and only included as a ground point to showcase the recent progress in visual RL. ",
|
| 529 |
+
"bbox": [
|
| 530 |
+
174,
|
| 531 |
+
868,
|
| 532 |
+
825,
|
| 533 |
+
924
|
| 534 |
+
],
|
| 535 |
+
"page_idx": 4
|
| 536 |
+
},
|
| 537 |
+
{
|
| 538 |
+
"type": "image",
|
| 539 |
+
"img_path": "images/ecbef5ca3f3d3542fd76d49b66dfb726dde336b060b81096054addb1a0048ea7.jpg",
|
| 540 |
+
"image_caption": [
|
| 541 |
+
"Figure 3: We compare $\\mathrm { D r Q - v } 2$ on a subset of continuous control tasks that offer various challenges, including complex dynamics, sparse rewards, hard exploration, and more. (a) $\\mathrm { D r Q - v } 2$ demonstrates favorable sample efficiency and comfortably outperforms leading model-free baselines, as well as requiring less wall-clock training image (b). "
|
| 542 |
+
],
|
| 543 |
+
"image_footnote": [],
|
| 544 |
+
"bbox": [
|
| 545 |
+
179,
|
| 546 |
+
84,
|
| 547 |
+
826,
|
| 548 |
+
520
|
| 549 |
+
],
|
| 550 |
+
"page_idx": 5
|
| 551 |
+
},
|
| 552 |
+
{
|
| 553 |
+
"type": "text",
|
| 554 |
+
"text": "Sample Efficiency Axis We present results on several medium and hard tasks in Figure 3a. Full results can be found in Appendix (Figure 6, Figure 8, and Figure 10). Our empirical study reveals that $\\mathrm { D r Q - v } 2$ outperforms prior model-free methods in terms of sample efficiency across the three benchmarks with different levels of difficulty. Importantly, DrQ-v2’s advantage is more pronounced on harder tasks (i.e., acrobot, quadruped, and humanoid), where exploration is especially challenging. Finally, DrQ-v2 solves the DMC humanoid locomotion tasks directly from pixels, which, to the best of our knowledge, is the first successful demonstration of such feat by a model-free method. ",
|
| 555 |
+
"bbox": [
|
| 556 |
+
174,
|
| 557 |
+
613,
|
| 558 |
+
825,
|
| 559 |
+
712
|
| 560 |
+
],
|
| 561 |
+
"page_idx": 5
|
| 562 |
+
},
|
| 563 |
+
{
|
| 564 |
+
"type": "text",
|
| 565 |
+
"text": "Compute Efficiency Axis To facilitate a fair comparison in terms of sheer wall-clock training time, besides employee the identical training protocol (see Section 4.1), we also use the same mini-batch size of 256 for each agent. In Figure 13, we evaluate $\\mathrm { D r Q - v } 2$ on a subset of DMC tasks for the sake of brevity only, and note that the demonstrated results can be easily extrapolated to the other tasks given the linear dependency between training time and sample complexity. In our benchmarks, $\\mathrm { D r Q - v } 2$ is able to achieve a throughput of 96 FPS, which favorably compares to DrQ’s 28 FPS (a $3 . 4 \\times$ increase), and CURL’s 16 FPS (a $6 \\times$ increase) throughputs. Practically, $\\mathrm { D r Q - v } 2$ solves easy, medium, and hard tasks within 2.9, 8.6, and 86 hours respectively. Full results can be found in Appendix (Figure 7, Figure 9, and Figure 11). ",
|
| 566 |
+
"bbox": [
|
| 567 |
+
174,
|
| 568 |
+
727,
|
| 569 |
+
825,
|
| 570 |
+
852
|
| 571 |
+
],
|
| 572 |
+
"page_idx": 5
|
| 573 |
+
},
|
| 574 |
+
{
|
| 575 |
+
"type": "text",
|
| 576 |
+
"text": "4.3 COMPARISON TO MODEL-BASED METHODS ",
|
| 577 |
+
"text_level": 1,
|
| 578 |
+
"bbox": [
|
| 579 |
+
174,
|
| 580 |
+
869,
|
| 581 |
+
519,
|
| 582 |
+
883
|
| 583 |
+
],
|
| 584 |
+
"page_idx": 5
|
| 585 |
+
},
|
| 586 |
+
{
|
| 587 |
+
"type": "text",
|
| 588 |
+
"text": "Baseline To see how $\\mathrm { D r Q - v } 2$ stacks up against model-based methods, which tend to achieve better sample complexity in expense of a larger computational footprint, we also compare to recent and unpublished2 improvements to Dreamer-v2 (Hafner et al., 2020), a leading model-based approach for visual continuous control. The recent update shows that the model-based approach can solve the DMC humanoid tasks directly from pixel inputs. The open-source implementation of Dreamer-v2 (https://github.com/danijar/dreamerv2) only provides learning curves for Humanoid Walk. For this reason we run their code to obtain results on other DMC tasks. To limit hardware requirements of compute-expensive Dreamer-v2, we only run it on a subset of 12 out of 24 considered tasks. This subset, however, overlaps with all the three (i.e. easy, medium, and hard) benchmarks. ",
|
| 589 |
+
"bbox": [
|
| 590 |
+
174,
|
| 591 |
+
895,
|
| 592 |
+
823,
|
| 593 |
+
924
|
| 594 |
+
],
|
| 595 |
+
"page_idx": 5
|
| 596 |
+
},
|
| 597 |
+
{
|
| 598 |
+
"type": "image",
|
| 599 |
+
"img_path": "images/545d212f4784001ae204bbbd2da7b19024aaeec84e241d0466ac5d3246eb06bc.jpg",
|
| 600 |
+
"image_caption": [
|
| 601 |
+
"Figure 4: Model-based Dreamer-v2 needs to train a world model and thus performs more computations during training than model-free DrQ-v2. Still, (a) $\\mathrm { D r Q - v } 2$ is able to match Dreamer-v2’s sample efficiency, while $\\mathbf { ( b ) }$ requiring much less wall-clock training time. "
|
| 602 |
+
],
|
| 603 |
+
"image_footnote": [],
|
| 604 |
+
"bbox": [
|
| 605 |
+
179,
|
| 606 |
+
84,
|
| 607 |
+
826,
|
| 608 |
+
330
|
| 609 |
+
],
|
| 610 |
+
"page_idx": 6
|
| 611 |
+
},
|
| 612 |
+
{
|
| 613 |
+
"type": "text",
|
| 614 |
+
"text": "",
|
| 615 |
+
"bbox": [
|
| 616 |
+
174,
|
| 617 |
+
410,
|
| 618 |
+
825,
|
| 619 |
+
508
|
| 620 |
+
],
|
| 621 |
+
"page_idx": 6
|
| 622 |
+
},
|
| 623 |
+
{
|
| 624 |
+
"type": "text",
|
| 625 |
+
"text": "Sample Efficiency Axis Our empirical study in Figure 4a reveals that in many cases, DrQ-v2, despite being a model-free method, can rival sample efficiency of state-of-the-art model-based Dreamer-v2. We note, however, that on several tasks (for example Acrobot Swingup) Dreamer-v2 outperforms DrQ-v2. We leave investigation of such discrepancy for future work. Full results are provided in Appendix D (Figure 12). ",
|
| 626 |
+
"bbox": [
|
| 627 |
+
174,
|
| 628 |
+
525,
|
| 629 |
+
825,
|
| 630 |
+
594
|
| 631 |
+
],
|
| 632 |
+
"page_idx": 6
|
| 633 |
+
},
|
| 634 |
+
{
|
| 635 |
+
"type": "text",
|
| 636 |
+
"text": "Compute Efficiency Axis A different picture emerges if comparison is done with respect to wallclock training time. Dreamer-v2, being a model-based method, performs significantly more floating point operations to reach its sample efficiency. In our benchmarks, Dreamer-v2 records a throughput of 24 FPS, which is $4 \\times$ less than DrQ-v2’s throughput of 96 FPS, measured on the same hardware. In Figure 4b we plot learning curves against wall-clock time and observe that $\\mathrm { D r Q - v } 2$ takes less time to solve the tasks. Full results can be found in Appendix (Figure 13). ",
|
| 637 |
+
"bbox": [
|
| 638 |
+
174,
|
| 639 |
+
612,
|
| 640 |
+
825,
|
| 641 |
+
695
|
| 642 |
+
],
|
| 643 |
+
"page_idx": 6
|
| 644 |
+
},
|
| 645 |
+
{
|
| 646 |
+
"type": "text",
|
| 647 |
+
"text": "4.4 ABLATION STUDY ",
|
| 648 |
+
"text_level": 1,
|
| 649 |
+
"bbox": [
|
| 650 |
+
174,
|
| 651 |
+
714,
|
| 652 |
+
341,
|
| 653 |
+
728
|
| 654 |
+
],
|
| 655 |
+
"page_idx": 6
|
| 656 |
+
},
|
| 657 |
+
{
|
| 658 |
+
"type": "text",
|
| 659 |
+
"text": "In this section we present an extensive ablation study that guided us to the final version of $\\mathrm { D r Q - v } 2$ Here, for brevity we only discuss experiments that were most impactful and omit others that did not pan out. For computational reasons, we only ablate on 3 different control tasks of various difficulty levels. Our findings are summarized in Figure 5 and detailed below. ",
|
| 660 |
+
"bbox": [
|
| 661 |
+
174,
|
| 662 |
+
741,
|
| 663 |
+
825,
|
| 664 |
+
796
|
| 665 |
+
],
|
| 666 |
+
"page_idx": 6
|
| 667 |
+
},
|
| 668 |
+
{
|
| 669 |
+
"type": "text",
|
| 670 |
+
"text": "Switching from SAC to DDPG DrQ (Yarats et al., 2021b) leverages SAC (Haarnoja et al., 2018a) as the backbone RL algorithm. While it has been demonstrated by many works, including the original manuscripts (Haarnoja et al., 2018a;b) that SAC is superior to DDPG (Lillicrap et al., 2015b), our careful examination identifies two shortcomings that preclude SAC (within DrQ) to solve hard exploration-wise image-based tasks. First, the automatic entropy adjustment strategy, introduced in Haarnoja et al. (2018b), is inadequate and in some cases leads to a premature entropy collapse. ",
|
| 671 |
+
"bbox": [
|
| 672 |
+
174,
|
| 673 |
+
813,
|
| 674 |
+
825,
|
| 675 |
+
897
|
| 676 |
+
],
|
| 677 |
+
"page_idx": 6
|
| 678 |
+
},
|
| 679 |
+
{
|
| 680 |
+
"type": "image",
|
| 681 |
+
"img_path": "images/ba1a4435887f6483f6e5539af32ee4c9abf61350f7e4d286d35d2b17585b6381.jpg",
|
| 682 |
+
"image_caption": [
|
| 683 |
+
"(a) DrQ (dotted silver) relies on SAC as a base RL algorithm. Replacing SAC with DDPG results in a significant performance gain (blue). "
|
| 684 |
+
],
|
| 685 |
+
"image_footnote": [],
|
| 686 |
+
"bbox": [
|
| 687 |
+
207,
|
| 688 |
+
64,
|
| 689 |
+
790,
|
| 690 |
+
191
|
| 691 |
+
],
|
| 692 |
+
"page_idx": 7
|
| 693 |
+
},
|
| 694 |
+
{
|
| 695 |
+
"type": "image",
|
| 696 |
+
"img_path": "images/8cefa7b04095a5ad9cc5e618bf568a2e8cb599d743766c5d5f19dd90a7f61e8b.jpg",
|
| 697 |
+
"image_caption": [
|
| 698 |
+
"(b) DDPG straightforwardly incorporates $n$ -step returns, a critical tool for exploration. We observe that the 3 (blue) and 5 (red) steps variants provide additional improvements to the previous version that uses single step TD-targets (silver). Going forward, we adopt 3-step returns (blue). "
|
| 699 |
+
],
|
| 700 |
+
"image_footnote": [],
|
| 701 |
+
"bbox": [
|
| 702 |
+
207,
|
| 703 |
+
236,
|
| 704 |
+
790,
|
| 705 |
+
361
|
| 706 |
+
],
|
| 707 |
+
"page_idx": 7
|
| 708 |
+
},
|
| 709 |
+
{
|
| 710 |
+
"type": "image",
|
| 711 |
+
"img_path": "images/7344d8d594db9770f16e401999ae3c88c9529605098182fbc253dd13972aed74.jpg",
|
| 712 |
+
"image_caption": [
|
| 713 |
+
"(c) Increasing the size of the replay buffer (B) improves performance, over the original $1 0 ^ { 5 }$ used by DrQ (silver). Going forward, we use a buffer size of $1 \\dot { 0 } ^ { 6 }$ (red). "
|
| 714 |
+
],
|
| 715 |
+
"image_footnote": [],
|
| 716 |
+
"bbox": [
|
| 717 |
+
202,
|
| 718 |
+
417,
|
| 719 |
+
789,
|
| 720 |
+
544
|
| 721 |
+
],
|
| 722 |
+
"page_idx": 7
|
| 723 |
+
},
|
| 724 |
+
{
|
| 725 |
+
"type": "text",
|
| 726 |
+
"text": "(d) Finally, a decaying schedule for the variance of the exploration noise (blue) helps on hard exploration tasks, versus the fixed variance variant (silver). ",
|
| 727 |
+
"bbox": [
|
| 728 |
+
178,
|
| 729 |
+
718,
|
| 730 |
+
816,
|
| 731 |
+
744
|
| 732 |
+
],
|
| 733 |
+
"page_idx": 7
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"type": "image",
|
| 737 |
+
"img_path": "images/9ac2122386f89d3dc6ae3ea32bbd49484f830769555b1e994b96ad2c05cfd549.jpg",
|
| 738 |
+
"image_caption": [
|
| 739 |
+
"Figure 5: An ablation study that led us to the final version of $\\mathrm { D r Q - v } 2$ . We incrementally show each of the four key improvements to $\\mathrm { D r Q }$ that collectively form DrQ-v2. The silver dotted curves in the first row show the original DrQ. In subsequent rows they show progressive improvements, using the optimal choice from the previous rows (i.e., the silver curve in the third row shows DrQ with a DDPG base RL algorithm and 3-step returns). The red and blue curves show the effect of individual modifications. In the last row the blue curve corresponds to DrQ-v2. "
|
| 740 |
+
],
|
| 741 |
+
"image_footnote": [],
|
| 742 |
+
"bbox": [
|
| 743 |
+
191,
|
| 744 |
+
588,
|
| 745 |
+
790,
|
| 746 |
+
714
|
| 747 |
+
],
|
| 748 |
+
"page_idx": 7
|
| 749 |
+
},
|
| 750 |
+
{
|
| 751 |
+
"type": "text",
|
| 752 |
+
"text": "This prevents the agent from finding more optimal behaviors due to the insufficient exploration. In Figure 5a, we empirically verify our intuition and, indeed, observe that DDPG demonstrates better exploration properties than SAC. Here, DDPG uses constant $\\sigma = 0 . 2$ for the exploration noise. ",
|
| 753 |
+
"bbox": [
|
| 754 |
+
174,
|
| 755 |
+
881,
|
| 756 |
+
825,
|
| 757 |
+
924
|
| 758 |
+
],
|
| 759 |
+
"page_idx": 7
|
| 760 |
+
},
|
| 761 |
+
{
|
| 762 |
+
"type": "text",
|
| 763 |
+
"text": "N-step Returns The second issue concerns the inability of soft Q-learning to incorporate $n$ -step returns to estimate TD error in a straightforward manner. The reason for this is that computing a target value for soft Q-function requires estimating per-step entropy of the policy, which is challenging to do for large $n$ in the off-policy regime. In contrast, DDPG does not require estimating per-step entropy to compute targets and is more amenable for $n$ -step returns. In Figure 5b we demonstrate that estimating TD error with $n$ -step returns improves sample efficiency over vanilla DDPG. We select 3-step returns as a sensible choice for our method. ",
|
| 764 |
+
"bbox": [
|
| 765 |
+
174,
|
| 766 |
+
103,
|
| 767 |
+
825,
|
| 768 |
+
200
|
| 769 |
+
],
|
| 770 |
+
"page_idx": 8
|
| 771 |
+
},
|
| 772 |
+
{
|
| 773 |
+
"type": "text",
|
| 774 |
+
"text": "Replay Buffer Size We hypothesize that a larger replay buffer plays an important role in circumventing the catastrophic forgetting problem (Fedus et al., 2020). This issue is especially prominent in tasks with more diverse initial state distributions (i.e., reacher or humanoid tasks), where the vast variety of possible behaviors requires significantly larger memory. We confirm this intuition by ablating the size of the replay buffer in Figure 5c, where we observe that a buffer size of 1M helps to improve performance on Reacher Hard considerably. ",
|
| 775 |
+
"bbox": [
|
| 776 |
+
174,
|
| 777 |
+
217,
|
| 778 |
+
825,
|
| 779 |
+
300
|
| 780 |
+
],
|
| 781 |
+
"page_idx": 8
|
| 782 |
+
},
|
| 783 |
+
{
|
| 784 |
+
"type": "text",
|
| 785 |
+
"text": "Scheduled Exploration Noise Finally, we demonstrate that it is useful to decay the variance of the exploration noise over the course of training according to Equation (3). In Figure 5d, we compare two versions of our algorithm, where the first variant uses a fixed standard deviation of $\\sigma = 0 . 2$ , while the second variant employes the decaying schedule $\\sigma ( t )$ , with parameters $\\sigma _ { \\mathrm { i n i t } } = 1 . 0$ , $\\sigma _ { \\mathrm { f i n a l } } = 0 . 1$ , and $T = 5 0 0 0 0 0$ . Having the exploration noise to decay linearly over time turns out to be helpful and provide an additional performance boost, which was especially useful for solving humanoid tasks. ",
|
| 786 |
+
"bbox": [
|
| 787 |
+
174,
|
| 788 |
+
316,
|
| 789 |
+
825,
|
| 790 |
+
400
|
| 791 |
+
],
|
| 792 |
+
"page_idx": 8
|
| 793 |
+
},
|
| 794 |
+
{
|
| 795 |
+
"type": "text",
|
| 796 |
+
"text": "5 RELATED WORK ",
|
| 797 |
+
"text_level": 1,
|
| 798 |
+
"bbox": [
|
| 799 |
+
176,
|
| 800 |
+
420,
|
| 801 |
+
344,
|
| 802 |
+
436
|
| 803 |
+
],
|
| 804 |
+
"page_idx": 8
|
| 805 |
+
},
|
| 806 |
+
{
|
| 807 |
+
"type": "text",
|
| 808 |
+
"text": "Visual Reinforcement Learning Successes of visual representation learning in computer vision (Vincent et al., 2008; Doersch et al., 2015; Wang and Gupta, 2015; Noroozi and Favaro, 2016; Zhang et al., 2017; Gidaris et al., 2018) has inspired successes in visual RL, where coherent representations are learned alongside RL. Works such as SAC-AE (Yarats et al., 2019), PlaNet (Hafner et al., 2018), and SLAC (Lee et al., 2019), demonstrated how auto-encoders (Finn et al., 2015) could improve visual RL. Following this, other self-supervised objectives such as contrastive learning in CURL (Srinivas et al., 2020) and ATC (Stooke et al., 2020), self-prediction in SPR (Schwarzer et al., 2020a), contrastive cluster assignment in Proto-RL (Yarats et al., 2021a), and augmented data in DrQ (Yarats et al., 2021b) and RAD (Laskin et al., 2020), have significantly bridged the gap between state-based and image-based RL. Future prediction objectives (Hafner et al., 2018; 2019; Yan et al., 2020; Finn et al., 2015; Pinto et al., 2016; Agrawal et al., 2016) and other auxiliary objectives (Jaderberg et al., 2016; Zhan et al., 2020; Young et al., 2020; Chen et al., 2020) have shown improvements on a variety of problems ranging from gameplay, continuous control, and robotics. In the context of visual control settings, clever use of augmented data (Yarats et al., 2021b; Laskin et al., 2020) currently produces state-of-the-art results on visual tasks from DMC (Tassa et al., 2018). ",
|
| 809 |
+
"bbox": [
|
| 810 |
+
174,
|
| 811 |
+
453,
|
| 812 |
+
825,
|
| 813 |
+
660
|
| 814 |
+
],
|
| 815 |
+
"page_idx": 8
|
| 816 |
+
},
|
| 817 |
+
{
|
| 818 |
+
"type": "text",
|
| 819 |
+
"text": "Humanoid Control The humanoid control problem first presented in Tassa et al. (2012), has been studied as one of the hardest control problems due to its large state and action spaces. The earliest solutions to this problem use ideas in model-based optimal control to generate policies given an accurate model of the humanoid . Subsequent works in RL have shown that model-free policies can solve the humanoid control problem given access to proprioceptive state observations. However, solving such a problem from visual observations has been a challenging problem, with leading RL algorithms making little progress to solve the task (Tassa et al., 2018). Recently, Hafner et al. (2020) was able to solve this problem through a model-based technique in around 30M environment steps and 340 hours of training on a single GPU machine. DrQ-v2, presented in this paper, marks the first model-free RL method that can solve humanoid control from visual observations, taking also around 30M steps and 86 hours of training on the same hardware. ",
|
| 820 |
+
"bbox": [
|
| 821 |
+
174,
|
| 822 |
+
676,
|
| 823 |
+
825,
|
| 824 |
+
829
|
| 825 |
+
],
|
| 826 |
+
"page_idx": 8
|
| 827 |
+
},
|
| 828 |
+
{
|
| 829 |
+
"type": "text",
|
| 830 |
+
"text": "6 CONCLUSION ",
|
| 831 |
+
"text_level": 1,
|
| 832 |
+
"bbox": [
|
| 833 |
+
174,
|
| 834 |
+
849,
|
| 835 |
+
318,
|
| 836 |
+
866
|
| 837 |
+
],
|
| 838 |
+
"page_idx": 8
|
| 839 |
+
},
|
| 840 |
+
{
|
| 841 |
+
"type": "text",
|
| 842 |
+
"text": "We have introduced a conceptually simple model-free actor-critic RL agent for image-based continuous control – DrQ-v2. Our method provides significantly better computational footprint and masters tasks from DMC directly from pixels, most notably the humanoid locomotion tasks that ",
|
| 843 |
+
"bbox": [
|
| 844 |
+
176,
|
| 845 |
+
882,
|
| 846 |
+
825,
|
| 847 |
+
924
|
| 848 |
+
],
|
| 849 |
+
"page_idx": 8
|
| 850 |
+
},
|
| 851 |
+
{
|
| 852 |
+
"type": "text",
|
| 853 |
+
"text": "were previously unsolved by model-free approaches. To support our empirical results and inspire further research in visual RL we provide an efficient PyTorch implementation of $\\mathrm { D r Q - v } 2$ at https://anonymous.4open.science/r/drqv2. ",
|
| 854 |
+
"bbox": [
|
| 855 |
+
173,
|
| 856 |
+
103,
|
| 857 |
+
825,
|
| 858 |
+
146
|
| 859 |
+
],
|
| 860 |
+
"page_idx": 9
|
| 861 |
+
},
|
| 862 |
+
{
|
| 863 |
+
"type": "text",
|
| 864 |
+
"text": "REFERENCES ",
|
| 865 |
+
"text_level": 1,
|
| 866 |
+
"bbox": [
|
| 867 |
+
176,
|
| 868 |
+
102,
|
| 869 |
+
287,
|
| 870 |
+
118
|
| 871 |
+
],
|
| 872 |
+
"page_idx": 10
|
| 873 |
+
},
|
| 874 |
+
{
|
| 875 |
+
"type": "text",
|
| 876 |
+
"text": "Pulkit Agrawal, Ashvin Nair, Pieter Abbeel, Jitendra Malik, and Sergey Levine. Learning to poke by poking: experiential learning of intuitive physics. In Proceedings of the 30th International Conference on Neural Information Processing Systems, pages 5092–5100, 2016. ",
|
| 877 |
+
"bbox": [
|
| 878 |
+
176,
|
| 879 |
+
126,
|
| 880 |
+
823,
|
| 881 |
+
169
|
| 882 |
+
],
|
| 883 |
+
"page_idx": 10
|
| 884 |
+
},
|
| 885 |
+
{
|
| 886 |
+
"type": "text",
|
| 887 |
+
"text": "Brandon Amos, Samuel Stanton, Denis Yarats, and Andrew Gordon Wilson. On the model-based stochastic value gradient for continuous reinforcement learning. CoRR, 2020. ",
|
| 888 |
+
"bbox": [
|
| 889 |
+
173,
|
| 890 |
+
179,
|
| 891 |
+
823,
|
| 892 |
+
208
|
| 893 |
+
],
|
| 894 |
+
"page_idx": 10
|
| 895 |
+
},
|
| 896 |
+
{
|
| 897 |
+
"type": "text",
|
| 898 |
+
"text": "Gabriel Barth-Maron, Matthew W. Hoffman, David Budden, Will Dabney, Dan Horgan, Dhruva TB, Alistair Muldal, Nicolas Heess, and Timothy Lillicrap. Distributional policy gradients. In International Conference on Learning Representations, 2018. ",
|
| 899 |
+
"bbox": [
|
| 900 |
+
174,
|
| 901 |
+
218,
|
| 902 |
+
826,
|
| 903 |
+
262
|
| 904 |
+
],
|
| 905 |
+
"page_idx": 10
|
| 906 |
+
},
|
| 907 |
+
{
|
| 908 |
+
"type": "text",
|
| 909 |
+
"text": "Richard Bellman. A markovian decision process. Indiana Univ. Math. J., 1957. ",
|
| 910 |
+
"bbox": [
|
| 911 |
+
173,
|
| 912 |
+
272,
|
| 913 |
+
694,
|
| 914 |
+
287
|
| 915 |
+
],
|
| 916 |
+
"page_idx": 10
|
| 917 |
+
},
|
| 918 |
+
{
|
| 919 |
+
"type": "text",
|
| 920 |
+
"text": "Bryan Chen, Alexander Sax, Gene Lewis, Iro Armeni, Silvio Savarese, Amir Roshan Zamir, Jitendra Malik, and Lerrel Pinto. Robust policies via mid-level visual representations: An experimental study in manipulation and navigation. CoRR, 2020. ",
|
| 921 |
+
"bbox": [
|
| 922 |
+
174,
|
| 923 |
+
297,
|
| 924 |
+
826,
|
| 925 |
+
340
|
| 926 |
+
],
|
| 927 |
+
"page_idx": 10
|
| 928 |
+
},
|
| 929 |
+
{
|
| 930 |
+
"type": "text",
|
| 931 |
+
"text": "Carl Doersch, Abhinav Gupta, and Alexei A Efros. Unsupervised visual representation learning by context prediction. In Proceedings of the IEEE International Conference on Computer Vision, pages 1422–1430, 2015. ",
|
| 932 |
+
"bbox": [
|
| 933 |
+
178,
|
| 934 |
+
351,
|
| 935 |
+
825,
|
| 936 |
+
393
|
| 937 |
+
],
|
| 938 |
+
"page_idx": 10
|
| 939 |
+
},
|
| 940 |
+
{
|
| 941 |
+
"type": "text",
|
| 942 |
+
"text": "Jing eng and Ronald J. Williams. Incremental multi-step q-learning. Machine Learning, 1996. ",
|
| 943 |
+
"bbox": [
|
| 944 |
+
173,
|
| 945 |
+
405,
|
| 946 |
+
792,
|
| 947 |
+
421
|
| 948 |
+
],
|
| 949 |
+
"page_idx": 10
|
| 950 |
+
},
|
| 951 |
+
{
|
| 952 |
+
"type": "text",
|
| 953 |
+
"text": "William Fedus, Prajit Ramachandran, Rishabh Agarwal, Yoshua Bengio, Hugo Larochelle, Mark Rowland, and Will Dabney. Revisiting fundamentals of experience replay. CoRR, 2020. ",
|
| 954 |
+
"bbox": [
|
| 955 |
+
174,
|
| 956 |
+
430,
|
| 957 |
+
825,
|
| 958 |
+
460
|
| 959 |
+
],
|
| 960 |
+
"page_idx": 10
|
| 961 |
+
},
|
| 962 |
+
{
|
| 963 |
+
"type": "text",
|
| 964 |
+
"text": "Chelsea Finn, Xin Yu Tan, Yan Duan, Trevor Darrell, Sergey Levine, and Pieter Abbeel. Learning visual feature spaces for robotic manipulation with deep spatial autoencoders. CoRR, 2015. ",
|
| 965 |
+
"bbox": [
|
| 966 |
+
174,
|
| 967 |
+
469,
|
| 968 |
+
825,
|
| 969 |
+
500
|
| 970 |
+
],
|
| 971 |
+
"page_idx": 10
|
| 972 |
+
},
|
| 973 |
+
{
|
| 974 |
+
"type": "text",
|
| 975 |
+
"text": "Scott Fujimoto, Herke van Hoof, and David Meger. Addressing function approximation error in actor-critic methods. In Proceedings of the 35th International Conference on Machine Learning, ICML 2018, Stockholmsmassan, Stockholm, Sweden, July 10-15, 2018, 2018. ",
|
| 976 |
+
"bbox": [
|
| 977 |
+
174,
|
| 978 |
+
508,
|
| 979 |
+
826,
|
| 980 |
+
553
|
| 981 |
+
],
|
| 982 |
+
"page_idx": 10
|
| 983 |
+
},
|
| 984 |
+
{
|
| 985 |
+
"type": "text",
|
| 986 |
+
"text": "Spyros Gidaris, Praveer Singh, and Nikos Komodakis. Unsupervised representation learning by predicting image rotations, 2018. ",
|
| 987 |
+
"bbox": [
|
| 988 |
+
174,
|
| 989 |
+
563,
|
| 990 |
+
823,
|
| 991 |
+
592
|
| 992 |
+
],
|
| 993 |
+
"page_idx": 10
|
| 994 |
+
},
|
| 995 |
+
{
|
| 996 |
+
"type": "text",
|
| 997 |
+
"text": "Tuomas Haarnoja, Aurick Zhou, Pieter Abbeel, and Sergey Levine. Soft actor-critic: Off-policy maximum entropy deep reinforcement learning with a stochastic actor. arXiv preprint arXiv:1801.01290, 2018a. ",
|
| 998 |
+
"bbox": [
|
| 999 |
+
176,
|
| 1000 |
+
602,
|
| 1001 |
+
825,
|
| 1002 |
+
645
|
| 1003 |
+
],
|
| 1004 |
+
"page_idx": 10
|
| 1005 |
+
},
|
| 1006 |
+
{
|
| 1007 |
+
"type": "text",
|
| 1008 |
+
"text": "Tuomas Haarnoja, Aurick Zhou, Kristian Hartikainen, George Tucker, Sehoon Ha, Jie Tan, Vikash Kumar, Henry Zhu, Abhishek Gupta a nd Pieter Abbeel, and Sergey Levine. Soft actor-critic algorithms and applications. CoRR, 2018b. ",
|
| 1009 |
+
"bbox": [
|
| 1010 |
+
174,
|
| 1011 |
+
656,
|
| 1012 |
+
825,
|
| 1013 |
+
699
|
| 1014 |
+
],
|
| 1015 |
+
"page_idx": 10
|
| 1016 |
+
},
|
| 1017 |
+
{
|
| 1018 |
+
"type": "text",
|
| 1019 |
+
"text": "Danijar Hafner, Timothy Lillicrap, Ian Fischer, Ruben Villegas, David Ha, Honglak Lee, and James Davidson. Learning latent dynamics for planning from pixels. arXiv preprint arXiv:1811.04551, 2018. ",
|
| 1020 |
+
"bbox": [
|
| 1021 |
+
174,
|
| 1022 |
+
709,
|
| 1023 |
+
826,
|
| 1024 |
+
751
|
| 1025 |
+
],
|
| 1026 |
+
"page_idx": 10
|
| 1027 |
+
},
|
| 1028 |
+
{
|
| 1029 |
+
"type": "text",
|
| 1030 |
+
"text": "Danijar Hafner, Timothy Lillicrap, Jimmy Ba, and Mohammad Norouzi. Dream to control: Learning behaviors by latent imagination. arXiv preprint arXiv:1912.01603, 2019. ",
|
| 1031 |
+
"bbox": [
|
| 1032 |
+
173,
|
| 1033 |
+
762,
|
| 1034 |
+
823,
|
| 1035 |
+
791
|
| 1036 |
+
],
|
| 1037 |
+
"page_idx": 10
|
| 1038 |
+
},
|
| 1039 |
+
{
|
| 1040 |
+
"type": "text",
|
| 1041 |
+
"text": "Danijar Hafner, Timothy P. Lillicrap, Mohammad Norouzi, and Jimmy Ba. Mastering atari with discrete world models. CoRR, 2020. ",
|
| 1042 |
+
"bbox": [
|
| 1043 |
+
173,
|
| 1044 |
+
803,
|
| 1045 |
+
823,
|
| 1046 |
+
830
|
| 1047 |
+
],
|
| 1048 |
+
"page_idx": 10
|
| 1049 |
+
},
|
| 1050 |
+
{
|
| 1051 |
+
"type": "text",
|
| 1052 |
+
"text": "Nicklas Hansen and Xiaolong Wang. Generalization in reinforcement learning by soft data augmentation. In International Conference on Robotics and Automation, 2021. ",
|
| 1053 |
+
"bbox": [
|
| 1054 |
+
171,
|
| 1055 |
+
842,
|
| 1056 |
+
825,
|
| 1057 |
+
871
|
| 1058 |
+
],
|
| 1059 |
+
"page_idx": 10
|
| 1060 |
+
},
|
| 1061 |
+
{
|
| 1062 |
+
"type": "text",
|
| 1063 |
+
"text": "Matteo Hessel, Joseph Modayil, Hado van Hasselt, Tom Schaul, Georg Ostrovski, Will Dabney, Daniel Horgan, Bilal Piot, Mohammad Gheshlaghi Azar, and David Silver. Rainbow: Combining improvements in deep reinforcement learning. arXiv preprint arXiv:1710.02298, 2017. ",
|
| 1064 |
+
"bbox": [
|
| 1065 |
+
176,
|
| 1066 |
+
881,
|
| 1067 |
+
825,
|
| 1068 |
+
924
|
| 1069 |
+
],
|
| 1070 |
+
"page_idx": 10
|
| 1071 |
+
},
|
| 1072 |
+
{
|
| 1073 |
+
"type": "text",
|
| 1074 |
+
"text": "Matt Hoffman, Bobak Shahriari, John Aslanides, Gabriel Barth-Maron, Feryal Behbahani, Tamara Norman, Abbas Abdolmaleki, Albin Cassirer, Fan Yang, Kate Baumli, Sarah Henderson, Alex Novikov, Sergio Gómez Colmenarejo, Serkan Cabi, Caglar Gulcehre, Tom Le Paine, Andrew Cowie, Ziyu Wang, Bilal Piot, and Nando de Freitas. Acme: A research framework for distributed reinforcement learning, 2020. ",
|
| 1075 |
+
"bbox": [
|
| 1076 |
+
174,
|
| 1077 |
+
103,
|
| 1078 |
+
825,
|
| 1079 |
+
172
|
| 1080 |
+
],
|
| 1081 |
+
"page_idx": 11
|
| 1082 |
+
},
|
| 1083 |
+
{
|
| 1084 |
+
"type": "text",
|
| 1085 |
+
"text": "Max Jaderberg, Volodymyr Mnih, Wojciech Marian Czarnecki, Tom Schaul, Joel Z Leibo, David Silver, and Koray Kavukcuoglu. Reinforcement learning with unsupervised auxiliary tasks, 2016. ",
|
| 1086 |
+
"bbox": [
|
| 1087 |
+
176,
|
| 1088 |
+
183,
|
| 1089 |
+
823,
|
| 1090 |
+
212
|
| 1091 |
+
],
|
| 1092 |
+
"page_idx": 11
|
| 1093 |
+
},
|
| 1094 |
+
{
|
| 1095 |
+
"type": "text",
|
| 1096 |
+
"text": "Michael Laskin, Kimin Lee, Adam Stooke, Lerrel Pinto, Pieter Abbeel, and Aravind Srinivas. Reinforcement learning with augmented data, 2020. ",
|
| 1097 |
+
"bbox": [
|
| 1098 |
+
174,
|
| 1099 |
+
219,
|
| 1100 |
+
823,
|
| 1101 |
+
250
|
| 1102 |
+
],
|
| 1103 |
+
"page_idx": 11
|
| 1104 |
+
},
|
| 1105 |
+
{
|
| 1106 |
+
"type": "text",
|
| 1107 |
+
"text": "A. X. Lee, A. Nagabandi, P. Abbeel, and S. Levine. Stochastic latent actor-critic: Deep reinforcement learning with a latent variable model. arXiv e-prints, 2019. ",
|
| 1108 |
+
"bbox": [
|
| 1109 |
+
173,
|
| 1110 |
+
257,
|
| 1111 |
+
821,
|
| 1112 |
+
286
|
| 1113 |
+
],
|
| 1114 |
+
"page_idx": 11
|
| 1115 |
+
},
|
| 1116 |
+
{
|
| 1117 |
+
"type": "text",
|
| 1118 |
+
"text": "Alex X Lee, Anusha Nagabandi, Pieter Abbeel, and Sergey Levine. Stochastic latent actor-critic: Deep reinforcement learning with a latent variable model. arXiv preprint arXiv:1907.00953, 2019. ",
|
| 1119 |
+
"bbox": [
|
| 1120 |
+
176,
|
| 1121 |
+
295,
|
| 1122 |
+
823,
|
| 1123 |
+
324
|
| 1124 |
+
],
|
| 1125 |
+
"page_idx": 11
|
| 1126 |
+
},
|
| 1127 |
+
{
|
| 1128 |
+
"type": "text",
|
| 1129 |
+
"text": "Timothy P. Lillicrap, Jonathan J. Hunt, Alexander Pritzel, Nicolas Heess, Tom Erez, Yuval Tassa, David Silver, and Daan Wierstra. Continuous control with deep reinforcement learning. CoRR, 2015a. ",
|
| 1130 |
+
"bbox": [
|
| 1131 |
+
174,
|
| 1132 |
+
332,
|
| 1133 |
+
826,
|
| 1134 |
+
376
|
| 1135 |
+
],
|
| 1136 |
+
"page_idx": 11
|
| 1137 |
+
},
|
| 1138 |
+
{
|
| 1139 |
+
"type": "text",
|
| 1140 |
+
"text": "Timothy P. Lillicrap, Jonathan J. Hunt, Alexander Pritzel, Nicolas Manfred Otto Heess, Tom Erez, Yuval Tassa, David Silver, and Daan Wierstra. Continuous control with deep reinforcement learning. CoRR, abs/1509.02971, 2015b. ",
|
| 1141 |
+
"bbox": [
|
| 1142 |
+
174,
|
| 1143 |
+
383,
|
| 1144 |
+
826,
|
| 1145 |
+
426
|
| 1146 |
+
],
|
| 1147 |
+
"page_idx": 11
|
| 1148 |
+
},
|
| 1149 |
+
{
|
| 1150 |
+
"type": "text",
|
| 1151 |
+
"text": "Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Alex Graves, Ioannis Antonoglou, Daan Wierstra, and Martin Riedmiller. Playing atari with deep reinforcement learning. arXiv e-prints, 2013. ",
|
| 1152 |
+
"bbox": [
|
| 1153 |
+
174,
|
| 1154 |
+
435,
|
| 1155 |
+
826,
|
| 1156 |
+
478
|
| 1157 |
+
],
|
| 1158 |
+
"page_idx": 11
|
| 1159 |
+
},
|
| 1160 |
+
{
|
| 1161 |
+
"type": "text",
|
| 1162 |
+
"text": "Volodymyr Mnih, Adria Puigdomenech Badia, Mehdi Mirza, Alex Graves, Timothy P. Lillicrap, Tim Harley, David Silver, and Koray Kavukcuoglu. Asynchronous methods for deep reinforcement learning. CoRR, 2016a. ",
|
| 1163 |
+
"bbox": [
|
| 1164 |
+
174,
|
| 1165 |
+
487,
|
| 1166 |
+
825,
|
| 1167 |
+
530
|
| 1168 |
+
],
|
| 1169 |
+
"page_idx": 11
|
| 1170 |
+
},
|
| 1171 |
+
{
|
| 1172 |
+
"type": "text",
|
| 1173 |
+
"text": "Volodymyr Mnih, Adrià Puigdomènech Badia, Mehdi Mirza, Alex Graves, Timothy P. Lillicrap, Tim Harley, David Silver, and Koray Kavukcuoglu. Asynchronous methods for deep reinforcement learning, 2016b. ",
|
| 1174 |
+
"bbox": [
|
| 1175 |
+
174,
|
| 1176 |
+
537,
|
| 1177 |
+
823,
|
| 1178 |
+
580
|
| 1179 |
+
],
|
| 1180 |
+
"page_idx": 11
|
| 1181 |
+
},
|
| 1182 |
+
{
|
| 1183 |
+
"type": "text",
|
| 1184 |
+
"text": "Rémi Munos, Tom Stepleton, Anna Harutyunyan, and Marc G. Bellemare. Safe and efficient off-policy reinforcement learning. CoRR, 2016. ",
|
| 1185 |
+
"bbox": [
|
| 1186 |
+
171,
|
| 1187 |
+
589,
|
| 1188 |
+
823,
|
| 1189 |
+
619
|
| 1190 |
+
],
|
| 1191 |
+
"page_idx": 11
|
| 1192 |
+
},
|
| 1193 |
+
{
|
| 1194 |
+
"type": "text",
|
| 1195 |
+
"text": "Mehdi Noroozi and Paolo Favaro. Unsupervised learning of visual representations by solving jigsaw puzzles. In European Conference on Computer Vision, pages 69–84. Springer, 2016. ",
|
| 1196 |
+
"bbox": [
|
| 1197 |
+
171,
|
| 1198 |
+
627,
|
| 1199 |
+
823,
|
| 1200 |
+
657
|
| 1201 |
+
],
|
| 1202 |
+
"page_idx": 11
|
| 1203 |
+
},
|
| 1204 |
+
{
|
| 1205 |
+
"type": "text",
|
| 1206 |
+
"text": "Lerrel Pinto, Dhiraj Gandhi, Yuanfeng Han, Yong-Lae Park, and Abhinav Gupta. The curious robot: Learning visual representations via physical interactions. CoRR, 2016. ",
|
| 1207 |
+
"bbox": [
|
| 1208 |
+
173,
|
| 1209 |
+
665,
|
| 1210 |
+
823,
|
| 1211 |
+
695
|
| 1212 |
+
],
|
| 1213 |
+
"page_idx": 11
|
| 1214 |
+
},
|
| 1215 |
+
{
|
| 1216 |
+
"type": "text",
|
| 1217 |
+
"text": "Roberta Raileanu, Max Goldstein, Denis Yarats, Ilya Kostrikov, and Rob Fergus. Automatic data augmentation for generalization in deep reinforcement learning. CoRR, 2020. ",
|
| 1218 |
+
"bbox": [
|
| 1219 |
+
171,
|
| 1220 |
+
703,
|
| 1221 |
+
823,
|
| 1222 |
+
733
|
| 1223 |
+
],
|
| 1224 |
+
"page_idx": 11
|
| 1225 |
+
},
|
| 1226 |
+
{
|
| 1227 |
+
"type": "text",
|
| 1228 |
+
"text": "Max Schwarzer, Ankesh Anand, Rishab Goel, R Devon Hjelm, Aaron Courville, and Philip Bachman. Data-efficient reinforcement learning with momentum predictive representations. arXiv preprint arXiv:2007.05929, 2020a. ",
|
| 1229 |
+
"bbox": [
|
| 1230 |
+
173,
|
| 1231 |
+
739,
|
| 1232 |
+
825,
|
| 1233 |
+
784
|
| 1234 |
+
],
|
| 1235 |
+
"page_idx": 11
|
| 1236 |
+
},
|
| 1237 |
+
{
|
| 1238 |
+
"type": "text",
|
| 1239 |
+
"text": "Max Schwarzer, Ankesh Anand, Rishab Goel, R. Devon Hjelm, Aaron C. Courville, and Philip Bachman. Data-efficient reinforcement learning with momentum predictive representations. CoRR, 2020b. ",
|
| 1240 |
+
"bbox": [
|
| 1241 |
+
173,
|
| 1242 |
+
791,
|
| 1243 |
+
825,
|
| 1244 |
+
834
|
| 1245 |
+
],
|
| 1246 |
+
"page_idx": 11
|
| 1247 |
+
},
|
| 1248 |
+
{
|
| 1249 |
+
"type": "text",
|
| 1250 |
+
"text": "David Silver, Guy Lever, Nicolas Heess, Thomas Degris, Daan Wierstra, and Martin Riedmiller. Deterministic policy gradient algorithms. In Proceedings of the 31st International Conference on Machine Learning, 2014. ",
|
| 1251 |
+
"bbox": [
|
| 1252 |
+
174,
|
| 1253 |
+
843,
|
| 1254 |
+
823,
|
| 1255 |
+
886
|
| 1256 |
+
],
|
| 1257 |
+
"page_idx": 11
|
| 1258 |
+
},
|
| 1259 |
+
{
|
| 1260 |
+
"type": "text",
|
| 1261 |
+
"text": "Aravind Srinivas, Michael Laskin, and Pieter Abbeel. Curl: Contrastive unsupervised representations for reinforcement learning. arXiv preprint arXiv:2004.04136, 2020. ",
|
| 1262 |
+
"bbox": [
|
| 1263 |
+
173,
|
| 1264 |
+
895,
|
| 1265 |
+
821,
|
| 1266 |
+
924
|
| 1267 |
+
],
|
| 1268 |
+
"page_idx": 11
|
| 1269 |
+
},
|
| 1270 |
+
{
|
| 1271 |
+
"type": "text",
|
| 1272 |
+
"text": "Adam Stooke, Kimin Lee, Pieter Abbeel, and Michael Laskin. Decoupling representation learning from reinforcement learning. arXiv preprint arXiv, 2020. ",
|
| 1273 |
+
"bbox": [
|
| 1274 |
+
171,
|
| 1275 |
+
103,
|
| 1276 |
+
825,
|
| 1277 |
+
132
|
| 1278 |
+
],
|
| 1279 |
+
"page_idx": 12
|
| 1280 |
+
},
|
| 1281 |
+
{
|
| 1282 |
+
"type": "text",
|
| 1283 |
+
"text": "Yuval Tassa, Tom Erez, and Emanuel Todorov. Synthesis and stabilization of complex behaviors through online trajectory optimization. In 2012 IEEE/RSJ International Conference on Intelligent Robots and Systems, 2012. ",
|
| 1284 |
+
"bbox": [
|
| 1285 |
+
176,
|
| 1286 |
+
140,
|
| 1287 |
+
821,
|
| 1288 |
+
184
|
| 1289 |
+
],
|
| 1290 |
+
"page_idx": 12
|
| 1291 |
+
},
|
| 1292 |
+
{
|
| 1293 |
+
"type": "text",
|
| 1294 |
+
"text": "Yuval Tassa, Yotam Doron, Alistair Muldal, Tom Erez, Yazhe Li, Diego de Las Casas, David Budden, Abbas Abdolmaleki, Josh Merel, Andrew Lefrancq, et al. Deepmind control suite. arXiv preprint arXiv:1801.00690, 2018. ",
|
| 1295 |
+
"bbox": [
|
| 1296 |
+
174,
|
| 1297 |
+
193,
|
| 1298 |
+
825,
|
| 1299 |
+
234
|
| 1300 |
+
],
|
| 1301 |
+
"page_idx": 12
|
| 1302 |
+
},
|
| 1303 |
+
{
|
| 1304 |
+
"type": "text",
|
| 1305 |
+
"text": "Emanuel Todorov, Tom Erez, and Yuval Tassa. Mujoco: A physics engine for model-based control. In 2012 IEEE/RSJ International Conference on Intelligent Robots and Systems, 2012. ",
|
| 1306 |
+
"bbox": [
|
| 1307 |
+
173,
|
| 1308 |
+
243,
|
| 1309 |
+
826,
|
| 1310 |
+
273
|
| 1311 |
+
],
|
| 1312 |
+
"page_idx": 12
|
| 1313 |
+
},
|
| 1314 |
+
{
|
| 1315 |
+
"type": "text",
|
| 1316 |
+
"text": "Pascal Vincent, Hugo Larochelle, Yoshua Bengio, and Pierre-Antoine Manzagol. Extracting and composing robust features with denoising autoencoders. In Proceedings of the 25th international conference on Machine learning, pages 1096–1103. ACM, 2008. ",
|
| 1317 |
+
"bbox": [
|
| 1318 |
+
174,
|
| 1319 |
+
281,
|
| 1320 |
+
826,
|
| 1321 |
+
325
|
| 1322 |
+
],
|
| 1323 |
+
"page_idx": 12
|
| 1324 |
+
},
|
| 1325 |
+
{
|
| 1326 |
+
"type": "text",
|
| 1327 |
+
"text": "Xiaolong Wang and Abhinav Gupta. Unsupervised learning of visual representations using videos. In ICCV, 2015. ",
|
| 1328 |
+
"bbox": [
|
| 1329 |
+
174,
|
| 1330 |
+
333,
|
| 1331 |
+
823,
|
| 1332 |
+
363
|
| 1333 |
+
],
|
| 1334 |
+
"page_idx": 12
|
| 1335 |
+
},
|
| 1336 |
+
{
|
| 1337 |
+
"type": "text",
|
| 1338 |
+
"text": "Christopher J. C. H. Watkins and Peter Dayan. Q-learning. Machine Learning, 1992. ",
|
| 1339 |
+
"bbox": [
|
| 1340 |
+
174,
|
| 1341 |
+
371,
|
| 1342 |
+
732,
|
| 1343 |
+
387
|
| 1344 |
+
],
|
| 1345 |
+
"page_idx": 12
|
| 1346 |
+
},
|
| 1347 |
+
{
|
| 1348 |
+
"type": "text",
|
| 1349 |
+
"text": "Christopher John Cornish Hellaby Watkins. Learning from Delayed Rewards. PhD thesis, King’s College, 1989. ",
|
| 1350 |
+
"bbox": [
|
| 1351 |
+
173,
|
| 1352 |
+
395,
|
| 1353 |
+
821,
|
| 1354 |
+
424
|
| 1355 |
+
],
|
| 1356 |
+
"page_idx": 12
|
| 1357 |
+
},
|
| 1358 |
+
{
|
| 1359 |
+
"type": "text",
|
| 1360 |
+
"text": "Wilson Yan, Ashwin Vangipuram, Pieter Abbeel, and Lerrel Pinto. Learning predictive representations for deformable objects using contrastive estimation. arXiv preprint arXiv:2003.05436, 2020. ",
|
| 1361 |
+
"bbox": [
|
| 1362 |
+
173,
|
| 1363 |
+
433,
|
| 1364 |
+
821,
|
| 1365 |
+
462
|
| 1366 |
+
],
|
| 1367 |
+
"page_idx": 12
|
| 1368 |
+
},
|
| 1369 |
+
{
|
| 1370 |
+
"type": "text",
|
| 1371 |
+
"text": "Denis Yarats, Amy Zhang, Ilya Kostrikov, Brandon Amos, Joelle Pineau, and Rob Fergus. Improving sample efficiency in model-free reinforcement learning from images. arXiv preprint arXiv:1910.01741, 2019. ",
|
| 1372 |
+
"bbox": [
|
| 1373 |
+
174,
|
| 1374 |
+
469,
|
| 1375 |
+
826,
|
| 1376 |
+
513
|
| 1377 |
+
],
|
| 1378 |
+
"page_idx": 12
|
| 1379 |
+
},
|
| 1380 |
+
{
|
| 1381 |
+
"type": "text",
|
| 1382 |
+
"text": "Denis Yarats, Rob Fergus, Alessandro Lazaric, and Lerrel Pinto. Reinforcement learning with prototypical representations. CoRR, 2021a. ",
|
| 1383 |
+
"bbox": [
|
| 1384 |
+
173,
|
| 1385 |
+
522,
|
| 1386 |
+
825,
|
| 1387 |
+
551
|
| 1388 |
+
],
|
| 1389 |
+
"page_idx": 12
|
| 1390 |
+
},
|
| 1391 |
+
{
|
| 1392 |
+
"type": "text",
|
| 1393 |
+
"text": "Denis Yarats, Ilya Kostrikov, and Rob Fergus. Image augmentation is all you need: Regularizing deep reinforcement learning from pixels. In 9th International Conference on Learning Representations, ICLR 2021, 2021b. ",
|
| 1394 |
+
"bbox": [
|
| 1395 |
+
173,
|
| 1396 |
+
560,
|
| 1397 |
+
826,
|
| 1398 |
+
603
|
| 1399 |
+
],
|
| 1400 |
+
"page_idx": 12
|
| 1401 |
+
},
|
| 1402 |
+
{
|
| 1403 |
+
"type": "text",
|
| 1404 |
+
"text": "Sarah Young, Dhiraj Gandhi, Shubham Tulsiani, Abhinav Gupta, Pieter Abbeel, and Lerrel Pinto. Visual imitation made easy. CoRR, 2020. ",
|
| 1405 |
+
"bbox": [
|
| 1406 |
+
174,
|
| 1407 |
+
611,
|
| 1408 |
+
825,
|
| 1409 |
+
641
|
| 1410 |
+
],
|
| 1411 |
+
"page_idx": 12
|
| 1412 |
+
},
|
| 1413 |
+
{
|
| 1414 |
+
"type": "text",
|
| 1415 |
+
"text": "Albert Zhan, Philip Zhao, Lerrel Pinto, Pieter Abbeel, and Michael Laskin. A framework for efficient robotic manipulation. CoRR, 2020. ",
|
| 1416 |
+
"bbox": [
|
| 1417 |
+
173,
|
| 1418 |
+
648,
|
| 1419 |
+
825,
|
| 1420 |
+
679
|
| 1421 |
+
],
|
| 1422 |
+
"page_idx": 12
|
| 1423 |
+
},
|
| 1424 |
+
{
|
| 1425 |
+
"type": "text",
|
| 1426 |
+
"text": "Richard Zhang, Phillip Isola, and Alexei A Efros. Split-brain autoencoders: Unsupervised learning by cross-channel prediction. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 1058–1067, 2017. ",
|
| 1427 |
+
"bbox": [
|
| 1428 |
+
174,
|
| 1429 |
+
686,
|
| 1430 |
+
825,
|
| 1431 |
+
731
|
| 1432 |
+
],
|
| 1433 |
+
"page_idx": 12
|
| 1434 |
+
}
|
| 1435 |
+
]
|
parse/dev/_VjQlMeSB_J/_VjQlMeSB_J.md
ADDED
|
@@ -0,0 +1,295 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
| 1 |
+
# Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
|
| 2 |
+
|
| 3 |
+
Jason Wei Xuezhi Wang Dale Schuurmans Maarten Bosma
|
| 4 |
+
|
| 5 |
+
Brian Ichter Fei Xia Ed H. Chi Quoc V. Le Denny Zhou
|
| 6 |
+
|
| 7 |
+
Google Research, Brain Team {jasonwei,dennyzhou}@google.com
|
| 8 |
+
|
| 9 |
+
# Abstract
|
| 10 |
+
|
| 11 |
+
We explore how generating a chain of thought—a series of intermediate reasoning steps—significantly improves the ability of large language models to perform complex reasoning. In particular, we show how such reasoning abilities emerge naturally in sufficiently large language models via a simple method called chain-ofthought prompting, where a few chain of thought demonstrations are provided as exemplars in prompting.
|
| 12 |
+
|
| 13 |
+
Experiments on three large language models show that chain-of-thought prompting improves performance on a range of arithmetic, commonsense, and symbolic reasoning tasks. The empirical gains can be striking. For instance, prompting a PaLM 540B with just eight chain-of-thought exemplars achieves state-of-the-art accuracy on the GSM8K benchmark of math word problems, surpassing even finetuned GPT-3 with a verifier.
|
| 14 |
+
|
| 15 |
+

|
| 16 |
+
Figure 1: Chain-of-thought prompting enables large language models to tackle complex arithmetic, commonsense, and symbolic reasoning tasks. Chain-of-thought reasoning processes are highlighted.
|
| 17 |
+
|
| 18 |
+
# 1 Introduction
|
| 19 |
+
|
| 20 |
+
The NLP landscape has recently been revolutionized by language models (Peters et al., 2018; Devlin et al., 2019; Brown et al., 2020, inter alia). Scaling up the size of language models has been shown to confer a range of benefits, such as improved performance and sample efficiency (Kaplan et al., 2020; Brown et al., 2020, inter alia). However, scaling up model size alone has not proved sufficient for achieving high performance on challenging tasks such as arithmetic, commonsense, and symbolic reasoning (Rae et al., 2021).
|
| 21 |
+
|
| 22 |
+
This work explores how the reasoning ability of large language models can be unlocked by a simple method motivated by two ideas. First, techniques for arithmetic reasoning can benefit from generating natural language rationales that lead to the final answer. Prior work has given models the ability to generate natural language intermediate steps by training from scratch (Ling et al., 2017) or finetuning a pretrained model (Cobbe et al., 2021), in addition to neuro-symbolic methods that use formal languages instead of natural language (Roy and Roth, 2015; Chiang and Chen, 2019; Amini et al., 2019; Chen et al., 2019). Second, large language models offer the exciting
|
| 23 |
+
|
| 24 |
+
Finetuned GPT-3 175B
|
| 25 |
+
Prior best PaLM 540B: standard prompting PaLM 540B: chain-of-thought prompting
|
| 26 |
+
|
| 27 |
+

|
| 28 |
+
Figure 2: PaLM 540B uses chain-ofthought prompting to achieve new stateof-the-art performance on the GSM8K benchmark of math word problems. Finetuned GPT-3 and prior best are from Cobbe et al. (2021).
|
| 29 |
+
|
| 30 |
+
prospect of in-context few-shot learning via prompting. That is, instead of finetuning a separate language model checkpoint for each new task, one can simply “prompt” the model with a few input–output exemplars demonstrating the task. Remarkably, this has been successful for a range of simple question-answering tasks (Brown et al., 2020).
|
| 31 |
+
|
| 32 |
+
Both of the above ideas, however, have key limitations. For rationale-augmented training and finetuning methods, it is costly to create a large set of high quality rationales, which is much more complicated than simple input–output pairs used in normal machine learning. For the traditional fewshot prompting method used in Brown et al. (2020), it works poorly on tasks that require reasoning abilities, and often does not improve substantially with increasing language model scale (Rae et al., 2021). In this paper, we combine the strengths of these two ideas in a way that avoids their limitations. Specifically, we explore the ability of language models to perform few-shot prompting for reasoning tasks, given a prompt that consists of triples: hinput, chain of thought, outputi. A chain of thought is a series of intermediate natural language reasoning steps that lead to the final output, and we refer to this approach as chain-of-thought prompting. An example prompt is shown in Figure 1.
|
| 33 |
+
|
| 34 |
+
We present empirical evaluations on arithmetic, commonsense, and symbolic reasoning benchmarks, showing that chain-of-thought prompting outperforms standard prompting, sometimes to a striking degree. Figure 2 illustrates one such result—on the GSM8K benchmark of math word problems (Cobbe et al., 2021), chain-of-thought prompting with PaLM 540B outperforms standard prompting by a large margin and achieves new state-of-the-art performance. A prompting only approach is important because it does not require a large training dataset and because a single model checkpoint can perform many tasks without loss of generality. This work underscores how large language models can learn via a few examples with natural language data about the task (c.f. automatically learning the patterns underlying inputs and outputs via a large training dataset).
|
| 35 |
+
|
| 36 |
+
# 2 Chain-of-Thought Prompting
|
| 37 |
+
|
| 38 |
+
Consider one’s own thought process when solving a complicated reasoning task such as a multi-step math word problem. It is typical to decompose the problem into intermediate steps and solve each before giving the final answer: “After Jane gives 2 flowers to her mom she has 10 . . . then after she gives 3 to her dad she will have 7 . . . so the answer is 7.” The goal of this paper is to endow language models with the ability to generate a similar chain of thought—a coherent series of intermediate reasoning steps that lead to the final answer for a problem. We will show that sufficiently large language models can generate chains of thought if demonstrations of chain-of-thought reasoning are provided in the exemplars for few-shot prompting.
|
| 39 |
+
|
| 40 |
+
Figure 1 shows an example of a model producing a chain of thought to solve a math word problem that it would have otherwise gotten incorrect. The chain of thought in this case resembles a solution and can interpreted as one, but we still opt to call it a chain of thought to better capture the idea that it mimics a step-by-step thought process for arriving at the answer (and also, solutions/explanations typically come after the final answer (Narang et al., 2020; Wiegreffe et al., 2022; Lampinen et al., 2022, inter alia)).
|
| 41 |
+
|
| 42 |
+
Chain-of-thought prompting has several attractive properties as an approach for facilitating reasoning in language models.
|
| 43 |
+
|
| 44 |
+
1. First, chain of thought, in principle, allows models to decompose multi-step problems into intermediate steps, which means that additional computation can be allocated to problems that require more reasoning steps.
|
| 45 |
+
2. Second, a chain of thought provides an interpretable window into the behavior of the model, suggesting how it might have arrived at a particular answer and providing opportunities to debug where the reasoning path went wrong (although fully characterizing a model’s computations that support an answer remains an open question).
|
| 46 |
+
3. Third, chain-of-thought reasoning can be used for tasks such as math word problems, commonsense reasoning, and symbolic manipulation, and is potentially applicable (at least in principle) to any task that humans can solve via language.
|
| 47 |
+
4. Finally, chain-of-thought reasoning can be readily elicited in sufficiently large off-the-shelf language models simply by including examples of chain of thought sequences into the exemplars of few-shot prompting.
|
| 48 |
+
|
| 49 |
+
In empirical experiments, we will observe the utility of chain-of-thought prompting for arithmetic reasoning (Section 3), commonsense reasoning (Section 4), and symbolic reasoning (Section 5).
|
| 50 |
+
|
| 51 |
+
# 3 Arithmetic Reasoning
|
| 52 |
+
|
| 53 |
+
We begin by considering math word problems of the form in Figure 1, which measure the arithmetic reasoning ability of language models. Though simple for humans, arithmetic reasoning is a task where language models often struggle (Hendrycks et al., 2021; Patel et al., 2021, inter alia). Strikingly, chainof-thought prompting when used with the 540B parameter language model performs comparably with task-specific finetuned models on several tasks, even achieving new state of the art on the challenging GSM8K benchmark (Cobbe et al., 2021).
|
| 54 |
+
|
| 55 |
+
# 3.1 Experimental Setup
|
| 56 |
+
|
| 57 |
+
We explore chain-of-thought prompting for various language models on multiple benchmarks.
|
| 58 |
+
|
| 59 |
+
Benchmarks. We consider the following five math word problem benchmarks: (1) the GSM8K benchmark of math word problems (Cobbe et al., 2021), (2) the SVAMP dataset of math word problems with varying structures (Patel et al., 2021), (3) the ASDiv dataset of diverse math word problems (Miao et al., 2020), (4) the AQuA dataset of algebraic word problems, and (5) the MAWPS benchmark (Koncel-Kedziorski et al., 2016). Example problems are given in Appendix Table 12.
|
| 60 |
+
|
| 61 |
+
Standard prompting. For the baseline, we consider standard few-shot prompting, popularized by Brown et al. (2020), in which a language model is given in-context exemplars of input–output pairs before outputting a prediction for a test-time example. Exemplars are formatted as questions and answers. The model gives the answer directly, as shown in Figure 1 (left).
|
| 62 |
+
|
| 63 |
+
Chain-of-thought prompting. Our proposed approach is to augment each exemplar in few-shot prompting with a chain of thought for an associated answer, as illustrated in Figure 1 (right). As most of the datasets only have an evaluation split, we manually composed a set of eight few-shot exemplars with chains of thought for prompting—Figure 1 (right) shows one chain of thought exemplar, and the full set of exemplars is given in Appendix Table 20. (These particular exemplars did not undergo prompt engineering; robustness is studied in Section 3.4 and Appendix A.2.) To investigate whether chain-of-thought prompting in this form can successfully elicit successful reasoning across a range of math word problems, we used this single set of eight chain of thought exemplars for all benchmarks except AQuA, which is multiple choice instead of free response. For AQuA, we used four exemplars and solutions from the training set, as given in Appendix Table 21.
|
| 64 |
+
|
| 65 |
+

|
| 66 |
+
Figure 3: Examples of hinput, chain of thought, outputi triples for arithmetic, commonsense, and symbolic reasoning benchmarks. Chains of thought are highlighted. Full prompts in Appendix G.
|
| 67 |
+
|
| 68 |
+
Language models. We evaluate five large language models. The first is GPT-3 (Brown et al., 2020), for which we use text-ada-001, text-babbage-001, text-curie-001, and text-davinci-002, which presumably correspond to InstructGPT models of 350M, 1.3B, 6.7B, and 175B parameters (Ouyang et al., 2022).The second is LaMDA (Thoppilan et al., 2022), which has models of 422M, 2B, 8B, 68B, and 137B parameters. The third is PaLM, which has models of 8B, 62B, and 540B parameters. The fourth is UL2 20B (Tay et al., 2022), and the fifth is Codex (Chen et al., 2021, code-davinci-002 in the OpenAI API). We sample from the models via greedy decoding (though follow-up work shows chain-of-thought prompting can be improved by taking the majority final answer over many sampled generations (Wang et al., 2022a)). For LaMDA, we report averaged results over five random seeds, where each seed had a different randomly shuffled order of exemplars. As LaMDA experiments did not show large variance among different seeds, to save compute we report results for a single exemplar order for all other models.
|
| 69 |
+
|
| 70 |
+
# 3.2 Results
|
| 71 |
+
|
| 72 |
+
The strongest results of chain-of-thought prompting are summarized in Figure 4, with all experimental outputs for each model collection, model size, and benchmark shown in Table 2 in the Appendix. There are three key takeaways. First, Figure 4 shows that chain-of-thought prompting is an emergent ability of model scale (Wei et al., 2022b). That is, chain-of-thought prompting does not positively impact performance for small models, and only yields performance gains when used with models of ${ \sim } 1 0 0 \mathrm { B }$ parameters. We qualitatively found that models of smaller scale produced fluent but illogical chains of thought, leading to lower performance than standard prompting.
|
| 73 |
+
|
| 74 |
+
Second, chain-of-thought prompting has larger performance gains for more-complicated problems. For instance, for GSM8K (the dataset with the lowest baseline performance), performance more than doubled for the largest GPT and PaLM models. On the other hand, for SingleOp, the easiest subset of MAWPS which only requires a single step to solve, performance improvements were either negative or very small (see Appendix Table 3).
|
| 75 |
+
|
| 76 |
+
Third, chain-of-thought prompting via GPT-3 175B and PaLM 540B compares favorably to prior state of the art, which typically finetunes a task-specific model on a labeled training dataset. Figure 4 shows how PaLM 540B uses chain-ofthought prompting to achieve new state of the art on GSM8K, SVAMP, and MAWPS (though note that standard prompting already passed the prior best for SVAMP). On the other two datasets, AQuA and ASDiv, PaLM with chain-of-thought prompting reaches within $2 \%$ of the state of the art (Appendix Table 2).
|
| 77 |
+
|
| 78 |
+
To better understand why chain-of-thought prompting works, we manually examined modelgenerated chains of thought by LaMDA 137B for GSM8K. Of 50 random examples where the model returned the correct final answer, all of the generated chains of thought were also logically and mathematically correct except two that coincidentally arrived at the correct answer (see Appendix D.1, and Table 8 for examples of correct model-generated chains of thought). We also randomly examined 50 random samples for which the model gave the wrong answer. The summary of this analysis is that $46 \%$ of the chains of thought were almost correct, barring minor mistakes (calculator error, symbol map
|
| 79 |
+
|
| 80 |
+

|
| 81 |
+
Figure 4: Chain-of-thought prompting enables large language models to solve challenging math problems. Notably, chain-of-thought reasoning is an emergent ability of increasing model scale. Prior best numbers are from Cobbe et al. (2021) for GSM8K, Jie et al. (2022) for SVAMP, and Lan et al. (2021) for MAWPS.
|
| 82 |
+
|
| 83 |
+
ping error, or one reasoning step missing), and that the other $54 \%$ of the chains of thought had major errors in semantic understanding or coherence (see Appendix D.2). To provide a small insight into why scaling improves chain-of-thought reasoning ability, we performed a similar analysis of errors made by PaLM 62B and whether those errors were fixed by scaling to PaLM 540B. The summary is that scaling PaLM to 540B fixes a large portion of one-step missing and semantic understanding errors in the 62B model (see Appendix A.1).
|
| 84 |
+
|
| 85 |
+
# 3.3 Ablation Study
|
| 86 |
+
|
| 87 |
+
The observed benefits of using chain-of-thought prompting raises the natural question of whether the same performance improvements can be conferred via other types of prompting. Figure 5 shows an ablation study with three variations of chain of thought described below.
|
| 88 |
+
|
| 89 |
+
Equation only. One reason for why chain-of-thought prompting might help is that it produces the mathematical equation to be evaluated, and so we test a variation where the model is prompted to output only a mathematical equation before giving the answer. Figure 5 shows that equation only prompting does not help much for GSM8K, which implies that the semantics of the questions in GSM8K are too challenging to directly translate into an equation without the natural language reasoning steps in chain of thought. For datasets of one-step or two-step problems, however, we find that equation only prompting does improve performance, since the equation can be easily derived from the question (see Appendix Table 6).
|
| 90 |
+
|
| 91 |
+
Variable compute only. Another intuition is that chain of thought allows the model to spend more computation (i.e., intermediate tokens) on harder problems. To isolate the effect of variable computation from chain-of-thought reasoning, we test a configuration where the model is prompted to output a only sequence of dots $( \ldots )$ equal to the number of characters in the equation needed to solve the problem. This variant performs about the same as the baseline, which suggests that variable computation by itself is not the reason for the success of chainof-thought prompting, and that there appears to be utility from expressing intermediate steps via natural language.
|
| 92 |
+
|
| 93 |
+
Chain of thought after answer. Another potential benefit of chain-of-thought prompting could simply be that such prompts allow the model to better access relevant knowledge acquired during pretraining. Therefore, we test an alternative configuration where the chain of thought prompt is only given after the answer, isolating whether the model actually depends on the produced chain of thought to give the final answer. This variant performs about the same as the baseline, which suggests that the sequential reasoning embodied in the chain of thought is useful for reasons beyond just activating knowledge.
|
| 94 |
+
|
| 95 |
+
Standard prompting Z Equation only Variable compute only 用 Reasoning after answer Chain-of-thought prompting
|
| 96 |
+
|
| 97 |
+

|
| 98 |
+
Figure 5: Ablation study for different variations of prompting using LaMDA 137B and PaLM 540B. Results for other datasets are given in Appendix Table 6 and Table 7.
|
| 99 |
+
|
| 100 |
+
# 3.4 Robustness of Chain of Thought
|
| 101 |
+
|
| 102 |
+
Sensitivity to exemplars is a key consideration of prompting approaches—for instance, varying the permutation of few-shot exemplars can cause the accuracy of GPT-3 on SST-2 to range from near chance $( 5 4 . 3 \% )$ to near state of the art $( 9 3 . 4 \% )$ (Zhao et al., 2021). In this final subsection, we evaluate robustness to chains of thought written by different annotators. In addition to the results above, which used chains of thought written by an Annotator A, two other co-authors of this paper (Annotators B and C) independently wrote chains of thought for the same few-shot exemplars (shown in Appendix H). Annotator A also wrote another chain of thought that was more concise than the original, following the style of solutions given in Cobbe et al. (2021).1
|
| 103 |
+
|
| 104 |
+
Figure 6 shows these results for LaMDA 137B on GSM8K and MAWPS (ablation results for other datasets are given in Appendix Table 6 / Table 7). Although there is variance among different chain of thought annotations, as would be expected when using exemplar-based prompting (Le Scao and Rush, 2021; Reynolds and McDonell, 2021; Zhao et al., 2021), all sets of chain of thought prompts outperform the standard baseline by a large margin. This result implies that successful use of chain of thought does not depend on a particular linguistic style.
|
| 105 |
+
|
| 106 |
+

|
| 107 |
+
Figure 6: Chain-of-thought prompting has variance for different prompt examples (as expected) but outperforms standard prompting for various annotators as well as for different exemplars.
|
| 108 |
+
|
| 109 |
+
To confirm that successful chain-of-thought prompting works for other sets of exemplars, we also run experiments with three sets of eight exemplars randomly sampled from the GSM8K training set, an independent source (examples in this dataset already included reasoning steps like a chain of thought).2 Figure 6 shows that these prompts performed comparably with our manually written exemplars, also substantially outperforming standard prompting.
|
| 110 |
+
|
| 111 |
+
In addition to robustness to annotators, independently-written chains of thought, different exemplars, and various language models, we also find that chain-of-thought prompting for arithmetic reasoning is robust to different exemplar orders and varying numbers of exemplars (see Appendix A.2).
|
| 112 |
+
|
| 113 |
+
# 4 Commonsense Reasoning
|
| 114 |
+
|
| 115 |
+
Although chain of thought is particularly suitable for math word problems, the language-based nature of chain of thought actually makes it applicable to a broad class of commonsense reasoning problems, which involve reasoning about physical and human interactions under the presumption of general background knowledge. Commonsense reasoning is key for interacting with the world and is still beyond the reach of current natural language understanding systems (Talmor et al., 2021).
|
| 116 |
+
|
| 117 |
+
Benchmarks. We consider five datasets covering a diverse range of commonsense reasoning types. The popular CSQA (Talmor et al., 2019) asks commonsense questions about the world involving complex semantics that often require prior knowledge. StrategyQA (Geva et al., 2021) requires models to infer a multi-hop strategy to answer questions. We choose two specialized evaluation sets from the BIG-bench effort (BIG-bench collaboration, 2021): Date Understanding, which involves inferring a date from a given context, and Sports Understanding, which involves determining whether a sentence relating to sports is plausible or implausible. Finally, the SayCan dataset (Ahn et al., 2022) involves mapping a natural language instruction to a sequence of robot actions from a discrete set. Figure 3 shows examples with chain of thought annotations for all datasets.
|
| 118 |
+
|
| 119 |
+
Prompts. We follow the same experimental setup as the prior section. For CSQA and StrategyQA, we randomly selected examples from the training set and manually composed chains of thought for them to use as few-shot exemplars. The two BIG-bench tasks do not have training sets, so we selected the first ten examples as exemplars in the evaluation set as few-shot exemplars and report numbers on the rest of the evaluation set. For SayCan, we use six examples from the training set used in Ahn et al. (2022) and also manually composed chains of thought.
|
| 120 |
+
|
| 121 |
+
Results. Figure 7 highlights these results for PaLM (full results for LaMDA, GPT-3, and different model scales are shown in Table 4). For all tasks, scaling up model size improved the performance of standard prompting; chain-of-thought prompting led to further gains, with improvements appearing to be largest for PaLM 540B. With chain-of-thought prompting, PaLM 540B achieved strong performance relative to baselines, outperforming the prior state of the art on StrategyQA $7 5 . 6 \%$ vs $6 9 . 4 \%$ and outperforming an unaided sports enthusiast on sports understanding $9 5 . 4 \%$ vs $84 \%$ ). These results demonstrate that chain-of-thought prompting can also improve performance on tasks requiring a range of commonsense reasoning abilities (though note that gain was minimal on CSQA).
|
| 122 |
+
|
| 123 |
+

|
| 124 |
+
Figure 7: Chain-of-thought prompting also improves the commonsense reasoning abilities of language models. The language model shown here is PaLM. Prior best numbers are from the leaderboards of CSQA (Talmor et al., 2019) and StrategyQA (Geva et al., 2021) (single-model only, as of May 5, 2022). Additional results using various sizes of LaMDA, GPT-3, and PaLM are shown in Table 4.
|
| 125 |
+
|
| 126 |
+
# 5 Symbolic Reasoning
|
| 127 |
+
|
| 128 |
+
Our final experimental evaluation considers symbolic reasoning, which is simple for humans but potentially challenging for language models. We show that chain-ofthought prompting not only enables language models to perform symbolic reasoning tasks that are challenging in the standard prompting setting, but also facilitates length generalization to inference-time inputs longer than those seen in the few-shot exemplars.
|
| 129 |
+
|
| 130 |
+
Tasks. We use the following two toy tasks.
|
| 131 |
+
|
| 132 |
+
• Last letter concatenation. This task asks the model to concatenate the last letters of words in a name (e.g., “Amy Brown” $ ^ { \ast } y n ^ { \prime \prime }$ ). It is a more challenging version of first letter concatenation, which language models can already perform without chain of thought.3 We generate full names by randomly concatenating names from the top one-thousand first and last names from name census data (https://namecensus.com/).
|
| 133 |
+
|
| 134 |
+

|
| 135 |
+
Figure 8: Using chain-of-thought prompting facilitates generalization to longer sequences in two symbolic reasoning tasks.
|
| 136 |
+
|
| 137 |
+
• Coin flip. This task asks the model to answer whether a coin is still heads up after people either flip or don’t flip the coin (e.g., “A coin is heads up. Phoebe flips the coin. Osvaldo does not flip the coin. Is the coin still heads up? $^ { \prime \prime } \right. ^ { \left. } n o ^ { \prime \prime }$ ).
|
| 138 |
+
|
| 139 |
+
As the construction of these symbolic reasoning tasks is well-defined, for each task we consider an in-domain test set for which examples had the same number of steps as the training/few-shot exemplars, as well as an out-of-domain (OOD) test set, for which evaluation examples had more steps than those in the exemplars. For last letter concatenation, the model only sees exemplars of names with two words, and then performs last letter concatenation on names with 3 and 4 words.4 We do the same for the number of potential flips in the coin flip task. Our experimental setup uses the same methods and models as in the prior two sections. We again manually compose chains of thought for the few-shot exemplars for each task, which are given in Figure 3.
|
| 140 |
+
|
| 141 |
+
Results. The results of these in-domain and OOD evaluations are shown in Figure 8 for PaLM, with results for LaMDA shown in Appendix Table 5. With PaLM 540B, chain-of-thought prompting leads to almost $100 \%$ solve rates (note that standard prompting already solves coin flip with PaLM 540, though not for LaMDA 137B). Note that these in-domain evaluations are “toy tasks” in the sense that perfect solution structures are already provided by the chains of thought in the few-shot exemplars; all the model has to do is repeat the same steps with the new symbols in the test-time example. And yet, small models still fail—the ability to perform abstract manipulations on unseen symbols for these three tasks only arises at the scale of 100B model parameters.
|
| 142 |
+
|
| 143 |
+
As for the OOD evaluations, standard prompting fails for both tasks. With chain-of-thought prompting, language models achieve upward scaling curves (though performance is lower than in the in-domain setting). Hence, chain-of-thought prompting facilitates length generalization beyond seen chains of thought for language models of sufficient scale.
|
| 144 |
+
|
| 145 |
+
# 6 Discussion
|
| 146 |
+
|
| 147 |
+
We have explored chain-of-thought prompting as a simple mechanism for eliciting multi-step reasoning behavior in large language models. We first saw that chain-of-thought prompting improves performance by a large margin on arithmetic reasoning, yielding improvements that are much stronger than ablations and robust to different annotators, exemplars, and language models (Section 3). Next, experiments on commonsense reasoning underscored how the linguistic nature of chain-of-thought reasoning makes it generally applicable (Section 4). Finally, we showed that for symbolic reasoning, chain-of-thought prompting facilitates OOD generalization to longer sequence lengths (Section 5). In all experiments, chain-of-thought reasoning is elicited simply by prompting an off-the-shelf language model. No language models were finetuned in the process of writing this paper.
|
| 148 |
+
|
| 149 |
+
The emergence of chain-of-thought reasoning as a result of model scale has been a prevailing theme (Wei et al., 2022b). For many reasoning tasks where standard prompting has a flat scaling curve, chainof-thought prompting leads to dramatically increasing scaling curves. Chain-of-thought prompting appears to expand the set of tasks that large language models can perform successfully—in other words, our work underscores that standard prompting only provides a lower bound on the capabilities of large language models. This observation likely raises more questions than it answers—for instance, how much more can we expect reasoning ability to improve with a further increase in model scale? What other prompting methods might expand the range of tasks that language models can solve?
|
| 150 |
+
|
| 151 |
+
As for limitations, we first qualify that although chain of thought emulates the thought processes of human reasoners, this does not answer whether the neural network is actually “reasoning,” which we leave as an open question. Second, although the cost of manually augmenting exemplars with chains of thought is minimal in the few-shot setting, such annotation costs could be prohibitive for finetuning (though this could potentially be surmounted with synthetic data generation, or zero-shot generalization). Third, there is no guarantee of correct reasoning paths, which can lead to both correct and incorrect answers; improving factual generations of language models is an open direction for future work (Rashkin et al., 2021; Ye and Durrett, 2022; Wiegreffe et al., 2022, inter alia). Finally, the emergence of chain-of-thought reasoning only at large model scales makes it costly to serve in real-world applications; further research could explore how to induce reasoning in smaller models.
|
| 152 |
+
|
| 153 |
+
# 7 Related Work
|
| 154 |
+
|
| 155 |
+
This work is inspired by many research areas, which we detail in an extended related work section (Appendix C). Here we describe two directions and associated papers that are perhaps most relevant.
|
| 156 |
+
|
| 157 |
+
The first relevant direction is using intermediate steps to solve reasoning problems. Ling et al. (2017) pioneer the idea of using natural language rationales to solve math word problems through a series of intermediate steps. Their work is a remarkable contrast to the literature using formal languages to reason (Roy et al., 2015; Chiang and Chen, 2019; Amini et al., 2019; Chen et al., 2019). Cobbe et al. (2021) extend Ling et al. (2017) by creating a larger dataset and using it to finetune a pretrained language model rather than training a model from scratch. In the domain of program synthesis, Nye et al. (2021) leverage language models to predict the final outputs of Python programs via first line-to-line predicting the intermediate computational results, and show that their step-by-step prediction method performs better than directly predicting the final outputs.
|
| 158 |
+
|
| 159 |
+
Naturally, this paper also relates closely to the large body of recent work on prompting. Since the popularization of few-shot prompting as given by Brown et al. (2020), several general approaches have improved the prompting ability of models, such as automatically learning prompts (Lester et al., 2021) or giving models instructions describing a task (Wei et al., 2022a; Sanh et al., 2022; Ouyang et al., 2022). Whereas these approaches improve or augment the input part of the prompt (e.g., instructions that are prepended to inputs), our work takes the orthogonal direction of augmenting the outputs of language models with a chain of thought.
|
| 160 |
+
|
| 161 |
+
# 8 Conclusions
|
| 162 |
+
|
| 163 |
+
We have explored chain-of-thought prompting as a simple and broadly applicable method for enhancing reasoning in language models. Through experiments on arithmetic, symbolic, and commonsense reasoning, we find that chain-of-thought reasoning is an emergent property of model scale that allows sufficiently large language models to perform reasoning tasks that otherwise have flat scaling curves. Broadening the range of reasoning tasks that language models can perform will hopefully inspire further work on language-based approaches to reasoning.
|
| 164 |
+
|
| 165 |
+
# Acknowledgements
|
| 166 |
+
|
| 167 |
+
We thank Jacob Devlin, Claire Cui, Andrew Dai, and Ellie Pavlick for providing feedback on the paper. We thank Jacob Austin, Yuhuai Wu, Henryk Michalewski, Aitor Lewkowycz, Charles Sutton, and Aakanksha Chowdhery for helpful discussions. We thank Sid Maxwell for notifying us about a mistake in the manual error analysis in the original manuscript.
|
| 168 |
+
|
| 169 |
+
References
|
| 170 |
+
Michael Ahn, Anthony Brohan, Noah Brown, Yevgen Chebotar, Omar Cortes, Byron David, Chelsea Finn, Keerthana Gopalakrishnan, Karol Hausman, Alex Herzog, et al. 2022. Do as I can, not as I say: Grounding language in robotic affordances. arXiv preprint arXiv:2204.01691.
|
| 171 |
+
Aida Amini, Saadia Gabriel, Shanchuan Lin, Rik Koncel-Kedziorski, Yejin Choi, and Hannaneh Hajishirzi. 2019. MathQA: Towards interpretable math word problem solving with operationbased formalisms. 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), Minneapolis, Minnesota. Association for Computational Linguistics.
|
| 172 |
+
Daniel Andor, Luheng He, Kenton Lee, and Emily Pitler. 2019. Giving BERT a calculator: Finding operations and arguments with reading comprehension. EMNLP.
|
| 173 |
+
Jacob Andreas, Dan Klein, and Sergey Levine. 2018. Learning with latent language. NAACL.
|
| 174 |
+
Jacob Austin, Augustus Odena, Maxwell Nye, Maarten Bosma, Henryk Michalewski, David Dohan, Ellen Jiang, Carrie Cai, Michael Terry, Quoc Le, et al. 2021. Program synthesis with large language models. arXiv preprint arXiv:2108.07732.
|
| 175 |
+
BIG-bench collaboration. 2021. Beyond the imitation game: Measuring and extrapolating the capabilities of language models. In preparation.
|
| 176 |
+
Kaj Bostrom, Xinyu Zhao, Swarat Chaudhuri, and Greg Durrett. 2021. Flexible generation of natural language deductions. EMNLP.
|
| 177 |
+
Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel Ziegler, Jeffrey Wu, Clemens Winter, Chris Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. 2020. Language models are few-shot learners. NeurIPS.
|
| 178 |
+
Jonathon Cai, Richard Shin, and Dawn Song. 2017. Making neural programming architectures generalize via recursion. ICLR.
|
| 179 |
+
Oana-Maria Camburu, Tim Rocktäschel, Thomas Lukasiewicz, and Phil Blunsom. 2018. e-SNLI: Natural language inference with natural language explanations. NeurIPS.
|
| 180 |
+
Howard Chen, Jacqueline He, Karthik Narasimhan, and Danqi Chen. 2022. Can rationalization improve robustness? NAACL.
|
| 181 |
+
Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, et al. 2021. Evaluating large language models trained on code. arXiv preprint arXiv:2107.03374.
|
| 182 |
+
Xinyun Chen, Chen Liang, Adams Wei Yu, Denny Zhou, Dawn Song, and Quoc V. Le. 2019. Neural symbolic reader: Scalable integration of distributed and symbolic representations for reading comprehension. ICLR.
|
| 183 |
+
Ting-Rui Chiang and Yun-Nung Chen. 2019. Semantically-aligned equation generation for solving and reasoning math word problems. 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 2656–2668, Minneapolis, Minnesota. Association for Computational Linguistics.
|
| 184 |
+
|
| 185 |
+
Peter Clark, Oyvind Tafjord, and Kyle Richardson. 2020. Transformers as soft reasoners over language. IJCAI.
|
| 186 |
+
|
| 187 |
+
Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Jacob Hilton, Reiichiro Nakano, Christopher Hesse, and John Schulman. 2021. Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168.
|
| 188 |
+
|
| 189 |
+
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: Pre-training of deep bidirectional transformers for language understanding. NAACL.
|
| 190 |
+
|
| 191 |
+
Honghua Dong, Jiayuan Mao, Tian Lin, Chong Wang, Lihong Li, and Denny Zhou. 2019. Neural logic machines. ICLR.
|
| 192 |
+
|
| 193 |
+
Dheeru Dua, Sameer Singh, and Matt Gardner. 2020. Benefits of intermediate annotations in reading comprehension. ACL.
|
| 194 |
+
|
| 195 |
+
Mor Geva, Daniel Khashabi, Elad Segal, Tushar Khot, Dan Roth, and Jonathan Berant. 2021. Did aristotle use a laptop? A question answering benchmark with implicit reasoning strategies. TACL.
|
| 196 |
+
|
| 197 |
+
Yuling Gu, Bhavana Dalvi Mishra, and Peter Clark. 2022. DREAM: Uncovering mental models behind language models. NAACL.
|
| 198 |
+
|
| 199 |
+
Braden Hancock, Paroma Varma, Stephanie Wang, Martin Bringmann, Percy Liang, and Christopher Ré. 2018. Training classifiers with natural language explanations. ACL.
|
| 200 |
+
|
| 201 |
+
Peter Hase and Mohit Bansal. 2022. When can models learn from explanations? a formal framework for understanding the roles of explanation data. ACL.
|
| 202 |
+
|
| 203 |
+
Dan Hendrycks, Collin Burns, Saurav Kadavath, Akul Arora, Steven Basart, Eric Tang, Dawn Song, and Jacob Steinhardt. 2021. Measuring mathematical problem solving with the math dataset. arXiv preprint arXiv:2103.03874.
|
| 204 |
+
|
| 205 |
+
Mohammad Javad Hosseini, Hannaneh Hajishirzi, Oren Etzioni, and Nate Kushman. 2014. Learning to solve arithmetic word problems with verb categorization. EMNLP.
|
| 206 |
+
|
| 207 |
+
Zhanming Jie, Jierui Li, and Wei Lu. 2022. Learning to reason deductively: Math word problem solving as complex relation extraction. arXiv preprint arXiv:2203.10316.
|
| 208 |
+
|
| 209 |
+
Jared Kaplan, Sam McCandlish, Tom Henighan, Tom B Brown, Benjamin Chess, Rewon Child, Scott Gray, Alec Radford, Jeffrey Wu, and Dario Amodei. 2020. Scaling laws for neural language models. arXiv preprint arXiv:2001.08361.
|
| 210 |
+
|
| 211 |
+
Rik Koncel-Kedziorski, Subhro Roy, Aida Amini, Nate Kushman, and Hannaneh Hajishirzi. 2016. MAWPS: A math word problem repository. NAACL.
|
| 212 |
+
|
| 213 |
+
Andrew K. Lampinen, Ishita Dasgupta, Stephanie C.Y. Chan, Kory Matthewson, Michael Henry Tessler, Antonia Creswell, James L. McClelland, Jane X. Wang, and Felix Hill. 2022. Can language models learn from explanations in context? arXiv preprint arXiv:2204.02329.
|
| 214 |
+
|
| 215 |
+
Yihuai Lan, Lei Wang, Qiyuan Zhang, Yunshi Lan, Bing Tian Dai, Yan Wang, Dongxiang Zhang, and Ee-Peng Lim. 2021. MWPToolkit: An open-source framework for deep learning-based math word problem solvers. arXiv preprint arXiv:2109.00799.
|
| 216 |
+
|
| 217 |
+
Teven Le Scao and Alexander Rush. 2021. How many data points is a prompt worth? NAACL.
|
| 218 |
+
|
| 219 |
+
Brian Lester, Rami Al-Rfou, and Noah Constant. 2021. The power of scale for parameter-efficient prompt tuning. EMNLP.
|
| 220 |
+
|
| 221 |
+
Iddo Lev, Bill MacCartney, Christopher Manning, and Roger Levy. 2004. Solving logic puzzles: From robust processing to precise semantics. Proceedings of the 2nd Workshop on Text Meaning and Interpretation.
|
| 222 |
+
|
| 223 |
+
Xiang Lisa Li and Percy Liang. 2021. Prefix-tuning: Optimizing continuous prompts for generation. ACL.
|
| 224 |
+
|
| 225 |
+
Zhengzhong Liang, Steven Bethard, and Mihai Surdeanu. 2021. Explainable multi-hop verbal reasoning through internal monologue. NAACL.
|
| 226 |
+
Wang Ling, Dani Yogatama, Chris Dyer, and Phil Blunsom. 2017. Program induction by rationale generation: Learning to solve and explain algebraic word problems. ACL.
|
| 227 |
+
Pengfei Liu, Weizhe Yuan, Jinlan Fu, Zhengbao Jiang, Hiroaki Hayashi, and Graham Neubig. 2021. Pre-train, prompt, and predict: A systematic survey of prompting methods in natural language processing. arXiv preprint arXiv:2107.13586.
|
| 228 |
+
Bodhisattwa Prasad Majumder, Oana-Maria Camburu, Thomas Lukasiewicz, and Julian McAuley. 2021. Rationale-inspired natural language explanations with commonsense. arXiv preprint arXiv:2106.13876.
|
| 229 |
+
Ana Marasovic, Iz Beltagy, Doug Downey, and Matthew E Peters. 2022. ´ Few-shot self-rationalization with natural language prompts. NAACL Findings.
|
| 230 |
+
Joshua Maynez, Shashi Narayan, Bernd Bohnet, and Ryan McDonald. 2020. On faithfulness and factuality in abstractive summarization. In ACL.
|
| 231 |
+
Shen Yun Miao, Chao Chun Liang, and Keh Yih Su. 2020. A diverse corpus for evaluating and developing English math word problem solvers. ACL.
|
| 232 |
+
Sewon Min, Xinxi Lyu, Ari Holtzman, Mikel Artetxe, Mike Lewis, Hannaneh Hajishirzi, and Luke Zettlemoyer. 2022. Rethinking the role of demonstrations: What makes in-context learning work? arXiv preprint arXiv:2202.12837.
|
| 233 |
+
Sharan Narang, Colin Raffel, Katherine Lee, Adam Roberts, Noah Fiedel, and Karishma Malkan. 2020. WT5?! Training text-to-text models to explain their predictions. arXiv preprint arXiv:2004.14546.
|
| 234 |
+
Maxwell Nye, Anders Johan Andreassen, Guy Gur-Ari, Henryk Michalewski, Jacob Austin, David Bieber, David Dohan, Aitor Lewkowycz, Maarten Bosma, David Luan, et al. 2021. Show your work: Scratchpads for intermediate computation with language models. arXiv preprint arXiv:2112.00114.
|
| 235 |
+
Long Ouyang, Jeff Wu, Xu Jiang, Diogo Almeida, Carroll L. Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. 2022. Training language models to follow instructions with human feedback. arXiv preprint arXiv:2203.02155.
|
| 236 |
+
Arkil Patel, Satwik Bhattamishra, and Navin Goyal. 2021. Are NLP models really able to solve simple math word problems? NAACL.
|
| 237 |
+
Matthew E. Peters, Mark Neumann, Mohit Iyyer, Matt Gardner, Christopher Clark, Kenton Lee, and Luke Zettlemoyer. 2018. Deep contextualized word representations. NAACL.
|
| 238 |
+
Xinyu Pi, Qian Liu, Bei Chen, Morteza Ziyadi, Zeqi Lin, Yan Gao, Qiang Fu, Jian-Guang Lou, and Weizhu Chen. 2022. Reasoning like program executors. arXiv preprint arXiv:2201.11473.
|
| 239 |
+
Piotr Pi˛ekos, Mateusz Malinowski, and Henryk Michalewski. 2021. Measuring and improving BERT’s mathematical abilities by predicting the order of reasoning. ACL.
|
| 240 |
+
Jack W. Rae, Sebastian Borgeaud, Trevor Cai, Katie Millican, Jordan Hoffmann, Francis Song, John Aslanides, Sarah Henderson, Roman Ring, Susannah Young, et al. 2021. Scaling language models: Methods, analysis & insights from training Gopher. arXiv preprint arXiv:2112.11446.
|
| 241 |
+
Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. 2020. Exploring the limits of transfer learning with a unified text-to-text transformer. Journal of Machine Learning Research, 21:1–67.
|
| 242 |
+
Dheeraj Rajagopal, Vidhisha Balachandran, Eduard H. Hovy, and Yulia Tsvetkov. 2021. SelfExplain: A self-explaining architecture for neural text classifiers. EMNLP.
|
| 243 |
+
Nazneen Fatema Rajani, Bryan McCann, Caiming Xiong, and Richard Socher. 2019. Explain yourself! Leveraging language models for commonsense reasoning. ACL.
|
| 244 |
+
|
| 245 |
+
Qiu Ran, Yankai Lin, Peng Li, Jie Zhou, and Zhiyuan Liu. 2019. NumNet: Machine reading comprehension with numerical reasoning. EMNLP.
|
| 246 |
+
|
| 247 |
+
Hannah Rashkin, Vitaly Nikolaev, Matthew Lamm, Michael Collins, Dipanjan Das, Slav Petrov, Gaurav Singh Tomar, Iulia Turc, and David Reitter. 2021. Measuring attribution in natural language generation models. arXiv preprint arXiv:2112.12870.
|
| 248 |
+
|
| 249 |
+
Gabriel Recchia. 2021. Teaching autoregressive language models complex tasks by demonstration. arXiv preprint arXiv:2109.02102.
|
| 250 |
+
|
| 251 |
+
Emily Reif, Daphne Ippolito, Ann Yuan, Andy Coenen, Chris Callison-Burch, and Jason Wei. 2022. A recipe for arbitrary text style transfer with large language models. ACL.
|
| 252 |
+
|
| 253 |
+
Laria Reynolds and Kyle McDonell. 2021. Prompt programming for large language models: Beyond the few-shot paradigm. Extended Abstracts of the 2021 CHI Conference on Human Factors in Computing Systems.
|
| 254 |
+
|
| 255 |
+
Subhro Roy and Dan Roth. 2015. Solving general arithmetic word problems. EMNLP.
|
| 256 |
+
|
| 257 |
+
Subhro Roy, Tim Vieira, and Dan Roth. 2015. Reasoning about Quantities in Natural Language. TACL.
|
| 258 |
+
|
| 259 |
+
Mohammed Saeed, Naser Ahmadi, Preslav Nakov, and Paolo Papotti. 2021. RuleBERT: Teaching soft rules to pre-trained language models. EMNLP.
|
| 260 |
+
|
| 261 |
+
Victor Sanh, Albert Webson, Colin Raffel, Stephen H. Bach, Lintang Sutawika, Zaid Alyafeai, Antoine Chaffin, Arnaud Stiegler, Teven Le Scao, Arun Raja, et al. 2022. Multitask prompted training enables zero-shot task generalization. ICLR.
|
| 262 |
+
|
| 263 |
+
Jianhao Shen, Yichun Yin, Lin Li, Lifeng Shang, Xin Jiang, Ming Zhang, and Qun Liu. 2021. Generate & rank: A multi-task framework for math word problems. In Findings of the Association for Computational Linguistics: EMNLP 2021.
|
| 264 |
+
|
| 265 |
+
Alon Talmor, Jonathan Herzig, Nicholas Lourie, and Jonathan Berant. 2019. CommonsenseQA: A question answering challenge targeting commonsense knowledge. NAACL.
|
| 266 |
+
|
| 267 |
+
Alon Talmor, Oyvind Tafjord, Peter Clark, Yoav Goldberg, and Jonathan Berant. 2020. Leap-ofthought: Teaching pre-trained models to systematically reason over implicit knowledge. NeurIPS.
|
| 268 |
+
|
| 269 |
+
Alon Talmor, Ori Yoran, Ronan Le Bras, Chandra Bhagavatula, Yoav Goldberg, Yejin Choi, and Jonathan Berant. 2021. CommonsenseQA 2.0: Exposing the limits of ai through gamification. NeurIPS Track on Datasets and Benchmarks.
|
| 270 |
+
|
| 271 |
+
Yi Tay, Mostafa Dehghani, Vinh Q Tran, Xavier Garcia, Dara Bahri, Tal Schuster, Huaixiu Steven Zheng, Neil Houlsby, and Donald Metzler. 2022. Unifying language learning paradigms. arXiv preprint arXiv:2205.05131.
|
| 272 |
+
|
| 273 |
+
Romal Thoppilan, Daniel De Freitas, Jamie Hall, Noam Shazeer, Apoorv Kulshreshtha, Heng-Tze Cheng, Alicia Jin, Taylor Bos, Leslie Baker, Yu Du, et al. 2022. LaMDA: Language models for dialog applications. arXiv preprint arXiv:2201.08239.
|
| 274 |
+
|
| 275 |
+
Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le, Ed Chi, and Denny Zhou. 2022a. Self-consistency improves chain of thought reasoning in language models. arXiv preprint arXiv:2203.11171.
|
| 276 |
+
|
| 277 |
+
Yizhong Wang, Swaroop Mishra, Pegah Alipoormolabashi, Yeganeh Kordi, Amirreza Mirzaei, Anjana Arunkumar, Arjun Ashok, Arut Selvan Dhanasekaran, Atharva Naik, David Stap, et al. 2022b. Benchmarking generalization via in-context instructions on $1 { , } 6 0 0 { + }$ language tasks. arXiv preprint arXiv:2204.07705.
|
| 278 |
+
|
| 279 |
+
Jason Wei, Maarten Bosma, Vincent Y. Zhao, Kelvin Guu, Adams Wei Yu, Brian Lester, Nan Du, Andrew M. Dai, and Quoc V. Le. 2022a. Finetuned language models are zero-shot learners. ICLR.
|
| 280 |
+
|
| 281 |
+
Jason Wei, Yi Tay, Rishi Bommasani, Colin Raffel, Barret Zoph, Sebastian Borgeaud, Dani Yogatama, Maarten Bosma, Denny Zhou, Donald Metzler, et al. 2022b. Emergent abilities of large language models. Transactions on Machine Learning Research.
|
| 282 |
+
Sarah Wiegreffe, Jack Hessel, Swabha Swayamdipta, Mark Riedl, and Yejin Choi. 2022. Reframing human-AI collaboration for generating free-text explanations. NAACL.
|
| 283 |
+
Sarah Wiegreffe and Ana Marasovic. 2021. ´ Teach me to explain: A review of datasets for explainable NLP. NeurIPS.
|
| 284 |
+
Sarah Wiegreffe, Ana Marasovic, and Noah A. Smith. 2021. ´ Measuring association between labels and free-text rationales. EMNLP.
|
| 285 |
+
Tongshuang Wu, Ellen Jiang, Aaron Donsbach, Jeff Gray, Alejandra Molina, Michael Terry, and Carrie J Cai. 2022a. PromptChainer: Chaining large language model prompts through visual programming. CHI Extended Abstracts.
|
| 286 |
+
Tongshuang Wu, Michael Terry, and Carrie Jun Cai. 2022b. AI chains: Transparent and controllable human-AI interaction by chaining large language model prompts. CHI.
|
| 287 |
+
Yujun Yan, Kevin Swersky, Danai Koutra, Parthasarathy Ranganathan, and Milad Hashemi. 2020. Neural execution engines: Learning to execute subroutines. NeurIPS.
|
| 288 |
+
Huihan Yao, Ying Chen, Qinyuan Ye, Xisen Jin, and Xiang Ren. 2021. Refining language models with compositional explanations. NeurIPS.
|
| 289 |
+
Xi Ye and Greg Durrett. 2022. The unreliability of explanations in few-shot in-context learning. arXiv preprint arXiv:2205.03401.
|
| 290 |
+
Yordan Yordanov, Vid Kocijan, Thomas Lukasiewicz, and Oana-Maria Camburu. 2021. Few-shot out-of-domain transfer learning of natural language explanations. arXiv preprint arXiv:2112.06204.
|
| 291 |
+
Omar Zaidan, Jason Eisner, and Christine Piatko. 2007. Using “annotator rationales” to improve machine learning for text categorization. NAACL.
|
| 292 |
+
Wojciech Zaremba and Ilya Sutskever. 2014. Learning to execute. arXiv preprint arXiv:1410.4615.
|
| 293 |
+
Eric Zelikman, Yuhuai Wu, and Noah D. Goodman. 2022. STaR: Bootstrapping reasoning with reasoning. arXiv preprint arXiv:2203.14465.
|
| 294 |
+
Tony Z. Zhao, Eric Wallace, Shi Feng, Dan Klein, and Sameer Singh. 2021. Calibrate before use: Improving few-shot performance of language models. ICML.
|
| 295 |
+
Wangchunshu Zhou, Jinyi Hu, Hanlin Zhang, Xiaodan Liang, Maosong Sun, Chenyan Xiong, and Jian Tang. 2020. Towards interpretable natural language understanding with explanations as latent variables. NeurIPS.
|
parse/dev/_VjQlMeSB_J/_VjQlMeSB_J_content_list.json
ADDED
|
@@ -0,0 +1,1424 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Chain-of-Thought Prompting Elicits Reasoning in Large Language Models ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
214,
|
| 8 |
+
122,
|
| 9 |
+
785,
|
| 10 |
+
174
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Jason Wei Xuezhi Wang Dale Schuurmans Maarten Bosma ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
243,
|
| 19 |
+
224,
|
| 20 |
+
754,
|
| 21 |
+
241
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Brian Ichter Fei Xia Ed H. Chi Quoc V. Le Denny Zhou ",
|
| 28 |
+
"bbox": [
|
| 29 |
+
246,
|
| 30 |
+
247,
|
| 31 |
+
751,
|
| 32 |
+
263
|
| 33 |
+
],
|
| 34 |
+
"page_idx": 0
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"type": "text",
|
| 38 |
+
"text": "Google Research, Brain Team {jasonwei,dennyzhou}@google.com ",
|
| 39 |
+
"bbox": [
|
| 40 |
+
366,
|
| 41 |
+
272,
|
| 42 |
+
632,
|
| 43 |
+
301
|
| 44 |
+
],
|
| 45 |
+
"page_idx": 0
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"type": "text",
|
| 49 |
+
"text": "Abstract ",
|
| 50 |
+
"text_level": 1,
|
| 51 |
+
"bbox": [
|
| 52 |
+
462,
|
| 53 |
+
348,
|
| 54 |
+
535,
|
| 55 |
+
364
|
| 56 |
+
],
|
| 57 |
+
"page_idx": 0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"type": "text",
|
| 61 |
+
"text": "We explore how generating a chain of thought—a series of intermediate reasoning steps—significantly improves the ability of large language models to perform complex reasoning. In particular, we show how such reasoning abilities emerge naturally in sufficiently large language models via a simple method called chain-ofthought prompting, where a few chain of thought demonstrations are provided as exemplars in prompting. ",
|
| 62 |
+
"bbox": [
|
| 63 |
+
232,
|
| 64 |
+
378,
|
| 65 |
+
766,
|
| 66 |
+
463
|
| 67 |
+
],
|
| 68 |
+
"page_idx": 0
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"type": "text",
|
| 72 |
+
"text": "Experiments on three large language models show that chain-of-thought prompting improves performance on a range of arithmetic, commonsense, and symbolic reasoning tasks. The empirical gains can be striking. For instance, prompting a PaLM 540B with just eight chain-of-thought exemplars achieves state-of-the-art accuracy on the GSM8K benchmark of math word problems, surpassing even finetuned GPT-3 with a verifier. ",
|
| 73 |
+
"bbox": [
|
| 74 |
+
232,
|
| 75 |
+
465,
|
| 76 |
+
766,
|
| 77 |
+
547
|
| 78 |
+
],
|
| 79 |
+
"page_idx": 0
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"type": "image",
|
| 83 |
+
"img_path": "images/89ab3799d105e595086d7c7e3059c4c95016564718ada32028e60eef2d474c49.jpg",
|
| 84 |
+
"image_caption": [
|
| 85 |
+
"Figure 1: Chain-of-thought prompting enables large language models to tackle complex arithmetic, commonsense, and symbolic reasoning tasks. Chain-of-thought reasoning processes are highlighted. "
|
| 86 |
+
],
|
| 87 |
+
"image_footnote": [],
|
| 88 |
+
"bbox": [
|
| 89 |
+
192,
|
| 90 |
+
570,
|
| 91 |
+
802,
|
| 92 |
+
806
|
| 93 |
+
],
|
| 94 |
+
"page_idx": 0
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"type": "text",
|
| 98 |
+
"text": "1 Introduction ",
|
| 99 |
+
"text_level": 1,
|
| 100 |
+
"bbox": [
|
| 101 |
+
174,
|
| 102 |
+
89,
|
| 103 |
+
310,
|
| 104 |
+
106
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 1
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "text",
|
| 110 |
+
"text": "The NLP landscape has recently been revolutionized by language models (Peters et al., 2018; Devlin et al., 2019; Brown et al., 2020, inter alia). Scaling up the size of language models has been shown to confer a range of benefits, such as improved performance and sample efficiency (Kaplan et al., 2020; Brown et al., 2020, inter alia). However, scaling up model size alone has not proved sufficient for achieving high performance on challenging tasks such as arithmetic, commonsense, and symbolic reasoning (Rae et al., 2021). ",
|
| 111 |
+
"bbox": [
|
| 112 |
+
174,
|
| 113 |
+
125,
|
| 114 |
+
550,
|
| 115 |
+
262
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "This work explores how the reasoning ability of large language models can be unlocked by a simple method motivated by two ideas. First, techniques for arithmetic reasoning can benefit from generating natural language rationales that lead to the final answer. Prior work has given models the ability to generate natural language intermediate steps by training from scratch (Ling et al., 2017) or finetuning a pretrained model (Cobbe et al., 2021), in addition to neuro-symbolic methods that use formal languages instead of natural language (Roy and Roth, 2015; Chiang and Chen, 2019; Amini et al., 2019; Chen et al., 2019). Second, large language models offer the exciting ",
|
| 122 |
+
"bbox": [
|
| 123 |
+
174,
|
| 124 |
+
270,
|
| 125 |
+
549,
|
| 126 |
+
435
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "Finetuned GPT-3 175B \nPrior best PaLM 540B: standard prompting PaLM 540B: chain-of-thought prompting ",
|
| 133 |
+
"bbox": [
|
| 134 |
+
565,
|
| 135 |
+
126,
|
| 136 |
+
836,
|
| 137 |
+
185
|
| 138 |
+
],
|
| 139 |
+
"page_idx": 1
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"type": "image",
|
| 143 |
+
"img_path": "images/d7882b4649faefdd9a2b82d45815028e7e1d5a09149c74872bb38e2b8bb59569.jpg",
|
| 144 |
+
"image_caption": [
|
| 145 |
+
"Figure 2: PaLM 540B uses chain-ofthought prompting to achieve new stateof-the-art performance on the GSM8K benchmark of math word problems. Finetuned GPT-3 and prior best are from Cobbe et al. (2021). "
|
| 146 |
+
],
|
| 147 |
+
"image_footnote": [],
|
| 148 |
+
"bbox": [
|
| 149 |
+
578,
|
| 150 |
+
190,
|
| 151 |
+
828,
|
| 152 |
+
324
|
| 153 |
+
],
|
| 154 |
+
"page_idx": 1
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"type": "text",
|
| 158 |
+
"text": "prospect of in-context few-shot learning via prompting. That is, instead of finetuning a separate language model checkpoint for each new task, one can simply “prompt” the model with a few input–output exemplars demonstrating the task. Remarkably, this has been successful for a range of simple question-answering tasks (Brown et al., 2020). ",
|
| 159 |
+
"bbox": [
|
| 160 |
+
174,
|
| 161 |
+
435,
|
| 162 |
+
825,
|
| 163 |
+
489
|
| 164 |
+
],
|
| 165 |
+
"page_idx": 1
|
| 166 |
+
},
|
| 167 |
+
{
|
| 168 |
+
"type": "text",
|
| 169 |
+
"text": "Both of the above ideas, however, have key limitations. For rationale-augmented training and finetuning methods, it is costly to create a large set of high quality rationales, which is much more complicated than simple input–output pairs used in normal machine learning. For the traditional fewshot prompting method used in Brown et al. (2020), it works poorly on tasks that require reasoning abilities, and often does not improve substantially with increasing language model scale (Rae et al., 2021). In this paper, we combine the strengths of these two ideas in a way that avoids their limitations. Specifically, we explore the ability of language models to perform few-shot prompting for reasoning tasks, given a prompt that consists of triples: hinput, chain of thought, outputi. A chain of thought is a series of intermediate natural language reasoning steps that lead to the final output, and we refer to this approach as chain-of-thought prompting. An example prompt is shown in Figure 1. ",
|
| 170 |
+
"bbox": [
|
| 171 |
+
174,
|
| 172 |
+
497,
|
| 173 |
+
825,
|
| 174 |
+
636
|
| 175 |
+
],
|
| 176 |
+
"page_idx": 1
|
| 177 |
+
},
|
| 178 |
+
{
|
| 179 |
+
"type": "text",
|
| 180 |
+
"text": "We present empirical evaluations on arithmetic, commonsense, and symbolic reasoning benchmarks, showing that chain-of-thought prompting outperforms standard prompting, sometimes to a striking degree. Figure 2 illustrates one such result—on the GSM8K benchmark of math word problems (Cobbe et al., 2021), chain-of-thought prompting with PaLM 540B outperforms standard prompting by a large margin and achieves new state-of-the-art performance. A prompting only approach is important because it does not require a large training dataset and because a single model checkpoint can perform many tasks without loss of generality. This work underscores how large language models can learn via a few examples with natural language data about the task (c.f. automatically learning the patterns underlying inputs and outputs via a large training dataset). ",
|
| 181 |
+
"bbox": [
|
| 182 |
+
173,
|
| 183 |
+
641,
|
| 184 |
+
825,
|
| 185 |
+
766
|
| 186 |
+
],
|
| 187 |
+
"page_idx": 1
|
| 188 |
+
},
|
| 189 |
+
{
|
| 190 |
+
"type": "text",
|
| 191 |
+
"text": "2 Chain-of-Thought Prompting ",
|
| 192 |
+
"text_level": 1,
|
| 193 |
+
"bbox": [
|
| 194 |
+
174,
|
| 195 |
+
791,
|
| 196 |
+
452,
|
| 197 |
+
810
|
| 198 |
+
],
|
| 199 |
+
"page_idx": 1
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"type": "text",
|
| 203 |
+
"text": "Consider one’s own thought process when solving a complicated reasoning task such as a multi-step math word problem. It is typical to decompose the problem into intermediate steps and solve each before giving the final answer: “After Jane gives 2 flowers to her mom she has 10 . . . then after she gives 3 to her dad she will have 7 . . . so the answer is 7.” The goal of this paper is to endow language models with the ability to generate a similar chain of thought—a coherent series of intermediate reasoning steps that lead to the final answer for a problem. We will show that sufficiently large language models can generate chains of thought if demonstrations of chain-of-thought reasoning are provided in the exemplars for few-shot prompting. ",
|
| 204 |
+
"bbox": [
|
| 205 |
+
174,
|
| 206 |
+
827,
|
| 207 |
+
823,
|
| 208 |
+
911
|
| 209 |
+
],
|
| 210 |
+
"page_idx": 1
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"type": "text",
|
| 214 |
+
"text": "",
|
| 215 |
+
"bbox": [
|
| 216 |
+
173,
|
| 217 |
+
90,
|
| 218 |
+
823,
|
| 219 |
+
119
|
| 220 |
+
],
|
| 221 |
+
"page_idx": 2
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"type": "text",
|
| 225 |
+
"text": "Figure 1 shows an example of a model producing a chain of thought to solve a math word problem that it would have otherwise gotten incorrect. The chain of thought in this case resembles a solution and can interpreted as one, but we still opt to call it a chain of thought to better capture the idea that it mimics a step-by-step thought process for arriving at the answer (and also, solutions/explanations typically come after the final answer (Narang et al., 2020; Wiegreffe et al., 2022; Lampinen et al., 2022, inter alia)). ",
|
| 226 |
+
"bbox": [
|
| 227 |
+
173,
|
| 228 |
+
126,
|
| 229 |
+
825,
|
| 230 |
+
209
|
| 231 |
+
],
|
| 232 |
+
"page_idx": 2
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"type": "text",
|
| 236 |
+
"text": "Chain-of-thought prompting has several attractive properties as an approach for facilitating reasoning in language models. ",
|
| 237 |
+
"bbox": [
|
| 238 |
+
174,
|
| 239 |
+
215,
|
| 240 |
+
823,
|
| 241 |
+
244
|
| 242 |
+
],
|
| 243 |
+
"page_idx": 2
|
| 244 |
+
},
|
| 245 |
+
{
|
| 246 |
+
"type": "text",
|
| 247 |
+
"text": "1. First, chain of thought, in principle, allows models to decompose multi-step problems into intermediate steps, which means that additional computation can be allocated to problems that require more reasoning steps. \n2. Second, a chain of thought provides an interpretable window into the behavior of the model, suggesting how it might have arrived at a particular answer and providing opportunities to debug where the reasoning path went wrong (although fully characterizing a model’s computations that support an answer remains an open question). \n3. Third, chain-of-thought reasoning can be used for tasks such as math word problems, commonsense reasoning, and symbolic manipulation, and is potentially applicable (at least in principle) to any task that humans can solve via language. \n4. Finally, chain-of-thought reasoning can be readily elicited in sufficiently large off-the-shelf language models simply by including examples of chain of thought sequences into the exemplars of few-shot prompting. ",
|
| 248 |
+
"bbox": [
|
| 249 |
+
210,
|
| 250 |
+
251,
|
| 251 |
+
825,
|
| 252 |
+
440
|
| 253 |
+
],
|
| 254 |
+
"page_idx": 2
|
| 255 |
+
},
|
| 256 |
+
{
|
| 257 |
+
"type": "text",
|
| 258 |
+
"text": "In empirical experiments, we will observe the utility of chain-of-thought prompting for arithmetic reasoning (Section 3), commonsense reasoning (Section 4), and symbolic reasoning (Section 5). ",
|
| 259 |
+
"bbox": [
|
| 260 |
+
173,
|
| 261 |
+
448,
|
| 262 |
+
823,
|
| 263 |
+
476
|
| 264 |
+
],
|
| 265 |
+
"page_idx": 2
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"type": "text",
|
| 269 |
+
"text": "3 Arithmetic Reasoning ",
|
| 270 |
+
"text_level": 1,
|
| 271 |
+
"bbox": [
|
| 272 |
+
174,
|
| 273 |
+
496,
|
| 274 |
+
390,
|
| 275 |
+
513
|
| 276 |
+
],
|
| 277 |
+
"page_idx": 2
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"type": "text",
|
| 281 |
+
"text": "We begin by considering math word problems of the form in Figure 1, which measure the arithmetic reasoning ability of language models. Though simple for humans, arithmetic reasoning is a task where language models often struggle (Hendrycks et al., 2021; Patel et al., 2021, inter alia). Strikingly, chainof-thought prompting when used with the 540B parameter language model performs comparably with task-specific finetuned models on several tasks, even achieving new state of the art on the challenging GSM8K benchmark (Cobbe et al., 2021). ",
|
| 282 |
+
"bbox": [
|
| 283 |
+
174,
|
| 284 |
+
529,
|
| 285 |
+
825,
|
| 286 |
+
612
|
| 287 |
+
],
|
| 288 |
+
"page_idx": 2
|
| 289 |
+
},
|
| 290 |
+
{
|
| 291 |
+
"type": "text",
|
| 292 |
+
"text": "3.1 Experimental Setup ",
|
| 293 |
+
"text_level": 1,
|
| 294 |
+
"bbox": [
|
| 295 |
+
174,
|
| 296 |
+
630,
|
| 297 |
+
352,
|
| 298 |
+
645
|
| 299 |
+
],
|
| 300 |
+
"page_idx": 2
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"type": "text",
|
| 304 |
+
"text": "We explore chain-of-thought prompting for various language models on multiple benchmarks. ",
|
| 305 |
+
"bbox": [
|
| 306 |
+
171,
|
| 307 |
+
655,
|
| 308 |
+
789,
|
| 309 |
+
670
|
| 310 |
+
],
|
| 311 |
+
"page_idx": 2
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"type": "text",
|
| 315 |
+
"text": "Benchmarks. We consider the following five math word problem benchmarks: (1) the GSM8K benchmark of math word problems (Cobbe et al., 2021), (2) the SVAMP dataset of math word problems with varying structures (Patel et al., 2021), (3) the ASDiv dataset of diverse math word problems (Miao et al., 2020), (4) the AQuA dataset of algebraic word problems, and (5) the MAWPS benchmark (Koncel-Kedziorski et al., 2016). Example problems are given in Appendix Table 12. ",
|
| 316 |
+
"bbox": [
|
| 317 |
+
174,
|
| 318 |
+
676,
|
| 319 |
+
825,
|
| 320 |
+
746
|
| 321 |
+
],
|
| 322 |
+
"page_idx": 2
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"type": "text",
|
| 326 |
+
"text": "Standard prompting. For the baseline, we consider standard few-shot prompting, popularized by Brown et al. (2020), in which a language model is given in-context exemplars of input–output pairs before outputting a prediction for a test-time example. Exemplars are formatted as questions and answers. The model gives the answer directly, as shown in Figure 1 (left). ",
|
| 327 |
+
"bbox": [
|
| 328 |
+
174,
|
| 329 |
+
752,
|
| 330 |
+
823,
|
| 331 |
+
808
|
| 332 |
+
],
|
| 333 |
+
"page_idx": 2
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"type": "text",
|
| 337 |
+
"text": "Chain-of-thought prompting. Our proposed approach is to augment each exemplar in few-shot prompting with a chain of thought for an associated answer, as illustrated in Figure 1 (right). As most of the datasets only have an evaluation split, we manually composed a set of eight few-shot exemplars with chains of thought for prompting—Figure 1 (right) shows one chain of thought exemplar, and the full set of exemplars is given in Appendix Table 20. (These particular exemplars did not undergo prompt engineering; robustness is studied in Section 3.4 and Appendix A.2.) To investigate whether chain-of-thought prompting in this form can successfully elicit successful reasoning across a range of math word problems, we used this single set of eight chain of thought exemplars for all benchmarks except AQuA, which is multiple choice instead of free response. For AQuA, we used four exemplars and solutions from the training set, as given in Appendix Table 21. ",
|
| 338 |
+
"bbox": [
|
| 339 |
+
174,
|
| 340 |
+
814,
|
| 341 |
+
825,
|
| 342 |
+
911
|
| 343 |
+
],
|
| 344 |
+
"page_idx": 2
|
| 345 |
+
},
|
| 346 |
+
{
|
| 347 |
+
"type": "image",
|
| 348 |
+
"img_path": "images/89a5ee9245764678a62df985ae74ac1f355481b7fba3da340ff294060cdc69a1.jpg",
|
| 349 |
+
"image_caption": [
|
| 350 |
+
"Figure 3: Examples of hinput, chain of thought, outputi triples for arithmetic, commonsense, and symbolic reasoning benchmarks. Chains of thought are highlighted. Full prompts in Appendix G. "
|
| 351 |
+
],
|
| 352 |
+
"image_footnote": [],
|
| 353 |
+
"bbox": [
|
| 354 |
+
176,
|
| 355 |
+
85,
|
| 356 |
+
825,
|
| 357 |
+
486
|
| 358 |
+
],
|
| 359 |
+
"page_idx": 3
|
| 360 |
+
},
|
| 361 |
+
{
|
| 362 |
+
"type": "text",
|
| 363 |
+
"text": "",
|
| 364 |
+
"bbox": [
|
| 365 |
+
174,
|
| 366 |
+
549,
|
| 367 |
+
826,
|
| 368 |
+
590
|
| 369 |
+
],
|
| 370 |
+
"page_idx": 3
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"type": "text",
|
| 374 |
+
"text": "Language models. We evaluate five large language models. The first is GPT-3 (Brown et al., 2020), for which we use text-ada-001, text-babbage-001, text-curie-001, and text-davinci-002, which presumably correspond to InstructGPT models of 350M, 1.3B, 6.7B, and 175B parameters (Ouyang et al., 2022).The second is LaMDA (Thoppilan et al., 2022), which has models of 422M, 2B, 8B, 68B, and 137B parameters. The third is PaLM, which has models of 8B, 62B, and 540B parameters. The fourth is UL2 20B (Tay et al., 2022), and the fifth is Codex (Chen et al., 2021, code-davinci-002 in the OpenAI API). We sample from the models via greedy decoding (though follow-up work shows chain-of-thought prompting can be improved by taking the majority final answer over many sampled generations (Wang et al., 2022a)). For LaMDA, we report averaged results over five random seeds, where each seed had a different randomly shuffled order of exemplars. As LaMDA experiments did not show large variance among different seeds, to save compute we report results for a single exemplar order for all other models. ",
|
| 375 |
+
"bbox": [
|
| 376 |
+
173,
|
| 377 |
+
598,
|
| 378 |
+
826,
|
| 379 |
+
763
|
| 380 |
+
],
|
| 381 |
+
"page_idx": 3
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"type": "text",
|
| 385 |
+
"text": "3.2 Results ",
|
| 386 |
+
"text_level": 1,
|
| 387 |
+
"bbox": [
|
| 388 |
+
174,
|
| 389 |
+
784,
|
| 390 |
+
263,
|
| 391 |
+
799
|
| 392 |
+
],
|
| 393 |
+
"page_idx": 3
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"type": "text",
|
| 397 |
+
"text": "The strongest results of chain-of-thought prompting are summarized in Figure 4, with all experimental outputs for each model collection, model size, and benchmark shown in Table 2 in the Appendix. There are three key takeaways. First, Figure 4 shows that chain-of-thought prompting is an emergent ability of model scale (Wei et al., 2022b). That is, chain-of-thought prompting does not positively impact performance for small models, and only yields performance gains when used with models of ${ \\sim } 1 0 0 \\mathrm { B }$ parameters. We qualitatively found that models of smaller scale produced fluent but illogical chains of thought, leading to lower performance than standard prompting. ",
|
| 398 |
+
"bbox": [
|
| 399 |
+
174,
|
| 400 |
+
811,
|
| 401 |
+
825,
|
| 402 |
+
909
|
| 403 |
+
],
|
| 404 |
+
"page_idx": 3
|
| 405 |
+
},
|
| 406 |
+
{
|
| 407 |
+
"type": "text",
|
| 408 |
+
"text": "Second, chain-of-thought prompting has larger performance gains for more-complicated problems. For instance, for GSM8K (the dataset with the lowest baseline performance), performance more than doubled for the largest GPT and PaLM models. On the other hand, for SingleOp, the easiest subset of MAWPS which only requires a single step to solve, performance improvements were either negative or very small (see Appendix Table 3). ",
|
| 409 |
+
"bbox": [
|
| 410 |
+
174,
|
| 411 |
+
92,
|
| 412 |
+
485,
|
| 413 |
+
229
|
| 414 |
+
],
|
| 415 |
+
"page_idx": 4
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"type": "text",
|
| 419 |
+
"text": "Third, chain-of-thought prompting via GPT-3 175B and PaLM 540B compares favorably to prior state of the art, which typically finetunes a task-specific model on a labeled training dataset. Figure 4 shows how PaLM 540B uses chain-ofthought prompting to achieve new state of the art on GSM8K, SVAMP, and MAWPS (though note that standard prompting already passed the prior best for SVAMP). On the other two datasets, AQuA and ASDiv, PaLM with chain-of-thought prompting reaches within $2 \\%$ of the state of the art (Appendix Table 2). ",
|
| 420 |
+
"bbox": [
|
| 421 |
+
174,
|
| 422 |
+
236,
|
| 423 |
+
485,
|
| 424 |
+
401
|
| 425 |
+
],
|
| 426 |
+
"page_idx": 4
|
| 427 |
+
},
|
| 428 |
+
{
|
| 429 |
+
"type": "text",
|
| 430 |
+
"text": "To better understand why chain-of-thought prompting works, we manually examined modelgenerated chains of thought by LaMDA 137B for GSM8K. Of 50 random examples where the model returned the correct final answer, all of the generated chains of thought were also logically and mathematically correct except two that coincidentally arrived at the correct answer (see Appendix D.1, and Table 8 for examples of correct model-generated chains of thought). We also randomly examined 50 random samples for which the model gave the wrong answer. The summary of this analysis is that $46 \\%$ of the chains of thought were almost correct, barring minor mistakes (calculator error, symbol map",
|
| 431 |
+
"bbox": [
|
| 432 |
+
174,
|
| 433 |
+
409,
|
| 434 |
+
485,
|
| 435 |
+
614
|
| 436 |
+
],
|
| 437 |
+
"page_idx": 4
|
| 438 |
+
},
|
| 439 |
+
{
|
| 440 |
+
"type": "image",
|
| 441 |
+
"img_path": "images/66c022898bff367d5860a3fc49e57a4fadc8dcb6199599bfe7c3100af93ef076.jpg",
|
| 442 |
+
"image_caption": [
|
| 443 |
+
"Figure 4: Chain-of-thought prompting enables large language models to solve challenging math problems. Notably, chain-of-thought reasoning is an emergent ability of increasing model scale. Prior best numbers are from Cobbe et al. (2021) for GSM8K, Jie et al. (2022) for SVAMP, and Lan et al. (2021) for MAWPS. "
|
| 444 |
+
],
|
| 445 |
+
"image_footnote": [],
|
| 446 |
+
"bbox": [
|
| 447 |
+
508,
|
| 448 |
+
97,
|
| 449 |
+
818,
|
| 450 |
+
487
|
| 451 |
+
],
|
| 452 |
+
"page_idx": 4
|
| 453 |
+
},
|
| 454 |
+
{
|
| 455 |
+
"type": "text",
|
| 456 |
+
"text": "ping error, or one reasoning step missing), and that the other $54 \\%$ of the chains of thought had major errors in semantic understanding or coherence (see Appendix D.2). To provide a small insight into why scaling improves chain-of-thought reasoning ability, we performed a similar analysis of errors made by PaLM 62B and whether those errors were fixed by scaling to PaLM 540B. The summary is that scaling PaLM to 540B fixes a large portion of one-step missing and semantic understanding errors in the 62B model (see Appendix A.1). ",
|
| 457 |
+
"bbox": [
|
| 458 |
+
174,
|
| 459 |
+
614,
|
| 460 |
+
825,
|
| 461 |
+
698
|
| 462 |
+
],
|
| 463 |
+
"page_idx": 4
|
| 464 |
+
},
|
| 465 |
+
{
|
| 466 |
+
"type": "text",
|
| 467 |
+
"text": "3.3 Ablation Study ",
|
| 468 |
+
"text_level": 1,
|
| 469 |
+
"bbox": [
|
| 470 |
+
174,
|
| 471 |
+
720,
|
| 472 |
+
316,
|
| 473 |
+
736
|
| 474 |
+
],
|
| 475 |
+
"page_idx": 4
|
| 476 |
+
},
|
| 477 |
+
{
|
| 478 |
+
"type": "text",
|
| 479 |
+
"text": "The observed benefits of using chain-of-thought prompting raises the natural question of whether the same performance improvements can be conferred via other types of prompting. Figure 5 shows an ablation study with three variations of chain of thought described below. ",
|
| 480 |
+
"bbox": [
|
| 481 |
+
174,
|
| 482 |
+
750,
|
| 483 |
+
825,
|
| 484 |
+
791
|
| 485 |
+
],
|
| 486 |
+
"page_idx": 4
|
| 487 |
+
},
|
| 488 |
+
{
|
| 489 |
+
"type": "text",
|
| 490 |
+
"text": "Equation only. One reason for why chain-of-thought prompting might help is that it produces the mathematical equation to be evaluated, and so we test a variation where the model is prompted to output only a mathematical equation before giving the answer. Figure 5 shows that equation only prompting does not help much for GSM8K, which implies that the semantics of the questions in GSM8K are too challenging to directly translate into an equation without the natural language reasoning steps in chain of thought. For datasets of one-step or two-step problems, however, we find that equation only prompting does improve performance, since the equation can be easily derived from the question (see Appendix Table 6). ",
|
| 491 |
+
"bbox": [
|
| 492 |
+
173,
|
| 493 |
+
797,
|
| 494 |
+
825,
|
| 495 |
+
909
|
| 496 |
+
],
|
| 497 |
+
"page_idx": 4
|
| 498 |
+
},
|
| 499 |
+
{
|
| 500 |
+
"type": "text",
|
| 501 |
+
"text": "Variable compute only. Another intuition is that chain of thought allows the model to spend more computation (i.e., intermediate tokens) on harder problems. To isolate the effect of variable computation from chain-of-thought reasoning, we test a configuration where the model is prompted to output a only sequence of dots $( \\ldots )$ equal to the number of characters in the equation needed to solve the problem. This variant performs about the same as the baseline, which suggests that variable computation by itself is not the reason for the success of chainof-thought prompting, and that there appears to be utility from expressing intermediate steps via natural language. ",
|
| 502 |
+
"bbox": [
|
| 503 |
+
174,
|
| 504 |
+
92,
|
| 505 |
+
583,
|
| 506 |
+
243
|
| 507 |
+
],
|
| 508 |
+
"page_idx": 5
|
| 509 |
+
},
|
| 510 |
+
{
|
| 511 |
+
"type": "text",
|
| 512 |
+
"text": "Chain of thought after answer. Another potential benefit of chain-of-thought prompting could simply be that such prompts allow the model to better access relevant knowledge acquired during pretraining. Therefore, we test an alternative configuration where the chain of thought prompt is only given after the answer, isolating whether the model actually depends on the produced chain of thought to give the final answer. This variant performs about the same as the baseline, which suggests that the sequential reasoning embodied in the chain of thought is useful for reasons beyond just activating knowledge. ",
|
| 513 |
+
"bbox": [
|
| 514 |
+
174,
|
| 515 |
+
250,
|
| 516 |
+
583,
|
| 517 |
+
388
|
| 518 |
+
],
|
| 519 |
+
"page_idx": 5
|
| 520 |
+
},
|
| 521 |
+
{
|
| 522 |
+
"type": "text",
|
| 523 |
+
"text": "Standard prompting Z Equation only Variable compute only 用 Reasoning after answer Chain-of-thought prompting ",
|
| 524 |
+
"bbox": [
|
| 525 |
+
617,
|
| 526 |
+
95,
|
| 527 |
+
812,
|
| 528 |
+
169
|
| 529 |
+
],
|
| 530 |
+
"page_idx": 5
|
| 531 |
+
},
|
| 532 |
+
{
|
| 533 |
+
"type": "image",
|
| 534 |
+
"img_path": "images/e6ae1dc967e810730fda1618d18b35c7fc13ce62af4bf30f06c19dc149050fe2.jpg",
|
| 535 |
+
"image_caption": [
|
| 536 |
+
"Figure 5: Ablation study for different variations of prompting using LaMDA 137B and PaLM 540B. Results for other datasets are given in Appendix Table 6 and Table 7. "
|
| 537 |
+
],
|
| 538 |
+
"image_footnote": [],
|
| 539 |
+
"bbox": [
|
| 540 |
+
599,
|
| 541 |
+
174,
|
| 542 |
+
820,
|
| 543 |
+
304
|
| 544 |
+
],
|
| 545 |
+
"page_idx": 5
|
| 546 |
+
},
|
| 547 |
+
{
|
| 548 |
+
"type": "text",
|
| 549 |
+
"text": "3.4 Robustness of Chain of Thought ",
|
| 550 |
+
"text_level": 1,
|
| 551 |
+
"bbox": [
|
| 552 |
+
176,
|
| 553 |
+
415,
|
| 554 |
+
436,
|
| 555 |
+
429
|
| 556 |
+
],
|
| 557 |
+
"page_idx": 5
|
| 558 |
+
},
|
| 559 |
+
{
|
| 560 |
+
"type": "text",
|
| 561 |
+
"text": "Sensitivity to exemplars is a key consideration of prompting approaches—for instance, varying the permutation of few-shot exemplars can cause the accuracy of GPT-3 on SST-2 to range from near chance $( 5 4 . 3 \\% )$ to near state of the art $( 9 3 . 4 \\% )$ (Zhao et al., 2021). In this final subsection, we evaluate robustness to chains of thought written by different annotators. In addition to the results above, which used chains of thought written by an Annotator A, two other co-authors of this paper (Annotators B and C) independently wrote chains of thought for the same few-shot exemplars (shown in Appendix H). Annotator A also wrote another chain of thought that was more concise than the original, following the style of solutions given in Cobbe et al. (2021).1 ",
|
| 562 |
+
"bbox": [
|
| 563 |
+
174,
|
| 564 |
+
444,
|
| 565 |
+
550,
|
| 566 |
+
637
|
| 567 |
+
],
|
| 568 |
+
"page_idx": 5
|
| 569 |
+
},
|
| 570 |
+
{
|
| 571 |
+
"type": "text",
|
| 572 |
+
"text": "Figure 6 shows these results for LaMDA 137B on GSM8K and MAWPS (ablation results for other datasets are given in Appendix Table 6 / Table 7). Although there is variance among different chain of thought annotations, as would be expected when using exemplar-based prompting (Le Scao and Rush, 2021; Reynolds and McDonell, 2021; Zhao et al., 2021), all sets of chain of thought prompts outperform the standard baseline by a large margin. This result implies that successful use of chain of thought does not depend on a particular linguistic style. ",
|
| 573 |
+
"bbox": [
|
| 574 |
+
174,
|
| 575 |
+
643,
|
| 576 |
+
549,
|
| 577 |
+
782
|
| 578 |
+
],
|
| 579 |
+
"page_idx": 5
|
| 580 |
+
},
|
| 581 |
+
{
|
| 582 |
+
"type": "image",
|
| 583 |
+
"img_path": "images/4e11e7bcb919c728e67a6b419ec469fa86d0f95c703a30a4d57759b25ff7f940.jpg",
|
| 584 |
+
"image_caption": [
|
| 585 |
+
"Figure 6: Chain-of-thought prompting has variance for different prompt examples (as expected) but outperforms standard prompting for various annotators as well as for different exemplars. "
|
| 586 |
+
],
|
| 587 |
+
"image_footnote": [],
|
| 588 |
+
"bbox": [
|
| 589 |
+
563,
|
| 590 |
+
428,
|
| 591 |
+
821,
|
| 592 |
+
699
|
| 593 |
+
],
|
| 594 |
+
"page_idx": 5
|
| 595 |
+
},
|
| 596 |
+
{
|
| 597 |
+
"type": "text",
|
| 598 |
+
"text": "To confirm that successful chain-of-thought prompting works for other sets of exemplars, we also run experiments with three sets of eight exemplars randomly sampled from the GSM8K training set, an independent source (examples in this dataset already included reasoning steps like a chain of thought).2 Figure 6 shows that these prompts performed comparably with our manually written exemplars, also substantially outperforming standard prompting. ",
|
| 599 |
+
"bbox": [
|
| 600 |
+
174,
|
| 601 |
+
789,
|
| 602 |
+
547,
|
| 603 |
+
830
|
| 604 |
+
],
|
| 605 |
+
"page_idx": 5
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"type": "text",
|
| 609 |
+
"text": "",
|
| 610 |
+
"bbox": [
|
| 611 |
+
178,
|
| 612 |
+
818,
|
| 613 |
+
823,
|
| 614 |
+
832
|
| 615 |
+
],
|
| 616 |
+
"page_idx": 5
|
| 617 |
+
},
|
| 618 |
+
{
|
| 619 |
+
"type": "text",
|
| 620 |
+
"text": "",
|
| 621 |
+
"bbox": [
|
| 622 |
+
174,
|
| 623 |
+
90,
|
| 624 |
+
825,
|
| 625 |
+
133
|
| 626 |
+
],
|
| 627 |
+
"page_idx": 6
|
| 628 |
+
},
|
| 629 |
+
{
|
| 630 |
+
"type": "text",
|
| 631 |
+
"text": "In addition to robustness to annotators, independently-written chains of thought, different exemplars, and various language models, we also find that chain-of-thought prompting for arithmetic reasoning is robust to different exemplar orders and varying numbers of exemplars (see Appendix A.2). ",
|
| 632 |
+
"bbox": [
|
| 633 |
+
174,
|
| 634 |
+
140,
|
| 635 |
+
823,
|
| 636 |
+
181
|
| 637 |
+
],
|
| 638 |
+
"page_idx": 6
|
| 639 |
+
},
|
| 640 |
+
{
|
| 641 |
+
"type": "text",
|
| 642 |
+
"text": "4 Commonsense Reasoning ",
|
| 643 |
+
"text_level": 1,
|
| 644 |
+
"bbox": [
|
| 645 |
+
176,
|
| 646 |
+
202,
|
| 647 |
+
418,
|
| 648 |
+
219
|
| 649 |
+
],
|
| 650 |
+
"page_idx": 6
|
| 651 |
+
},
|
| 652 |
+
{
|
| 653 |
+
"type": "text",
|
| 654 |
+
"text": "Although chain of thought is particularly suitable for math word problems, the language-based nature of chain of thought actually makes it applicable to a broad class of commonsense reasoning problems, which involve reasoning about physical and human interactions under the presumption of general background knowledge. Commonsense reasoning is key for interacting with the world and is still beyond the reach of current natural language understanding systems (Talmor et al., 2021). ",
|
| 655 |
+
"bbox": [
|
| 656 |
+
174,
|
| 657 |
+
233,
|
| 658 |
+
825,
|
| 659 |
+
303
|
| 660 |
+
],
|
| 661 |
+
"page_idx": 6
|
| 662 |
+
},
|
| 663 |
+
{
|
| 664 |
+
"type": "text",
|
| 665 |
+
"text": "Benchmarks. We consider five datasets covering a diverse range of commonsense reasoning types. The popular CSQA (Talmor et al., 2019) asks commonsense questions about the world involving complex semantics that often require prior knowledge. StrategyQA (Geva et al., 2021) requires models to infer a multi-hop strategy to answer questions. We choose two specialized evaluation sets from the BIG-bench effort (BIG-bench collaboration, 2021): Date Understanding, which involves inferring a date from a given context, and Sports Understanding, which involves determining whether a sentence relating to sports is plausible or implausible. Finally, the SayCan dataset (Ahn et al., 2022) involves mapping a natural language instruction to a sequence of robot actions from a discrete set. Figure 3 shows examples with chain of thought annotations for all datasets. ",
|
| 666 |
+
"bbox": [
|
| 667 |
+
174,
|
| 668 |
+
309,
|
| 669 |
+
825,
|
| 670 |
+
434
|
| 671 |
+
],
|
| 672 |
+
"page_idx": 6
|
| 673 |
+
},
|
| 674 |
+
{
|
| 675 |
+
"type": "text",
|
| 676 |
+
"text": "Prompts. We follow the same experimental setup as the prior section. For CSQA and StrategyQA, we randomly selected examples from the training set and manually composed chains of thought for them to use as few-shot exemplars. The two BIG-bench tasks do not have training sets, so we selected the first ten examples as exemplars in the evaluation set as few-shot exemplars and report numbers on the rest of the evaluation set. For SayCan, we use six examples from the training set used in Ahn et al. (2022) and also manually composed chains of thought. ",
|
| 677 |
+
"bbox": [
|
| 678 |
+
173,
|
| 679 |
+
440,
|
| 680 |
+
825,
|
| 681 |
+
523
|
| 682 |
+
],
|
| 683 |
+
"page_idx": 6
|
| 684 |
+
},
|
| 685 |
+
{
|
| 686 |
+
"type": "text",
|
| 687 |
+
"text": "Results. Figure 7 highlights these results for PaLM (full results for LaMDA, GPT-3, and different model scales are shown in Table 4). For all tasks, scaling up model size improved the performance of standard prompting; chain-of-thought prompting led to further gains, with improvements appearing to be largest for PaLM 540B. With chain-of-thought prompting, PaLM 540B achieved strong performance relative to baselines, outperforming the prior state of the art on StrategyQA $7 5 . 6 \\%$ vs $6 9 . 4 \\%$ and outperforming an unaided sports enthusiast on sports understanding $9 5 . 4 \\%$ vs $84 \\%$ ). These results demonstrate that chain-of-thought prompting can also improve performance on tasks requiring a range of commonsense reasoning abilities (though note that gain was minimal on CSQA). ",
|
| 688 |
+
"bbox": [
|
| 689 |
+
173,
|
| 690 |
+
530,
|
| 691 |
+
826,
|
| 692 |
+
641
|
| 693 |
+
],
|
| 694 |
+
"page_idx": 6
|
| 695 |
+
},
|
| 696 |
+
{
|
| 697 |
+
"type": "image",
|
| 698 |
+
"img_path": "images/314d6a9f471c937800bcc79eed382244c146f9aacc68828ea5e504cb8128e362.jpg",
|
| 699 |
+
"image_caption": [
|
| 700 |
+
"Figure 7: Chain-of-thought prompting also improves the commonsense reasoning abilities of language models. The language model shown here is PaLM. Prior best numbers are from the leaderboards of CSQA (Talmor et al., 2019) and StrategyQA (Geva et al., 2021) (single-model only, as of May 5, 2022). Additional results using various sizes of LaMDA, GPT-3, and PaLM are shown in Table 4. "
|
| 701 |
+
],
|
| 702 |
+
"image_footnote": [],
|
| 703 |
+
"bbox": [
|
| 704 |
+
186,
|
| 705 |
+
656,
|
| 706 |
+
808,
|
| 707 |
+
794
|
| 708 |
+
],
|
| 709 |
+
"page_idx": 6
|
| 710 |
+
},
|
| 711 |
+
{
|
| 712 |
+
"type": "text",
|
| 713 |
+
"text": "5 Symbolic Reasoning ",
|
| 714 |
+
"text_level": 1,
|
| 715 |
+
"bbox": [
|
| 716 |
+
174,
|
| 717 |
+
89,
|
| 718 |
+
374,
|
| 719 |
+
107
|
| 720 |
+
],
|
| 721 |
+
"page_idx": 7
|
| 722 |
+
},
|
| 723 |
+
{
|
| 724 |
+
"type": "text",
|
| 725 |
+
"text": "Our final experimental evaluation considers symbolic reasoning, which is simple for humans but potentially challenging for language models. We show that chain-ofthought prompting not only enables language models to perform symbolic reasoning tasks that are challenging in the standard prompting setting, but also facilitates length generalization to inference-time inputs longer than those seen in the few-shot exemplars. ",
|
| 726 |
+
"bbox": [
|
| 727 |
+
174,
|
| 728 |
+
121,
|
| 729 |
+
549,
|
| 730 |
+
231
|
| 731 |
+
],
|
| 732 |
+
"page_idx": 7
|
| 733 |
+
},
|
| 734 |
+
{
|
| 735 |
+
"type": "text",
|
| 736 |
+
"text": "Tasks. We use the following two toy tasks. ",
|
| 737 |
+
"bbox": [
|
| 738 |
+
173,
|
| 739 |
+
246,
|
| 740 |
+
467,
|
| 741 |
+
261
|
| 742 |
+
],
|
| 743 |
+
"page_idx": 7
|
| 744 |
+
},
|
| 745 |
+
{
|
| 746 |
+
"type": "text",
|
| 747 |
+
"text": "• Last letter concatenation. This task asks the model to concatenate the last letters of words in a name (e.g., “Amy Brown” $ ^ { \\ast } y n ^ { \\prime \\prime }$ ). It is a more challenging version of first letter concatenation, which language models can already perform without chain of thought.3 We generate full names by randomly concatenating names from the top one-thousand first and last names from name census data (https://namecensus.com/). ",
|
| 748 |
+
"bbox": [
|
| 749 |
+
174,
|
| 750 |
+
267,
|
| 751 |
+
549,
|
| 752 |
+
377
|
| 753 |
+
],
|
| 754 |
+
"page_idx": 7
|
| 755 |
+
},
|
| 756 |
+
{
|
| 757 |
+
"type": "image",
|
| 758 |
+
"img_path": "images/e4f8153620820f36adc177bd4972c7b26a10341d1dec25b01e73852fd72bc7ae.jpg",
|
| 759 |
+
"image_caption": [
|
| 760 |
+
"Figure 8: Using chain-of-thought prompting facilitates generalization to longer sequences in two symbolic reasoning tasks. "
|
| 761 |
+
],
|
| 762 |
+
"image_footnote": [],
|
| 763 |
+
"bbox": [
|
| 764 |
+
568,
|
| 765 |
+
94,
|
| 766 |
+
813,
|
| 767 |
+
410
|
| 768 |
+
],
|
| 769 |
+
"page_idx": 7
|
| 770 |
+
},
|
| 771 |
+
{
|
| 772 |
+
"type": "text",
|
| 773 |
+
"text": "• Coin flip. This task asks the model to answer whether a coin is still heads up after people either flip or don’t flip the coin (e.g., “A coin is heads up. Phoebe flips the coin. Osvaldo does not flip the coin. Is the coin still heads up? $^ { \\prime \\prime } \\right. ^ { \\left. } n o ^ { \\prime \\prime }$ ). ",
|
| 774 |
+
"bbox": [
|
| 775 |
+
174,
|
| 776 |
+
380,
|
| 777 |
+
549,
|
| 778 |
+
449
|
| 779 |
+
],
|
| 780 |
+
"page_idx": 7
|
| 781 |
+
},
|
| 782 |
+
{
|
| 783 |
+
"type": "text",
|
| 784 |
+
"text": "As the construction of these symbolic reasoning tasks is well-defined, for each task we consider an in-domain test set for which examples had the same number of steps as the training/few-shot exemplars, as well as an out-of-domain (OOD) test set, for which evaluation examples had more steps than those in the exemplars. For last letter concatenation, the model only sees exemplars of names with two words, and then performs last letter concatenation on names with 3 and 4 words.4 We do the same for the number of potential flips in the coin flip task. Our experimental setup uses the same methods and models as in the prior two sections. We again manually compose chains of thought for the few-shot exemplars for each task, which are given in Figure 3. ",
|
| 785 |
+
"bbox": [
|
| 786 |
+
173,
|
| 787 |
+
455,
|
| 788 |
+
549,
|
| 789 |
+
497
|
| 790 |
+
],
|
| 791 |
+
"page_idx": 7
|
| 792 |
+
},
|
| 793 |
+
{
|
| 794 |
+
"type": "text",
|
| 795 |
+
"text": "",
|
| 796 |
+
"bbox": [
|
| 797 |
+
173,
|
| 798 |
+
497,
|
| 799 |
+
825,
|
| 800 |
+
579
|
| 801 |
+
],
|
| 802 |
+
"page_idx": 7
|
| 803 |
+
},
|
| 804 |
+
{
|
| 805 |
+
"type": "text",
|
| 806 |
+
"text": "Results. The results of these in-domain and OOD evaluations are shown in Figure 8 for PaLM, with results for LaMDA shown in Appendix Table 5. With PaLM 540B, chain-of-thought prompting leads to almost $100 \\%$ solve rates (note that standard prompting already solves coin flip with PaLM 540, though not for LaMDA 137B). Note that these in-domain evaluations are “toy tasks” in the sense that perfect solution structures are already provided by the chains of thought in the few-shot exemplars; all the model has to do is repeat the same steps with the new symbols in the test-time example. And yet, small models still fail—the ability to perform abstract manipulations on unseen symbols for these three tasks only arises at the scale of 100B model parameters. ",
|
| 807 |
+
"bbox": [
|
| 808 |
+
173,
|
| 809 |
+
594,
|
| 810 |
+
825,
|
| 811 |
+
705
|
| 812 |
+
],
|
| 813 |
+
"page_idx": 7
|
| 814 |
+
},
|
| 815 |
+
{
|
| 816 |
+
"type": "text",
|
| 817 |
+
"text": "As for the OOD evaluations, standard prompting fails for both tasks. With chain-of-thought prompting, language models achieve upward scaling curves (though performance is lower than in the in-domain setting). Hence, chain-of-thought prompting facilitates length generalization beyond seen chains of thought for language models of sufficient scale. ",
|
| 818 |
+
"bbox": [
|
| 819 |
+
174,
|
| 820 |
+
712,
|
| 821 |
+
825,
|
| 822 |
+
767
|
| 823 |
+
],
|
| 824 |
+
"page_idx": 7
|
| 825 |
+
},
|
| 826 |
+
{
|
| 827 |
+
"type": "text",
|
| 828 |
+
"text": "6 Discussion ",
|
| 829 |
+
"text_level": 1,
|
| 830 |
+
"bbox": [
|
| 831 |
+
173,
|
| 832 |
+
786,
|
| 833 |
+
292,
|
| 834 |
+
803
|
| 835 |
+
],
|
| 836 |
+
"page_idx": 7
|
| 837 |
+
},
|
| 838 |
+
{
|
| 839 |
+
"type": "text",
|
| 840 |
+
"text": "We have explored chain-of-thought prompting as a simple mechanism for eliciting multi-step reasoning behavior in large language models. We first saw that chain-of-thought prompting improves performance by a large margin on arithmetic reasoning, yielding improvements that are much stronger than ablations and robust to different annotators, exemplars, and language models (Section 3). Next, experiments on commonsense reasoning underscored how the linguistic nature of chain-of-thought reasoning makes it generally applicable (Section 4). Finally, we showed that for symbolic reasoning, chain-of-thought prompting facilitates OOD generalization to longer sequence lengths (Section 5). In all experiments, chain-of-thought reasoning is elicited simply by prompting an off-the-shelf language model. No language models were finetuned in the process of writing this paper. ",
|
| 841 |
+
"bbox": [
|
| 842 |
+
176,
|
| 843 |
+
818,
|
| 844 |
+
825,
|
| 845 |
+
873
|
| 846 |
+
],
|
| 847 |
+
"page_idx": 7
|
| 848 |
+
},
|
| 849 |
+
{
|
| 850 |
+
"type": "text",
|
| 851 |
+
"text": "",
|
| 852 |
+
"bbox": [
|
| 853 |
+
174,
|
| 854 |
+
92,
|
| 855 |
+
825,
|
| 856 |
+
161
|
| 857 |
+
],
|
| 858 |
+
"page_idx": 8
|
| 859 |
+
},
|
| 860 |
+
{
|
| 861 |
+
"type": "text",
|
| 862 |
+
"text": "The emergence of chain-of-thought reasoning as a result of model scale has been a prevailing theme (Wei et al., 2022b). For many reasoning tasks where standard prompting has a flat scaling curve, chainof-thought prompting leads to dramatically increasing scaling curves. Chain-of-thought prompting appears to expand the set of tasks that large language models can perform successfully—in other words, our work underscores that standard prompting only provides a lower bound on the capabilities of large language models. This observation likely raises more questions than it answers—for instance, how much more can we expect reasoning ability to improve with a further increase in model scale? What other prompting methods might expand the range of tasks that language models can solve? ",
|
| 863 |
+
"bbox": [
|
| 864 |
+
173,
|
| 865 |
+
166,
|
| 866 |
+
825,
|
| 867 |
+
279
|
| 868 |
+
],
|
| 869 |
+
"page_idx": 8
|
| 870 |
+
},
|
| 871 |
+
{
|
| 872 |
+
"type": "text",
|
| 873 |
+
"text": "As for limitations, we first qualify that although chain of thought emulates the thought processes of human reasoners, this does not answer whether the neural network is actually “reasoning,” which we leave as an open question. Second, although the cost of manually augmenting exemplars with chains of thought is minimal in the few-shot setting, such annotation costs could be prohibitive for finetuning (though this could potentially be surmounted with synthetic data generation, or zero-shot generalization). Third, there is no guarantee of correct reasoning paths, which can lead to both correct and incorrect answers; improving factual generations of language models is an open direction for future work (Rashkin et al., 2021; Ye and Durrett, 2022; Wiegreffe et al., 2022, inter alia). Finally, the emergence of chain-of-thought reasoning only at large model scales makes it costly to serve in real-world applications; further research could explore how to induce reasoning in smaller models. ",
|
| 874 |
+
"bbox": [
|
| 875 |
+
174,
|
| 876 |
+
284,
|
| 877 |
+
825,
|
| 878 |
+
422
|
| 879 |
+
],
|
| 880 |
+
"page_idx": 8
|
| 881 |
+
},
|
| 882 |
+
{
|
| 883 |
+
"type": "text",
|
| 884 |
+
"text": "7 Related Work ",
|
| 885 |
+
"text_level": 1,
|
| 886 |
+
"bbox": [
|
| 887 |
+
174,
|
| 888 |
+
441,
|
| 889 |
+
321,
|
| 890 |
+
458
|
| 891 |
+
],
|
| 892 |
+
"page_idx": 8
|
| 893 |
+
},
|
| 894 |
+
{
|
| 895 |
+
"type": "text",
|
| 896 |
+
"text": "This work is inspired by many research areas, which we detail in an extended related work section (Appendix C). Here we describe two directions and associated papers that are perhaps most relevant. ",
|
| 897 |
+
"bbox": [
|
| 898 |
+
176,
|
| 899 |
+
473,
|
| 900 |
+
825,
|
| 901 |
+
501
|
| 902 |
+
],
|
| 903 |
+
"page_idx": 8
|
| 904 |
+
},
|
| 905 |
+
{
|
| 906 |
+
"type": "text",
|
| 907 |
+
"text": "The first relevant direction is using intermediate steps to solve reasoning problems. Ling et al. (2017) pioneer the idea of using natural language rationales to solve math word problems through a series of intermediate steps. Their work is a remarkable contrast to the literature using formal languages to reason (Roy et al., 2015; Chiang and Chen, 2019; Amini et al., 2019; Chen et al., 2019). Cobbe et al. (2021) extend Ling et al. (2017) by creating a larger dataset and using it to finetune a pretrained language model rather than training a model from scratch. In the domain of program synthesis, Nye et al. (2021) leverage language models to predict the final outputs of Python programs via first line-to-line predicting the intermediate computational results, and show that their step-by-step prediction method performs better than directly predicting the final outputs. ",
|
| 908 |
+
"bbox": [
|
| 909 |
+
174,
|
| 910 |
+
507,
|
| 911 |
+
825,
|
| 912 |
+
632
|
| 913 |
+
],
|
| 914 |
+
"page_idx": 8
|
| 915 |
+
},
|
| 916 |
+
{
|
| 917 |
+
"type": "text",
|
| 918 |
+
"text": "Naturally, this paper also relates closely to the large body of recent work on prompting. Since the popularization of few-shot prompting as given by Brown et al. (2020), several general approaches have improved the prompting ability of models, such as automatically learning prompts (Lester et al., 2021) or giving models instructions describing a task (Wei et al., 2022a; Sanh et al., 2022; Ouyang et al., 2022). Whereas these approaches improve or augment the input part of the prompt (e.g., instructions that are prepended to inputs), our work takes the orthogonal direction of augmenting the outputs of language models with a chain of thought. ",
|
| 919 |
+
"bbox": [
|
| 920 |
+
174,
|
| 921 |
+
638,
|
| 922 |
+
825,
|
| 923 |
+
736
|
| 924 |
+
],
|
| 925 |
+
"page_idx": 8
|
| 926 |
+
},
|
| 927 |
+
{
|
| 928 |
+
"type": "text",
|
| 929 |
+
"text": "8 Conclusions ",
|
| 930 |
+
"text_level": 1,
|
| 931 |
+
"bbox": [
|
| 932 |
+
174,
|
| 933 |
+
755,
|
| 934 |
+
307,
|
| 935 |
+
772
|
| 936 |
+
],
|
| 937 |
+
"page_idx": 8
|
| 938 |
+
},
|
| 939 |
+
{
|
| 940 |
+
"type": "text",
|
| 941 |
+
"text": "We have explored chain-of-thought prompting as a simple and broadly applicable method for enhancing reasoning in language models. Through experiments on arithmetic, symbolic, and commonsense reasoning, we find that chain-of-thought reasoning is an emergent property of model scale that allows sufficiently large language models to perform reasoning tasks that otherwise have flat scaling curves. Broadening the range of reasoning tasks that language models can perform will hopefully inspire further work on language-based approaches to reasoning. ",
|
| 942 |
+
"bbox": [
|
| 943 |
+
174,
|
| 944 |
+
786,
|
| 945 |
+
825,
|
| 946 |
+
869
|
| 947 |
+
],
|
| 948 |
+
"page_idx": 8
|
| 949 |
+
},
|
| 950 |
+
{
|
| 951 |
+
"type": "text",
|
| 952 |
+
"text": "Acknowledgements ",
|
| 953 |
+
"text_level": 1,
|
| 954 |
+
"bbox": [
|
| 955 |
+
176,
|
| 956 |
+
89,
|
| 957 |
+
338,
|
| 958 |
+
106
|
| 959 |
+
],
|
| 960 |
+
"page_idx": 9
|
| 961 |
+
},
|
| 962 |
+
{
|
| 963 |
+
"type": "text",
|
| 964 |
+
"text": "We thank Jacob Devlin, Claire Cui, Andrew Dai, and Ellie Pavlick for providing feedback on the paper. We thank Jacob Austin, Yuhuai Wu, Henryk Michalewski, Aitor Lewkowycz, Charles Sutton, and Aakanksha Chowdhery for helpful discussions. We thank Sid Maxwell for notifying us about a mistake in the manual error analysis in the original manuscript. ",
|
| 965 |
+
"bbox": [
|
| 966 |
+
174,
|
| 967 |
+
121,
|
| 968 |
+
825,
|
| 969 |
+
176
|
| 970 |
+
],
|
| 971 |
+
"page_idx": 9
|
| 972 |
+
},
|
| 973 |
+
{
|
| 974 |
+
"type": "text",
|
| 975 |
+
"text": "References \nMichael Ahn, Anthony Brohan, Noah Brown, Yevgen Chebotar, Omar Cortes, Byron David, Chelsea Finn, Keerthana Gopalakrishnan, Karol Hausman, Alex Herzog, et al. 2022. Do as I can, not as I say: Grounding language in robotic affordances. arXiv preprint arXiv:2204.01691. \nAida Amini, Saadia Gabriel, Shanchuan Lin, Rik Koncel-Kedziorski, Yejin Choi, and Hannaneh Hajishirzi. 2019. MathQA: Towards interpretable math word problem solving with operationbased formalisms. 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), Minneapolis, Minnesota. Association for Computational Linguistics. \nDaniel Andor, Luheng He, Kenton Lee, and Emily Pitler. 2019. Giving BERT a calculator: Finding operations and arguments with reading comprehension. EMNLP. \nJacob Andreas, Dan Klein, and Sergey Levine. 2018. Learning with latent language. NAACL. \nJacob Austin, Augustus Odena, Maxwell Nye, Maarten Bosma, Henryk Michalewski, David Dohan, Ellen Jiang, Carrie Cai, Michael Terry, Quoc Le, et al. 2021. Program synthesis with large language models. arXiv preprint arXiv:2108.07732. \nBIG-bench collaboration. 2021. Beyond the imitation game: Measuring and extrapolating the capabilities of language models. In preparation. \nKaj Bostrom, Xinyu Zhao, Swarat Chaudhuri, and Greg Durrett. 2021. Flexible generation of natural language deductions. EMNLP. \nTom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel Ziegler, Jeffrey Wu, Clemens Winter, Chris Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. 2020. Language models are few-shot learners. NeurIPS. \nJonathon Cai, Richard Shin, and Dawn Song. 2017. Making neural programming architectures generalize via recursion. ICLR. \nOana-Maria Camburu, Tim Rocktäschel, Thomas Lukasiewicz, and Phil Blunsom. 2018. e-SNLI: Natural language inference with natural language explanations. NeurIPS. \nHoward Chen, Jacqueline He, Karthik Narasimhan, and Danqi Chen. 2022. Can rationalization improve robustness? NAACL. \nMark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, et al. 2021. Evaluating large language models trained on code. arXiv preprint arXiv:2107.03374. \nXinyun Chen, Chen Liang, Adams Wei Yu, Denny Zhou, Dawn Song, and Quoc V. Le. 2019. Neural symbolic reader: Scalable integration of distributed and symbolic representations for reading comprehension. ICLR. \nTing-Rui Chiang and Yun-Nung Chen. 2019. Semantically-aligned equation generation for solving and reasoning math word problems. 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 2656–2668, Minneapolis, Minnesota. Association for Computational Linguistics. ",
|
| 976 |
+
"bbox": [
|
| 977 |
+
165,
|
| 978 |
+
186,
|
| 979 |
+
828,
|
| 980 |
+
921
|
| 981 |
+
],
|
| 982 |
+
"page_idx": 9
|
| 983 |
+
},
|
| 984 |
+
{
|
| 985 |
+
"type": "text",
|
| 986 |
+
"text": "Peter Clark, Oyvind Tafjord, and Kyle Richardson. 2020. Transformers as soft reasoners over language. IJCAI. ",
|
| 987 |
+
"bbox": [
|
| 988 |
+
171,
|
| 989 |
+
90,
|
| 990 |
+
825,
|
| 991 |
+
121
|
| 992 |
+
],
|
| 993 |
+
"page_idx": 10
|
| 994 |
+
},
|
| 995 |
+
{
|
| 996 |
+
"type": "text",
|
| 997 |
+
"text": "Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Jacob Hilton, Reiichiro Nakano, Christopher Hesse, and John Schulman. 2021. Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168. ",
|
| 998 |
+
"bbox": [
|
| 999 |
+
174,
|
| 1000 |
+
128,
|
| 1001 |
+
823,
|
| 1002 |
+
171
|
| 1003 |
+
],
|
| 1004 |
+
"page_idx": 10
|
| 1005 |
+
},
|
| 1006 |
+
{
|
| 1007 |
+
"type": "text",
|
| 1008 |
+
"text": "Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: Pre-training of deep bidirectional transformers for language understanding. NAACL. ",
|
| 1009 |
+
"bbox": [
|
| 1010 |
+
171,
|
| 1011 |
+
180,
|
| 1012 |
+
825,
|
| 1013 |
+
210
|
| 1014 |
+
],
|
| 1015 |
+
"page_idx": 10
|
| 1016 |
+
},
|
| 1017 |
+
{
|
| 1018 |
+
"type": "text",
|
| 1019 |
+
"text": "Honghua Dong, Jiayuan Mao, Tian Lin, Chong Wang, Lihong Li, and Denny Zhou. 2019. Neural logic machines. ICLR. ",
|
| 1020 |
+
"bbox": [
|
| 1021 |
+
173,
|
| 1022 |
+
218,
|
| 1023 |
+
823,
|
| 1024 |
+
247
|
| 1025 |
+
],
|
| 1026 |
+
"page_idx": 10
|
| 1027 |
+
},
|
| 1028 |
+
{
|
| 1029 |
+
"type": "text",
|
| 1030 |
+
"text": "Dheeru Dua, Sameer Singh, and Matt Gardner. 2020. Benefits of intermediate annotations in reading comprehension. ACL. ",
|
| 1031 |
+
"bbox": [
|
| 1032 |
+
173,
|
| 1033 |
+
256,
|
| 1034 |
+
823,
|
| 1035 |
+
286
|
| 1036 |
+
],
|
| 1037 |
+
"page_idx": 10
|
| 1038 |
+
},
|
| 1039 |
+
{
|
| 1040 |
+
"type": "text",
|
| 1041 |
+
"text": "Mor Geva, Daniel Khashabi, Elad Segal, Tushar Khot, Dan Roth, and Jonathan Berant. 2021. Did aristotle use a laptop? A question answering benchmark with implicit reasoning strategies. TACL. ",
|
| 1042 |
+
"bbox": [
|
| 1043 |
+
174,
|
| 1044 |
+
295,
|
| 1045 |
+
823,
|
| 1046 |
+
324
|
| 1047 |
+
],
|
| 1048 |
+
"page_idx": 10
|
| 1049 |
+
},
|
| 1050 |
+
{
|
| 1051 |
+
"type": "text",
|
| 1052 |
+
"text": "Yuling Gu, Bhavana Dalvi Mishra, and Peter Clark. 2022. DREAM: Uncovering mental models behind language models. NAACL. ",
|
| 1053 |
+
"bbox": [
|
| 1054 |
+
176,
|
| 1055 |
+
332,
|
| 1056 |
+
823,
|
| 1057 |
+
363
|
| 1058 |
+
],
|
| 1059 |
+
"page_idx": 10
|
| 1060 |
+
},
|
| 1061 |
+
{
|
| 1062 |
+
"type": "text",
|
| 1063 |
+
"text": "Braden Hancock, Paroma Varma, Stephanie Wang, Martin Bringmann, Percy Liang, and Christopher Ré. 2018. Training classifiers with natural language explanations. ACL. ",
|
| 1064 |
+
"bbox": [
|
| 1065 |
+
176,
|
| 1066 |
+
371,
|
| 1067 |
+
823,
|
| 1068 |
+
400
|
| 1069 |
+
],
|
| 1070 |
+
"page_idx": 10
|
| 1071 |
+
},
|
| 1072 |
+
{
|
| 1073 |
+
"type": "text",
|
| 1074 |
+
"text": "Peter Hase and Mohit Bansal. 2022. When can models learn from explanations? a formal framework for understanding the roles of explanation data. ACL. ",
|
| 1075 |
+
"bbox": [
|
| 1076 |
+
176,
|
| 1077 |
+
409,
|
| 1078 |
+
821,
|
| 1079 |
+
439
|
| 1080 |
+
],
|
| 1081 |
+
"page_idx": 10
|
| 1082 |
+
},
|
| 1083 |
+
{
|
| 1084 |
+
"type": "text",
|
| 1085 |
+
"text": "Dan Hendrycks, Collin Burns, Saurav Kadavath, Akul Arora, Steven Basart, Eric Tang, Dawn Song, and Jacob Steinhardt. 2021. Measuring mathematical problem solving with the math dataset. arXiv preprint arXiv:2103.03874. ",
|
| 1086 |
+
"bbox": [
|
| 1087 |
+
174,
|
| 1088 |
+
446,
|
| 1089 |
+
823,
|
| 1090 |
+
489
|
| 1091 |
+
],
|
| 1092 |
+
"page_idx": 10
|
| 1093 |
+
},
|
| 1094 |
+
{
|
| 1095 |
+
"type": "text",
|
| 1096 |
+
"text": "Mohammad Javad Hosseini, Hannaneh Hajishirzi, Oren Etzioni, and Nate Kushman. 2014. Learning to solve arithmetic word problems with verb categorization. EMNLP. ",
|
| 1097 |
+
"bbox": [
|
| 1098 |
+
174,
|
| 1099 |
+
498,
|
| 1100 |
+
823,
|
| 1101 |
+
529
|
| 1102 |
+
],
|
| 1103 |
+
"page_idx": 10
|
| 1104 |
+
},
|
| 1105 |
+
{
|
| 1106 |
+
"type": "text",
|
| 1107 |
+
"text": "Zhanming Jie, Jierui Li, and Wei Lu. 2022. Learning to reason deductively: Math word problem solving as complex relation extraction. arXiv preprint arXiv:2203.10316. ",
|
| 1108 |
+
"bbox": [
|
| 1109 |
+
173,
|
| 1110 |
+
536,
|
| 1111 |
+
825,
|
| 1112 |
+
566
|
| 1113 |
+
],
|
| 1114 |
+
"page_idx": 10
|
| 1115 |
+
},
|
| 1116 |
+
{
|
| 1117 |
+
"type": "text",
|
| 1118 |
+
"text": "Jared Kaplan, Sam McCandlish, Tom Henighan, Tom B Brown, Benjamin Chess, Rewon Child, Scott Gray, Alec Radford, Jeffrey Wu, and Dario Amodei. 2020. Scaling laws for neural language models. arXiv preprint arXiv:2001.08361. ",
|
| 1119 |
+
"bbox": [
|
| 1120 |
+
176,
|
| 1121 |
+
574,
|
| 1122 |
+
823,
|
| 1123 |
+
617
|
| 1124 |
+
],
|
| 1125 |
+
"page_idx": 10
|
| 1126 |
+
},
|
| 1127 |
+
{
|
| 1128 |
+
"type": "text",
|
| 1129 |
+
"text": "Rik Koncel-Kedziorski, Subhro Roy, Aida Amini, Nate Kushman, and Hannaneh Hajishirzi. 2016. MAWPS: A math word problem repository. NAACL. ",
|
| 1130 |
+
"bbox": [
|
| 1131 |
+
171,
|
| 1132 |
+
626,
|
| 1133 |
+
825,
|
| 1134 |
+
656
|
| 1135 |
+
],
|
| 1136 |
+
"page_idx": 10
|
| 1137 |
+
},
|
| 1138 |
+
{
|
| 1139 |
+
"type": "text",
|
| 1140 |
+
"text": "Andrew K. Lampinen, Ishita Dasgupta, Stephanie C.Y. Chan, Kory Matthewson, Michael Henry Tessler, Antonia Creswell, James L. McClelland, Jane X. Wang, and Felix Hill. 2022. Can language models learn from explanations in context? arXiv preprint arXiv:2204.02329. ",
|
| 1141 |
+
"bbox": [
|
| 1142 |
+
176,
|
| 1143 |
+
665,
|
| 1144 |
+
823,
|
| 1145 |
+
708
|
| 1146 |
+
],
|
| 1147 |
+
"page_idx": 10
|
| 1148 |
+
},
|
| 1149 |
+
{
|
| 1150 |
+
"type": "text",
|
| 1151 |
+
"text": "Yihuai Lan, Lei Wang, Qiyuan Zhang, Yunshi Lan, Bing Tian Dai, Yan Wang, Dongxiang Zhang, and Ee-Peng Lim. 2021. MWPToolkit: An open-source framework for deep learning-based math word problem solvers. arXiv preprint arXiv:2109.00799. ",
|
| 1152 |
+
"bbox": [
|
| 1153 |
+
176,
|
| 1154 |
+
717,
|
| 1155 |
+
823,
|
| 1156 |
+
760
|
| 1157 |
+
],
|
| 1158 |
+
"page_idx": 10
|
| 1159 |
+
},
|
| 1160 |
+
{
|
| 1161 |
+
"type": "text",
|
| 1162 |
+
"text": "Teven Le Scao and Alexander Rush. 2021. How many data points is a prompt worth? NAACL. ",
|
| 1163 |
+
"bbox": [
|
| 1164 |
+
171,
|
| 1165 |
+
768,
|
| 1166 |
+
794,
|
| 1167 |
+
785
|
| 1168 |
+
],
|
| 1169 |
+
"page_idx": 10
|
| 1170 |
+
},
|
| 1171 |
+
{
|
| 1172 |
+
"type": "text",
|
| 1173 |
+
"text": "Brian Lester, Rami Al-Rfou, and Noah Constant. 2021. The power of scale for parameter-efficient prompt tuning. EMNLP. ",
|
| 1174 |
+
"bbox": [
|
| 1175 |
+
171,
|
| 1176 |
+
792,
|
| 1177 |
+
823,
|
| 1178 |
+
821
|
| 1179 |
+
],
|
| 1180 |
+
"page_idx": 10
|
| 1181 |
+
},
|
| 1182 |
+
{
|
| 1183 |
+
"type": "text",
|
| 1184 |
+
"text": "Iddo Lev, Bill MacCartney, Christopher Manning, and Roger Levy. 2004. Solving logic puzzles: From robust processing to precise semantics. Proceedings of the 2nd Workshop on Text Meaning and Interpretation. ",
|
| 1185 |
+
"bbox": [
|
| 1186 |
+
174,
|
| 1187 |
+
830,
|
| 1188 |
+
821,
|
| 1189 |
+
873
|
| 1190 |
+
],
|
| 1191 |
+
"page_idx": 10
|
| 1192 |
+
},
|
| 1193 |
+
{
|
| 1194 |
+
"type": "text",
|
| 1195 |
+
"text": "Xiang Lisa Li and Percy Liang. 2021. Prefix-tuning: Optimizing continuous prompts for generation. ACL. ",
|
| 1196 |
+
"bbox": [
|
| 1197 |
+
174,
|
| 1198 |
+
882,
|
| 1199 |
+
820,
|
| 1200 |
+
911
|
| 1201 |
+
],
|
| 1202 |
+
"page_idx": 10
|
| 1203 |
+
},
|
| 1204 |
+
{
|
| 1205 |
+
"type": "text",
|
| 1206 |
+
"text": "Zhengzhong Liang, Steven Bethard, and Mihai Surdeanu. 2021. Explainable multi-hop verbal reasoning through internal monologue. NAACL. \nWang Ling, Dani Yogatama, Chris Dyer, and Phil Blunsom. 2017. Program induction by rationale generation: Learning to solve and explain algebraic word problems. ACL. \nPengfei Liu, Weizhe Yuan, Jinlan Fu, Zhengbao Jiang, Hiroaki Hayashi, and Graham Neubig. 2021. Pre-train, prompt, and predict: A systematic survey of prompting methods in natural language processing. arXiv preprint arXiv:2107.13586. \nBodhisattwa Prasad Majumder, Oana-Maria Camburu, Thomas Lukasiewicz, and Julian McAuley. 2021. Rationale-inspired natural language explanations with commonsense. arXiv preprint arXiv:2106.13876. \nAna Marasovic, Iz Beltagy, Doug Downey, and Matthew E Peters. 2022. ´ Few-shot self-rationalization with natural language prompts. NAACL Findings. \nJoshua Maynez, Shashi Narayan, Bernd Bohnet, and Ryan McDonald. 2020. On faithfulness and factuality in abstractive summarization. In ACL. \nShen Yun Miao, Chao Chun Liang, and Keh Yih Su. 2020. A diverse corpus for evaluating and developing English math word problem solvers. ACL. \nSewon Min, Xinxi Lyu, Ari Holtzman, Mikel Artetxe, Mike Lewis, Hannaneh Hajishirzi, and Luke Zettlemoyer. 2022. Rethinking the role of demonstrations: What makes in-context learning work? arXiv preprint arXiv:2202.12837. \nSharan Narang, Colin Raffel, Katherine Lee, Adam Roberts, Noah Fiedel, and Karishma Malkan. 2020. WT5?! Training text-to-text models to explain their predictions. arXiv preprint arXiv:2004.14546. \nMaxwell Nye, Anders Johan Andreassen, Guy Gur-Ari, Henryk Michalewski, Jacob Austin, David Bieber, David Dohan, Aitor Lewkowycz, Maarten Bosma, David Luan, et al. 2021. Show your work: Scratchpads for intermediate computation with language models. arXiv preprint arXiv:2112.00114. \nLong Ouyang, Jeff Wu, Xu Jiang, Diogo Almeida, Carroll L. Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. 2022. Training language models to follow instructions with human feedback. arXiv preprint arXiv:2203.02155. \nArkil Patel, Satwik Bhattamishra, and Navin Goyal. 2021. Are NLP models really able to solve simple math word problems? NAACL. \nMatthew E. Peters, Mark Neumann, Mohit Iyyer, Matt Gardner, Christopher Clark, Kenton Lee, and Luke Zettlemoyer. 2018. Deep contextualized word representations. NAACL. \nXinyu Pi, Qian Liu, Bei Chen, Morteza Ziyadi, Zeqi Lin, Yan Gao, Qiang Fu, Jian-Guang Lou, and Weizhu Chen. 2022. Reasoning like program executors. arXiv preprint arXiv:2201.11473. \nPiotr Pi˛ekos, Mateusz Malinowski, and Henryk Michalewski. 2021. Measuring and improving BERT’s mathematical abilities by predicting the order of reasoning. ACL. \nJack W. Rae, Sebastian Borgeaud, Trevor Cai, Katie Millican, Jordan Hoffmann, Francis Song, John Aslanides, Sarah Henderson, Roman Ring, Susannah Young, et al. 2021. Scaling language models: Methods, analysis & insights from training Gopher. arXiv preprint arXiv:2112.11446. \nColin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. 2020. Exploring the limits of transfer learning with a unified text-to-text transformer. Journal of Machine Learning Research, 21:1–67. \nDheeraj Rajagopal, Vidhisha Balachandran, Eduard H. Hovy, and Yulia Tsvetkov. 2021. SelfExplain: A self-explaining architecture for neural text classifiers. EMNLP. \nNazneen Fatema Rajani, Bryan McCann, Caiming Xiong, and Richard Socher. 2019. Explain yourself! Leveraging language models for commonsense reasoning. ACL. ",
|
| 1207 |
+
"bbox": [
|
| 1208 |
+
169,
|
| 1209 |
+
45,
|
| 1210 |
+
828,
|
| 1211 |
+
915
|
| 1212 |
+
],
|
| 1213 |
+
"page_idx": 11
|
| 1214 |
+
},
|
| 1215 |
+
{
|
| 1216 |
+
"type": "text",
|
| 1217 |
+
"text": "Qiu Ran, Yankai Lin, Peng Li, Jie Zhou, and Zhiyuan Liu. 2019. NumNet: Machine reading comprehension with numerical reasoning. EMNLP. ",
|
| 1218 |
+
"bbox": [
|
| 1219 |
+
171,
|
| 1220 |
+
90,
|
| 1221 |
+
825,
|
| 1222 |
+
119
|
| 1223 |
+
],
|
| 1224 |
+
"page_idx": 12
|
| 1225 |
+
},
|
| 1226 |
+
{
|
| 1227 |
+
"type": "text",
|
| 1228 |
+
"text": "Hannah Rashkin, Vitaly Nikolaev, Matthew Lamm, Michael Collins, Dipanjan Das, Slav Petrov, Gaurav Singh Tomar, Iulia Turc, and David Reitter. 2021. Measuring attribution in natural language generation models. arXiv preprint arXiv:2112.12870. ",
|
| 1229 |
+
"bbox": [
|
| 1230 |
+
176,
|
| 1231 |
+
130,
|
| 1232 |
+
823,
|
| 1233 |
+
172
|
| 1234 |
+
],
|
| 1235 |
+
"page_idx": 12
|
| 1236 |
+
},
|
| 1237 |
+
{
|
| 1238 |
+
"type": "text",
|
| 1239 |
+
"text": "Gabriel Recchia. 2021. Teaching autoregressive language models complex tasks by demonstration. arXiv preprint arXiv:2109.02102. ",
|
| 1240 |
+
"bbox": [
|
| 1241 |
+
173,
|
| 1242 |
+
183,
|
| 1243 |
+
823,
|
| 1244 |
+
212
|
| 1245 |
+
],
|
| 1246 |
+
"page_idx": 12
|
| 1247 |
+
},
|
| 1248 |
+
{
|
| 1249 |
+
"type": "text",
|
| 1250 |
+
"text": "Emily Reif, Daphne Ippolito, Ann Yuan, Andy Coenen, Chris Callison-Burch, and Jason Wei. 2022. A recipe for arbitrary text style transfer with large language models. ACL. ",
|
| 1251 |
+
"bbox": [
|
| 1252 |
+
176,
|
| 1253 |
+
222,
|
| 1254 |
+
825,
|
| 1255 |
+
252
|
| 1256 |
+
],
|
| 1257 |
+
"page_idx": 12
|
| 1258 |
+
},
|
| 1259 |
+
{
|
| 1260 |
+
"type": "text",
|
| 1261 |
+
"text": "Laria Reynolds and Kyle McDonell. 2021. Prompt programming for large language models: Beyond the few-shot paradigm. Extended Abstracts of the 2021 CHI Conference on Human Factors in Computing Systems. ",
|
| 1262 |
+
"bbox": [
|
| 1263 |
+
176,
|
| 1264 |
+
262,
|
| 1265 |
+
826,
|
| 1266 |
+
305
|
| 1267 |
+
],
|
| 1268 |
+
"page_idx": 12
|
| 1269 |
+
},
|
| 1270 |
+
{
|
| 1271 |
+
"type": "text",
|
| 1272 |
+
"text": "Subhro Roy and Dan Roth. 2015. Solving general arithmetic word problems. EMNLP. ",
|
| 1273 |
+
"bbox": [
|
| 1274 |
+
171,
|
| 1275 |
+
314,
|
| 1276 |
+
743,
|
| 1277 |
+
330
|
| 1278 |
+
],
|
| 1279 |
+
"page_idx": 12
|
| 1280 |
+
},
|
| 1281 |
+
{
|
| 1282 |
+
"type": "text",
|
| 1283 |
+
"text": "Subhro Roy, Tim Vieira, and Dan Roth. 2015. Reasoning about Quantities in Natural Language. TACL. ",
|
| 1284 |
+
"bbox": [
|
| 1285 |
+
173,
|
| 1286 |
+
340,
|
| 1287 |
+
823,
|
| 1288 |
+
369
|
| 1289 |
+
],
|
| 1290 |
+
"page_idx": 12
|
| 1291 |
+
},
|
| 1292 |
+
{
|
| 1293 |
+
"type": "text",
|
| 1294 |
+
"text": "Mohammed Saeed, Naser Ahmadi, Preslav Nakov, and Paolo Papotti. 2021. RuleBERT: Teaching soft rules to pre-trained language models. EMNLP. ",
|
| 1295 |
+
"bbox": [
|
| 1296 |
+
171,
|
| 1297 |
+
378,
|
| 1298 |
+
825,
|
| 1299 |
+
409
|
| 1300 |
+
],
|
| 1301 |
+
"page_idx": 12
|
| 1302 |
+
},
|
| 1303 |
+
{
|
| 1304 |
+
"type": "text",
|
| 1305 |
+
"text": "Victor Sanh, Albert Webson, Colin Raffel, Stephen H. Bach, Lintang Sutawika, Zaid Alyafeai, Antoine Chaffin, Arnaud Stiegler, Teven Le Scao, Arun Raja, et al. 2022. Multitask prompted training enables zero-shot task generalization. ICLR. ",
|
| 1306 |
+
"bbox": [
|
| 1307 |
+
176,
|
| 1308 |
+
417,
|
| 1309 |
+
823,
|
| 1310 |
+
462
|
| 1311 |
+
],
|
| 1312 |
+
"page_idx": 12
|
| 1313 |
+
},
|
| 1314 |
+
{
|
| 1315 |
+
"type": "text",
|
| 1316 |
+
"text": "Jianhao Shen, Yichun Yin, Lin Li, Lifeng Shang, Xin Jiang, Ming Zhang, and Qun Liu. 2021. Generate & rank: A multi-task framework for math word problems. In Findings of the Association for Computational Linguistics: EMNLP 2021. ",
|
| 1317 |
+
"bbox": [
|
| 1318 |
+
174,
|
| 1319 |
+
472,
|
| 1320 |
+
823,
|
| 1321 |
+
515
|
| 1322 |
+
],
|
| 1323 |
+
"page_idx": 12
|
| 1324 |
+
},
|
| 1325 |
+
{
|
| 1326 |
+
"type": "text",
|
| 1327 |
+
"text": "Alon Talmor, Jonathan Herzig, Nicholas Lourie, and Jonathan Berant. 2019. CommonsenseQA: A question answering challenge targeting commonsense knowledge. NAACL. ",
|
| 1328 |
+
"bbox": [
|
| 1329 |
+
173,
|
| 1330 |
+
525,
|
| 1331 |
+
825,
|
| 1332 |
+
554
|
| 1333 |
+
],
|
| 1334 |
+
"page_idx": 12
|
| 1335 |
+
},
|
| 1336 |
+
{
|
| 1337 |
+
"type": "text",
|
| 1338 |
+
"text": "Alon Talmor, Oyvind Tafjord, Peter Clark, Yoav Goldberg, and Jonathan Berant. 2020. Leap-ofthought: Teaching pre-trained models to systematically reason over implicit knowledge. NeurIPS. ",
|
| 1339 |
+
"bbox": [
|
| 1340 |
+
171,
|
| 1341 |
+
564,
|
| 1342 |
+
826,
|
| 1343 |
+
594
|
| 1344 |
+
],
|
| 1345 |
+
"page_idx": 12
|
| 1346 |
+
},
|
| 1347 |
+
{
|
| 1348 |
+
"type": "text",
|
| 1349 |
+
"text": "Alon Talmor, Ori Yoran, Ronan Le Bras, Chandra Bhagavatula, Yoav Goldberg, Yejin Choi, and Jonathan Berant. 2021. CommonsenseQA 2.0: Exposing the limits of ai through gamification. NeurIPS Track on Datasets and Benchmarks. ",
|
| 1350 |
+
"bbox": [
|
| 1351 |
+
176,
|
| 1352 |
+
603,
|
| 1353 |
+
825,
|
| 1354 |
+
646
|
| 1355 |
+
],
|
| 1356 |
+
"page_idx": 12
|
| 1357 |
+
},
|
| 1358 |
+
{
|
| 1359 |
+
"type": "text",
|
| 1360 |
+
"text": "Yi Tay, Mostafa Dehghani, Vinh Q Tran, Xavier Garcia, Dara Bahri, Tal Schuster, Huaixiu Steven Zheng, Neil Houlsby, and Donald Metzler. 2022. Unifying language learning paradigms. arXiv preprint arXiv:2205.05131. ",
|
| 1361 |
+
"bbox": [
|
| 1362 |
+
176,
|
| 1363 |
+
656,
|
| 1364 |
+
823,
|
| 1365 |
+
699
|
| 1366 |
+
],
|
| 1367 |
+
"page_idx": 12
|
| 1368 |
+
},
|
| 1369 |
+
{
|
| 1370 |
+
"type": "text",
|
| 1371 |
+
"text": "Romal Thoppilan, Daniel De Freitas, Jamie Hall, Noam Shazeer, Apoorv Kulshreshtha, Heng-Tze Cheng, Alicia Jin, Taylor Bos, Leslie Baker, Yu Du, et al. 2022. LaMDA: Language models for dialog applications. arXiv preprint arXiv:2201.08239. ",
|
| 1372 |
+
"bbox": [
|
| 1373 |
+
176,
|
| 1374 |
+
709,
|
| 1375 |
+
823,
|
| 1376 |
+
752
|
| 1377 |
+
],
|
| 1378 |
+
"page_idx": 12
|
| 1379 |
+
},
|
| 1380 |
+
{
|
| 1381 |
+
"type": "text",
|
| 1382 |
+
"text": "Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le, Ed Chi, and Denny Zhou. 2022a. Self-consistency improves chain of thought reasoning in language models. arXiv preprint arXiv:2203.11171. ",
|
| 1383 |
+
"bbox": [
|
| 1384 |
+
173,
|
| 1385 |
+
762,
|
| 1386 |
+
825,
|
| 1387 |
+
805
|
| 1388 |
+
],
|
| 1389 |
+
"page_idx": 12
|
| 1390 |
+
},
|
| 1391 |
+
{
|
| 1392 |
+
"type": "text",
|
| 1393 |
+
"text": "Yizhong Wang, Swaroop Mishra, Pegah Alipoormolabashi, Yeganeh Kordi, Amirreza Mirzaei, Anjana Arunkumar, Arjun Ashok, Arut Selvan Dhanasekaran, Atharva Naik, David Stap, et al. 2022b. Benchmarking generalization via in-context instructions on $1 { , } 6 0 0 { + }$ language tasks. arXiv preprint arXiv:2204.07705. ",
|
| 1394 |
+
"bbox": [
|
| 1395 |
+
178,
|
| 1396 |
+
815,
|
| 1397 |
+
823,
|
| 1398 |
+
872
|
| 1399 |
+
],
|
| 1400 |
+
"page_idx": 12
|
| 1401 |
+
},
|
| 1402 |
+
{
|
| 1403 |
+
"type": "text",
|
| 1404 |
+
"text": "Jason Wei, Maarten Bosma, Vincent Y. Zhao, Kelvin Guu, Adams Wei Yu, Brian Lester, Nan Du, Andrew M. Dai, and Quoc V. Le. 2022a. Finetuned language models are zero-shot learners. ICLR. ",
|
| 1405 |
+
"bbox": [
|
| 1406 |
+
174,
|
| 1407 |
+
882,
|
| 1408 |
+
823,
|
| 1409 |
+
912
|
| 1410 |
+
],
|
| 1411 |
+
"page_idx": 12
|
| 1412 |
+
},
|
| 1413 |
+
{
|
| 1414 |
+
"type": "text",
|
| 1415 |
+
"text": "Jason Wei, Yi Tay, Rishi Bommasani, Colin Raffel, Barret Zoph, Sebastian Borgeaud, Dani Yogatama, Maarten Bosma, Denny Zhou, Donald Metzler, et al. 2022b. Emergent abilities of large language models. Transactions on Machine Learning Research. \nSarah Wiegreffe, Jack Hessel, Swabha Swayamdipta, Mark Riedl, and Yejin Choi. 2022. Reframing human-AI collaboration for generating free-text explanations. NAACL. \nSarah Wiegreffe and Ana Marasovic. 2021. ´ Teach me to explain: A review of datasets for explainable NLP. NeurIPS. \nSarah Wiegreffe, Ana Marasovic, and Noah A. Smith. 2021. ´ Measuring association between labels and free-text rationales. EMNLP. \nTongshuang Wu, Ellen Jiang, Aaron Donsbach, Jeff Gray, Alejandra Molina, Michael Terry, and Carrie J Cai. 2022a. PromptChainer: Chaining large language model prompts through visual programming. CHI Extended Abstracts. \nTongshuang Wu, Michael Terry, and Carrie Jun Cai. 2022b. AI chains: Transparent and controllable human-AI interaction by chaining large language model prompts. CHI. \nYujun Yan, Kevin Swersky, Danai Koutra, Parthasarathy Ranganathan, and Milad Hashemi. 2020. Neural execution engines: Learning to execute subroutines. NeurIPS. \nHuihan Yao, Ying Chen, Qinyuan Ye, Xisen Jin, and Xiang Ren. 2021. Refining language models with compositional explanations. NeurIPS. \nXi Ye and Greg Durrett. 2022. The unreliability of explanations in few-shot in-context learning. arXiv preprint arXiv:2205.03401. \nYordan Yordanov, Vid Kocijan, Thomas Lukasiewicz, and Oana-Maria Camburu. 2021. Few-shot out-of-domain transfer learning of natural language explanations. arXiv preprint arXiv:2112.06204. \nOmar Zaidan, Jason Eisner, and Christine Piatko. 2007. Using “annotator rationales” to improve machine learning for text categorization. NAACL. \nWojciech Zaremba and Ilya Sutskever. 2014. Learning to execute. arXiv preprint arXiv:1410.4615. \nEric Zelikman, Yuhuai Wu, and Noah D. Goodman. 2022. STaR: Bootstrapping reasoning with reasoning. arXiv preprint arXiv:2203.14465. \nTony Z. Zhao, Eric Wallace, Shi Feng, Dan Klein, and Sameer Singh. 2021. Calibrate before use: Improving few-shot performance of language models. ICML. \nWangchunshu Zhou, Jinyi Hu, Hanlin Zhang, Xiaodan Liang, Maosong Sun, Chenyan Xiong, and Jian Tang. 2020. Towards interpretable natural language understanding with explanations as latent variables. NeurIPS. ",
|
| 1416 |
+
"bbox": [
|
| 1417 |
+
171,
|
| 1418 |
+
90,
|
| 1419 |
+
828,
|
| 1420 |
+
680
|
| 1421 |
+
],
|
| 1422 |
+
"page_idx": 13
|
| 1423 |
+
}
|
| 1424 |
+
]
|
parse/dev/_VjQlMeSB_J/_VjQlMeSB_J_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/_VjQlMeSB_J/_VjQlMeSB_J_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/eYciPrLuUhG/eYciPrLuUhG_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/ldRb12nMfLQ/ldRb12nMfLQ.md
ADDED
|
@@ -0,0 +1,228 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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+
|
| 3 |
+
Anonymous authors Paper under double-blind review
|
| 4 |
+
|
| 5 |
+
# ABSTRACT
|
| 6 |
+
|
| 7 |
+
We present a novel deep learning approach to approximate the solution of large, sparse, symmetric, positive-definite linear systems of equations. These systems arise from many problems in applied science, e.g., in numerical methods for partial differential equations. Algorithms for approximating the solution to these systems are often the bottleneck in problems that require their solution, particularly for modern applications that require many millions of unknowns. Indeed, numerical linear algebra techniques have been investigated for many decades to alleviate this computational burden. Recently, data-driven techniques have also shown promise for these problems. Motivated by the conjugate gradients algorithm that iteratively selects search directions for minimizing the matrix norm of the approximation error, we design an approach that utilizes a deep neural network to accelerate convergence via data-driven improvement of the search directions. Our method leverages a carefully chosen convolutional network to approximate the action of the inverse of the linear operator up to an arbitrary constant. We train the network using unsupervised learning with a loss function equal to the $L ^ { 2 }$ difference between an input and the system matrix times the network evaluation, where the unspecified constant in the approximate inverse is accounted for. We demonstrate the efficacy of our approach on spatially discretized Poisson equations with millions of degrees of freedom arising in computational fluid dynamics applications. Unlike state-of-the-art learning approaches, our algorithm is capable of reducing the linear system residual to a given tolerance in a small number of iterations, independent of the problem size. Moreover, our method generalizes effectively to various systems beyond those encountered during training.
|
| 8 |
+
|
| 9 |
+
# 1 INTRODUCTION
|
| 10 |
+
|
| 11 |
+
In this work, we consider sparse linear systems that arise from discrete Poisson equations in incompressible flow applications (Chorin, 1967; Fedkiw et al., 2001; Bridson, 2008). We use the notation
|
| 12 |
+
|
| 13 |
+
$$
|
| 14 |
+
\mathbf { A } { \boldsymbol { \mathbf { \mathit { x } } } } = \mathbf { \mathit { b } }
|
| 15 |
+
$$
|
| 16 |
+
|
| 17 |
+
where the dimension $n$ of the matrix $A \in \mathbb { R } ^ { n \times n }$ and the vector $b \in \mathbb { R } ^ { n }$ correlate with spatial fidelity of the computational domain. The appropriate numerical linear algebra technique depends on the nature of the problem. Direct solvers that utilize matrix factorizations (QR, Cholesky, etc. Trefethen & Bau (1997)) have optimal approximation error, but their computational cost is $\operatorname { \dot { O } } ( n ^ { 3 } )$ and they typically require dense storage, even for sparse $\pmb { A }$ . Although Fast Fourier Transforms (Nussbaumer, 1981) can be used in limited instances (periodic boundary conditions, etc.), iterative techniques are most commonly adopted for these systems given their sparsity. Many applications with strict performance constraints (e.g., real-time fluid simulation) utilize basic iterations (Jacobi, Gauss-Seidel, successive over relaxation (SOR), etc.) given limited computational budget (Saad, 2003). However, large approximation errors must be tolerated since iteration counts are limited by the performance constraints. This is particularly problematic since the wide elliptic spectrum of these matrices (a condition that worsens with increased spatial fidelity/matrix dimension) leads to poor conditioning and iteration counts. Iterative techniques can achieve sub-quadratic convergence if their iteration count does not grow excessively with problem size $n$ since each iteration generally requires $O ( n )$ floating point operations for sparse matrices. Discrete elliptic operators are typically symmetric positive (semi) definite and the preconditioned conjugate gradients method (PCG) can be used to minimize iteration counts (Saad, 2003; Hestenes & Stiefel, 1952; Stiefel, 1952). Preconditioners $_ { r }$ for PCG must simultaneously: be symmetric positive definite (SPD) (and therefore admit factorization ${ \boldsymbol { P } } = { \boldsymbol { F } } ^ { 2 }$ ), improve the condition number of the preconditioned system $F A F y = F b$ , and be computationally cheap to construct and apply; accordingly, designing specialized preconditioners for particular classes of problems is somewhat of an art. Incomplete Cholesky preconditioners (ICPCG) (Kershaw, 1978) use a sparse approximation to the Cholesky factorization and significantly reduce iteration counts in practice; however, their inherent data dependency prevents efficient parallel implementation. Nonetheless, these are very commonly adopted for Poisson equations arising in incompressible flow (Fedkiw et al., 2001; Bridson, 2008). Multigrid (Brandt, 1977) and domain decomposition (Saad, 2003) preconditioners greatly reduce iterations counts, but they must be updated (with non-trivial cost) each time the problem changes (e.g., in computational domains with time varying boundaries) and/or for different hardware platforms. In general, choice of an optimal preconditioner for discrete elliptic operators is an open area of research.
|
| 18 |
+
|
| 19 |
+
Recently, data-driven approaches that leverage deep learning techniques have shown promise for solving linear systems. Various researchers have investigated machine learning estimation of multigrid parameters (Greenfeld et al., 2019; Grebhahn et al., 2016; Luz et al., 2020). Others have developed machine learning methods to estimate preconditioners (Gotz & Anzt, 2018; Stanaityte, 2020; ¨ Ichimura et al., 2020) and initial guesses for iterative methods (Luna et al., 2021; Um et al., 2020; Ackmann et al., 2020). Tompson et al. (2017) and Yang et al. (2016) develop non-iterative machine learning approximations of the inverse of discrete Poisson equations from incompressible flow. We leverage deep learning and develop a novel version of conjugate gradients iterative method for approximating the solution of SPD linear systems which we call the deep conjugate direction method (DCDM). CG iteratively adds $\pmb { A }$ -conjugate search directions while minimizing the matrix norm of the error. We use a convolutional neural network (CNN) as an approximation of the inverse of the matrix in order to generate more efficient search directions. We only ask that our network approximate the inverse up to an unknown scaling since this decreases the degree of nonlinearity and since it does not affect the quality of the search direction (which is scale independent). The network is similar to a preconditioner, but it is not a linear function, and our modified conjugate gradients approach is designed to accommodate this nonlinearity. We use unsupervised learning to train our network with a loss function equal to the $L ^ { 2 }$ difference between an input vector and a scaling of $\pmb { A }$ times the output of our network. To account for this unknown scaling during training, we choose the scale of the output of the network by minimizing the matrix norm of the error. Our approach allows for efficient training and generalization to problems unseen (matrices $\pmb { A }$ and right-hand sides $^ { b }$ ). We benchmark our algorithm using the ubiquitous pressure Poisson equation (discretized on regular voxelized domains) and compare against FluidNet (Tompson et al., 2017), which is the state of the art learning-based method for these types of problems. Unlike the non-iterative approaches of Tompson et al. (2017) and Yang et al. (2016), our method can reduce the linear system residuals arbitrarily. We showcase our approach with examples that have over 16 million degrees of freedom.
|
| 20 |
+
|
| 21 |
+
# 2 RELATED WORK
|
| 22 |
+
|
| 23 |
+
Several papers have focused on enhancing the solution of linear systems (arising from discretized PDEs) using learning. For instance, Gotz & Anzt (2018) generate sparsity patterns for block-Jacobi ¨ preconditioners using convolutional neural networks, and Stanaityte (2020) use a CNN to predict non-zero patterns for ILU-type preconditioners for the Navier-Stokes equations (though neither work designs fundamentally new preconditioners). Ichimura et al. (2020) develop a neural-network based preconditioner where the network is used to predict approximate Green’s functions (which arise in the analytical solution of certain PDEs) that in turn yield an approximate inverse of the linear system. Hsieh et al. (2019) learn an iterator that solves linear systems, performing competitively with classical solvers like multigrid-preconditioned MINRES (Paige & Saunders, 1975). Luz et al. (2020) and Greenfeld et al. (2019) use machine learning to estimate algebraic multigrid (AMG) parameters. They note that AMG approaches rely most fundamentally on effectively chosen (problem-dependent) prolongation sparse matrices and that numerous methods have attempted to automatically create them from the matrix $\pmb { A }$ . They train a graph neural network to learn (in an unsupervised fashion) a mapping from matrices $\pmb { A }$ to prolongation operators. Grebhahn et al. (2016) note that geometric multigrid solver parameters can be difficult to choose to guarantee parallel performance on different hardware platforms. They use machine learning to create a code generator to help achieve this.
|
| 24 |
+
|
| 25 |
+

|
| 26 |
+
Figure 1: (a) We illustrate a sample flow domain $\Omega \subset ( 0 , 1 ) ^ { 2 }$ (in 2D for ease of illustration) with internal boundaries (blue lines). (b) We voxelize the domain with a regular grid: white cells represent interior/fluid, and blue cells represent boundary conditions. (c) We train using matrix $A ^ { ( 0 , 1 ) ^ { d } }$ from a discretized domain with no interior boundary conditions, where $d$ is the dimension. This creates linear system with $n = ( n _ { c } + 1 ) ^ { d }$ unknowns where $n _ { c }$ is the number of grid cells on each direction. (d) We illustrate the non-zero entries in an example matrix $A ^ { \Omega }$ from the voxelized and labeled (white vs. blue) grid for three example interior cells (green, purple, and brown). Each case illustrates the non-zero entries in the row associated with the example cell. All entries in rows corresponding to boundary/blue cells are zero.
|
| 27 |
+
|
| 28 |
+
Several works consider accelerating the solution of linear systems by learning an initial guess that is close to the true solution or otherwise helpful to descent algorithms for finding the true solution. In order to solve the discretized Poisson equation, Luna et al. (2021) accelerate the convergence of GMRES (Saad & Schultz, 1986) with an initial guess that is learned in real-time (i.e., as a simulation code runs) with no prior data. Um et al. (2020) train a network (incorporating differentiable physics, based on the underlying PDEs) in order to produce high-quality initial guesses for a CG solver. In a somewhat similar vein, Ackmann et al. (2020) use a simple feedforward neural network to predict pointwise solution components, which accelerates the conjugate residual method used to solve a relatively simple shallow-water model (a more sophisticated network and loss function are needed to handle more general PDEs and larger-scale problems).
|
| 29 |
+
|
| 30 |
+
At least two papers (Ruelmann et al., 2018; Sappl et al., 2019) have sought to learn a mapping between a matrix and an associated sparse approximate inverse. In their investigation, Ruelmann et al. (2018) propose training a neural network using matrix-inverse pairs as training data. Although straightforward to implement, the cost of generating training data, let alone training the network, is prohibitive for large-scale 3D problems. Sappl et al. (2019) seek to learn a mapping between linear system matrices and sparse (banded) approximate inverses. Their loss function is the condition number of the product of the system matrix and the approximate inverse; the minimum value of the condition number is one, which is achieved exactly when an exact inverse is obtained. Although this framework is quite simple, evaluating the condition number of a matrix is asymptotically costly, and in general, the inverse of a sparse matrix can be quite dense. Accordingly, the method is not efficient or accurate enough for the large-scale 3D problems that arise in real-world engineering problems.
|
| 31 |
+
|
| 32 |
+
Most relevant to the present work is FluidNet (Tompson et al., 2017). FluidNet develops a highlytailored CNN architecture that is used to predict the solution of a linear projection operation (specifically, for the discrete Poisson equation) given a matrix and right-hand side. The authors demonstrate fluid simulations where the linear solve is replaced by evaluating their network. Because their network is relatively lightweight and is only evaluated once per time step, their simulations run efficiently. However, their design allows the network only one opportunity to reduce the residual for the linear solve; in practice, we observe that FluidNet is able to reduce the residual by no more than about one order of magnitude. However, in computer graphics applications, at least four orders of magnitude in residual reduction are usually required for visual fidelity, while in scientific and engineering applications, practitioners prefer solutions that reduce the residual by eight or more orders of magnitude (i.e., to within machine precision). Accordingly, FluidNet’s lack of convergence stands in stark contrast to classical, convergent methods like CG. Our method resolves this gap.
|
| 33 |
+
|
| 34 |
+
# 3 MOTIVATION: INCOMPRESSIBLE FLOW
|
| 35 |
+
|
| 36 |
+
We demonstrate the efficacy of our approach with the linear systems that arise in incompressible flow applications. Specifically, we use our algorithm to solve the discrete Poisson equations in
|
| 37 |
+
|
| 38 |
+
regular-grid-based discretization of the pressure projection equations that arise in Chorin’s splitting technique (Chorin, 1967) for the inviscid, incompressible Euler equations. These equations are
|
| 39 |
+
|
| 40 |
+
$$
|
| 41 |
+
\rho \left( \frac { \partial \pmb { u } } { \partial t } + \frac { \partial \pmb { u } } { \partial \pmb { x } } \pmb { u } \right) + \nabla p = \pmb { f } ^ { e x t } , \qquad \nabla \cdot \pmb { u } = 0
|
| 42 |
+
$$
|
| 43 |
+
|
| 44 |
+
where $\textbf { \em u }$ is fluid velocity, $p$ is pressure, $\rho$ is density, and $f ^ { e x t }$ accounts for external forces like gravity. The equations are assumed at all positions $_ { \textbf { \em x } }$ in the spatial fluid flow domain $\Omega$ and for time $t > 0$ . The left term in Equation 2 enforces conservation of momentum in the absence of viscosity, and the second part enforces incompressibility and conservation of mass. These equations are subject to initial conditions $\rho ( \pmb { x } , 0 ) = \rho ^ { 0 }$ and ${ \pmb u } ( { \pmb x } , 0 ) = { \pmb u } ^ { 0 } ( { \pmb x } )$ as well as boundary conditions ${ \pmb u } ( { \pmb x } , t ) \cdot { \pmb n } ( { \pmb x } ) = u ^ { \partial \Omega } ( { \pmb x } , t )$ on the boundary of the domain ${ \pmb x } \in \partial \Omega$ (where $\textbf { \em n }$ is the unit outward pointing normal at position $_ { \textbf { \em x } }$ on the boundary). Equation 2 is discretized in both time and space. Temporally, we split the advection $\frac { \partial \pmb { u } } { \partial t } + \frac { \partial \pmb { u } } { \partial \pmb { x } } \pmb { u } = 0$ and body forces terms $\rho \frac { \partial \pmb { u } } { \partial t } = \pmb { f } ^ { e x t }$ , and finally enforce incompressibility via the pressure projection $\frac { \partial \pmb { u } } { \partial t } + \frac { 1 } { \rho } \nabla p = \pmb { 0 }$ such that $\nabla \cdot \pmb { u } = 0$ ; this is the standard advection-projection scheme proposed by Chorin (1967). Using finite differences in time, we can summarize this as
|
| 45 |
+
|
| 46 |
+
$$
|
| 47 |
+
\begin{array} { l } { \displaystyle \rho ^ { 0 } \left( \frac { \pmb { u } ^ { * } - \pmb { u } ^ { n } } { \Delta t } + \frac { \partial \pmb { u } ^ { n } } { \partial \pmb { x } } \pmb { u } ^ { n } \right) = \pmb { f } ^ { e x t } } \\ { \displaystyle - \nabla \cdot \frac { 1 } { \rho ^ { 0 } } \nabla p ^ { n + 1 } = - \nabla \cdot \pmb { u } ^ { * } } \\ { \displaystyle \qquad - \frac { 1 } { \rho ^ { 0 } } \nabla p ^ { n + 1 } \cdot \pmb { n } = \frac { 1 } { \Delta t } \left( \pmb { u } ^ { \partial \Omega } - \pmb { u } ^ { * } \cdot \pmb { n } \right) . } \end{array}
|
| 48 |
+
$$
|
| 49 |
+
|
| 50 |
+
For the spatial discretization, we use a regular marker-and-cell (MAC) grid (Harlow & Welch, 1965) with cubic voxels whereby velocity components are stored on the face of voxel cells, and scalar quantities (e.g., pressure $p$ or density $\rho \mathrm { \hbar }$ ) are stored at voxel centers. We use backward semiLagrangian advection (Fedkiw et al., 2001; Gagniere et al., 2020) for Equation 3. All spatial partial derivatives are approximated using finite differences. Equations 4 and 5 describe the pressure Poisson equation with Neumann conditions on the boundary of the flow domain. We discretize the left hand side of Equation 4 using a standard 7-point finite difference stencil. The right-hand side is discretized using the MAC grid discrete divergence finite difference stencils as well as contributions from the boundary condition terms in Equation 5. We refer the reader to Bridson (2008) for more in-depth implementation details. Equation 5 is discretized by modifying the Poisson stencil to enforce Neumann boundary conditions. We do this using a simple labeling of the voxels in the domain. For simplicity, we assume $\Omega \subset ( 0 , 1 ) ^ { 3 }$ is a subset of the unit cube, potentially with internal boundaries. We label cells in the domain as either liquid or boundary. This simple classification is enough to define the Poisson discretizations (with appropriate Neumann boundary conditions at domain boundaries) that we focus on in the present work; we illustrate the details in Figure 1. We use the following notation to denote the discrete Poisson equations associated with Equations 4–5:
|
| 51 |
+
|
| 52 |
+
$$
|
| 53 |
+
\begin{array} { r } { { \cal A } ^ { \Omega } { \boldsymbol x } = { \boldsymbol b } ^ { \nabla \cdot { \boldsymbol u } ^ { * } } + { \boldsymbol b } ^ { u ^ { \partial \Omega } } , } \end{array}
|
| 54 |
+
$$
|
| 55 |
+
|
| 56 |
+
where $A ^ { \Omega }$ is the discrete Poisson matrix associated with the voxelized domain, $_ { \textbf { \em x } }$ is the vector of unknown pressure, and $\mathbf { \delta } _ { b } \nabla \cdot \mathbf { u } ^ { * }$ and b u ∂ Ω are the right-hand side terms from Equations 4 and 5, respectively. We define a special case of the matrix involved in this discretization to be the Poisson matrix $A ^ { ( 0 , 1 ) ^ { 3 } }$ associated with $\Omega = ( 0 , 1 ) ^ { 3 }$ , i.e., a full fluid domain with no internal boundaries. We use this matrix for training, yet demonstrate that our network generalizes to all other matrices arising from more complicated flow domains.
|
| 57 |
+
|
| 58 |
+
# 4 DEEP CONJUGATE DIRECTION METHOD
|
| 59 |
+
|
| 60 |
+
We present our method for the deep learning acceleration of iterative approximations to the solution of linear systems of the form seen in Equation 6. We first discuss relevant details of the conjugate gradients (CG) method, particularly line search and $\pmb { A }$ -orthogonal search directions. We then present a deep learning technique for improving the quality of these search directions that ultimately reduces iteration counts required to achieve satisfactory residual reduction. Lastly, we outline the training procedures for our deep convolutional neural network.
|
| 61 |
+
|
| 62 |
+
Our approach iteratively improves approximations to the solution $_ { \textbf { \em x } }$ of Equation 6. We build on the method of CG, which requires the matrix $A ^ { \Omega }$ in Equation 6 to be SPD. SPD matrices $A ^ { \Omega }$ give rise to the matrix norm $\| \pmb { y } \| _ { A ^ { \Omega } } = \sqrt { \pmb { y } ^ { T } A ^ { \Omega } \pmb { y } }$ . CG can be derived in terms of iterative line search improvement based on optimality in this norm. That is, an iterate $\pmb { x } _ { k - 1 } \approx \pmb { x }$ is updated in search direction $\scriptstyle d _ { k }$ by a step size $\alpha _ { k }$ that is chosen to minimize the matrix norm of the error:
|
| 63 |
+
|
| 64 |
+
$$
|
| 65 |
+
\alpha _ { k } = \underset { \alpha } { \arg \operatorname* { m i n } } \frac { 1 } { 2 } \left\| \pmb { x } - ( \pmb { x } _ { k - 1 } + \alpha \pmb { d } _ { k } ) \right\| _ { \pmb { A } ^ { \Omega } } ^ { 2 } = \frac { { \pmb { r } } _ { k - 1 } ^ { T } { \pmb { d } _ { k } } } { { \pmb { d } } _ { k } ^ { T } { \pmb { A } } ^ { \Omega } { \pmb { d } _ { k } } } ,
|
| 66 |
+
$$
|
| 67 |
+
|
| 68 |
+
where $\pmb { r } _ { k - 1 } = \pmb { b } - \pmb { A } ^ { \Omega } \pmb { x } _ { k - 1 }$ is the $( k - 1 ) ^ { \mathrm { t h } }$ residual and $^ { b }$ is the right-hand side in Equation 6. Different search directions result in different algorithms. A natural choice is the negative gradient of the matrix norm of the error (evaluated at the current iterate), since this will point in the direction of steepest decrease $\begin{array} { r } { \pmb { d } _ { k } = - \frac { 1 } { 2 } \nabla \left\| \pmb { x } _ { k - 1 } \right\| _ { \pmb { A } ^ { \Omega } } ^ { 2 } = \pmb { r } _ { k - 1 } } \end{array}$ . This is the gradient descent method (GD). Unfortunately, this approach requires many iterations in practice. A more effective strategy is to choose directions that are $\pmb { A }$ -orthogonal (i.e., ${ \bf \Phi } _ { { \bf i } } ^ { T } { \bf A } ^ { \Omega } { \bf d } _ { j } = \mathrm { ~ ~ \dot { ~ } { ~ 0 ~ } ~ }$ for $i \neq j$ ). With this choice, the search directions form a basis for $\mathbb { R } ^ { n }$ so that the initial error can be written as $\begin{array} { r } { \pmb { e } _ { 0 } = \pmb { x } - \pmb { x } _ { 0 } = \sum _ { i = 1 } ^ { n } e _ { i } \pmb { d } _ { i } } \end{array}$ , where $e _ { i }$ are the components of the initial error written in the basis. Furthermore, when the search directions are $\pmb { A }$ -orthogonal, the optimal step sizes $\alpha _ { k }$ at each iteration satisfy
|
| 69 |
+
|
| 70 |
+
$$
|
| 71 |
+
\alpha _ { k } = \frac { r _ { k - 1 } ^ { T } d _ { k } } { d _ { k } ^ { T } A ^ { \Omega } d _ { k } } = \frac { d _ { k } ^ { T } A ^ { \Omega } e _ { k - 1 } } { d _ { k } ^ { T } A ^ { \Omega } d _ { k } } = \frac { d _ { k } ^ { T } A ^ { \Omega } \left( \sum _ { i = 1 } ^ { n } e _ { i } d _ { i } - \sum _ { j = 1 } ^ { k - 1 } \alpha _ { j } d _ { j } \right) } { d _ { k } ^ { T } A ^ { \Omega } d _ { k } } = e _ { k } .
|
| 72 |
+
$$
|
| 73 |
+
|
| 74 |
+
That is, the optimal step sizes are chosen to precisely eliminate the components of the error on the basis defined by the search directions. Thus, convergence is determined by the (at most $n$ ) non-zero components $e _ { i }$ in the initial error. Although rounding errors prevent this from happening exactly in practice, this property greatly reduces the number of required iterations (Golub & Loan, 2012).
|
| 75 |
+
|
| 76 |
+
CG can be viewed as a modification of GD where the search direction is chosen as the component of the residual (equivalently, the negative gradient of the matrix norm of the error) that is $\pmb { A }$ -orthogonal to all previous search directions:
|
| 77 |
+
|
| 78 |
+
$$
|
| 79 |
+
\pmb { d } _ { k } = \pmb { r } _ { k - 1 } - \sum _ { i = 1 } ^ { k - 1 } h _ { i k } \pmb { d } _ { i } , \qquad h _ { i k } = \frac { { d } _ { i } ^ { T } { \pmb { A } } ^ { \Omega } \pmb { r } _ { k - 1 } } { { d } _ { i } ^ { T } { \pmb { A } } ^ { \Omega } \pmb { d } _ { i } } .
|
| 80 |
+
$$
|
| 81 |
+
|
| 82 |
+
In practice, $h _ { i k } = 0$ for $i < k - 1$ , and this iteration can therefore be performed without the need to store all previous search directions $\mathbf { \mathbf { { \alpha } } } d _ { i }$ and without the need for computing all previous $h _ { i k }$ .
|
| 83 |
+
|
| 84 |
+
While the residual is a natural choice for generating $\pmb { A }$ -orthogonal search directions (since it points in the direction of the steepest local decrease), it is not the optimal search direction. If $\scriptstyle d _ { k }$ is parallel to $( A ^ { \Omega } ) ^ { - 1 } r _ { k - 1 }$ , then $\scriptstyle { \mathbf { { \mathit { x } } } } _ { k }$ will be equal to $_ { \textbf { \em x } }$ since $\alpha _ { k }$ (computed from Equation 7) will step directly to the solution. We can see this by considering the residual and its relation to the search direction:
|
| 85 |
+
|
| 86 |
+
$$
|
| 87 |
+
\begin{array} { r } { r _ { k } = b - A ^ { \Omega } x _ { k } = b - A ^ { \Omega } x _ { k - 1 } - \alpha _ { k } A ^ { \Omega } d _ { k } = r _ { k - 1 } - \alpha _ { k } A ^ { \Omega } d _ { k } . } \end{array}
|
| 88 |
+
$$
|
| 89 |
+
|
| 90 |
+
In light of this, we use deep learning to create an approximation $f ( c , r )$ to $( A ^ { \Omega } ) ^ { - 1 } r$ , where $^ c$ denotes the network weights and biases. This is analogous to using a preconditioner in PCG; however, our network is not SPD (nor even a linear function). We simply use this data-driven approach as our means of generating better search directions $\scriptstyle d _ { k }$ . Furthermore, we only need to approximate a vector parallel to $( A ^ { \Omega } ) ^ { - 1 } r$ since the step size $\alpha _ { k }$ will account for any scaling in practice. In other words, $f ( c , r ) \approx s _ { r } ( A ^ { \Omega } ) ^ { - 1 } r$ , where the scalar $s _ { r }$ is not defined globally; it only depends on $\pmb { r }$ , and the model does not learn it. Lastly, as with CG, we enforce $\pmb { A }$ -orthogonality, yielding search directions
|
| 91 |
+
|
| 92 |
+
$$
|
| 93 |
+
\pmb { d } _ { k } = \pmb { f } ( \pmb { c } , \pmb { r } _ { k - 1 } ) - \sum _ { i = 1 } ^ { k - 1 } h _ { i k } \pmb { d } _ { i } , \qquad h _ { i k } = \frac { \pmb { f } ( \pmb { c } , \pmb { r } _ { k - 1 } ) ^ { T } \pmb { A } ^ { \Omega } \pmb { d } _ { i } } { \pmb { d } _ { i } ^ { T } \pmb { A } ^ { \Omega } \pmb { d } _ { i } } .
|
| 94 |
+
$$
|
| 95 |
+
|
| 96 |
+
We summarize our approach in Algorithm 1. Note that we introduce the variable $i _ { \mathrm { s t a r t } }$ . To guarantee $\pmb { A }$ -orthogonality between all search directions, we must have $i _ { \mathrm { s t a r t } } = 1$ . However, this requires storing all prior search directions, which can be costly. We found that using $i _ { \mathrm { s t a r t } } = k - 2$ worked nearly as well as $i _ { \mathrm { s t a r t } } = 1$ in practice (in terms of our ability to iteratively reduce the residual of the system). We demonstrate this in Figure 4c.
|
| 97 |
+
|
| 98 |
+
# 5 MODEL ARCHITECTURE, DATASETS, AND TRAINING
|
| 99 |
+
|
| 100 |
+
Efficient performance of our method requires effective training of our deep convolutional network for weights and biases $^ c$ such that $f ( c , r ) { \overset { \cdot } { \approx } } s _ { r } ( A ^ { \Omega } ) ^ { - 1 } r$ (for arbitrary scalar $s _ { r }$ ). We design a model architecture, loss function, and unsupervised training approach to achieve this. Our approach has modest training requirements and allows for effective residual reduction while generalizing well to problems not seen in the training data.
|
| 101 |
+
|
| 102 |
+
# 5.1 LOSS FUNCTION AND UNSUPERVISED LEARNING
|
| 103 |
+
|
| 104 |
+
Although we generalize to arbitrary matrices $A ^ { \Omega }$ from Equation 6 that correspond to domains $\Omega \subset ( 0 , 1 ) ^ { 3 }$ that have internal boundaries (see Figure 1), we train using just the matrix $A ^ { ( 0 , 1 ) ^ { 3 } }$ from the full cube domain $( 0 , 1 ) ^ { 3 }$ . In contrast, other similar approaches (Tompson et al., 2017; Yang et al., 2016) train using matrices $A ^ { \Omega }$ and right-hand sides $\pmb { b } ^ { \nabla \cdot \pmb { u } ^ { * } } + \overline { { \pmb { b } } } ^ { u ^ { \partial \Omega } }$ that arise from flow in many domains with internal boundaries. We train our network by minimiz
|
| 105 |
+
|
| 106 |
+
# Algorithm 1 DCDM
|
| 107 |
+
|
| 108 |
+
1: $\pmb { r } _ { 0 } = \pmb { b } - \pmb { A } ^ { \Omega } \pmb { x } _ { 0 }$
|
| 109 |
+
2: $k = 1$
|
| 110 |
+
3: while $\| r _ { k - 1 } \| \ge \epsilon$ do
|
| 111 |
+
4: dk = f (c, rk−1∥rk−1∥ )
|
| 112 |
+
5: for $i _ { \mathrm { s t a r t } } \le i < k$ do
|
| 113 |
+
6: hik = dT AΩdi dT AΩdi
|
| 114 |
+
7: dk-=hikdi
|
| 115 |
+
8: end for
|
| 116 |
+
9: $\begin{array} { r l } & { \alpha _ { k } = \frac { r _ { k - 1 } ^ { T } d _ { k } } { d _ { k } ^ { T } A ^ { \Omega } d _ { k } } } \\ & { x _ { k } = x _ { k - 1 } + \alpha _ { k } d _ { k } } \\ & { r _ { k } = b - A ^ { \Omega } x _ { k } } \\ & { k = k + 1 } \end{array}$
|
| 117 |
+
10:
|
| 118 |
+
11:
|
| 119 |
+
12:
|
| 120 |
+
13: end while
|
| 121 |
+
|
| 122 |
+
ing the L2 difference ∥r−αA(0,1)3 f (c, r)∥2, where α = rT f(c,r)f(c,r)T A(0,1)3 f(c,r) f rom Equation 7. This choice of $\alpha$ accounts for the unknown scaling in the approximation of $f ( c , r )$ to $\left( A ^ { ( 0 , 1 ) ^ { 3 } } \right) ^ { - 1 } r$ . We use an unsupervised approach and train the model by minimizing
|
| 123 |
+
|
| 124 |
+
$$
|
| 125 |
+
\begin{array} { r } { \mathrm { L o s s } ( \pmb { f } , \pmb { c } , \mathscr { D } ) = \frac { 1 } { | \mathscr { D } | } \sum _ { r \in \mathscr { D } } \| \pmb { r } - \frac { r ^ { T } f ( \pmb { c } , r ) } { \pmb { f } ( \pmb { c } , r ) ^ { T } \pmb { A } ^ { ( 0 , 1 ) ^ { 3 } } \pmb { f } ( \pmb { c } , r ) } \pmb { A } ^ { ( 0 , 1 ) ^ { 3 } } \pmb { f } ( \pmb { c } , r ) \| _ { 2 } } \end{array}
|
| 126 |
+
$$
|
| 127 |
+
|
| 128 |
+
for given dataset $\mathcal { D }$ consisting of training vectors $b ^ { i }$ . In Algorithm 1, the normalized residuals $\frac { \boldsymbol { r } _ { k } } { \| \boldsymbol { r } _ { k } \| }$ are passed as inputs to the model. Unlike in e.g. FluidNet (Tompson et al., 2017), only the first residual $\frac { r _ { 0 } } { \Vert r _ { 0 } \Vert }$ is directly related to the problem-dependent original right-hand side $^ { b }$ . Hence we consider a broader range of training vectors than those expected in a given problem of interest, e.g., incompressible flows. We observe that generally the residuals $\mathbf { \nabla } r _ { k }$ in Algorithm 1 are skewed to the lower end of the spectrum of the matrix $A ^ { \Omega }$ . Since $A ^ { \Omega }$ is a discretized elliptic operator, lower end modes are of lower frequency of spatial oscillation. We create our training vectors $\mathbf { \boldsymbol { b } } ^ { i } \in \mathcal { D }$ using $m \ll n$ approximate eigenvectors of the training matrix $A ^ { ( 0 , 1 ) ^ { 3 } }$ . We use the Rayleigh-Ritz method to create approximate eigenvectors $\pmb q _ { i }$ , $0 \leq i < m$ . This approach allows us to effectively approximate the full spectrum of $A ^ { ( 0 , 1 ) ^ { 3 } }$ without computing the full eigendecomposition, which can be expensive $( { \cal O } ( \bar { n } ^ { 3 } ) )$ at high resolution. We found that using $m \ : = \ : 1 0 0 0 0$ worked well in practice. The Rayleigh-Ritz vectors are orthonormal and satisfy $Q _ { m } ^ { T } A ^ { ( 0 , 1 ) ^ { 3 } } Q _ { m } = \Lambda _ { m }$ , where $\pmb { \Lambda } _ { m }$ is a diagonal matrix with nondecreasing diagonal entries $\lambda _ { i }$ referred to as Ritz values (approximate eigenvalues) and $\pmb { Q } _ { m } = [ \pmb { q } _ { 0 } , \pmb { q } _ { 1 } , \dots , \pmb { q } _ { m - 1 } ] \in \mathbb { R } ^ { n \times m }$ . We pick $\begin{array} { r } { \pmb { b } ^ { i } = \frac { \sum _ { j = 0 } ^ { m - 1 } c _ { j } ^ { i } \pmb { q } _ { j } } { \left\| \sum _ { j = 0 } ^ { m - 1 } c _ { j } ^ { i } \pmb { q } _ { j } \right\| } } \end{array}$ , where the coefficients $c _ { j } ^ { i }$ are picked from a standard normal distribution
|
| 129 |
+
|
| 130 |
+
$$
|
| 131 |
+
c _ { j } ^ { i } = \left\{ { \begin{array} { l l } { 0 \cdot \mathcal { N } ( 0 , 1 ) } & { { \mathrm { i f ~ } } \tilde { j } \leq j \leq { \frac { m } { 2 } } + \theta } \\ { \mathcal { N } ( 0 , 1 ) } & { { \mathrm { o t h e r w i s e } } } \end{array} } \right.
|
| 132 |
+
$$
|
| 133 |
+
|
| 134 |
+
where $\theta$ is a small number (we used $\theta = 5 0 0$ ), and $\tilde { j }$ is the first index that $\lambda _ { \tilde { j } } ^ { - } > 0$ . This choice creates $9 0 \%$ of $\mathbf { \nabla } _ { b } i$ from the lower end of the spectrum, with the remaining $1 0 \%$ from the higher end. The Riemann-Lebesgue Lemma states the Fourier spectrum of a continuous function will decay at infinity, so this specific choice of $b _ { i }$ ’s is reasonable for the training set. In practice, we also observed that the right-hand sides of the pressure system that arose in flow problems (in the empty domain) tended to be at the lower end of the spectrum. Notably, even though this dataset only uses RayleighRitz vectors from the training matrix $A ^ { ( 0 , 1 ) ^ { 3 } }$ , our network can be effectively generalized to flows in irregular domains, e.g., smoke flow past a rotating box and flow past a bunny (see Figure 3).
|
| 135 |
+
|
| 136 |
+
We generate the Rayleigh-Ritz vectors by first tridiagonalizing the training matrix $A ^ { ( 0 , 1 ) ^ { 3 } }$ with Lanczos iterations (Lanczos, 1950) to form $\pmb { T } ^ { m } = \pmb { Q } _ { m } ^ { L } ^ { T } \pmb { A } ^ { ( 0 , 1 ) ^ { 3 } } \pmb { Q } _ { m } ^ { L } \in \mathbb { R } ^ { m \times m }$ . We then diagonalize $\pmb { T } ^ { m } = \hat { \pmb { Q } } ^ { T } \pmb { \Lambda } _ { m } \hat { \pmb { Q } }$ . While costly, we note that this algorithm is performed on the comparably small $m \times m$ matrix $\mathbf { T } ^ { m }$ (rather than on the $A ^ { ( 0 , 1 ) ^ { 3 } } \in \mathbb { R } ^ { n \times n } ,$ ). This yields the Rayleigh-Ritz vectors as the columns of $Q _ { m } = Q _ { m } ^ { L } \hat { Q }$ . The Lanczos vectors are the columns of the matrix $Q _ { m } ^ { L }$ and satisfy a three-term recurrence whereby the next Lanczos vector can be computed from the previous two as
|
| 137 |
+
|
| 138 |
+
$$
|
| 139 |
+
\beta _ { j } \pmb { q } _ { j + 1 } ^ { L } = \pmb { A } ^ { ( 0 , 1 ) ^ { 3 } } \pmb { q } _ { j } ^ { L } - \beta _ { j - 1 } \pmb { q } _ { j - 1 } ^ { L } - \alpha _ { j } \pmb { q } _ { j } ^ { L } ,
|
| 140 |
+
$$
|
| 141 |
+
|
| 142 |
+
where $\alpha _ { j }$ and $\beta _ { j }$ are diagonal and subdiagonal entries of $\pmb { T } ^ { k }$ . $\beta _ { j }$ is computed so that $\pmb q _ { j + 1 } ^ { L }$ is a unit vector, and $\alpha _ { j + 1 } = \pmb { q } _ { j + 1 } ^ { T } \pmb { A } ^ { ( 0 , 1 ) ^ { 3 } } \pmb { q } _ { j + 1 }$ . We initialize the iteration with a random $\pmb { q } _ { 0 } ^ { L } \in \mathrm { s p a n } ( \pmb { A } ^ { ( 0 , 1 ) ^ { 3 } } )$ . The Lanczos algorithm can be viewed as a modified Gram-Schmidt technique to create an orthonormal basis for the Krylov space associated with $\pmb q _ { 0 } ^ { L }$ and $A ^ { ( 0 , 1 ) ^ { 3 } }$ , and it therefore suffers from rounding error sensitivities manifested as loss of orthonormality with vectors that do not appear in the recurrence. We found that the simple strategy described in Paige (1971) of orthogonalizing each iterate with all previous Lanczos vectors to be sufficient for our training purposes. Dataset creation takes 5–7 hours for a $6 4 ^ { 3 }$ computational grid, and 2–2.5 days for a $\boldsymbol { 1 2 8 ^ { \overline { { 3 } } } }$ grid.
|
| 143 |
+
|
| 144 |
+
# 5.2 MODEL ARCHITECTURE
|
| 145 |
+
|
| 146 |
+

|
| 147 |
+
Figure 2: Model architecture for training with $A ^ { ( 0 , 1 ) ^ { 3 } }$ on a $1 2 8 ^ { 3 }$ grid.
|
| 148 |
+
|
| 149 |
+
The internal structure of our CNN architecture for a $1 2 8 ^ { 3 }$ grid is shown in Figure 2. It consists of a series of convolutional layers with residual connections. The upper left of Figure 2 ( $K$ Residual Blocks) shows our use of multiple blocks of residually connected layers. Notably, within each block, the first layer directly affects the last layer with an addition operator.All non-input or output convolutions use a $3 \times 3 \times 3$ filter, and all layers consist of 16 feature maps. In the middle of the first level, a layer is downsampled (via the average pool
|
| 150 |
+
|
| 151 |
+
ing operator with $( 2 \times 2 \times 2 )$ pool size) and another set of convolutional layers is applied with residual connection blocks. The last layer in the second level is upscaled and added to the layer that is downsampled. The last layer in the network is dense with a linear activation function. The activation functions in all convolutional layers are ReLU, except for the first convolution, which uses a linear activation function.
|
| 152 |
+
|
| 153 |
+
Initially we tried a simple deep feedforward convolutional network with residual connections (motivated by He et al. (2016)). Although such a simple model works well for DCDM, it requires high number of layers, which results in higher training and inference times. We found that creating parallel layers of CNNs with downsampling reduced the number of layers required. In summary, our goal was to first identify the simplest network architecture that provided adequate accuracy for our target problems, and subsequently, we sought to make architectural changes to minimize training and inference time; further optimizations are possible.
|
| 154 |
+
|
| 155 |
+
Differing resolutions use differing numbers of convolutions, but the fundamental structure remains the same. More precisely, the number of residual connections is changed for different resolutions. For example, a $6 \dot { 4 } ^ { 3 }$ grid uses one residual block on the left, two on the right on the upper level, and three on the lower level. Furthermore, the weights trained on a lower resolution grid can be used effectively with higher resolutions. Figure 4d shows convergence results for a $2 \mathrm { { 5 6 ^ { 3 } } }$ grid, using a model trained for a $6 4 ^ { 3 }$ grid and a $1 2 \bar { 8 } ^ { 3 }$ grid. The model that we use for $2 5 6 ^ { 3 }$ grids in our final examples was trained on a $1 2 8 ^ { 3 }$ grid; however, as the shown in the figure, even training with a $6 4 ^ { 3 }$ grid allows for efficient residual reduction. Table 1 shows results for three different resolutions, where DCDM uses $6 4 ^ { 3 }$ and $1 2 8 ^ { 3 }$ trained models. This approach makes the number of parameters in the model independent of the spatial fidelity of the problem.
|
| 156 |
+
|
| 157 |
+
# 5.3 TRAINING
|
| 158 |
+
|
| 159 |
+
Using the procedure explained in Section 5.1, we create the training dataset ${ \mathcal { D } } \in \mathsf { s p a n } ( A ^ { ( 0 , 1 ) ^ { 3 } } ) \cap { \mathcal { S } } ^ { n - 1 }$ of size 20000 generated from 10000 Rayleigh-Ritz vectors. We train our model with TensorFlow (Abadi et al., 2015) on a single NVIDIA RTX A6000 GPU with 48GB memory. Training is done with standard deep learning techniques—more precisely, back-propagation and the ADAM optimizer (Kingma & Ba, 2015) (with starting learning rate 0.0001). Training takes approximately 10 minutes and 1 hour per epoch for grid resolutions $6 4 ^ { 3 }$ and $\mathrm { \dot { 1 } 2 8 ^ { 3 } }$ , respectively. We trained our model for 50 epochs; however, the model from the thirty
|
| 160 |
+
|
| 161 |
+

|
| 162 |
+
Figure 3: DCDM for simulating a variety of incompressible flow examples. Left: smoke plume at $t \ =$ 6.67, 13.33, 20 seconds. Middle: smoke passing bunny at $t = 5 , 1 0 , 1 5$ seconds. Right: smoke passing a spinning box (time-dependent Neumann boundary conditions) at $t = 2 . 6 7 , 6 , 9 . 3 3$ seconds.
|
| 163 |
+
|
| 164 |
+
first epoch was optimal for $6 4 ^ { 3 }$ , and the model from the third epoch was optimal for $1 2 8 ^ { 3 }$
|
| 165 |
+
|
| 166 |
+
# 6 RESULTS AND ANALYSIS
|
| 167 |
+
|
| 168 |
+
We demonstrate DCDM on three increasingly difficult examples and provide numerical evidence for the efficient convergence of our method. All examples were run on a workstation with dual AMD EPYC 75F3 processors and 512GB RAM.
|
| 169 |
+
|
| 170 |
+
Figure 3 showcases DCDM for incompressible smoke simulations. In each simulation, inlet boundary conditions are set in a circular portion of the bottom of the cubic domain, whereby smoke flows around potential obstacles and fills the domain. We show a smoke plume (no obstacles), flow past a complex static geometry (the Stanford bunny), and flow past a dynamic geometry (a rotating cube). Visually plausible and highly-detailed results are achieved for each simulation (see supplementary material for larger videos). The plume example uses a computational grid with resolution $1 2 8 ^ { 3 }$ , while the other two uses grids with resolution $2 5 6 ^ { 3 }$ (representing over 16 million unknowns). For each linear solve, DCDM was run until the residual was reduced by four orders of magnitude.
|
| 171 |
+
|
| 172 |
+
Table 1: Timing and iteration comparison for different methods on the bunny example. DCDM- $\{ 6 4 , 1 2 8 \}$ calls a model whose parameters trained over a $\{ 6 4 ^ { 3 } , 1 2 8 ^ { 3 } \}$ grid. All computations are done using only CPUs; model inference does not use GPUs.
|
| 173 |
+
|
| 174 |
+
For the bunny example, Figures 4a–b demonstrate how residuals decrease over the course of a linear solve, comparing DCDM with other methods. Figure 4a shows the mean results (with standard deviations) over the course of 400 simulation frames, while in Figure 4b, we illustrate behavior on a particular frame (frame 150). For
|
| 175 |
+
|
| 176 |
+
<table><tr><td></td><td colspan="2">64 Grid</td><td colspan="2">1283 Grid</td><td colspan="2">2563 Grid</td></tr><tr><td>Method</td><td>tr</td><td>nr</td><td>tr</td><td>nr</td><td>tr</td><td>nr</td></tr><tr><td>DCDM-64</td><td>2.71s</td><td>16</td><td>22s</td><td>27</td><td>261s</td><td>58</td></tr><tr><td>DCDM-128</td><td>5.37s</td><td>19</td><td>26s</td><td>24</td><td>267s</td><td>44</td></tr><tr><td>CG</td><td>1.77s</td><td>168</td><td>26s</td><td>465</td><td>1548s</td><td>1046</td></tr><tr><td>Deflated PCG</td><td>771.6s</td><td>117</td><td>3700s</td><td>277</td><td>21030s</td><td>489</td></tr></table>
|
| 177 |
+
|
| 178 |
+
FluidNet, we use the implementation provided by fluidnetsc22 (2022). This implementation includes pre-trained models that we use without modification. In both subfigures, it is evident that the FluidNet residual never changes, since the method is not iterative; FluidNet reduces the initial residual by no more than one order of magnitude. On the other hand, with DCDM, we can continually reduce the residual (e.g., by four orders of magnitude) as we apply more iterations of our method, just as with classical CG. In Figure 4b, we also visualize the convergence of three other classical methods, CG, Deflated PCG (Saad et al., 2000), and incomplete Cholesky preconditioned CG (ICPCG)); clearly, DCDM reduces the residual in the fewest number of iterations (e.g., approximately one order of magnitude fewer iterations than ICPCG). Since FluidNet is not an iterative method and lacks a notion of residual reduction, we treat $r _ { 0 }$ for FluidNet as though an initial guess of zero is used (as is done in our solver).
|
| 179 |
+
|
| 180 |
+

|
| 181 |
+
Figure 4: Convergence data for the bunny example. (a) Mean and std. dev. (over all 400 frames in the simulation) of residual reduction during linear solves (with $1 2 8 ^ { 3 }$ and $2 5 6 ^ { 3 }$ grids) using FluidNet (FN) and DCDM. (b) Residual plots with CG, ICPCG, Deflated PCG, FN, and DCDM at frame 150. Dashed and solid lines represent results for $1 2 8 ^ { 3 }$ and $2 5 6 ^ { 3 }$ , respectively. (c) Decrease in residuals with varying degrees of $\pmb { A }$ -orthogonalization $( i _ { s } ~ = ~ i _ { \mathrm { s t a r t } } )$ . (d) Reduction in residuals when the network is trained with a $6 4 ^ { 3 }$ or $1 \bar { 2 } 8 ^ { 3 }$ grid for the $2 5 6 ^ { 3 }$ grid simulation shown in Figure 3 Middle.
|
| 182 |
+
|
| 183 |
+
To clarify these results, Table 1 reports convergence statistics for DCDM compared to standard iterative techniques CG and Deflated PCG. For all $6 4 ^ { 3 }$ , $1 2 8 ^ { 3 }$ , and $2 5 6 ^ { 3 }$ grids with the bunny example, we measure the time $t _ { r }$ and the number of iterations $n _ { r }$ required to reduce the initial residual on a particular time step of the simulation by four orders of magnitude. DCDM achieves the desired results in by far the fewest number of iterations at all resolutions. At $2 5 6 ^ { 3 }$ , DCDM performs approximately 6 times faster than CG, suggesting a potentially even wider performance advantage at higher resolutions. Inference is the dominant cost in an iteration of DCDM; the other linear algebra computations in an iteration of DCDM are comparable to those in CG. The nice result of our method is that despite the increased time per iteration, the number of required iterations is reduced so drastically that DCDM materially outperforms classical methods like CG. Although ICPCG successfully reduces number of iterations $^ { 4 \mathrm { ~ b ~ } }$ , we found the runtime to scale prohibitively with grid resolution, so we exclude it from comparison in table 1. Notably, even though Deflated PCG and DCDM are based on approximate Ritz vectors, DCDM performs far better, indicating the value of using a neural network.
|
| 184 |
+
|
| 185 |
+
# 7 CONCLUSIONS
|
| 186 |
+
|
| 187 |
+
We presented DCDM, incorporating CNNs into a CG-style algorithm that yields efficient, convergent behavior for solving linear systems. Our method is evaluated on linear systems with over 16 million degrees of freedom and converges to a desired tolerance in merely tens of iterations. Furthermore, despite training the underlying network on domains without obstacles, our network is able to successfully predict search directions that enable efficient linear solves on domains with complex and dynamic geometries. Moreover, the training data for our network does not require running fluid simulations or solving linear systems ahead of time; our Rayleigh-Ritz vector approach enables us to quickly generate very large training datasets, unlike approaches seen in other works.
|
| 188 |
+
|
| 189 |
+
Our network was designed for and trained exclusively using data related to the discrete Poisson matrix, which likely limits the generalizability of our present model. However, we believe our method is readily applicable to other classes of PDEs (or general problems with graph structure) that give rise to large, sparse, symmetric linear systems. We note that our method is unlikely to work well for matrices that have high computational cost to evaluate $A * x$ (such as dense matrices), since training relies on efficient $\boldsymbol { A } * \boldsymbol { x }$ evaluations. An interesting question to consider is how well our method and current models would apply to discrete Poisson matrices arising from non-uniform grids, e.g., quadtrees or octrees (Losasso et al., 2004).
|
| 190 |
+
|
| 191 |
+
REFERENCES
|
| 192 |
+
M. Abadi, A. Agarwal, P. Barham, E. Brevdo, Z. Chen, C. Citro, G. S. Corrado, A. Davis, J. Dean, M. Devin, S. Ghemawat, I. Goodfellow, A. Harp, G. Irving, M. Isard, Y. Jia, R. Jozefowicz, L. Kaiser, M. Kudlur, J. Levenberg, D. Mane, R. Monga, S. Moore, D. Murray, C. Olah, ´ M. Schuster, J. Shlens, B. Steiner, I. Sutskever, K. Talwar, P. Tucker, V. Vanhoucke, V. Vasudevan, F. Viegas, O. Vinyals, P. Warden, M. Wattenberg, M. Wicke, Y. Yu, and X. Zheng. ´ TensorFlow: Large-scale machine learning on heterogeneous systems, 2015. URL https: //www.tensorflow.org/. Software available from tensorflow.org.
|
| 193 |
+
J. Ackmann, P. D. Duben, T. N. Palmer, and P. K. Smolarkiewicz. Machine-learned preconditioners ¨ for linear solvers in geophysical fluid flows. arXiv preprint arXiv:2010.02866, 2020.
|
| 194 |
+
A. Brandt. Multi-level adaptive solutions to boundary-value problems. Math Comp, 31(138):333– 390, 1977.
|
| 195 |
+
R. Bridson. Fluid simulation for computer graphics. Taylor & Francis, 2008.
|
| 196 |
+
A. Chorin. A numerical method for solving incompressible viscous flow problems. J Comp Phys, 2 (1):12–26, 1967.
|
| 197 |
+
R. Fedkiw, J. Stam, and H. Jensen. Visual simulation of smoke. In SIGGRAPH, pp. 15–22. ACM, 2001.
|
| 198 |
+
fluidnetsc22. fluidnetsc22/fluidnet sc22: v0.0.1, April 2022. URL https://doi.org/10. 5281/zenodo.6424901. doi: 10.5281/zenodo.6424901, URL: https://doi.org/10. 5281/zenodo.6424901.
|
| 199 |
+
S. Gagniere, D. Hyde, A. Marquez-Razon, C. Jiang, Z. Ge, X. Han, Q. Guo, and J. Teran. A hybrid Lagrangian/Eulerian collocated velocity advection and projection method for fluid simulation. Computer Graphics Forum, 39(8):1–14, 2020. doi: https://doi.org/10.1111/cgf.14096.
|
| 200 |
+
G. Golub and C. Van Loan. Matrix computations, volume 3. JHU Press, 2012.
|
| 201 |
+
M. Gotz and H. Anzt. Machine learning-aided numerical linear algebra: Convolutional neural net- ¨ works for the efficient preconditioner generation. In 2018 IEEE/ACM 9th Workshop on Latest Advances in Scalable Algorithms for Large-Scale Systems (scalA), pp. 49–56. IEEE, 2018.
|
| 202 |
+
A. Grebhahn, N. Siegmund, H. Kostler, and S. Apel. Performance prediction of multigrid-solver ¨ configurations. In Software for Exascale Computing-SPPEXA 2013-2015, pp. 69–88. Springer, 2016.
|
| 203 |
+
D. Greenfeld, M. Galun, R. Basri, I. Yavneh, and R. Kimmel. Learning to optimize multigrid PDE solvers. In Int Conf Mach Learn, pp. 2415–2423. PMLR, 2019.
|
| 204 |
+
F. Harlow and E. Welch. Numerical calculation of time dependent viscous flow of fluid with a free surface. Phys Fluid, 8(12):2182–2189, 1965.
|
| 205 |
+
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 770–778, 2016. doi: 10.1109/CVPR.2016.90.
|
| 206 |
+
M. R. Hestenes and E. Stiefel. Methods of conjugate gradients for solving linear systems. Journal of research of the National Bureau of Standards, 49(6):409, 1952.
|
| 207 |
+
J.-T. Hsieh, S. Zhao, S. Eismann, L. Mirabella, and S. Ermon. Learning neural PDE solvers with convergence guarantees, 2019. URL https://arxiv.org/abs/1906.01200.
|
| 208 |
+
T. Ichimura, K. Fujita, M. Hori, L. Maddegedara, N. Ueda, and Y. Kikuchi. A fast scalable iterative implicit solver with Green’s function-based neural networks. In 2020 IEEE/ACM 11th Workshop on Latest Advances in Scalable Algorithms for Large-Scale Systems (ScalA), pp. 61–68, 2020. doi: 10.1109/ScalA51936.2020.00013.
|
| 209 |
+
D. Kershaw. The incomplete Cholesky conjugate gradient method for the iterative solution of systems of linear equations. J Comp Phys, 26(1):43–65, 1978.
|
| 210 |
+
D. P. Kingma and J. Ba. Adam: A method for stochastic optimization. CoRR, abs/1412.6980, 2015.
|
| 211 |
+
C. Lanczos. An iteration method for the solution of the eigenvalue problem of linear differential and integral operators. 1950.
|
| 212 |
+
F. Losasso, F. Gibou, and R. Fedkiw. Simulating water and smoke with an octree data structure. ACM Trans. Graph., 23(3):457–462, 2004.
|
| 213 |
+
K. Luna, K. Klymko, and J. P. Blaschke. Accelerating GMRES with deep learning in real-time, 2021. URL https://arxiv.org/abs/2103.10975.
|
| 214 |
+
I. Luz, M. Galun, H. Maron, R. Basri, and I. Yavneh. Learning algebraic multigrid using graph neural networks. In Int Conf Mach Learn, pp. 6489–6499. PMLR, 2020.
|
| 215 |
+
H. Nussbaumer. The fast Fourier transform. In Fast Fourier Transform and Convolution Algorithms, pp. 80–111. Springer, 1981.
|
| 216 |
+
C. C. Paige. The computation of eigenvalues and eigenvectors of very large sparse matrices. PhD thesis, University of London, 1971.
|
| 217 |
+
C. C. Paige and M. A. Saunders. Solution of sparse indefinite systems of linear equations. SIAM journal on numerical analysis, 12(4):617–629, 1975.
|
| 218 |
+
H. Ruelmann, M. Geveler, and S. Turek. On the prospects of using machine learning for the numerical simulation of PDEs: Training neural networks to assemble approximate inverses, 2018. URL http://dx.doi.org/10.17877/DE290R-18778.
|
| 219 |
+
Y. Saad. Iterative Methods for Sparse Linear Systems. Society for Industrial and Applied Mathematics, USA, 2nd edition, 2003. ISBN 0898715342.
|
| 220 |
+
Y. Saad and M. Schultz. GMRES: A generalized minimal residual algorithm for solving nonsymmetric linear systems. SIAM J Sci Stat Comp, 7(3):856–869, 1986.
|
| 221 |
+
Y. Saad, M. Yeung, J. Erhel, and F. Guyomarc’h. A deflated version of the conjugate gradient algorithm. SIAM Journal on Scientific Computing, 21:1909–1926, 2000.
|
| 222 |
+
J. Sappl, L. Seiler, M. Harders, and W. Rauch. Deep learning of preconditioners for conjugate gradient solvers in urban water related problems, 2019. URL https://arxiv.org/abs/ 1906.06925.
|
| 223 |
+
R. Stanaityte. ILU and Machine Learning Based Preconditioning For The Discretized Incompressible Navier-Stokes Equations. PhD thesis, University of Houston, 2020.
|
| 224 |
+
E. Stiefel. Uber einige methoden der relaxationsrechnung. ¨ Zeitschrift fur angewandte Mathematik ¨ und Physik ZAMP, 3(1):1–33, 1952.
|
| 225 |
+
J. Tompson, K. Schlachter, P. Sprechmann, and K. Perlin. Accelerating Eulerian fluid simulation with convolutional networks. In D. Precup and Y. Teh (eds.), Proc 34th Int Conf Mach Learn, volume 70 of Proc Mach Learn Res, pp. 3424–3433. PMLR, 06–11 Aug 2017.
|
| 226 |
+
L. Trefethen and D. Bau. Numerical Linear Algebra, volume 50. SIAM, 1997.
|
| 227 |
+
K. Um, R. Brand, Y. Fei, P. Holl, and N. Thuerey. Solver-in-the-loop: Learning from differentiable physics to interact with iterative PDE-solvers. In H. Larochelle, M. Ranzato, R. Hadsell, M.F. Balcan, and H. Lin (eds.), Advances in Neural Information Processing Systems, volume 33, pp. 6111–6122. Curran Associates, Inc., 2020. URL https://proceedings.neurips.cc/ paper/2020/file/43e4e6a6f341e00671e123714de019a8-Paper.pdf.
|
| 228 |
+
C. Yang, X. Yang, and X. Xiao. Data-driven projection method in fluid simulation. Comp Anim Virt Worlds, 27(3-4):415–424, 2016.
|
parse/dev/ldRb12nMfLQ/ldRb12nMfLQ_content_list.json
ADDED
|
@@ -0,0 +1,949 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "A DEEP CONJUGATE DIRECTION METHOD FOR ITERATIVELY SOLVING LINEAR SYSTEMS ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
176,
|
| 8 |
+
98,
|
| 9 |
+
730,
|
| 10 |
+
146
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous authors Paper under double-blind review ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
184,
|
| 19 |
+
171,
|
| 20 |
+
398,
|
| 21 |
+
198
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "ABSTRACT ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
454,
|
| 31 |
+
234,
|
| 32 |
+
544,
|
| 33 |
+
251
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "We present a novel deep learning approach to approximate the solution of large, sparse, symmetric, positive-definite linear systems of equations. These systems arise from many problems in applied science, e.g., in numerical methods for partial differential equations. Algorithms for approximating the solution to these systems are often the bottleneck in problems that require their solution, particularly for modern applications that require many millions of unknowns. Indeed, numerical linear algebra techniques have been investigated for many decades to alleviate this computational burden. Recently, data-driven techniques have also shown promise for these problems. Motivated by the conjugate gradients algorithm that iteratively selects search directions for minimizing the matrix norm of the approximation error, we design an approach that utilizes a deep neural network to accelerate convergence via data-driven improvement of the search directions. Our method leverages a carefully chosen convolutional network to approximate the action of the inverse of the linear operator up to an arbitrary constant. We train the network using unsupervised learning with a loss function equal to the $L ^ { 2 }$ difference between an input and the system matrix times the network evaluation, where the unspecified constant in the approximate inverse is accounted for. We demonstrate the efficacy of our approach on spatially discretized Poisson equations with millions of degrees of freedom arising in computational fluid dynamics applications. Unlike state-of-the-art learning approaches, our algorithm is capable of reducing the linear system residual to a given tolerance in a small number of iterations, independent of the problem size. Moreover, our method generalizes effectively to various systems beyond those encountered during training. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
232,
|
| 42 |
+
266,
|
| 43 |
+
764,
|
| 44 |
+
585
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 INTRODUCTION ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
176,
|
| 54 |
+
611,
|
| 55 |
+
336,
|
| 56 |
+
627
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "In this work, we consider sparse linear systems that arise from discrete Poisson equations in incompressible flow applications (Chorin, 1967; Fedkiw et al., 2001; Bridson, 2008). We use the notation ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
171,
|
| 65 |
+
642,
|
| 66 |
+
823,
|
| 67 |
+
670
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "equation",
|
| 73 |
+
"img_path": "images/8fead0b4e25add8342bddaa4ba897dff29b2070568d204185e0f1c2ab5d7c00e.jpg",
|
| 74 |
+
"text": "$$\n\\mathbf { A } { \\boldsymbol { \\mathbf { \\mathit { x } } } } = \\mathbf { \\mathit { b } }\n$$",
|
| 75 |
+
"text_format": "latex",
|
| 76 |
+
"bbox": [
|
| 77 |
+
470,
|
| 78 |
+
678,
|
| 79 |
+
529,
|
| 80 |
+
691
|
| 81 |
+
],
|
| 82 |
+
"page_idx": 0
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"type": "text",
|
| 86 |
+
"text": "where the dimension $n$ of the matrix $A \\in \\mathbb { R } ^ { n \\times n }$ and the vector $b \\in \\mathbb { R } ^ { n }$ correlate with spatial fidelity of the computational domain. The appropriate numerical linear algebra technique depends on the nature of the problem. Direct solvers that utilize matrix factorizations (QR, Cholesky, etc. Trefethen & Bau (1997)) have optimal approximation error, but their computational cost is $\\operatorname { \\dot { O } } ( n ^ { 3 } )$ and they typically require dense storage, even for sparse $\\pmb { A }$ . Although Fast Fourier Transforms (Nussbaumer, 1981) can be used in limited instances (periodic boundary conditions, etc.), iterative techniques are most commonly adopted for these systems given their sparsity. Many applications with strict performance constraints (e.g., real-time fluid simulation) utilize basic iterations (Jacobi, Gauss-Seidel, successive over relaxation (SOR), etc.) given limited computational budget (Saad, 2003). However, large approximation errors must be tolerated since iteration counts are limited by the performance constraints. This is particularly problematic since the wide elliptic spectrum of these matrices (a condition that worsens with increased spatial fidelity/matrix dimension) leads to poor conditioning and iteration counts. Iterative techniques can achieve sub-quadratic convergence if their iteration count does not grow excessively with problem size $n$ since each iteration generally requires $O ( n )$ floating point operations for sparse matrices. Discrete elliptic operators are typically symmetric positive (semi) definite and the preconditioned conjugate gradients method (PCG) can be used to minimize iteration counts (Saad, 2003; Hestenes & Stiefel, 1952; Stiefel, 1952). Preconditioners $_ { r }$ for PCG must simultaneously: be symmetric positive definite (SPD) (and therefore admit factorization ${ \\boldsymbol { P } } = { \\boldsymbol { F } } ^ { 2 }$ ), improve the condition number of the preconditioned system $F A F y = F b$ , and be computationally cheap to construct and apply; accordingly, designing specialized preconditioners for particular classes of problems is somewhat of an art. Incomplete Cholesky preconditioners (ICPCG) (Kershaw, 1978) use a sparse approximation to the Cholesky factorization and significantly reduce iteration counts in practice; however, their inherent data dependency prevents efficient parallel implementation. Nonetheless, these are very commonly adopted for Poisson equations arising in incompressible flow (Fedkiw et al., 2001; Bridson, 2008). Multigrid (Brandt, 1977) and domain decomposition (Saad, 2003) preconditioners greatly reduce iterations counts, but they must be updated (with non-trivial cost) each time the problem changes (e.g., in computational domains with time varying boundaries) and/or for different hardware platforms. In general, choice of an optimal preconditioner for discrete elliptic operators is an open area of research. ",
|
| 87 |
+
"bbox": [
|
| 88 |
+
174,
|
| 89 |
+
702,
|
| 90 |
+
825,
|
| 91 |
+
924
|
| 92 |
+
],
|
| 93 |
+
"page_idx": 0
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"type": "text",
|
| 97 |
+
"text": "",
|
| 98 |
+
"bbox": [
|
| 99 |
+
174,
|
| 100 |
+
103,
|
| 101 |
+
825,
|
| 102 |
+
284
|
| 103 |
+
],
|
| 104 |
+
"page_idx": 1
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"type": "text",
|
| 108 |
+
"text": "Recently, data-driven approaches that leverage deep learning techniques have shown promise for solving linear systems. Various researchers have investigated machine learning estimation of multigrid parameters (Greenfeld et al., 2019; Grebhahn et al., 2016; Luz et al., 2020). Others have developed machine learning methods to estimate preconditioners (Gotz & Anzt, 2018; Stanaityte, 2020; ¨ Ichimura et al., 2020) and initial guesses for iterative methods (Luna et al., 2021; Um et al., 2020; Ackmann et al., 2020). Tompson et al. (2017) and Yang et al. (2016) develop non-iterative machine learning approximations of the inverse of discrete Poisson equations from incompressible flow. We leverage deep learning and develop a novel version of conjugate gradients iterative method for approximating the solution of SPD linear systems which we call the deep conjugate direction method (DCDM). CG iteratively adds $\\pmb { A }$ -conjugate search directions while minimizing the matrix norm of the error. We use a convolutional neural network (CNN) as an approximation of the inverse of the matrix in order to generate more efficient search directions. We only ask that our network approximate the inverse up to an unknown scaling since this decreases the degree of nonlinearity and since it does not affect the quality of the search direction (which is scale independent). The network is similar to a preconditioner, but it is not a linear function, and our modified conjugate gradients approach is designed to accommodate this nonlinearity. We use unsupervised learning to train our network with a loss function equal to the $L ^ { 2 }$ difference between an input vector and a scaling of $\\pmb { A }$ times the output of our network. To account for this unknown scaling during training, we choose the scale of the output of the network by minimizing the matrix norm of the error. Our approach allows for efficient training and generalization to problems unseen (matrices $\\pmb { A }$ and right-hand sides $^ { b }$ ). We benchmark our algorithm using the ubiquitous pressure Poisson equation (discretized on regular voxelized domains) and compare against FluidNet (Tompson et al., 2017), which is the state of the art learning-based method for these types of problems. Unlike the non-iterative approaches of Tompson et al. (2017) and Yang et al. (2016), our method can reduce the linear system residuals arbitrarily. We showcase our approach with examples that have over 16 million degrees of freedom. ",
|
| 109 |
+
"bbox": [
|
| 110 |
+
173,
|
| 111 |
+
291,
|
| 112 |
+
825,
|
| 113 |
+
637
|
| 114 |
+
],
|
| 115 |
+
"page_idx": 1
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"type": "text",
|
| 119 |
+
"text": "2 RELATED WORK ",
|
| 120 |
+
"text_level": 1,
|
| 121 |
+
"bbox": [
|
| 122 |
+
176,
|
| 123 |
+
656,
|
| 124 |
+
344,
|
| 125 |
+
672
|
| 126 |
+
],
|
| 127 |
+
"page_idx": 1
|
| 128 |
+
},
|
| 129 |
+
{
|
| 130 |
+
"type": "text",
|
| 131 |
+
"text": "Several papers have focused on enhancing the solution of linear systems (arising from discretized PDEs) using learning. For instance, Gotz & Anzt (2018) generate sparsity patterns for block-Jacobi ¨ preconditioners using convolutional neural networks, and Stanaityte (2020) use a CNN to predict non-zero patterns for ILU-type preconditioners for the Navier-Stokes equations (though neither work designs fundamentally new preconditioners). Ichimura et al. (2020) develop a neural-network based preconditioner where the network is used to predict approximate Green’s functions (which arise in the analytical solution of certain PDEs) that in turn yield an approximate inverse of the linear system. Hsieh et al. (2019) learn an iterator that solves linear systems, performing competitively with classical solvers like multigrid-preconditioned MINRES (Paige & Saunders, 1975). Luz et al. (2020) and Greenfeld et al. (2019) use machine learning to estimate algebraic multigrid (AMG) parameters. They note that AMG approaches rely most fundamentally on effectively chosen (problem-dependent) prolongation sparse matrices and that numerous methods have attempted to automatically create them from the matrix $\\pmb { A }$ . They train a graph neural network to learn (in an unsupervised fashion) a mapping from matrices $\\pmb { A }$ to prolongation operators. Grebhahn et al. (2016) note that geometric multigrid solver parameters can be difficult to choose to guarantee parallel performance on different hardware platforms. They use machine learning to create a code generator to help achieve this. ",
|
| 132 |
+
"bbox": [
|
| 133 |
+
174,
|
| 134 |
+
688,
|
| 135 |
+
825,
|
| 136 |
+
924
|
| 137 |
+
],
|
| 138 |
+
"page_idx": 1
|
| 139 |
+
},
|
| 140 |
+
{
|
| 141 |
+
"type": "image",
|
| 142 |
+
"img_path": "images/a7ac602c2643cff48deff90a7224438f208d4a7100d53c20e1e19240e8cade2b.jpg",
|
| 143 |
+
"image_caption": [
|
| 144 |
+
"Figure 1: (a) We illustrate a sample flow domain $\\Omega \\subset ( 0 , 1 ) ^ { 2 }$ (in 2D for ease of illustration) with internal boundaries (blue lines). (b) We voxelize the domain with a regular grid: white cells represent interior/fluid, and blue cells represent boundary conditions. (c) We train using matrix $A ^ { ( 0 , 1 ) ^ { d } }$ from a discretized domain with no interior boundary conditions, where $d$ is the dimension. This creates linear system with $n = ( n _ { c } + 1 ) ^ { d }$ unknowns where $n _ { c }$ is the number of grid cells on each direction. (d) We illustrate the non-zero entries in an example matrix $A ^ { \\Omega }$ from the voxelized and labeled (white vs. blue) grid for three example interior cells (green, purple, and brown). Each case illustrates the non-zero entries in the row associated with the example cell. All entries in rows corresponding to boundary/blue cells are zero. "
|
| 145 |
+
],
|
| 146 |
+
"image_footnote": [],
|
| 147 |
+
"bbox": [
|
| 148 |
+
174,
|
| 149 |
+
99,
|
| 150 |
+
825,
|
| 151 |
+
219
|
| 152 |
+
],
|
| 153 |
+
"page_idx": 2
|
| 154 |
+
},
|
| 155 |
+
{
|
| 156 |
+
"type": "text",
|
| 157 |
+
"text": "Several works consider accelerating the solution of linear systems by learning an initial guess that is close to the true solution or otherwise helpful to descent algorithms for finding the true solution. In order to solve the discretized Poisson equation, Luna et al. (2021) accelerate the convergence of GMRES (Saad & Schultz, 1986) with an initial guess that is learned in real-time (i.e., as a simulation code runs) with no prior data. Um et al. (2020) train a network (incorporating differentiable physics, based on the underlying PDEs) in order to produce high-quality initial guesses for a CG solver. In a somewhat similar vein, Ackmann et al. (2020) use a simple feedforward neural network to predict pointwise solution components, which accelerates the conjugate residual method used to solve a relatively simple shallow-water model (a more sophisticated network and loss function are needed to handle more general PDEs and larger-scale problems). ",
|
| 158 |
+
"bbox": [
|
| 159 |
+
173,
|
| 160 |
+
368,
|
| 161 |
+
825,
|
| 162 |
+
507
|
| 163 |
+
],
|
| 164 |
+
"page_idx": 2
|
| 165 |
+
},
|
| 166 |
+
{
|
| 167 |
+
"type": "text",
|
| 168 |
+
"text": "At least two papers (Ruelmann et al., 2018; Sappl et al., 2019) have sought to learn a mapping between a matrix and an associated sparse approximate inverse. In their investigation, Ruelmann et al. (2018) propose training a neural network using matrix-inverse pairs as training data. Although straightforward to implement, the cost of generating training data, let alone training the network, is prohibitive for large-scale 3D problems. Sappl et al. (2019) seek to learn a mapping between linear system matrices and sparse (banded) approximate inverses. Their loss function is the condition number of the product of the system matrix and the approximate inverse; the minimum value of the condition number is one, which is achieved exactly when an exact inverse is obtained. Although this framework is quite simple, evaluating the condition number of a matrix is asymptotically costly, and in general, the inverse of a sparse matrix can be quite dense. Accordingly, the method is not efficient or accurate enough for the large-scale 3D problems that arise in real-world engineering problems. ",
|
| 169 |
+
"bbox": [
|
| 170 |
+
174,
|
| 171 |
+
513,
|
| 172 |
+
825,
|
| 173 |
+
666
|
| 174 |
+
],
|
| 175 |
+
"page_idx": 2
|
| 176 |
+
},
|
| 177 |
+
{
|
| 178 |
+
"type": "text",
|
| 179 |
+
"text": "Most relevant to the present work is FluidNet (Tompson et al., 2017). FluidNet develops a highlytailored CNN architecture that is used to predict the solution of a linear projection operation (specifically, for the discrete Poisson equation) given a matrix and right-hand side. The authors demonstrate fluid simulations where the linear solve is replaced by evaluating their network. Because their network is relatively lightweight and is only evaluated once per time step, their simulations run efficiently. However, their design allows the network only one opportunity to reduce the residual for the linear solve; in practice, we observe that FluidNet is able to reduce the residual by no more than about one order of magnitude. However, in computer graphics applications, at least four orders of magnitude in residual reduction are usually required for visual fidelity, while in scientific and engineering applications, practitioners prefer solutions that reduce the residual by eight or more orders of magnitude (i.e., to within machine precision). Accordingly, FluidNet’s lack of convergence stands in stark contrast to classical, convergent methods like CG. Our method resolves this gap. ",
|
| 180 |
+
"bbox": [
|
| 181 |
+
173,
|
| 182 |
+
672,
|
| 183 |
+
825,
|
| 184 |
+
840
|
| 185 |
+
],
|
| 186 |
+
"page_idx": 2
|
| 187 |
+
},
|
| 188 |
+
{
|
| 189 |
+
"type": "text",
|
| 190 |
+
"text": "3 MOTIVATION: INCOMPRESSIBLE FLOW ",
|
| 191 |
+
"text_level": 1,
|
| 192 |
+
"bbox": [
|
| 193 |
+
176,
|
| 194 |
+
863,
|
| 195 |
+
529,
|
| 196 |
+
878
|
| 197 |
+
],
|
| 198 |
+
"page_idx": 2
|
| 199 |
+
},
|
| 200 |
+
{
|
| 201 |
+
"type": "text",
|
| 202 |
+
"text": "We demonstrate the efficacy of our approach with the linear systems that arise in incompressible flow applications. Specifically, we use our algorithm to solve the discrete Poisson equations in ",
|
| 203 |
+
"bbox": [
|
| 204 |
+
176,
|
| 205 |
+
895,
|
| 206 |
+
823,
|
| 207 |
+
924
|
| 208 |
+
],
|
| 209 |
+
"page_idx": 2
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"type": "text",
|
| 213 |
+
"text": "regular-grid-based discretization of the pressure projection equations that arise in Chorin’s splitting technique (Chorin, 1967) for the inviscid, incompressible Euler equations. These equations are ",
|
| 214 |
+
"bbox": [
|
| 215 |
+
171,
|
| 216 |
+
103,
|
| 217 |
+
823,
|
| 218 |
+
132
|
| 219 |
+
],
|
| 220 |
+
"page_idx": 3
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"type": "equation",
|
| 224 |
+
"img_path": "images/c1b355957f1f3592b8d81befad750201620d6f0041dd14ae0eb7b88b47dac275.jpg",
|
| 225 |
+
"text": "$$\n\\rho \\left( \\frac { \\partial \\pmb { u } } { \\partial t } + \\frac { \\partial \\pmb { u } } { \\partial \\pmb { x } } \\pmb { u } \\right) + \\nabla p = \\pmb { f } ^ { e x t } , \\qquad \\nabla \\cdot \\pmb { u } = 0\n$$",
|
| 226 |
+
"text_format": "latex",
|
| 227 |
+
"bbox": [
|
| 228 |
+
338,
|
| 229 |
+
137,
|
| 230 |
+
658,
|
| 231 |
+
172
|
| 232 |
+
],
|
| 233 |
+
"page_idx": 3
|
| 234 |
+
},
|
| 235 |
+
{
|
| 236 |
+
"type": "text",
|
| 237 |
+
"text": "where $\\textbf { \\em u }$ is fluid velocity, $p$ is pressure, $\\rho$ is density, and $f ^ { e x t }$ accounts for external forces like gravity. The equations are assumed at all positions $_ { \\textbf { \\em x } }$ in the spatial fluid flow domain $\\Omega$ and for time $t > 0$ . The left term in Equation 2 enforces conservation of momentum in the absence of viscosity, and the second part enforces incompressibility and conservation of mass. These equations are subject to initial conditions $\\rho ( \\pmb { x } , 0 ) = \\rho ^ { 0 }$ and ${ \\pmb u } ( { \\pmb x } , 0 ) = { \\pmb u } ^ { 0 } ( { \\pmb x } )$ as well as boundary conditions ${ \\pmb u } ( { \\pmb x } , t ) \\cdot { \\pmb n } ( { \\pmb x } ) = u ^ { \\partial \\Omega } ( { \\pmb x } , t )$ on the boundary of the domain ${ \\pmb x } \\in \\partial \\Omega$ (where $\\textbf { \\em n }$ is the unit outward pointing normal at position $_ { \\textbf { \\em x } }$ on the boundary). Equation 2 is discretized in both time and space. Temporally, we split the advection $\\frac { \\partial \\pmb { u } } { \\partial t } + \\frac { \\partial \\pmb { u } } { \\partial \\pmb { x } } \\pmb { u } = 0$ and body forces terms $\\rho \\frac { \\partial \\pmb { u } } { \\partial t } = \\pmb { f } ^ { e x t }$ , and finally enforce incompressibility via the pressure projection $\\frac { \\partial \\pmb { u } } { \\partial t } + \\frac { 1 } { \\rho } \\nabla p = \\pmb { 0 }$ such that $\\nabla \\cdot \\pmb { u } = 0$ ; this is the standard advection-projection scheme proposed by Chorin (1967). Using finite differences in time, we can summarize this as ",
|
| 238 |
+
"bbox": [
|
| 239 |
+
173,
|
| 240 |
+
179,
|
| 241 |
+
825,
|
| 242 |
+
361
|
| 243 |
+
],
|
| 244 |
+
"page_idx": 3
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"type": "equation",
|
| 248 |
+
"img_path": "images/b9e83fdc2a77df2f7139c2359537bee131588af2939e28a1c636f7c2e1a8f4d9.jpg",
|
| 249 |
+
"text": "$$\n\\begin{array} { l } { \\displaystyle \\rho ^ { 0 } \\left( \\frac { \\pmb { u } ^ { * } - \\pmb { u } ^ { n } } { \\Delta t } + \\frac { \\partial \\pmb { u } ^ { n } } { \\partial \\pmb { x } } \\pmb { u } ^ { n } \\right) = \\pmb { f } ^ { e x t } } \\\\ { \\displaystyle - \\nabla \\cdot \\frac { 1 } { \\rho ^ { 0 } } \\nabla p ^ { n + 1 } = - \\nabla \\cdot \\pmb { u } ^ { * } } \\\\ { \\displaystyle \\qquad - \\frac { 1 } { \\rho ^ { 0 } } \\nabla p ^ { n + 1 } \\cdot \\pmb { n } = \\frac { 1 } { \\Delta t } \\left( \\pmb { u } ^ { \\partial \\Omega } - \\pmb { u } ^ { * } \\cdot \\pmb { n } \\right) . } \\end{array}\n$$",
|
| 250 |
+
"text_format": "latex",
|
| 251 |
+
"bbox": [
|
| 252 |
+
326,
|
| 253 |
+
363,
|
| 254 |
+
669,
|
| 255 |
+
467
|
| 256 |
+
],
|
| 257 |
+
"page_idx": 3
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"type": "text",
|
| 261 |
+
"text": "For the spatial discretization, we use a regular marker-and-cell (MAC) grid (Harlow & Welch, 1965) with cubic voxels whereby velocity components are stored on the face of voxel cells, and scalar quantities (e.g., pressure $p$ or density $\\rho \\mathrm { \\hbar }$ ) are stored at voxel centers. We use backward semiLagrangian advection (Fedkiw et al., 2001; Gagniere et al., 2020) for Equation 3. All spatial partial derivatives are approximated using finite differences. Equations 4 and 5 describe the pressure Poisson equation with Neumann conditions on the boundary of the flow domain. We discretize the left hand side of Equation 4 using a standard 7-point finite difference stencil. The right-hand side is discretized using the MAC grid discrete divergence finite difference stencils as well as contributions from the boundary condition terms in Equation 5. We refer the reader to Bridson (2008) for more in-depth implementation details. Equation 5 is discretized by modifying the Poisson stencil to enforce Neumann boundary conditions. We do this using a simple labeling of the voxels in the domain. For simplicity, we assume $\\Omega \\subset ( 0 , 1 ) ^ { 3 }$ is a subset of the unit cube, potentially with internal boundaries. We label cells in the domain as either liquid or boundary. This simple classification is enough to define the Poisson discretizations (with appropriate Neumann boundary conditions at domain boundaries) that we focus on in the present work; we illustrate the details in Figure 1. We use the following notation to denote the discrete Poisson equations associated with Equations 4–5: ",
|
| 262 |
+
"bbox": [
|
| 263 |
+
173,
|
| 264 |
+
469,
|
| 265 |
+
825,
|
| 266 |
+
693
|
| 267 |
+
],
|
| 268 |
+
"page_idx": 3
|
| 269 |
+
},
|
| 270 |
+
{
|
| 271 |
+
"type": "equation",
|
| 272 |
+
"img_path": "images/ac399afedaac667ec410278ede5ec8e5a957aa976ca5e09188331dc7a1ba5bb7.jpg",
|
| 273 |
+
"text": "$$\n\\begin{array} { r } { { \\cal A } ^ { \\Omega } { \\boldsymbol x } = { \\boldsymbol b } ^ { \\nabla \\cdot { \\boldsymbol u } ^ { * } } + { \\boldsymbol b } ^ { u ^ { \\partial \\Omega } } , } \\end{array}\n$$",
|
| 274 |
+
"text_format": "latex",
|
| 275 |
+
"bbox": [
|
| 276 |
+
419,
|
| 277 |
+
698,
|
| 278 |
+
576,
|
| 279 |
+
718
|
| 280 |
+
],
|
| 281 |
+
"page_idx": 3
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"type": "text",
|
| 285 |
+
"text": "where $A ^ { \\Omega }$ is the discrete Poisson matrix associated with the voxelized domain, $_ { \\textbf { \\em x } }$ is the vector of unknown pressure, and $\\mathbf { \\delta } _ { b } \\nabla \\cdot \\mathbf { u } ^ { * }$ and b u ∂ Ω are the right-hand side terms from Equations 4 and 5, respectively. We define a special case of the matrix involved in this discretization to be the Poisson matrix $A ^ { ( 0 , 1 ) ^ { 3 } }$ associated with $\\Omega = ( 0 , 1 ) ^ { 3 }$ , i.e., a full fluid domain with no internal boundaries. We use this matrix for training, yet demonstrate that our network generalizes to all other matrices arising from more complicated flow domains. ",
|
| 286 |
+
"bbox": [
|
| 287 |
+
174,
|
| 288 |
+
727,
|
| 289 |
+
825,
|
| 290 |
+
816
|
| 291 |
+
],
|
| 292 |
+
"page_idx": 3
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"type": "text",
|
| 296 |
+
"text": "4 DEEP CONJUGATE DIRECTION METHOD ",
|
| 297 |
+
"text_level": 1,
|
| 298 |
+
"bbox": [
|
| 299 |
+
174,
|
| 300 |
+
835,
|
| 301 |
+
540,
|
| 302 |
+
853
|
| 303 |
+
],
|
| 304 |
+
"page_idx": 3
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"type": "text",
|
| 308 |
+
"text": "We present our method for the deep learning acceleration of iterative approximations to the solution of linear systems of the form seen in Equation 6. We first discuss relevant details of the conjugate gradients (CG) method, particularly line search and $\\pmb { A }$ -orthogonal search directions. We then present a deep learning technique for improving the quality of these search directions that ultimately reduces iteration counts required to achieve satisfactory residual reduction. Lastly, we outline the training procedures for our deep convolutional neural network. ",
|
| 309 |
+
"bbox": [
|
| 310 |
+
174,
|
| 311 |
+
867,
|
| 312 |
+
825,
|
| 313 |
+
924
|
| 314 |
+
],
|
| 315 |
+
"page_idx": 3
|
| 316 |
+
},
|
| 317 |
+
{
|
| 318 |
+
"type": "text",
|
| 319 |
+
"text": "",
|
| 320 |
+
"bbox": [
|
| 321 |
+
171,
|
| 322 |
+
103,
|
| 323 |
+
825,
|
| 324 |
+
132
|
| 325 |
+
],
|
| 326 |
+
"page_idx": 4
|
| 327 |
+
},
|
| 328 |
+
{
|
| 329 |
+
"type": "text",
|
| 330 |
+
"text": "Our approach iteratively improves approximations to the solution $_ { \\textbf { \\em x } }$ of Equation 6. We build on the method of CG, which requires the matrix $A ^ { \\Omega }$ in Equation 6 to be SPD. SPD matrices $A ^ { \\Omega }$ give rise to the matrix norm $\\| \\pmb { y } \\| _ { A ^ { \\Omega } } = \\sqrt { \\pmb { y } ^ { T } A ^ { \\Omega } \\pmb { y } }$ . CG can be derived in terms of iterative line search improvement based on optimality in this norm. That is, an iterate $\\pmb { x } _ { k - 1 } \\approx \\pmb { x }$ is updated in search direction $\\scriptstyle d _ { k }$ by a step size $\\alpha _ { k }$ that is chosen to minimize the matrix norm of the error: ",
|
| 331 |
+
"bbox": [
|
| 332 |
+
174,
|
| 333 |
+
138,
|
| 334 |
+
825,
|
| 335 |
+
212
|
| 336 |
+
],
|
| 337 |
+
"page_idx": 4
|
| 338 |
+
},
|
| 339 |
+
{
|
| 340 |
+
"type": "equation",
|
| 341 |
+
"img_path": "images/794da5f9a8f94a2ca23ac137e3679829e9c6027164f5d341253cdd67dfb2e112.jpg",
|
| 342 |
+
"text": "$$\n\\alpha _ { k } = \\underset { \\alpha } { \\arg \\operatorname* { m i n } } \\frac { 1 } { 2 } \\left\\| \\pmb { x } - ( \\pmb { x } _ { k - 1 } + \\alpha \\pmb { d } _ { k } ) \\right\\| _ { \\pmb { A } ^ { \\Omega } } ^ { 2 } = \\frac { { \\pmb { r } } _ { k - 1 } ^ { T } { \\pmb { d } _ { k } } } { { \\pmb { d } } _ { k } ^ { T } { \\pmb { A } } ^ { \\Omega } { \\pmb { d } _ { k } } } ,\n$$",
|
| 343 |
+
"text_format": "latex",
|
| 344 |
+
"bbox": [
|
| 345 |
+
312,
|
| 346 |
+
213,
|
| 347 |
+
683,
|
| 348 |
+
251
|
| 349 |
+
],
|
| 350 |
+
"page_idx": 4
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"type": "text",
|
| 354 |
+
"text": "where $\\pmb { r } _ { k - 1 } = \\pmb { b } - \\pmb { A } ^ { \\Omega } \\pmb { x } _ { k - 1 }$ is the $( k - 1 ) ^ { \\mathrm { t h } }$ residual and $^ { b }$ is the right-hand side in Equation 6. Different search directions result in different algorithms. A natural choice is the negative gradient of the matrix norm of the error (evaluated at the current iterate), since this will point in the direction of steepest decrease $\\begin{array} { r } { \\pmb { d } _ { k } = - \\frac { 1 } { 2 } \\nabla \\left\\| \\pmb { x } _ { k - 1 } \\right\\| _ { \\pmb { A } ^ { \\Omega } } ^ { 2 } = \\pmb { r } _ { k - 1 } } \\end{array}$ . This is the gradient descent method (GD). Unfortunately, this approach requires many iterations in practice. A more effective strategy is to choose directions that are $\\pmb { A }$ -orthogonal (i.e., ${ \\bf \\Phi } _ { { \\bf i } } ^ { T } { \\bf A } ^ { \\Omega } { \\bf d } _ { j } = \\mathrm { ~ ~ \\dot { ~ } { ~ 0 ~ } ~ }$ for $i \\neq j$ ). With this choice, the search directions form a basis for $\\mathbb { R } ^ { n }$ so that the initial error can be written as $\\begin{array} { r } { \\pmb { e } _ { 0 } = \\pmb { x } - \\pmb { x } _ { 0 } = \\sum _ { i = 1 } ^ { n } e _ { i } \\pmb { d } _ { i } } \\end{array}$ , where $e _ { i }$ are the components of the initial error written in the basis. Furthermore, when the search directions are $\\pmb { A }$ -orthogonal, the optimal step sizes $\\alpha _ { k }$ at each iteration satisfy ",
|
| 355 |
+
"bbox": [
|
| 356 |
+
173,
|
| 357 |
+
252,
|
| 358 |
+
826,
|
| 359 |
+
382
|
| 360 |
+
],
|
| 361 |
+
"page_idx": 4
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"type": "equation",
|
| 365 |
+
"img_path": "images/27f862ee424cf548433605036964bc38ad83b6328e4fe8ee6ce093dd03b21c48.jpg",
|
| 366 |
+
"text": "$$\n\\alpha _ { k } = \\frac { r _ { k - 1 } ^ { T } d _ { k } } { d _ { k } ^ { T } A ^ { \\Omega } d _ { k } } = \\frac { d _ { k } ^ { T } A ^ { \\Omega } e _ { k - 1 } } { d _ { k } ^ { T } A ^ { \\Omega } d _ { k } } = \\frac { d _ { k } ^ { T } A ^ { \\Omega } \\left( \\sum _ { i = 1 } ^ { n } e _ { i } d _ { i } - \\sum _ { j = 1 } ^ { k - 1 } \\alpha _ { j } d _ { j } \\right) } { d _ { k } ^ { T } A ^ { \\Omega } d _ { k } } = e _ { k } .\n$$",
|
| 367 |
+
"text_format": "latex",
|
| 368 |
+
"bbox": [
|
| 369 |
+
240,
|
| 370 |
+
383,
|
| 371 |
+
758,
|
| 372 |
+
429
|
| 373 |
+
],
|
| 374 |
+
"page_idx": 4
|
| 375 |
+
},
|
| 376 |
+
{
|
| 377 |
+
"type": "text",
|
| 378 |
+
"text": "That is, the optimal step sizes are chosen to precisely eliminate the components of the error on the basis defined by the search directions. Thus, convergence is determined by the (at most $n$ ) non-zero components $e _ { i }$ in the initial error. Although rounding errors prevent this from happening exactly in practice, this property greatly reduces the number of required iterations (Golub & Loan, 2012). ",
|
| 379 |
+
"bbox": [
|
| 380 |
+
174,
|
| 381 |
+
430,
|
| 382 |
+
823,
|
| 383 |
+
487
|
| 384 |
+
],
|
| 385 |
+
"page_idx": 4
|
| 386 |
+
},
|
| 387 |
+
{
|
| 388 |
+
"type": "text",
|
| 389 |
+
"text": "CG can be viewed as a modification of GD where the search direction is chosen as the component of the residual (equivalently, the negative gradient of the matrix norm of the error) that is $\\pmb { A }$ -orthogonal to all previous search directions: ",
|
| 390 |
+
"bbox": [
|
| 391 |
+
176,
|
| 392 |
+
492,
|
| 393 |
+
825,
|
| 394 |
+
535
|
| 395 |
+
],
|
| 396 |
+
"page_idx": 4
|
| 397 |
+
},
|
| 398 |
+
{
|
| 399 |
+
"type": "equation",
|
| 400 |
+
"img_path": "images/823b515874f8878d3bc9c886f39ccbd598d942c63f696c3c9a5dc8fad3a847d7.jpg",
|
| 401 |
+
"text": "$$\n\\pmb { d } _ { k } = \\pmb { r } _ { k - 1 } - \\sum _ { i = 1 } ^ { k - 1 } h _ { i k } \\pmb { d } _ { i } , \\qquad h _ { i k } = \\frac { { d } _ { i } ^ { T } { \\pmb { A } } ^ { \\Omega } \\pmb { r } _ { k - 1 } } { { d } _ { i } ^ { T } { \\pmb { A } } ^ { \\Omega } \\pmb { d } _ { i } } .\n$$",
|
| 402 |
+
"text_format": "latex",
|
| 403 |
+
"bbox": [
|
| 404 |
+
333,
|
| 405 |
+
537,
|
| 406 |
+
665,
|
| 407 |
+
580
|
| 408 |
+
],
|
| 409 |
+
"page_idx": 4
|
| 410 |
+
},
|
| 411 |
+
{
|
| 412 |
+
"type": "text",
|
| 413 |
+
"text": "In practice, $h _ { i k } = 0$ for $i < k - 1$ , and this iteration can therefore be performed without the need to store all previous search directions $\\mathbf { \\mathbf { { \\alpha } } } d _ { i }$ and without the need for computing all previous $h _ { i k }$ . ",
|
| 414 |
+
"bbox": [
|
| 415 |
+
173,
|
| 416 |
+
583,
|
| 417 |
+
821,
|
| 418 |
+
612
|
| 419 |
+
],
|
| 420 |
+
"page_idx": 4
|
| 421 |
+
},
|
| 422 |
+
{
|
| 423 |
+
"type": "text",
|
| 424 |
+
"text": "While the residual is a natural choice for generating $\\pmb { A }$ -orthogonal search directions (since it points in the direction of the steepest local decrease), it is not the optimal search direction. If $\\scriptstyle d _ { k }$ is parallel to $( A ^ { \\Omega } ) ^ { - 1 } r _ { k - 1 }$ , then $\\scriptstyle { \\mathbf { { \\mathit { x } } } } _ { k }$ will be equal to $_ { \\textbf { \\em x } }$ since $\\alpha _ { k }$ (computed from Equation 7) will step directly to the solution. We can see this by considering the residual and its relation to the search direction: ",
|
| 425 |
+
"bbox": [
|
| 426 |
+
173,
|
| 427 |
+
617,
|
| 428 |
+
825,
|
| 429 |
+
674
|
| 430 |
+
],
|
| 431 |
+
"page_idx": 4
|
| 432 |
+
},
|
| 433 |
+
{
|
| 434 |
+
"type": "equation",
|
| 435 |
+
"img_path": "images/8bc12357b2f542a177c0dbe7c2b250136ff63d91c180c2f209010068301bb834.jpg",
|
| 436 |
+
"text": "$$\n\\begin{array} { r } { r _ { k } = b - A ^ { \\Omega } x _ { k } = b - A ^ { \\Omega } x _ { k - 1 } - \\alpha _ { k } A ^ { \\Omega } d _ { k } = r _ { k - 1 } - \\alpha _ { k } A ^ { \\Omega } d _ { k } . } \\end{array}\n$$",
|
| 437 |
+
"text_format": "latex",
|
| 438 |
+
"bbox": [
|
| 439 |
+
276,
|
| 440 |
+
681,
|
| 441 |
+
720,
|
| 442 |
+
700
|
| 443 |
+
],
|
| 444 |
+
"page_idx": 4
|
| 445 |
+
},
|
| 446 |
+
{
|
| 447 |
+
"type": "text",
|
| 448 |
+
"text": "In light of this, we use deep learning to create an approximation $f ( c , r )$ to $( A ^ { \\Omega } ) ^ { - 1 } r$ , where $^ c$ denotes the network weights and biases. This is analogous to using a preconditioner in PCG; however, our network is not SPD (nor even a linear function). We simply use this data-driven approach as our means of generating better search directions $\\scriptstyle d _ { k }$ . Furthermore, we only need to approximate a vector parallel to $( A ^ { \\Omega } ) ^ { - 1 } r$ since the step size $\\alpha _ { k }$ will account for any scaling in practice. In other words, $f ( c , r ) \\approx s _ { r } ( A ^ { \\Omega } ) ^ { - 1 } r$ , where the scalar $s _ { r }$ is not defined globally; it only depends on $\\pmb { r }$ , and the model does not learn it. Lastly, as with CG, we enforce $\\pmb { A }$ -orthogonality, yielding search directions ",
|
| 449 |
+
"bbox": [
|
| 450 |
+
173,
|
| 451 |
+
708,
|
| 452 |
+
825,
|
| 453 |
+
808
|
| 454 |
+
],
|
| 455 |
+
"page_idx": 4
|
| 456 |
+
},
|
| 457 |
+
{
|
| 458 |
+
"type": "equation",
|
| 459 |
+
"img_path": "images/2f5892c23191745ca45a89c6df6aa816d57d4b70d9d40bae7947ea58ff2fad11.jpg",
|
| 460 |
+
"text": "$$\n\\pmb { d } _ { k } = \\pmb { f } ( \\pmb { c } , \\pmb { r } _ { k - 1 } ) - \\sum _ { i = 1 } ^ { k - 1 } h _ { i k } \\pmb { d } _ { i } , \\qquad h _ { i k } = \\frac { \\pmb { f } ( \\pmb { c } , \\pmb { r } _ { k - 1 } ) ^ { T } \\pmb { A } ^ { \\Omega } \\pmb { d } _ { i } } { \\pmb { d } _ { i } ^ { T } \\pmb { A } ^ { \\Omega } \\pmb { d } _ { i } } .\n$$",
|
| 461 |
+
"text_format": "latex",
|
| 462 |
+
"bbox": [
|
| 463 |
+
290,
|
| 464 |
+
809,
|
| 465 |
+
707,
|
| 466 |
+
852
|
| 467 |
+
],
|
| 468 |
+
"page_idx": 4
|
| 469 |
+
},
|
| 470 |
+
{
|
| 471 |
+
"type": "text",
|
| 472 |
+
"text": "We summarize our approach in Algorithm 1. Note that we introduce the variable $i _ { \\mathrm { s t a r t } }$ . To guarantee $\\pmb { A }$ -orthogonality between all search directions, we must have $i _ { \\mathrm { s t a r t } } = 1$ . However, this requires storing all prior search directions, which can be costly. We found that using $i _ { \\mathrm { s t a r t } } = k - 2$ worked nearly as well as $i _ { \\mathrm { s t a r t } } = 1$ in practice (in terms of our ability to iteratively reduce the residual of the system). We demonstrate this in Figure 4c. ",
|
| 473 |
+
"bbox": [
|
| 474 |
+
174,
|
| 475 |
+
853,
|
| 476 |
+
825,
|
| 477 |
+
924
|
| 478 |
+
],
|
| 479 |
+
"page_idx": 4
|
| 480 |
+
},
|
| 481 |
+
{
|
| 482 |
+
"type": "text",
|
| 483 |
+
"text": "5 MODEL ARCHITECTURE, DATASETS, AND TRAINING ",
|
| 484 |
+
"text_level": 1,
|
| 485 |
+
"bbox": [
|
| 486 |
+
174,
|
| 487 |
+
102,
|
| 488 |
+
643,
|
| 489 |
+
118
|
| 490 |
+
],
|
| 491 |
+
"page_idx": 5
|
| 492 |
+
},
|
| 493 |
+
{
|
| 494 |
+
"type": "text",
|
| 495 |
+
"text": "Efficient performance of our method requires effective training of our deep convolutional network for weights and biases $^ c$ such that $f ( c , r ) { \\overset { \\cdot } { \\approx } } s _ { r } ( A ^ { \\Omega } ) ^ { - 1 } r$ (for arbitrary scalar $s _ { r }$ ). We design a model architecture, loss function, and unsupervised training approach to achieve this. Our approach has modest training requirements and allows for effective residual reduction while generalizing well to problems not seen in the training data. ",
|
| 496 |
+
"bbox": [
|
| 497 |
+
174,
|
| 498 |
+
132,
|
| 499 |
+
612,
|
| 500 |
+
231
|
| 501 |
+
],
|
| 502 |
+
"page_idx": 5
|
| 503 |
+
},
|
| 504 |
+
{
|
| 505 |
+
"type": "text",
|
| 506 |
+
"text": "5.1 LOSS FUNCTION AND UNSUPERVISED LEARNING ",
|
| 507 |
+
"text_level": 1,
|
| 508 |
+
"bbox": [
|
| 509 |
+
173,
|
| 510 |
+
246,
|
| 511 |
+
558,
|
| 512 |
+
261
|
| 513 |
+
],
|
| 514 |
+
"page_idx": 5
|
| 515 |
+
},
|
| 516 |
+
{
|
| 517 |
+
"type": "text",
|
| 518 |
+
"text": "Although we generalize to arbitrary matrices $A ^ { \\Omega }$ from Equation 6 that correspond to domains $\\Omega \\subset ( 0 , 1 ) ^ { 3 }$ that have internal boundaries (see Figure 1), we train using just the matrix $A ^ { ( 0 , 1 ) ^ { 3 } }$ from the full cube domain $( 0 , 1 ) ^ { 3 }$ . In contrast, other similar approaches (Tompson et al., 2017; Yang et al., 2016) train using matrices $A ^ { \\Omega }$ and right-hand sides $\\pmb { b } ^ { \\nabla \\cdot \\pmb { u } ^ { * } } + \\overline { { \\pmb { b } } } ^ { u ^ { \\partial \\Omega } }$ that arise from flow in many domains with internal boundaries. We train our network by minimiz",
|
| 519 |
+
"bbox": [
|
| 520 |
+
173,
|
| 521 |
+
271,
|
| 522 |
+
614,
|
| 523 |
+
376
|
| 524 |
+
],
|
| 525 |
+
"page_idx": 5
|
| 526 |
+
},
|
| 527 |
+
{
|
| 528 |
+
"type": "text",
|
| 529 |
+
"text": "Algorithm 1 DCDM ",
|
| 530 |
+
"text_level": 1,
|
| 531 |
+
"bbox": [
|
| 532 |
+
627,
|
| 533 |
+
138,
|
| 534 |
+
769,
|
| 535 |
+
152
|
| 536 |
+
],
|
| 537 |
+
"page_idx": 5
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"type": "text",
|
| 541 |
+
"text": "1: $\\pmb { r } _ { 0 } = \\pmb { b } - \\pmb { A } ^ { \\Omega } \\pmb { x } _ { 0 }$ \n2: $k = 1$ \n3: while $\\| r _ { k - 1 } \\| \\ge \\epsilon$ do \n4: dk = f (c, rk−1∥rk−1∥ ) \n5: for $i _ { \\mathrm { s t a r t } } \\le i < k$ do \n6: hik = dT AΩdi dT AΩdi \n7: dk-=hikdi \n8: end for \n9: $\\begin{array} { r l } & { \\alpha _ { k } = \\frac { r _ { k - 1 } ^ { T } d _ { k } } { d _ { k } ^ { T } A ^ { \\Omega } d _ { k } } } \\\\ & { x _ { k } = x _ { k - 1 } + \\alpha _ { k } d _ { k } } \\\\ & { r _ { k } = b - A ^ { \\Omega } x _ { k } } \\\\ & { k = k + 1 } \\end{array}$ \n10: \n11: \n12: \n13: end while ",
|
| 542 |
+
"bbox": [
|
| 543 |
+
632,
|
| 544 |
+
156,
|
| 545 |
+
807,
|
| 546 |
+
356
|
| 547 |
+
],
|
| 548 |
+
"page_idx": 5
|
| 549 |
+
},
|
| 550 |
+
{
|
| 551 |
+
"type": "text",
|
| 552 |
+
"text": "ing the L2 difference ∥r−αA(0,1)3 f (c, r)∥2, where α = rT f(c,r)f(c,r)T A(0,1)3 f(c,r) f rom Equation 7. This choice of $\\alpha$ accounts for the unknown scaling in the approximation of $f ( c , r )$ to $\\left( A ^ { ( 0 , 1 ) ^ { 3 } } \\right) ^ { - 1 } r$ . We use an unsupervised approach and train the model by minimizing ",
|
| 553 |
+
"bbox": [
|
| 554 |
+
173,
|
| 555 |
+
377,
|
| 556 |
+
826,
|
| 557 |
+
439
|
| 558 |
+
],
|
| 559 |
+
"page_idx": 5
|
| 560 |
+
},
|
| 561 |
+
{
|
| 562 |
+
"type": "equation",
|
| 563 |
+
"img_path": "images/bf11442072e401d6ca5ceb5d5c2fe7051c67c9d21204c42168a7c1b30e85f761.jpg",
|
| 564 |
+
"text": "$$\n\\begin{array} { r } { \\mathrm { L o s s } ( \\pmb { f } , \\pmb { c } , \\mathscr { D } ) = \\frac { 1 } { | \\mathscr { D } | } \\sum _ { r \\in \\mathscr { D } } \\| \\pmb { r } - \\frac { r ^ { T } f ( \\pmb { c } , r ) } { \\pmb { f } ( \\pmb { c } , r ) ^ { T } \\pmb { A } ^ { ( 0 , 1 ) ^ { 3 } } \\pmb { f } ( \\pmb { c } , r ) } \\pmb { A } ^ { ( 0 , 1 ) ^ { 3 } } \\pmb { f } ( \\pmb { c } , r ) \\| _ { 2 } } \\end{array}\n$$",
|
| 565 |
+
"text_format": "latex",
|
| 566 |
+
"bbox": [
|
| 567 |
+
264,
|
| 568 |
+
446,
|
| 569 |
+
732,
|
| 570 |
+
474
|
| 571 |
+
],
|
| 572 |
+
"page_idx": 5
|
| 573 |
+
},
|
| 574 |
+
{
|
| 575 |
+
"type": "text",
|
| 576 |
+
"text": "for given dataset $\\mathcal { D }$ consisting of training vectors $b ^ { i }$ . In Algorithm 1, the normalized residuals $\\frac { \\boldsymbol { r } _ { k } } { \\| \\boldsymbol { r } _ { k } \\| }$ are passed as inputs to the model. Unlike in e.g. FluidNet (Tompson et al., 2017), only the first residual $\\frac { r _ { 0 } } { \\Vert r _ { 0 } \\Vert }$ is directly related to the problem-dependent original right-hand side $^ { b }$ . Hence we consider a broader range of training vectors than those expected in a given problem of interest, e.g., incompressible flows. We observe that generally the residuals $\\mathbf { \\nabla } r _ { k }$ in Algorithm 1 are skewed to the lower end of the spectrum of the matrix $A ^ { \\Omega }$ . Since $A ^ { \\Omega }$ is a discretized elliptic operator, lower end modes are of lower frequency of spatial oscillation. We create our training vectors $\\mathbf { \\boldsymbol { b } } ^ { i } \\in \\mathcal { D }$ using $m \\ll n$ approximate eigenvectors of the training matrix $A ^ { ( 0 , 1 ) ^ { 3 } }$ . We use the Rayleigh-Ritz method to create approximate eigenvectors $\\pmb q _ { i }$ , $0 \\leq i < m$ . This approach allows us to effectively approximate the full spectrum of $A ^ { ( 0 , 1 ) ^ { 3 } }$ without computing the full eigendecomposition, which can be expensive $( { \\cal O } ( \\bar { n } ^ { 3 } ) )$ at high resolution. We found that using $m \\ : = \\ : 1 0 0 0 0$ worked well in practice. The Rayleigh-Ritz vectors are orthonormal and satisfy $Q _ { m } ^ { T } A ^ { ( 0 , 1 ) ^ { 3 } } Q _ { m } = \\Lambda _ { m }$ , where $\\pmb { \\Lambda } _ { m }$ is a diagonal matrix with nondecreasing diagonal entries $\\lambda _ { i }$ referred to as Ritz values (approximate eigenvalues) and $\\pmb { Q } _ { m } = [ \\pmb { q } _ { 0 } , \\pmb { q } _ { 1 } , \\dots , \\pmb { q } _ { m - 1 } ] \\in \\mathbb { R } ^ { n \\times m }$ . We pick $\\begin{array} { r } { \\pmb { b } ^ { i } = \\frac { \\sum _ { j = 0 } ^ { m - 1 } c _ { j } ^ { i } \\pmb { q } _ { j } } { \\left\\| \\sum _ { j = 0 } ^ { m - 1 } c _ { j } ^ { i } \\pmb { q } _ { j } \\right\\| } } \\end{array}$ , where the coefficients $c _ { j } ^ { i }$ are picked from a standard normal distribution ",
|
| 577 |
+
"bbox": [
|
| 578 |
+
173,
|
| 579 |
+
482,
|
| 580 |
+
826,
|
| 581 |
+
720
|
| 582 |
+
],
|
| 583 |
+
"page_idx": 5
|
| 584 |
+
},
|
| 585 |
+
{
|
| 586 |
+
"type": "equation",
|
| 587 |
+
"img_path": "images/395e1e20cca55da1945267d43b1e898ba5928b72735e7c30cc209c5a7aadea3e.jpg",
|
| 588 |
+
"text": "$$\nc _ { j } ^ { i } = \\left\\{ { \\begin{array} { l l } { 0 \\cdot \\mathcal { N } ( 0 , 1 ) } & { { \\mathrm { i f ~ } } \\tilde { j } \\leq j \\leq { \\frac { m } { 2 } } + \\theta } \\\\ { \\mathcal { N } ( 0 , 1 ) } & { { \\mathrm { o t h e r w i s e } } } \\end{array} } \\right.\n$$",
|
| 589 |
+
"text_format": "latex",
|
| 590 |
+
"bbox": [
|
| 591 |
+
367,
|
| 592 |
+
724,
|
| 593 |
+
629,
|
| 594 |
+
760
|
| 595 |
+
],
|
| 596 |
+
"page_idx": 5
|
| 597 |
+
},
|
| 598 |
+
{
|
| 599 |
+
"type": "text",
|
| 600 |
+
"text": "where $\\theta$ is a small number (we used $\\theta = 5 0 0$ ), and $\\tilde { j }$ is the first index that $\\lambda _ { \\tilde { j } } ^ { - } > 0$ . This choice creates $9 0 \\%$ of $\\mathbf { \\nabla } _ { b } i$ from the lower end of the spectrum, with the remaining $1 0 \\%$ from the higher end. The Riemann-Lebesgue Lemma states the Fourier spectrum of a continuous function will decay at infinity, so this specific choice of $b _ { i }$ ’s is reasonable for the training set. In practice, we also observed that the right-hand sides of the pressure system that arose in flow problems (in the empty domain) tended to be at the lower end of the spectrum. Notably, even though this dataset only uses RayleighRitz vectors from the training matrix $A ^ { ( 0 , 1 ) ^ { 3 } }$ , our network can be effectively generalized to flows in irregular domains, e.g., smoke flow past a rotating box and flow past a bunny (see Figure 3). ",
|
| 601 |
+
"bbox": [
|
| 602 |
+
173,
|
| 603 |
+
763,
|
| 604 |
+
825,
|
| 605 |
+
883
|
| 606 |
+
],
|
| 607 |
+
"page_idx": 5
|
| 608 |
+
},
|
| 609 |
+
{
|
| 610 |
+
"type": "text",
|
| 611 |
+
"text": "We generate the Rayleigh-Ritz vectors by first tridiagonalizing the training matrix $A ^ { ( 0 , 1 ) ^ { 3 } }$ with Lanczos iterations (Lanczos, 1950) to form $\\pmb { T } ^ { m } = \\pmb { Q } _ { m } ^ { L } ^ { T } \\pmb { A } ^ { ( 0 , 1 ) ^ { 3 } } \\pmb { Q } _ { m } ^ { L } \\in \\mathbb { R } ^ { m \\times m }$ . We then diagonalize $\\pmb { T } ^ { m } = \\hat { \\pmb { Q } } ^ { T } \\pmb { \\Lambda } _ { m } \\hat { \\pmb { Q } }$ . While costly, we note that this algorithm is performed on the comparably small $m \\times m$ matrix $\\mathbf { T } ^ { m }$ (rather than on the $A ^ { ( 0 , 1 ) ^ { 3 } } \\in \\mathbb { R } ^ { n \\times n } ,$ ). This yields the Rayleigh-Ritz vectors as the columns of $Q _ { m } = Q _ { m } ^ { L } \\hat { Q }$ . The Lanczos vectors are the columns of the matrix $Q _ { m } ^ { L }$ and satisfy a three-term recurrence whereby the next Lanczos vector can be computed from the previous two as ",
|
| 612 |
+
"bbox": [
|
| 613 |
+
174,
|
| 614 |
+
891,
|
| 615 |
+
823,
|
| 616 |
+
925
|
| 617 |
+
],
|
| 618 |
+
"page_idx": 5
|
| 619 |
+
},
|
| 620 |
+
{
|
| 621 |
+
"type": "text",
|
| 622 |
+
"text": "",
|
| 623 |
+
"bbox": [
|
| 624 |
+
173,
|
| 625 |
+
102,
|
| 626 |
+
825,
|
| 627 |
+
165
|
| 628 |
+
],
|
| 629 |
+
"page_idx": 6
|
| 630 |
+
},
|
| 631 |
+
{
|
| 632 |
+
"type": "equation",
|
| 633 |
+
"img_path": "images/74fb81c962121faba4c85f6b417bd9fc92facd780a9f0d7f579191dbfec861ad.jpg",
|
| 634 |
+
"text": "$$\n\\beta _ { j } \\pmb { q } _ { j + 1 } ^ { L } = \\pmb { A } ^ { ( 0 , 1 ) ^ { 3 } } \\pmb { q } _ { j } ^ { L } - \\beta _ { j - 1 } \\pmb { q } _ { j - 1 } ^ { L } - \\alpha _ { j } \\pmb { q } _ { j } ^ { L } ,\n$$",
|
| 635 |
+
"text_format": "latex",
|
| 636 |
+
"bbox": [
|
| 637 |
+
354,
|
| 638 |
+
171,
|
| 639 |
+
642,
|
| 640 |
+
193
|
| 641 |
+
],
|
| 642 |
+
"page_idx": 6
|
| 643 |
+
},
|
| 644 |
+
{
|
| 645 |
+
"type": "text",
|
| 646 |
+
"text": "where $\\alpha _ { j }$ and $\\beta _ { j }$ are diagonal and subdiagonal entries of $\\pmb { T } ^ { k }$ . $\\beta _ { j }$ is computed so that $\\pmb q _ { j + 1 } ^ { L }$ is a unit vector, and $\\alpha _ { j + 1 } = \\pmb { q } _ { j + 1 } ^ { T } \\pmb { A } ^ { ( 0 , 1 ) ^ { 3 } } \\pmb { q } _ { j + 1 }$ . We initialize the iteration with a random $\\pmb { q } _ { 0 } ^ { L } \\in \\mathrm { s p a n } ( \\pmb { A } ^ { ( 0 , 1 ) ^ { 3 } } )$ . The Lanczos algorithm can be viewed as a modified Gram-Schmidt technique to create an orthonormal basis for the Krylov space associated with $\\pmb q _ { 0 } ^ { L }$ and $A ^ { ( 0 , 1 ) ^ { 3 } }$ , and it therefore suffers from rounding error sensitivities manifested as loss of orthonormality with vectors that do not appear in the recurrence. We found that the simple strategy described in Paige (1971) of orthogonalizing each iterate with all previous Lanczos vectors to be sufficient for our training purposes. Dataset creation takes 5–7 hours for a $6 4 ^ { 3 }$ computational grid, and 2–2.5 days for a $\\boldsymbol { 1 2 8 ^ { \\overline { { 3 } } } }$ grid. ",
|
| 647 |
+
"bbox": [
|
| 648 |
+
173,
|
| 649 |
+
200,
|
| 650 |
+
825,
|
| 651 |
+
320
|
| 652 |
+
],
|
| 653 |
+
"page_idx": 6
|
| 654 |
+
},
|
| 655 |
+
{
|
| 656 |
+
"type": "text",
|
| 657 |
+
"text": "5.2 MODEL ARCHITECTURE ",
|
| 658 |
+
"text_level": 1,
|
| 659 |
+
"bbox": [
|
| 660 |
+
174,
|
| 661 |
+
337,
|
| 662 |
+
383,
|
| 663 |
+
351
|
| 664 |
+
],
|
| 665 |
+
"page_idx": 6
|
| 666 |
+
},
|
| 667 |
+
{
|
| 668 |
+
"type": "image",
|
| 669 |
+
"img_path": "images/048b839895ab4dfb5d59e79b90cfaaf105f450ca0f80073d468f3f23646ad845.jpg",
|
| 670 |
+
"image_caption": [
|
| 671 |
+
"Figure 2: Model architecture for training with $A ^ { ( 0 , 1 ) ^ { 3 } }$ on a $1 2 8 ^ { 3 }$ grid. "
|
| 672 |
+
],
|
| 673 |
+
"image_footnote": [],
|
| 674 |
+
"bbox": [
|
| 675 |
+
189,
|
| 676 |
+
366,
|
| 677 |
+
544,
|
| 678 |
+
522
|
| 679 |
+
],
|
| 680 |
+
"page_idx": 6
|
| 681 |
+
},
|
| 682 |
+
{
|
| 683 |
+
"type": "text",
|
| 684 |
+
"text": "The internal structure of our CNN architecture for a $1 2 8 ^ { 3 }$ grid is shown in Figure 2. It consists of a series of convolutional layers with residual connections. The upper left of Figure 2 ( $K$ Residual Blocks) shows our use of multiple blocks of residually connected layers. Notably, within each block, the first layer directly affects the last layer with an addition operator.All non-input or output convolutions use a $3 \\times 3 \\times 3$ filter, and all layers consist of 16 feature maps. In the middle of the first level, a layer is downsampled (via the average pool",
|
| 685 |
+
"bbox": [
|
| 686 |
+
578,
|
| 687 |
+
363,
|
| 688 |
+
823,
|
| 689 |
+
570
|
| 690 |
+
],
|
| 691 |
+
"page_idx": 6
|
| 692 |
+
},
|
| 693 |
+
{
|
| 694 |
+
"type": "text",
|
| 695 |
+
"text": "ing operator with $( 2 \\times 2 \\times 2 )$ pool size) and another set of convolutional layers is applied with residual connection blocks. The last layer in the second level is upscaled and added to the layer that is downsampled. The last layer in the network is dense with a linear activation function. The activation functions in all convolutional layers are ReLU, except for the first convolution, which uses a linear activation function. ",
|
| 696 |
+
"bbox": [
|
| 697 |
+
173,
|
| 698 |
+
570,
|
| 699 |
+
825,
|
| 700 |
+
640
|
| 701 |
+
],
|
| 702 |
+
"page_idx": 6
|
| 703 |
+
},
|
| 704 |
+
{
|
| 705 |
+
"type": "text",
|
| 706 |
+
"text": "Initially we tried a simple deep feedforward convolutional network with residual connections (motivated by He et al. (2016)). Although such a simple model works well for DCDM, it requires high number of layers, which results in higher training and inference times. We found that creating parallel layers of CNNs with downsampling reduced the number of layers required. In summary, our goal was to first identify the simplest network architecture that provided adequate accuracy for our target problems, and subsequently, we sought to make architectural changes to minimize training and inference time; further optimizations are possible. ",
|
| 707 |
+
"bbox": [
|
| 708 |
+
174,
|
| 709 |
+
647,
|
| 710 |
+
825,
|
| 711 |
+
746
|
| 712 |
+
],
|
| 713 |
+
"page_idx": 6
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"type": "text",
|
| 717 |
+
"text": "Differing resolutions use differing numbers of convolutions, but the fundamental structure remains the same. More precisely, the number of residual connections is changed for different resolutions. For example, a $6 \\dot { 4 } ^ { 3 }$ grid uses one residual block on the left, two on the right on the upper level, and three on the lower level. Furthermore, the weights trained on a lower resolution grid can be used effectively with higher resolutions. Figure 4d shows convergence results for a $2 \\mathrm { { 5 6 ^ { 3 } } }$ grid, using a model trained for a $6 4 ^ { 3 }$ grid and a $1 2 \\bar { 8 } ^ { 3 }$ grid. The model that we use for $2 5 6 ^ { 3 }$ grids in our final examples was trained on a $1 2 8 ^ { 3 }$ grid; however, as the shown in the figure, even training with a $6 4 ^ { 3 }$ grid allows for efficient residual reduction. Table 1 shows results for three different resolutions, where DCDM uses $6 4 ^ { 3 }$ and $1 2 8 ^ { 3 }$ trained models. This approach makes the number of parameters in the model independent of the spatial fidelity of the problem. ",
|
| 718 |
+
"bbox": [
|
| 719 |
+
173,
|
| 720 |
+
751,
|
| 721 |
+
825,
|
| 722 |
+
891
|
| 723 |
+
],
|
| 724 |
+
"page_idx": 6
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"type": "text",
|
| 728 |
+
"text": "5.3 TRAINING ",
|
| 729 |
+
"text_level": 1,
|
| 730 |
+
"bbox": [
|
| 731 |
+
174,
|
| 732 |
+
103,
|
| 733 |
+
285,
|
| 734 |
+
117
|
| 735 |
+
],
|
| 736 |
+
"page_idx": 7
|
| 737 |
+
},
|
| 738 |
+
{
|
| 739 |
+
"type": "text",
|
| 740 |
+
"text": "Using the procedure explained in Section 5.1, we create the training dataset ${ \\mathcal { D } } \\in \\mathsf { s p a n } ( A ^ { ( 0 , 1 ) ^ { 3 } } ) \\cap { \\mathcal { S } } ^ { n - 1 }$ of size 20000 generated from 10000 Rayleigh-Ritz vectors. We train our model with TensorFlow (Abadi et al., 2015) on a single NVIDIA RTX A6000 GPU with 48GB memory. Training is done with standard deep learning techniques—more precisely, back-propagation and the ADAM optimizer (Kingma & Ba, 2015) (with starting learning rate 0.0001). Training takes approximately 10 minutes and 1 hour per epoch for grid resolutions $6 4 ^ { 3 }$ and $\\mathrm { \\dot { 1 } 2 8 ^ { 3 } }$ , respectively. We trained our model for 50 epochs; however, the model from the thirty",
|
| 741 |
+
"bbox": [
|
| 742 |
+
174,
|
| 743 |
+
131,
|
| 744 |
+
419,
|
| 745 |
+
381
|
| 746 |
+
],
|
| 747 |
+
"page_idx": 7
|
| 748 |
+
},
|
| 749 |
+
{
|
| 750 |
+
"type": "image",
|
| 751 |
+
"img_path": "images/32fa04638f7e6d3d367c6df56f430f093be0e2e68b4d13ed0903e506ea28d74a.jpg",
|
| 752 |
+
"image_caption": [
|
| 753 |
+
"Figure 3: DCDM for simulating a variety of incompressible flow examples. Left: smoke plume at $t \\ =$ 6.67, 13.33, 20 seconds. Middle: smoke passing bunny at $t = 5 , 1 0 , 1 5$ seconds. Right: smoke passing a spinning box (time-dependent Neumann boundary conditions) at $t = 2 . 6 7 , 6 , 9 . 3 3$ seconds. "
|
| 754 |
+
],
|
| 755 |
+
"image_footnote": [],
|
| 756 |
+
"bbox": [
|
| 757 |
+
450,
|
| 758 |
+
133,
|
| 759 |
+
803,
|
| 760 |
+
265
|
| 761 |
+
],
|
| 762 |
+
"page_idx": 7
|
| 763 |
+
},
|
| 764 |
+
{
|
| 765 |
+
"type": "text",
|
| 766 |
+
"text": "first epoch was optimal for $6 4 ^ { 3 }$ , and the model from the third epoch was optimal for $1 2 8 ^ { 3 }$ ",
|
| 767 |
+
"bbox": [
|
| 768 |
+
173,
|
| 769 |
+
382,
|
| 770 |
+
759,
|
| 771 |
+
396
|
| 772 |
+
],
|
| 773 |
+
"page_idx": 7
|
| 774 |
+
},
|
| 775 |
+
{
|
| 776 |
+
"type": "text",
|
| 777 |
+
"text": "6 RESULTS AND ANALYSIS ",
|
| 778 |
+
"text_level": 1,
|
| 779 |
+
"bbox": [
|
| 780 |
+
176,
|
| 781 |
+
419,
|
| 782 |
+
413,
|
| 783 |
+
434
|
| 784 |
+
],
|
| 785 |
+
"page_idx": 7
|
| 786 |
+
},
|
| 787 |
+
{
|
| 788 |
+
"type": "text",
|
| 789 |
+
"text": "We demonstrate DCDM on three increasingly difficult examples and provide numerical evidence for the efficient convergence of our method. All examples were run on a workstation with dual AMD EPYC 75F3 processors and 512GB RAM. ",
|
| 790 |
+
"bbox": [
|
| 791 |
+
174,
|
| 792 |
+
450,
|
| 793 |
+
823,
|
| 794 |
+
492
|
| 795 |
+
],
|
| 796 |
+
"page_idx": 7
|
| 797 |
+
},
|
| 798 |
+
{
|
| 799 |
+
"type": "text",
|
| 800 |
+
"text": "Figure 3 showcases DCDM for incompressible smoke simulations. In each simulation, inlet boundary conditions are set in a circular portion of the bottom of the cubic domain, whereby smoke flows around potential obstacles and fills the domain. We show a smoke plume (no obstacles), flow past a complex static geometry (the Stanford bunny), and flow past a dynamic geometry (a rotating cube). Visually plausible and highly-detailed results are achieved for each simulation (see supplementary material for larger videos). The plume example uses a computational grid with resolution $1 2 8 ^ { 3 }$ , while the other two uses grids with resolution $2 5 6 ^ { 3 }$ (representing over 16 million unknowns). For each linear solve, DCDM was run until the residual was reduced by four orders of magnitude. ",
|
| 801 |
+
"bbox": [
|
| 802 |
+
173,
|
| 803 |
+
500,
|
| 804 |
+
825,
|
| 805 |
+
611
|
| 806 |
+
],
|
| 807 |
+
"page_idx": 7
|
| 808 |
+
},
|
| 809 |
+
{
|
| 810 |
+
"type": "text",
|
| 811 |
+
"text": "Table 1: Timing and iteration comparison for different methods on the bunny example. DCDM- $\\{ 6 4 , 1 2 8 \\}$ calls a model whose parameters trained over a $\\{ 6 4 ^ { 3 } , 1 2 8 ^ { 3 } \\}$ grid. All computations are done using only CPUs; model inference does not use GPUs. ",
|
| 812 |
+
"bbox": [
|
| 813 |
+
367,
|
| 814 |
+
623,
|
| 815 |
+
823,
|
| 816 |
+
679
|
| 817 |
+
],
|
| 818 |
+
"page_idx": 7
|
| 819 |
+
},
|
| 820 |
+
{
|
| 821 |
+
"type": "text",
|
| 822 |
+
"text": "For the bunny example, Figures 4a–b demonstrate how residuals decrease over the course of a linear solve, comparing DCDM with other methods. Figure 4a shows the mean results (with standard deviations) over the course of 400 simulation frames, while in Figure 4b, we illustrate behavior on a particular frame (frame 150). For ",
|
| 823 |
+
"bbox": [
|
| 824 |
+
173,
|
| 825 |
+
619,
|
| 826 |
+
354,
|
| 827 |
+
797
|
| 828 |
+
],
|
| 829 |
+
"page_idx": 7
|
| 830 |
+
},
|
| 831 |
+
{
|
| 832 |
+
"type": "table",
|
| 833 |
+
"img_path": "images/3b7dccc2e3d2c2f389bc842cc59d0461cebabdd9b1b1f7f20a9c1b66da69f783.jpg",
|
| 834 |
+
"table_caption": [],
|
| 835 |
+
"table_footnote": [],
|
| 836 |
+
"table_body": "<table><tr><td></td><td colspan=\"2\">64 Grid</td><td colspan=\"2\">1283 Grid</td><td colspan=\"2\">2563 Grid</td></tr><tr><td>Method</td><td>tr</td><td>nr</td><td>tr</td><td>nr</td><td>tr</td><td>nr</td></tr><tr><td>DCDM-64</td><td>2.71s</td><td>16</td><td>22s</td><td>27</td><td>261s</td><td>58</td></tr><tr><td>DCDM-128</td><td>5.37s</td><td>19</td><td>26s</td><td>24</td><td>267s</td><td>44</td></tr><tr><td>CG</td><td>1.77s</td><td>168</td><td>26s</td><td>465</td><td>1548s</td><td>1046</td></tr><tr><td>Deflated PCG</td><td>771.6s</td><td>117</td><td>3700s</td><td>277</td><td>21030s</td><td>489</td></tr></table>",
|
| 837 |
+
"bbox": [
|
| 838 |
+
370,
|
| 839 |
+
690,
|
| 840 |
+
816,
|
| 841 |
+
796
|
| 842 |
+
],
|
| 843 |
+
"page_idx": 7
|
| 844 |
+
},
|
| 845 |
+
{
|
| 846 |
+
"type": "text",
|
| 847 |
+
"text": "FluidNet, we use the implementation provided by fluidnetsc22 (2022). This implementation includes pre-trained models that we use without modification. In both subfigures, it is evident that the FluidNet residual never changes, since the method is not iterative; FluidNet reduces the initial residual by no more than one order of magnitude. On the other hand, with DCDM, we can continually reduce the residual (e.g., by four orders of magnitude) as we apply more iterations of our method, just as with classical CG. In Figure 4b, we also visualize the convergence of three other classical methods, CG, Deflated PCG (Saad et al., 2000), and incomplete Cholesky preconditioned CG (ICPCG)); clearly, DCDM reduces the residual in the fewest number of iterations (e.g., approximately one order of magnitude fewer iterations than ICPCG). Since FluidNet is not an iterative method and lacks a notion of residual reduction, we treat $r _ { 0 }$ for FluidNet as though an initial guess of zero is used (as is done in our solver). ",
|
| 848 |
+
"bbox": [
|
| 849 |
+
173,
|
| 850 |
+
799,
|
| 851 |
+
825,
|
| 852 |
+
924
|
| 853 |
+
],
|
| 854 |
+
"page_idx": 7
|
| 855 |
+
},
|
| 856 |
+
{
|
| 857 |
+
"type": "image",
|
| 858 |
+
"img_path": "images/49a3a4d6c185b571472c1686368f20fff99b702247e6716738f61bbe29294d57.jpg",
|
| 859 |
+
"image_caption": [
|
| 860 |
+
"Figure 4: Convergence data for the bunny example. (a) Mean and std. dev. (over all 400 frames in the simulation) of residual reduction during linear solves (with $1 2 8 ^ { 3 }$ and $2 5 6 ^ { 3 }$ grids) using FluidNet (FN) and DCDM. (b) Residual plots with CG, ICPCG, Deflated PCG, FN, and DCDM at frame 150. Dashed and solid lines represent results for $1 2 8 ^ { 3 }$ and $2 5 6 ^ { 3 }$ , respectively. (c) Decrease in residuals with varying degrees of $\\pmb { A }$ -orthogonalization $( i _ { s } ~ = ~ i _ { \\mathrm { s t a r t } } )$ . (d) Reduction in residuals when the network is trained with a $6 4 ^ { 3 }$ or $1 \\bar { 2 } 8 ^ { 3 }$ grid for the $2 5 6 ^ { 3 }$ grid simulation shown in Figure 3 Middle. "
|
| 861 |
+
],
|
| 862 |
+
"image_footnote": [],
|
| 863 |
+
"bbox": [
|
| 864 |
+
171,
|
| 865 |
+
98,
|
| 866 |
+
825,
|
| 867 |
+
275
|
| 868 |
+
],
|
| 869 |
+
"page_idx": 8
|
| 870 |
+
},
|
| 871 |
+
{
|
| 872 |
+
"type": "text",
|
| 873 |
+
"text": "",
|
| 874 |
+
"bbox": [
|
| 875 |
+
173,
|
| 876 |
+
390,
|
| 877 |
+
823,
|
| 878 |
+
417
|
| 879 |
+
],
|
| 880 |
+
"page_idx": 8
|
| 881 |
+
},
|
| 882 |
+
{
|
| 883 |
+
"type": "text",
|
| 884 |
+
"text": "To clarify these results, Table 1 reports convergence statistics for DCDM compared to standard iterative techniques CG and Deflated PCG. For all $6 4 ^ { 3 }$ , $1 2 8 ^ { 3 }$ , and $2 5 6 ^ { 3 }$ grids with the bunny example, we measure the time $t _ { r }$ and the number of iterations $n _ { r }$ required to reduce the initial residual on a particular time step of the simulation by four orders of magnitude. DCDM achieves the desired results in by far the fewest number of iterations at all resolutions. At $2 5 6 ^ { 3 }$ , DCDM performs approximately 6 times faster than CG, suggesting a potentially even wider performance advantage at higher resolutions. Inference is the dominant cost in an iteration of DCDM; the other linear algebra computations in an iteration of DCDM are comparable to those in CG. The nice result of our method is that despite the increased time per iteration, the number of required iterations is reduced so drastically that DCDM materially outperforms classical methods like CG. Although ICPCG successfully reduces number of iterations $^ { 4 \\mathrm { ~ b ~ } }$ , we found the runtime to scale prohibitively with grid resolution, so we exclude it from comparison in table 1. Notably, even though Deflated PCG and DCDM are based on approximate Ritz vectors, DCDM performs far better, indicating the value of using a neural network. ",
|
| 885 |
+
"bbox": [
|
| 886 |
+
173,
|
| 887 |
+
425,
|
| 888 |
+
825,
|
| 889 |
+
619
|
| 890 |
+
],
|
| 891 |
+
"page_idx": 8
|
| 892 |
+
},
|
| 893 |
+
{
|
| 894 |
+
"type": "text",
|
| 895 |
+
"text": "7 CONCLUSIONS ",
|
| 896 |
+
"text_level": 1,
|
| 897 |
+
"bbox": [
|
| 898 |
+
176,
|
| 899 |
+
654,
|
| 900 |
+
328,
|
| 901 |
+
670
|
| 902 |
+
],
|
| 903 |
+
"page_idx": 8
|
| 904 |
+
},
|
| 905 |
+
{
|
| 906 |
+
"type": "text",
|
| 907 |
+
"text": "We presented DCDM, incorporating CNNs into a CG-style algorithm that yields efficient, convergent behavior for solving linear systems. Our method is evaluated on linear systems with over 16 million degrees of freedom and converges to a desired tolerance in merely tens of iterations. Furthermore, despite training the underlying network on domains without obstacles, our network is able to successfully predict search directions that enable efficient linear solves on domains with complex and dynamic geometries. Moreover, the training data for our network does not require running fluid simulations or solving linear systems ahead of time; our Rayleigh-Ritz vector approach enables us to quickly generate very large training datasets, unlike approaches seen in other works. ",
|
| 908 |
+
"bbox": [
|
| 909 |
+
174,
|
| 910 |
+
694,
|
| 911 |
+
825,
|
| 912 |
+
806
|
| 913 |
+
],
|
| 914 |
+
"page_idx": 8
|
| 915 |
+
},
|
| 916 |
+
{
|
| 917 |
+
"type": "text",
|
| 918 |
+
"text": "Our network was designed for and trained exclusively using data related to the discrete Poisson matrix, which likely limits the generalizability of our present model. However, we believe our method is readily applicable to other classes of PDEs (or general problems with graph structure) that give rise to large, sparse, symmetric linear systems. We note that our method is unlikely to work well for matrices that have high computational cost to evaluate $A * x$ (such as dense matrices), since training relies on efficient $\\boldsymbol { A } * \\boldsymbol { x }$ evaluations. An interesting question to consider is how well our method and current models would apply to discrete Poisson matrices arising from non-uniform grids, e.g., quadtrees or octrees (Losasso et al., 2004). ",
|
| 919 |
+
"bbox": [
|
| 920 |
+
174,
|
| 921 |
+
811,
|
| 922 |
+
825,
|
| 923 |
+
924
|
| 924 |
+
],
|
| 925 |
+
"page_idx": 8
|
| 926 |
+
},
|
| 927 |
+
{
|
| 928 |
+
"type": "text",
|
| 929 |
+
"text": "REFERENCES \nM. Abadi, A. Agarwal, P. Barham, E. Brevdo, Z. Chen, C. Citro, G. S. Corrado, A. Davis, J. Dean, M. Devin, S. Ghemawat, I. Goodfellow, A. Harp, G. Irving, M. Isard, Y. Jia, R. Jozefowicz, L. Kaiser, M. Kudlur, J. Levenberg, D. Mane, R. Monga, S. Moore, D. Murray, C. Olah, ´ M. Schuster, J. Shlens, B. Steiner, I. Sutskever, K. Talwar, P. Tucker, V. Vanhoucke, V. Vasudevan, F. Viegas, O. Vinyals, P. Warden, M. Wattenberg, M. Wicke, Y. Yu, and X. Zheng. ´ TensorFlow: Large-scale machine learning on heterogeneous systems, 2015. URL https: //www.tensorflow.org/. Software available from tensorflow.org. \nJ. Ackmann, P. D. Duben, T. N. Palmer, and P. K. Smolarkiewicz. Machine-learned preconditioners ¨ for linear solvers in geophysical fluid flows. arXiv preprint arXiv:2010.02866, 2020. \nA. Brandt. Multi-level adaptive solutions to boundary-value problems. Math Comp, 31(138):333– 390, 1977. \nR. Bridson. Fluid simulation for computer graphics. Taylor & Francis, 2008. \nA. Chorin. A numerical method for solving incompressible viscous flow problems. J Comp Phys, 2 (1):12–26, 1967. \nR. Fedkiw, J. Stam, and H. Jensen. Visual simulation of smoke. In SIGGRAPH, pp. 15–22. ACM, 2001. \nfluidnetsc22. fluidnetsc22/fluidnet sc22: v0.0.1, April 2022. URL https://doi.org/10. 5281/zenodo.6424901. doi: 10.5281/zenodo.6424901, URL: https://doi.org/10. 5281/zenodo.6424901. \nS. Gagniere, D. Hyde, A. Marquez-Razon, C. Jiang, Z. Ge, X. Han, Q. Guo, and J. Teran. A hybrid Lagrangian/Eulerian collocated velocity advection and projection method for fluid simulation. Computer Graphics Forum, 39(8):1–14, 2020. doi: https://doi.org/10.1111/cgf.14096. \nG. Golub and C. Van Loan. Matrix computations, volume 3. JHU Press, 2012. \nM. Gotz and H. Anzt. Machine learning-aided numerical linear algebra: Convolutional neural net- ¨ works for the efficient preconditioner generation. In 2018 IEEE/ACM 9th Workshop on Latest Advances in Scalable Algorithms for Large-Scale Systems (scalA), pp. 49–56. IEEE, 2018. \nA. Grebhahn, N. Siegmund, H. Kostler, and S. Apel. Performance prediction of multigrid-solver ¨ configurations. In Software for Exascale Computing-SPPEXA 2013-2015, pp. 69–88. Springer, 2016. \nD. Greenfeld, M. Galun, R. Basri, I. Yavneh, and R. Kimmel. Learning to optimize multigrid PDE solvers. In Int Conf Mach Learn, pp. 2415–2423. PMLR, 2019. \nF. Harlow and E. Welch. Numerical calculation of time dependent viscous flow of fluid with a free surface. Phys Fluid, 8(12):2182–2189, 1965. \nKaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 770–778, 2016. doi: 10.1109/CVPR.2016.90. \nM. R. Hestenes and E. Stiefel. Methods of conjugate gradients for solving linear systems. Journal of research of the National Bureau of Standards, 49(6):409, 1952. \nJ.-T. Hsieh, S. Zhao, S. Eismann, L. Mirabella, and S. Ermon. Learning neural PDE solvers with convergence guarantees, 2019. URL https://arxiv.org/abs/1906.01200. \nT. Ichimura, K. Fujita, M. Hori, L. Maddegedara, N. Ueda, and Y. Kikuchi. A fast scalable iterative implicit solver with Green’s function-based neural networks. In 2020 IEEE/ACM 11th Workshop on Latest Advances in Scalable Algorithms for Large-Scale Systems (ScalA), pp. 61–68, 2020. doi: 10.1109/ScalA51936.2020.00013. \nD. Kershaw. The incomplete Cholesky conjugate gradient method for the iterative solution of systems of linear equations. J Comp Phys, 26(1):43–65, 1978. \nD. P. Kingma and J. Ba. Adam: A method for stochastic optimization. CoRR, abs/1412.6980, 2015. \nC. Lanczos. An iteration method for the solution of the eigenvalue problem of linear differential and integral operators. 1950. \nF. Losasso, F. Gibou, and R. Fedkiw. Simulating water and smoke with an octree data structure. ACM Trans. Graph., 23(3):457–462, 2004. \nK. Luna, K. Klymko, and J. P. Blaschke. Accelerating GMRES with deep learning in real-time, 2021. URL https://arxiv.org/abs/2103.10975. \nI. Luz, M. Galun, H. Maron, R. Basri, and I. Yavneh. Learning algebraic multigrid using graph neural networks. In Int Conf Mach Learn, pp. 6489–6499. PMLR, 2020. \nH. Nussbaumer. The fast Fourier transform. In Fast Fourier Transform and Convolution Algorithms, pp. 80–111. Springer, 1981. \nC. C. Paige. The computation of eigenvalues and eigenvectors of very large sparse matrices. PhD thesis, University of London, 1971. \nC. C. Paige and M. A. Saunders. Solution of sparse indefinite systems of linear equations. SIAM journal on numerical analysis, 12(4):617–629, 1975. \nH. Ruelmann, M. Geveler, and S. Turek. On the prospects of using machine learning for the numerical simulation of PDEs: Training neural networks to assemble approximate inverses, 2018. URL http://dx.doi.org/10.17877/DE290R-18778. \nY. Saad. Iterative Methods for Sparse Linear Systems. Society for Industrial and Applied Mathematics, USA, 2nd edition, 2003. ISBN 0898715342. \nY. Saad and M. Schultz. GMRES: A generalized minimal residual algorithm for solving nonsymmetric linear systems. SIAM J Sci Stat Comp, 7(3):856–869, 1986. \nY. Saad, M. Yeung, J. Erhel, and F. Guyomarc’h. A deflated version of the conjugate gradient algorithm. SIAM Journal on Scientific Computing, 21:1909–1926, 2000. \nJ. Sappl, L. Seiler, M. Harders, and W. Rauch. Deep learning of preconditioners for conjugate gradient solvers in urban water related problems, 2019. URL https://arxiv.org/abs/ 1906.06925. \nR. Stanaityte. ILU and Machine Learning Based Preconditioning For The Discretized Incompressible Navier-Stokes Equations. PhD thesis, University of Houston, 2020. \nE. Stiefel. Uber einige methoden der relaxationsrechnung. ¨ Zeitschrift fur angewandte Mathematik ¨ und Physik ZAMP, 3(1):1–33, 1952. \nJ. Tompson, K. Schlachter, P. Sprechmann, and K. Perlin. Accelerating Eulerian fluid simulation with convolutional networks. In D. Precup and Y. Teh (eds.), Proc 34th Int Conf Mach Learn, volume 70 of Proc Mach Learn Res, pp. 3424–3433. PMLR, 06–11 Aug 2017. \nL. Trefethen and D. Bau. Numerical Linear Algebra, volume 50. SIAM, 1997. \nK. Um, R. Brand, Y. Fei, P. Holl, and N. Thuerey. Solver-in-the-loop: Learning from differentiable physics to interact with iterative PDE-solvers. In H. Larochelle, M. Ranzato, R. Hadsell, M.F. Balcan, and H. Lin (eds.), Advances in Neural Information Processing Systems, volume 33, pp. 6111–6122. Curran Associates, Inc., 2020. URL https://proceedings.neurips.cc/ paper/2020/file/43e4e6a6f341e00671e123714de019a8-Paper.pdf. \nC. Yang, X. Yang, and X. Xiao. Data-driven projection method in fluid simulation. Comp Anim Virt Worlds, 27(3-4):415–424, 2016. ",
|
| 930 |
+
"bbox": [
|
| 931 |
+
168,
|
| 932 |
+
77,
|
| 933 |
+
826,
|
| 934 |
+
930
|
| 935 |
+
],
|
| 936 |
+
"page_idx": 9
|
| 937 |
+
},
|
| 938 |
+
{
|
| 939 |
+
"type": "text",
|
| 940 |
+
"text": "",
|
| 941 |
+
"bbox": [
|
| 942 |
+
168,
|
| 943 |
+
26,
|
| 944 |
+
828,
|
| 945 |
+
875
|
| 946 |
+
],
|
| 947 |
+
"page_idx": 10
|
| 948 |
+
}
|
| 949 |
+
]
|
parse/dev/ldRb12nMfLQ/ldRb12nMfLQ_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/ldRb12nMfLQ/ldRb12nMfLQ_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/shpkpVXzo3h/shpkpVXzo3h_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/zkk_7sV6gm8/zkk_7sV6gm8.md
ADDED
|
@@ -0,0 +1,458 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Timing is Everything: Learning to Act Selectively with Costly Actions and Budgetary Constraints
|
| 2 |
+
|
| 3 |
+
Anonymous Author(s)
|
| 4 |
+
|
| 5 |
+
# Abstract
|
| 6 |
+
|
| 7 |
+
1 Many real-world settings involve costs for performing actions; transaction costs
|
| 8 |
+
2 in financial systems and fuel costs being common examples. In these settings,
|
| 9 |
+
3 performing actions at each time step quickly accumulates costs leading to vastly
|
| 10 |
+
4 suboptimal outcomes. Additionally, repeatedly acting produces wear and tear and
|
| 11 |
+
5 ultimately, damage. Determining when to act is crucial for achieving successful
|
| 12 |
+
6 outcomes and yet, the challenge of efficiently learning to behave optimally when
|
| 13 |
+
7 actions incur minimally bounded costs remains unresolved. In this paper, we intro
|
| 14 |
+
8 duce a reinforcement learning (RL) framework named Learnable Impulse Control
|
| 15 |
+
9 Reinforcement Algorithm (LICRA), for learning to optimally select both when
|
| 16 |
+
10 to act and which actions to take when actions incur costs. At the core of LICRA
|
| 17 |
+
11 is a nested structure that combines RL and a form of policy known as impulse
|
| 18 |
+
12 control which learns to maximise objectives when actions incur costs. We prove
|
| 19 |
+
13 that LICRA, which seamlessly adopts any RL method, converges to policies that
|
| 20 |
+
14 optimally select when to perform actions and their optimal magnitudes. We then
|
| 21 |
+
15 augment LICRA to handle problems in which the agent can perform at most $k < \infty$
|
| 22 |
+
16 actions and more generally, faces a budget constraint. We show LICRA learns the
|
| 23 |
+
17 optimal value function and ensures budget constraints are satisfied almost surely.
|
| 24 |
+
18 We demonstrate empirically LICRA’s superior performance against benchmark
|
| 25 |
+
19 RL methods in OpenAI gym’s Lunar Lander and in Highway environments and a
|
| 26 |
+
20 variant of the Merton portfolio problem within finance.
|
| 27 |
+
|
| 28 |
+
# 21 1 Introduction
|
| 29 |
+
|
| 30 |
+
22 There are many settings in which agents incur costs each time they perform an action. Transaction
|
| 31 |
+
23 costs in financial settings [19], fuel expenditure [32], toxicity as a side effect of controlling bacte
|
| 32 |
+
24 ria [29] and physical damage produced by repeated action that produces wear and tear are just a
|
| 33 |
+
25 few among many examples [13]. In these settings, performing actions at each time step is vastly
|
| 34 |
+
26 suboptimal since acting in this way results in prohibitively high costs and undermines the service life
|
| 35 |
+
27 of machinery. Minimising wear and tear is an essential attribute to safeguard against failures that can
|
| 36 |
+
28 result in catastrophic losses [13].
|
| 37 |
+
29 Reinforcement learning (RL) is a framework that enables autonomous agents to learn complex
|
| 38 |
+
30 behaviours from interactions with the environment [30, 11]. Within the standard RL paradigm,
|
| 39 |
+
31 determining optimal actions involves making a selection from among many (possibly infinite) actions;
|
| 40 |
+
32 a procedure that must be performed at each time-step as the agent decides on an action. In unknown
|
| 41 |
+
33 settings, the agent cannot immediately exploit any topological structure of the action set (if any
|
| 42 |
+
34 exists). Consequently, learning not to take an action i.e performing a zero or null action, involves
|
| 43 |
+
35 expensive optimisation procedures over the entire action set. Since this must be done at each state,
|
| 44 |
+
36 this process is vastly inefficient for learning optimal policies when the agent incurs costs for acting.
|
| 45 |
+
37 In this paper, we tackle this problem by developing an RL framework for finding both an optimal
|
| 46 |
+
38 criterion to determine whether or not to execute actions as well as learning optimal actions. A key
|
| 47 |
+
39 component of our framework is a novel combination of RL with a form of policy known as impulse
|
| 48 |
+
40 control [22, 19]. This enables the agent to determine the appropriate points to perform an action as
|
| 49 |
+
41 well as the optimal action itself. Despite its fundamental importance as a tool for tackling decision
|
| 50 |
+
42 problems with costly actions, presently, the use of impulse control within learning contexts (and
|
| 51 |
+
43 unknown environments) is unaddressed.
|
| 52 |
+
44 We present an RL impulse control framework called LICRA, which, to our knowledge, is the first
|
| 53 |
+
45 learning framework for impulse control. To enable learning optimal impulse control policies in
|
| 54 |
+
46 unknown environments, we devise a framework that consists of separate RL components for learning
|
| 55 |
+
47 when to act and how to act optimally. The resulting framework is a structured two-part learning
|
| 56 |
+
48 process which differs from current RL protocols. In LICRA, at each time step, the agent firstly makes
|
| 57 |
+
49 a decision whether to act or not leading to a binary decision space $\{ 0 , 1 \}$ (we later show that this
|
| 58 |
+
50 is determined by evaluating an easy-to-evaluate criterion which has the value function as its input).
|
| 59 |
+
51 The second decision part determines the best action to take. This generates a subdivision of the state
|
| 60 |
+
52 space into two regions; one in which the agent performs actions and another in which it does not act
|
| 61 |
+
53 at all. This is extremely useful since the agent quickly determines the set of states to not take actions
|
| 62 |
+
54 while performing actions only at the subset of states where actions are to be executed.
|
| 63 |
+
55 We then establish theory that ensures convergence of LICRA to an optimal policy for such settings.
|
| 64 |
+
56 To do this, we give a series of results namely:
|
| 65 |
+
57 i) We establish a dynamic programming principle (DPP) for impulse control and show that the optimal
|
| 66 |
+
58 value function can be obtained as a limit of a value iterative procedure (Theorem 1) which lays the
|
| 67 |
+
59 foundation for an RL approach to impulse control.
|
| 68 |
+
60 ii) We extend result i) to a new variant of Q learning which enables the impulse control problem to be
|
| 69 |
+
61 solved using our RL method (Theorem 2).
|
| 70 |
+
62 iii) We characterise the optimal conditions for performing an action which we reveal to be a simple
|
| 71 |
+
63 ‘obstacle condition’ involving the agent’s value function (Prop. 1). Using this, the agent can quickly
|
| 72 |
+
64 determine whether or not it should act and if so, then learn what the optimal action is.
|
| 73 |
+
65 iv) We then extend the result i) to (linear) function approximators enabling the value function to be
|
| 74 |
+
66 parameterised (Theorem 3).
|
| 75 |
+
67 iv) In Sec. 6, we extend LICRA to include budgetary constraints so that each action draws from a
|
| 76 |
+
68 fixed budget which the agent must stay within. Analogous to the development of i), we establish
|
| 77 |
+
69 another DPP from which we derive a Q-learning variant for tackling impulse control with budgetary
|
| 78 |
+
70 constraints (Theorem 4). A particular case of a budget constraint is when the number of actions the
|
| 79 |
+
71 agent can take over the horizon is capped.
|
| 80 |
+
72 Lastly, we perform a set of experiments to validate our theory within the Highway driving simulator
|
| 81 |
+
73 and OpenAI’s LunarLander [7].
|
| 82 |
+
74 LICRA confers a series of advantages. As we demonstrate in our experiments, LICRA learns to
|
| 83 |
+
75 compute the optimal problems in which the agent faces costs for acting in an efficient way which
|
| 84 |
+
76 outperforms leading RL baselines. Second, as demonstrated in Sec. 6 LICRA handles settings in
|
| 85 |
+
77 which the agent has a cap the total number of actions it is allowed to execute and more generally,
|
| 86 |
+
78 generic budgetary constraints. LICRA is able to accommodate any RL base algorithm unlike various
|
| 87 |
+
79 RL methods designed to handle budgetary constraints.
|
| 88 |
+
|
| 89 |
+
# 80 2 Related Work
|
| 90 |
+
|
| 91 |
+
81 In continuous-time optimal control theory [24], problems in which the agent faces a cost for each
|
| 92 |
+
82 action are tackled with a form of policy known as impulse control [22, 19, 2]. In impulse control
|
| 93 |
+
83 frameworks, the dynamics of the system are modified through a sequence of discrete actions or bursts
|
| 94 |
+
84 chosen at times that the agent chooses to apply the control policy. This distinguishes impulse control
|
| 95 |
+
85 models from classical decision methods in which an agent takes actions at each time step while being
|
| 96 |
+
86 tasked with the decision of only which action to take. Impulse control models represent appropriate
|
| 97 |
+
87 modelling frameworks for financial environments with transaction costs, liquidity risks and economic
|
| 98 |
+
88 environments in which players face fixed adjustment costs (e.g. menu costs) [16, 20].
|
| 99 |
+
89 The current setting is intimately related to the optimal stopping problem which widely occurs in
|
| 100 |
+
90 finance, economics and computer science [23, 31]. In the optimal stopping problem, the task is to
|
| 101 |
+
91 determine a criterion that determines when to arrest the system and receive a terminal reward. In this
|
| 102 |
+
92 case, standard RL methods are unsuitable since they require an expensive sweep (through the set
|
| 103 |
+
93 of states) to determine the optimal point to arrest the system. The current problem can be viewed
|
| 104 |
+
94 as an augmented problem of optimal stopping since the agent must now determine both a sequence
|
| 105 |
+
95 of points to perform an action or intervene and their optimal magnitudes — only acting when the
|
| 106 |
+
96 cost of action is justified [25]. Adapting RL to tackle optimal stopping problems has been widely
|
| 107 |
+
97 studied [31, 4, 9] and applied to a variety of real-world settings within finance [12], radiation therapy
|
| 108 |
+
98 [1] and network operating systems [3]. Our work serves as a natural extenstion to RL approaches to
|
| 109 |
+
99 optimal stopping to the case in which the agent must decide at which points to take many actions. As
|
| 110 |
+
100 with optimal stopping, standard RL methods cannot efficiently tackle this problem since determining
|
| 111 |
+
101 whether to perform a 0 action requires a costly sweep through the action space at every state [31]. In
|
| 112 |
+
102 [26] the authors introduce “sparse action” with a similar motivation as impulse control. However,
|
| 113 |
+
103 the authors treat only the discrete action space case. The authors in [26] do not discuss a broader
|
| 114 |
+
104 theoretical framework of dealing with “sparse actions”, and develop purely algorithmic solutions.
|
| 115 |
+
105 Additionally, unlike the approach taken in [26], the problem setting we consider is one in which the
|
| 116 |
+
106 agent faces a cost for each action - the produces a need for the agent to be selective about where it
|
| 117 |
+
107 performs actions (but does not necessarily constrain the magnitude or choice of those actions).
|
| 118 |
+
|
| 119 |
+
# 108 3 Preliminaries
|
| 120 |
+
|
| 121 |
+
109 Reinforcement Learning (RL). In RL, an agent sequentially selects actions to maximise its expected
|
| 122 |
+
110 returns. The underlying problem is typically formalised as an MDP $\langle S , \mathcal { A } , P , R , \gamma \rangle$ where $S \subset \mathbb { R } ^ { p }$
|
| 123 |
+
111 is the set of states, $\mathcal { A } \subset \mathbb { R } ^ { k }$ is the set of actions, $P : \mathcal { S } \times \mathcal { A } \times \mathcal { S } [ 0 , 1 ]$ is a transition probability
|
| 124 |
+
112 function describing the system’s dynamics, $R : S \times \mathcal { A } \mathbb { R }$ is the reward function measuring the
|
| 125 |
+
113 agent’s performance and the factor $\gamma \in [ 0 , 1 )$ specifies the degree to which the agent’s rewards are
|
| 126 |
+
114 discounted over time [30]. At time $t \in { 0 , 1 , \ldots }$ , the system is in state $s _ { t } \in S$ and the agent must
|
| 127 |
+
115 choose an action $a _ { t } \in \mathcal A$ which transitions the system to a new state $s _ { t + 1 } \sim P ( \cdot | s _ { t } , a _ { t } )$ and produces
|
| 128 |
+
116 a reward $R ( s _ { t } , a _ { t } )$ . A policy $\pi : S \times A \to [ 0 , 1 ]$ is a probability distribution over state-action pairs
|
| 129 |
+
117 where $\pi ( a | s )$ represents the probability of selecting action $a \in { \mathcal { A } }$ in state $s \in S$ . The goal of an
|
| 130 |
+
118 RL agent is to find a policy ${ \hat { \pi } } \in \Pi$ that maximises its expected returns given by the value function:
|
| 131 |
+
119 $\begin{array} { r } { v ^ { \pi } ( s ) = \mathbb { E } [ \sum _ { t = 0 } ^ { \infty } \gamma ^ { t } \bar { R } ( s _ { t } , a _ { t } ) | a _ { t } \sim \pi ( \cdot | s _ { t } ) , s _ { 0 } = s ] } \end{array}$ $\begin{array} { r } { Q ( s , a ) = \mathbb { E } [ \sum _ { t = 0 } ^ { \infty } R ( s _ { t } , a _ { t } ) | a _ { 0 } = a , s _ { 0 } = s ] } \end{array}$ $\Pi$ ent’s policy set. The action.
|
| 132 |
+
121 We consider a setting in which the agent faces at least some minimal cost for each action it performs.
|
| 133 |
+
122 With this, the agent’s task is to maximise:
|
| 134 |
+
|
| 135 |
+
$$
|
| 136 |
+
v ^ { \pi } ( s ) = \mathbb { E } \left[ \sum _ { t = 0 } ^ { \infty } \gamma ^ { t } \left\{ \mathcal { R } ( s _ { t } , a _ { t } ) - \mathcal { C } ( s _ { t } , a _ { t } ) \right\} \Big | s _ { 0 } = s \right] ,
|
| 137 |
+
$$
|
| 138 |
+
|
| 139 |
+
123 where for any state $s \in S$ and any action $a \in { \mathcal { A } }$ , the functions $\mathcal { R }$ and $\mathcal { C }$ are given by $\textstyle { \mathcal { R } } ( s , a ) =$
|
| 140 |
+
124 $R ( s , a ) \mathbf { 1 } _ { a \in \mathcal { A } } + R ( s , 0 ) ( 1 - \mathbf { 1 } _ { a \in \mathcal { A } } )$ where $\mathbf { 1 } _ { a \in \mathcal { A } }$ is the indicator function which is 1 when $a \in { \mathcal { A } }$ and 0
|
| 141 |
+
125 otherwise and ${ \mathcal { C } } ( s , a ) : = c ( s , a ) \mathbf { 1 } _ { a \in { \mathcal { A } } }$ where $c : S \times \mathcal { A } \mathbb { R }$ is a minimally bounded (cost) function1
|
| 142 |
+
126 that introduces a cost each time the agent performs an action. Examples of the cost function is a
|
| 143 |
+
127 quasi-linear function of the form $c ( s _ { t } , \bar { a } _ { t } ) \stackrel { } { = } \kappa + f ( a _ { t } )$ where $f : \mathcal { A } \mathbb { R } _ { > 0 }$ and $\kappa$ is a positive real
|
| 144 |
+
128 valued constant. Since acting at each time step would incur prohibitively high costs, the agent must
|
| 145 |
+
129 be selective when to perform an action. Therefore, in this setting, the agent’s problem is augmented to
|
| 146 |
+
130 learning both an optimal policy for its actions and, learning at which states to apply its action policy.
|
| 147 |
+
131 Example: Merton Portfolio Problem with Transaction Costs [10]. An investor performs a series
|
| 148 |
+
132 of costly portfolio adjustments by buying and selling amounts of different assets within their portfolio.
|
| 149 |
+
133 Each investment incurs a fixed minimal cost (also known as transaction costs) which is deducted
|
| 150 |
+
134 from the investor’s available cash-flow. The investor’s aim is to maximise their total wealth (the value
|
| 151 |
+
135 of the sum of their assets) at some time horizon by adjusting their portfolio of investments. Problems
|
| 152 |
+
136 of this kind, portfolio investment problems are of fundamental importance within finance [18].
|
| 153 |
+
37 Example 2. An autonomous vehicle must perform a series of actions to perform a task. Each action
|
| 154 |
+
38 draws from its fuel budget. In order to complete its task successfully, during the task, the vehicle
|
| 155 |
+
139 must ensure it maintains an available supply.
|
| 156 |
+
141 In RL, the agent’s problem involves learning to act at every state including those in which actions do
|
| 157 |
+
142 not significantly impact on its total return. While we can add a zero action to the action set $\mathcal { A }$ and
|
| 158 |
+
143 apply standard methods, we argue that this may not be the best solution in many situations. We argue
|
| 159 |
+
144 the optimal policy has the following form:
|
| 160 |
+
|
| 161 |
+
$$
|
| 162 |
+
\begin{array} { r } { \widetilde { \pi } ( \cdot | s ) = \left\{ \begin{array} { l l } { a _ { t } } & { s \in S _ { I } , } \\ { 0 } & { s \notin S _ { I } , } \end{array} \right. } \end{array}
|
| 163 |
+
$$
|
| 164 |
+
|
| 165 |
+
145 which implies that we simplify policy learning by determining the set $ { \boldsymbol { S } } _ { I }$ first — the set where we
|
| 166 |
+
146 actually need to learn the policy.
|
| 167 |
+
147 We now introduce a learning method for producing impulse controls. This enables the agent to learn
|
| 168 |
+
148 to select states to perform actions. Therefore, now agent is tasked with learning to act at states that
|
| 169 |
+
149 are most important for maximising its total return given the presence of the cost for each action. Now
|
| 170 |
+
150 at each state the agent first makes a binary decision to decide to perform an action.
|
| 171 |
+
151 Our framework, LICRA consists of two core components: firstly a RL process $\mathfrak { g } : \mathcal { S } \times \{ 0 , 1 \} [ 0 , 1 ]$
|
| 172 |
+
152 and a second RL process $\pi : S \times A \to [ 0 , 1 ]$ . The role of $\mathfrak { g }$ is to determine whether or not an action
|
| 173 |
+
153 is to be performed by the policy $\pi$ at a given state $s$ . If activated, the policy $\pi$ determines the action
|
| 174 |
+
154 to be selected. Prior to decisions being made, the policy $\pi$ communicates to $\mathfrak { g }$ the action it would
|
| 175 |
+
155 take. An important feature of our LICRA is the sequential decision process. In LICRA, the policy
|
| 176 |
+
156 $\pi$ first proposes an action $a \in { \mathcal { A } }$ which is observed by the policy $\mathfrak { g }$ . Therefore, the role of $\mathfrak { g }$ is to
|
| 177 |
+
157 prevent actions for which the change in expected future rewards does not exceed the costs incurred
|
| 178 |
+
158 for taking such actions. By isolating a decision policy over whether an action should be taken or not,
|
| 179 |
+
159 the impulse controls mechanism results in a framework in which the problem facing the agent has a
|
| 180 |
+
160 markedly reduced decision space (in comparison to a standard RL method). Crucially, the agent must
|
| 181 |
+
161 compute optimal actions at only a subset of states which are chosen by the policy g. Below is the
|
| 182 |
+
162 pseudocode for LICRA, we provide full details of the code in Sec. 9 of the Appendix.
|
| 183 |
+
|
| 184 |
+
# Algorithm 1: Learnable Impulse Control Reinforcement Algorithm (LICRA)
|
| 185 |
+
|
| 186 |
+
1: Input: Stepsize $\alpha$ , batch size $B$ , episodes $K$ , steps per episode $T$ , mini-epochs $e$
|
| 187 |
+
2: Initialise: Policy network (acting) $\pi$ , Policy network (switching) $\mathfrak { g }$ ,
|
| 188 |
+
Critic network (acting $) V _ { \pi }$ ,Critic network (switching $) V _ { { \mathfrak { g } } }$
|
| 189 |
+
3: Given reward objective function, $R$ , initialise Rollout Buffers $B _ { \pi }$ , $B _ { \mathfrak { g } }$ (use Replay Buffer for
|
| 190 |
+
SAC)
|
| 191 |
+
4: for $N _ { e p i s o d e s }$ do
|
| 192 |
+
5: Reset state $s _ { 0 }$ , Reset Rollout Buffers $B _ { \pi }$ , $B _ { \mathfrak { g } }$
|
| 193 |
+
6: for $t = 0 , 1 , \ldots$ do
|
| 194 |
+
7: Sample $a _ { t } \sim \pi ( \cdot | s _ { t } )$
|
| 195 |
+
8: Sample $g _ { t } \sim \mathfrak { g } ( \cdot | s _ { t } )$
|
| 196 |
+
9: if $g _ { t } = 0$ then
|
| 197 |
+
10: Apply $a _ { t }$ so $s _ { t + 1 } \sim P ( \cdot | a _ { t } , s _ { t } ) .$ ,
|
| 198 |
+
11: Receive rewards $r _ { t } = \mathcal { R } ( s _ { t } , a _ { t } )$
|
| 199 |
+
12: Store $( s _ { t } , a _ { t } , s _ { t + 1 } , r _ { t } )$ in $B _ { \pi }$
|
| 200 |
+
13: else
|
| 201 |
+
14: Apply the null action so $s _ { t + 1 } \sim P ( \cdot | 0 , s _ { t } )$ ,
|
| 202 |
+
15: Receive rewards $r _ { t } = \mathcal { R } ( s _ { t } , 0 )$ .
|
| 203 |
+
16: end if
|
| 204 |
+
17: Store $( s _ { t } , g _ { t } , s _ { t + 1 } , r _ { t } )$ in $B _ { \mathfrak { g } }$
|
| 205 |
+
18: end for
|
| 206 |
+
19: // Learn the individual policies
|
| 207 |
+
20: Update policy $\pi$ and critic $V _ { \pi }$ networks using $\mathfrak { B } _ { \pi }$
|
| 208 |
+
21: Update policy $\mathfrak { g }$ and critic $V _ { \mathfrak { g } }$ networks using ${ \mathfrak { B } } _ { { \mathfrak { g } } }$
|
| 209 |
+
22: end for
|
| 210 |
+
165 Although action space cardinality does not change there are still benefits of using impulse control
|
| 211 |
+
166 mechanism. This mechanism forces the agent to first determine the set of states to perform actions
|
| 212 |
+
167 only then determine the optimal actions at these states. An important fact to note is that the decision
|
| 213 |
+
168 space for the determining whether or not to execute an action is $S \times \{ 0 , 1 \}$ i.e at each state it makes a
|
| 214 |
+
169 binary decision. Consequently, the learning process for aspect is much quicker than a policy which
|
| 215 |
+
170 must optimise over a decision space which is $| { \cal S } | | { \cal A } |$ (choosing an action from its action space at
|
| 216 |
+
171 every state). This results in the agent rapidly learning which states to focus on to learn which actions
|
| 217 |
+
172 to perform. In the case of $\pi$ with a continuous action space again the impulse control mechanism
|
| 218 |
+
173 does not change the cardinality of the action space. However, if the set ${ \cal S } / { \cal S } _ { I }$ , where the optimal
|
| 219 |
+
174 policy chooses 0, is large enough, then again it can be more efficient to learn $\mathfrak { g }$ first and only then
|
| 220 |
+
175 learn $\pi$ (we later validate this claim empirically, see Sec. 11.2),
|
| 221 |
+
176 In Sec. 5, we prove the convergence properties of LICRA. LICRA consists of two independent
|
| 222 |
+
177 procedures: a learning process for the policy $\pi$ and simultaneously, a learning process for the impulse
|
| 223 |
+
178 policy $\mathfrak { g }$ which determines at which states to perform an action. In our implementation, we used
|
| 224 |
+
179 proximal policy optimisation (PPO) [27] for the policy $\pi$ and for the impulse policy $\mathfrak { g }$ , whose action
|
| 225 |
+
180 set consists of two actions (intervene or do not intervene) we used a soft actor critic (SAC) process
|
| 226 |
+
181 [14] LICRA is a plug $\&$ play framework which enables these RL components to be replaced with any
|
| 227 |
+
182 RL algorithm of choice.
|
| 228 |
+
|
| 229 |
+
# 183 5 Convergence and Optimality of LICRA
|
| 230 |
+
|
| 231 |
+
184 A key aspect of our framework is the presence of two RL processes that make decisions in a sequential
|
| 232 |
+
185 order. In order to determine when to act the policy $\mathfrak { g }$ must learn the states to allow the policy $\pi$ to
|
| 233 |
+
186 perform an action which the policy $\pi$ must learn to select optimal actions whenever it is allowed to
|
| 234 |
+
187 execute an action.
|
| 235 |
+
188 In this section, we prove that LICRA converges to an optimal solution of the system. Central to
|
| 236 |
+
189 LICRA is a Q-learning type method which is adapted to handle RL settings in which the agent must
|
| 237 |
+
190 also learn when to act. We then extend the result to allow for (linear) function approximators. We
|
| 238 |
+
191 provide a result that shows the optimal intervention times are characterised by an ‘obstacle condition’
|
| 239 |
+
192 which can be evaluated online therefore allowing the $\mathfrak { g }$ .
|
| 240 |
+
|
| 241 |
+
Given a function $Q \because S \times \mathcal { A } \to \mathbb { R } , \quad \forall \pi , \pi ^ { \prime } \in \Pi$ and $\forall \ S , \ S ^ { \prime } , \quad \forall s _ { \tau _ { k } } \quad \in \quad S$ , we define the intervention operator $\mathcal { M } ^ { \pi , { \mathfrak { g } } }$ by $\begin{array} { r } { \mathcal { M } ( ^ { \pi , \oplus } Q ^ { \pi ^ { \prime } , \oplus ^ { \prime } } ( s _ { \pi _ { k } } , a _ { \pi _ { k } } ) : = { \mathcal R } ( s _ { \pi _ { k } } , a _ { \pi _ { k } } ) - c ( s _ { \pi _ { k } } , a _ { \pi _ { k } } ) + } \end{array}$ $\begin{array} { r } { \gamma \sum _ { s ^ { \prime } \in S } P ( s ^ { \prime } ; a _ { \tau _ { k } } , s ) v ^ { \pi ^ { \prime } , \mathfrak { g ^ { \prime } } } ( s ^ { \prime } ) \| a _ { \tau _ { k } } \sim \pi ( \cdot | s _ { \tau _ { k } } ) , } \end{array}$ , where $\tau _ { k }$ is an intervention time.
|
| 242 |
+
|
| 243 |
+
196 The interpretation of $\mathcal { M }$ is the following: suppose that the agent is using the policy $\pi$ and at time $\tau _ { k }$
|
| 244 |
+
197 the system is at a state $s _ { \tau _ { k } }$ and the agent performs an action $a _ { \tau _ { k } } \sim \pi ( \cdot | s _ { \tau _ { k } } )$ . A cost of $c ( s _ { \tau _ { k } } , a _ { \tau _ { k } } )$
|
| 245 |
+
198 is then incurred by the agent and the system transitions to $s ^ { \prime } \sim P ( \cdot ; a _ { \tau _ { k } } , s _ { \tau _ { k } } )$ . Lastly, recall $v ^ { \pi , { \mathfrak { g } } }$ is
|
| 246 |
+
199 the agent value function under the policy pair $( \pi , g )$ . Therefore, the quantity ${ \mathcal { M } } Q ^ { \pi , { \mathfrak { g } } }$ measures the
|
| 247 |
+
200 expected future stream of rewards after an immediate intervention minus the cost of intervention.
|
| 248 |
+
201 This object plays a crucial role in the LICRA framework which as we later discuss, exploits the cost
|
| 249 |
+
202 structure of the problem to determine when the agent should perform an intervention.
|
| 250 |
+
|
| 251 |
+
Given a function 203 $v ^ { n , \ell } : S \mathbb { \quad }$ , we define the Bellman operator $\boldsymbol { \cdot }$ , by:
|
| 252 |
+
|
| 253 |
+
204
|
| 254 |
+
|
| 255 |
+
$$
|
| 256 |
+
T v ^ { \pi , \theta } ( s ) : = \operatorname* { m a x } \Big \{ \mathcal { N } ^ { ( \pi , \theta ) } Q ^ { \pi , \theta } ( s , a ) , \mathcal { R } ( s , 0 ) + \gamma \sum _ { s ^ { \prime } \in S } P ( s ^ { \prime } ; 0 , s ) v ^ { \pi , \theta } ( s ^ { \prime } ) \Big \} , \qquad \forall s \in \mathcal { S } .
|
| 257 |
+
$$
|
| 258 |
+
|
| 259 |
+
205
|
| 260 |
+
|
| 261 |
+
206 The Bellman operator captures the nested sequential structure of the LICRA algorithm. In particular,
|
| 262 |
+
207 the structure in (3) consists of an inner structure which consists of two terms: the first term is the
|
| 263 |
+
208 expected future return given an action is taken at the current state under the policy $\pi$ . The second term
|
| 264 |
+
209 is the expected future return given no action is taken at the current state. Lastly, the outer structure is
|
| 265 |
+
210 an optimisation which compares the expected return of the two possibilities and selects the maximum.
|
| 266 |
+
|
| 267 |
+
11 Our first result proves $T$ is a contraction operator in particular, the following bound holds:
|
| 268 |
+
|
| 269 |
+
212 Lemma 1 The Bellman operator $T$ is a contraction, that is the following bound holds:
|
| 270 |
+
|
| 271 |
+
$$
|
| 272 |
+
\begin{array} { r } { \| T v - T v ^ { \prime } \| \leq \gamma \left. v - v ^ { \prime } \right. , } \end{array}
|
| 273 |
+
$$
|
| 274 |
+
|
| 275 |
+
where 13 $v , v ^ { \prime }$ are elements of a finite normed vector space. We can now state our first main result:
|
| 276 |
+
|
| 277 |
+
Theorem 1 Given any $v ^ { \pi , \mathfrak { g } } : \mathcal { S } \times \mathcal { A } \mathbb { R } ,$ , the optimal value function is given by $\operatorname* { l i m } _ { k \to \infty } T ^ { k } v ^ { \pi , \mathfrak { g } } =$ $\operatorname* { m a x } _ { \hat { \pi } , \hat { g } \in \Pi } v ^ { \hat { \pi } , \hat { g } } = v ^ { \pi ^ { \star } , g ^ { \star } }$ where $( \pi ^ { \star } , g ^ { \star } )$ is the optimal policy pair.
|
| 278 |
+
|
| 279 |
+
The result of Theorem 1 enables the solution to the agent’s impulse control problem to be determined using a value iteration procedure. Moreover, Theorem 1 enables a Q-learning approach [6] for finding the solution to the agent’s problem.
|
| 280 |
+
|
| 281 |
+
219 Theorem 2 Consider the following $Q$ learning variant:
|
| 282 |
+
|
| 283 |
+
$$
|
| 284 |
+
+ \alpha _ { t } ( s _ { t } , a _ { t } ) \left[ \operatorname* { m a x } \left\{ \mathcal { M } ^ { \pi , \mathfrak { g } } Q _ { t } ( s _ { t } , a _ { t } ) , \mathcal { R } ( s _ { t } , 0 ) + \gamma _ { a ^ { \prime } \in A } ^ { \operatorname* { m a x } } Q _ { t } ( s _ { t + 1 } , a ^ { \prime } ) \right\} - Q _ { t } ( s _ { t } , a _ { t } ) \right] ,
|
| 285 |
+
$$
|
| 286 |
+
|
| 287 |
+
then 220 $Q _ { t }$ converges to $Q ^ { \star }$ with probability 1, where $s _ { t } , s _ { t + 1 } \in S$ and $a _ { t } \in \mathcal A$ .
|
| 288 |
+
|
| 289 |
+
21 We now extend the result to (linear) function approximators:
|
| 290 |
+
|
| 291 |
+
Theorem 3 Given a set of linearly independent basis functions $\Phi = \{ \phi _ { 1 } , \ldots , \phi _ { p } \}$ with $\phi _ { k } \in L _ { 2 } , \forall k$ . LICRA converges to a limit point $r ^ { \star } \in \mathbb { R } ^ { p }$ which is the unique solution to $\Pi \mathfrak { F } ( \Phi r ^ { \star } ) = \Phi r ^ { \star }$ where $\mathfrak { F } v : = \mathcal { R } + \gamma P \operatorname* { m a x } \{ \mathcal { M } v , v \}$ . Moreover, $r ^ { \star }$ satisfies: $\| \Phi r ^ { \star } - Q ^ { \star } \| \leq ( 1 - \gamma ^ { 2 } ) ^ { - 1 / 2 } \| \Pi Q ^ { \star } - Q ^ { \star } \|$ .
|
| 292 |
+
|
| 293 |
+
The theorem establishes the convergence of LICRA to a stable point with the use of linear function approximators. The second statement bounds the proximity of the convergence point by the smallest approximation error that can be achieved given the choice of basis functions.
|
| 294 |
+
|
| 295 |
+
Having constructed a procedure to find the optimal agent’s optimal value function, we now seek to determine the conditions when an intervention should be performed. Let us denote by $\{ \tau _ { k } \} _ { k \ge 0 }$ the points at which the agent decides to act or intervention times, so for example if the agent chooses to perform an action at state $s _ { 6 }$ and again at state $s _ { 8 }$ , then $\tau _ { 1 } = 6$ and $\tau _ { 2 } = 8$ . The following result characterises the optimal intervention policy $\mathfrak { g }$ and the optimal times $\{ \tau _ { k } \} _ { k \ge 0 }$ .
|
| 296 |
+
|
| 297 |
+
Proposition 1 The policy g is given by: $\mathfrak { g } ( s _ { t } ) = H ( \mathcal { M } ^ { \pi , \mathfrak { g } } Q ^ { \pi , \mathfrak { g } } - Q ^ { \pi , \mathfrak { g } } ) ( s _ { t } , a _ { t } ) , \forall s _ { t } \in \mathcal { S } _ { \mathrm { ~ \Gamma ~ } }$ , where $Q ^ { \pi , { \mathfrak { g } } }$ is the solution in Theorem $\cdot$ , $\mathcal { M }$ is the intervention operator and $H$ is the Heaviside function, moreover the intervention times are $\tau _ { k } = \operatorname* { i n f } \{ \tau > \tau _ { k - 1 } | \mathcal { M } ^ { \pi , { \mathfrak { g } } } Q ^ { \pi , { \mathfrak { g } } } = Q ^ { \pi , { \mathfrak { g } } } \}$ .
|
| 298 |
+
|
| 299 |
+
Prop. 1 characterises the (categorical) distribution $\mathfrak { g }$ . Moreover, given the function $Q$ , the times $\{ \tau _ { k } \}$ can be determined by evaluating if $\mathcal { M } Q = Q$ holds.
|
| 300 |
+
|
| 301 |
+
A key aspect of Prop. 1 is that it exploits the cost structure of the problem to determine when the agent should perform an intervention. In particular, the equality $\mathcal { M } Q = Q$ implies that performing an action and incurring a cost for doing so is optimal.
|
| 302 |
+
|
| 303 |
+
# 6 Budget Augmented LICRA via State Augmentation
|
| 304 |
+
|
| 305 |
+
We now tackle the problem of RL with a budget. To do this, we combine the above impulse control technology with state augmentation technique proposed in [28] The mathematical formulation of the problem is now given by the following for any $s \in S$ :
|
| 306 |
+
|
| 307 |
+
$$
|
| 308 |
+
\operatorname* { m a x } _ { \pi \in \Pi , g } ~ \upsilon ^ { \pi , \mathfrak { g } } ( s ) \ \mathrm { ~ s . ~ t . ~ } n - \sum _ { t = 0 } ^ { \infty } \sum _ { k \geq 1 } \delta _ { \tau _ { k } } ^ { t } \geq 0 ,
|
| 309 |
+
$$
|
| 310 |
+
|
| 311 |
+
where $n \in \mathbb N$ is a fixed value that represents the maximum number of allowed interventions and $\sum k > 1 8 _ { T k } ^ { t }$ is equal to one if an impulse was applied at time $t$ and zero if it was not. In order to avoid dealing with a constrained MDP, we propose to introduce a new variable $z _ { t }$ tracking the remaining number of impulses: $\begin{array} { r } { z _ { t } = n - \sum _ { i = 0 } ^ { t - 1 } \sum _ { k \geq 1 } \delta _ { \tau _ { k } } ^ { i } } \end{array}$ . We treat $z _ { t }$ as another state and augment the state-space resulting in the transition $\widetilde { \mathcal P }$ :
|
| 312 |
+
|
| 313 |
+
$$
|
| 314 |
+
s _ { t + 1 } \sim P ( \cdot | s _ { t } , a _ { t } ) , \qquad z _ { t + 1 } = z _ { t } - \sum _ { k \geq 1 } \delta _ { \tau _ { k } } ^ { t } , \quad z _ { 0 } = n .
|
| 315 |
+
$$
|
| 316 |
+
|
| 317 |
+
In order to avoid violations, we reshape the reward as follows: 252 $\begin{array} { r } { \widetilde { \mathcal { R } } ( s _ { t } , z _ { t } , a _ { t } ) = \left\{ \begin{array} { l l } { \mathcal { R } ( s _ { t } , a _ { t } ) } & { z _ { t } \ge 0 } \\ { - \Delta } & { z _ { t } < 0 } \end{array} \right. } \end{array}$ ,, 253 where $\Delta > 0$ is a large enough hyper-parameter ensuring that there are no safety violations. To 254 summarise we aim to solve the following problem:
|
| 318 |
+
|
| 319 |
+
$$
|
| 320 |
+
v ^ { \pi , \mathfrak { g } } ( s , z ) = \mathbb { E } \left[ \sum _ { t = 0 } ^ { \infty } \gamma ^ { t } \widetilde { \mathcal { R } } ( s _ { t } , z _ { t } , a _ { t } ) | a _ { t } \sim \pi ( \cdot | s _ { t } , z _ { t } ) \right] ,
|
| 321 |
+
$$
|
| 322 |
+
|
| 323 |
+
where the policy now depends on the variable $z _ { t }$ . Note that $\widetilde { \mathcal P }$ in Equation 6 is a Markov process and, the rewards $\widetilde { \mathcal { R } }$ are bounded, as long as the rewards $\mathcal { R }$ are bounded. Therefore, we can apply directly the results for impulse control to this case as well. We denote the augmented MDP by $\widetilde { \mathcal { M } } = \langle \overset { \cdot } { S } \times \mathcal { Z } , \overset { \cdot } { A } , \widetilde { \mathcal { P } } , \widetilde { R } , \gamma \rangle$ , where $\mathcal { Z }$ is the space of the augmented state. We have the following.
|
| 324 |
+
|
| 325 |
+
Theorem 4 Consider the MDP $\widetilde { \mathcal { M } }$ for the problem 7, then:
|
| 326 |
+
|
| 327 |
+
a) The Bellman equation holds, i.e. there exists a function $\tilde { v } ^ { * , \pi , 9 }$ s.th. $\begin{array} { r l } { \tilde { v } ^ { * , \pi , \mathfrak { g } } ( s , z ) } & { { } = } \end{array}$ $\operatorname* { m a x } _ { \mathbf { a } \in \mathcal { A } } \Big ( \widetilde { \mathcal { R } } ( s , z , \pmb { a } ) + \gamma \mathbb { E } _ { s ^ { \prime } , z ^ { \prime } \sim \mathcal { P } } \left[ \widetilde { v } ^ { * , \pi , \mathfrak { g } } ( s ^ { \prime } , z ^ { \prime } ) \right] \Big )$ , where the optimal policy for $\widetilde { \mathcal { M } }$ has the form $\pi ^ { * } ( \cdot | s , z )$ ;
|
| 328 |
+
|
| 329 |
+
$b$ ) Given a ${ \widetilde { v } } : { \mathcal { S } } \times { \mathcal { Z } } \to \mathbb { R } ,$ , the stable point solution for $\widetilde { \mathcal { M } }$ is a given by $\operatorname* { l i m } _ { k \infty } \tilde { T } ^ { k } \widetilde { v } ^ { \pi , g } = \operatorname* { m a x } _ { \hat { \pi } \in \Pi , \hat { g } } \hat { \pi } ^ { \hat { \pi } , \hat { g } } =$ $\widetilde { v } ^ { * , \pi , { \mathfrak { g } } ^ { * } }$ , where $( \pi ^ { * } , { \mathfrak { g } } ^ { * } )$ is an optimal policy of $\widetilde { \mathcal { M } }$ and $\tilde { T }$ is the Bellman operator of $\widetilde { \mathcal { M } }$ .
|
| 330 |
+
|
| 331 |
+
The result has several important implications. The first is that we can use a modified version of LICRA to obtain the solution of the problem while guaranteeing convergence (under standard assumptions). Secondly, our state augmentation procedure admits a Markovian representation of the optimal policy.
|
| 332 |
+
|
| 333 |
+
# 69 7 Experiments
|
| 334 |
+
|
| 335 |
+
270 We will now study empirically the performance of the LICRA framework. In experiments, we use
|
| 336 |
+
271 different instances of LICRA, one where both policies are trained using PPO update (referred to
|
| 337 |
+
272 as LICRA_PPO) and one where the policy deciding whether to act is trained using SAC and the
|
| 338 |
+
273 other policy trained with PPO (referred to as LICRA_SAC). We have benchmarked both of these
|
| 339 |
+
274 algorithms together with common baselines on environments, where it would be natural to introduce
|
| 340 |
+
275 the concept of the cost associated with actions. We lastly performed a series of ablation studies which
|
| 341 |
+
276 test LICRA’s ability to handle different cost functions including the case when $c ( s , a ) \equiv 0$ which we
|
| 342 |
+
277 defer to the Appendix which also contains further experiment details.
|
| 343 |
+
278 Merton’s Portfolio Problem with Transaction Costs. Merton Investment Problem in which the
|
| 344 |
+
279 investor faces transaction costs [10] is a well-known problem within finance. In our environment, the
|
| 345 |
+
280 agent can decide to move its wealth between a risky asset and a risk-free asset. The agent receives a
|
| 346 |
+
281 reward only at the final step, equal to the utility of the portfolio with a risk aversion factor equal to
|
| 347 |
+
282 0.5. If the final wealth of risky asset is $s _ { T }$ and final wealth of risk-free asset is $c _ { T }$ , then the agent will
|
| 348 |
+
283 receive a reward of $u ( x ) = \hat { 2 \sqrt { s _ { T } + c _ { T } } }$ . The wealth evolves according to the following SDE:
|
| 349 |
+
|
| 350 |
+

|
| 351 |
+
Figure 1: Training results in Merton investment problem for PPO style algorithms.
|
| 352 |
+
|
| 353 |
+
$$
|
| 354 |
+
d W _ { t } = ( r + p _ { t } ( \mu - r ) ) W _ { t } + W _ { t } p _ { t } \sigma d B _ { t }
|
| 355 |
+
$$
|
| 356 |
+
|
| 357 |
+

|
| 358 |
+
Figure 2: a) Drive Environment. b) Training results in drive environment.
|
| 359 |
+
|
| 360 |
+
284 where $W _ { t }$ is the current wealth and the state variable, $d B _ { t }$ is an increment of Brownian motion and $p _ { t }$
|
| 361 |
+
285 is the proportion of wealth invested in the risky asset. We set the risk-free return $r = 0 . 0 1$ , risky asset
|
| 362 |
+
286 return $\mu = 0 . 0 5$ and volatility $\sigma = 1$ . We discretise the action space so that at each step the agent has
|
| 363 |
+
287 three actions available: move $10 \%$ of risky asset wealth to the risk-free asset, move $10 \%$ of risk-free
|
| 364 |
+
288 asset wealth to the risky asset or do nothing. Each time the agent moves the assets, it incurs a cost
|
| 365 |
+
289 of 1 i.e. a transaction fee. The agent can act after a time interval of 0.01 seconds and the episode
|
| 366 |
+
290 ends after 75 steps. The results of training are shown in Fig. 1 which clearly demonstrates that
|
| 367 |
+
291 LICRA_PPO finds a better policy than standard PPO. Also comparing the variance among different
|
| 368 |
+
292 seeds, we can see that LICRA_PPO is a much more stable algorithm than the other two.
|
| 369 |
+
293 Driving Environment Fuel Rationing. We studied an autonomous driving scenario where fuel
|
| 370 |
+
294 efficient driving is a priority. One of the main components of fuel-efficient driving is controlled usage
|
| 371 |
+
295 of acceleration and braking, in the sense that 1) the amount of acceleration and braking should be
|
| 372 |
+
296 limited 2) if accelerations should be performed slowly and gently. We believe this is a problem where
|
| 373 |
+
297 LICRA should thrive as the impulse control agent can learn to restrict the amount of acceleration
|
| 374 |
+
298 and braking in the presence of other cars and choose when to allow the car to decelerate naturally.
|
| 375 |
+
299 We used the highway-env [17] environment on a highway task (see Fig (2. a)) where the green
|
| 376 |
+
300 vehicle is our controlled vehicle and the goal is to avoid crashing into other vehicles whilst driving
|
| 377 |
+
301 at a reasonable speed. We add a cost function into the reward term dependent on the continuous
|
| 378 |
+
302 acceleration action, $C ( a _ { t } ) = K + a _ { t } ^ { 2 }$ , where $K > 0$ is a fixed constant cost of taking any action,
|
| 379 |
+
303 and $a _ { t } \in [ - 1 , 1 ]$ , with larger values of acceleration or braking being penalised more. The results are
|
| 380 |
+
304 presented in Fig. (2.b). Notably, LICRA is able to massively outperform the baselines, especially our
|
| 381 |
+
305 safety specific baselines which struggle to deal with the cost function associated with the environment.
|
| 382 |
+
306 We believe one reason for the success of LICRA is that it is far easier for it to utilise the null action
|
| 383 |
+
307 of zero acceleration/braking than the other algorithms, whilst all the algorithms have a guaranteed
|
| 384 |
+
308 cost at every time step whilst not gaining a sizeable reward to counter the cost.
|
| 385 |
+
|
| 386 |
+

|
| 387 |
+
Figure 3: a) The lander must land on the pad between two flags. . b) Training results in Lunar Lander. Lunar Lander Environment. We tested the ability of LICRA to perform in environment that simulate real-world physical dynamics. We tested LICRA’s performance the Lunar Lander environment in OpenAI gym [7] which we adjusted to incorporate minimal bounded costs in the reward definition. In this environment, the agent is required to maintain both a good posture mid-air and reach the landing pad as quickly as possible. The reward function is given by:
|
| 388 |
+
|
| 389 |
+
$$
|
| 390 |
+
\begin{array} { r } { \mathrm { R e w a r d } \left( s _ { t } \right) = 3 * \left( 1 - \mathbf { 1 } _ { d _ { t } - d _ { t - 1 } = 0 } \right) - 3 * \left( 1 - \mathbf { 1 } _ { v _ { t } - v _ { t - 1 } = 0 } \right) - 3 * \left( 1 - \mathbf { 1 } _ { \omega _ { t } - \omega _ { t - 1 } = 0 } \right) } \\ { - 0 . 0 3 * \mathrm { F u e l S p e n t } ( s _ { t } ) - 1 0 * \left( v _ { t } - v _ { t - 1 } \right) - 1 0 * \left( \omega _ { t } - \omega _ { t - 1 } \right) + 1 0 0 * \mathrm { h a s L a n d e d } \left( s _ { t } \right) } \end{array}
|
| 391 |
+
$$
|
| 392 |
+
|
| 393 |
+
309 where $d _ { t }$ is the distance to the landing pad, $v _ { t }$ is the velocity of the agent, and $\omega _ { t }$ is the angular
|
| 394 |
+
310 velocity of the agent at time $t$ . $\mathbf { 1 } _ { X }$ is the indicator function of taking actions, which is 1 when the
|
| 395 |
+
311 statement $X$ is true and 0 when $X$ is false. Considering the limited fuel budget, we assume that
|
| 396 |
+
312 we have a fixed cost for each action taken by the agent here, and doing nothing brings no cost. Then,
|
| 397 |
+
313 to describe the goal of the game, we define the function of the final status by hasLanded(), which is
|
| 398 |
+
314 0 when not landing; 1 when the agent has landed softly on the landing pad; and $- 1$ when the lander
|
| 399 |
+
315 runs out of fuel or loses contact with the pad on landing. The reward function rewards the agent
|
| 400 |
+
316 for reducing its distance to the landing pad, decreasing its speed to land smoothly and keeping the
|
| 401 |
+
317 angular speed at a minimum to prevent rolling. Additionally, it penalises the agent for running out
|
| 402 |
+
318 of fuel and deters the agent from taking off again after landing.
|
| 403 |
+
319 By introducing a reward function with minimally bounded costs, our goal was to test if LICRA can
|
| 404 |
+
320 exploit the optimal policy. In Fig. 3, we observe that the LICRA agent outperforms all the baselines,
|
| 405 |
+
321 both in terms of sample efficiency and average test return (total rewards at each timestep). We also
|
| 406 |
+
322 observe that LICRA enables more stable training than PPO, PPO-Lagrangian and CPO.
|
| 407 |
+
323 Ablation Study 1. Prioritisation of Most Important Actions. We next tested LICRA’s ability to
|
| 408 |
+
324 prioritise where it performs actions when the necessity to act varies significantly between states. To
|
| 409 |
+
325 test this, we modified the Drive Environment to now consist of a single lane, a start state and a goal
|
| 410 |
+
326 state start (at the end) where there is a reward. With no acceleration, the vehicle decreases velocity.
|
| 411 |
+
327 To reach the goal, the agent must apply an acceleration $a _ { t } \in [ - 1 , 1 ]$ . Each acceleration $a _ { t }$ incurs
|
| 412 |
+
328 a cost $C ( \boldsymbol { a } _ { t } )$ as defined above. At zones $k = 1 , 2 , 3$ of the lane, if the vehicle is travelling below a
|
| 413 |
+
329 velocity $v _ { m i n }$ , it is penalised by a strictly negative cost $c _ { k }$ where $c _ { 1 } < c _ { 2 } < c _ { 3 }$ . As shown in Fig. 4,
|
| 414 |
+
330 when the intervention cost increases i.e. when $K \infty$ , LICRA successfully prioritises the highest
|
| 415 |
+
penalty zones to avoid incurring large costs.
|
| 416 |
+
|
| 417 |
+

|
| 418 |
+
Figure 4: Results for Ablation Study 1. Heatmaps display the number of times the agent drives below $v _ { m i n }$ in the penalty zones. Violation 1 refers to the lowest cost zone, whilst Violation 3 refers to the largest cost zone. $K$ refers to the fixed cost for taking an action.
|
| 419 |
+
|
| 420 |
+
# 8 Conclusion
|
| 421 |
+
|
| 422 |
+
We presented a novel method to tackle the problem of learning how to select when to act in addition to learning which actions to execute. Our framework, which is a general tool for tackling problems of this kind seamlessly adopts RL algorithms enabling them to efficiently tackle problems in which the agent must be selective about when it executes actions. This is of fundamental importance in practical settings where performing many actions over the horizon can lead to costs and undermine the service life of machinery. We demonstrated that our solution, LICRA which at its core has a sequential decision structure that first decides whether or not an action ought to be taken under the action policy can solve tasks where the agent faces costs with extreme efficiency as compared to leading reinforcement learning methods. In some tasks, we showed that LICRA is able to solve problems that are unsolvable using current reinforcement learning machinery. We envisge that this framework can serve as the basis extensions to different settings including adversarial training for solving a variety of problems within RL.
|
| 423 |
+
|
| 424 |
+
# References
|
| 425 |
+
|
| 426 |
+
[1] Ali Ajdari, Maximilian Niyazi, Nils Henrik Nicolay, Christian Thieke, Robert Jeraj, and Thomas Bortfeld. Towards optimal stopping in radiation therapy. Radiotherapy and Oncology, 134:96–
|
| 427 |
+
|
| 428 |
+
[2] Luluwah Al-Fagih. The british knock-out put option. International Journal of Theoretical and Applied Finance, 18(02):1550008, 2015.
|
| 429 |
+
[3] Juan J Alcaraz, Jose A Ayala-Romero, Javier Vales-Alonso, and Fernando Losilla-López. Online reinforcement learning for adaptive interference coordination. Transactions on Emerging Telecommunications Technologies, 31(10):e4087, 2020.
|
| 430 |
+
[4] Sebastian Becker, Patrick Cheridito, and Arnulf Jentzen. Deep optimal stopping. arXiv preprint arXiv:1804.05394, 2018.
|
| 431 |
+
[5] Albert Benveniste, Michel Métivier, and Pierre Priouret. Adaptive algorithms and stochastic approximations, volume 22. Springer Science & Business Media, 2012.
|
| 432 |
+
[6] Dimitri P Bertsekas. Approximate dynamic programming. Athena scientific Belmont, 2012.
|
| 433 |
+
[7] Greg Brockman, Vicki Cheung, Ludwig Pettersson, Jonas Schneider, John Schulman, Jie Tang, and Wojciech Zaremba. Openai gym. arXiv preprint arXiv:1606.01540, 2016.
|
| 434 |
+
[8] Andrew S Caplin and Daniel F Spulber. Menu costs and the neutrality of money. The Quarterly Journal of Economics, 102(4):703–725, 1987.
|
| 435 |
+
[9] Shuhang Chen, Adithya M Devraj, Ana Bušic, and Sean Meyn. Zap q-learning for´ optimal ´ stopping. In 2020 American Control Conference (ACC), pages 3920–3925. IEEE, 2020.
|
| 436 |
+
[10] Mark HA Davis and Andrew R Norman. Portfolio selection with transaction costs. Mathematics of operations research, 15(4):676–713, 1990.
|
| 437 |
+
[11] Marc Deisenroth and Carl E Rasmussen. Pilco: A model-based and data-efficient approach to policy search. In Proceedings of the 28th International Conference on machine learning (ICML-11), pages 465–472. Citeseer, 2011.
|
| 438 |
+
[12] Abderrahim Fathan and Erick Delage. Deep reinforcement learning for optimal stopping with application in financial engineering. arXiv preprint arXiv:2105.08877, 2021.
|
| 439 |
+
[13] F Grandt Jr. Damage tolerant design and nondestructive inspection-keys to aircraft airworthiness. Procedia Engineering, 17:236–246, 2011.
|
| 440 |
+
[14] Tuomas Haarnoja, Aurick Zhou, Kristian Hartikainen, George Tucker, Sehoon Ha, Jie Tan, Vikash Kumar, Henry Zhu, Abhishek Gupta, Pieter Abbeel, et al. Soft actor-critic algorithms and applications. arXiv preprint arXiv:1812.05905, 2018.
|
| 441 |
+
[15] Tommi Jaakkola, Michael I Jordan, and Satinder P Singh. Convergence of stochastic iterative dynamic programming algorithms. In Advances in neural information processing systems, pages 703–710, 1994.
|
| 442 |
+
[16] Ralf Korn. Some applications of impulse control in mathematical finance. Mathematical Methods of Operations Research, 50(3):493–518, 1999.
|
| 443 |
+
[17] Edouard Leurent. An environment for autonomous driving decision-making. https://github. com/eleurent/highway-env, 2018.
|
| 444 |
+
[18] Harry M Markowitz. Foundations of portfolio theory. The journal of finance, 46(2):469–477, 1991.
|
| 445 |
+
[19] David Mguni. Duopoly investment problems with minimally bounded adjustment costs. arXiv preprint arXiv:1805.11974, 2018.
|
| 446 |
+
[20] David Mguni. Optimal capital injections with the risk of ruin: A stochastic differential game of impulse control and stopping approach. arXiv preprint arXiv:1805.01578, 2018.
|
| 447 |
+
[21] David Mguni. Optimal selection of transaction costs in a dynamic principal-agent problem. arXiv preprint arXiv:1805.01062, 2018.
|
| 448 |
+
[22] David Mguni. A viscosity approach to stochastic differential games of control and stopping involving impulsive control. arXiv preprint arXiv:1803.11432, 2018.
|
| 449 |
+
[23] David Mguni. Cutting your losses: Learning fault-tolerant control and optimal stopping under adverse risk. arXiv preprint arXiv:1902.05045, 2019.
|
| 450 |
+
[24] Bernt Øksendal. Stochastic differential equations. In Stochastic differential equations, pages 65–84. Springer, 2003.
|
| 451 |
+
[25] Bernt Øksendal and Agnès Sulem. Approximating impulse control by iterated optimal stopping. In Applied Stochastic Control of Jump Diffusions, pages 255–272. Springer, 2019.
|
| 452 |
+
[26] Jing-Cheng Pang, Tian Xu, Sheng-Yi Jiang, Yu-Ren Liu, and Yang Yu. Sparsity prior regularized q-learning for sparse action tasks. arXiv preprint arXiv:2105.08666, 2021.
|
| 453 |
+
[27] John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. CoRR, abs/1707.06347, 2017.
|
| 454 |
+
[28] Aivar Sootla, Alexander I. Cowen-Rivers, Taher Jafferjee, Ziyan Wang, David Mguni, Jun Wang, and Haitham Bou-Ammar. Sauté RL: Almost surely safe reinforcement learning using state augmentation. arXiv preprint arXiv:2202.06558, 2022.
|
| 455 |
+
[29] Aivar Sootla, Diego Oyarzún, David Angeli, and Guy-Bart Stan. Shaping pulses to control bistable systems: Analysis, computation and counterexamples. Automatica, 63:254–264, 2016.
|
| 456 |
+
[30] Richard S Sutton and Andrew G Barto. Reinforcement learning: An introduction. MIT press, 2018.
|
| 457 |
+
[31] John N Tsitsiklis and Benjamin Van Roy. Optimal stopping of markov processes: Hilbert space theory, approximation algorithms, and an application to pricing high-dimensional financial derivatives. IEEE Transactions on Automatic Control, 44(10):1840–1851, 1999.
|
| 458 |
+
[32] Pu Zhao, Yanzhi Wang, Naehyuck Chang, Qi Zhu, and Xue Lin. A deep reinforcement learning framework for optimizing fuel economy of hybrid electric vehicles. In 2018 23rd Asia and South Pacific design automation conference (ASP-DAC), pages 196–202. IEEE, 2018.
|
parse/dev/zkk_7sV6gm8/zkk_7sV6gm8_content_list.json
ADDED
|
@@ -0,0 +1,1116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Timing is Everything: Learning to Act Selectively with Costly Actions and Budgetary Constraints ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
174,
|
| 8 |
+
122,
|
| 9 |
+
823,
|
| 10 |
+
172
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Anonymous Author(s) ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
423,
|
| 19 |
+
226,
|
| 20 |
+
578,
|
| 21 |
+
241
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Abstract ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
462,
|
| 31 |
+
276,
|
| 32 |
+
535,
|
| 33 |
+
292
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "1 Many real-world settings involve costs for performing actions; transaction costs \n2 in financial systems and fuel costs being common examples. In these settings, \n3 performing actions at each time step quickly accumulates costs leading to vastly \n4 suboptimal outcomes. Additionally, repeatedly acting produces wear and tear and \n5 ultimately, damage. Determining when to act is crucial for achieving successful \n6 outcomes and yet, the challenge of efficiently learning to behave optimally when \n7 actions incur minimally bounded costs remains unresolved. In this paper, we intro \n8 duce a reinforcement learning (RL) framework named Learnable Impulse Control \n9 Reinforcement Algorithm (LICRA), for learning to optimally select both when \n10 to act and which actions to take when actions incur costs. At the core of LICRA \n11 is a nested structure that combines RL and a form of policy known as impulse \n12 control which learns to maximise objectives when actions incur costs. We prove \n13 that LICRA, which seamlessly adopts any RL method, converges to policies that \n14 optimally select when to perform actions and their optimal magnitudes. We then \n15 augment LICRA to handle problems in which the agent can perform at most $k < \\infty$ \n16 actions and more generally, faces a budget constraint. We show LICRA learns the \n17 optimal value function and ensures budget constraints are satisfied almost surely. \n18 We demonstrate empirically LICRA’s superior performance against benchmark \n19 RL methods in OpenAI gym’s Lunar Lander and in Highway environments and a \n20 variant of the Merton portfolio problem within finance. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
148,
|
| 42 |
+
308,
|
| 43 |
+
766,
|
| 44 |
+
583
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "21 1 Introduction ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
148,
|
| 54 |
+
608,
|
| 55 |
+
312,
|
| 56 |
+
626
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "22 There are many settings in which agents incur costs each time they perform an action. Transaction \n23 costs in financial settings [19], fuel expenditure [32], toxicity as a side effect of controlling bacte \n24 ria [29] and physical damage produced by repeated action that produces wear and tear are just a \n25 few among many examples [13]. In these settings, performing actions at each time step is vastly \n26 suboptimal since acting in this way results in prohibitively high costs and undermines the service life \n27 of machinery. Minimising wear and tear is an essential attribute to safeguard against failures that can \n28 result in catastrophic losses [13]. \n29 Reinforcement learning (RL) is a framework that enables autonomous agents to learn complex \n30 behaviours from interactions with the environment [30, 11]. Within the standard RL paradigm, \n31 determining optimal actions involves making a selection from among many (possibly infinite) actions; \n32 a procedure that must be performed at each time-step as the agent decides on an action. In unknown \n33 settings, the agent cannot immediately exploit any topological structure of the action set (if any \n34 exists). Consequently, learning not to take an action i.e performing a zero or null action, involves \n35 expensive optimisation procedures over the entire action set. Since this must be done at each state, \n36 this process is vastly inefficient for learning optimal policies when the agent incurs costs for acting. \n37 In this paper, we tackle this problem by developing an RL framework for finding both an optimal \n38 criterion to determine whether or not to execute actions as well as learning optimal actions. A key \n39 component of our framework is a novel combination of RL with a form of policy known as impulse \n40 control [22, 19]. This enables the agent to determine the appropriate points to perform an action as \n41 well as the optimal action itself. Despite its fundamental importance as a tool for tackling decision \n42 problems with costly actions, presently, the use of impulse control within learning contexts (and \n43 unknown environments) is unaddressed. \n44 We present an RL impulse control framework called LICRA, which, to our knowledge, is the first \n45 learning framework for impulse control. To enable learning optimal impulse control policies in \n46 unknown environments, we devise a framework that consists of separate RL components for learning \n47 when to act and how to act optimally. The resulting framework is a structured two-part learning \n48 process which differs from current RL protocols. In LICRA, at each time step, the agent firstly makes \n49 a decision whether to act or not leading to a binary decision space $\\{ 0 , 1 \\}$ (we later show that this \n50 is determined by evaluating an easy-to-evaluate criterion which has the value function as its input). \n51 The second decision part determines the best action to take. This generates a subdivision of the state \n52 space into two regions; one in which the agent performs actions and another in which it does not act \n53 at all. This is extremely useful since the agent quickly determines the set of states to not take actions \n54 while performing actions only at the subset of states where actions are to be executed. \n55 We then establish theory that ensures convergence of LICRA to an optimal policy for such settings. \n56 To do this, we give a series of results namely: \n57 i) We establish a dynamic programming principle (DPP) for impulse control and show that the optimal \n58 value function can be obtained as a limit of a value iterative procedure (Theorem 1) which lays the \n59 foundation for an RL approach to impulse control. \n60 ii) We extend result i) to a new variant of Q learning which enables the impulse control problem to be \n61 solved using our RL method (Theorem 2). \n62 iii) We characterise the optimal conditions for performing an action which we reveal to be a simple \n63 ‘obstacle condition’ involving the agent’s value function (Prop. 1). Using this, the agent can quickly \n64 determine whether or not it should act and if so, then learn what the optimal action is. \n65 iv) We then extend the result i) to (linear) function approximators enabling the value function to be \n66 parameterised (Theorem 3). \n67 iv) In Sec. 6, we extend LICRA to include budgetary constraints so that each action draws from a \n68 fixed budget which the agent must stay within. Analogous to the development of i), we establish \n69 another DPP from which we derive a Q-learning variant for tackling impulse control with budgetary \n70 constraints (Theorem 4). A particular case of a budget constraint is when the number of actions the \n71 agent can take over the horizon is capped. \n72 Lastly, we perform a set of experiments to validate our theory within the Highway driving simulator \n73 and OpenAI’s LunarLander [7]. \n74 LICRA confers a series of advantages. As we demonstrate in our experiments, LICRA learns to \n75 compute the optimal problems in which the agent faces costs for acting in an efficient way which \n76 outperforms leading RL baselines. Second, as demonstrated in Sec. 6 LICRA handles settings in \n77 which the agent has a cap the total number of actions it is allowed to execute and more generally, \n78 generic budgetary constraints. LICRA is able to accommodate any RL base algorithm unlike various \n79 RL methods designed to handle budgetary constraints. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
147,
|
| 65 |
+
640,
|
| 66 |
+
825,
|
| 67 |
+
736
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "",
|
| 74 |
+
"bbox": [
|
| 75 |
+
147,
|
| 76 |
+
742,
|
| 77 |
+
825,
|
| 78 |
+
853
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "text",
|
| 84 |
+
"text": "",
|
| 85 |
+
"bbox": [
|
| 86 |
+
148,
|
| 87 |
+
859,
|
| 88 |
+
823,
|
| 89 |
+
901
|
| 90 |
+
],
|
| 91 |
+
"page_idx": 0
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"type": "text",
|
| 95 |
+
"text": "",
|
| 96 |
+
"bbox": [
|
| 97 |
+
147,
|
| 98 |
+
92,
|
| 99 |
+
825,
|
| 100 |
+
146
|
| 101 |
+
],
|
| 102 |
+
"page_idx": 1
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"type": "text",
|
| 106 |
+
"text": "",
|
| 107 |
+
"bbox": [
|
| 108 |
+
145,
|
| 109 |
+
154,
|
| 110 |
+
825,
|
| 111 |
+
305
|
| 112 |
+
],
|
| 113 |
+
"page_idx": 1
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"type": "text",
|
| 117 |
+
"text": "",
|
| 118 |
+
"bbox": [
|
| 119 |
+
148,
|
| 120 |
+
311,
|
| 121 |
+
825,
|
| 122 |
+
340
|
| 123 |
+
],
|
| 124 |
+
"page_idx": 1
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"type": "text",
|
| 128 |
+
"text": "",
|
| 129 |
+
"bbox": [
|
| 130 |
+
150,
|
| 131 |
+
345,
|
| 132 |
+
825,
|
| 133 |
+
387
|
| 134 |
+
],
|
| 135 |
+
"page_idx": 1
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"type": "text",
|
| 139 |
+
"text": "",
|
| 140 |
+
"bbox": [
|
| 141 |
+
155,
|
| 142 |
+
388,
|
| 143 |
+
823,
|
| 144 |
+
415
|
| 145 |
+
],
|
| 146 |
+
"page_idx": 1
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"type": "text",
|
| 150 |
+
"text": "",
|
| 151 |
+
"bbox": [
|
| 152 |
+
148,
|
| 153 |
+
416,
|
| 154 |
+
823,
|
| 155 |
+
457
|
| 156 |
+
],
|
| 157 |
+
"page_idx": 1
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"type": "text",
|
| 161 |
+
"text": "",
|
| 162 |
+
"bbox": [
|
| 163 |
+
156,
|
| 164 |
+
457,
|
| 165 |
+
821,
|
| 166 |
+
484
|
| 167 |
+
],
|
| 168 |
+
"page_idx": 1
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"type": "text",
|
| 172 |
+
"text": "",
|
| 173 |
+
"bbox": [
|
| 174 |
+
147,
|
| 175 |
+
484,
|
| 176 |
+
825,
|
| 177 |
+
553
|
| 178 |
+
],
|
| 179 |
+
"page_idx": 1
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"type": "text",
|
| 183 |
+
"text": "",
|
| 184 |
+
"bbox": [
|
| 185 |
+
153,
|
| 186 |
+
554,
|
| 187 |
+
823,
|
| 188 |
+
582
|
| 189 |
+
],
|
| 190 |
+
"page_idx": 1
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"type": "text",
|
| 194 |
+
"text": "",
|
| 195 |
+
"bbox": [
|
| 196 |
+
147,
|
| 197 |
+
588,
|
| 198 |
+
825,
|
| 199 |
+
670
|
| 200 |
+
],
|
| 201 |
+
"page_idx": 1
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"type": "text",
|
| 205 |
+
"text": "80 2 Related Work ",
|
| 206 |
+
"text_level": 1,
|
| 207 |
+
"bbox": [
|
| 208 |
+
148,
|
| 209 |
+
691,
|
| 210 |
+
321,
|
| 211 |
+
708
|
| 212 |
+
],
|
| 213 |
+
"page_idx": 1
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"type": "text",
|
| 217 |
+
"text": "81 In continuous-time optimal control theory [24], problems in which the agent faces a cost for each \n82 action are tackled with a form of policy known as impulse control [22, 19, 2]. In impulse control \n83 frameworks, the dynamics of the system are modified through a sequence of discrete actions or bursts \n84 chosen at times that the agent chooses to apply the control policy. This distinguishes impulse control \n85 models from classical decision methods in which an agent takes actions at each time step while being \n86 tasked with the decision of only which action to take. Impulse control models represent appropriate \n87 modelling frameworks for financial environments with transaction costs, liquidity risks and economic \n88 environments in which players face fixed adjustment costs (e.g. menu costs) [16, 20]. \n89 The current setting is intimately related to the optimal stopping problem which widely occurs in \n90 finance, economics and computer science [23, 31]. In the optimal stopping problem, the task is to \n91 determine a criterion that determines when to arrest the system and receive a terminal reward. In this \n92 case, standard RL methods are unsuitable since they require an expensive sweep (through the set \n93 of states) to determine the optimal point to arrest the system. The current problem can be viewed \n94 as an augmented problem of optimal stopping since the agent must now determine both a sequence \n95 of points to perform an action or intervene and their optimal magnitudes — only acting when the \n96 cost of action is justified [25]. Adapting RL to tackle optimal stopping problems has been widely \n97 studied [31, 4, 9] and applied to a variety of real-world settings within finance [12], radiation therapy \n98 [1] and network operating systems [3]. Our work serves as a natural extenstion to RL approaches to \n99 optimal stopping to the case in which the agent must decide at which points to take many actions. As \n100 with optimal stopping, standard RL methods cannot efficiently tackle this problem since determining \n101 whether to perform a 0 action requires a costly sweep through the action space at every state [31]. In \n102 [26] the authors introduce “sparse action” with a similar motivation as impulse control. However, \n103 the authors treat only the discrete action space case. The authors in [26] do not discuss a broader \n104 theoretical framework of dealing with “sparse actions”, and develop purely algorithmic solutions. \n105 Additionally, unlike the approach taken in [26], the problem setting we consider is one in which the \n106 agent faces a cost for each action - the produces a need for the agent to be selective about where it \n107 performs actions (but does not necessarily constrain the magnitude or choice of those actions). ",
|
| 218 |
+
"bbox": [
|
| 219 |
+
147,
|
| 220 |
+
724,
|
| 221 |
+
825,
|
| 222 |
+
835
|
| 223 |
+
],
|
| 224 |
+
"page_idx": 1
|
| 225 |
+
},
|
| 226 |
+
{
|
| 227 |
+
"type": "text",
|
| 228 |
+
"text": "",
|
| 229 |
+
"bbox": [
|
| 230 |
+
147,
|
| 231 |
+
842,
|
| 232 |
+
823,
|
| 233 |
+
911
|
| 234 |
+
],
|
| 235 |
+
"page_idx": 1
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"type": "text",
|
| 239 |
+
"text": "",
|
| 240 |
+
"bbox": [
|
| 241 |
+
142,
|
| 242 |
+
92,
|
| 243 |
+
826,
|
| 244 |
+
285
|
| 245 |
+
],
|
| 246 |
+
"page_idx": 2
|
| 247 |
+
},
|
| 248 |
+
{
|
| 249 |
+
"type": "text",
|
| 250 |
+
"text": "108 3 Preliminaries ",
|
| 251 |
+
"text_level": 1,
|
| 252 |
+
"bbox": [
|
| 253 |
+
142,
|
| 254 |
+
314,
|
| 255 |
+
318,
|
| 256 |
+
330
|
| 257 |
+
],
|
| 258 |
+
"page_idx": 2
|
| 259 |
+
},
|
| 260 |
+
{
|
| 261 |
+
"type": "text",
|
| 262 |
+
"text": "109 Reinforcement Learning (RL). In RL, an agent sequentially selects actions to maximise its expected \n110 returns. The underlying problem is typically formalised as an MDP $\\langle S , \\mathcal { A } , P , R , \\gamma \\rangle$ where $S \\subset \\mathbb { R } ^ { p }$ \n111 is the set of states, $\\mathcal { A } \\subset \\mathbb { R } ^ { k }$ is the set of actions, $P : \\mathcal { S } \\times \\mathcal { A } \\times \\mathcal { S } [ 0 , 1 ]$ is a transition probability \n112 function describing the system’s dynamics, $R : S \\times \\mathcal { A } \\mathbb { R }$ is the reward function measuring the \n113 agent’s performance and the factor $\\gamma \\in [ 0 , 1 )$ specifies the degree to which the agent’s rewards are \n114 discounted over time [30]. At time $t \\in { 0 , 1 , \\ldots }$ , the system is in state $s _ { t } \\in S$ and the agent must \n115 choose an action $a _ { t } \\in \\mathcal A$ which transitions the system to a new state $s _ { t + 1 } \\sim P ( \\cdot | s _ { t } , a _ { t } )$ and produces \n116 a reward $R ( s _ { t } , a _ { t } )$ . A policy $\\pi : S \\times A \\to [ 0 , 1 ]$ is a probability distribution over state-action pairs \n117 where $\\pi ( a | s )$ represents the probability of selecting action $a \\in { \\mathcal { A } }$ in state $s \\in S$ . The goal of an \n118 RL agent is to find a policy ${ \\hat { \\pi } } \\in \\Pi$ that maximises its expected returns given by the value function: \n119 $\\begin{array} { r } { v ^ { \\pi } ( s ) = \\mathbb { E } [ \\sum _ { t = 0 } ^ { \\infty } \\gamma ^ { t } \\bar { R } ( s _ { t } , a _ { t } ) | a _ { t } \\sim \\pi ( \\cdot | s _ { t } ) , s _ { 0 } = s ] } \\end{array}$ $\\begin{array} { r } { Q ( s , a ) = \\mathbb { E } [ \\sum _ { t = 0 } ^ { \\infty } R ( s _ { t } , a _ { t } ) | a _ { 0 } = a , s _ { 0 } = s ] } \\end{array}$ $\\Pi$ ent’s policy set. The action. \n121 We consider a setting in which the agent faces at least some minimal cost for each action it performs. \n122 With this, the agent’s task is to maximise: ",
|
| 263 |
+
"bbox": [
|
| 264 |
+
140,
|
| 265 |
+
351,
|
| 266 |
+
825,
|
| 267 |
+
522
|
| 268 |
+
],
|
| 269 |
+
"page_idx": 2
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"type": "text",
|
| 273 |
+
"text": "",
|
| 274 |
+
"bbox": [
|
| 275 |
+
147,
|
| 276 |
+
526,
|
| 277 |
+
825,
|
| 278 |
+
555
|
| 279 |
+
],
|
| 280 |
+
"page_idx": 2
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"type": "equation",
|
| 284 |
+
"img_path": "images/dbb0ac7205352125e445c169be6d5e1f9f57f8b1f68b460d5971f8dca0f3502a.jpg",
|
| 285 |
+
"text": "$$\nv ^ { \\pi } ( s ) = \\mathbb { E } \\left[ \\sum _ { t = 0 } ^ { \\infty } \\gamma ^ { t } \\left\\{ \\mathcal { R } ( s _ { t } , a _ { t } ) - \\mathcal { C } ( s _ { t } , a _ { t } ) \\right\\} \\Big | s _ { 0 } = s \\right] ,\n$$",
|
| 286 |
+
"text_format": "latex",
|
| 287 |
+
"bbox": [
|
| 288 |
+
321,
|
| 289 |
+
569,
|
| 290 |
+
674,
|
| 291 |
+
613
|
| 292 |
+
],
|
| 293 |
+
"page_idx": 2
|
| 294 |
+
},
|
| 295 |
+
{
|
| 296 |
+
"type": "text",
|
| 297 |
+
"text": "123 where for any state $s \\in S$ and any action $a \\in { \\mathcal { A } }$ , the functions $\\mathcal { R }$ and $\\mathcal { C }$ are given by $\\textstyle { \\mathcal { R } } ( s , a ) =$ \n124 $R ( s , a ) \\mathbf { 1 } _ { a \\in \\mathcal { A } } + R ( s , 0 ) ( 1 - \\mathbf { 1 } _ { a \\in \\mathcal { A } } )$ where $\\mathbf { 1 } _ { a \\in \\mathcal { A } }$ is the indicator function which is 1 when $a \\in { \\mathcal { A } }$ and 0 \n125 otherwise and ${ \\mathcal { C } } ( s , a ) : = c ( s , a ) \\mathbf { 1 } _ { a \\in { \\mathcal { A } } }$ where $c : S \\times \\mathcal { A } \\mathbb { R }$ is a minimally bounded (cost) function1 \n126 that introduces a cost each time the agent performs an action. Examples of the cost function is a \n127 quasi-linear function of the form $c ( s _ { t } , \\bar { a } _ { t } ) \\stackrel { } { = } \\kappa + f ( a _ { t } )$ where $f : \\mathcal { A } \\mathbb { R } _ { > 0 }$ and $\\kappa$ is a positive real \n128 valued constant. Since acting at each time step would incur prohibitively high costs, the agent must \n129 be selective when to perform an action. Therefore, in this setting, the agent’s problem is augmented to \n130 learning both an optimal policy for its actions and, learning at which states to apply its action policy. \n131 Example: Merton Portfolio Problem with Transaction Costs [10]. An investor performs a series \n132 of costly portfolio adjustments by buying and selling amounts of different assets within their portfolio. \n133 Each investment incurs a fixed minimal cost (also known as transaction costs) which is deducted \n134 from the investor’s available cash-flow. The investor’s aim is to maximise their total wealth (the value \n135 of the sum of their assets) at some time horizon by adjusting their portfolio of investments. Problems \n136 of this kind, portfolio investment problems are of fundamental importance within finance [18]. \n37 Example 2. An autonomous vehicle must perform a series of actions to perform a task. Each action \n38 draws from its fuel budget. In order to complete its task successfully, during the task, the vehicle \n139 must ensure it maintains an available supply. \n141 In RL, the agent’s problem involves learning to act at every state including those in which actions do \n142 not significantly impact on its total return. While we can add a zero action to the action set $\\mathcal { A }$ and \n143 apply standard methods, we argue that this may not be the best solution in many situations. We argue \n144 the optimal policy has the following form: ",
|
| 298 |
+
"bbox": [
|
| 299 |
+
142,
|
| 300 |
+
627,
|
| 301 |
+
825,
|
| 302 |
+
739
|
| 303 |
+
],
|
| 304 |
+
"page_idx": 2
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"type": "text",
|
| 308 |
+
"text": "",
|
| 309 |
+
"bbox": [
|
| 310 |
+
142,
|
| 311 |
+
744,
|
| 312 |
+
825,
|
| 313 |
+
828
|
| 314 |
+
],
|
| 315 |
+
"page_idx": 2
|
| 316 |
+
},
|
| 317 |
+
{
|
| 318 |
+
"type": "text",
|
| 319 |
+
"text": "",
|
| 320 |
+
"bbox": [
|
| 321 |
+
150,
|
| 322 |
+
829,
|
| 323 |
+
826,
|
| 324 |
+
871
|
| 325 |
+
],
|
| 326 |
+
"page_idx": 2
|
| 327 |
+
},
|
| 328 |
+
{
|
| 329 |
+
"type": "text",
|
| 330 |
+
"text": "",
|
| 331 |
+
"bbox": [
|
| 332 |
+
140,
|
| 333 |
+
121,
|
| 334 |
+
825,
|
| 335 |
+
178
|
| 336 |
+
],
|
| 337 |
+
"page_idx": 3
|
| 338 |
+
},
|
| 339 |
+
{
|
| 340 |
+
"type": "equation",
|
| 341 |
+
"img_path": "images/80e033ef294b86d5333ac21d90363be2a6475df9099dfe3ede1d62f8e5f0363f.jpg",
|
| 342 |
+
"text": "$$\n\\begin{array} { r } { \\widetilde { \\pi } ( \\cdot | s ) = \\left\\{ \\begin{array} { l l } { a _ { t } } & { s \\in S _ { I } , } \\\\ { 0 } & { s \\notin S _ { I } , } \\end{array} \\right. } \\end{array}\n$$",
|
| 343 |
+
"text_format": "latex",
|
| 344 |
+
"bbox": [
|
| 345 |
+
419,
|
| 346 |
+
185,
|
| 347 |
+
576,
|
| 348 |
+
220
|
| 349 |
+
],
|
| 350 |
+
"page_idx": 3
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"type": "text",
|
| 354 |
+
"text": "145 which implies that we simplify policy learning by determining the set $ { \\boldsymbol { S } } _ { I }$ first — the set where we \n146 actually need to learn the policy. \n147 We now introduce a learning method for producing impulse controls. This enables the agent to learn \n148 to select states to perform actions. Therefore, now agent is tasked with learning to act at states that \n149 are most important for maximising its total return given the presence of the cost for each action. Now \n150 at each state the agent first makes a binary decision to decide to perform an action. \n151 Our framework, LICRA consists of two core components: firstly a RL process $\\mathfrak { g } : \\mathcal { S } \\times \\{ 0 , 1 \\} [ 0 , 1 ]$ \n152 and a second RL process $\\pi : S \\times A \\to [ 0 , 1 ]$ . The role of $\\mathfrak { g }$ is to determine whether or not an action \n153 is to be performed by the policy $\\pi$ at a given state $s$ . If activated, the policy $\\pi$ determines the action \n154 to be selected. Prior to decisions being made, the policy $\\pi$ communicates to $\\mathfrak { g }$ the action it would \n155 take. An important feature of our LICRA is the sequential decision process. In LICRA, the policy \n156 $\\pi$ first proposes an action $a \\in { \\mathcal { A } }$ which is observed by the policy $\\mathfrak { g }$ . Therefore, the role of $\\mathfrak { g }$ is to \n157 prevent actions for which the change in expected future rewards does not exceed the costs incurred \n158 for taking such actions. By isolating a decision policy over whether an action should be taken or not, \n159 the impulse controls mechanism results in a framework in which the problem facing the agent has a \n160 markedly reduced decision space (in comparison to a standard RL method). Crucially, the agent must \n161 compute optimal actions at only a subset of states which are chosen by the policy g. Below is the \n162 pseudocode for LICRA, we provide full details of the code in Sec. 9 of the Appendix. ",
|
| 355 |
+
"bbox": [
|
| 356 |
+
143,
|
| 357 |
+
228,
|
| 358 |
+
825,
|
| 359 |
+
258
|
| 360 |
+
],
|
| 361 |
+
"page_idx": 3
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"type": "text",
|
| 365 |
+
"text": "",
|
| 366 |
+
"bbox": [
|
| 367 |
+
142,
|
| 368 |
+
262,
|
| 369 |
+
825,
|
| 370 |
+
319
|
| 371 |
+
],
|
| 372 |
+
"page_idx": 3
|
| 373 |
+
},
|
| 374 |
+
{
|
| 375 |
+
"type": "text",
|
| 376 |
+
"text": "",
|
| 377 |
+
"bbox": [
|
| 378 |
+
140,
|
| 379 |
+
324,
|
| 380 |
+
826,
|
| 381 |
+
491
|
| 382 |
+
],
|
| 383 |
+
"page_idx": 3
|
| 384 |
+
},
|
| 385 |
+
{
|
| 386 |
+
"type": "text",
|
| 387 |
+
"text": "Algorithm 1: Learnable Impulse Control Reinforcement Algorithm (LICRA) ",
|
| 388 |
+
"text_level": 1,
|
| 389 |
+
"bbox": [
|
| 390 |
+
176,
|
| 391 |
+
511,
|
| 392 |
+
686,
|
| 393 |
+
526
|
| 394 |
+
],
|
| 395 |
+
"page_idx": 3
|
| 396 |
+
},
|
| 397 |
+
{
|
| 398 |
+
"type": "text",
|
| 399 |
+
"text": "1: Input: Stepsize $\\alpha$ , batch size $B$ , episodes $K$ , steps per episode $T$ , mini-epochs $e$ \n2: Initialise: Policy network (acting) $\\pi$ , Policy network (switching) $\\mathfrak { g }$ , \nCritic network (acting $) V _ { \\pi }$ ,Critic network (switching $) V _ { { \\mathfrak { g } } }$ \n3: Given reward objective function, $R$ , initialise Rollout Buffers $B _ { \\pi }$ , $B _ { \\mathfrak { g } }$ (use Replay Buffer for \nSAC) \n4: for $N _ { e p i s o d e s }$ do \n5: Reset state $s _ { 0 }$ , Reset Rollout Buffers $B _ { \\pi }$ , $B _ { \\mathfrak { g } }$ \n6: for $t = 0 , 1 , \\ldots$ do \n7: Sample $a _ { t } \\sim \\pi ( \\cdot | s _ { t } )$ \n8: Sample $g _ { t } \\sim \\mathfrak { g } ( \\cdot | s _ { t } )$ \n9: if $g _ { t } = 0$ then \n10: Apply $a _ { t }$ so $s _ { t + 1 } \\sim P ( \\cdot | a _ { t } , s _ { t } ) .$ , \n11: Receive rewards $r _ { t } = \\mathcal { R } ( s _ { t } , a _ { t } )$ \n12: Store $( s _ { t } , a _ { t } , s _ { t + 1 } , r _ { t } )$ in $B _ { \\pi }$ \n13: else \n14: Apply the null action so $s _ { t + 1 } \\sim P ( \\cdot | 0 , s _ { t } )$ , \n15: Receive rewards $r _ { t } = \\mathcal { R } ( s _ { t } , 0 )$ . \n16: end if \n17: Store $( s _ { t } , g _ { t } , s _ { t + 1 } , r _ { t } )$ in $B _ { \\mathfrak { g } }$ \n18: end for \n19: // Learn the individual policies \n20: Update policy $\\pi$ and critic $V _ { \\pi }$ networks using $\\mathfrak { B } _ { \\pi }$ \n21: Update policy $\\mathfrak { g }$ and critic $V _ { \\mathfrak { g } }$ networks using ${ \\mathfrak { B } } _ { { \\mathfrak { g } } }$ \n22: end for \n165 Although action space cardinality does not change there are still benefits of using impulse control \n166 mechanism. This mechanism forces the agent to first determine the set of states to perform actions \n167 only then determine the optimal actions at these states. An important fact to note is that the decision \n168 space for the determining whether or not to execute an action is $S \\times \\{ 0 , 1 \\}$ i.e at each state it makes a \n169 binary decision. Consequently, the learning process for aspect is much quicker than a policy which \n170 must optimise over a decision space which is $| { \\cal S } | | { \\cal A } |$ (choosing an action from its action space at \n171 every state). This results in the agent rapidly learning which states to focus on to learn which actions \n172 to perform. In the case of $\\pi$ with a continuous action space again the impulse control mechanism \n173 does not change the cardinality of the action space. However, if the set ${ \\cal S } / { \\cal S } _ { I }$ , where the optimal \n174 policy chooses 0, is large enough, then again it can be more efficient to learn $\\mathfrak { g }$ first and only then \n175 learn $\\pi$ (we later validate this claim empirically, see Sec. 11.2), \n176 In Sec. 5, we prove the convergence properties of LICRA. LICRA consists of two independent \n177 procedures: a learning process for the policy $\\pi$ and simultaneously, a learning process for the impulse \n178 policy $\\mathfrak { g }$ which determines at which states to perform an action. In our implementation, we used \n179 proximal policy optimisation (PPO) [27] for the policy $\\pi$ and for the impulse policy $\\mathfrak { g }$ , whose action \n180 set consists of two actions (intervene or do not intervene) we used a soft actor critic (SAC) process \n181 [14] LICRA is a plug $\\&$ play framework which enables these RL components to be replaced with any \n182 RL algorithm of choice. ",
|
| 400 |
+
"bbox": [
|
| 401 |
+
176,
|
| 402 |
+
529,
|
| 403 |
+
816,
|
| 404 |
+
862
|
| 405 |
+
],
|
| 406 |
+
"page_idx": 3
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"type": "text",
|
| 410 |
+
"text": "",
|
| 411 |
+
"bbox": [
|
| 412 |
+
140,
|
| 413 |
+
90,
|
| 414 |
+
825,
|
| 415 |
+
244
|
| 416 |
+
],
|
| 417 |
+
"page_idx": 4
|
| 418 |
+
},
|
| 419 |
+
{
|
| 420 |
+
"type": "text",
|
| 421 |
+
"text": "",
|
| 422 |
+
"bbox": [
|
| 423 |
+
140,
|
| 424 |
+
250,
|
| 425 |
+
825,
|
| 426 |
+
347
|
| 427 |
+
],
|
| 428 |
+
"page_idx": 4
|
| 429 |
+
},
|
| 430 |
+
{
|
| 431 |
+
"type": "text",
|
| 432 |
+
"text": "183 5 Convergence and Optimality of LICRA ",
|
| 433 |
+
"text_level": 1,
|
| 434 |
+
"bbox": [
|
| 435 |
+
143,
|
| 436 |
+
366,
|
| 437 |
+
534,
|
| 438 |
+
383
|
| 439 |
+
],
|
| 440 |
+
"page_idx": 4
|
| 441 |
+
},
|
| 442 |
+
{
|
| 443 |
+
"type": "text",
|
| 444 |
+
"text": "184 A key aspect of our framework is the presence of two RL processes that make decisions in a sequential \n185 order. In order to determine when to act the policy $\\mathfrak { g }$ must learn the states to allow the policy $\\pi$ to \n186 perform an action which the policy $\\pi$ must learn to select optimal actions whenever it is allowed to \n187 execute an action. \n188 In this section, we prove that LICRA converges to an optimal solution of the system. Central to \n189 LICRA is a Q-learning type method which is adapted to handle RL settings in which the agent must \n190 also learn when to act. We then extend the result to allow for (linear) function approximators. We \n191 provide a result that shows the optimal intervention times are characterised by an ‘obstacle condition’ \n192 which can be evaluated online therefore allowing the $\\mathfrak { g }$ . ",
|
| 445 |
+
"bbox": [
|
| 446 |
+
142,
|
| 447 |
+
397,
|
| 448 |
+
825,
|
| 449 |
+
453
|
| 450 |
+
],
|
| 451 |
+
"page_idx": 4
|
| 452 |
+
},
|
| 453 |
+
{
|
| 454 |
+
"type": "text",
|
| 455 |
+
"text": "",
|
| 456 |
+
"bbox": [
|
| 457 |
+
142,
|
| 458 |
+
458,
|
| 459 |
+
825,
|
| 460 |
+
530
|
| 461 |
+
],
|
| 462 |
+
"page_idx": 4
|
| 463 |
+
},
|
| 464 |
+
{
|
| 465 |
+
"type": "text",
|
| 466 |
+
"text": "Given a function $Q \\because S \\times \\mathcal { A } \\to \\mathbb { R } , \\quad \\forall \\pi , \\pi ^ { \\prime } \\in \\Pi$ and $\\forall \\ S , \\ S ^ { \\prime } , \\quad \\forall s _ { \\tau _ { k } } \\quad \\in \\quad S$ , we define the intervention operator $\\mathcal { M } ^ { \\pi , { \\mathfrak { g } } }$ by $\\begin{array} { r } { \\mathcal { M } ( ^ { \\pi , \\oplus } Q ^ { \\pi ^ { \\prime } , \\oplus ^ { \\prime } } ( s _ { \\pi _ { k } } , a _ { \\pi _ { k } } ) : = { \\mathcal R } ( s _ { \\pi _ { k } } , a _ { \\pi _ { k } } ) - c ( s _ { \\pi _ { k } } , a _ { \\pi _ { k } } ) + } \\end{array}$ $\\begin{array} { r } { \\gamma \\sum _ { s ^ { \\prime } \\in S } P ( s ^ { \\prime } ; a _ { \\tau _ { k } } , s ) v ^ { \\pi ^ { \\prime } , \\mathfrak { g ^ { \\prime } } } ( s ^ { \\prime } ) \\| a _ { \\tau _ { k } } \\sim \\pi ( \\cdot | s _ { \\tau _ { k } } ) , } \\end{array}$ , where $\\tau _ { k }$ is an intervention time. ",
|
| 467 |
+
"bbox": [
|
| 468 |
+
160,
|
| 469 |
+
534,
|
| 470 |
+
826,
|
| 471 |
+
589
|
| 472 |
+
],
|
| 473 |
+
"page_idx": 4
|
| 474 |
+
},
|
| 475 |
+
{
|
| 476 |
+
"type": "text",
|
| 477 |
+
"text": "196 The interpretation of $\\mathcal { M }$ is the following: suppose that the agent is using the policy $\\pi$ and at time $\\tau _ { k }$ \n197 the system is at a state $s _ { \\tau _ { k } }$ and the agent performs an action $a _ { \\tau _ { k } } \\sim \\pi ( \\cdot | s _ { \\tau _ { k } } )$ . A cost of $c ( s _ { \\tau _ { k } } , a _ { \\tau _ { k } } )$ \n198 is then incurred by the agent and the system transitions to $s ^ { \\prime } \\sim P ( \\cdot ; a _ { \\tau _ { k } } , s _ { \\tau _ { k } } )$ . Lastly, recall $v ^ { \\pi , { \\mathfrak { g } } }$ is \n199 the agent value function under the policy pair $( \\pi , g )$ . Therefore, the quantity ${ \\mathcal { M } } Q ^ { \\pi , { \\mathfrak { g } } }$ measures the \n200 expected future stream of rewards after an immediate intervention minus the cost of intervention. \n201 This object plays a crucial role in the LICRA framework which as we later discuss, exploits the cost \n202 structure of the problem to determine when the agent should perform an intervention. ",
|
| 478 |
+
"bbox": [
|
| 479 |
+
140,
|
| 480 |
+
594,
|
| 481 |
+
826,
|
| 482 |
+
693
|
| 483 |
+
],
|
| 484 |
+
"page_idx": 4
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"type": "text",
|
| 488 |
+
"text": "Given a function 203 $v ^ { n , \\ell } : S \\mathbb { \\quad }$ , we define the Bellman operator $\\boldsymbol { \\cdot }$ , by: ",
|
| 489 |
+
"bbox": [
|
| 490 |
+
147,
|
| 491 |
+
698,
|
| 492 |
+
637,
|
| 493 |
+
713
|
| 494 |
+
],
|
| 495 |
+
"page_idx": 4
|
| 496 |
+
},
|
| 497 |
+
{
|
| 498 |
+
"type": "text",
|
| 499 |
+
"text": "204 ",
|
| 500 |
+
"bbox": [
|
| 501 |
+
142,
|
| 502 |
+
722,
|
| 503 |
+
160,
|
| 504 |
+
731
|
| 505 |
+
],
|
| 506 |
+
"page_idx": 4
|
| 507 |
+
},
|
| 508 |
+
{
|
| 509 |
+
"type": "equation",
|
| 510 |
+
"img_path": "images/1d22f029be7fff5695370a24898dcff685b2ed179b08bdb4d9a1525dd068cfd4.jpg",
|
| 511 |
+
"text": "$$\nT v ^ { \\pi , \\theta } ( s ) : = \\operatorname* { m a x } \\Big \\{ \\mathcal { N } ^ { ( \\pi , \\theta ) } Q ^ { \\pi , \\theta } ( s , a ) , \\mathcal { R } ( s , 0 ) + \\gamma \\sum _ { s ^ { \\prime } \\in S } P ( s ^ { \\prime } ; 0 , s ) v ^ { \\pi , \\theta } ( s ^ { \\prime } ) \\Big \\} , \\qquad \\forall s \\in \\mathcal { S } .\n$$",
|
| 512 |
+
"text_format": "latex",
|
| 513 |
+
"bbox": [
|
| 514 |
+
230,
|
| 515 |
+
724,
|
| 516 |
+
767,
|
| 517 |
+
756
|
| 518 |
+
],
|
| 519 |
+
"page_idx": 4
|
| 520 |
+
},
|
| 521 |
+
{
|
| 522 |
+
"type": "text",
|
| 523 |
+
"text": "205 ",
|
| 524 |
+
"bbox": [
|
| 525 |
+
142,
|
| 526 |
+
756,
|
| 527 |
+
161,
|
| 528 |
+
766
|
| 529 |
+
],
|
| 530 |
+
"page_idx": 4
|
| 531 |
+
},
|
| 532 |
+
{
|
| 533 |
+
"type": "text",
|
| 534 |
+
"text": "206 The Bellman operator captures the nested sequential structure of the LICRA algorithm. In particular, \n207 the structure in (3) consists of an inner structure which consists of two terms: the first term is the \n208 expected future return given an action is taken at the current state under the policy $\\pi$ . The second term \n209 is the expected future return given no action is taken at the current state. Lastly, the outer structure is \n210 an optimisation which compares the expected return of the two possibilities and selects the maximum. ",
|
| 535 |
+
"bbox": [
|
| 536 |
+
140,
|
| 537 |
+
772,
|
| 538 |
+
826,
|
| 539 |
+
843
|
| 540 |
+
],
|
| 541 |
+
"page_idx": 4
|
| 542 |
+
},
|
| 543 |
+
{
|
| 544 |
+
"type": "text",
|
| 545 |
+
"text": "11 Our first result proves $T$ is a contraction operator in particular, the following bound holds: ",
|
| 546 |
+
"bbox": [
|
| 547 |
+
155,
|
| 548 |
+
848,
|
| 549 |
+
761,
|
| 550 |
+
864
|
| 551 |
+
],
|
| 552 |
+
"page_idx": 4
|
| 553 |
+
},
|
| 554 |
+
{
|
| 555 |
+
"type": "text",
|
| 556 |
+
"text": "212 Lemma 1 The Bellman operator $T$ is a contraction, that is the following bound holds: ",
|
| 557 |
+
"bbox": [
|
| 558 |
+
137,
|
| 559 |
+
875,
|
| 560 |
+
743,
|
| 561 |
+
890
|
| 562 |
+
],
|
| 563 |
+
"page_idx": 4
|
| 564 |
+
},
|
| 565 |
+
{
|
| 566 |
+
"type": "equation",
|
| 567 |
+
"img_path": "images/cf50390db76541add22697b97f1f8bef43214a39a5b762388d0195cd6f10c1c6.jpg",
|
| 568 |
+
"text": "$$\n\\begin{array} { r } { \\| T v - T v ^ { \\prime } \\| \\leq \\gamma \\left. v - v ^ { \\prime } \\right. , } \\end{array}\n$$",
|
| 569 |
+
"text_format": "latex",
|
| 570 |
+
"bbox": [
|
| 571 |
+
408,
|
| 572 |
+
895,
|
| 573 |
+
589,
|
| 574 |
+
912
|
| 575 |
+
],
|
| 576 |
+
"page_idx": 4
|
| 577 |
+
},
|
| 578 |
+
{
|
| 579 |
+
"type": "text",
|
| 580 |
+
"text": "where 13 $v , v ^ { \\prime }$ are elements of a finite normed vector space. We can now state our first main result: ",
|
| 581 |
+
"bbox": [
|
| 582 |
+
155,
|
| 583 |
+
90,
|
| 584 |
+
800,
|
| 585 |
+
107
|
| 586 |
+
],
|
| 587 |
+
"page_idx": 5
|
| 588 |
+
},
|
| 589 |
+
{
|
| 590 |
+
"type": "text",
|
| 591 |
+
"text": "Theorem 1 Given any $v ^ { \\pi , \\mathfrak { g } } : \\mathcal { S } \\times \\mathcal { A } \\mathbb { R } ,$ , the optimal value function is given by $\\operatorname* { l i m } _ { k \\to \\infty } T ^ { k } v ^ { \\pi , \\mathfrak { g } } =$ $\\operatorname* { m a x } _ { \\hat { \\pi } , \\hat { g } \\in \\Pi } v ^ { \\hat { \\pi } , \\hat { g } } = v ^ { \\pi ^ { \\star } , g ^ { \\star } }$ where $( \\pi ^ { \\star } , g ^ { \\star } )$ is the optimal policy pair. ",
|
| 592 |
+
"bbox": [
|
| 593 |
+
168,
|
| 594 |
+
114,
|
| 595 |
+
825,
|
| 596 |
+
161
|
| 597 |
+
],
|
| 598 |
+
"page_idx": 5
|
| 599 |
+
},
|
| 600 |
+
{
|
| 601 |
+
"type": "text",
|
| 602 |
+
"text": "The result of Theorem 1 enables the solution to the agent’s impulse control problem to be determined using a value iteration procedure. Moreover, Theorem 1 enables a Q-learning approach [6] for finding the solution to the agent’s problem. ",
|
| 603 |
+
"bbox": [
|
| 604 |
+
147,
|
| 605 |
+
170,
|
| 606 |
+
826,
|
| 607 |
+
213
|
| 608 |
+
],
|
| 609 |
+
"page_idx": 5
|
| 610 |
+
},
|
| 611 |
+
{
|
| 612 |
+
"type": "text",
|
| 613 |
+
"text": "219 Theorem 2 Consider the following $Q$ learning variant: ",
|
| 614 |
+
"bbox": [
|
| 615 |
+
142,
|
| 616 |
+
222,
|
| 617 |
+
540,
|
| 618 |
+
238
|
| 619 |
+
],
|
| 620 |
+
"page_idx": 5
|
| 621 |
+
},
|
| 622 |
+
{
|
| 623 |
+
"type": "equation",
|
| 624 |
+
"img_path": "images/23f8930b1b8b17d1d3a70216119b13eb66fa3f4560ca71ea1ccb26e4c5ed1067.jpg",
|
| 625 |
+
"text": "$$\n+ \\alpha _ { t } ( s _ { t } , a _ { t } ) \\left[ \\operatorname* { m a x } \\left\\{ \\mathcal { M } ^ { \\pi , \\mathfrak { g } } Q _ { t } ( s _ { t } , a _ { t } ) , \\mathcal { R } ( s _ { t } , 0 ) + \\gamma _ { a ^ { \\prime } \\in A } ^ { \\operatorname* { m a x } } Q _ { t } ( s _ { t + 1 } , a ^ { \\prime } ) \\right\\} - Q _ { t } ( s _ { t } , a _ { t } ) \\right] ,\n$$",
|
| 626 |
+
"text_format": "latex",
|
| 627 |
+
"bbox": [
|
| 628 |
+
187,
|
| 629 |
+
257,
|
| 630 |
+
790,
|
| 631 |
+
292
|
| 632 |
+
],
|
| 633 |
+
"page_idx": 5
|
| 634 |
+
},
|
| 635 |
+
{
|
| 636 |
+
"type": "text",
|
| 637 |
+
"text": "then 220 $Q _ { t }$ converges to $Q ^ { \\star }$ with probability 1, where $s _ { t } , s _ { t + 1 } \\in S$ and $a _ { t } \\in \\mathcal A$ . ",
|
| 638 |
+
"bbox": [
|
| 639 |
+
147,
|
| 640 |
+
294,
|
| 641 |
+
673,
|
| 642 |
+
310
|
| 643 |
+
],
|
| 644 |
+
"page_idx": 5
|
| 645 |
+
},
|
| 646 |
+
{
|
| 647 |
+
"type": "text",
|
| 648 |
+
"text": "21 We now extend the result to (linear) function approximators: ",
|
| 649 |
+
"bbox": [
|
| 650 |
+
155,
|
| 651 |
+
319,
|
| 652 |
+
570,
|
| 653 |
+
334
|
| 654 |
+
],
|
| 655 |
+
"page_idx": 5
|
| 656 |
+
},
|
| 657 |
+
{
|
| 658 |
+
"type": "text",
|
| 659 |
+
"text": "Theorem 3 Given a set of linearly independent basis functions $\\Phi = \\{ \\phi _ { 1 } , \\ldots , \\phi _ { p } \\}$ with $\\phi _ { k } \\in L _ { 2 } , \\forall k$ . LICRA converges to a limit point $r ^ { \\star } \\in \\mathbb { R } ^ { p }$ which is the unique solution to $\\Pi \\mathfrak { F } ( \\Phi r ^ { \\star } ) = \\Phi r ^ { \\star }$ where $\\mathfrak { F } v : = \\mathcal { R } + \\gamma P \\operatorname* { m a x } \\{ \\mathcal { M } v , v \\}$ . Moreover, $r ^ { \\star }$ satisfies: $\\| \\Phi r ^ { \\star } - Q ^ { \\star } \\| \\leq ( 1 - \\gamma ^ { 2 } ) ^ { - 1 / 2 } \\| \\Pi Q ^ { \\star } - Q ^ { \\star } \\|$ . ",
|
| 660 |
+
"bbox": [
|
| 661 |
+
171,
|
| 662 |
+
343,
|
| 663 |
+
826,
|
| 664 |
+
388
|
| 665 |
+
],
|
| 666 |
+
"page_idx": 5
|
| 667 |
+
},
|
| 668 |
+
{
|
| 669 |
+
"type": "text",
|
| 670 |
+
"text": "The theorem establishes the convergence of LICRA to a stable point with the use of linear function approximators. The second statement bounds the proximity of the convergence point by the smallest approximation error that can be achieved given the choice of basis functions. ",
|
| 671 |
+
"bbox": [
|
| 672 |
+
171,
|
| 673 |
+
397,
|
| 674 |
+
825,
|
| 675 |
+
440
|
| 676 |
+
],
|
| 677 |
+
"page_idx": 5
|
| 678 |
+
},
|
| 679 |
+
{
|
| 680 |
+
"type": "text",
|
| 681 |
+
"text": "Having constructed a procedure to find the optimal agent’s optimal value function, we now seek to determine the conditions when an intervention should be performed. Let us denote by $\\{ \\tau _ { k } \\} _ { k \\ge 0 }$ the points at which the agent decides to act or intervention times, so for example if the agent chooses to perform an action at state $s _ { 6 }$ and again at state $s _ { 8 }$ , then $\\tau _ { 1 } = 6$ and $\\tau _ { 2 } = 8$ . The following result characterises the optimal intervention policy $\\mathfrak { g }$ and the optimal times $\\{ \\tau _ { k } \\} _ { k \\ge 0 }$ . ",
|
| 682 |
+
"bbox": [
|
| 683 |
+
173,
|
| 684 |
+
445,
|
| 685 |
+
825,
|
| 686 |
+
517
|
| 687 |
+
],
|
| 688 |
+
"page_idx": 5
|
| 689 |
+
},
|
| 690 |
+
{
|
| 691 |
+
"type": "text",
|
| 692 |
+
"text": "Proposition 1 The policy g is given by: $\\mathfrak { g } ( s _ { t } ) = H ( \\mathcal { M } ^ { \\pi , \\mathfrak { g } } Q ^ { \\pi , \\mathfrak { g } } - Q ^ { \\pi , \\mathfrak { g } } ) ( s _ { t } , a _ { t } ) , \\forall s _ { t } \\in \\mathcal { S } _ { \\mathrm { ~ \\Gamma ~ } }$ , where $Q ^ { \\pi , { \\mathfrak { g } } }$ is the solution in Theorem $\\cdot$ , $\\mathcal { M }$ is the intervention operator and $H$ is the Heaviside function, moreover the intervention times are $\\tau _ { k } = \\operatorname* { i n f } \\{ \\tau > \\tau _ { k - 1 } | \\mathcal { M } ^ { \\pi , { \\mathfrak { g } } } Q ^ { \\pi , { \\mathfrak { g } } } = Q ^ { \\pi , { \\mathfrak { g } } } \\}$ . ",
|
| 693 |
+
"bbox": [
|
| 694 |
+
173,
|
| 695 |
+
525,
|
| 696 |
+
825,
|
| 697 |
+
569
|
| 698 |
+
],
|
| 699 |
+
"page_idx": 5
|
| 700 |
+
},
|
| 701 |
+
{
|
| 702 |
+
"type": "text",
|
| 703 |
+
"text": "Prop. 1 characterises the (categorical) distribution $\\mathfrak { g }$ . Moreover, given the function $Q$ , the times $\\{ \\tau _ { k } \\}$ can be determined by evaluating if $\\mathcal { M } Q = Q$ holds. ",
|
| 704 |
+
"bbox": [
|
| 705 |
+
163,
|
| 706 |
+
578,
|
| 707 |
+
823,
|
| 708 |
+
608
|
| 709 |
+
],
|
| 710 |
+
"page_idx": 5
|
| 711 |
+
},
|
| 712 |
+
{
|
| 713 |
+
"type": "text",
|
| 714 |
+
"text": "A key aspect of Prop. 1 is that it exploits the cost structure of the problem to determine when the agent should perform an intervention. In particular, the equality $\\mathcal { M } Q = Q$ implies that performing an action and incurring a cost for doing so is optimal. ",
|
| 715 |
+
"bbox": [
|
| 716 |
+
173,
|
| 717 |
+
612,
|
| 718 |
+
825,
|
| 719 |
+
656
|
| 720 |
+
],
|
| 721 |
+
"page_idx": 5
|
| 722 |
+
},
|
| 723 |
+
{
|
| 724 |
+
"type": "text",
|
| 725 |
+
"text": "6 Budget Augmented LICRA via State Augmentation ",
|
| 726 |
+
"text_level": 1,
|
| 727 |
+
"bbox": [
|
| 728 |
+
158,
|
| 729 |
+
672,
|
| 730 |
+
633,
|
| 731 |
+
691
|
| 732 |
+
],
|
| 733 |
+
"page_idx": 5
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"type": "text",
|
| 737 |
+
"text": "We now tackle the problem of RL with a budget. To do this, we combine the above impulse control technology with state augmentation technique proposed in [28] The mathematical formulation of the problem is now given by the following for any $s \\in S$ : ",
|
| 738 |
+
"bbox": [
|
| 739 |
+
169,
|
| 740 |
+
703,
|
| 741 |
+
823,
|
| 742 |
+
746
|
| 743 |
+
],
|
| 744 |
+
"page_idx": 5
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"type": "equation",
|
| 748 |
+
"img_path": "images/c55bbf1ceb08375a8c470d28ced7b07f37b91614755892322a27a5a1575451ae.jpg",
|
| 749 |
+
"text": "$$\n\\operatorname* { m a x } _ { \\pi \\in \\Pi , g } ~ \\upsilon ^ { \\pi , \\mathfrak { g } } ( s ) \\ \\mathrm { ~ s . ~ t . ~ } n - \\sum _ { t = 0 } ^ { \\infty } \\sum _ { k \\geq 1 } \\delta _ { \\tau _ { k } } ^ { t } \\geq 0 ,\n$$",
|
| 750 |
+
"text_format": "latex",
|
| 751 |
+
"bbox": [
|
| 752 |
+
370,
|
| 753 |
+
752,
|
| 754 |
+
624,
|
| 755 |
+
791
|
| 756 |
+
],
|
| 757 |
+
"page_idx": 5
|
| 758 |
+
},
|
| 759 |
+
{
|
| 760 |
+
"type": "text",
|
| 761 |
+
"text": "where $n \\in \\mathbb N$ is a fixed value that represents the maximum number of allowed interventions and $\\sum k > 1 8 _ { T k } ^ { t }$ is equal to one if an impulse was applied at time $t$ and zero if it was not. In order to avoid dealing with a constrained MDP, we propose to introduce a new variable $z _ { t }$ tracking the remaining number of impulses: $\\begin{array} { r } { z _ { t } = n - \\sum _ { i = 0 } ^ { t - 1 } \\sum _ { k \\geq 1 } \\delta _ { \\tau _ { k } } ^ { i } } \\end{array}$ . We treat $z _ { t }$ as another state and augment the state-space resulting in the transition $\\widetilde { \\mathcal P }$ : ",
|
| 762 |
+
"bbox": [
|
| 763 |
+
171,
|
| 764 |
+
792,
|
| 765 |
+
825,
|
| 766 |
+
872
|
| 767 |
+
],
|
| 768 |
+
"page_idx": 5
|
| 769 |
+
},
|
| 770 |
+
{
|
| 771 |
+
"type": "equation",
|
| 772 |
+
"img_path": "images/6346be3fbe5274a0800604dd10bbe7c0ae289219dc95d9e13ea962d4639c0036.jpg",
|
| 773 |
+
"text": "$$\ns _ { t + 1 } \\sim P ( \\cdot | s _ { t } , a _ { t } ) , \\qquad z _ { t + 1 } = z _ { t } - \\sum _ { k \\geq 1 } \\delta _ { \\tau _ { k } } ^ { t } , \\quad z _ { 0 } = n .\n$$",
|
| 774 |
+
"text_format": "latex",
|
| 775 |
+
"bbox": [
|
| 776 |
+
326,
|
| 777 |
+
877,
|
| 778 |
+
671,
|
| 779 |
+
910
|
| 780 |
+
],
|
| 781 |
+
"page_idx": 5
|
| 782 |
+
},
|
| 783 |
+
{
|
| 784 |
+
"type": "text",
|
| 785 |
+
"text": "In order to avoid violations, we reshape the reward as follows: 252 $\\begin{array} { r } { \\widetilde { \\mathcal { R } } ( s _ { t } , z _ { t } , a _ { t } ) = \\left\\{ \\begin{array} { l l } { \\mathcal { R } ( s _ { t } , a _ { t } ) } & { z _ { t } \\ge 0 } \\\\ { - \\Delta } & { z _ { t } < 0 } \\end{array} \\right. } \\end{array}$ ,, 253 where $\\Delta > 0$ is a large enough hyper-parameter ensuring that there are no safety violations. To 254 summarise we aim to solve the following problem: ",
|
| 786 |
+
"bbox": [
|
| 787 |
+
142,
|
| 788 |
+
89,
|
| 789 |
+
825,
|
| 790 |
+
151
|
| 791 |
+
],
|
| 792 |
+
"page_idx": 6
|
| 793 |
+
},
|
| 794 |
+
{
|
| 795 |
+
"type": "text",
|
| 796 |
+
"text": "",
|
| 797 |
+
"bbox": [
|
| 798 |
+
140,
|
| 799 |
+
159,
|
| 800 |
+
161,
|
| 801 |
+
169
|
| 802 |
+
],
|
| 803 |
+
"page_idx": 6
|
| 804 |
+
},
|
| 805 |
+
{
|
| 806 |
+
"type": "equation",
|
| 807 |
+
"img_path": "images/f7782e97a7c6f6b939a51b9531f333bd46fa03de6e45a900410f8a587c3fa221.jpg",
|
| 808 |
+
"text": "$$\nv ^ { \\pi , \\mathfrak { g } } ( s , z ) = \\mathbb { E } \\left[ \\sum _ { t = 0 } ^ { \\infty } \\gamma ^ { t } \\widetilde { \\mathcal { R } } ( s _ { t } , z _ { t } , a _ { t } ) | a _ { t } \\sim \\pi ( \\cdot | s _ { t } , z _ { t } ) \\right] ,\n$$",
|
| 809 |
+
"text_format": "latex",
|
| 810 |
+
"bbox": [
|
| 811 |
+
333,
|
| 812 |
+
160,
|
| 813 |
+
665,
|
| 814 |
+
199
|
| 815 |
+
],
|
| 816 |
+
"page_idx": 6
|
| 817 |
+
},
|
| 818 |
+
{
|
| 819 |
+
"type": "text",
|
| 820 |
+
"text": "where the policy now depends on the variable $z _ { t }$ . Note that $\\widetilde { \\mathcal P }$ in Equation 6 is a Markov process and, the rewards $\\widetilde { \\mathcal { R } }$ are bounded, as long as the rewards $\\mathcal { R }$ are bounded. Therefore, we can apply directly the results for impulse control to this case as well. We denote the augmented MDP by $\\widetilde { \\mathcal { M } } = \\langle \\overset { \\cdot } { S } \\times \\mathcal { Z } , \\overset { \\cdot } { A } , \\widetilde { \\mathcal { P } } , \\widetilde { R } , \\gamma \\rangle$ , where $\\mathcal { Z }$ is the space of the augmented state. We have the following. ",
|
| 821 |
+
"bbox": [
|
| 822 |
+
166,
|
| 823 |
+
205,
|
| 824 |
+
826,
|
| 825 |
+
268
|
| 826 |
+
],
|
| 827 |
+
"page_idx": 6
|
| 828 |
+
},
|
| 829 |
+
{
|
| 830 |
+
"type": "text",
|
| 831 |
+
"text": "Theorem 4 Consider the MDP $\\widetilde { \\mathcal { M } }$ for the problem 7, then: ",
|
| 832 |
+
"bbox": [
|
| 833 |
+
165,
|
| 834 |
+
280,
|
| 835 |
+
565,
|
| 836 |
+
297
|
| 837 |
+
],
|
| 838 |
+
"page_idx": 6
|
| 839 |
+
},
|
| 840 |
+
{
|
| 841 |
+
"type": "text",
|
| 842 |
+
"text": "a) The Bellman equation holds, i.e. there exists a function $\\tilde { v } ^ { * , \\pi , 9 }$ s.th. $\\begin{array} { r l } { \\tilde { v } ^ { * , \\pi , \\mathfrak { g } } ( s , z ) } & { { } = } \\end{array}$ $\\operatorname* { m a x } _ { \\mathbf { a } \\in \\mathcal { A } } \\Big ( \\widetilde { \\mathcal { R } } ( s , z , \\pmb { a } ) + \\gamma \\mathbb { E } _ { s ^ { \\prime } , z ^ { \\prime } \\sim \\mathcal { P } } \\left[ \\widetilde { v } ^ { * , \\pi , \\mathfrak { g } } ( s ^ { \\prime } , z ^ { \\prime } ) \\right] \\Big )$ , where the optimal policy for $\\widetilde { \\mathcal { M } }$ has the form $\\pi ^ { * } ( \\cdot | s , z )$ ; ",
|
| 843 |
+
"bbox": [
|
| 844 |
+
173,
|
| 845 |
+
303,
|
| 846 |
+
825,
|
| 847 |
+
358
|
| 848 |
+
],
|
| 849 |
+
"page_idx": 6
|
| 850 |
+
},
|
| 851 |
+
{
|
| 852 |
+
"type": "text",
|
| 853 |
+
"text": "$b$ ) Given a ${ \\widetilde { v } } : { \\mathcal { S } } \\times { \\mathcal { Z } } \\to \\mathbb { R } ,$ , the stable point solution for $\\widetilde { \\mathcal { M } }$ is a given by $\\operatorname* { l i m } _ { k \\infty } \\tilde { T } ^ { k } \\widetilde { v } ^ { \\pi , g } = \\operatorname* { m a x } _ { \\hat { \\pi } \\in \\Pi , \\hat { g } } \\hat { \\pi } ^ { \\hat { \\pi } , \\hat { g } } =$ $\\widetilde { v } ^ { * , \\pi , { \\mathfrak { g } } ^ { * } }$ , where $( \\pi ^ { * } , { \\mathfrak { g } } ^ { * } )$ is an optimal policy of $\\widetilde { \\mathcal { M } }$ and $\\tilde { T }$ is the Bellman operator of $\\widetilde { \\mathcal { M } }$ . ",
|
| 854 |
+
"bbox": [
|
| 855 |
+
173,
|
| 856 |
+
363,
|
| 857 |
+
825,
|
| 858 |
+
409
|
| 859 |
+
],
|
| 860 |
+
"page_idx": 6
|
| 861 |
+
},
|
| 862 |
+
{
|
| 863 |
+
"type": "text",
|
| 864 |
+
"text": "The result has several important implications. The first is that we can use a modified version of LICRA to obtain the solution of the problem while guaranteeing convergence (under standard assumptions). Secondly, our state augmentation procedure admits a Markovian representation of the optimal policy. ",
|
| 865 |
+
"bbox": [
|
| 866 |
+
171,
|
| 867 |
+
416,
|
| 868 |
+
826,
|
| 869 |
+
460
|
| 870 |
+
],
|
| 871 |
+
"page_idx": 6
|
| 872 |
+
},
|
| 873 |
+
{
|
| 874 |
+
"type": "text",
|
| 875 |
+
"text": "69 7 Experiments ",
|
| 876 |
+
"text_level": 1,
|
| 877 |
+
"bbox": [
|
| 878 |
+
153,
|
| 879 |
+
478,
|
| 880 |
+
312,
|
| 881 |
+
496
|
| 882 |
+
],
|
| 883 |
+
"page_idx": 6
|
| 884 |
+
},
|
| 885 |
+
{
|
| 886 |
+
"type": "text",
|
| 887 |
+
"text": "270 We will now study empirically the performance of the LICRA framework. In experiments, we use \n271 different instances of LICRA, one where both policies are trained using PPO update (referred to \n272 as LICRA_PPO) and one where the policy deciding whether to act is trained using SAC and the \n273 other policy trained with PPO (referred to as LICRA_SAC). We have benchmarked both of these \n274 algorithms together with common baselines on environments, where it would be natural to introduce \n275 the concept of the cost associated with actions. We lastly performed a series of ablation studies which \n276 test LICRA’s ability to handle different cost functions including the case when $c ( s , a ) \\equiv 0$ which we \n277 defer to the Appendix which also contains further experiment details. \n278 Merton’s Portfolio Problem with Transaction Costs. Merton Investment Problem in which the \n279 investor faces transaction costs [10] is a well-known problem within finance. In our environment, the \n280 agent can decide to move its wealth between a risky asset and a risk-free asset. The agent receives a \n281 reward only at the final step, equal to the utility of the portfolio with a risk aversion factor equal to \n282 0.5. If the final wealth of risky asset is $s _ { T }$ and final wealth of risk-free asset is $c _ { T }$ , then the agent will \n283 receive a reward of $u ( x ) = \\hat { 2 \\sqrt { s _ { T } + c _ { T } } }$ . The wealth evolves according to the following SDE: ",
|
| 888 |
+
"bbox": [
|
| 889 |
+
138,
|
| 890 |
+
508,
|
| 891 |
+
826,
|
| 892 |
+
621
|
| 893 |
+
],
|
| 894 |
+
"page_idx": 6
|
| 895 |
+
},
|
| 896 |
+
{
|
| 897 |
+
"type": "image",
|
| 898 |
+
"img_path": "images/c36f4d4fc355a612aa0817f310a3b877c4df8280a953e0bbdade420829da0b36.jpg",
|
| 899 |
+
"image_caption": [
|
| 900 |
+
"Figure 1: Training results in Merton investment problem for PPO style algorithms. "
|
| 901 |
+
],
|
| 902 |
+
"image_footnote": [],
|
| 903 |
+
"bbox": [
|
| 904 |
+
367,
|
| 905 |
+
631,
|
| 906 |
+
632,
|
| 907 |
+
768
|
| 908 |
+
],
|
| 909 |
+
"page_idx": 6
|
| 910 |
+
},
|
| 911 |
+
{
|
| 912 |
+
"type": "text",
|
| 913 |
+
"text": "",
|
| 914 |
+
"bbox": [
|
| 915 |
+
140,
|
| 916 |
+
801,
|
| 917 |
+
825,
|
| 918 |
+
886
|
| 919 |
+
],
|
| 920 |
+
"page_idx": 6
|
| 921 |
+
},
|
| 922 |
+
{
|
| 923 |
+
"type": "equation",
|
| 924 |
+
"img_path": "images/41cceaf9456638a4b1e99b4ad0d95e76acc025817d31222486f95548cde55275.jpg",
|
| 925 |
+
"text": "$$\nd W _ { t } = ( r + p _ { t } ( \\mu - r ) ) W _ { t } + W _ { t } p _ { t } \\sigma d B _ { t }\n$$",
|
| 926 |
+
"text_format": "latex",
|
| 927 |
+
"bbox": [
|
| 928 |
+
362,
|
| 929 |
+
891,
|
| 930 |
+
635,
|
| 931 |
+
909
|
| 932 |
+
],
|
| 933 |
+
"page_idx": 6
|
| 934 |
+
},
|
| 935 |
+
{
|
| 936 |
+
"type": "image",
|
| 937 |
+
"img_path": "images/e4f0e42faa34e8a85dc4690b08f54b2a9dca40e02107c30188aa1c25e63de654.jpg",
|
| 938 |
+
"image_caption": [
|
| 939 |
+
"Figure 2: a) Drive Environment. b) Training results in drive environment. "
|
| 940 |
+
],
|
| 941 |
+
"image_footnote": [],
|
| 942 |
+
"bbox": [
|
| 943 |
+
183,
|
| 944 |
+
88,
|
| 945 |
+
810,
|
| 946 |
+
233
|
| 947 |
+
],
|
| 948 |
+
"page_idx": 7
|
| 949 |
+
},
|
| 950 |
+
{
|
| 951 |
+
"type": "text",
|
| 952 |
+
"text": "284 where $W _ { t }$ is the current wealth and the state variable, $d B _ { t }$ is an increment of Brownian motion and $p _ { t }$ \n285 is the proportion of wealth invested in the risky asset. We set the risk-free return $r = 0 . 0 1$ , risky asset \n286 return $\\mu = 0 . 0 5$ and volatility $\\sigma = 1$ . We discretise the action space so that at each step the agent has \n287 three actions available: move $10 \\%$ of risky asset wealth to the risk-free asset, move $10 \\%$ of risk-free \n288 asset wealth to the risky asset or do nothing. Each time the agent moves the assets, it incurs a cost \n289 of 1 i.e. a transaction fee. The agent can act after a time interval of 0.01 seconds and the episode \n290 ends after 75 steps. The results of training are shown in Fig. 1 which clearly demonstrates that \n291 LICRA_PPO finds a better policy than standard PPO. Also comparing the variance among different \n292 seeds, we can see that LICRA_PPO is a much more stable algorithm than the other two. \n293 Driving Environment Fuel Rationing. We studied an autonomous driving scenario where fuel \n294 efficient driving is a priority. One of the main components of fuel-efficient driving is controlled usage \n295 of acceleration and braking, in the sense that 1) the amount of acceleration and braking should be \n296 limited 2) if accelerations should be performed slowly and gently. We believe this is a problem where \n297 LICRA should thrive as the impulse control agent can learn to restrict the amount of acceleration \n298 and braking in the presence of other cars and choose when to allow the car to decelerate naturally. \n299 We used the highway-env [17] environment on a highway task (see Fig (2. a)) where the green \n300 vehicle is our controlled vehicle and the goal is to avoid crashing into other vehicles whilst driving \n301 at a reasonable speed. We add a cost function into the reward term dependent on the continuous \n302 acceleration action, $C ( a _ { t } ) = K + a _ { t } ^ { 2 }$ , where $K > 0$ is a fixed constant cost of taking any action, \n303 and $a _ { t } \\in [ - 1 , 1 ]$ , with larger values of acceleration or braking being penalised more. The results are \n304 presented in Fig. (2.b). Notably, LICRA is able to massively outperform the baselines, especially our \n305 safety specific baselines which struggle to deal with the cost function associated with the environment. \n306 We believe one reason for the success of LICRA is that it is far easier for it to utilise the null action \n307 of zero acceleration/braking than the other algorithms, whilst all the algorithms have a guaranteed \n308 cost at every time step whilst not gaining a sizeable reward to counter the cost. ",
|
| 953 |
+
"bbox": [
|
| 954 |
+
138,
|
| 955 |
+
276,
|
| 956 |
+
825,
|
| 957 |
+
400
|
| 958 |
+
],
|
| 959 |
+
"page_idx": 7
|
| 960 |
+
},
|
| 961 |
+
{
|
| 962 |
+
"type": "text",
|
| 963 |
+
"text": "",
|
| 964 |
+
"bbox": [
|
| 965 |
+
140,
|
| 966 |
+
401,
|
| 967 |
+
826,
|
| 968 |
+
621
|
| 969 |
+
],
|
| 970 |
+
"page_idx": 7
|
| 971 |
+
},
|
| 972 |
+
{
|
| 973 |
+
"type": "image",
|
| 974 |
+
"img_path": "images/5bec575b374d2d9a07b6663aca5f30e26bc81290ee187b6eb4033c9c9f99603c.jpg",
|
| 975 |
+
"image_caption": [
|
| 976 |
+
"Figure 3: a) The lander must land on the pad between two flags. . b) Training results in Lunar Lander. Lunar Lander Environment. We tested the ability of LICRA to perform in environment that simulate real-world physical dynamics. We tested LICRA’s performance the Lunar Lander environment in OpenAI gym [7] which we adjusted to incorporate minimal bounded costs in the reward definition. In this environment, the agent is required to maintain both a good posture mid-air and reach the landing pad as quickly as possible. The reward function is given by: "
|
| 977 |
+
],
|
| 978 |
+
"image_footnote": [],
|
| 979 |
+
"bbox": [
|
| 980 |
+
184,
|
| 981 |
+
633,
|
| 982 |
+
738,
|
| 983 |
+
776
|
| 984 |
+
],
|
| 985 |
+
"page_idx": 7
|
| 986 |
+
},
|
| 987 |
+
{
|
| 988 |
+
"type": "equation",
|
| 989 |
+
"img_path": "images/de80a6064355eabf656cffa30e23f700882d4e6652151a389d2602021969d647.jpg",
|
| 990 |
+
"text": "$$\n\\begin{array} { r } { \\mathrm { R e w a r d } \\left( s _ { t } \\right) = 3 * \\left( 1 - \\mathbf { 1 } _ { d _ { t } - d _ { t - 1 } = 0 } \\right) - 3 * \\left( 1 - \\mathbf { 1 } _ { v _ { t } - v _ { t - 1 } = 0 } \\right) - 3 * \\left( 1 - \\mathbf { 1 } _ { \\omega _ { t } - \\omega _ { t - 1 } = 0 } \\right) } \\\\ { - 0 . 0 3 * \\mathrm { F u e l S p e n t } ( s _ { t } ) - 1 0 * \\left( v _ { t } - v _ { t - 1 } \\right) - 1 0 * \\left( \\omega _ { t } - \\omega _ { t - 1 } \\right) + 1 0 0 * \\mathrm { h a s L a n d e d } \\left( s _ { t } \\right) } \\end{array}\n$$",
|
| 991 |
+
"text_format": "latex",
|
| 992 |
+
"bbox": [
|
| 993 |
+
205,
|
| 994 |
+
876,
|
| 995 |
+
789,
|
| 996 |
+
915
|
| 997 |
+
],
|
| 998 |
+
"page_idx": 7
|
| 999 |
+
},
|
| 1000 |
+
{
|
| 1001 |
+
"type": "text",
|
| 1002 |
+
"text": "309 where $d _ { t }$ is the distance to the landing pad, $v _ { t }$ is the velocity of the agent, and $\\omega _ { t }$ is the angular \n310 velocity of the agent at time $t$ . $\\mathbf { 1 } _ { X }$ is the indicator function of taking actions, which is 1 when the \n311 statement $X$ is true and 0 when $X$ is false. Considering the limited fuel budget, we assume that \n312 we have a fixed cost for each action taken by the agent here, and doing nothing brings no cost. Then, \n313 to describe the goal of the game, we define the function of the final status by hasLanded(), which is \n314 0 when not landing; 1 when the agent has landed softly on the landing pad; and $- 1$ when the lander \n315 runs out of fuel or loses contact with the pad on landing. The reward function rewards the agent \n316 for reducing its distance to the landing pad, decreasing its speed to land smoothly and keeping the \n317 angular speed at a minimum to prevent rolling. Additionally, it penalises the agent for running out \n318 of fuel and deters the agent from taking off again after landing. \n319 By introducing a reward function with minimally bounded costs, our goal was to test if LICRA can \n320 exploit the optimal policy. In Fig. 3, we observe that the LICRA agent outperforms all the baselines, \n321 both in terms of sample efficiency and average test return (total rewards at each timestep). We also \n322 observe that LICRA enables more stable training than PPO, PPO-Lagrangian and CPO. \n323 Ablation Study 1. Prioritisation of Most Important Actions. We next tested LICRA’s ability to \n324 prioritise where it performs actions when the necessity to act varies significantly between states. To \n325 test this, we modified the Drive Environment to now consist of a single lane, a start state and a goal \n326 state start (at the end) where there is a reward. With no acceleration, the vehicle decreases velocity. \n327 To reach the goal, the agent must apply an acceleration $a _ { t } \\in [ - 1 , 1 ]$ . Each acceleration $a _ { t }$ incurs \n328 a cost $C ( \\boldsymbol { a } _ { t } )$ as defined above. At zones $k = 1 , 2 , 3$ of the lane, if the vehicle is travelling below a \n329 velocity $v _ { m i n }$ , it is penalised by a strictly negative cost $c _ { k }$ where $c _ { 1 } < c _ { 2 } < c _ { 3 }$ . As shown in Fig. 4, \n330 when the intervention cost increases i.e. when $K \\infty$ , LICRA successfully prioritises the highest \npenalty zones to avoid incurring large costs. ",
|
| 1003 |
+
"bbox": [
|
| 1004 |
+
140,
|
| 1005 |
+
90,
|
| 1006 |
+
825,
|
| 1007 |
+
229
|
| 1008 |
+
],
|
| 1009 |
+
"page_idx": 8
|
| 1010 |
+
},
|
| 1011 |
+
{
|
| 1012 |
+
"type": "text",
|
| 1013 |
+
"text": "",
|
| 1014 |
+
"bbox": [
|
| 1015 |
+
140,
|
| 1016 |
+
236,
|
| 1017 |
+
826,
|
| 1018 |
+
291
|
| 1019 |
+
],
|
| 1020 |
+
"page_idx": 8
|
| 1021 |
+
},
|
| 1022 |
+
{
|
| 1023 |
+
"type": "text",
|
| 1024 |
+
"text": "",
|
| 1025 |
+
"bbox": [
|
| 1026 |
+
140,
|
| 1027 |
+
291,
|
| 1028 |
+
826,
|
| 1029 |
+
416
|
| 1030 |
+
],
|
| 1031 |
+
"page_idx": 8
|
| 1032 |
+
},
|
| 1033 |
+
{
|
| 1034 |
+
"type": "image",
|
| 1035 |
+
"img_path": "images/2ba4542911b4913c1e9265c3276b917ff90a5a40da65ab950216d84702acce94.jpg",
|
| 1036 |
+
"image_caption": [
|
| 1037 |
+
"Figure 4: Results for Ablation Study 1. Heatmaps display the number of times the agent drives below $v _ { m i n }$ in the penalty zones. Violation 1 refers to the lowest cost zone, whilst Violation 3 refers to the largest cost zone. $K$ refers to the fixed cost for taking an action. "
|
| 1038 |
+
],
|
| 1039 |
+
"image_footnote": [],
|
| 1040 |
+
"bbox": [
|
| 1041 |
+
285,
|
| 1042 |
+
425,
|
| 1043 |
+
710,
|
| 1044 |
+
574
|
| 1045 |
+
],
|
| 1046 |
+
"page_idx": 8
|
| 1047 |
+
},
|
| 1048 |
+
{
|
| 1049 |
+
"type": "text",
|
| 1050 |
+
"text": "8 Conclusion ",
|
| 1051 |
+
"text_level": 1,
|
| 1052 |
+
"bbox": [
|
| 1053 |
+
169,
|
| 1054 |
+
645,
|
| 1055 |
+
299,
|
| 1056 |
+
661
|
| 1057 |
+
],
|
| 1058 |
+
"page_idx": 8
|
| 1059 |
+
},
|
| 1060 |
+
{
|
| 1061 |
+
"type": "text",
|
| 1062 |
+
"text": "We presented a novel method to tackle the problem of learning how to select when to act in addition to learning which actions to execute. Our framework, which is a general tool for tackling problems of this kind seamlessly adopts RL algorithms enabling them to efficiently tackle problems in which the agent must be selective about when it executes actions. This is of fundamental importance in practical settings where performing many actions over the horizon can lead to costs and undermine the service life of machinery. We demonstrated that our solution, LICRA which at its core has a sequential decision structure that first decides whether or not an action ought to be taken under the action policy can solve tasks where the agent faces costs with extreme efficiency as compared to leading reinforcement learning methods. In some tasks, we showed that LICRA is able to solve problems that are unsolvable using current reinforcement learning machinery. We envisge that this framework can serve as the basis extensions to different settings including adversarial training for solving a variety of problems within RL. ",
|
| 1063 |
+
"bbox": [
|
| 1064 |
+
173,
|
| 1065 |
+
674,
|
| 1066 |
+
825,
|
| 1067 |
+
840
|
| 1068 |
+
],
|
| 1069 |
+
"page_idx": 8
|
| 1070 |
+
},
|
| 1071 |
+
{
|
| 1072 |
+
"type": "text",
|
| 1073 |
+
"text": "References ",
|
| 1074 |
+
"text_level": 1,
|
| 1075 |
+
"bbox": [
|
| 1076 |
+
168,
|
| 1077 |
+
859,
|
| 1078 |
+
266,
|
| 1079 |
+
876
|
| 1080 |
+
],
|
| 1081 |
+
"page_idx": 8
|
| 1082 |
+
},
|
| 1083 |
+
{
|
| 1084 |
+
"type": "text",
|
| 1085 |
+
"text": "[1] Ali Ajdari, Maximilian Niyazi, Nils Henrik Nicolay, Christian Thieke, Robert Jeraj, and Thomas Bortfeld. Towards optimal stopping in radiation therapy. Radiotherapy and Oncology, 134:96– ",
|
| 1086 |
+
"bbox": [
|
| 1087 |
+
171,
|
| 1088 |
+
883,
|
| 1089 |
+
823,
|
| 1090 |
+
911
|
| 1091 |
+
],
|
| 1092 |
+
"page_idx": 8
|
| 1093 |
+
},
|
| 1094 |
+
{
|
| 1095 |
+
"type": "text",
|
| 1096 |
+
"text": "[2] Luluwah Al-Fagih. The british knock-out put option. International Journal of Theoretical and Applied Finance, 18(02):1550008, 2015. \n[3] Juan J Alcaraz, Jose A Ayala-Romero, Javier Vales-Alonso, and Fernando Losilla-López. Online reinforcement learning for adaptive interference coordination. Transactions on Emerging Telecommunications Technologies, 31(10):e4087, 2020. \n[4] Sebastian Becker, Patrick Cheridito, and Arnulf Jentzen. Deep optimal stopping. arXiv preprint arXiv:1804.05394, 2018. \n[5] Albert Benveniste, Michel Métivier, and Pierre Priouret. Adaptive algorithms and stochastic approximations, volume 22. Springer Science & Business Media, 2012. \n[6] Dimitri P Bertsekas. Approximate dynamic programming. Athena scientific Belmont, 2012. \n[7] Greg Brockman, Vicki Cheung, Ludwig Pettersson, Jonas Schneider, John Schulman, Jie Tang, and Wojciech Zaremba. Openai gym. arXiv preprint arXiv:1606.01540, 2016. \n[8] Andrew S Caplin and Daniel F Spulber. Menu costs and the neutrality of money. The Quarterly Journal of Economics, 102(4):703–725, 1987. \n[9] Shuhang Chen, Adithya M Devraj, Ana Bušic, and Sean Meyn. Zap q-learning for´ optimal ´ stopping. In 2020 American Control Conference (ACC), pages 3920–3925. IEEE, 2020. \n[10] Mark HA Davis and Andrew R Norman. Portfolio selection with transaction costs. Mathematics of operations research, 15(4):676–713, 1990. \n[11] Marc Deisenroth and Carl E Rasmussen. Pilco: A model-based and data-efficient approach to policy search. In Proceedings of the 28th International Conference on machine learning (ICML-11), pages 465–472. Citeseer, 2011. \n[12] Abderrahim Fathan and Erick Delage. Deep reinforcement learning for optimal stopping with application in financial engineering. arXiv preprint arXiv:2105.08877, 2021. \n[13] F Grandt Jr. Damage tolerant design and nondestructive inspection-keys to aircraft airworthiness. Procedia Engineering, 17:236–246, 2011. \n[14] Tuomas Haarnoja, Aurick Zhou, Kristian Hartikainen, George Tucker, Sehoon Ha, Jie Tan, Vikash Kumar, Henry Zhu, Abhishek Gupta, Pieter Abbeel, et al. Soft actor-critic algorithms and applications. arXiv preprint arXiv:1812.05905, 2018. \n[15] Tommi Jaakkola, Michael I Jordan, and Satinder P Singh. Convergence of stochastic iterative dynamic programming algorithms. In Advances in neural information processing systems, pages 703–710, 1994. \n[16] Ralf Korn. Some applications of impulse control in mathematical finance. Mathematical Methods of Operations Research, 50(3):493–518, 1999. \n[17] Edouard Leurent. An environment for autonomous driving decision-making. https://github. com/eleurent/highway-env, 2018. \n[18] Harry M Markowitz. Foundations of portfolio theory. The journal of finance, 46(2):469–477, 1991. \n[19] David Mguni. Duopoly investment problems with minimally bounded adjustment costs. arXiv preprint arXiv:1805.11974, 2018. \n[20] David Mguni. Optimal capital injections with the risk of ruin: A stochastic differential game of impulse control and stopping approach. arXiv preprint arXiv:1805.01578, 2018. \n[21] David Mguni. Optimal selection of transaction costs in a dynamic principal-agent problem. arXiv preprint arXiv:1805.01062, 2018. \n[22] David Mguni. A viscosity approach to stochastic differential games of control and stopping involving impulsive control. arXiv preprint arXiv:1803.11432, 2018. \n[23] David Mguni. Cutting your losses: Learning fault-tolerant control and optimal stopping under adverse risk. arXiv preprint arXiv:1902.05045, 2019. \n[24] Bernt Øksendal. Stochastic differential equations. In Stochastic differential equations, pages 65–84. Springer, 2003. \n[25] Bernt Øksendal and Agnès Sulem. Approximating impulse control by iterated optimal stopping. In Applied Stochastic Control of Jump Diffusions, pages 255–272. Springer, 2019. \n[26] Jing-Cheng Pang, Tian Xu, Sheng-Yi Jiang, Yu-Ren Liu, and Yang Yu. Sparsity prior regularized q-learning for sparse action tasks. arXiv preprint arXiv:2105.08666, 2021. \n[27] John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. CoRR, abs/1707.06347, 2017. \n[28] Aivar Sootla, Alexander I. Cowen-Rivers, Taher Jafferjee, Ziyan Wang, David Mguni, Jun Wang, and Haitham Bou-Ammar. Sauté RL: Almost surely safe reinforcement learning using state augmentation. arXiv preprint arXiv:2202.06558, 2022. \n[29] Aivar Sootla, Diego Oyarzún, David Angeli, and Guy-Bart Stan. Shaping pulses to control bistable systems: Analysis, computation and counterexamples. Automatica, 63:254–264, 2016. \n[30] Richard S Sutton and Andrew G Barto. Reinforcement learning: An introduction. MIT press, 2018. \n[31] John N Tsitsiklis and Benjamin Van Roy. Optimal stopping of markov processes: Hilbert space theory, approximation algorithms, and an application to pricing high-dimensional financial derivatives. IEEE Transactions on Automatic Control, 44(10):1840–1851, 1999. \n[32] Pu Zhao, Yanzhi Wang, Naehyuck Chang, Qi Zhu, and Xue Lin. A deep reinforcement learning framework for optimizing fuel economy of hybrid electric vehicles. In 2018 23rd Asia and South Pacific design automation conference (ASP-DAC), pages 196–202. IEEE, 2018. ",
|
| 1097 |
+
"bbox": [
|
| 1098 |
+
171,
|
| 1099 |
+
49,
|
| 1100 |
+
828,
|
| 1101 |
+
917
|
| 1102 |
+
],
|
| 1103 |
+
"page_idx": 9
|
| 1104 |
+
},
|
| 1105 |
+
{
|
| 1106 |
+
"type": "text",
|
| 1107 |
+
"text": "",
|
| 1108 |
+
"bbox": [
|
| 1109 |
+
156,
|
| 1110 |
+
90,
|
| 1111 |
+
828,
|
| 1112 |
+
542
|
| 1113 |
+
],
|
| 1114 |
+
"page_idx": 10
|
| 1115 |
+
}
|
| 1116 |
+
]
|
parse/dev/zkk_7sV6gm8/zkk_7sV6gm8_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/dev/zkk_7sV6gm8/zkk_7sV6gm8_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/2VXyy9mIyU3/2VXyy9mIyU3_layout.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4c0b720d78fbc9c2535d4d1bf041ed9fe2497da4f209f89eb0b54a75bf039b61
|
| 3 |
+
size 1168180
|
parse/train/2VXyy9mIyU3/2VXyy9mIyU3_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:72d896807e3db69da7110fba3f7c25e86c9de7677e0797a963d14b372f069489
|
| 3 |
+
size 719569
|
parse/train/2VXyy9mIyU3/2VXyy9mIyU3_span.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba77a4a4fdce479d3b3d61f920efa271a148b16dd6059959687f89ac1eaa67c7
|
| 3 |
+
size 1173783
|
parse/train/3g5KdPD8LIL/3g5KdPD8LIL_layout.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d7963cb46fb0a915c02f696bb99feeaf4fa06975bc665c5a7f1e0b1973be46ea
|
| 3 |
+
size 1709215
|
parse/train/3g5KdPD8LIL/3g5KdPD8LIL_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c1a4ada1c4194e45ecdbcbcf411792d31c7251e3ba90cdcf978ad88af0095e3
|
| 3 |
+
size 1553756
|
parse/train/3g5KdPD8LIL/3g5KdPD8LIL_span.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a19f22f4280e0e95fc71e441d7e486d4599be5f63cf21b9ddc87be102924d19a
|
| 3 |
+
size 1729435
|
parse/train/9uFiX_HRsIL/9uFiX_HRsIL_layout.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e1a27e544f36b115bc1853d80f9755b5e0962f702403b6fb5cb58941a9908dc1
|
| 3 |
+
size 4095825
|
parse/train/9uFiX_HRsIL/9uFiX_HRsIL_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37c690e22e74ccb635fd33612c5401b34a8e9a9bcdcb5d9c79c5032a2ae957eb
|
| 3 |
+
size 3824303
|
parse/train/9uFiX_HRsIL/9uFiX_HRsIL_span.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c096d9fa805da3e52594434e9ab3e9015706d24f7d3325d73e581f4a48970ea4
|
| 3 |
+
size 4108292
|
parse/train/Aw96fN64soV/Aw96fN64soV_layout.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f5cac5832a29c646191f097658c1b9230825ce2c6cf943dfb3af132eff0f70dd
|
| 3 |
+
size 1320178
|
parse/train/Aw96fN64soV/Aw96fN64soV_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:af26123b5f9ed596d5138238f5f4028f66922a15bb4326b52d45bf957f49a5b3
|
| 3 |
+
size 1078124
|
parse/train/Aw96fN64soV/Aw96fN64soV_span.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0dc33af50e0a9b401fb3ff96802a102031fb411873920d0838bfdfd5b13ae876
|
| 3 |
+
size 1329554
|
parse/train/B1hYRMbCW/B1hYRMbCW_layout.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d3900717a4bca7ab058dec28a07d7c6fef00cdbe0dcae5b6df263f8fafac7114
|
| 3 |
+
size 5513595
|
parse/train/B1hYRMbCW/B1hYRMbCW_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e89bf31c7b5a2ef155fa9c1d45b59076e0d5db682132ea4a50a291488fc73e95
|
| 3 |
+
size 5187908
|
parse/train/B1hYRMbCW/B1hYRMbCW_span.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8b8a10a25b31f1cbbc583142bd95d1404982d482ed7ad4a4683b090bbfa21d7a
|
| 3 |
+
size 5529173
|
parse/train/BJlgt2EYwr/BJlgt2EYwr_layout.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2532612bc2523832b5876481ccd8ca27eccace1a5ad19a207565563cd05bb76f
|
| 3 |
+
size 749557
|