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 +230 -0
- parse/train/0z1HScLBEpb/0z1HScLBEpb_layout.pdf +3 -0
- parse/train/0z1HScLBEpb/0z1HScLBEpb_origin.pdf +3 -0
- parse/train/0z1HScLBEpb/0z1HScLBEpb_span.pdf +3 -0
- parse/train/2zCRcTafea/2zCRcTafea.md +267 -0
- parse/train/2zCRcTafea/2zCRcTafea_content_list.json +1009 -0
- parse/train/2zCRcTafea/2zCRcTafea_middle.json +0 -0
- parse/train/2zCRcTafea/2zCRcTafea_model.json +0 -0
- parse/train/5CGPY2VeEGb/5CGPY2VeEGb_layout.pdf +3 -0
- parse/train/5CGPY2VeEGb/5CGPY2VeEGb_origin.pdf +3 -0
- parse/train/5CGPY2VeEGb/5CGPY2VeEGb_span.pdf +3 -0
- parse/train/6MaBrlQ5JM/6MaBrlQ5JM_layout.pdf +3 -0
- parse/train/6MaBrlQ5JM/6MaBrlQ5JM_origin.pdf +3 -0
- parse/train/6MaBrlQ5JM/6MaBrlQ5JM_span.pdf +3 -0
- parse/train/7J-fKoXiReA/7J-fKoXiReA_layout.pdf +3 -0
- parse/train/7J-fKoXiReA/7J-fKoXiReA_origin.pdf +3 -0
- parse/train/7J-fKoXiReA/7J-fKoXiReA_span.pdf +3 -0
- parse/train/Ad7Gv5NkBPz/Ad7Gv5NkBPz_layout.pdf +3 -0
- parse/train/Ad7Gv5NkBPz/Ad7Gv5NkBPz_origin.pdf +3 -0
- parse/train/Ad7Gv5NkBPz/Ad7Gv5NkBPz_span.pdf +3 -0
- parse/train/Arn2E4IRjEB/Arn2E4IRjEB_layout.pdf +3 -0
- parse/train/Arn2E4IRjEB/Arn2E4IRjEB_origin.pdf +3 -0
- parse/train/Arn2E4IRjEB/Arn2E4IRjEB_span.pdf +3 -0
- parse/train/B1eXygBFPH/B1eXygBFPH_layout.pdf +3 -0
- parse/train/B1eXygBFPH/B1eXygBFPH_origin.pdf +3 -0
- parse/train/B1eXygBFPH/B1eXygBFPH_span.pdf +3 -0
- parse/train/BJg7x1HFvB/BJg7x1HFvB_origin.pdf +3 -0
- parse/train/BJg7x1HFvB/BJg7x1HFvB_span.pdf +3 -0
- parse/train/BJlxmAKlg/BJlxmAKlg_layout.pdf +3 -0
- parse/train/BJlxmAKlg/BJlxmAKlg_origin.pdf +3 -0
- parse/train/BJlxmAKlg/BJlxmAKlg_span.pdf +3 -0
- parse/train/BJlzm64tDH/BJlzm64tDH_layout.pdf +3 -0
- parse/train/BJlzm64tDH/BJlzm64tDH_origin.pdf +3 -0
- parse/train/BJlzm64tDH/BJlzm64tDH_span.pdf +3 -0
- parse/train/Bk8ZcAxR-/Bk8ZcAxR-_layout.pdf +3 -0
- parse/train/Bk8ZcAxR-/Bk8ZcAxR-_origin.pdf +3 -0
- parse/train/Bk8ZcAxR-/Bk8ZcAxR-_span.pdf +3 -0
- parse/train/BkfbpsAcF7/BkfbpsAcF7_layout.pdf +3 -0
- parse/train/BkfbpsAcF7/BkfbpsAcF7_origin.pdf +3 -0
- parse/train/BkfbpsAcF7/BkfbpsAcF7_span.pdf +3 -0
- parse/train/ByZvfijeg/ByZvfijeg_layout.pdf +3 -0
- parse/train/ByZvfijeg/ByZvfijeg_origin.pdf +3 -0
- parse/train/ByZvfijeg/ByZvfijeg_span.pdf +3 -0
- parse/train/ByeZ5jC5YQ/ByeZ5jC5YQ_layout.pdf +3 -0
- parse/train/ByeZ5jC5YQ/ByeZ5jC5YQ_origin.pdf +3 -0
- parse/train/ByeZ5jC5YQ/ByeZ5jC5YQ_span.pdf +3 -0
- parse/train/BygWRaVYwH/BygWRaVYwH_layout.pdf +3 -0
- parse/train/BygWRaVYwH/BygWRaVYwH_origin.pdf +3 -0
- parse/train/BygWRaVYwH/BygWRaVYwH_span.pdf +3 -0
- parse/train/Bygh9j09KX/Bygh9j09KX_layout.pdf +3 -0
.gitattributes
CHANGED
|
@@ -7759,3 +7759,233 @@ parse/train/gDcaUj4Myhn/gDcaUj4Myhn_origin.pdf filter=lfs diff=lfs merge=lfs -te
|
|
| 7759 |
parse/train/ByxY8CNtvr/ByxY8CNtvr_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7760 |
parse/train/ByxY8CNtvr/ByxY8CNtvr_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7761 |
parse/train/ByxY8CNtvr/ByxY8CNtvr_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7759 |
parse/train/ByxY8CNtvr/ByxY8CNtvr_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7760 |
parse/train/ByxY8CNtvr/ByxY8CNtvr_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7761 |
parse/train/ByxY8CNtvr/ByxY8CNtvr_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7762 |
+
parse/train/r1xQNlBYPS/r1xQNlBYPS_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7763 |
+
parse/train/r1xQNlBYPS/r1xQNlBYPS_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7764 |
+
parse/train/r1xQNlBYPS/r1xQNlBYPS_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7765 |
+
parse/train/o81ZyBCojoA/o81ZyBCojoA_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7766 |
+
parse/train/o81ZyBCojoA/o81ZyBCojoA_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7767 |
+
parse/train/o81ZyBCojoA/o81ZyBCojoA_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7768 |
+
parse/train/ByxBFsRqYm/ByxBFsRqYm_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7769 |
+
parse/train/ByxBFsRqYm/ByxBFsRqYm_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7770 |
+
parse/train/ByxBFsRqYm/ByxBFsRqYm_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7771 |
+
parse/train/HJYoqzbC-/HJYoqzbC-_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7772 |
+
parse/train/HJYoqzbC-/HJYoqzbC-_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7773 |
+
parse/train/HJYoqzbC-/HJYoqzbC-_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7774 |
+
parse/train/umIdUL8rMH/umIdUL8rMH_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7775 |
+
parse/train/umIdUL8rMH/umIdUL8rMH_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7776 |
+
parse/train/umIdUL8rMH/umIdUL8rMH_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7777 |
+
parse/train/sUgpxb9QD/sUgpxb9QD_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7778 |
+
parse/train/sUgpxb9QD/sUgpxb9QD_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7779 |
+
parse/train/sUgpxb9QD/sUgpxb9QD_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7780 |
+
parse/train/HJeq43AqF7/HJeq43AqF7_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7781 |
+
parse/train/HJeq43AqF7/HJeq43AqF7_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7782 |
+
parse/train/HJeq43AqF7/HJeq43AqF7_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7783 |
+
parse/train/Bk8ZcAxR-/Bk8ZcAxR-_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7784 |
+
parse/train/Bk8ZcAxR-/Bk8ZcAxR-_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7785 |
+
parse/train/Bk8ZcAxR-/Bk8ZcAxR-_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7786 |
+
parse/train/SJzMATlAZ/SJzMATlAZ_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7787 |
+
parse/train/SJzMATlAZ/SJzMATlAZ_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7788 |
+
parse/train/SJzMATlAZ/SJzMATlAZ_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7789 |
+
parse/train/rylWVnR5YQ/rylWVnR5YQ_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7790 |
+
parse/train/rylWVnR5YQ/rylWVnR5YQ_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7791 |
+
parse/train/rylWVnR5YQ/rylWVnR5YQ_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7792 |
+
parse/train/Q32U7dzWXpc/Q32U7dzWXpc_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7793 |
+
parse/train/Q32U7dzWXpc/Q32U7dzWXpc_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7794 |
+
parse/train/Q32U7dzWXpc/Q32U7dzWXpc_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7795 |
+
parse/train/rkMW1hRqKX/rkMW1hRqKX_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7796 |
+
parse/train/rkMW1hRqKX/rkMW1hRqKX_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7797 |
+
parse/train/rkMW1hRqKX/rkMW1hRqKX_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7798 |
+
parse/train/Bygh9j09KX/Bygh9j09KX_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7799 |
+
parse/train/Bygh9j09KX/Bygh9j09KX_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7800 |
+
parse/train/Bygh9j09KX/Bygh9j09KX_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7801 |
+
parse/train/R-616EWWKF5/R-616EWWKF5_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7802 |
+
parse/train/R-616EWWKF5/R-616EWWKF5_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7803 |
+
parse/train/R-616EWWKF5/R-616EWWKF5_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7804 |
+
parse/train/SybqeKgA-/SybqeKgA-_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7805 |
+
parse/train/SybqeKgA-/SybqeKgA-_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7806 |
+
parse/train/SybqeKgA-/SybqeKgA-_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7807 |
+
parse/train/Arn2E4IRjEB/Arn2E4IRjEB_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7808 |
+
parse/train/Arn2E4IRjEB/Arn2E4IRjEB_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7809 |
+
parse/train/Arn2E4IRjEB/Arn2E4IRjEB_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7810 |
+
parse/train/H4e7mBnC9f0/H4e7mBnC9f0_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7811 |
+
parse/train/H4e7mBnC9f0/H4e7mBnC9f0_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7812 |
+
parse/train/H4e7mBnC9f0/H4e7mBnC9f0_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7813 |
+
parse/train/SkhQHMW0W/SkhQHMW0W_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7814 |
+
parse/train/SkhQHMW0W/SkhQHMW0W_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7815 |
+
parse/train/SkhQHMW0W/SkhQHMW0W_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7816 |
+
parse/train/S1erHoR5t7/S1erHoR5t7_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7817 |
+
parse/train/S1erHoR5t7/S1erHoR5t7_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7818 |
+
parse/train/S1erHoR5t7/S1erHoR5t7_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7819 |
+
parse/train/7J-fKoXiReA/7J-fKoXiReA_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7820 |
+
parse/train/7J-fKoXiReA/7J-fKoXiReA_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7821 |
+
parse/train/7J-fKoXiReA/7J-fKoXiReA_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7822 |
+
parse/train/HygrAR4tPS/HygrAR4tPS_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7823 |
+
parse/train/HygrAR4tPS/HygrAR4tPS_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7824 |
+
parse/train/HygrAR4tPS/HygrAR4tPS_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7825 |
+
parse/train/Ad7Gv5NkBPz/Ad7Gv5NkBPz_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7826 |
+
parse/train/Ad7Gv5NkBPz/Ad7Gv5NkBPz_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7827 |
+
parse/train/Ad7Gv5NkBPz/Ad7Gv5NkBPz_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7828 |
+
parse/train/kziQtP-nGqzDb/kziQtP-nGqzDb_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7829 |
+
parse/train/kziQtP-nGqzDb/kziQtP-nGqzDb_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7830 |
+
parse/train/kziQtP-nGqzDb/kziQtP-nGqzDb_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7831 |
+
parse/train/SylVJTNKDr/SylVJTNKDr_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7832 |
+
parse/train/SylVJTNKDr/SylVJTNKDr_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7833 |
+
parse/train/SylVJTNKDr/SylVJTNKDr_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7834 |
+
parse/train/ryQu7f-RZ/ryQu7f-RZ_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7835 |
+
parse/train/ryQu7f-RZ/ryQu7f-RZ_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7836 |
+
parse/train/ryQu7f-RZ/ryQu7f-RZ_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7837 |
+
parse/train/rkgHY0NYwr/rkgHY0NYwr_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7838 |
+
parse/train/rkgHY0NYwr/rkgHY0NYwr_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7839 |
+
parse/train/rkgHY0NYwr/rkgHY0NYwr_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7840 |
+
parse/train/6MaBrlQ5JM/6MaBrlQ5JM_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7841 |
+
parse/train/6MaBrlQ5JM/6MaBrlQ5JM_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7842 |
+
parse/train/6MaBrlQ5JM/6MaBrlQ5JM_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7843 |
+
parse/train/rJgsskrFwH/rJgsskrFwH_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7844 |
+
parse/train/rJgsskrFwH/rJgsskrFwH_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7845 |
+
parse/train/rJgsskrFwH/rJgsskrFwH_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7846 |
+
parse/train/BkfbpsAcF7/BkfbpsAcF7_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7847 |
+
parse/train/BkfbpsAcF7/BkfbpsAcF7_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7848 |
+
parse/train/BkfbpsAcF7/BkfbpsAcF7_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7849 |
+
parse/train/Cnon5ezMHtu/Cnon5ezMHtu_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7850 |
+
parse/train/Cnon5ezMHtu/Cnon5ezMHtu_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7851 |
+
parse/train/Cnon5ezMHtu/Cnon5ezMHtu_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7852 |
+
parse/train/qZzy5urZw9/qZzy5urZw9_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7853 |
+
parse/train/qZzy5urZw9/qZzy5urZw9_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7854 |
+
parse/train/qZzy5urZw9/qZzy5urZw9_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7855 |
+
parse/train/jnkE5c5f9m/jnkE5c5f9m_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7856 |
+
parse/train/jnkE5c5f9m/jnkE5c5f9m_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7857 |
+
parse/train/jnkE5c5f9m/jnkE5c5f9m_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7858 |
+
parse/train/TV9INIrmtWN/TV9INIrmtWN_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7859 |
+
parse/train/TV9INIrmtWN/TV9INIrmtWN_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7860 |
+
parse/train/TV9INIrmtWN/TV9INIrmtWN_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7861 |
+
parse/train/Hkekl0NFPr/Hkekl0NFPr_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7862 |
+
parse/train/Hkekl0NFPr/Hkekl0NFPr_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7863 |
+
parse/train/Hkekl0NFPr/Hkekl0NFPr_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7864 |
+
parse/train/zdrls6LIX4W/zdrls6LIX4W_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7865 |
+
parse/train/zdrls6LIX4W/zdrls6LIX4W_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7866 |
+
parse/train/zdrls6LIX4W/zdrls6LIX4W_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7867 |
+
parse/train/TMUR2ovJfjE/TMUR2ovJfjE_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7868 |
+
parse/train/TMUR2ovJfjE/TMUR2ovJfjE_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7869 |
+
parse/train/TMUR2ovJfjE/TMUR2ovJfjE_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7870 |
+
parse/train/HJgExaVtwr/HJgExaVtwr_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7871 |
+
parse/train/HJgExaVtwr/HJgExaVtwr_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7872 |
+
parse/train/HJgExaVtwr/HJgExaVtwr_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7873 |
+
parse/train/DAaaaqPv9-q/DAaaaqPv9-q_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7874 |
+
parse/train/DAaaaqPv9-q/DAaaaqPv9-q_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7875 |
+
parse/train/DAaaaqPv9-q/DAaaaqPv9-q_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7876 |
+
parse/train/BJlxmAKlg/BJlxmAKlg_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7877 |
+
parse/train/BJlxmAKlg/BJlxmAKlg_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7878 |
+
parse/train/BJlxmAKlg/BJlxmAKlg_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7879 |
+
parse/train/dUEpGV2mhf/dUEpGV2mhf_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7880 |
+
parse/train/dUEpGV2mhf/dUEpGV2mhf_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7881 |
+
parse/train/dUEpGV2mhf/dUEpGV2mhf_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7882 |
+
parse/train/Bygq-H9eg/Bygq-H9eg_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7883 |
+
parse/train/Bygq-H9eg/Bygq-H9eg_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7884 |
+
parse/train/Bygq-H9eg/Bygq-H9eg_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7885 |
+
parse/train/UFWnZn2v0bV/UFWnZn2v0bV_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7886 |
+
parse/train/UFWnZn2v0bV/UFWnZn2v0bV_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7887 |
+
parse/train/UFWnZn2v0bV/UFWnZn2v0bV_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7888 |
+
parse/train/Hy6b4Pqee/Hy6b4Pqee_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7889 |
+
parse/train/Hy6b4Pqee/Hy6b4Pqee_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7890 |
+
parse/train/Hy6b4Pqee/Hy6b4Pqee_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7891 |
+
parse/train/HOFxeCutxZR/HOFxeCutxZR_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7892 |
+
parse/train/HOFxeCutxZR/HOFxeCutxZR_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7893 |
+
parse/train/HOFxeCutxZR/HOFxeCutxZR_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7894 |
+
parse/train/Bys_NzbC-/Bys_NzbC-_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7895 |
+
parse/train/Bys_NzbC-/Bys_NzbC-_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7896 |
+
parse/train/Bys_NzbC-/Bys_NzbC-_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7897 |
+
parse/train/B1eXygBFPH/B1eXygBFPH_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7898 |
+
parse/train/B1eXygBFPH/B1eXygBFPH_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7899 |
+
parse/train/B1eXygBFPH/B1eXygBFPH_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7900 |
+
parse/train/bYi_2708mKK/bYi_2708mKK_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7901 |
+
parse/train/bYi_2708mKK/bYi_2708mKK_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7902 |
+
parse/train/bYi_2708mKK/bYi_2708mKK_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7903 |
+
parse/train/SJRpRfKxx/SJRpRfKxx_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7904 |
+
parse/train/SJRpRfKxx/SJRpRfKxx_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7905 |
+
parse/train/SJRpRfKxx/SJRpRfKxx_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7906 |
+
parse/train/SygwwGbRW/SygwwGbRW_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7907 |
+
parse/train/SygwwGbRW/SygwwGbRW_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7908 |
+
parse/train/SygwwGbRW/SygwwGbRW_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7909 |
+
parse/train/BygWRaVYwH/BygWRaVYwH_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7910 |
+
parse/train/BygWRaVYwH/BygWRaVYwH_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7911 |
+
parse/train/BygWRaVYwH/BygWRaVYwH_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7912 |
+
parse/train/S1gE6TEYDB/S1gE6TEYDB_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7913 |
+
parse/train/S1gE6TEYDB/S1gE6TEYDB_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7914 |
+
parse/train/S1gE6TEYDB/S1gE6TEYDB_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7915 |
+
parse/train/Skk3Jm96W/Skk3Jm96W_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7916 |
+
parse/train/Skk3Jm96W/Skk3Jm96W_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7917 |
+
parse/train/Skk3Jm96W/Skk3Jm96W_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7918 |
+
parse/train/ByeZ5jC5YQ/ByeZ5jC5YQ_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7919 |
+
parse/train/ByeZ5jC5YQ/ByeZ5jC5YQ_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7920 |
+
parse/train/ByeZ5jC5YQ/ByeZ5jC5YQ_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7921 |
+
parse/train/SyxvSiCcFQ/SyxvSiCcFQ_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7922 |
+
parse/train/SyxvSiCcFQ/SyxvSiCcFQ_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7923 |
+
parse/train/SyxvSiCcFQ/SyxvSiCcFQ_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7924 |
+
parse/train/YDGJ5YExiw6/YDGJ5YExiw6_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7925 |
+
parse/train/YDGJ5YExiw6/YDGJ5YExiw6_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7926 |
+
parse/train/YDGJ5YExiw6/YDGJ5YExiw6_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7927 |
+
parse/train/ByZvfijeg/ByZvfijeg_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7928 |
+
parse/train/ByZvfijeg/ByZvfijeg_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7929 |
+
parse/train/ByZvfijeg/ByZvfijeg_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7930 |
+
parse/train/HJTzHtqee/HJTzHtqee_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7931 |
+
parse/train/HJTzHtqee/HJTzHtqee_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7932 |
+
parse/train/HJTzHtqee/HJTzHtqee_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7933 |
+
parse/train/Skeke3C5Fm/Skeke3C5Fm_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7934 |
+
parse/train/Skeke3C5Fm/Skeke3C5Fm_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7935 |
+
parse/train/Skeke3C5Fm/Skeke3C5Fm_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7936 |
+
parse/train/O3bqkf_Puys/O3bqkf_Puys_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7937 |
+
parse/train/O3bqkf_Puys/O3bqkf_Puys_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7938 |
+
parse/train/O3bqkf_Puys/O3bqkf_Puys_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7939 |
+
parse/train/SkgEaj05t7/SkgEaj05t7_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7940 |
+
parse/train/SkgEaj05t7/SkgEaj05t7_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7941 |
+
parse/train/SkgEaj05t7/SkgEaj05t7_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7942 |
+
parse/train/SkpSlKIel/SkpSlKIel_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7943 |
+
parse/train/SkpSlKIel/SkpSlKIel_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7944 |
+
parse/train/SkpSlKIel/SkpSlKIel_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7945 |
+
parse/train/Twf_XYunk5j/Twf_XYunk5j_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7946 |
+
parse/train/Twf_XYunk5j/Twf_XYunk5j_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7947 |
+
parse/train/Twf_XYunk5j/Twf_XYunk5j_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7948 |
+
parse/train/SyqShMZRb/SyqShMZRb_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7949 |
+
parse/train/SyqShMZRb/SyqShMZRb_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7950 |
+
parse/train/SyqShMZRb/SyqShMZRb_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7951 |
+
parse/train/r1lfF2NYvH/r1lfF2NYvH_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7952 |
+
parse/train/r1lfF2NYvH/r1lfF2NYvH_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7953 |
+
parse/train/r1lfF2NYvH/r1lfF2NYvH_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7954 |
+
parse/train/0z1HScLBEpb/0z1HScLBEpb_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7955 |
+
parse/train/0z1HScLBEpb/0z1HScLBEpb_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7956 |
+
parse/train/0z1HScLBEpb/0z1HScLBEpb_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7957 |
+
parse/train/Hkex2a4FPr/Hkex2a4FPr_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7958 |
+
parse/train/Hkex2a4FPr/Hkex2a4FPr_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7959 |
+
parse/train/Hkex2a4FPr/Hkex2a4FPr_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7960 |
+
parse/train/S1gmrxHFvB/S1gmrxHFvB_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7961 |
+
parse/train/S1gmrxHFvB/S1gmrxHFvB_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7962 |
+
parse/train/S1gmrxHFvB/S1gmrxHFvB_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7963 |
+
parse/train/BJlzm64tDH/BJlzm64tDH_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7964 |
+
parse/train/BJlzm64tDH/BJlzm64tDH_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7965 |
+
parse/train/BJlzm64tDH/BJlzm64tDH_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7966 |
+
parse/train/mSAKhLYLSsl/mSAKhLYLSsl_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7967 |
+
parse/train/hQGRD1Zael7/hQGRD1Zael7_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7968 |
+
parse/train/hQGRD1Zael7/hQGRD1Zael7_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7969 |
+
parse/train/WWRBHhH158K/WWRBHhH158K_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7970 |
+
parse/train/WWRBHhH158K/WWRBHhH158K_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7971 |
+
parse/train/WWRBHhH158K/WWRBHhH158K_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7972 |
+
parse/train/5CGPY2VeEGb/5CGPY2VeEGb_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7973 |
+
parse/train/5CGPY2VeEGb/5CGPY2VeEGb_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7974 |
+
parse/train/5CGPY2VeEGb/5CGPY2VeEGb_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7975 |
+
parse/train/xWq1MVj7YrE/xWq1MVj7YrE_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7976 |
+
parse/train/xWq1MVj7YrE/xWq1MVj7YrE_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7977 |
+
parse/train/xWq1MVj7YrE/xWq1MVj7YrE_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7978 |
+
parse/train/EbIDjBynYJ8/EbIDjBynYJ8_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7979 |
+
parse/train/EbIDjBynYJ8/EbIDjBynYJ8_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7980 |
+
parse/train/EbIDjBynYJ8/EbIDjBynYJ8_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7981 |
+
parse/train/S1AG8zYeg/S1AG8zYeg_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7982 |
+
parse/train/S1AG8zYeg/S1AG8zYeg_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7983 |
+
parse/train/S1AG8zYeg/S1AG8zYeg_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7984 |
+
parse/train/S18Su--CW/S18Su--CW_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7985 |
+
parse/train/S18Su--CW/S18Su--CW_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7986 |
+
parse/train/S18Su--CW/S18Su--CW_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7987 |
+
parse/train/r1nmx5l0W/r1nmx5l0W_layout.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7988 |
+
parse/train/r1nmx5l0W/r1nmx5l0W_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7989 |
+
parse/train/r1nmx5l0W/r1nmx5l0W_span.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7990 |
+
parse/train/BJg7x1HFvB/BJg7x1HFvB_origin.pdf filter=lfs diff=lfs merge=lfs -text
|
| 7991 |
+
parse/train/BJg7x1HFvB/BJg7x1HFvB_span.pdf filter=lfs diff=lfs merge=lfs -text
|
parse/train/0z1HScLBEpb/0z1HScLBEpb_layout.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ffd52b98c1013bcf5559ad3345f07584838e2837a51c829fd663486bdcdad426
|
| 3 |
+
size 3929436
|
parse/train/0z1HScLBEpb/0z1HScLBEpb_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:09db2bbdaebeafc084fafb0a4baaab0a995d2435785a1a73ba828e81a0fbebcb
|
| 3 |
+
size 3734672
|
parse/train/0z1HScLBEpb/0z1HScLBEpb_span.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:60e96013f07b9a7b8e3d087e53a1b1d909fee2ce0c1fbed88166eec0d06692a3
|
| 3 |
+
size 3944673
|
parse/train/2zCRcTafea/2zCRcTafea.md
ADDED
|
@@ -0,0 +1,267 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Focal Attention for Long-Range Interactions in Vision Transformers
|
| 2 |
+
|
| 3 |
+
Jianwei Yang1 Chunyuan $\mathbf { L i } ^ { 1 }$ Pengchuan Zhang1 Xiyang Dai2 Bin Xiao2 Lu Yuan2 Jianfeng Gao1 1Microsoft Research at Redmond, 2Microsoft Cloud $^ +$ AI
|
| 4 |
+
{jianwyan,chunyl,penzhan,xidai,bixi,luyuan,jfgao}@microsoft.com
|
| 5 |
+
|
| 6 |
+
# Abstract
|
| 7 |
+
|
| 8 |
+
Recently, Vision Transformer and its variants have shown great promise on various computer vision tasks. The ability of capturing local and global visual dependencies through self-attention is the key to its success. However, this also brings challenges due to quadratic computational overhead, especially for the high-resolution vision tasks (e.g., object detection). Many recent works have attempted to reduce the cost and improve model performance by applying either coarse-grained global attention or fine-grained local attention. However, both approaches cripple the modeling power of the original self-attention mechanism of multi-layer Transformers, leading to sub-optimal solutions. In this paper, we present focal attention, a new attention mechanism that incorporates both fine-grained local and coarse-grained global interactions. In this new mechanism, each token attends its closest surrounding tokens at fine granularity and the tokens far away at coarse granularity, and thus can capture both short- and long-range visual dependencies efficiently and effectively. With focal attention, we build a new variant of Vision Transformer models, called Focal Transformers, which achieve superior performance over the state-of-theart (SoTA) Vision Transformers on a range of public image classification and object detection benchmarks. In particular, our Focal Transformer models with a moderate size of 51.1M and a large size of $8 9 . 8 \mathbf { M }$ achieve $\mathbf { 8 3 . 6 \% }$ and $\mathbf { 8 4 . 0 \% }$ Top-1 accuracy, respectively, on ImageNet classification at $2 2 4 \times 2 2 4$ . When employed as the backbones, Focal Transformers achieve consistent and substantial improvements over the current SoTA Swin Transformers [43] across 6 different object detection methods. Our largest Focal Transformer yields 58.7/59.0 box mAPs and 50.9/51.3 mask mAPs on COCO mini-val/test-dev, and 55.4 mIoU on ADE20K for semantic segmentation, creating new SoTA on three of the most challenging computer vision tasks. Our code is available at: https://github. com/microsoft/Focal-Transformer.
|
| 9 |
+
|
| 10 |
+
# 1 Introduction
|
| 11 |
+
|
| 12 |
+
Nowadays, Transformer [57] has become a prevalent model architecture in natural language processing (NLP) [20, 6]. In the light of its success in NLP, there is an increasing effort on adapting it to computer vision (CV) [47, 50]. Since its promise firstly demonstrated in Vision Transformer (ViT) [21], we have witnessed a flourish of full-Transformer models for image classification [55, 60, 64, 43, 76, 56], object detection [8, 85, 79, 18] and semantic segmentation [58, 62]. Beyond these static image tasks, it has also been applied on various temporal understanding tasks, such as action recognition [40, 78, 10], object tracking [13, 59], scene flow estimation [38].
|
| 13 |
+
|
| 14 |
+
The self-attention mechanism is arguably the key component that differentiates Transformers from the widely used convolutional neural networks (CNNs) [37] in computer vision. At each Transformer layer, self-attention enables global content-dependent interactions among different image regions for modeling short- and long-range dependencies, respectively. Through the visualization of full selfattention results1, we indeed observe that self-attention learns to attend local surroundings (like CNNs) and the global contexts at the same time, as illustrated in Fig. 1 (Left). Nevertheless, when dealing with high-resolution vision tasks such as object detection or segmentation, an efficient implementation of a global and fine-grained self-attention becomes non-trivial due to the quadratic computational cost with respect to the number of tokens in feature maps. Recent works have alternatively exploited either a coarse-grained global self-attention [60, 64] or a fine-grained local self-attention [43, 76, 56], for the sake of reducing the computational cost. However, both approaches cripple the power of the original full self-attention i.e., the ability to simultaneously capture local and global visual dependencies.
|
| 15 |
+
|
| 16 |
+

|
| 17 |
+
Figure 1: Left: Visualization of the attention maps of the three heads at the given query patch (blue) in the first layer of the DeiT-Tiny model [55]. Right: An illustrative depiction of focal attention mechanism. Three granularity levels are used to compose the attention region for the blue query.
|
| 18 |
+
|
| 19 |
+
In this paper, we present a new attention mechanism to capture both short- and long-range interactions in Transformer layers for high-resolution input images. Considering that the visual dependencies between the nearby (local) regions are usually much stronger than the dependencies between the regions that are far away, we perform the fine-grained attention only in local regions while the coarse-grained attention globally. As depicted in Fig. 1 (Right), a query token in the feature map attends its closest local surroundings at the finest granularity as itself. However, when it goes to the regions far away, it attends to summarized tokens to capture coarse-grained visual dependencies. We call this new mechanism focal attention, as each token attends the others in a focal manner. We will show in this study that focal attention allows to effectively model visual dependencies among all regions covering the whole high-resolution feature maps while introducing much less number of tokens in the computation than that in the standard self-attention mechanism.
|
| 20 |
+
|
| 21 |
+
Equipped with focal attention, a series of Focal Transformers are developed and validated via a comprehensive empirical study across three core vision tasks, including image classification, object detection and segmentation. Results show that Focal Transformers consistently outperform the SoTA Vision Transformers across various settings (i.e., in model sizes and complexities). Notably, the small Focal Transformer with 51.1M parameters achieves $8 3 . 6 \%$ top-1 accuracy on ImageNet-1K, and the base model with 89.8M parameters obtains $8 4 . 0 \%$ top-1 accuracy. In the fine-tuning experiments for object detection, Focal Transformers consistently outperform the SoTA Swin Transformers [43] across six popular object detection methods. Our largest Focal Transformer model achieves 59.0 box mAP and 51.3 mask mAP on COCO test-dev for object detection and instance segmentation, respectively, and 55.4 mIoU on ADE20K for semantic segmentation. These results demonstrate that focal attention is highly effective in modeling the global interactions in Vision Transformers.
|
| 22 |
+
|
| 23 |
+
# 2 Related work
|
| 24 |
+
|
| 25 |
+
Vision Transformers. Vision Transformer (ViT) is first introduced in [21]. It applies a standard Transformer, originally developed for NLP [57], to encode an image by analogously splitting the image into a sequence of visual tokens. It has demonstrated superior performance to CNNs such as ResNet [33] on multiple image classification benchmarks, when trained with sufficient data [21] and carefully designed data augmentation and regularization methods [55]. The results thus inspire researchers to explore the applications of ViT on various vision tasks beyond image classification, such as self-supervised learning [14, 9, 39], object detection [8, 85, 79, 18] and semantic segmentation [58, 62, 81]. There are also increasing number of studies for improving ViT via data-efficient training [55], improved patch embedding/encoding [16, 71, 31], integrating convolutional projections into transformers [64, 70], and using multi-scale architectures and efficient self-attention mechanisms for high-resolution vision tasks [60, 64, 43, 76, 15]. Recent surveys include [36, 30, 36]. This paper focuses on improving the self-attention mechanism of ViT for encoding high-resolution images.
|
| 26 |
+
|
| 27 |
+

|
| 28 |
+
Figure 2: Model architecture for our Focal Transformers. As highlighted in light blue boxes, our main innovation is the proposed focal attention in each Transformer layer.
|
| 29 |
+
|
| 30 |
+
Efficient global and local self-attention. In many real-world tasks, Transformers need to cope with a large number of input tokens, such as long documents in NLP and high-resolution images in computer vision (CV). Recently, many efficient self-attention mechanisms have been proposed to deal with the quadratic computational and memory cost incurred by the standard self-attention mechanism. On one hand, a number of works in both NLP and CV resort to coarse-grained global self-attention (i.e., attending the down-sampled or summarized tokens) to capture the long-range interactions [49, 46, 60, 64, 31, 23]. Although this approach improves the model efficiency, it loses the detailed context information surrounding the query tokens. On the other hand, to make the computational cost manageable, various local fine-grained attention mechanism (i.e., attending neighboring tokens within a pre-set window size) are used for both NLP [3, 74, 1] and CV [56, 43, 76]. In this paper, we argue that both global and local attentions are important for model performance. This is also validated by some recent studies that aim to improve CNNs by incorporating ways of modeling global attentions [35, 63, 61, 68, 2, 7, 51]. The standard self-attention mechanism used by ViT can indeed learned both types of attentions, as shown in Fig. 1 (Left). But it often incurs a prohibitively high cost for high-resolution images. To the best of our knowledge, the proposed focal attention provides the first mechanism to incorporate local and global attention in a single Transformer layer 2. It can capture both short- and long-range interactions as standard self-attention but in a much more efficient and effective way, especially for high-resolution images.
|
| 31 |
+
|
| 32 |
+
# 3 Method
|
| 33 |
+
|
| 34 |
+
# 3.1 Model architecture
|
| 35 |
+
|
| 36 |
+
To accommodate high-resolution dense prediction tasks, we employ a multi-scale model architecture as in [60, 76, 43]. As shown in Fig. 2, an image $I \in \mathcal { R } ^ { H \times W \times 3 }$ is first partitioned into patches of size $4 \times 4$ , resulting in ${ \frac { H } { 4 } } \times { \frac { W } { 4 } }$ visual tokens with dimension $4 \times 4 \times 3$ . Then, we use a patch embedding layer, consisting of a convolutional layer with filter size and stride both equal to 4, to project these patches into hidden features with dimension $d$ . We then pass this spatial feature map to the four stages of Focal Transformer blocks. In each stage $i \in \{ 1 , 2 , 3 , 4 \}$ , the Focal Transformer block consists of $N _ { i }$ Focal Transformer layers. After each stage, we use a patch embedding layer to reduce the spatial size of feature map by factor 2 and increase the feature dimension by 2. For image classification tasks, we take the average of the output from the last stage and send it to a classification layer. For object detection, the feature maps from the last 3 or all 4 stages are fed to a particular object detector head, depending on the specific detection method we choose to use. The model capacity can be customized by varying the input feature dimension $d$ and the number of Focal Transformer layers.
|
| 37 |
+
|
| 38 |
+
Standard self-attention can capture both short- and long-range interactions at fine-grain, but suffers from high computational cost when it performs attention on high-resolution feature maps as noted in [76]. Take stage 1 in Fig. 2 as an example. For a feature map of size ${ \frac { H } { 4 } } \times { \frac { W } { 4 } } \times d$ , the complexity of self-attention is $\begin{array} { r } { \mathcal { O } ( ( \frac { H } { 4 } \times \frac { W } { 4 } ) ^ { 2 } d ) } \end{array}$ , resulting in an explosion of time and memory cost, considering that $\operatorname* { m i n } ( H , W )$ could be 800 or even larger for object detection. In the next section, we describe how we address this issue with the proposed focal attention mechanism.
|
| 39 |
+
|
| 40 |
+
# 3.2 Token-wise focal attention
|
| 41 |
+
|
| 42 |
+
Focal attention is proposed to make the Transformer layers suitable for encoding high-resolution input images. Instead of attending all tokens at fine-grain, we attend the fine-grain tokens only locally, but the summarized ones (i.e., the coarse-grained tokens generated by sub-window pooling, which is illustrated in Fig. 4 and will be described later) globally. As such, focal attention can cover the same amount of image regions as standard self-attention but with much less cost. In Fig. 3, we show the size of the receptive field for standard self-attention and our focal attention as a function of the number of attended tokens. For a given query position, by reducing the granularity of its surroundings based on their distance to the query, focal attention can have significantly larger receptive fields at the same cost measured by the number of visual tokens, compared to the standard self-attention mechanism.
|
| 43 |
+
|
| 44 |
+

|
| 45 |
+
Figure 3: The size of receptive field (yaxis) as a function of the number of used visual tokens $\mathbf { \bar { x } }$ -axis) in regular (standard) self-attention and focal attention. When plotting the curve for focal attention, we increase the focal window size by 2 for each focal level up to the maximal window size of 8.
|
| 46 |
+
|
| 47 |
+
Theoretically, the focal attention mechanism enables global interaction with much less time and memory cost, because it attends a much smaller number of surrounding (summarized) tokens. In practice, however, extracting the surrounding tokens for each query position could incur high time cost since we need to duplicate the extraction of each token for all queries that the token surrounds. This issue had been extensively discussed in [56, 76, 43] and a common solution is to partition the input feature map into windows. Thus, in our Focal Transformers, we resort to performing focal attention at the window level. We elaborate the window-wise focal attention in the following.
|
| 48 |
+
|
| 49 |
+
# 3.2.1 Window-wise focal attention
|
| 50 |
+
|
| 51 |
+
Given a feature map of $\boldsymbol { x } \in \mathcal { R } ^ { M \times N \times d }$ with spatial size $M \times N$ , we first partition it into a grid of windows of size $s _ { p } \times s _ { p }$ . Then, we extract the surroundings for each window rather than each individual token. The proposed window-wise focal attention is illustrated in Fig. 4. To clarify, we first define three terms:
|
| 52 |
+
|
| 53 |
+
• Focal level $L$ refers to the granularity level at which we extract the tokens for focal attention.
|
| 54 |
+
• Focal window size $s _ { w } ^ { l }$ is the size of sub-window on which the summarized tokens are formed via
|
| 55 |
+
sub-window pooling at granularity level of $l \in \{ 1 , . . . , L \}$ .
|
| 56 |
+
• Focal region size $s _ { r } ^ { l }$ denotes the number of sub-windows that are filled up horizontally (or vertically) in an attended region at level $l$ .
|
| 57 |
+
|
| 58 |
+
Now, we detail how window-wise focal attention works in the following two steps, sub-window pooling and attention computing.
|
| 59 |
+
|
| 60 |
+
Sub-window pooling. Consider input feature map $\boldsymbol { x } \in \mathcal { R } ^ { M \times N \times d }$ , where $M \times N$ is the spatial dimension and $d$ the feature dimension. We perform sub-window pooling for all $L$ levels. At focal level $l$ , we first split the input feature map $x$ into a grid of sub-windows with size $s _ { w } ^ { l } \times s _ { w } ^ { l }$ . Then we use a linear projection layer $f _ { p } ^ { l }$ to pool the sub-windows spatially by
|
| 61 |
+
|
| 62 |
+
$$
|
| 63 |
+
\begin{array} { r } { x ^ { l } = f _ { p } ^ { l } ( \hat { x } ) \in \mathcal { R } ^ { \frac { M } { s _ { w } ^ { l } } \times \frac { N } { s _ { w } ^ { l } } \times d } , \quad \hat { x } = \mathrm { R e s h a p e } ( x ) \in \mathcal { R } ^ { ( \frac { M } { s _ { w } ^ { l } } \times \frac { N } { s _ { w } ^ { l } } \times d ) \times ( s _ { w } ^ { l } \times s _ { w } ^ { l } ) } . } \end{array}
|
| 64 |
+
$$
|
| 65 |
+
|
| 66 |
+
The pooled feature maps $\{ x ^ { l } \} _ { 1 } ^ { L }$ at different levels $l$ provide rich information at both fine-grain and coarse-grain. Since we set $s _ { w } ^ { l } = 1$ for the first focal level which has the same granularity as the input
|
| 67 |
+
|
| 68 |
+

|
| 69 |
+
Figure 4: An illustration of focal attention at window level. Each of the square cells represents a visual token that is either from the original feature map or a summarized token formed by sub-window pooling. Suppose we have an input feature map of size $2 0 \times 2 0$ . We first partition it into $5 \times 5$ windows of size $4 \times 4$ . Take the $4 \times 4$ blue window in the middle as the query set, we extract its surrounding tokens at three granularity levels as its keys and values. For the first level, we extract the $8 \times 8$ tokens which are closest to the blue window at the finest grain. At the second level, we expand the attention region and pool the surrounding $2 \times 2$ sub-windows to form summarized tokens, which results in $6 \times 6$ summarized tokens. At the third level, we attend a larger region covering the whole feature map and pool $4 \times 4$ sub-windows, which leads to $5 \times 5$ summarized tokens. Finally, these three levels of tokens are concatenated to compute the keys and values for the $4 \times 4 = 1 6$ tokens (queries) in the blue window.
|
| 70 |
+
|
| 71 |
+
feature map, there is no need to perform any sub-window pooling. Considering that the focal window size is usually very small (7 maximally in our settings), the number of extra parameters introduced by sub-window pooling is negligible.
|
| 72 |
+
|
| 73 |
+
Attention computing. Once we obtain the pooled feature maps $\{ x ^ { l } \} _ { 1 } ^ { L }$ at all $L$ levels, we compute the query at the first level, and key and value for all levels using three linear projection layers $f _ { q } , f _ { k }$ and $f _ { v }$ , respectively, as
|
| 74 |
+
|
| 75 |
+
$$
|
| 76 |
+
Q = f _ { q } ( x ^ { 1 } ) , \quad K = \{ K ^ { l } \} _ { 1 } ^ { L } = f _ { k } ( \{ x ^ { 1 } , . . . , x ^ { L } \} ) , \quad V = \{ V ^ { l } \} _ { 1 } ^ { L } = f _ { v } ( \{ x ^ { 1 } , . . . , x ^ { L } \} ) .
|
| 77 |
+
$$
|
| 78 |
+
|
| 79 |
+
To perform focal attention, we need to first extract the surrounding tokens for each query token in the feature map. As mentioned earlier, tokens inside a window partition $s _ { p } \times s _ { p }$ share the same set of surroundings. For the queries inside the $i$ -th window $Q _ { i } \in \mathcal { R } ^ { s _ { p } \times s _ { p } \times d }$ , we extract the $s _ { r } ^ { l } \times s _ { r } ^ { l }$ keys and values from $K ^ { l }$ and $V ^ { l }$ surrounding the window which the query lies in, and then gather the keys and values from all $L$ levels to obtain $\breve { K } _ { i } = \{ K _ { i } ^ { 1 } , . . . , K _ { i } ^ { L } \} \in \mathscr { R } ^ { \bar { s } \times d }$ and $V _ { i } = \{ V _ { i } ^ { 1 } , . . . , \mathbf { \bar { V } } _ { i } ^ { L } \} \in \mathcal { R } ^ { s \times d }$ , where imple $s$ is the sum of focal regions from all levels, i.e., ntation of focal attention following Fig. 1 requires $\begin{array} { r } { s = \sum _ { l = 1 } ^ { L } ( s _ { r } ^ { l } ) ^ { 2 } } \end{array}$ . Note that a canonicalverlapped regions across different levels. In our implementation, we intentionally keep them in order to capture the pyramid information for the overlapped regions. Finally, we follow [43] to include a relative position bias and compute the focal attention for $Q _ { i }$ by
|
| 80 |
+
|
| 81 |
+
$$
|
| 82 |
+
\mathrm { A t t e n t i o n } ( Q _ { i } , K _ { i } , V _ { i } ) = \mathrm { S o f t m a x } ( \frac { Q _ { i } K _ { i } ^ { T } } { \sqrt { d } } + B ) V _ { i } ,
|
| 83 |
+
$$
|
| 84 |
+
|
| 85 |
+
where $B = \{ B ^ { l } \} _ { 1 } ^ { L }$ is the learnable relative position bias. It consists of $L$ subsets for $L$ focal levels. Similar to [43], for the first level, we parameterize it as $B ^ { 1 } \in \mathcal { R } ^ { ( 2 s _ { p } - 1 ) \times ( 2 s _ { p } - 1 ) }$ , considering that the horizontal and vertical position ranges are both in $[ - s _ { p } + 1 , s _ { p } - 1 ]$ . For the other focal levels, considering that they have different granularity with respect to the queries, we treat all the queries inside a window equally and use $B ^ { l } \in \mathcal { R } ^ { s _ { r } ^ { l } \times s _ { r } ^ { l } }$ to represent the relative position bias between the query window and each of $s _ { r } ^ { l } \times s _ { r } ^ { l }$ summarized tokens. Since the focal attention for each window can be performed independent of the others, we can compute Eq. (3) in parallel. Once we obtain attention scores for the whole input feature map, we send them to LayerNorm and the MLP block.
|
| 86 |
+
|
| 87 |
+
<table><tr><td></td><td>Output Size</td><td>Layer Name</td><td>Focal-Tiny</td><td></td><td>Focal-Small</td><td></td><td>Focal-Base</td><td></td></tr><tr><td rowspan="2">stage 1</td><td>56×56</td><td>Patch Embedding</td><td>p1= 4;c1 = 96</td><td></td><td>p1=4;c1= 96</td><td></td><td>p1 = 4;c1 = 128</td><td></td></tr><tr><td>56×56</td><td>Transformer Block</td><td>{1,13} 三 s={7,7</td><td>×2</td><td>二 {1,13} ={7,7}</td><td>×2</td><td>{1,13} ={7,7}</td><td>×2</td></tr><tr><td rowspan="2">stage 2</td><td>28×28</td><td>Patch Embedding</td><td>P2=2;c=192</td><td></td><td>P2=2;C=192</td><td></td><td>P2=2;C= 256</td><td></td></tr><tr><td>28×28</td><td>Transformer Block</td><td>{1,13} 三 swr={7,5} 1</td><td>×2</td><td>={1,13} sw,r={7,5} 1</td><td>×2</td><td>{1,13} 二 su,r={7,5}</td><td>×2</td></tr><tr><td rowspan="2">stage 3</td><td>14 × 14</td><td>Patch Embedding</td><td>p3=2;c3=384</td><td></td><td>p3=2; c3= 384</td><td></td><td>p3=2; c3= 512</td><td></td></tr><tr><td>14 × 14</td><td>Transformer Block</td><td>={1,13} s={7,3}</td><td>×6</td><td>={1,13} ={7,3}</td><td>×18</td><td>={1,13} ={7,3}</td><td>×18</td></tr><tr><td rowspan="2">stage 4</td><td>7×7</td><td>Patch Embedding</td><td>P4=2;C4=768</td><td></td><td>P4=2;C4=768</td><td></td><td>P4= 2;C4=1024</td><td></td></tr><tr><td>7×7</td><td>Transformer Block</td><td>二 {1,7}</td><td>×2</td><td>{1,7} s 三 ={7,1}</td><td>×2</td><td>二 {1,7} su,r {7,1} 二</td><td>×2</td></tr></table>
|
| 88 |
+
|
| 89 |
+
Table 1: Model configurations for Focal Transformers. We use three configurations with different model capacities: Focal-Tiny, Focal-Small and Focal-Base.
|
| 90 |
+
|
| 91 |
+
# 3.2.2 Complexity analysis
|
| 92 |
+
|
| 93 |
+
We analyze the computational complexity for the two steps of focal attention described above. For the input feature map $\dot { \boldsymbol { x } } \in \mathcal { R } ^ { M \times N \times d }$ , we have $\begin{array} { r } { \frac { M } { s _ { w } ^ { l } } \times \frac { N } { s _ { w } ^ { l } } } \end{array}$ sub-windows at focal level l. For each sub-window, the pooling operation in Eq.1 has the complexity of $\mathcal { O } ( ( s _ { w } ^ { l } ) ^ { 2 } d )$ . Aggregating all sub-windows brings us $O ( ( M N ) d )$ . Then for all focal levels, we have the complexity of $\mathcal { O } ( L ( M N ) d )$ in total, which is independent of the sub-window size at each focal level. Regarding the attention computation in Eq. 3, the computational cost for a query window $s _ { p } \times s _ { p }$ is $\mathcal { O } ( ( s _ { p } ) ^ { 2 } \textstyle \sum _ { l } ( s _ { r } ^ { l } ) ^ { 2 } d )$ , and $\mathcal { O } ( \dot { \sum } _ { l } ( s _ { r } ^ { l } ) ^ { 2 } ( M \dot { N } ) d )$ for the whole input feature map. To sum up, the overall computational cost for focal attention is $\begin{array} { r } { \mathcal { O } ( ( L + \sum _ { l } ( s _ { r } ^ { l } ) ^ { \bar { 2 } } ) ( M N ) d ) } \end{array}$ . In an extreme case, one can set $s _ { r } ^ { \hat { L } } = 2 \times \operatorname* { m a x } ( M , N ) / s _ { w } ^ { L }$ to ensure a global receptive field for all queries (including both corner and middle queries) in this layer.
|
| 94 |
+
|
| 95 |
+
# 3.3 Model configurations
|
| 96 |
+
|
| 97 |
+
For fair comparison, we consider three network configurations for Focal Transformers, following [60, 64, 43]. Specifically, we follow the design of the Tiny, Small and Base models in Swin Transformer [43], as shown in Table 1. Our models take $2 2 4 \times 2 2 4$ images as inputs and the window partition size is set to 7 to make our models comparable to Swin Transformers. For the focal attention layer, we introduce two levels, one for fine-grained local attention and the other for coarse-grained global attention. Except for the last stage, the focal region size is set to 13 for the window partition size of 7, which means that we expand 3 tokens for each window partition. For the last stage, since the whole feature map is $7 \times 7$ , the focal region size at level 0 is set to 7, which is sufficient to cover the entire feature map. For the coarse-grained global attention, we set its focal window size the same as the window partition size 7, but gradually decrease the focal region size to get $\{ 7 , 5 , 3 , 1 \}$ for the four stages, respectively. For the patch embedding layer, the spatial reduction ratio $p _ { i }$ for the four stages are all $\{ 4 , 2 , 2 , 2 \}$ . Note that Focal-Base has a higher hidden dimension $c _ { i }$ , compared to Focal-Tiny and Focal-Small.
|
| 98 |
+
|
| 99 |
+
# 4 Experiments
|
| 100 |
+
|
| 101 |
+
# 4.1 Image classification on ImageNet-1K
|
| 102 |
+
|
| 103 |
+
We compare different methods on ImageNet-1K [19]. For fair comparison, we follow the training recipes in [55, 60]. All models are trained for 300 epochs with batch size 1024. The initial learning rate is set to $1 0 ^ { - 3 }$ with 20 epochs of linear warm-up starting from $1 0 ^ { - 5 }$ . For optimization, we use AdamW [44] as the optimizer with a cosine learning rate scheduler. The weight decay is set to 0.05 and the maximal gradient norm is clipped to 5.0. We use the same set of data augmentation and regularization strategies used in [55] after excluding random erasing [82], repeated augmentation [4, 34] and exponential moving average (EMA) [48]. The stochastic depth drop rates are set to 0.2, 0.2 and 0.3 for our tiny, small and base models, respectively. During training, we crop images randomly to $2 2 4 \times 2 2 4$ , while a center crop is used during evaluation on the validation set.
|
| 104 |
+
|
| 105 |
+
<table><tr><td>Model</td><td>#Params. FLOPs</td><td>Top-1 (%)</td></tr><tr><td>ResNet-50 [33]</td><td>25.0 4.1</td><td>76.2</td></tr><tr><td>DeiT-Small/16 [55]</td><td>22.1 4.6</td><td>79.9</td></tr><tr><td>PVT-Small [60]</td><td>24.5 3.8</td><td>79.8</td></tr><tr><td>ViL-Small [76]</td><td>24.6 5.1</td><td>82.0</td></tr><tr><td>CvT-13 [64]</td><td>20.0 4.5</td><td>81.6</td></tr><tr><td>Swin-Tiny [43]</td><td>28.3 4.5</td><td>81.2</td></tr><tr><td>Focal-Tiny (Ours)</td><td>28.9 4.9</td><td>82.2</td></tr><tr><td>ResNet-101[33]</td><td>45.0 7.9</td><td>77.4</td></tr><tr><td>PVT-Medium [60]</td><td>44.2 6.7</td><td>81.2</td></tr><tr><td>CvT-21 [64]</td><td>32.0 7.1</td><td>82.5</td></tr><tr><td>ViL-Medium [76]</td><td>39.7 9.1</td><td>83.3</td></tr><tr><td>Swin-Small [43]</td><td>49.6 8.7</td><td>83.1</td></tr><tr><td>Focal-Small (Ours)</td><td>51.1 9.4</td><td>83.6</td></tr><tr><td>ResNet-152[33]</td><td>60.0 11.0</td><td>78.3</td></tr><tr><td>ViT-Base/16 [21]</td><td>86.6 17.6</td><td>77.9</td></tr><tr><td>DeiT-Base/16 [55]</td><td>17.5</td><td>81.8</td></tr><tr><td></td><td>86.6</td><td></td></tr><tr><td>PVT-Large [60]</td><td>61.4 9.8</td><td>81.7</td></tr><tr><td>ViL-Base[76]</td><td>55.7 13.4</td><td>83.2</td></tr><tr><td>Swin-Base [43]</td><td>87.8 15.4</td><td>83.4</td></tr><tr><td>Focal-Base (Ours)</td><td>89.8</td><td>16.4 84.0</td></tr></table>
|
| 106 |
+
|
| 107 |
+
Table 2: Comparison of image classification on ImageNet-1K for different models. Except for ViT-Base/16, all other models are trained and evaluated on $2 2 4 \times 2 2 4$ resolution.
|
| 108 |
+
|
| 109 |
+
Table 3: Comparisons with CNN and Transformer baselines and SoTA methods on COCO object detection. The box mAP $( A P ^ { b } )$ and mask mAP $( A P ^ { m } )$ are reported for RetinaNet and Mask R-CNN trained with $1 \times$ schedule. More detailed comparisons with $3 \times$ schedule are in Table 4.
|
| 110 |
+
|
| 111 |
+
<table><tr><td rowspan="2">Backbone</td><td>RetinaNet</td><td>Mask R-CNN</td><td></td></tr><tr><td>APb</td><td>Apb</td><td>APm</td></tr><tr><td>ResNet-50 [33]</td><td>36.3</td><td>38.0</td><td>34.4</td></tr><tr><td>PVT-Small</td><td>40.4</td><td>40.4</td><td>37.8</td></tr><tr><td>ViL-Small [76]</td><td>41.6</td><td>41.8</td><td>38.5</td></tr><tr><td>Swin-Tiny [43]</td><td>42.0</td><td>43.7</td><td>39.8</td></tr><tr><td>Focal-Tiny (Ours)</td><td>43.7 (+1.7)</td><td>44.8 (+1.1)</td><td> 41.0 (+1.3)</td></tr><tr><td>ResNet-101[33]</td><td>38.5</td><td>40.4</td><td>36.4</td></tr><tr><td>ResNeXt101-32x4d [67]</td><td>39.9</td><td>41.9</td><td>37.5</td></tr><tr><td>PVT-Medium [60]</td><td>41.9</td><td>42.0</td><td>39.0</td></tr><tr><td>ViL-Medium [76]</td><td>42.9</td><td>43.4</td><td>39.7</td></tr><tr><td>Swin-Small [43]</td><td>45.0</td><td>46.5</td><td>42.1</td></tr><tr><td>Focal-Small (Ours)</td><td>45.6 (+0.6)</td><td>47.4 (+0.9)</td><td> 42.8 (+0.7)</td></tr><tr><td>ResNeXt101-64x4d[67] 41.0</td><td></td><td>42.8</td><td>38.4</td></tr><tr><td>PVT-Large [60]</td><td>42.6</td><td>42.9</td><td>39.5</td></tr><tr><td>ViL-Base[76]</td><td>44.3</td><td>45.1</td><td>41.0</td></tr><tr><td>Swin-Base [43]</td><td>45.0</td><td>46.9</td><td>42.3</td></tr><tr><td>Focal-Base (Ours)</td><td>46.3 (+1.3)</td><td>47.8 (+0.9)</td><td>43.2 (+0.9)</td></tr></table>
|
| 112 |
+
|
| 113 |
+
In Table 2, we summarize the results for baseline models and the state-of-the-art models on image classification task. We can see that Focal Transformers consistently outperform other methods with similar model sizes (#Params.) and computational complexities (GFLOPs). Specifically, Focal-Tiny improves over the Transformer baseline DeiT-Small/16 by $2 . 3 \%$ . Meanwhile, using the same model configuration (2-2-6-2) and a few extra parameters and computations, Focal-Tiny improves over Swin-Tiny by 1.0 point. For small and base models, Focal-Small with 51.1M parameters can reach $8 3 . 6 \%$ which is better than all the counterpart small and base models using much less parameters. By increasing the model size, Focal-Base model achieves $8 4 . 0 \%$ , surpassing all the other models with comparable parameters and FLOPs.
|
| 114 |
+
|
| 115 |
+
To compare with the large-scale models, we further build Focal-Large Transformer by increasing the hidden dimension in Focal-Base from 128 to 196 while keeping all the other hyperparameters the same. We follow the common practice to pretrain our Focal-Large Transformer on ImageNet-22K and transfer it to detection and segmentation tasks [64, 43].
|
| 116 |
+
|
| 117 |
+
# 4.2 Object detection and instance segmentation
|
| 118 |
+
|
| 119 |
+
We benchmark our models on object detection with COCO 2017 [42]. The pretrained models are used as visual backbones and then plugged into two representative pipelines, RetinaNet [41] and Mask R-CNN [32]. All models are trained on the $1 1 8 \mathrm { k }$ training images and the results are reported on 5K validation set. We use the two standard training schedules, $1 \times$ with 12 epochs and $3 \times$ with 36 epochs. For the $1 \times$ schedule, we resize image’s shorter side to 800 while keeping its longer side no more than 1,333. For the $3 \times$ schedule, we use the multi-scale training strategy by randomly resizing its shorter side to the range of [480, 800]. Considering this higher input resolution, we adaptively increase the focal sizes at four stages to (15, 13, 9, 7), to ensures that the focal attention covers more than half of the image region at the first two stages, and the whole image at the last two stages. With the focal size increased, the relative position biases are accordingly up-sampled to the corresponding sizes using bilinear interpolation. During training, we use AdamW [44] for optimization with initial learning rate $1 0 ^ { - 4 }$ and weight decay 0.05. Similarly, we use 0.2, 0.3 and 0.5 stochastic depth drop rates to regularize the training for our Tiny, Small and Base models, respectively. Since Swin Transformer does not report the results on RetinaNet, we obtain the results by ourselves using their official code with the same hyper-parameters as that of Focal Transformers.
|
| 120 |
+
|
| 121 |
+
In Table 3, we show the performance for both CNN-based models and the current Transformerbased state-of-the-art models. The bbox mAP $( A P ^ { b } )$ and mask mAP $( A P ^ { m } )$ are reported. We see that Focal Transformers outperform the CNN-based models consistently with the gap of 4.8-7.1 points. Compared with the other methods which also use multi-scale Transformer architectures,
|
| 122 |
+
|
| 123 |
+
Table 4: COCO object detection and segmentation results with RetinaNet [41] and Mask R-CNN [33]. All models are trained with $3 \times$ schedule and multi-scale inputs (MS). The numbers before and after “/” at column 2 and 3 are the model size and complexity for RetinaNet and Mask R-CNN, respectively.
|
| 124 |
+
|
| 125 |
+
<table><tr><td rowspan="2">Backbone</td><td rowspan="2">#Params (M)</td><td rowspan="2">FLOPs (G)</td><td colspan="6">RetinaNet 3x schedule + MS</td><td colspan="6">Mask R-CNN 3x schedule + MS</td></tr><tr><td>AP</td><td>AP5</td><td>AP</td><td>APs</td><td>APM</td><td>APL</td><td>AP6</td><td>AP</td><td>AP</td><td>Apm</td><td>AP</td><td>AP</td></tr><tr><td>ResNet50 [33]</td><td>37.7/44.2</td><td>239/260</td><td>39.0</td><td>58.4</td><td>41.8</td><td>22.4</td><td>42.8</td><td>51.6</td><td>41.0</td><td>61.7</td><td>44.9</td><td>37.1</td><td>58.4</td><td>40.1</td></tr><tr><td>PVT-Small[60]</td><td>34.2/44.1</td><td>226/245</td><td>42.2</td><td>62.7</td><td>45.0</td><td>26.2</td><td>45.2</td><td>57.2</td><td>43.0</td><td>65.3</td><td>46.9</td><td>39.9</td><td>62.5</td><td>42.8</td></tr><tr><td>ViL-Small [76]</td><td>35.7/45.0</td><td>252/174 42.9</td><td></td><td>63.8</td><td>45.6</td><td>27.8</td><td>46.4</td><td>56.3</td><td>43.4</td><td>64.9</td><td>47.0</td><td>39.6</td><td>62.1</td><td>42.4</td></tr><tr><td>Swin-Tiny [43]</td><td>38.5/47.8</td><td>245/264 45.0</td><td></td><td>65.9</td><td>48.4</td><td>29.7</td><td>48.9</td><td>58.1</td><td>46.0</td><td>68.1</td><td>50.3</td><td>41.6</td><td>65.1</td><td>44.9</td></tr><tr><td>Focal-Tiny (Ours)</td><td>39.4/48.8</td><td>265/291</td><td> 45.5</td><td>66.3</td><td>48.8</td><td>31.2</td><td>49.2</td><td>58.7</td><td>47.2</td><td>69.4</td><td>51.9</td><td>42.7</td><td>66.5</td><td> 45.9</td></tr><tr><td>ResNet101 [33]</td><td>56.7/63.2</td><td>315/33640.9</td><td></td><td>60.1</td><td>44.0</td><td>23.7</td><td>45.0</td><td>53.8</td><td>42.8</td><td>63.2</td><td>47.1</td><td>38.5</td><td>60.1</td><td>41.3</td></tr><tr><td>ResNeXt101-32x4d [67]</td><td>56.4/62.8</td><td>319/340</td><td>41.4</td><td>61.0</td><td>44.3</td><td>23.9</td><td>45.5</td><td>53.7</td><td>44.0</td><td>64.4</td><td>48.0</td><td>39.2</td><td>61.4</td><td>41.9</td></tr><tr><td>PVT-Medium [60]</td><td>53.9/63.9</td><td>283/302</td><td>43.2</td><td>63.8</td><td>46.1</td><td>27.3</td><td>46.3</td><td>58.9</td><td>44.2</td><td>66.0</td><td>48.2</td><td>40.5</td><td>63.1</td><td>43.5</td></tr><tr><td>ViL-Medium [76]</td><td>50.8/60.1</td><td>339/261</td><td>43.7</td><td>64.6</td><td>46.4</td><td>27.9</td><td>47.1</td><td>56.9</td><td>44.6</td><td>66.3</td><td>48.5</td><td>40.7</td><td>63.8</td><td>43.7</td></tr><tr><td>Swin-Small [43]</td><td>59.8/69.1</td><td>335/354 46.4</td><td></td><td>67.0</td><td>50.1</td><td>31.0</td><td>50.1</td><td>60.3</td><td>48.5</td><td>70.2</td><td>53.5</td><td>43.3</td><td>67.3</td><td>46.6</td></tr><tr><td>Focal-Small (Ours)</td><td>61.7/71.2</td><td>367/401</td><td>47.3</td><td>67.8</td><td>51.0</td><td>31.6</td><td>50.9</td><td>61.1</td><td>48.8</td><td>70.5</td><td>53.6</td><td>43.8</td><td>67.7</td><td>47.2</td></tr><tr><td>ResNeXt101-64x4d [67]</td><td>95.5/102</td><td>473/493</td><td>41.8</td><td>61.5</td><td>44.4</td><td>25.2</td><td>45.4</td><td>54.6</td><td>44.4</td><td>64.9</td><td>48.8</td><td>39.7</td><td>61.9</td><td>42.6</td></tr><tr><td>PVT-Large[60]</td><td>71.1/81.0</td><td>345/364 43.4</td><td></td><td>63.6</td><td>46.1</td><td>26.1</td><td>46.0</td><td>59.5</td><td>44.5</td><td>66.0</td><td>48.3</td><td>40.7</td><td>63.4</td><td>43.7</td></tr><tr><td>ViL-Base [76]</td><td>66.7/76.1</td><td>443/365 44.7</td><td></td><td>65.5</td><td>47.6</td><td>29.9</td><td>48.0</td><td>58.1</td><td>45.7</td><td>67.2</td><td>49.9</td><td>41.3</td><td>64.4</td><td>44.5</td></tr><tr><td>Swin-Base 43]</td><td>98.4/107</td><td>477/496 45.8</td><td></td><td>66.4</td><td>49.1</td><td>29.9</td><td>49.4</td><td>60.3</td><td>48.5</td><td>69.8</td><td>53.2</td><td>43.4</td><td>66.8</td><td>46.9</td></tr><tr><td>Focal-Base (Ours)</td><td>100.8/110.0 514/533 46.9</td><td></td><td></td><td>67.8</td><td>50.3</td><td>31.9</td><td>50.3</td><td>61.5</td><td>49.0</td><td>70.1</td><td>53.6</td><td>43.7</td><td>67.6</td><td>47.0</td></tr></table>
|
| 126 |
+
|
| 127 |
+
Focal Transformers show substantial gains across all settings and metrics. Particularly, Focal Transformers brings 0.7-1.7 points of mAP against the current best approach Swin Transformer [43] at comparable settings. Different from the other multi-scale Transformer models, Focal Transformers can simultaneously enable short-range fine-grain and long-range coarse-grain interactions for each visual token, and thus capture richer visual contexts at each layer for better dense predictions. To have more comprehensive comparisons, we train all models using the $3 \times$ schedule and show the detailed numbers for RetinaNet and Mask R-CNN in Table 4. As we can see, even with the $3 \times$ schedule, Focal Transformers can still achieve 0.3-1.1 gain over Swin Transformer models in comparable settings.
|
| 128 |
+
|
| 129 |
+
Comparison with large SoTA detection models. We follow Swin Transformers to use HTC [11] as the detection method in that it reported SoTA performance on COCO detection when using Swin Transformer as the backbone. For fair comparison, we also use soft-NMS [5], instaboost [24] and a multi-scale training strategy with the shorter side in range [400, 1400] and the longer side no more than 1600. We train the model using AdamW [44] with base learning rate 1e-4 and weight decay 0.1. The model is trained using the standard $3 \times$ schedule. The box and mask mAPs on COCO validation set and test-dev are reported in Table 5, where both single-scale evaluation and multi-scale evaluation results are presented. Our Focal-Large model with multi-scale test achieves 58.1 box mAP and 50.9 mask mAP on mini-val set, which is better than the reported numbers for Swin-Large in [43]. When evaluating our model on the test-dev set, it achieves 58.4 box mAP and 51.3 mask mAP, which is slightly better than Swin Transformer. Note that because our model does not include the global self-attention layer used in Swin Transformer at the last stage, it has a smaller model size and fewer FLOPs. More recently, DyHead [17] achieves new SoTA on COCO, when combined with Swin-Large. We replace the Swin-Large model with the Focal-Large model, and use the same $2 \times$ training schedule as in [17]. We report the box mAPs for both mini-val and test-dev. Focal-Large achieves 58.7 and 59.0 on mini-val and test-dev, respectively.
|
| 130 |
+
|
| 131 |
+
# 4.3 Semantic Segmentation
|
| 132 |
+
|
| 133 |
+
In addition to the instance segmentation results, we also evaluate our models on the semantic segmentation task which usually takes high-resolution input images and requires capturing long-range interactions. We benchmark our methods on ADE20K [83]. We use UperNet [65] as the segmentation method and Focal Transformers as the backbones. We train three models as Focal-Tiny, Focal-Small, Focal-Base, respectively. For all the models, we use a standard recipe that sets the input size to $5 1 2 \times 5 1 2$ and trains the model for 160k iterations with batch size 16. Table 6 shows the comparison results. We see that Focal-Tiny, Focal-Small and Focal-Base models consistently outperform Swin Transformers of the similar size in single-scale and multi-scale mIoUs.
|
| 134 |
+
|
| 135 |
+
Comparison with large SoTA semantic segmentation models. We use the pretrained Focal-Large model as the backbone for semantic segmentation. Follow the setting in [43], we use input image size $6 4 0 \times 6 4 0$ and train the model for 160k iterations with a batch size of 16. We set the initial learning to 6e-5 and use a polynomial learning rate decay. The weight decay is set to 0.01. For
|
| 136 |
+
|
| 137 |
+
<table><tr><td rowspan="2">Method</td><td rowspan="2">#Param FLOPs</td><td rowspan="2"></td><td colspan="2">mini-val</td><td colspan="2">test-dev</td></tr><tr><td>Apb</td><td>APm</td><td>Apb</td><td>Apm</td></tr><tr><td>X101-64x4d [67]</td><td>155M</td><td>1033G 52.3</td><td></td><td>46.0</td><td></td><td></td></tr><tr><td>EfficientNet-D7 [54]</td><td>77M</td><td>410G</td><td>54.4</td><td>-</td><td>55.1</td><td>=</td></tr><tr><td>GCNet*[7]</td><td>-</td><td>1041G</td><td>51.8</td><td>44.7</td><td>52.3</td><td>45.4</td></tr><tr><td>ResNeSt-200 [75]</td><td>=</td><td></td><td>52.5</td><td>=</td><td>53.3</td><td>47.1</td></tr><tr><td>Copy-paste [28]</td><td>185M</td><td>1440G 55.9</td><td></td><td>47.2</td><td>56.0</td><td>47.4</td></tr><tr><td>BoTNet-200 [51]</td><td>-</td><td></td><td>49.7</td><td></td><td>-</td><td></td></tr><tr><td>SpineNet-190 [22]</td><td>164M</td><td>1885G 52.6</td><td></td><td></td><td>52.8</td><td></td></tr><tr><td>CenterNet2 [84]</td><td>-</td><td>=</td><td>-</td><td>-</td><td>56.4</td><td>=</td></tr><tr><td>Swin-L (HTC++) [43]</td><td>284M</td><td>1470G 57.1</td><td></td><td>49.5</td><td>57.7</td><td>50.2</td></tr><tr><td>Swin-L (DyHead)[17]</td><td>213M</td><td>965G</td><td>56.2</td><td>-</td><td>-</td><td>-</td></tr><tr><td>Swin-L† (HTC++) [43]</td><td>284M</td><td></td><td>58.0</td><td>50.4</td><td>58.7</td><td>51.1</td></tr><tr><td>Swin-L† (DyHead) [17]</td><td>213M</td><td></td><td>58.4</td><td>-</td><td>58.7</td><td></td></tr><tr><td>Swin-L† (QueryInst) [25]</td><td>-</td><td></td><td>56.1</td><td>1</td><td>56.1</td><td></td></tr><tr><td>Focal-L (HTC++) (Ours)</td><td>265M</td><td>1165G</td><td>57.0</td><td>49.9</td><td>-</td><td>=</td></tr><tr><td>Focal-L (DyHead) (Ours)</td><td>229M</td><td>1081G</td><td>56.4</td><td>-</td><td>-</td><td>=</td></tr><tr><td>Focal-L† (HTC++) (Ours)</td><td>265M</td><td>-</td><td>58.1</td><td>50.9</td><td>58.4</td><td>51.3</td></tr><tr><td>Focal-L† (DyHead) (Ours)</td><td>229M</td><td>-</td><td>58.7</td><td>-</td><td>59.0</td><td>-</td></tr></table>
|
| 138 |
+
|
| 139 |
+
Table 5: Comparison with state-of-the-art methods on COCO object detection and instance segmentation. The numbers are reported on 5K val set and test-dev. Augmented HTC [11] (denoted by $\mathrm { H T C + + }$ ) and DyHead [17] are used as the detection methods. † means multi-scale evaluation.
|
| 140 |
+
|
| 141 |
+
<table><tr><td>Backbone</td><td>Method</td><td>#Param FLOPs mIoU +MS</td><td></td><td></td><td></td></tr><tr><td>ResNet-101</td><td>DANet [45]</td><td>69M</td><td>1119G</td><td>45.3</td><td></td></tr><tr><td>ResNet-101</td><td>ACNet [26]</td><td>=</td><td>=</td><td>45.9</td><td></td></tr><tr><td>ResNet-101</td><td>DNL [69]</td><td>69M</td><td>1249G</td><td>46.0</td><td></td></tr><tr><td>ResNet-101</td><td>UperNet [65]</td><td>86M</td><td>1029G</td><td>44.9</td><td></td></tr><tr><td>HRNet-w48 [53]</td><td>OCRNet [73]</td><td>71M</td><td>664G</td><td>45.7</td><td>=</td></tr><tr><td>ResNeSt-200 [75]</td><td>DLab.v3+ [12]</td><td>88M</td><td>1381G</td><td>48.4</td><td>=</td></tr><tr><td>Swin-T[43]</td><td>UperNet [65]</td><td>60M</td><td>945G</td><td>44.5</td><td>45.8</td></tr><tr><td>Swin-S [43]</td><td>UperNet [65]</td><td>81M</td><td>1038G</td><td>47.6</td><td>49.5</td></tr><tr><td>Swin-B [43]</td><td>UperNet [65]</td><td>121M</td><td>1188G</td><td>48.1</td><td>49.7</td></tr><tr><td>Twins-SVT-L[15]</td><td>UperNet [65]</td><td>133M</td><td></td><td>48.8</td><td>50.2</td></tr><tr><td>MiT-B5 [66]</td><td>SegFormer [66]</td><td>85M</td><td></td><td>51.0</td><td>51.8</td></tr><tr><td>ViT-L/16+ [21]</td><td>SETR[80]</td><td>308M</td><td></td><td>50.3</td><td>=</td></tr><tr><td>Swin-L* [43]</td><td>UperNet [65]</td><td>234M</td><td>3230G</td><td>52.1</td><td>53.5</td></tr><tr><td>ViT-L/16 [21]</td><td>Segmenter [52]</td><td>334M</td><td>=</td><td>51.8</td><td>53.6</td></tr><tr><td>Swin-L‡ [43]</td><td>K-Net [77]</td><td>=</td><td></td><td>=</td><td>54.3</td></tr><tr><td>Swin-L‡ [43]</td><td>PatchDiverse [29]</td><td>234M</td><td></td><td>53.1</td><td>54.4</td></tr><tr><td>VOLO-D5 [72]</td><td>UperNet [65]</td><td>=</td><td></td><td>-</td><td>54.3</td></tr><tr><td>Focal-T (Ours)</td><td>UperNet [65]</td><td>62M</td><td>998G</td><td>45.8</td><td>47.0</td></tr><tr><td>Focal-S (Ours)</td><td>UperNet [65]</td><td>85M</td><td>1130G</td><td>48.0</td><td>50.0</td></tr><tr><td>Focal-B (Ours)</td><td>UperNet [65]</td><td>126M</td><td>1354G</td><td>49.0</td><td>50.5</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Focal-L‡ (Ours)</td><td>UperNet [65]</td><td>240M</td><td>3376G</td><td>54.0</td><td>55.4</td></tr></table>
|
| 142 |
+
|
| 143 |
+
Table 6: Comparison with SoTA methods for semantic segmentation on ADE20K [83] val set. Single- and multi-scale evaluations are reported in the last two columns. $^ \ddag$ means ImageNet-22K is used as the pretraining dataset.
|
| 144 |
+
|
| 145 |
+
<table><tr><td>Model</td><td> W-Size FLOPs Top-1(%) APb APm</td><td></td><td></td></tr><tr><td rowspan="2">Swin-Tiny</td><td>7</td><td>4.5</td><td>81.2 43.739.8</td></tr><tr><td>14</td><td>4.9</td><td>82.1 44.0 40.5</td></tr><tr><td rowspan="2">Focal-Tiny</td><td>7</td><td>4.9</td><td>82.2 44.941.1</td></tr><tr><td>14</td><td>5.2</td><td>82.3 45.5 41.5</td></tr></table>
|
| 146 |
+
|
| 147 |
+
Table 7: Impact of different window sizes (WSize). We alter the default size 7 to 14 and observe consistent improvements for both methods.
|
| 148 |
+
|
| 149 |
+
<table><tr><td>Model</td><td colspan="3"> W-Shift Top-1(%) APb APm</td></tr><tr><td>Swin-Tiny</td><td>√</td><td>80.2 81.2</td><td>38.8 43.7</td><td>36.4 39.8</td></tr><tr><td rowspan="2">Focal-Tiny</td><td></td><td>82.2</td><td>44.8</td><td>41.0</td></tr><tr><td>√</td><td>81.9</td><td>44.9</td><td>41.1</td></tr></table>
|
| 150 |
+
|
| 151 |
+
Table 8: Impact of window shift (W-Shift) on Swin Transformer and Focal Transformer. Tiny models are used.
|
| 152 |
+
|
| 153 |
+
multi-scale evaluation, we use the same scaling ratios [0.5, 0.75, 1.0, 1.25, 1.5, 1.75] as in previous works. The results in Table 6 show that Focal-Large achieves significantly better performance than Swin-Large. In both single-scale and multi-scale evaluations, Focal-Large leads to more than 1 point mIoU improvement, creating new SoTA for semantic segmentation on ADE20K.
|
| 154 |
+
|
| 155 |
+
# 4.4 Ablation studies
|
| 156 |
+
|
| 157 |
+
We conduct a series of ablation studies to inspect the model’s capacity from different aspects. We use Focal-Tiny and the image classification and object detection tasks.
|
| 158 |
+
|
| 159 |
+
Effect of varying the window size. We have demonstrated that it is crucial to model both short- and long-range interactions. Thus, a related question is whether increasing the window size helps as it leads to a larger receptive field. Table 7 shows the performance of Swin-Tiny and Focal-Tiny with window sizes 7 and 14. Clearly, a larger window size is beneficial for both methods measured in all three metrics, and Focal-Tiny consistently outperforms Swin-Tiny in both window sizes. Comparing the second and third row, we find that Focal-Tiny outperforms Swin-Tiny even with a smaller window size $( 7 \nu . s . \ 1 4 )$ . We suspect that the gain is attributed to our focal attention’s superior capability of capturing long-range dependencies among visual tokens.
|
| 160 |
+
|
| 161 |
+
The necessity of window shift. In Swin Transformer [43], window shift is proposed to capture crosswindow interactions between two successive layers. In contrast, visual tokens in Focal Transformers can always communicate with each other across windows at both fine- and coarse-grain. Thus, it is interesting to investigate whether adding window shift to Focal Transformers can lead to any improvement. To answer the question, we remove window shift from Swin Transformer while adding it to Focal Transformers. As shown in Table 8, Swin Transformer shows a severe degradation after removing the window shift. However, adding window shift to Focal Transformer hurts classification performance. The result indicates that window shift is unnecessary for Focal Transformers. While in
|
| 162 |
+
|
| 163 |
+

|
| 164 |
+
Figure 5: Ablating Focal-Tiny model by adding local, global and both interactions, respectively. Blue bars are image classification results and orange bars object detection results. This figure is better viewed in color.
|
| 165 |
+
|
| 166 |
+
<table><tr><td colspan="6">Depths Model #Params. FLOPs Top-1(%) APb Apm</td></tr><tr><td rowspan="2">2-2-2-2</td><td>Swin</td><td>21.2</td><td>3.1</td><td>78.7</td><td>38.2 35.7</td></tr><tr><td>Focal</td><td>21.7</td><td>3.4</td><td>79.9</td><td>40.5 37.6</td></tr><tr><td rowspan="2">2-2-4-2</td><td>Swin</td><td>24.7</td><td>3.8</td><td>80.2</td><td>41.2 38.1</td></tr><tr><td>Focal</td><td>25.4</td><td>4.1</td><td>81.4</td><td>43.3 39.8</td></tr><tr><td rowspan="2">2-2-6-2</td><td>Swin</td><td>28.3</td><td>4.5</td><td>81.2</td><td>43.7 39.8</td></tr><tr><td>Focal</td><td>29.1</td><td>4.9</td><td>82.2</td><td>44.8 41.0</td></tr></table>
|
| 167 |
+
|
| 168 |
+
Table 9: Impact of the change of model depth. We gradually reduce the number of transformer layers at the third stage from original 6 to 4 and further 2. Our Focal Transformers has much slower drop rate than Swin Transformer.
|
| 169 |
+
|
| 170 |
+
Swin Transformers, there should always be an even number of layers in each stage for the alternative window shift operation, Focal Transformers do not have such a constraint.
|
| 171 |
+
|
| 172 |
+
Contributions of local and global interactions. To investigate the relative contributions of capturing local fine-grain and global coarse-grain interactions in Focal Transformers, we have developed several variants of Focal-Tiny: a) Focal-Tiny-Window merely performs attention inside each window; b) Focal-Tiny-Local attends the additional fine-grain surrounding tokens and c) Focal-Tiny-Global attends the extra coarse-grain summarized tokens. We train these models using the same setting as Focal-Tiny and report their performance on image classification and object detection using Mask R-CNN $1 \times$ schedule. As shown in Fig. 5, Focal-Tiny-Window suffers from a significant performance drop on both image classification $8 2 . 2 \substack { 8 0 . 1 }$ ) and object detection $\cdot 4 4 . 8 \mathrm { \ - } \to 3 8 . 3$ ). This is expected since the communication across windows is completely cut off at each Transformer layer. After we enable either the local fine-grain or global coarse-grain interactions (middle two columns), we observe significant performance boost. When we combine short- and long-range interactions, we observe additional improvements on both tasks. This implies that these two type of interactions are complementary and both are beneficial to model performance.
|
| 173 |
+
|
| 174 |
+
Model capacity against model depth. Focal attention allows a Transformer model to capture shortand long-range interactions at each Transformer layer. An interesting question is whether Focal Transformers need fewer layers to obtain a similar modeling capacity as the Transformer models that does not use focal attention, such as Swin Transformer. To answer this question, we conduct an experiment by training a series of Swin-Tiny and Focal-Tiny models by varying the number of Transformer layers at stage 3. As shown in Table 9, Focal-Tiny outperforms Swin-Tiny consistently with the same depth. More importantly, using fewer layers, Focal-Tiny can sometimes achieve comparable or even better performance than Swin Transformer. For example, Focal-Tiny with (2-2-4-2) achieves 81.4 on image classification which is better than Swin-Tiny with (2-2-6-2).
|
| 175 |
+
|
| 176 |
+
# 5 Conclusion
|
| 177 |
+
|
| 178 |
+
In this paper, we have presented a new focal attention mechanism that enables efficient long-range interactions in Vision Transformers. Different from previous works, it performs the local attention at fine-grain and global attention at coarse-grain, providing an effective way of capturing both shortand long-range context with a manageable computational cost. By applying focal attention into a multi-scale Transformer architecture, we propose Focal Transformers as general-purpose backbones for a wide range of dense vision tasks. A comprehensive empirical study shows that our Focal Transformers outperform the SoTA Vision Transformers on a range of vision tasks including image classification, object detection and segmentation.
|
| 179 |
+
|
| 180 |
+
Limitations and future work. Although our experiments show that focal attention can significantly boost the performance on image classification and dense prediction tasks, focal attention does introduce extra computational and memory cost, since each query token needs to attend more (summarized) tokens in addition to tokens inside a window. A cost-effective implementation of Focal Transformer is necessary to make it more applicable to many real-world scenarios. This study focuses on incorporating focal attention into multi-scale Vision Transformers for CV tasks. However, we notice that focal attention is an effective sparse attention mechanism that is widely applicable to all attention-based neural network models that are developed for processing natural language, images, videos etc. This is an exciting future direction.
|
| 181 |
+
|
| 182 |
+
References
|
| 183 |
+
[1] Joshua Ainslie, Santiago Ontanon, Chris Alberti, Philip Pham, Anirudh Ravula, and Sumit Sanghai. Etc: Encoding long and structured data in transformers. arXiv preprint arXiv:2004.08483, 2020.
|
| 184 |
+
[2] Irwan Bello, Barret Zoph, Ashish Vaswani, Jonathon Shlens, and Quoc V Le. Attention augmented convolutional networks. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 3286–3295, 2019.
|
| 185 |
+
[3] Iz Beltagy, Matthew E Peters, and Arman Cohan. Longformer: The long-document transformer. arXiv preprint arXiv:2004.05150, 2020.
|
| 186 |
+
[4] Maxim Berman, Hervé Jégou, Andrea Vedaldi, Iasonas Kokkinos, and Matthijs Douze. Multigrain: a unified image embedding for classes and instances. arXiv preprint arXiv:1902.05509, 2019.
|
| 187 |
+
[5] Navaneeth Bodla, Bharat Singh, Rama Chellappa, and Larry S Davis. Soft-nms–improving object detection with one line of code. In Proceedings of the IEEE international conference on computer vision, pages 5561–5569, 2017.
|
| 188 |
+
[6] Tom B Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are few-shot learners. arXiv preprint arXiv:2005.14165, 2020.
|
| 189 |
+
[7] Yue Cao, Jiarui Xu, Stephen Lin, Fangyun Wei, and Han Hu. Gcnet: Non-local networks meet squeezeexcitation networks and beyond. In Proceedings of the IEEE/CVF International Conference on Computer Vision Workshops, pages 0–0, 2019.
|
| 190 |
+
[8] Nicolas Carion, Francisco Massa, Gabriel Synnaeve, Nicolas Usunier, Alexander Kirillov, and Sergey Zagoruyko. End-to-end object detection with transformers. In European Conference on Computer Vision, pages 213–229. Springer, 2020.
|
| 191 |
+
[9] Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal, Piotr Bojanowski, and Armand Joulin. Emerging properties in self-supervised vision transformers. arXiv preprint arXiv:2104.14294, 2021.
|
| 192 |
+
[10] Shuning Chang, Pichao Wang, Fan Wang, Hao Li, and Jiashi Feng. Augmented transformer with adaptive graph for temporal action proposal generation. arXiv preprint arXiv:2103.16024, 2021.
|
| 193 |
+
[11] Kai Chen, Jiangmiao Pang, Jiaqi Wang, Yu Xiong, Xiaoxiao Li, Shuyang Sun, Wansen Feng, Ziwei Liu, Jianping Shi, Wanli Ouyang, et al. Hybrid task cascade for instance segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 4974–4983, 2019.
|
| 194 |
+
[12] Liang-Chieh Chen, Yukun Zhu, George Papandreou, Florian Schroff, and Hartwig Adam. Encoder-decoder with atrous separable convolution for semantic image segmentation. In Proceedings of the European conference on computer vision (ECCV), pages 801–818, 2018.
|
| 195 |
+
[13] Xin Chen, Bin Yan, Jiawen Zhu, Dong Wang, Xiaoyun Yang, and Huchuan Lu. Transformer tracking. arXiv preprint arXiv:2103.15436, 2021.
|
| 196 |
+
[14] Xinlei Chen, Saining Xie, and Kaiming He. An empirical study of training self-supervised visual transformers. arXiv preprint arXiv:2104.02057, 2021.
|
| 197 |
+
[15] Xiangxiang Chu, Zhi Tian, Yuqing Wang, Bo Zhang, Haibing Ren, Xiaolin Wei, Huaxia Xia, and Chunhua Shen. Twins: Revisiting spatial attention design in vision transformers. arXiv preprint arXiv:2104.13840, 2021.
|
| 198 |
+
[16] Xiangxiang Chu, Zhi Tian, Bo Zhang, Xinlong Wang, Xiaolin Wei, Huaxia Xia, and Chunhua Shen. Conditional positional encodings for vision transformers. Arxiv preprint 2102.10882, 2021.
|
| 199 |
+
[17] Xiyang Dai, Yinpeng Chen, Bin Xiao, Dongdong Chen, Mengchen Liu, Lu Yuan, and Lei Zhang. Dynamic head: Unifying object detection heads with attentions. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 7373–7382, 2021.
|
| 200 |
+
[18] Zhigang Dai, Bolun Cai, Yugeng Lin, and Junying Chen. Up-detr: Unsupervised pre-training for object detection with transformers. arXiv preprint arXiv:2011.09094, 2020.
|
| 201 |
+
[19] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pages 248–255. Ieee, 2009.
|
| 202 |
+
[20] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training of deep bidirectional transformers for language understanding. NAACL, 2019.
|
| 203 |
+
[21] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929, 2020.
|
| 204 |
+
[22] Xianzhi Du, Tsung-Yi Lin, Pengchong Jin, Golnaz Ghiasi, Mingxing Tan, Yin Cui, Quoc V Le, and Xiaodan Song. Spinenet: Learning scale-permuted backbone for recognition and localization. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 11592–11601, 2020.
|
| 205 |
+
[23] Haoqi Fan, Bo Xiong, Karttikeya Mangalam, Yanghao Li, Zhicheng Yan, Jitendra Malik, and Christoph Feichtenhofer. Multiscale vision transformers. arXiv preprint arXiv:2104.11227, 2021.
|
| 206 |
+
[24] Hao-Shu Fang, Jianhua Sun, Runzhong Wang, Minghao Gou, Yong-Lu Li, and Cewu Lu. Instaboost: Boosting instance segmentation via probability map guided copy-pasting. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 682–691, 2019.
|
| 207 |
+
[25] Yuxin Fang, Shusheng Yang, Xinggang Wang, Yu Li, Chen Fang, Ying Shan, Bin Feng, and Wenyu Liu. Instances as queries, 2021.
|
| 208 |
+
[26] Jun Fu, Jing Liu, Yuhang Wang, Yong Li, Yongjun Bao, Jinhui Tang, and Hanqing Lu. Adaptive context network for scene parsing. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 6748–6757, 2019.
|
| 209 |
+
[27] Jianfeng Gao, Patrick Pantel, Michael Gamon, Xiaodong He, and Li Deng. Modeling interestingness with deep neural networks. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 2–13, Doha, Qatar, October 2014. Association for Computational Linguistics.
|
| 210 |
+
[28] Golnaz Ghiasi, Yin Cui, Aravind Srinivas, Rui Qian, Tsung-Yi Lin, Ekin D Cubuk, Quoc V Le, and Barret Zoph. Simple copy-paste is a strong data augmentation method for instance segmentation. arXiv preprint arXiv:2012.07177, 2020.
|
| 211 |
+
[29] Chengyue Gong, Dilin Wang, Meng Li, Vikas Chandra, and Qiang Liu. Vision transformers with patch diversification, 2021.
|
| 212 |
+
[30] Kai Han, Yunhe Wang, Hanting Chen, Xinghao Chen, Jianyuan Guo, Zhenhua Liu, Yehui Tang, An Xiao, Chunjing Xu, Yixing Xu, et al. A survey on visual transformer. arXiv preprint arXiv:2012.12556, 2020.
|
| 213 |
+
[31] Kai Han, An Xiao, Enhua Wu, Jianyuan Guo, Chunjing Xu, and Yunhe Wang. Transformer in transformer, 2021.
|
| 214 |
+
[32] Kaiming He, Georgia Gkioxari, Piotr Dollár, and Ross Girshick. Mask r-cnn. In Proceedings of the IEEE international conference on computer vision, pages 2961–2969, 2017.
|
| 215 |
+
[33] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 770–778, 2016.
|
| 216 |
+
[34] Elad Hoffer, Tal Ben-Nun, Itay Hubara, Niv Giladi, Torsten Hoefler, and Daniel Soudry. Augment your batch: Improving generalization through instance repetition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 8129–8138, 2020.
|
| 217 |
+
[35] Jie Hu, Li Shen, and Gang Sun. Squeeze-and-excitation networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 7132–7141, 2018.
|
| 218 |
+
[36] Salman Khan, Muzammal Naseer, Munawar Hayat, Syed Waqas Zamir, Fahad Shahbaz Khan, and Mubarak Shah. Transformers in vision: A survey. arXiv preprint arXiv:2101.01169, 2021.
|
| 219 |
+
[37] Yann LeCun, Yoshua Bengio, et al. Convolutional networks for images, speech, and time series. The handbook of brain theory and neural networks, 3361(10):1995, 1995.
|
| 220 |
+
[38] Bing Li, Cheng Zheng, Silvio Giancola, and Bernard Ghanem. Sctn: Sparse convolution-transformer network for scene flow estimation. arXiv preprint arXiv:2105.04447, 2021.
|
| 221 |
+
[39] Chunyuan Li, Jianwei Yang, Pengchuan Zhang, Mei Gao, Bin Xiao, Xiyang Dai, Lu Yuan, and Jianfeng Gao. Efficient self-supervised vision transformers for representation learning. arXiv preprint arXiv:2106.09785, 2021.
|
| 222 |
+
[40] Xiangyu Li, Yonghong Hou, Pichao Wang, Zhimin Gao, Mingliang Xu, and Wanqing Li. Trear: Transformer-based rgb-d egocentric action recognition. arXiv preprint arXiv:2101.03904, 2021.
|
| 223 |
+
[41] Tsung-Yi Lin, Priya Goyal, Ross Girshick, Kaiming He, and Piotr Dollár. Focal loss for dense object detection. In Proceedings of the IEEE international conference on computer vision, pages 2980–2988, 2017.
|
| 224 |
+
[42] Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C Lawrence Zitnick. Microsoft COCO: Common objects in context. In ECCV, 2014.
|
| 225 |
+
[43] Ze Liu, Yutong Lin, Yue Cao, Han Hu, Yixuan Wei, Zheng Zhang, Stephen Lin, and Baining Guo. Swin transformer: Hierarchical vision transformer using shifted windows. arXiv preprint arXiv:2103.14030, 2021.
|
| 226 |
+
[44] Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. arXiv preprint arXiv:1711.05101, 2017.
|
| 227 |
+
[45] Hyeonseob Nam, Jung-Woo Ha, and Jeonghee Kim. Dual attention networks for multimodal reasoning and matching. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 299–307, 2017.
|
| 228 |
+
[46] R. Pappagari, P. Zelasko, J. Villalba, Y. Carmiel, and N. Dehak. Hierarchical transformers for long document classification. In 2019 IEEE Automatic Speech Recognition and Understanding Workshop (ASRU), pages 838–844, 2019.
|
| 229 |
+
[47] Niki Parmar, Ashish Vaswani, Jakob Uszkoreit, Lukasz Kaiser, Noam Shazeer, Alexander Ku, and Dustin Tran. Image transformer. In International Conference on Machine Learning, pages 4055–4064. PMLR, 2018.
|
| 230 |
+
[48] Boris T Polyak and Anatoli B Juditsky. Acceleration of stochastic approximation by averaging. SIAM journal on control and optimization, 30(4):838–855, 1992.
|
| 231 |
+
[49] Jack W Rae, Anna Potapenko, Siddhant M Jayakumar, and Timothy P Lillicrap. Compressive transformers for long-range sequence modelling. arXiv preprint arXiv:1911.05507, 2019.
|
| 232 |
+
[50] Prajit Ramachandran, Niki Parmar, Ashish Vaswani, Irwan Bello, Anselm Levskaya, and Jonathon Shlens. Stand-alone self-attention in vision models. arXiv preprint arXiv:1906.05909, 2019.
|
| 233 |
+
[51] Aravind Srinivas, Tsung-Yi Lin, Niki Parmar, Jonathon Shlens, Pieter Abbeel, and Ashish Vaswani. Bottleneck transformers for visual recognition, 2021.
|
| 234 |
+
[52] Robin Strudel, Ricardo Garcia, Ivan Laptev, and Cordelia Schmid. Segmenter: Transformer for semantic segmentation. arXiv preprint arXiv:2105.05633, 2021.
|
| 235 |
+
[53] Ke Sun, Bin Xiao, Dong Liu, and Jingdong Wang. Deep high-resolution representation learning for human pose estimation. In CVPR, 2019.
|
| 236 |
+
[54] Mingxing Tan and Quoc Le. Efficientnet: Rethinking model scaling for convolutional neural networks. In International Conference on Machine Learning, pages 6105–6114. PMLR, 2019.
|
| 237 |
+
[55] Hugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa, Alexandre Sablayrolles, and Hervé Jégou. Training data-efficient image transformers & distillation through attention. arXiv preprint arXiv:2012.12877, 2020.
|
| 238 |
+
[56] Ashish Vaswani, Prajit Ramachandran, Aravind Srinivas, Niki Parmar, Blake Hechtman, and Jonathon Shlens. Scaling local self-attention for parameter efficient visual backbones. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 12894–12904, 2021.
|
| 239 |
+
[57] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In NeurIPS, 2017.
|
| 240 |
+
[58] Huiyu Wang, Yukun Zhu, Hartwig Adam, Alan Yuille, and Liang-Chieh Chen. Max-deeplab: End-to-end panoptic segmentation with mask transformers. arXiv preprint arXiv:2012.00759, 2020.
|
| 241 |
+
[59] Ning Wang, Wengang Zhou, Jie Wang, and Houqaing Li. Transformer meets tracker: Exploiting temporal context for robust visual tracking. arXiv preprint arXiv:2103.11681, 2021.
|
| 242 |
+
[60] Wenhai Wang, Enze Xie, Xiang Li, Deng-Ping Fan, Kaitao Song, Ding Liang, Tong Lu, Ping Luo, and Ling Shao. Pyramid vision transformer: A versatile backbone for dense prediction without convolutions. arXiv preprint arXiv:2102.12122, 2021.
|
| 243 |
+
[61] Xiaolong Wang, Ross Girshick, Abhinav Gupta, and Kaiming He. Non-local neural networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 7794–7803, 2018.
|
| 244 |
+
[62] Yuqing Wang, Zhaoliang Xu, Xinlong Wang, Chunhua Shen, Baoshan Cheng, Hao Shen, and Huaxia Xia. End-to-end video instance segmentation with transformers. arXiv preprint arXiv:2011.14503, 2020.
|
| 245 |
+
[63] Sanghyun Woo, Jongchan Park, Joon-Young Lee, and In So Kweon. Cbam: Convolutional block attention module. In Proceedings of the European conference on computer vision (ECCV), pages 3–19, 2018.
|
| 246 |
+
[64] Haiping Wu, Bin Xiao, Noel Codella, Mengchen Liu, Xiyang Dai, Lu Yuan, and Lei Zhang. Cvt: Introducing convolutions to vision transformers. arXiv preprint arXiv:2103.15808, 2021.
|
| 247 |
+
[65] Tete Xiao, Yingcheng Liu, Bolei Zhou, Yuning Jiang, and Jian Sun. Unified perceptual parsing for scene understanding. In Proceedings of the European Conference on Computer Vision (ECCV), pages 418–434, 2018.
|
| 248 |
+
[66] Enze Xie, Wenhai Wang, Zhiding Yu, Anima Anandkumar, Jose M. Alvarez, and Ping Luo. Segformer: Simple and efficient design for semantic segmentation with transformers, 2021.
|
| 249 |
+
[67] Saining Xie, Ross Girshick, Piotr Dollár, Zhuowen Tu, and Kaiming He. Aggregated residual transformations for deep neural networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 1492–1500, 2017.
|
| 250 |
+
[68] Jianwei Yang, Zhile Ren, Chuang Gan, Hongyuan Zhu, and Devi Parikh. Cross-channel communication networks. In Proceedings of the 33rd International Conference on Neural Information Processing Systems, pages 1297–1306, 2019.
|
| 251 |
+
[69] Minghao Yin, Zhuliang Yao, Yue Cao, Xiu Li, Zheng Zhang, Stephen Lin, and Han Hu. Disentangled non-local neural networks. In European Conference on Computer Vision, pages 191–207. Springer, 2020.
|
| 252 |
+
[70] Kun Yuan, Shaopeng Guo, Ziwei Liu, Aojun Zhou, Fengwei Yu, and Wei Wu. Incorporating convolution designs into visual transformers. arXiv preprint arXiv:2103.11816, 2021.
|
| 253 |
+
[71] Li Yuan, Yunpeng Chen, Tao Wang, Weihao Yu, Yujun Shi, Francis EH Tay, Jiashi Feng, and Shuicheng Yan. Tokens-to-token vit: Training vision transformers from scratch on imagenet. arXiv preprint arXiv:2101.11986, 2021.
|
| 254 |
+
[72] Li Yuan, Qibin Hou, Zihang Jiang, Jiashi Feng, and Shuicheng Yan. Volo: Vision outlooker for visual recognition. arXiv preprint arXiv:2106.13112, 2021.
|
| 255 |
+
[73] Yuhui Yuan, Xilin Chen, and Jingdong Wang. Object-contextual representations for semantic segmentation. arXiv preprint arXiv:1909.11065, 2019.
|
| 256 |
+
[74] Manzil Zaheer, Guru Guruganesh, Avinava Dubey, Joshua Ainslie, Chris Alberti, Santiago Ontanon, Philip Pham, Anirudh Ravula, Qifan Wang, Li Yang, et al. Big bird: Transformers for longer sequences. arXiv preprint arXiv:2007.14062, 2020.
|
| 257 |
+
[75] Hang Zhang, Chongruo Wu, Zhongyue Zhang, Yi Zhu, Haibin Lin, Zhi Zhang, Yue Sun, Tong He, Jonas Mueller, R Manmatha, et al. Resnest: Split-attention networks. arXiv preprint arXiv:2004.08955, 2020.
|
| 258 |
+
[76] Pengchuan Zhang, Xiyang Dai, Jianwei Yang, Bin Xiao, Lu Yuan, Lei Zhang, and Jianfeng Gao. Multiscale vision longformer: A new vision transformer for high-resolution image encoding. arXiv preprint arXiv:2103.15358, 2021.
|
| 259 |
+
[77] Wenwei Zhang, Jiangmiao Pang, Kai Chen, and Chen Change Loy. K-net: Towards unified image segmentation, 2021.
|
| 260 |
+
[78] Jiaojiao Zhao, Xinyu Li, Chunhui Liu, Shuai Bing, Hao Chen, Cees GM Snoek, and Joseph Tighe. Tuber: Tube-transformer for action detection. arXiv preprint arXiv:2104.00969, 2021.
|
| 261 |
+
[79] Minghang Zheng, Peng Gao, Xiaogang Wang, Hongsheng Li, and Hao Dong. End-to-end object detection with adaptive clustering transformer. arXiv preprint arXiv:2011.09315, 2020.
|
| 262 |
+
[80] Sixiao Zheng, Jiachen Lu, Hengshuang Zhao, Xiatian Zhu, Zekun Luo, Yabiao Wang, Yanwei Fu, Jianfeng Feng, Tao Xiang, Philip HS Torr, et al. Rethinking semantic segmentation from a sequence-to-sequence perspective with transformers. arXiv preprint arXiv:2012.15840, 2020.
|
| 263 |
+
[81] Sixiao Zheng, Jiachen Lu, Hengshuang Zhao, Xiatian Zhu, Zekun Luo, Yabiao Wang, Yanwei Fu, Jianfeng Feng, Tao Xiang, Philip HS Torr, et al. Rethinking semantic segmentation from a sequence-to-sequence perspective with transformers. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 6881–6890, 2021.
|
| 264 |
+
[82] Zhun Zhong, Liang Zheng, Guoliang Kang, Shaozi Li, and Yi Yang. Random erasing data augmentation. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pages 13001–13008, 2020.
|
| 265 |
+
[83] Bolei Zhou, Hang Zhao, Xavier Puig, Sanja Fidler, Adela Barriuso, and Antonio Torralba. Scene parsing through ade20k dataset. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 633–641, 2017.
|
| 266 |
+
[84] Xingyi Zhou, Vladlen Koltun, and Philipp Krähenbühl. Probabilistic two-stage detection. arXiv preprint arXiv:2103.07461, 2021.
|
| 267 |
+
[85] Xizhou Zhu, Weijie Su, Lewei Lu, Bin Li, Xiaogang Wang, and Jifeng Dai. Deformable detr: Deformable transformers for end-to-end object detection. arXiv preprint arXiv:2010.04159, 2020.
|
parse/train/2zCRcTafea/2zCRcTafea_content_list.json
ADDED
|
@@ -0,0 +1,1009 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"type": "text",
|
| 4 |
+
"text": "Focal Attention for Long-Range Interactions in Vision Transformers ",
|
| 5 |
+
"text_level": 1,
|
| 6 |
+
"bbox": [
|
| 7 |
+
215,
|
| 8 |
+
122,
|
| 9 |
+
784,
|
| 10 |
+
172
|
| 11 |
+
],
|
| 12 |
+
"page_idx": 0
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"type": "text",
|
| 16 |
+
"text": "Jianwei Yang1 Chunyuan $\\mathbf { L i } ^ { 1 }$ Pengchuan Zhang1 Xiyang Dai2 Bin Xiao2 Lu Yuan2 Jianfeng Gao1 1Microsoft Research at Redmond, 2Microsoft Cloud $^ +$ AI \n{jianwyan,chunyl,penzhan,xidai,bixi,luyuan,jfgao}@microsoft.com ",
|
| 17 |
+
"bbox": [
|
| 18 |
+
227,
|
| 19 |
+
219,
|
| 20 |
+
772,
|
| 21 |
+
280
|
| 22 |
+
],
|
| 23 |
+
"page_idx": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"type": "text",
|
| 27 |
+
"text": "Abstract ",
|
| 28 |
+
"text_level": 1,
|
| 29 |
+
"bbox": [
|
| 30 |
+
462,
|
| 31 |
+
314,
|
| 32 |
+
535,
|
| 33 |
+
330
|
| 34 |
+
],
|
| 35 |
+
"page_idx": 0
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"type": "text",
|
| 39 |
+
"text": "Recently, Vision Transformer and its variants have shown great promise on various computer vision tasks. The ability of capturing local and global visual dependencies through self-attention is the key to its success. However, this also brings challenges due to quadratic computational overhead, especially for the high-resolution vision tasks (e.g., object detection). Many recent works have attempted to reduce the cost and improve model performance by applying either coarse-grained global attention or fine-grained local attention. However, both approaches cripple the modeling power of the original self-attention mechanism of multi-layer Transformers, leading to sub-optimal solutions. In this paper, we present focal attention, a new attention mechanism that incorporates both fine-grained local and coarse-grained global interactions. In this new mechanism, each token attends its closest surrounding tokens at fine granularity and the tokens far away at coarse granularity, and thus can capture both short- and long-range visual dependencies efficiently and effectively. With focal attention, we build a new variant of Vision Transformer models, called Focal Transformers, which achieve superior performance over the state-of-theart (SoTA) Vision Transformers on a range of public image classification and object detection benchmarks. In particular, our Focal Transformer models with a moderate size of 51.1M and a large size of $8 9 . 8 \\mathbf { M }$ achieve $\\mathbf { 8 3 . 6 \\% }$ and $\\mathbf { 8 4 . 0 \\% }$ Top-1 accuracy, respectively, on ImageNet classification at $2 2 4 \\times 2 2 4$ . When employed as the backbones, Focal Transformers achieve consistent and substantial improvements over the current SoTA Swin Transformers [43] across 6 different object detection methods. Our largest Focal Transformer yields 58.7/59.0 box mAPs and 50.9/51.3 mask mAPs on COCO mini-val/test-dev, and 55.4 mIoU on ADE20K for semantic segmentation, creating new SoTA on three of the most challenging computer vision tasks. Our code is available at: https://github. com/microsoft/Focal-Transformer. ",
|
| 40 |
+
"bbox": [
|
| 41 |
+
232,
|
| 42 |
+
347,
|
| 43 |
+
764,
|
| 44 |
+
705
|
| 45 |
+
],
|
| 46 |
+
"page_idx": 0
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"type": "text",
|
| 50 |
+
"text": "1 Introduction ",
|
| 51 |
+
"text_level": 1,
|
| 52 |
+
"bbox": [
|
| 53 |
+
174,
|
| 54 |
+
731,
|
| 55 |
+
312,
|
| 56 |
+
747
|
| 57 |
+
],
|
| 58 |
+
"page_idx": 0
|
| 59 |
+
},
|
| 60 |
+
{
|
| 61 |
+
"type": "text",
|
| 62 |
+
"text": "Nowadays, Transformer [57] has become a prevalent model architecture in natural language processing (NLP) [20, 6]. In the light of its success in NLP, there is an increasing effort on adapting it to computer vision (CV) [47, 50]. Since its promise firstly demonstrated in Vision Transformer (ViT) [21], we have witnessed a flourish of full-Transformer models for image classification [55, 60, 64, 43, 76, 56], object detection [8, 85, 79, 18] and semantic segmentation [58, 62]. Beyond these static image tasks, it has also been applied on various temporal understanding tasks, such as action recognition [40, 78, 10], object tracking [13, 59], scene flow estimation [38]. ",
|
| 63 |
+
"bbox": [
|
| 64 |
+
174,
|
| 65 |
+
756,
|
| 66 |
+
826,
|
| 67 |
+
852
|
| 68 |
+
],
|
| 69 |
+
"page_idx": 0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"type": "text",
|
| 73 |
+
"text": "The self-attention mechanism is arguably the key component that differentiates Transformers from the widely used convolutional neural networks (CNNs) [37] in computer vision. At each Transformer layer, self-attention enables global content-dependent interactions among different image regions for modeling short- and long-range dependencies, respectively. Through the visualization of full selfattention results1, we indeed observe that self-attention learns to attend local surroundings (like CNNs) and the global contexts at the same time, as illustrated in Fig. 1 (Left). Nevertheless, when dealing with high-resolution vision tasks such as object detection or segmentation, an efficient implementation of a global and fine-grained self-attention becomes non-trivial due to the quadratic computational cost with respect to the number of tokens in feature maps. Recent works have alternatively exploited either a coarse-grained global self-attention [60, 64] or a fine-grained local self-attention [43, 76, 56], for the sake of reducing the computational cost. However, both approaches cripple the power of the original full self-attention i.e., the ability to simultaneously capture local and global visual dependencies. ",
|
| 74 |
+
"bbox": [
|
| 75 |
+
176,
|
| 76 |
+
858,
|
| 77 |
+
825,
|
| 78 |
+
901
|
| 79 |
+
],
|
| 80 |
+
"page_idx": 0
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"type": "image",
|
| 84 |
+
"img_path": "images/621f200345a7ebe619be7e8a0aedd96409fbf6fca08314c5e32fce4ac604fb01.jpg",
|
| 85 |
+
"image_caption": [
|
| 86 |
+
"Figure 1: Left: Visualization of the attention maps of the three heads at the given query patch (blue) in the first layer of the DeiT-Tiny model [55]. Right: An illustrative depiction of focal attention mechanism. Three granularity levels are used to compose the attention region for the blue query. "
|
| 87 |
+
],
|
| 88 |
+
"image_footnote": [],
|
| 89 |
+
"bbox": [
|
| 90 |
+
183,
|
| 91 |
+
95,
|
| 92 |
+
816,
|
| 93 |
+
223
|
| 94 |
+
],
|
| 95 |
+
"page_idx": 1
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"type": "text",
|
| 99 |
+
"text": "",
|
| 100 |
+
"bbox": [
|
| 101 |
+
174,
|
| 102 |
+
284,
|
| 103 |
+
825,
|
| 104 |
+
409
|
| 105 |
+
],
|
| 106 |
+
"page_idx": 1
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"type": "text",
|
| 110 |
+
"text": "In this paper, we present a new attention mechanism to capture both short- and long-range interactions in Transformer layers for high-resolution input images. Considering that the visual dependencies between the nearby (local) regions are usually much stronger than the dependencies between the regions that are far away, we perform the fine-grained attention only in local regions while the coarse-grained attention globally. As depicted in Fig. 1 (Right), a query token in the feature map attends its closest local surroundings at the finest granularity as itself. However, when it goes to the regions far away, it attends to summarized tokens to capture coarse-grained visual dependencies. We call this new mechanism focal attention, as each token attends the others in a focal manner. We will show in this study that focal attention allows to effectively model visual dependencies among all regions covering the whole high-resolution feature maps while introducing much less number of tokens in the computation than that in the standard self-attention mechanism. ",
|
| 111 |
+
"bbox": [
|
| 112 |
+
174,
|
| 113 |
+
415,
|
| 114 |
+
825,
|
| 115 |
+
566
|
| 116 |
+
],
|
| 117 |
+
"page_idx": 1
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"type": "text",
|
| 121 |
+
"text": "Equipped with focal attention, a series of Focal Transformers are developed and validated via a comprehensive empirical study across three core vision tasks, including image classification, object detection and segmentation. Results show that Focal Transformers consistently outperform the SoTA Vision Transformers across various settings (i.e., in model sizes and complexities). Notably, the small Focal Transformer with 51.1M parameters achieves $8 3 . 6 \\%$ top-1 accuracy on ImageNet-1K, and the base model with 89.8M parameters obtains $8 4 . 0 \\%$ top-1 accuracy. In the fine-tuning experiments for object detection, Focal Transformers consistently outperform the SoTA Swin Transformers [43] across six popular object detection methods. Our largest Focal Transformer model achieves 59.0 box mAP and 51.3 mask mAP on COCO test-dev for object detection and instance segmentation, respectively, and 55.4 mIoU on ADE20K for semantic segmentation. These results demonstrate that focal attention is highly effective in modeling the global interactions in Vision Transformers. ",
|
| 122 |
+
"bbox": [
|
| 123 |
+
174,
|
| 124 |
+
573,
|
| 125 |
+
825,
|
| 126 |
+
724
|
| 127 |
+
],
|
| 128 |
+
"page_idx": 1
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"type": "text",
|
| 132 |
+
"text": "2 Related work ",
|
| 133 |
+
"text_level": 1,
|
| 134 |
+
"bbox": [
|
| 135 |
+
174,
|
| 136 |
+
746,
|
| 137 |
+
316,
|
| 138 |
+
763
|
| 139 |
+
],
|
| 140 |
+
"page_idx": 1
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"type": "text",
|
| 144 |
+
"text": "Vision Transformers. Vision Transformer (ViT) is first introduced in [21]. It applies a standard Transformer, originally developed for NLP [57], to encode an image by analogously splitting the image into a sequence of visual tokens. It has demonstrated superior performance to CNNs such as ResNet [33] on multiple image classification benchmarks, when trained with sufficient data [21] and carefully designed data augmentation and regularization methods [55]. The results thus inspire researchers to explore the applications of ViT on various vision tasks beyond image classification, such as self-supervised learning [14, 9, 39], object detection [8, 85, 79, 18] and semantic segmentation [58, 62, 81]. There are also increasing number of studies for improving ViT via data-efficient training [55], improved patch embedding/encoding [16, 71, 31], integrating convolutional projections into transformers [64, 70], and using multi-scale architectures and efficient self-attention mechanisms for high-resolution vision tasks [60, 64, 43, 76, 15]. Recent surveys include [36, 30, 36]. This paper focuses on improving the self-attention mechanism of ViT for encoding high-resolution images. ",
|
| 145 |
+
"bbox": [
|
| 146 |
+
174,
|
| 147 |
+
772,
|
| 148 |
+
825,
|
| 149 |
+
883
|
| 150 |
+
],
|
| 151 |
+
"page_idx": 1
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"type": "image",
|
| 155 |
+
"img_path": "images/895ff52491908f44661414bd57eca7fc36f34ebd4f7c17cd1d28f3b83da587af.jpg",
|
| 156 |
+
"image_caption": [
|
| 157 |
+
"Figure 2: Model architecture for our Focal Transformers. As highlighted in light blue boxes, our main innovation is the proposed focal attention in each Transformer layer. "
|
| 158 |
+
],
|
| 159 |
+
"image_footnote": [],
|
| 160 |
+
"bbox": [
|
| 161 |
+
179,
|
| 162 |
+
90,
|
| 163 |
+
816,
|
| 164 |
+
273
|
| 165 |
+
],
|
| 166 |
+
"page_idx": 2
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"type": "text",
|
| 170 |
+
"text": "",
|
| 171 |
+
"bbox": [
|
| 172 |
+
174,
|
| 173 |
+
351,
|
| 174 |
+
825,
|
| 175 |
+
406
|
| 176 |
+
],
|
| 177 |
+
"page_idx": 2
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"type": "text",
|
| 181 |
+
"text": "Efficient global and local self-attention. In many real-world tasks, Transformers need to cope with a large number of input tokens, such as long documents in NLP and high-resolution images in computer vision (CV). Recently, many efficient self-attention mechanisms have been proposed to deal with the quadratic computational and memory cost incurred by the standard self-attention mechanism. On one hand, a number of works in both NLP and CV resort to coarse-grained global self-attention (i.e., attending the down-sampled or summarized tokens) to capture the long-range interactions [49, 46, 60, 64, 31, 23]. Although this approach improves the model efficiency, it loses the detailed context information surrounding the query tokens. On the other hand, to make the computational cost manageable, various local fine-grained attention mechanism (i.e., attending neighboring tokens within a pre-set window size) are used for both NLP [3, 74, 1] and CV [56, 43, 76]. In this paper, we argue that both global and local attentions are important for model performance. This is also validated by some recent studies that aim to improve CNNs by incorporating ways of modeling global attentions [35, 63, 61, 68, 2, 7, 51]. The standard self-attention mechanism used by ViT can indeed learned both types of attentions, as shown in Fig. 1 (Left). But it often incurs a prohibitively high cost for high-resolution images. To the best of our knowledge, the proposed focal attention provides the first mechanism to incorporate local and global attention in a single Transformer layer 2. It can capture both short- and long-range interactions as standard self-attention but in a much more efficient and effective way, especially for high-resolution images. ",
|
| 182 |
+
"bbox": [
|
| 183 |
+
173,
|
| 184 |
+
411,
|
| 185 |
+
825,
|
| 186 |
+
661
|
| 187 |
+
],
|
| 188 |
+
"page_idx": 2
|
| 189 |
+
},
|
| 190 |
+
{
|
| 191 |
+
"type": "text",
|
| 192 |
+
"text": "3 Method ",
|
| 193 |
+
"text_level": 1,
|
| 194 |
+
"bbox": [
|
| 195 |
+
174,
|
| 196 |
+
685,
|
| 197 |
+
269,
|
| 198 |
+
703
|
| 199 |
+
],
|
| 200 |
+
"page_idx": 2
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"type": "text",
|
| 204 |
+
"text": "3.1 Model architecture ",
|
| 205 |
+
"text_level": 1,
|
| 206 |
+
"bbox": [
|
| 207 |
+
174,
|
| 208 |
+
713,
|
| 209 |
+
346,
|
| 210 |
+
728
|
| 211 |
+
],
|
| 212 |
+
"page_idx": 2
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"type": "text",
|
| 216 |
+
"text": "To accommodate high-resolution dense prediction tasks, we employ a multi-scale model architecture as in [60, 76, 43]. As shown in Fig. 2, an image $I \\in \\mathcal { R } ^ { H \\times W \\times 3 }$ is first partitioned into patches of size $4 \\times 4$ , resulting in ${ \\frac { H } { 4 } } \\times { \\frac { W } { 4 } }$ visual tokens with dimension $4 \\times 4 \\times 3$ . Then, we use a patch embedding layer, consisting of a convolutional layer with filter size and stride both equal to 4, to project these patches into hidden features with dimension $d$ . We then pass this spatial feature map to the four stages of Focal Transformer blocks. In each stage $i \\in \\{ 1 , 2 , 3 , 4 \\}$ , the Focal Transformer block consists of $N _ { i }$ Focal Transformer layers. After each stage, we use a patch embedding layer to reduce the spatial size of feature map by factor 2 and increase the feature dimension by 2. For image classification tasks, we take the average of the output from the last stage and send it to a classification layer. For object detection, the feature maps from the last 3 or all 4 stages are fed to a particular object detector head, depending on the specific detection method we choose to use. The model capacity can be customized by varying the input feature dimension $d$ and the number of Focal Transformer layers. ",
|
| 217 |
+
"bbox": [
|
| 218 |
+
173,
|
| 219 |
+
739,
|
| 220 |
+
825,
|
| 221 |
+
878
|
| 222 |
+
],
|
| 223 |
+
"page_idx": 2
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"type": "text",
|
| 227 |
+
"text": "",
|
| 228 |
+
"bbox": [
|
| 229 |
+
171,
|
| 230 |
+
90,
|
| 231 |
+
823,
|
| 232 |
+
119
|
| 233 |
+
],
|
| 234 |
+
"page_idx": 3
|
| 235 |
+
},
|
| 236 |
+
{
|
| 237 |
+
"type": "text",
|
| 238 |
+
"text": "Standard self-attention can capture both short- and long-range interactions at fine-grain, but suffers from high computational cost when it performs attention on high-resolution feature maps as noted in [76]. Take stage 1 in Fig. 2 as an example. For a feature map of size ${ \\frac { H } { 4 } } \\times { \\frac { W } { 4 } } \\times d$ , the complexity of self-attention is $\\begin{array} { r } { \\mathcal { O } ( ( \\frac { H } { 4 } \\times \\frac { W } { 4 } ) ^ { 2 } d ) } \\end{array}$ , resulting in an explosion of time and memory cost, considering that $\\operatorname* { m i n } ( H , W )$ could be 800 or even larger for object detection. In the next section, we describe how we address this issue with the proposed focal attention mechanism. ",
|
| 239 |
+
"bbox": [
|
| 240 |
+
174,
|
| 241 |
+
126,
|
| 242 |
+
825,
|
| 243 |
+
212
|
| 244 |
+
],
|
| 245 |
+
"page_idx": 3
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"type": "text",
|
| 249 |
+
"text": "3.2 Token-wise focal attention ",
|
| 250 |
+
"text_level": 1,
|
| 251 |
+
"bbox": [
|
| 252 |
+
174,
|
| 253 |
+
227,
|
| 254 |
+
395,
|
| 255 |
+
242
|
| 256 |
+
],
|
| 257 |
+
"page_idx": 3
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"type": "text",
|
| 261 |
+
"text": "Focal attention is proposed to make the Transformer layers suitable for encoding high-resolution input images. Instead of attending all tokens at fine-grain, we attend the fine-grain tokens only locally, but the summarized ones (i.e., the coarse-grained tokens generated by sub-window pooling, which is illustrated in Fig. 4 and will be described later) globally. As such, focal attention can cover the same amount of image regions as standard self-attention but with much less cost. In Fig. 3, we show the size of the receptive field for standard self-attention and our focal attention as a function of the number of attended tokens. For a given query position, by reducing the granularity of its surroundings based on their distance to the query, focal attention can have significantly larger receptive fields at the same cost measured by the number of visual tokens, compared to the standard self-attention mechanism. ",
|
| 262 |
+
"bbox": [
|
| 263 |
+
174,
|
| 264 |
+
253,
|
| 265 |
+
549,
|
| 266 |
+
473
|
| 267 |
+
],
|
| 268 |
+
"page_idx": 3
|
| 269 |
+
},
|
| 270 |
+
{
|
| 271 |
+
"type": "image",
|
| 272 |
+
"img_path": "images/bf6a6de3b259a05fb0ac374d04a980cb6b72063e837f8ca7329f069632ea03a7.jpg",
|
| 273 |
+
"image_caption": [
|
| 274 |
+
"Figure 3: The size of receptive field (yaxis) as a function of the number of used visual tokens $\\mathbf { \\bar { x } }$ -axis) in regular (standard) self-attention and focal attention. When plotting the curve for focal attention, we increase the focal window size by 2 for each focal level up to the maximal window size of 8. "
|
| 275 |
+
],
|
| 276 |
+
"image_footnote": [],
|
| 277 |
+
"bbox": [
|
| 278 |
+
560,
|
| 279 |
+
253,
|
| 280 |
+
812,
|
| 281 |
+
343
|
| 282 |
+
],
|
| 283 |
+
"page_idx": 3
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"type": "text",
|
| 287 |
+
"text": "Theoretically, the focal attention mechanism enables global interaction with much less time and memory cost, because it attends a much smaller number of surrounding (summarized) tokens. In practice, however, extracting the surrounding tokens for each query position could incur high time cost since we need to duplicate the extraction of each token for all queries that the token surrounds. This issue had been extensively discussed in [56, 76, 43] and a common solution is to partition the input feature map into windows. Thus, in our Focal Transformers, we resort to performing focal attention at the window level. We elaborate the window-wise focal attention in the following. ",
|
| 288 |
+
"bbox": [
|
| 289 |
+
173,
|
| 290 |
+
479,
|
| 291 |
+
825,
|
| 292 |
+
577
|
| 293 |
+
],
|
| 294 |
+
"page_idx": 3
|
| 295 |
+
},
|
| 296 |
+
{
|
| 297 |
+
"type": "text",
|
| 298 |
+
"text": "3.2.1 Window-wise focal attention ",
|
| 299 |
+
"text_level": 1,
|
| 300 |
+
"bbox": [
|
| 301 |
+
174,
|
| 302 |
+
590,
|
| 303 |
+
423,
|
| 304 |
+
604
|
| 305 |
+
],
|
| 306 |
+
"page_idx": 3
|
| 307 |
+
},
|
| 308 |
+
{
|
| 309 |
+
"type": "text",
|
| 310 |
+
"text": "Given a feature map of $\\boldsymbol { x } \\in \\mathcal { R } ^ { M \\times N \\times d }$ with spatial size $M \\times N$ , we first partition it into a grid of windows of size $s _ { p } \\times s _ { p }$ . Then, we extract the surroundings for each window rather than each individual token. The proposed window-wise focal attention is illustrated in Fig. 4. To clarify, we first define three terms: ",
|
| 311 |
+
"bbox": [
|
| 312 |
+
174,
|
| 313 |
+
613,
|
| 314 |
+
825,
|
| 315 |
+
670
|
| 316 |
+
],
|
| 317 |
+
"page_idx": 3
|
| 318 |
+
},
|
| 319 |
+
{
|
| 320 |
+
"type": "text",
|
| 321 |
+
"text": "• Focal level $L$ refers to the granularity level at which we extract the tokens for focal attention. \n• Focal window size $s _ { w } ^ { l }$ is the size of sub-window on which the summarized tokens are formed via \nsub-window pooling at granularity level of $l \\in \\{ 1 , . . . , L \\}$ . \n• Focal region size $s _ { r } ^ { l }$ denotes the number of sub-windows that are filled up horizontally (or vertically) in an attended region at level $l$ . ",
|
| 322 |
+
"bbox": [
|
| 323 |
+
174,
|
| 324 |
+
676,
|
| 325 |
+
826,
|
| 326 |
+
747
|
| 327 |
+
],
|
| 328 |
+
"page_idx": 3
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"type": "text",
|
| 332 |
+
"text": "Now, we detail how window-wise focal attention works in the following two steps, sub-window pooling and attention computing. ",
|
| 333 |
+
"bbox": [
|
| 334 |
+
171,
|
| 335 |
+
752,
|
| 336 |
+
823,
|
| 337 |
+
782
|
| 338 |
+
],
|
| 339 |
+
"page_idx": 3
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"type": "text",
|
| 343 |
+
"text": "Sub-window pooling. Consider input feature map $\\boldsymbol { x } \\in \\mathcal { R } ^ { M \\times N \\times d }$ , where $M \\times N$ is the spatial dimension and $d$ the feature dimension. We perform sub-window pooling for all $L$ levels. At focal level $l$ , we first split the input feature map $x$ into a grid of sub-windows with size $s _ { w } ^ { l } \\times s _ { w } ^ { l }$ . Then we use a linear projection layer $f _ { p } ^ { l }$ to pool the sub-windows spatially by ",
|
| 344 |
+
"bbox": [
|
| 345 |
+
174,
|
| 346 |
+
786,
|
| 347 |
+
825,
|
| 348 |
+
845
|
| 349 |
+
],
|
| 350 |
+
"page_idx": 3
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"type": "equation",
|
| 354 |
+
"img_path": "images/2a14e2c3c947dc9cd476c4ca7ba03d6c99cd76f5d3158e8561986ada02fbfb84.jpg",
|
| 355 |
+
"text": "$$\n\\begin{array} { r } { x ^ { l } = f _ { p } ^ { l } ( \\hat { x } ) \\in \\mathcal { R } ^ { \\frac { M } { s _ { w } ^ { l } } \\times \\frac { N } { s _ { w } ^ { l } } \\times d } , \\quad \\hat { x } = \\mathrm { R e s h a p e } ( x ) \\in \\mathcal { R } ^ { ( \\frac { M } { s _ { w } ^ { l } } \\times \\frac { N } { s _ { w } ^ { l } } \\times d ) \\times ( s _ { w } ^ { l } \\times s _ { w } ^ { l } ) } . } \\end{array}\n$$",
|
| 356 |
+
"text_format": "latex",
|
| 357 |
+
"bbox": [
|
| 358 |
+
272,
|
| 359 |
+
848,
|
| 360 |
+
723,
|
| 361 |
+
871
|
| 362 |
+
],
|
| 363 |
+
"page_idx": 3
|
| 364 |
+
},
|
| 365 |
+
{
|
| 366 |
+
"type": "text",
|
| 367 |
+
"text": "The pooled feature maps $\\{ x ^ { l } \\} _ { 1 } ^ { L }$ at different levels $l$ provide rich information at both fine-grain and coarse-grain. Since we set $s _ { w } ^ { l } = 1$ for the first focal level which has the same granularity as the input ",
|
| 368 |
+
"bbox": [
|
| 369 |
+
174,
|
| 370 |
+
881,
|
| 371 |
+
821,
|
| 372 |
+
912
|
| 373 |
+
],
|
| 374 |
+
"page_idx": 3
|
| 375 |
+
},
|
| 376 |
+
{
|
| 377 |
+
"type": "image",
|
| 378 |
+
"img_path": "images/8d7c5bc6d5803f11463c3ab8656b31fec8dbb82ddb891bec59961a9ad98dfe04.jpg",
|
| 379 |
+
"image_caption": [
|
| 380 |
+
"Figure 4: An illustration of focal attention at window level. Each of the square cells represents a visual token that is either from the original feature map or a summarized token formed by sub-window pooling. Suppose we have an input feature map of size $2 0 \\times 2 0$ . We first partition it into $5 \\times 5$ windows of size $4 \\times 4$ . Take the $4 \\times 4$ blue window in the middle as the query set, we extract its surrounding tokens at three granularity levels as its keys and values. For the first level, we extract the $8 \\times 8$ tokens which are closest to the blue window at the finest grain. At the second level, we expand the attention region and pool the surrounding $2 \\times 2$ sub-windows to form summarized tokens, which results in $6 \\times 6$ summarized tokens. At the third level, we attend a larger region covering the whole feature map and pool $4 \\times 4$ sub-windows, which leads to $5 \\times 5$ summarized tokens. Finally, these three levels of tokens are concatenated to compute the keys and values for the $4 \\times 4 = 1 6$ tokens (queries) in the blue window. "
|
| 381 |
+
],
|
| 382 |
+
"image_footnote": [],
|
| 383 |
+
"bbox": [
|
| 384 |
+
194,
|
| 385 |
+
92,
|
| 386 |
+
808,
|
| 387 |
+
292
|
| 388 |
+
],
|
| 389 |
+
"page_idx": 4
|
| 390 |
+
},
|
| 391 |
+
{
|
| 392 |
+
"type": "text",
|
| 393 |
+
"text": "feature map, there is no need to perform any sub-window pooling. Considering that the focal window size is usually very small (7 maximally in our settings), the number of extra parameters introduced by sub-window pooling is negligible. ",
|
| 394 |
+
"bbox": [
|
| 395 |
+
174,
|
| 396 |
+
472,
|
| 397 |
+
825,
|
| 398 |
+
513
|
| 399 |
+
],
|
| 400 |
+
"page_idx": 4
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"type": "text",
|
| 404 |
+
"text": "Attention computing. Once we obtain the pooled feature maps $\\{ x ^ { l } \\} _ { 1 } ^ { L }$ at all $L$ levels, we compute the query at the first level, and key and value for all levels using three linear projection layers $f _ { q } , f _ { k }$ and $f _ { v }$ , respectively, as ",
|
| 405 |
+
"bbox": [
|
| 406 |
+
174,
|
| 407 |
+
520,
|
| 408 |
+
825,
|
| 409 |
+
563
|
| 410 |
+
],
|
| 411 |
+
"page_idx": 4
|
| 412 |
+
},
|
| 413 |
+
{
|
| 414 |
+
"type": "equation",
|
| 415 |
+
"img_path": "images/adc5271b876d4969c2420a5cdd389cd1720ece17ee5092a72df5a2920aba267f.jpg",
|
| 416 |
+
"text": "$$\nQ = f _ { q } ( x ^ { 1 } ) , \\quad K = \\{ K ^ { l } \\} _ { 1 } ^ { L } = f _ { k } ( \\{ x ^ { 1 } , . . . , x ^ { L } \\} ) , \\quad V = \\{ V ^ { l } \\} _ { 1 } ^ { L } = f _ { v } ( \\{ x ^ { 1 } , . . . , x ^ { L } \\} ) .\n$$",
|
| 417 |
+
"text_format": "latex",
|
| 418 |
+
"bbox": [
|
| 419 |
+
240,
|
| 420 |
+
569,
|
| 421 |
+
758,
|
| 422 |
+
588
|
| 423 |
+
],
|
| 424 |
+
"page_idx": 4
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"type": "text",
|
| 428 |
+
"text": "To perform focal attention, we need to first extract the surrounding tokens for each query token in the feature map. As mentioned earlier, tokens inside a window partition $s _ { p } \\times s _ { p }$ share the same set of surroundings. For the queries inside the $i$ -th window $Q _ { i } \\in \\mathcal { R } ^ { s _ { p } \\times s _ { p } \\times d }$ , we extract the $s _ { r } ^ { l } \\times s _ { r } ^ { l }$ keys and values from $K ^ { l }$ and $V ^ { l }$ surrounding the window which the query lies in, and then gather the keys and values from all $L$ levels to obtain $\\breve { K } _ { i } = \\{ K _ { i } ^ { 1 } , . . . , K _ { i } ^ { L } \\} \\in \\mathscr { R } ^ { \\bar { s } \\times d }$ and $V _ { i } = \\{ V _ { i } ^ { 1 } , . . . , \\mathbf { \\bar { V } } _ { i } ^ { L } \\} \\in \\mathcal { R } ^ { s \\times d }$ , where imple $s$ is the sum of focal regions from all levels, i.e., ntation of focal attention following Fig. 1 requires $\\begin{array} { r } { s = \\sum _ { l = 1 } ^ { L } ( s _ { r } ^ { l } ) ^ { 2 } } \\end{array}$ . Note that a canonicalverlapped regions across different levels. In our implementation, we intentionally keep them in order to capture the pyramid information for the overlapped regions. Finally, we follow [43] to include a relative position bias and compute the focal attention for $Q _ { i }$ by ",
|
| 429 |
+
"bbox": [
|
| 430 |
+
173,
|
| 431 |
+
602,
|
| 432 |
+
826,
|
| 433 |
+
747
|
| 434 |
+
],
|
| 435 |
+
"page_idx": 4
|
| 436 |
+
},
|
| 437 |
+
{
|
| 438 |
+
"type": "equation",
|
| 439 |
+
"img_path": "images/a272e4bce5871346781b2ad83e37e4087f5507b82017abb37846d96c857a7475.jpg",
|
| 440 |
+
"text": "$$\n\\mathrm { A t t e n t i o n } ( Q _ { i } , K _ { i } , V _ { i } ) = \\mathrm { S o f t m a x } ( \\frac { Q _ { i } K _ { i } ^ { T } } { \\sqrt { d } } + B ) V _ { i } ,\n$$",
|
| 441 |
+
"text_format": "latex",
|
| 442 |
+
"bbox": [
|
| 443 |
+
343,
|
| 444 |
+
755,
|
| 445 |
+
651,
|
| 446 |
+
786
|
| 447 |
+
],
|
| 448 |
+
"page_idx": 4
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"type": "text",
|
| 452 |
+
"text": "where $B = \\{ B ^ { l } \\} _ { 1 } ^ { L }$ is the learnable relative position bias. It consists of $L$ subsets for $L$ focal levels. Similar to [43], for the first level, we parameterize it as $B ^ { 1 } \\in \\mathcal { R } ^ { ( 2 s _ { p } - 1 ) \\times ( 2 s _ { p } - 1 ) }$ , considering that the horizontal and vertical position ranges are both in $[ - s _ { p } + 1 , s _ { p } - 1 ]$ . For the other focal levels, considering that they have different granularity with respect to the queries, we treat all the queries inside a window equally and use $B ^ { l } \\in \\mathcal { R } ^ { s _ { r } ^ { l } \\times s _ { r } ^ { l } }$ to represent the relative position bias between the query window and each of $s _ { r } ^ { l } \\times s _ { r } ^ { l }$ summarized tokens. Since the focal attention for each window can be performed independent of the others, we can compute Eq. (3) in parallel. Once we obtain attention scores for the whole input feature map, we send them to LayerNorm and the MLP block. ",
|
| 453 |
+
"bbox": [
|
| 454 |
+
173,
|
| 455 |
+
794,
|
| 456 |
+
826,
|
| 457 |
+
912
|
| 458 |
+
],
|
| 459 |
+
"page_idx": 4
|
| 460 |
+
},
|
| 461 |
+
{
|
| 462 |
+
"type": "table",
|
| 463 |
+
"img_path": "images/2e084ddc28027667351980bf367187c19e42a436814641051a239edbb9b8f4a0.jpg",
|
| 464 |
+
"table_caption": [],
|
| 465 |
+
"table_footnote": [
|
| 466 |
+
"Table 1: Model configurations for Focal Transformers. We use three configurations with different model capacities: Focal-Tiny, Focal-Small and Focal-Base. "
|
| 467 |
+
],
|
| 468 |
+
"table_body": "<table><tr><td></td><td>Output Size</td><td>Layer Name</td><td>Focal-Tiny</td><td></td><td>Focal-Small</td><td></td><td>Focal-Base</td><td></td></tr><tr><td rowspan=\"2\">stage 1</td><td>56×56</td><td>Patch Embedding</td><td>p1= 4;c1 = 96</td><td></td><td>p1=4;c1= 96</td><td></td><td>p1 = 4;c1 = 128</td><td></td></tr><tr><td>56×56</td><td>Transformer Block</td><td>{1,13} 三 s={7,7</td><td>×2</td><td>二 {1,13} ={7,7}</td><td>×2</td><td>{1,13} ={7,7}</td><td>×2</td></tr><tr><td rowspan=\"2\">stage 2</td><td>28×28</td><td>Patch Embedding</td><td>P2=2;c=192</td><td></td><td>P2=2;C=192</td><td></td><td>P2=2;C= 256</td><td></td></tr><tr><td>28×28</td><td>Transformer Block</td><td>{1,13} 三 swr={7,5} 1</td><td>×2</td><td>={1,13} sw,r={7,5} 1</td><td>×2</td><td>{1,13} 二 su,r={7,5}</td><td>×2</td></tr><tr><td rowspan=\"2\">stage 3</td><td>14 × 14</td><td>Patch Embedding</td><td>p3=2;c3=384</td><td></td><td>p3=2; c3= 384</td><td></td><td>p3=2; c3= 512</td><td></td></tr><tr><td>14 × 14</td><td>Transformer Block</td><td>={1,13} s={7,3}</td><td>×6</td><td>={1,13} ={7,3}</td><td>×18</td><td>={1,13} ={7,3}</td><td>×18</td></tr><tr><td rowspan=\"2\">stage 4</td><td>7×7</td><td>Patch Embedding</td><td>P4=2;C4=768</td><td></td><td>P4=2;C4=768</td><td></td><td>P4= 2;C4=1024</td><td></td></tr><tr><td>7×7</td><td>Transformer Block</td><td>二 {1,7}</td><td>×2</td><td>{1,7} s 三 ={7,1}</td><td>×2</td><td>二 {1,7} su,r {7,1} 二</td><td>×2</td></tr></table>",
|
| 469 |
+
"bbox": [
|
| 470 |
+
178,
|
| 471 |
+
88,
|
| 472 |
+
810,
|
| 473 |
+
311
|
| 474 |
+
],
|
| 475 |
+
"page_idx": 5
|
| 476 |
+
},
|
| 477 |
+
{
|
| 478 |
+
"type": "text",
|
| 479 |
+
"text": "3.2.2 Complexity analysis ",
|
| 480 |
+
"text_level": 1,
|
| 481 |
+
"bbox": [
|
| 482 |
+
174,
|
| 483 |
+
358,
|
| 484 |
+
366,
|
| 485 |
+
372
|
| 486 |
+
],
|
| 487 |
+
"page_idx": 5
|
| 488 |
+
},
|
| 489 |
+
{
|
| 490 |
+
"type": "text",
|
| 491 |
+
"text": "We analyze the computational complexity for the two steps of focal attention described above. For the input feature map $\\dot { \\boldsymbol { x } } \\in \\mathcal { R } ^ { M \\times N \\times d }$ , we have $\\begin{array} { r } { \\frac { M } { s _ { w } ^ { l } } \\times \\frac { N } { s _ { w } ^ { l } } } \\end{array}$ sub-windows at focal level l. For each sub-window, the pooling operation in Eq.1 has the complexity of $\\mathcal { O } ( ( s _ { w } ^ { l } ) ^ { 2 } d )$ . Aggregating all sub-windows brings us $O ( ( M N ) d )$ . Then for all focal levels, we have the complexity of $\\mathcal { O } ( L ( M N ) d )$ in total, which is independent of the sub-window size at each focal level. Regarding the attention computation in Eq. 3, the computational cost for a query window $s _ { p } \\times s _ { p }$ is $\\mathcal { O } ( ( s _ { p } ) ^ { 2 } \\textstyle \\sum _ { l } ( s _ { r } ^ { l } ) ^ { 2 } d )$ , and $\\mathcal { O } ( \\dot { \\sum } _ { l } ( s _ { r } ^ { l } ) ^ { 2 } ( M \\dot { N } ) d )$ for the whole input feature map. To sum up, the overall computational cost for focal attention is $\\begin{array} { r } { \\mathcal { O } ( ( L + \\sum _ { l } ( s _ { r } ^ { l } ) ^ { \\bar { 2 } } ) ( M N ) d ) } \\end{array}$ . In an extreme case, one can set $s _ { r } ^ { \\hat { L } } = 2 \\times \\operatorname* { m a x } ( M , N ) / s _ { w } ^ { L }$ to ensure a global receptive field for all queries (including both corner and middle queries) in this layer. ",
|
| 492 |
+
"bbox": [
|
| 493 |
+
173,
|
| 494 |
+
375,
|
| 495 |
+
825,
|
| 496 |
+
505
|
| 497 |
+
],
|
| 498 |
+
"page_idx": 5
|
| 499 |
+
},
|
| 500 |
+
{
|
| 501 |
+
"type": "text",
|
| 502 |
+
"text": "3.3 Model configurations ",
|
| 503 |
+
"text_level": 1,
|
| 504 |
+
"bbox": [
|
| 505 |
+
174,
|
| 506 |
+
522,
|
| 507 |
+
361,
|
| 508 |
+
537
|
| 509 |
+
],
|
| 510 |
+
"page_idx": 5
|
| 511 |
+
},
|
| 512 |
+
{
|
| 513 |
+
"type": "text",
|
| 514 |
+
"text": "For fair comparison, we consider three network configurations for Focal Transformers, following [60, 64, 43]. Specifically, we follow the design of the Tiny, Small and Base models in Swin Transformer [43], as shown in Table 1. Our models take $2 2 4 \\times 2 2 4$ images as inputs and the window partition size is set to 7 to make our models comparable to Swin Transformers. For the focal attention layer, we introduce two levels, one for fine-grained local attention and the other for coarse-grained global attention. Except for the last stage, the focal region size is set to 13 for the window partition size of 7, which means that we expand 3 tokens for each window partition. For the last stage, since the whole feature map is $7 \\times 7$ , the focal region size at level 0 is set to 7, which is sufficient to cover the entire feature map. For the coarse-grained global attention, we set its focal window size the same as the window partition size 7, but gradually decrease the focal region size to get $\\{ 7 , 5 , 3 , 1 \\}$ for the four stages, respectively. For the patch embedding layer, the spatial reduction ratio $p _ { i }$ for the four stages are all $\\{ 4 , 2 , 2 , 2 \\}$ . Note that Focal-Base has a higher hidden dimension $c _ { i }$ , compared to Focal-Tiny and Focal-Small. ",
|
| 515 |
+
"bbox": [
|
| 516 |
+
173,
|
| 517 |
+
541,
|
| 518 |
+
825,
|
| 519 |
+
720
|
| 520 |
+
],
|
| 521 |
+
"page_idx": 5
|
| 522 |
+
},
|
| 523 |
+
{
|
| 524 |
+
"type": "text",
|
| 525 |
+
"text": "4 Experiments ",
|
| 526 |
+
"text_level": 1,
|
| 527 |
+
"bbox": [
|
| 528 |
+
174,
|
| 529 |
+
742,
|
| 530 |
+
312,
|
| 531 |
+
760
|
| 532 |
+
],
|
| 533 |
+
"page_idx": 5
|
| 534 |
+
},
|
| 535 |
+
{
|
| 536 |
+
"type": "text",
|
| 537 |
+
"text": "4.1 Image classification on ImageNet-1K ",
|
| 538 |
+
"text_level": 1,
|
| 539 |
+
"bbox": [
|
| 540 |
+
174,
|
| 541 |
+
767,
|
| 542 |
+
467,
|
| 543 |
+
782
|
| 544 |
+
],
|
| 545 |
+
"page_idx": 5
|
| 546 |
+
},
|
| 547 |
+
{
|
| 548 |
+
"type": "text",
|
| 549 |
+
"text": "We compare different methods on ImageNet-1K [19]. For fair comparison, we follow the training recipes in [55, 60]. All models are trained for 300 epochs with batch size 1024. The initial learning rate is set to $1 0 ^ { - 3 }$ with 20 epochs of linear warm-up starting from $1 0 ^ { - 5 }$ . For optimization, we use AdamW [44] as the optimizer with a cosine learning rate scheduler. The weight decay is set to 0.05 and the maximal gradient norm is clipped to 5.0. We use the same set of data augmentation and regularization strategies used in [55] after excluding random erasing [82], repeated augmentation [4, 34] and exponential moving average (EMA) [48]. The stochastic depth drop rates are set to 0.2, 0.2 and 0.3 for our tiny, small and base models, respectively. During training, we crop images randomly to $2 2 4 \\times 2 2 4$ , while a center crop is used during evaluation on the validation set. ",
|
| 550 |
+
"bbox": [
|
| 551 |
+
174,
|
| 552 |
+
786,
|
| 553 |
+
825,
|
| 554 |
+
911
|
| 555 |
+
],
|
| 556 |
+
"page_idx": 5
|
| 557 |
+
},
|
| 558 |
+
{
|
| 559 |
+
"type": "table",
|
| 560 |
+
"img_path": "images/9f9cf0ebeecc16dfc400d5f622af2df25d867b1a4030e821ba17190b276a552a.jpg",
|
| 561 |
+
"table_caption": [],
|
| 562 |
+
"table_footnote": [
|
| 563 |
+
"Table 2: Comparison of image classification on ImageNet-1K for different models. Except for ViT-Base/16, all other models are trained and evaluated on $2 2 4 \\times 2 2 4$ resolution. "
|
| 564 |
+
],
|
| 565 |
+
"table_body": "<table><tr><td>Model</td><td>#Params. FLOPs</td><td>Top-1 (%)</td></tr><tr><td>ResNet-50 [33]</td><td>25.0 4.1</td><td>76.2</td></tr><tr><td>DeiT-Small/16 [55]</td><td>22.1 4.6</td><td>79.9</td></tr><tr><td>PVT-Small [60]</td><td>24.5 3.8</td><td>79.8</td></tr><tr><td>ViL-Small [76]</td><td>24.6 5.1</td><td>82.0</td></tr><tr><td>CvT-13 [64]</td><td>20.0 4.5</td><td>81.6</td></tr><tr><td>Swin-Tiny [43]</td><td>28.3 4.5</td><td>81.2</td></tr><tr><td>Focal-Tiny (Ours)</td><td>28.9 4.9</td><td>82.2</td></tr><tr><td>ResNet-101[33]</td><td>45.0 7.9</td><td>77.4</td></tr><tr><td>PVT-Medium [60]</td><td>44.2 6.7</td><td>81.2</td></tr><tr><td>CvT-21 [64]</td><td>32.0 7.1</td><td>82.5</td></tr><tr><td>ViL-Medium [76]</td><td>39.7 9.1</td><td>83.3</td></tr><tr><td>Swin-Small [43]</td><td>49.6 8.7</td><td>83.1</td></tr><tr><td>Focal-Small (Ours)</td><td>51.1 9.4</td><td>83.6</td></tr><tr><td>ResNet-152[33]</td><td>60.0 11.0</td><td>78.3</td></tr><tr><td>ViT-Base/16 [21]</td><td>86.6 17.6</td><td>77.9</td></tr><tr><td>DeiT-Base/16 [55]</td><td>17.5</td><td>81.8</td></tr><tr><td></td><td>86.6</td><td></td></tr><tr><td>PVT-Large [60]</td><td>61.4 9.8</td><td>81.7</td></tr><tr><td>ViL-Base[76]</td><td>55.7 13.4</td><td>83.2</td></tr><tr><td>Swin-Base [43]</td><td>87.8 15.4</td><td>83.4</td></tr><tr><td>Focal-Base (Ours)</td><td>89.8</td><td>16.4 84.0</td></tr></table>",
|
| 566 |
+
"bbox": [
|
| 567 |
+
179,
|
| 568 |
+
88,
|
| 569 |
+
457,
|
| 570 |
+
347
|
| 571 |
+
],
|
| 572 |
+
"page_idx": 6
|
| 573 |
+
},
|
| 574 |
+
{
|
| 575 |
+
"type": "table",
|
| 576 |
+
"img_path": "images/2eccde7cb9cd36279d6f0e1059ce2743dcec73d9f7583e972b12720e375f7d35.jpg",
|
| 577 |
+
"table_caption": [
|
| 578 |
+
"Table 3: Comparisons with CNN and Transformer baselines and SoTA methods on COCO object detection. The box mAP $( A P ^ { b } )$ and mask mAP $( A P ^ { m } )$ are reported for RetinaNet and Mask R-CNN trained with $1 \\times$ schedule. More detailed comparisons with $3 \\times$ schedule are in Table 4. "
|
| 579 |
+
],
|
| 580 |
+
"table_footnote": [],
|
| 581 |
+
"table_body": "<table><tr><td rowspan=\"2\">Backbone</td><td>RetinaNet</td><td>Mask R-CNN</td><td></td></tr><tr><td>APb</td><td>Apb</td><td>APm</td></tr><tr><td>ResNet-50 [33]</td><td>36.3</td><td>38.0</td><td>34.4</td></tr><tr><td>PVT-Small</td><td>40.4</td><td>40.4</td><td>37.8</td></tr><tr><td>ViL-Small [76]</td><td>41.6</td><td>41.8</td><td>38.5</td></tr><tr><td>Swin-Tiny [43]</td><td>42.0</td><td>43.7</td><td>39.8</td></tr><tr><td>Focal-Tiny (Ours)</td><td>43.7 (+1.7)</td><td>44.8 (+1.1)</td><td> 41.0 (+1.3)</td></tr><tr><td>ResNet-101[33]</td><td>38.5</td><td>40.4</td><td>36.4</td></tr><tr><td>ResNeXt101-32x4d [67]</td><td>39.9</td><td>41.9</td><td>37.5</td></tr><tr><td>PVT-Medium [60]</td><td>41.9</td><td>42.0</td><td>39.0</td></tr><tr><td>ViL-Medium [76]</td><td>42.9</td><td>43.4</td><td>39.7</td></tr><tr><td>Swin-Small [43]</td><td>45.0</td><td>46.5</td><td>42.1</td></tr><tr><td>Focal-Small (Ours)</td><td>45.6 (+0.6)</td><td>47.4 (+0.9)</td><td> 42.8 (+0.7)</td></tr><tr><td>ResNeXt101-64x4d[67] 41.0</td><td></td><td>42.8</td><td>38.4</td></tr><tr><td>PVT-Large [60]</td><td>42.6</td><td>42.9</td><td>39.5</td></tr><tr><td>ViL-Base[76]</td><td>44.3</td><td>45.1</td><td>41.0</td></tr><tr><td>Swin-Base [43]</td><td>45.0</td><td>46.9</td><td>42.3</td></tr><tr><td>Focal-Base (Ours)</td><td>46.3 (+1.3)</td><td>47.8 (+0.9)</td><td>43.2 (+0.9)</td></tr></table>",
|
| 582 |
+
"bbox": [
|
| 583 |
+
488,
|
| 584 |
+
88,
|
| 585 |
+
818,
|
| 586 |
+
320
|
| 587 |
+
],
|
| 588 |
+
"page_idx": 6
|
| 589 |
+
},
|
| 590 |
+
{
|
| 591 |
+
"type": "text",
|
| 592 |
+
"text": "In Table 2, we summarize the results for baseline models and the state-of-the-art models on image classification task. We can see that Focal Transformers consistently outperform other methods with similar model sizes (#Params.) and computational complexities (GFLOPs). Specifically, Focal-Tiny improves over the Transformer baseline DeiT-Small/16 by $2 . 3 \\%$ . Meanwhile, using the same model configuration (2-2-6-2) and a few extra parameters and computations, Focal-Tiny improves over Swin-Tiny by 1.0 point. For small and base models, Focal-Small with 51.1M parameters can reach $8 3 . 6 \\%$ which is better than all the counterpart small and base models using much less parameters. By increasing the model size, Focal-Base model achieves $8 4 . 0 \\%$ , surpassing all the other models with comparable parameters and FLOPs. ",
|
| 593 |
+
"bbox": [
|
| 594 |
+
173,
|
| 595 |
+
420,
|
| 596 |
+
825,
|
| 597 |
+
545
|
| 598 |
+
],
|
| 599 |
+
"page_idx": 6
|
| 600 |
+
},
|
| 601 |
+
{
|
| 602 |
+
"type": "text",
|
| 603 |
+
"text": "To compare with the large-scale models, we further build Focal-Large Transformer by increasing the hidden dimension in Focal-Base from 128 to 196 while keeping all the other hyperparameters the same. We follow the common practice to pretrain our Focal-Large Transformer on ImageNet-22K and transfer it to detection and segmentation tasks [64, 43]. ",
|
| 604 |
+
"bbox": [
|
| 605 |
+
174,
|
| 606 |
+
551,
|
| 607 |
+
825,
|
| 608 |
+
608
|
| 609 |
+
],
|
| 610 |
+
"page_idx": 6
|
| 611 |
+
},
|
| 612 |
+
{
|
| 613 |
+
"type": "text",
|
| 614 |
+
"text": "4.2 Object detection and instance segmentation ",
|
| 615 |
+
"text_level": 1,
|
| 616 |
+
"bbox": [
|
| 617 |
+
174,
|
| 618 |
+
625,
|
| 619 |
+
516,
|
| 620 |
+
638
|
| 621 |
+
],
|
| 622 |
+
"page_idx": 6
|
| 623 |
+
},
|
| 624 |
+
{
|
| 625 |
+
"type": "text",
|
| 626 |
+
"text": "We benchmark our models on object detection with COCO 2017 [42]. The pretrained models are used as visual backbones and then plugged into two representative pipelines, RetinaNet [41] and Mask R-CNN [32]. All models are trained on the $1 1 8 \\mathrm { k }$ training images and the results are reported on 5K validation set. We use the two standard training schedules, $1 \\times$ with 12 epochs and $3 \\times$ with 36 epochs. For the $1 \\times$ schedule, we resize image’s shorter side to 800 while keeping its longer side no more than 1,333. For the $3 \\times$ schedule, we use the multi-scale training strategy by randomly resizing its shorter side to the range of [480, 800]. Considering this higher input resolution, we adaptively increase the focal sizes at four stages to (15, 13, 9, 7), to ensures that the focal attention covers more than half of the image region at the first two stages, and the whole image at the last two stages. With the focal size increased, the relative position biases are accordingly up-sampled to the corresponding sizes using bilinear interpolation. During training, we use AdamW [44] for optimization with initial learning rate $1 0 ^ { - 4 }$ and weight decay 0.05. Similarly, we use 0.2, 0.3 and 0.5 stochastic depth drop rates to regularize the training for our Tiny, Small and Base models, respectively. Since Swin Transformer does not report the results on RetinaNet, we obtain the results by ourselves using their official code with the same hyper-parameters as that of Focal Transformers. ",
|
| 627 |
+
"bbox": [
|
| 628 |
+
174,
|
| 629 |
+
642,
|
| 630 |
+
825,
|
| 631 |
+
849
|
| 632 |
+
],
|
| 633 |
+
"page_idx": 6
|
| 634 |
+
},
|
| 635 |
+
{
|
| 636 |
+
"type": "text",
|
| 637 |
+
"text": "In Table 3, we show the performance for both CNN-based models and the current Transformerbased state-of-the-art models. The bbox mAP $( A P ^ { b } )$ and mask mAP $( A P ^ { m } )$ are reported. We see that Focal Transformers outperform the CNN-based models consistently with the gap of 4.8-7.1 points. Compared with the other methods which also use multi-scale Transformer architectures, ",
|
| 638 |
+
"bbox": [
|
| 639 |
+
176,
|
| 640 |
+
856,
|
| 641 |
+
825,
|
| 642 |
+
911
|
| 643 |
+
],
|
| 644 |
+
"page_idx": 6
|
| 645 |
+
},
|
| 646 |
+
{
|
| 647 |
+
"type": "table",
|
| 648 |
+
"img_path": "images/ddccdbf44fb137bfc4faa3d93f6ef7c7ed8810948684d7d2e48c12d371518931.jpg",
|
| 649 |
+
"table_caption": [
|
| 650 |
+
"Table 4: COCO object detection and segmentation results with RetinaNet [41] and Mask R-CNN [33]. All models are trained with $3 \\times$ schedule and multi-scale inputs (MS). The numbers before and after “/” at column 2 and 3 are the model size and complexity for RetinaNet and Mask R-CNN, respectively. "
|
| 651 |
+
],
|
| 652 |
+
"table_footnote": [],
|
| 653 |
+
"table_body": "<table><tr><td rowspan=\"2\">Backbone</td><td rowspan=\"2\">#Params (M)</td><td rowspan=\"2\">FLOPs (G)</td><td colspan=\"6\">RetinaNet 3x schedule + MS</td><td colspan=\"6\">Mask R-CNN 3x schedule + MS</td></tr><tr><td>AP</td><td>AP5</td><td>AP</td><td>APs</td><td>APM</td><td>APL</td><td>AP6</td><td>AP</td><td>AP</td><td>Apm</td><td>AP</td><td>AP</td></tr><tr><td>ResNet50 [33]</td><td>37.7/44.2</td><td>239/260</td><td>39.0</td><td>58.4</td><td>41.8</td><td>22.4</td><td>42.8</td><td>51.6</td><td>41.0</td><td>61.7</td><td>44.9</td><td>37.1</td><td>58.4</td><td>40.1</td></tr><tr><td>PVT-Small[60]</td><td>34.2/44.1</td><td>226/245</td><td>42.2</td><td>62.7</td><td>45.0</td><td>26.2</td><td>45.2</td><td>57.2</td><td>43.0</td><td>65.3</td><td>46.9</td><td>39.9</td><td>62.5</td><td>42.8</td></tr><tr><td>ViL-Small [76]</td><td>35.7/45.0</td><td>252/174 42.9</td><td></td><td>63.8</td><td>45.6</td><td>27.8</td><td>46.4</td><td>56.3</td><td>43.4</td><td>64.9</td><td>47.0</td><td>39.6</td><td>62.1</td><td>42.4</td></tr><tr><td>Swin-Tiny [43]</td><td>38.5/47.8</td><td>245/264 45.0</td><td></td><td>65.9</td><td>48.4</td><td>29.7</td><td>48.9</td><td>58.1</td><td>46.0</td><td>68.1</td><td>50.3</td><td>41.6</td><td>65.1</td><td>44.9</td></tr><tr><td>Focal-Tiny (Ours)</td><td>39.4/48.8</td><td>265/291</td><td> 45.5</td><td>66.3</td><td>48.8</td><td>31.2</td><td>49.2</td><td>58.7</td><td>47.2</td><td>69.4</td><td>51.9</td><td>42.7</td><td>66.5</td><td> 45.9</td></tr><tr><td>ResNet101 [33]</td><td>56.7/63.2</td><td>315/33640.9</td><td></td><td>60.1</td><td>44.0</td><td>23.7</td><td>45.0</td><td>53.8</td><td>42.8</td><td>63.2</td><td>47.1</td><td>38.5</td><td>60.1</td><td>41.3</td></tr><tr><td>ResNeXt101-32x4d [67]</td><td>56.4/62.8</td><td>319/340</td><td>41.4</td><td>61.0</td><td>44.3</td><td>23.9</td><td>45.5</td><td>53.7</td><td>44.0</td><td>64.4</td><td>48.0</td><td>39.2</td><td>61.4</td><td>41.9</td></tr><tr><td>PVT-Medium [60]</td><td>53.9/63.9</td><td>283/302</td><td>43.2</td><td>63.8</td><td>46.1</td><td>27.3</td><td>46.3</td><td>58.9</td><td>44.2</td><td>66.0</td><td>48.2</td><td>40.5</td><td>63.1</td><td>43.5</td></tr><tr><td>ViL-Medium [76]</td><td>50.8/60.1</td><td>339/261</td><td>43.7</td><td>64.6</td><td>46.4</td><td>27.9</td><td>47.1</td><td>56.9</td><td>44.6</td><td>66.3</td><td>48.5</td><td>40.7</td><td>63.8</td><td>43.7</td></tr><tr><td>Swin-Small [43]</td><td>59.8/69.1</td><td>335/354 46.4</td><td></td><td>67.0</td><td>50.1</td><td>31.0</td><td>50.1</td><td>60.3</td><td>48.5</td><td>70.2</td><td>53.5</td><td>43.3</td><td>67.3</td><td>46.6</td></tr><tr><td>Focal-Small (Ours)</td><td>61.7/71.2</td><td>367/401</td><td>47.3</td><td>67.8</td><td>51.0</td><td>31.6</td><td>50.9</td><td>61.1</td><td>48.8</td><td>70.5</td><td>53.6</td><td>43.8</td><td>67.7</td><td>47.2</td></tr><tr><td>ResNeXt101-64x4d [67]</td><td>95.5/102</td><td>473/493</td><td>41.8</td><td>61.5</td><td>44.4</td><td>25.2</td><td>45.4</td><td>54.6</td><td>44.4</td><td>64.9</td><td>48.8</td><td>39.7</td><td>61.9</td><td>42.6</td></tr><tr><td>PVT-Large[60]</td><td>71.1/81.0</td><td>345/364 43.4</td><td></td><td>63.6</td><td>46.1</td><td>26.1</td><td>46.0</td><td>59.5</td><td>44.5</td><td>66.0</td><td>48.3</td><td>40.7</td><td>63.4</td><td>43.7</td></tr><tr><td>ViL-Base [76]</td><td>66.7/76.1</td><td>443/365 44.7</td><td></td><td>65.5</td><td>47.6</td><td>29.9</td><td>48.0</td><td>58.1</td><td>45.7</td><td>67.2</td><td>49.9</td><td>41.3</td><td>64.4</td><td>44.5</td></tr><tr><td>Swin-Base 43]</td><td>98.4/107</td><td>477/496 45.8</td><td></td><td>66.4</td><td>49.1</td><td>29.9</td><td>49.4</td><td>60.3</td><td>48.5</td><td>69.8</td><td>53.2</td><td>43.4</td><td>66.8</td><td>46.9</td></tr><tr><td>Focal-Base (Ours)</td><td>100.8/110.0 514/533 46.9</td><td></td><td></td><td>67.8</td><td>50.3</td><td>31.9</td><td>50.3</td><td>61.5</td><td>49.0</td><td>70.1</td><td>53.6</td><td>43.7</td><td>67.6</td><td>47.0</td></tr></table>",
|
| 654 |
+
"bbox": [
|
| 655 |
+
179,
|
| 656 |
+
88,
|
| 657 |
+
825,
|
| 658 |
+
313
|
| 659 |
+
],
|
| 660 |
+
"page_idx": 7
|
| 661 |
+
},
|
| 662 |
+
{
|
| 663 |
+
"type": "text",
|
| 664 |
+
"text": "Focal Transformers show substantial gains across all settings and metrics. Particularly, Focal Transformers brings 0.7-1.7 points of mAP against the current best approach Swin Transformer [43] at comparable settings. Different from the other multi-scale Transformer models, Focal Transformers can simultaneously enable short-range fine-grain and long-range coarse-grain interactions for each visual token, and thus capture richer visual contexts at each layer for better dense predictions. To have more comprehensive comparisons, we train all models using the $3 \\times$ schedule and show the detailed numbers for RetinaNet and Mask R-CNN in Table 4. As we can see, even with the $3 \\times$ schedule, Focal Transformers can still achieve 0.3-1.1 gain over Swin Transformer models in comparable settings. ",
|
| 665 |
+
"bbox": [
|
| 666 |
+
173,
|
| 667 |
+
372,
|
| 668 |
+
825,
|
| 669 |
+
483
|
| 670 |
+
],
|
| 671 |
+
"page_idx": 7
|
| 672 |
+
},
|
| 673 |
+
{
|
| 674 |
+
"type": "text",
|
| 675 |
+
"text": "Comparison with large SoTA detection models. We follow Swin Transformers to use HTC [11] as the detection method in that it reported SoTA performance on COCO detection when using Swin Transformer as the backbone. For fair comparison, we also use soft-NMS [5], instaboost [24] and a multi-scale training strategy with the shorter side in range [400, 1400] and the longer side no more than 1600. We train the model using AdamW [44] with base learning rate 1e-4 and weight decay 0.1. The model is trained using the standard $3 \\times$ schedule. The box and mask mAPs on COCO validation set and test-dev are reported in Table 5, where both single-scale evaluation and multi-scale evaluation results are presented. Our Focal-Large model with multi-scale test achieves 58.1 box mAP and 50.9 mask mAP on mini-val set, which is better than the reported numbers for Swin-Large in [43]. When evaluating our model on the test-dev set, it achieves 58.4 box mAP and 51.3 mask mAP, which is slightly better than Swin Transformer. Note that because our model does not include the global self-attention layer used in Swin Transformer at the last stage, it has a smaller model size and fewer FLOPs. More recently, DyHead [17] achieves new SoTA on COCO, when combined with Swin-Large. We replace the Swin-Large model with the Focal-Large model, and use the same $2 \\times$ training schedule as in [17]. We report the box mAPs for both mini-val and test-dev. Focal-Large achieves 58.7 and 59.0 on mini-val and test-dev, respectively. ",
|
| 676 |
+
"bbox": [
|
| 677 |
+
173,
|
| 678 |
+
489,
|
| 679 |
+
825,
|
| 680 |
+
710
|
| 681 |
+
],
|
| 682 |
+
"page_idx": 7
|
| 683 |
+
},
|
| 684 |
+
{
|
| 685 |
+
"type": "text",
|
| 686 |
+
"text": "4.3 Semantic Segmentation ",
|
| 687 |
+
"text_level": 1,
|
| 688 |
+
"bbox": [
|
| 689 |
+
174,
|
| 690 |
+
727,
|
| 691 |
+
377,
|
| 692 |
+
741
|
| 693 |
+
],
|
| 694 |
+
"page_idx": 7
|
| 695 |
+
},
|
| 696 |
+
{
|
| 697 |
+
"type": "text",
|
| 698 |
+
"text": "In addition to the instance segmentation results, we also evaluate our models on the semantic segmentation task which usually takes high-resolution input images and requires capturing long-range interactions. We benchmark our methods on ADE20K [83]. We use UperNet [65] as the segmentation method and Focal Transformers as the backbones. We train three models as Focal-Tiny, Focal-Small, Focal-Base, respectively. For all the models, we use a standard recipe that sets the input size to $5 1 2 \\times 5 1 2$ and trains the model for 160k iterations with batch size 16. Table 6 shows the comparison results. We see that Focal-Tiny, Focal-Small and Focal-Base models consistently outperform Swin Transformers of the similar size in single-scale and multi-scale mIoUs. ",
|
| 699 |
+
"bbox": [
|
| 700 |
+
173,
|
| 701 |
+
744,
|
| 702 |
+
825,
|
| 703 |
+
856
|
| 704 |
+
],
|
| 705 |
+
"page_idx": 7
|
| 706 |
+
},
|
| 707 |
+
{
|
| 708 |
+
"type": "text",
|
| 709 |
+
"text": "Comparison with large SoTA semantic segmentation models. We use the pretrained Focal-Large model as the backbone for semantic segmentation. Follow the setting in [43], we use input image size $6 4 0 \\times 6 4 0$ and train the model for 160k iterations with a batch size of 16. We set the initial learning to 6e-5 and use a polynomial learning rate decay. The weight decay is set to 0.01. For ",
|
| 710 |
+
"bbox": [
|
| 711 |
+
176,
|
| 712 |
+
856,
|
| 713 |
+
823,
|
| 714 |
+
911
|
| 715 |
+
],
|
| 716 |
+
"page_idx": 7
|
| 717 |
+
},
|
| 718 |
+
{
|
| 719 |
+
"type": "table",
|
| 720 |
+
"img_path": "images/fbecb97ab8c83eccb4496fc4e3c85a4b9127f6ec402c3956112b387672b7d462.jpg",
|
| 721 |
+
"table_caption": [],
|
| 722 |
+
"table_footnote": [],
|
| 723 |
+
"table_body": "<table><tr><td rowspan=\"2\">Method</td><td rowspan=\"2\">#Param FLOPs</td><td rowspan=\"2\"></td><td colspan=\"2\">mini-val</td><td colspan=\"2\">test-dev</td></tr><tr><td>Apb</td><td>APm</td><td>Apb</td><td>Apm</td></tr><tr><td>X101-64x4d [67]</td><td>155M</td><td>1033G 52.3</td><td></td><td>46.0</td><td></td><td></td></tr><tr><td>EfficientNet-D7 [54]</td><td>77M</td><td>410G</td><td>54.4</td><td>-</td><td>55.1</td><td>=</td></tr><tr><td>GCNet*[7]</td><td>-</td><td>1041G</td><td>51.8</td><td>44.7</td><td>52.3</td><td>45.4</td></tr><tr><td>ResNeSt-200 [75]</td><td>=</td><td></td><td>52.5</td><td>=</td><td>53.3</td><td>47.1</td></tr><tr><td>Copy-paste [28]</td><td>185M</td><td>1440G 55.9</td><td></td><td>47.2</td><td>56.0</td><td>47.4</td></tr><tr><td>BoTNet-200 [51]</td><td>-</td><td></td><td>49.7</td><td></td><td>-</td><td></td></tr><tr><td>SpineNet-190 [22]</td><td>164M</td><td>1885G 52.6</td><td></td><td></td><td>52.8</td><td></td></tr><tr><td>CenterNet2 [84]</td><td>-</td><td>=</td><td>-</td><td>-</td><td>56.4</td><td>=</td></tr><tr><td>Swin-L (HTC++) [43]</td><td>284M</td><td>1470G 57.1</td><td></td><td>49.5</td><td>57.7</td><td>50.2</td></tr><tr><td>Swin-L (DyHead)[17]</td><td>213M</td><td>965G</td><td>56.2</td><td>-</td><td>-</td><td>-</td></tr><tr><td>Swin-L† (HTC++) [43]</td><td>284M</td><td></td><td>58.0</td><td>50.4</td><td>58.7</td><td>51.1</td></tr><tr><td>Swin-L† (DyHead) [17]</td><td>213M</td><td></td><td>58.4</td><td>-</td><td>58.7</td><td></td></tr><tr><td>Swin-L† (QueryInst) [25]</td><td>-</td><td></td><td>56.1</td><td>1</td><td>56.1</td><td></td></tr><tr><td>Focal-L (HTC++) (Ours)</td><td>265M</td><td>1165G</td><td>57.0</td><td>49.9</td><td>-</td><td>=</td></tr><tr><td>Focal-L (DyHead) (Ours)</td><td>229M</td><td>1081G</td><td>56.4</td><td>-</td><td>-</td><td>=</td></tr><tr><td>Focal-L† (HTC++) (Ours)</td><td>265M</td><td>-</td><td>58.1</td><td>50.9</td><td>58.4</td><td>51.3</td></tr><tr><td>Focal-L† (DyHead) (Ours)</td><td>229M</td><td>-</td><td>58.7</td><td>-</td><td>59.0</td><td>-</td></tr></table>",
|
| 724 |
+
"bbox": [
|
| 725 |
+
178,
|
| 726 |
+
95,
|
| 727 |
+
498,
|
| 728 |
+
314
|
| 729 |
+
],
|
| 730 |
+
"page_idx": 8
|
| 731 |
+
},
|
| 732 |
+
{
|
| 733 |
+
"type": "text",
|
| 734 |
+
"text": "Table 5: Comparison with state-of-the-art methods on COCO object detection and instance segmentation. The numbers are reported on 5K val set and test-dev. Augmented HTC [11] (denoted by $\\mathrm { H T C + + }$ ) and DyHead [17] are used as the detection methods. † means multi-scale evaluation. ",
|
| 735 |
+
"bbox": [
|
| 736 |
+
173,
|
| 737 |
+
315,
|
| 738 |
+
501,
|
| 739 |
+
400
|
| 740 |
+
],
|
| 741 |
+
"page_idx": 8
|
| 742 |
+
},
|
| 743 |
+
{
|
| 744 |
+
"type": "table",
|
| 745 |
+
"img_path": "images/87bb36ea5cbafa44649b82024642f9740f5a663fda0b6f453aa106965b3c0739.jpg",
|
| 746 |
+
"table_caption": [],
|
| 747 |
+
"table_footnote": [],
|
| 748 |
+
"table_body": "<table><tr><td>Backbone</td><td>Method</td><td>#Param FLOPs mIoU +MS</td><td></td><td></td><td></td></tr><tr><td>ResNet-101</td><td>DANet [45]</td><td>69M</td><td>1119G</td><td>45.3</td><td></td></tr><tr><td>ResNet-101</td><td>ACNet [26]</td><td>=</td><td>=</td><td>45.9</td><td></td></tr><tr><td>ResNet-101</td><td>DNL [69]</td><td>69M</td><td>1249G</td><td>46.0</td><td></td></tr><tr><td>ResNet-101</td><td>UperNet [65]</td><td>86M</td><td>1029G</td><td>44.9</td><td></td></tr><tr><td>HRNet-w48 [53]</td><td>OCRNet [73]</td><td>71M</td><td>664G</td><td>45.7</td><td>=</td></tr><tr><td>ResNeSt-200 [75]</td><td>DLab.v3+ [12]</td><td>88M</td><td>1381G</td><td>48.4</td><td>=</td></tr><tr><td>Swin-T[43]</td><td>UperNet [65]</td><td>60M</td><td>945G</td><td>44.5</td><td>45.8</td></tr><tr><td>Swin-S [43]</td><td>UperNet [65]</td><td>81M</td><td>1038G</td><td>47.6</td><td>49.5</td></tr><tr><td>Swin-B [43]</td><td>UperNet [65]</td><td>121M</td><td>1188G</td><td>48.1</td><td>49.7</td></tr><tr><td>Twins-SVT-L[15]</td><td>UperNet [65]</td><td>133M</td><td></td><td>48.8</td><td>50.2</td></tr><tr><td>MiT-B5 [66]</td><td>SegFormer [66]</td><td>85M</td><td></td><td>51.0</td><td>51.8</td></tr><tr><td>ViT-L/16+ [21]</td><td>SETR[80]</td><td>308M</td><td></td><td>50.3</td><td>=</td></tr><tr><td>Swin-L* [43]</td><td>UperNet [65]</td><td>234M</td><td>3230G</td><td>52.1</td><td>53.5</td></tr><tr><td>ViT-L/16 [21]</td><td>Segmenter [52]</td><td>334M</td><td>=</td><td>51.8</td><td>53.6</td></tr><tr><td>Swin-L‡ [43]</td><td>K-Net [77]</td><td>=</td><td></td><td>=</td><td>54.3</td></tr><tr><td>Swin-L‡ [43]</td><td>PatchDiverse [29]</td><td>234M</td><td></td><td>53.1</td><td>54.4</td></tr><tr><td>VOLO-D5 [72]</td><td>UperNet [65]</td><td>=</td><td></td><td>-</td><td>54.3</td></tr><tr><td>Focal-T (Ours)</td><td>UperNet [65]</td><td>62M</td><td>998G</td><td>45.8</td><td>47.0</td></tr><tr><td>Focal-S (Ours)</td><td>UperNet [65]</td><td>85M</td><td>1130G</td><td>48.0</td><td>50.0</td></tr><tr><td>Focal-B (Ours)</td><td>UperNet [65]</td><td>126M</td><td>1354G</td><td>49.0</td><td>50.5</td></tr><tr><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Focal-L‡ (Ours)</td><td>UperNet [65]</td><td>240M</td><td>3376G</td><td>54.0</td><td>55.4</td></tr></table>",
|
| 749 |
+
"bbox": [
|
| 750 |
+
521,
|
| 751 |
+
88,
|
| 752 |
+
813,
|
| 753 |
+
320
|
| 754 |
+
],
|
| 755 |
+
"page_idx": 8
|
| 756 |
+
},
|
| 757 |
+
{
|
| 758 |
+
"type": "text",
|
| 759 |
+
"text": "Table 6: Comparison with SoTA methods for semantic segmentation on ADE20K [83] val set. Single- and multi-scale evaluations are reported in the last two columns. $^ \\ddag$ means ImageNet-22K is used as the pretraining dataset. ",
|
| 760 |
+
"bbox": [
|
| 761 |
+
517,
|
| 762 |
+
323,
|
| 763 |
+
818,
|
| 764 |
+
406
|
| 765 |
+
],
|
| 766 |
+
"page_idx": 8
|
| 767 |
+
},
|
| 768 |
+
{
|
| 769 |
+
"type": "table",
|
| 770 |
+
"img_path": "images/71e84f7ae2932bbde0991a681df51b358ad5e6359c4edd0e3856bdf12c691fef.jpg",
|
| 771 |
+
"table_caption": [],
|
| 772 |
+
"table_footnote": [
|
| 773 |
+
"Table 7: Impact of different window sizes (WSize). We alter the default size 7 to 14 and observe consistent improvements for both methods. "
|
| 774 |
+
],
|
| 775 |
+
"table_body": "<table><tr><td>Model</td><td> W-Size FLOPs Top-1(%) APb APm</td><td></td><td></td></tr><tr><td rowspan=\"2\">Swin-Tiny</td><td>7</td><td>4.5</td><td>81.2 43.739.8</td></tr><tr><td>14</td><td>4.9</td><td>82.1 44.0 40.5</td></tr><tr><td rowspan=\"2\">Focal-Tiny</td><td>7</td><td>4.9</td><td>82.2 44.941.1</td></tr><tr><td>14</td><td>5.2</td><td>82.3 45.5 41.5</td></tr></table>",
|
| 776 |
+
"bbox": [
|
| 777 |
+
178,
|
| 778 |
+
417,
|
| 779 |
+
485,
|
| 780 |
+
503
|
| 781 |
+
],
|
| 782 |
+
"page_idx": 8
|
| 783 |
+
},
|
| 784 |
+
{
|
| 785 |
+
"type": "table",
|
| 786 |
+
"img_path": "images/f9b110f7022a0af916099cc762e9ee21cf07047e230774dd117201440a6f74e6.jpg",
|
| 787 |
+
"table_caption": [],
|
| 788 |
+
"table_footnote": [
|
| 789 |
+
"Table 8: Impact of window shift (W-Shift) on Swin Transformer and Focal Transformer. Tiny models are used. "
|
| 790 |
+
],
|
| 791 |
+
"table_body": "<table><tr><td>Model</td><td colspan=\"3\"> W-Shift Top-1(%) APb APm</td></tr><tr><td>Swin-Tiny</td><td>√</td><td>80.2 81.2</td><td>38.8 43.7</td><td>36.4 39.8</td></tr><tr><td rowspan=\"2\">Focal-Tiny</td><td></td><td>82.2</td><td>44.8</td><td>41.0</td></tr><tr><td>√</td><td>81.9</td><td>44.9</td><td>41.1</td></tr></table>",
|
| 792 |
+
"bbox": [
|
| 793 |
+
531,
|
| 794 |
+
417,
|
| 795 |
+
800,
|
| 796 |
+
503
|
| 797 |
+
],
|
| 798 |
+
"page_idx": 8
|
| 799 |
+
},
|
| 800 |
+
{
|
| 801 |
+
"type": "text",
|
| 802 |
+
"text": "multi-scale evaluation, we use the same scaling ratios [0.5, 0.75, 1.0, 1.25, 1.5, 1.75] as in previous works. The results in Table 6 show that Focal-Large achieves significantly better performance than Swin-Large. In both single-scale and multi-scale evaluations, Focal-Large leads to more than 1 point mIoU improvement, creating new SoTA for semantic segmentation on ADE20K. ",
|
| 803 |
+
"bbox": [
|
| 804 |
+
174,
|
| 805 |
+
559,
|
| 806 |
+
825,
|
| 807 |
+
614
|
| 808 |
+
],
|
| 809 |
+
"page_idx": 8
|
| 810 |
+
},
|
| 811 |
+
{
|
| 812 |
+
"type": "text",
|
| 813 |
+
"text": "4.4 Ablation studies ",
|
| 814 |
+
"text_level": 1,
|
| 815 |
+
"bbox": [
|
| 816 |
+
174,
|
| 817 |
+
630,
|
| 818 |
+
326,
|
| 819 |
+
643
|
| 820 |
+
],
|
| 821 |
+
"page_idx": 8
|
| 822 |
+
},
|
| 823 |
+
{
|
| 824 |
+
"type": "text",
|
| 825 |
+
"text": "We conduct a series of ablation studies to inspect the model’s capacity from different aspects. We use Focal-Tiny and the image classification and object detection tasks. ",
|
| 826 |
+
"bbox": [
|
| 827 |
+
174,
|
| 828 |
+
648,
|
| 829 |
+
821,
|
| 830 |
+
676
|
| 831 |
+
],
|
| 832 |
+
"page_idx": 8
|
| 833 |
+
},
|
| 834 |
+
{
|
| 835 |
+
"type": "text",
|
| 836 |
+
"text": "Effect of varying the window size. We have demonstrated that it is crucial to model both short- and long-range interactions. Thus, a related question is whether increasing the window size helps as it leads to a larger receptive field. Table 7 shows the performance of Swin-Tiny and Focal-Tiny with window sizes 7 and 14. Clearly, a larger window size is beneficial for both methods measured in all three metrics, and Focal-Tiny consistently outperforms Swin-Tiny in both window sizes. Comparing the second and third row, we find that Focal-Tiny outperforms Swin-Tiny even with a smaller window size $( 7 \\nu . s . \\ 1 4 )$ . We suspect that the gain is attributed to our focal attention’s superior capability of capturing long-range dependencies among visual tokens. ",
|
| 837 |
+
"bbox": [
|
| 838 |
+
174,
|
| 839 |
+
683,
|
| 840 |
+
825,
|
| 841 |
+
794
|
| 842 |
+
],
|
| 843 |
+
"page_idx": 8
|
| 844 |
+
},
|
| 845 |
+
{
|
| 846 |
+
"type": "text",
|
| 847 |
+
"text": "The necessity of window shift. In Swin Transformer [43], window shift is proposed to capture crosswindow interactions between two successive layers. In contrast, visual tokens in Focal Transformers can always communicate with each other across windows at both fine- and coarse-grain. Thus, it is interesting to investigate whether adding window shift to Focal Transformers can lead to any improvement. To answer the question, we remove window shift from Swin Transformer while adding it to Focal Transformers. As shown in Table 8, Swin Transformer shows a severe degradation after removing the window shift. However, adding window shift to Focal Transformer hurts classification performance. The result indicates that window shift is unnecessary for Focal Transformers. While in ",
|
| 848 |
+
"bbox": [
|
| 849 |
+
174,
|
| 850 |
+
800,
|
| 851 |
+
825,
|
| 852 |
+
911
|
| 853 |
+
],
|
| 854 |
+
"page_idx": 8
|
| 855 |
+
},
|
| 856 |
+
{
|
| 857 |
+
"type": "image",
|
| 858 |
+
"img_path": "images/bba4db737a9b7677713c20afacad8a3124328743b54298c0a2ae2792bcf81178.jpg",
|
| 859 |
+
"image_caption": [
|
| 860 |
+
"Figure 5: Ablating Focal-Tiny model by adding local, global and both interactions, respectively. Blue bars are image classification results and orange bars object detection results. This figure is better viewed in color. "
|
| 861 |
+
],
|
| 862 |
+
"image_footnote": [],
|
| 863 |
+
"bbox": [
|
| 864 |
+
176,
|
| 865 |
+
92,
|
| 866 |
+
483,
|
| 867 |
+
205
|
| 868 |
+
],
|
| 869 |
+
"page_idx": 9
|
| 870 |
+
},
|
| 871 |
+
{
|
| 872 |
+
"type": "table",
|
| 873 |
+
"img_path": "images/f441a274a5f6aa85d84879890ce822e6335cb56e3b0d5e7463cbc04311f50dfa.jpg",
|
| 874 |
+
"table_caption": [],
|
| 875 |
+
"table_footnote": [
|
| 876 |
+
"Table 9: Impact of the change of model depth. We gradually reduce the number of transformer layers at the third stage from original 6 to 4 and further 2. Our Focal Transformers has much slower drop rate than Swin Transformer. "
|
| 877 |
+
],
|
| 878 |
+
"table_body": "<table><tr><td colspan=\"6\">Depths Model #Params. FLOPs Top-1(%) APb Apm</td></tr><tr><td rowspan=\"2\">2-2-2-2</td><td>Swin</td><td>21.2</td><td>3.1</td><td>78.7</td><td>38.2 35.7</td></tr><tr><td>Focal</td><td>21.7</td><td>3.4</td><td>79.9</td><td>40.5 37.6</td></tr><tr><td rowspan=\"2\">2-2-4-2</td><td>Swin</td><td>24.7</td><td>3.8</td><td>80.2</td><td>41.2 38.1</td></tr><tr><td>Focal</td><td>25.4</td><td>4.1</td><td>81.4</td><td>43.3 39.8</td></tr><tr><td rowspan=\"2\">2-2-6-2</td><td>Swin</td><td>28.3</td><td>4.5</td><td>81.2</td><td>43.7 39.8</td></tr><tr><td>Focal</td><td>29.1</td><td>4.9</td><td>82.2</td><td>44.8 41.0</td></tr></table>",
|
| 879 |
+
"bbox": [
|
| 880 |
+
509,
|
| 881 |
+
92,
|
| 882 |
+
816,
|
| 883 |
+
198
|
| 884 |
+
],
|
| 885 |
+
"page_idx": 9
|
| 886 |
+
},
|
| 887 |
+
{
|
| 888 |
+
"type": "text",
|
| 889 |
+
"text": "Swin Transformers, there should always be an even number of layers in each stage for the alternative window shift operation, Focal Transformers do not have such a constraint. ",
|
| 890 |
+
"bbox": [
|
| 891 |
+
173,
|
| 892 |
+
291,
|
| 893 |
+
821,
|
| 894 |
+
319
|
| 895 |
+
],
|
| 896 |
+
"page_idx": 9
|
| 897 |
+
},
|
| 898 |
+
{
|
| 899 |
+
"type": "text",
|
| 900 |
+
"text": "Contributions of local and global interactions. To investigate the relative contributions of capturing local fine-grain and global coarse-grain interactions in Focal Transformers, we have developed several variants of Focal-Tiny: a) Focal-Tiny-Window merely performs attention inside each window; b) Focal-Tiny-Local attends the additional fine-grain surrounding tokens and c) Focal-Tiny-Global attends the extra coarse-grain summarized tokens. We train these models using the same setting as Focal-Tiny and report their performance on image classification and object detection using Mask R-CNN $1 \\times$ schedule. As shown in Fig. 5, Focal-Tiny-Window suffers from a significant performance drop on both image classification $8 2 . 2 \\substack { 8 0 . 1 }$ ) and object detection $\\cdot 4 4 . 8 \\mathrm { \\ - } \\to 3 8 . 3$ ). This is expected since the communication across windows is completely cut off at each Transformer layer. After we enable either the local fine-grain or global coarse-grain interactions (middle two columns), we observe significant performance boost. When we combine short- and long-range interactions, we observe additional improvements on both tasks. This implies that these two type of interactions are complementary and both are beneficial to model performance. ",
|
| 901 |
+
"bbox": [
|
| 902 |
+
174,
|
| 903 |
+
325,
|
| 904 |
+
825,
|
| 905 |
+
505
|
| 906 |
+
],
|
| 907 |
+
"page_idx": 9
|
| 908 |
+
},
|
| 909 |
+
{
|
| 910 |
+
"type": "text",
|
| 911 |
+
"text": "Model capacity against model depth. Focal attention allows a Transformer model to capture shortand long-range interactions at each Transformer layer. An interesting question is whether Focal Transformers need fewer layers to obtain a similar modeling capacity as the Transformer models that does not use focal attention, such as Swin Transformer. To answer this question, we conduct an experiment by training a series of Swin-Tiny and Focal-Tiny models by varying the number of Transformer layers at stage 3. As shown in Table 9, Focal-Tiny outperforms Swin-Tiny consistently with the same depth. More importantly, using fewer layers, Focal-Tiny can sometimes achieve comparable or even better performance than Swin Transformer. For example, Focal-Tiny with (2-2-4-2) achieves 81.4 on image classification which is better than Swin-Tiny with (2-2-6-2). ",
|
| 912 |
+
"bbox": [
|
| 913 |
+
174,
|
| 914 |
+
511,
|
| 915 |
+
825,
|
| 916 |
+
636
|
| 917 |
+
],
|
| 918 |
+
"page_idx": 9
|
| 919 |
+
},
|
| 920 |
+
{
|
| 921 |
+
"type": "text",
|
| 922 |
+
"text": "5 Conclusion ",
|
| 923 |
+
"text_level": 1,
|
| 924 |
+
"bbox": [
|
| 925 |
+
174,
|
| 926 |
+
655,
|
| 927 |
+
299,
|
| 928 |
+
672
|
| 929 |
+
],
|
| 930 |
+
"page_idx": 9
|
| 931 |
+
},
|
| 932 |
+
{
|
| 933 |
+
"type": "text",
|
| 934 |
+
"text": "In this paper, we have presented a new focal attention mechanism that enables efficient long-range interactions in Vision Transformers. Different from previous works, it performs the local attention at fine-grain and global attention at coarse-grain, providing an effective way of capturing both shortand long-range context with a manageable computational cost. By applying focal attention into a multi-scale Transformer architecture, we propose Focal Transformers as general-purpose backbones for a wide range of dense vision tasks. A comprehensive empirical study shows that our Focal Transformers outperform the SoTA Vision Transformers on a range of vision tasks including image classification, object detection and segmentation. ",
|
| 935 |
+
"bbox": [
|
| 936 |
+
174,
|
| 937 |
+
680,
|
| 938 |
+
825,
|
| 939 |
+
791
|
| 940 |
+
],
|
| 941 |
+
"page_idx": 9
|
| 942 |
+
},
|
| 943 |
+
{
|
| 944 |
+
"type": "text",
|
| 945 |
+
"text": "Limitations and future work. Although our experiments show that focal attention can significantly boost the performance on image classification and dense prediction tasks, focal attention does introduce extra computational and memory cost, since each query token needs to attend more (summarized) tokens in addition to tokens inside a window. A cost-effective implementation of Focal Transformer is necessary to make it more applicable to many real-world scenarios. This study focuses on incorporating focal attention into multi-scale Vision Transformers for CV tasks. However, we notice that focal attention is an effective sparse attention mechanism that is widely applicable to all attention-based neural network models that are developed for processing natural language, images, videos etc. This is an exciting future direction. ",
|
| 946 |
+
"bbox": [
|
| 947 |
+
174,
|
| 948 |
+
796,
|
| 949 |
+
825,
|
| 950 |
+
911
|
| 951 |
+
],
|
| 952 |
+
"page_idx": 9
|
| 953 |
+
},
|
| 954 |
+
{
|
| 955 |
+
"type": "text",
|
| 956 |
+
"text": "References \n[1] Joshua Ainslie, Santiago Ontanon, Chris Alberti, Philip Pham, Anirudh Ravula, and Sumit Sanghai. Etc: Encoding long and structured data in transformers. arXiv preprint arXiv:2004.08483, 2020. \n[2] Irwan Bello, Barret Zoph, Ashish Vaswani, Jonathon Shlens, and Quoc V Le. Attention augmented convolutional networks. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 3286–3295, 2019. \n[3] Iz Beltagy, Matthew E Peters, and Arman Cohan. Longformer: The long-document transformer. arXiv preprint arXiv:2004.05150, 2020. \n[4] Maxim Berman, Hervé Jégou, Andrea Vedaldi, Iasonas Kokkinos, and Matthijs Douze. Multigrain: a unified image embedding for classes and instances. arXiv preprint arXiv:1902.05509, 2019. \n[5] Navaneeth Bodla, Bharat Singh, Rama Chellappa, and Larry S Davis. Soft-nms–improving object detection with one line of code. In Proceedings of the IEEE international conference on computer vision, pages 5561–5569, 2017. \n[6] Tom B Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are few-shot learners. arXiv preprint arXiv:2005.14165, 2020. \n[7] Yue Cao, Jiarui Xu, Stephen Lin, Fangyun Wei, and Han Hu. Gcnet: Non-local networks meet squeezeexcitation networks and beyond. In Proceedings of the IEEE/CVF International Conference on Computer Vision Workshops, pages 0–0, 2019. \n[8] Nicolas Carion, Francisco Massa, Gabriel Synnaeve, Nicolas Usunier, Alexander Kirillov, and Sergey Zagoruyko. End-to-end object detection with transformers. In European Conference on Computer Vision, pages 213–229. Springer, 2020. \n[9] Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal, Piotr Bojanowski, and Armand Joulin. Emerging properties in self-supervised vision transformers. arXiv preprint arXiv:2104.14294, 2021. \n[10] Shuning Chang, Pichao Wang, Fan Wang, Hao Li, and Jiashi Feng. Augmented transformer with adaptive graph for temporal action proposal generation. arXiv preprint arXiv:2103.16024, 2021. \n[11] Kai Chen, Jiangmiao Pang, Jiaqi Wang, Yu Xiong, Xiaoxiao Li, Shuyang Sun, Wansen Feng, Ziwei Liu, Jianping Shi, Wanli Ouyang, et al. Hybrid task cascade for instance segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 4974–4983, 2019. \n[12] Liang-Chieh Chen, Yukun Zhu, George Papandreou, Florian Schroff, and Hartwig Adam. Encoder-decoder with atrous separable convolution for semantic image segmentation. In Proceedings of the European conference on computer vision (ECCV), pages 801–818, 2018. \n[13] Xin Chen, Bin Yan, Jiawen Zhu, Dong Wang, Xiaoyun Yang, and Huchuan Lu. Transformer tracking. arXiv preprint arXiv:2103.15436, 2021. \n[14] Xinlei Chen, Saining Xie, and Kaiming He. An empirical study of training self-supervised visual transformers. arXiv preprint arXiv:2104.02057, 2021. \n[15] Xiangxiang Chu, Zhi Tian, Yuqing Wang, Bo Zhang, Haibing Ren, Xiaolin Wei, Huaxia Xia, and Chunhua Shen. Twins: Revisiting spatial attention design in vision transformers. arXiv preprint arXiv:2104.13840, 2021. \n[16] Xiangxiang Chu, Zhi Tian, Bo Zhang, Xinlong Wang, Xiaolin Wei, Huaxia Xia, and Chunhua Shen. Conditional positional encodings for vision transformers. Arxiv preprint 2102.10882, 2021. \n[17] Xiyang Dai, Yinpeng Chen, Bin Xiao, Dongdong Chen, Mengchen Liu, Lu Yuan, and Lei Zhang. Dynamic head: Unifying object detection heads with attentions. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 7373–7382, 2021. \n[18] Zhigang Dai, Bolun Cai, Yugeng Lin, and Junying Chen. Up-detr: Unsupervised pre-training for object detection with transformers. arXiv preprint arXiv:2011.09094, 2020. \n[19] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pages 248–255. Ieee, 2009. \n[20] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training of deep bidirectional transformers for language understanding. NAACL, 2019. \n[21] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929, 2020. \n[22] Xianzhi Du, Tsung-Yi Lin, Pengchong Jin, Golnaz Ghiasi, Mingxing Tan, Yin Cui, Quoc V Le, and Xiaodan Song. Spinenet: Learning scale-permuted backbone for recognition and localization. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 11592–11601, 2020. \n[23] Haoqi Fan, Bo Xiong, Karttikeya Mangalam, Yanghao Li, Zhicheng Yan, Jitendra Malik, and Christoph Feichtenhofer. Multiscale vision transformers. arXiv preprint arXiv:2104.11227, 2021. \n[24] Hao-Shu Fang, Jianhua Sun, Runzhong Wang, Minghao Gou, Yong-Lu Li, and Cewu Lu. Instaboost: Boosting instance segmentation via probability map guided copy-pasting. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 682–691, 2019. \n[25] Yuxin Fang, Shusheng Yang, Xinggang Wang, Yu Li, Chen Fang, Ying Shan, Bin Feng, and Wenyu Liu. Instances as queries, 2021. \n[26] Jun Fu, Jing Liu, Yuhang Wang, Yong Li, Yongjun Bao, Jinhui Tang, and Hanqing Lu. Adaptive context network for scene parsing. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 6748–6757, 2019. \n[27] Jianfeng Gao, Patrick Pantel, Michael Gamon, Xiaodong He, and Li Deng. Modeling interestingness with deep neural networks. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 2–13, Doha, Qatar, October 2014. Association for Computational Linguistics. \n[28] Golnaz Ghiasi, Yin Cui, Aravind Srinivas, Rui Qian, Tsung-Yi Lin, Ekin D Cubuk, Quoc V Le, and Barret Zoph. Simple copy-paste is a strong data augmentation method for instance segmentation. arXiv preprint arXiv:2012.07177, 2020. \n[29] Chengyue Gong, Dilin Wang, Meng Li, Vikas Chandra, and Qiang Liu. Vision transformers with patch diversification, 2021. \n[30] Kai Han, Yunhe Wang, Hanting Chen, Xinghao Chen, Jianyuan Guo, Zhenhua Liu, Yehui Tang, An Xiao, Chunjing Xu, Yixing Xu, et al. A survey on visual transformer. arXiv preprint arXiv:2012.12556, 2020. \n[31] Kai Han, An Xiao, Enhua Wu, Jianyuan Guo, Chunjing Xu, and Yunhe Wang. Transformer in transformer, 2021. \n[32] Kaiming He, Georgia Gkioxari, Piotr Dollár, and Ross Girshick. Mask r-cnn. In Proceedings of the IEEE international conference on computer vision, pages 2961–2969, 2017. \n[33] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 770–778, 2016. \n[34] Elad Hoffer, Tal Ben-Nun, Itay Hubara, Niv Giladi, Torsten Hoefler, and Daniel Soudry. Augment your batch: Improving generalization through instance repetition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 8129–8138, 2020. \n[35] Jie Hu, Li Shen, and Gang Sun. Squeeze-and-excitation networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 7132–7141, 2018. \n[36] Salman Khan, Muzammal Naseer, Munawar Hayat, Syed Waqas Zamir, Fahad Shahbaz Khan, and Mubarak Shah. Transformers in vision: A survey. arXiv preprint arXiv:2101.01169, 2021. \n[37] Yann LeCun, Yoshua Bengio, et al. Convolutional networks for images, speech, and time series. The handbook of brain theory and neural networks, 3361(10):1995, 1995. \n[38] Bing Li, Cheng Zheng, Silvio Giancola, and Bernard Ghanem. Sctn: Sparse convolution-transformer network for scene flow estimation. arXiv preprint arXiv:2105.04447, 2021. \n[39] Chunyuan Li, Jianwei Yang, Pengchuan Zhang, Mei Gao, Bin Xiao, Xiyang Dai, Lu Yuan, and Jianfeng Gao. Efficient self-supervised vision transformers for representation learning. arXiv preprint arXiv:2106.09785, 2021. \n[40] Xiangyu Li, Yonghong Hou, Pichao Wang, Zhimin Gao, Mingliang Xu, and Wanqing Li. Trear: Transformer-based rgb-d egocentric action recognition. arXiv preprint arXiv:2101.03904, 2021. \n[41] Tsung-Yi Lin, Priya Goyal, Ross Girshick, Kaiming He, and Piotr Dollár. Focal loss for dense object detection. In Proceedings of the IEEE international conference on computer vision, pages 2980–2988, 2017. \n[42] Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C Lawrence Zitnick. Microsoft COCO: Common objects in context. In ECCV, 2014. \n[43] Ze Liu, Yutong Lin, Yue Cao, Han Hu, Yixuan Wei, Zheng Zhang, Stephen Lin, and Baining Guo. Swin transformer: Hierarchical vision transformer using shifted windows. arXiv preprint arXiv:2103.14030, 2021. \n[44] Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. arXiv preprint arXiv:1711.05101, 2017. \n[45] Hyeonseob Nam, Jung-Woo Ha, and Jeonghee Kim. Dual attention networks for multimodal reasoning and matching. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 299–307, 2017. \n[46] R. Pappagari, P. Zelasko, J. Villalba, Y. Carmiel, and N. Dehak. Hierarchical transformers for long document classification. In 2019 IEEE Automatic Speech Recognition and Understanding Workshop (ASRU), pages 838–844, 2019. \n[47] Niki Parmar, Ashish Vaswani, Jakob Uszkoreit, Lukasz Kaiser, Noam Shazeer, Alexander Ku, and Dustin Tran. Image transformer. In International Conference on Machine Learning, pages 4055–4064. PMLR, 2018. \n[48] Boris T Polyak and Anatoli B Juditsky. Acceleration of stochastic approximation by averaging. SIAM journal on control and optimization, 30(4):838–855, 1992. \n[49] Jack W Rae, Anna Potapenko, Siddhant M Jayakumar, and Timothy P Lillicrap. Compressive transformers for long-range sequence modelling. arXiv preprint arXiv:1911.05507, 2019. \n[50] Prajit Ramachandran, Niki Parmar, Ashish Vaswani, Irwan Bello, Anselm Levskaya, and Jonathon Shlens. Stand-alone self-attention in vision models. arXiv preprint arXiv:1906.05909, 2019. \n[51] Aravind Srinivas, Tsung-Yi Lin, Niki Parmar, Jonathon Shlens, Pieter Abbeel, and Ashish Vaswani. Bottleneck transformers for visual recognition, 2021. \n[52] Robin Strudel, Ricardo Garcia, Ivan Laptev, and Cordelia Schmid. Segmenter: Transformer for semantic segmentation. arXiv preprint arXiv:2105.05633, 2021. \n[53] Ke Sun, Bin Xiao, Dong Liu, and Jingdong Wang. Deep high-resolution representation learning for human pose estimation. In CVPR, 2019. \n[54] Mingxing Tan and Quoc Le. Efficientnet: Rethinking model scaling for convolutional neural networks. In International Conference on Machine Learning, pages 6105–6114. PMLR, 2019. \n[55] Hugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa, Alexandre Sablayrolles, and Hervé Jégou. Training data-efficient image transformers & distillation through attention. arXiv preprint arXiv:2012.12877, 2020. \n[56] Ashish Vaswani, Prajit Ramachandran, Aravind Srinivas, Niki Parmar, Blake Hechtman, and Jonathon Shlens. Scaling local self-attention for parameter efficient visual backbones. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 12894–12904, 2021. \n[57] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In NeurIPS, 2017. \n[58] Huiyu Wang, Yukun Zhu, Hartwig Adam, Alan Yuille, and Liang-Chieh Chen. Max-deeplab: End-to-end panoptic segmentation with mask transformers. arXiv preprint arXiv:2012.00759, 2020. \n[59] Ning Wang, Wengang Zhou, Jie Wang, and Houqaing Li. Transformer meets tracker: Exploiting temporal context for robust visual tracking. arXiv preprint arXiv:2103.11681, 2021. \n[60] Wenhai Wang, Enze Xie, Xiang Li, Deng-Ping Fan, Kaitao Song, Ding Liang, Tong Lu, Ping Luo, and Ling Shao. Pyramid vision transformer: A versatile backbone for dense prediction without convolutions. arXiv preprint arXiv:2102.12122, 2021. \n[61] Xiaolong Wang, Ross Girshick, Abhinav Gupta, and Kaiming He. Non-local neural networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 7794–7803, 2018. \n[62] Yuqing Wang, Zhaoliang Xu, Xinlong Wang, Chunhua Shen, Baoshan Cheng, Hao Shen, and Huaxia Xia. End-to-end video instance segmentation with transformers. arXiv preprint arXiv:2011.14503, 2020. \n[63] Sanghyun Woo, Jongchan Park, Joon-Young Lee, and In So Kweon. Cbam: Convolutional block attention module. In Proceedings of the European conference on computer vision (ECCV), pages 3–19, 2018. \n[64] Haiping Wu, Bin Xiao, Noel Codella, Mengchen Liu, Xiyang Dai, Lu Yuan, and Lei Zhang. Cvt: Introducing convolutions to vision transformers. arXiv preprint arXiv:2103.15808, 2021. \n[65] Tete Xiao, Yingcheng Liu, Bolei Zhou, Yuning Jiang, and Jian Sun. Unified perceptual parsing for scene understanding. In Proceedings of the European Conference on Computer Vision (ECCV), pages 418–434, 2018. \n[66] Enze Xie, Wenhai Wang, Zhiding Yu, Anima Anandkumar, Jose M. Alvarez, and Ping Luo. Segformer: Simple and efficient design for semantic segmentation with transformers, 2021. \n[67] Saining Xie, Ross Girshick, Piotr Dollár, Zhuowen Tu, and Kaiming He. Aggregated residual transformations for deep neural networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 1492–1500, 2017. \n[68] Jianwei Yang, Zhile Ren, Chuang Gan, Hongyuan Zhu, and Devi Parikh. Cross-channel communication networks. In Proceedings of the 33rd International Conference on Neural Information Processing Systems, pages 1297–1306, 2019. \n[69] Minghao Yin, Zhuliang Yao, Yue Cao, Xiu Li, Zheng Zhang, Stephen Lin, and Han Hu. Disentangled non-local neural networks. In European Conference on Computer Vision, pages 191–207. Springer, 2020. \n[70] Kun Yuan, Shaopeng Guo, Ziwei Liu, Aojun Zhou, Fengwei Yu, and Wei Wu. Incorporating convolution designs into visual transformers. arXiv preprint arXiv:2103.11816, 2021. \n[71] Li Yuan, Yunpeng Chen, Tao Wang, Weihao Yu, Yujun Shi, Francis EH Tay, Jiashi Feng, and Shuicheng Yan. Tokens-to-token vit: Training vision transformers from scratch on imagenet. arXiv preprint arXiv:2101.11986, 2021. \n[72] Li Yuan, Qibin Hou, Zihang Jiang, Jiashi Feng, and Shuicheng Yan. Volo: Vision outlooker for visual recognition. arXiv preprint arXiv:2106.13112, 2021. \n[73] Yuhui Yuan, Xilin Chen, and Jingdong Wang. Object-contextual representations for semantic segmentation. arXiv preprint arXiv:1909.11065, 2019. \n[74] Manzil Zaheer, Guru Guruganesh, Avinava Dubey, Joshua Ainslie, Chris Alberti, Santiago Ontanon, Philip Pham, Anirudh Ravula, Qifan Wang, Li Yang, et al. Big bird: Transformers for longer sequences. arXiv preprint arXiv:2007.14062, 2020. \n[75] Hang Zhang, Chongruo Wu, Zhongyue Zhang, Yi Zhu, Haibin Lin, Zhi Zhang, Yue Sun, Tong He, Jonas Mueller, R Manmatha, et al. Resnest: Split-attention networks. arXiv preprint arXiv:2004.08955, 2020. \n[76] Pengchuan Zhang, Xiyang Dai, Jianwei Yang, Bin Xiao, Lu Yuan, Lei Zhang, and Jianfeng Gao. Multiscale vision longformer: A new vision transformer for high-resolution image encoding. arXiv preprint arXiv:2103.15358, 2021. \n[77] Wenwei Zhang, Jiangmiao Pang, Kai Chen, and Chen Change Loy. K-net: Towards unified image segmentation, 2021. \n[78] Jiaojiao Zhao, Xinyu Li, Chunhui Liu, Shuai Bing, Hao Chen, Cees GM Snoek, and Joseph Tighe. Tuber: Tube-transformer for action detection. arXiv preprint arXiv:2104.00969, 2021. \n[79] Minghang Zheng, Peng Gao, Xiaogang Wang, Hongsheng Li, and Hao Dong. End-to-end object detection with adaptive clustering transformer. arXiv preprint arXiv:2011.09315, 2020. \n[80] Sixiao Zheng, Jiachen Lu, Hengshuang Zhao, Xiatian Zhu, Zekun Luo, Yabiao Wang, Yanwei Fu, Jianfeng Feng, Tao Xiang, Philip HS Torr, et al. Rethinking semantic segmentation from a sequence-to-sequence perspective with transformers. arXiv preprint arXiv:2012.15840, 2020. \n[81] Sixiao Zheng, Jiachen Lu, Hengshuang Zhao, Xiatian Zhu, Zekun Luo, Yabiao Wang, Yanwei Fu, Jianfeng Feng, Tao Xiang, Philip HS Torr, et al. Rethinking semantic segmentation from a sequence-to-sequence perspective with transformers. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 6881–6890, 2021. \n[82] Zhun Zhong, Liang Zheng, Guoliang Kang, Shaozi Li, and Yi Yang. Random erasing data augmentation. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pages 13001–13008, 2020. \n[83] Bolei Zhou, Hang Zhao, Xavier Puig, Sanja Fidler, Adela Barriuso, and Antonio Torralba. Scene parsing through ade20k dataset. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 633–641, 2017. \n[84] Xingyi Zhou, Vladlen Koltun, and Philipp Krähenbühl. Probabilistic two-stage detection. arXiv preprint arXiv:2103.07461, 2021. \n[85] Xizhou Zhu, Weijie Su, Lewei Lu, Bin Li, Xiaogang Wang, and Jifeng Dai. Deformable detr: Deformable transformers for end-to-end object detection. arXiv preprint arXiv:2010.04159, 2020. ",
|
| 957 |
+
"bbox": [
|
| 958 |
+
173,
|
| 959 |
+
80,
|
| 960 |
+
828,
|
| 961 |
+
915
|
| 962 |
+
],
|
| 963 |
+
"page_idx": 10
|
| 964 |
+
},
|
| 965 |
+
{
|
| 966 |
+
"type": "text",
|
| 967 |
+
"text": "",
|
| 968 |
+
"bbox": [
|
| 969 |
+
171,
|
| 970 |
+
51,
|
| 971 |
+
828,
|
| 972 |
+
915
|
| 973 |
+
],
|
| 974 |
+
"page_idx": 11
|
| 975 |
+
},
|
| 976 |
+
{
|
| 977 |
+
"type": "text",
|
| 978 |
+
"text": "",
|
| 979 |
+
"bbox": [
|
| 980 |
+
171,
|
| 981 |
+
60,
|
| 982 |
+
828,
|
| 983 |
+
919
|
| 984 |
+
],
|
| 985 |
+
"page_idx": 12
|
| 986 |
+
},
|
| 987 |
+
{
|
| 988 |
+
"type": "text",
|
| 989 |
+
"text": "",
|
| 990 |
+
"bbox": [
|
| 991 |
+
171,
|
| 992 |
+
50,
|
| 993 |
+
828,
|
| 994 |
+
919
|
| 995 |
+
],
|
| 996 |
+
"page_idx": 13
|
| 997 |
+
},
|
| 998 |
+
{
|
| 999 |
+
"type": "text",
|
| 1000 |
+
"text": "",
|
| 1001 |
+
"bbox": [
|
| 1002 |
+
173,
|
| 1003 |
+
92,
|
| 1004 |
+
826,
|
| 1005 |
+
237
|
| 1006 |
+
],
|
| 1007 |
+
"page_idx": 14
|
| 1008 |
+
}
|
| 1009 |
+
]
|
parse/train/2zCRcTafea/2zCRcTafea_middle.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/2zCRcTafea/2zCRcTafea_model.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
parse/train/5CGPY2VeEGb/5CGPY2VeEGb_layout.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:038646ed1a87064699fc6d2cec60c87652915aedb6f60adb10b966ed88842d78
|
| 3 |
+
size 1115032
|
parse/train/5CGPY2VeEGb/5CGPY2VeEGb_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:045b808816d7280364f4fd91d38530085e1023404ccdc9a401331e50233a0176
|
| 3 |
+
size 886331
|
parse/train/5CGPY2VeEGb/5CGPY2VeEGb_span.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fda6eb7f587de665617da8500ec4c254177a8cb252946eaa3d8bba75923bfe3b
|
| 3 |
+
size 1121252
|
parse/train/6MaBrlQ5JM/6MaBrlQ5JM_layout.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:483f25878e5b2ff4e54365f4ec678262050564f5a298bd6ea00b160960f690d1
|
| 3 |
+
size 493544
|
parse/train/6MaBrlQ5JM/6MaBrlQ5JM_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aba48fd8e403e275f7a31d46a8d7768bded6388baff0701da82eb4a46e206e23
|
| 3 |
+
size 327211
|
parse/train/6MaBrlQ5JM/6MaBrlQ5JM_span.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:39fe06bdfed54361643133b269642946f6dc1b84d65fcdba79c4763e8185f00b
|
| 3 |
+
size 504006
|
parse/train/7J-fKoXiReA/7J-fKoXiReA_layout.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d88a85f5ecce0cf80e83f699cf3d1d8dc918ad02ffc9b8a3075e9e5d19211c6b
|
| 3 |
+
size 2235836
|
parse/train/7J-fKoXiReA/7J-fKoXiReA_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e7e840d68159eace3fa3704c865ae68f7a836a09bdc4354ff2c5170a21aa3227
|
| 3 |
+
size 1995067
|
parse/train/7J-fKoXiReA/7J-fKoXiReA_span.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:281b19961d42892a617f775ce0d69ece788be508d204eab8e584b70f2c0a3287
|
| 3 |
+
size 2250827
|
parse/train/Ad7Gv5NkBPz/Ad7Gv5NkBPz_layout.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b43a91dfa71fc68f1f75720c4927d265607d7880eee1d43c05a54d0b1db1256f
|
| 3 |
+
size 670893
|
parse/train/Ad7Gv5NkBPz/Ad7Gv5NkBPz_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b0f26524e4f11642d71be3efad7bdb4827cd923f52913b7914cb6724c2d35d08
|
| 3 |
+
size 469981
|
parse/train/Ad7Gv5NkBPz/Ad7Gv5NkBPz_span.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6ab5c25d0101ed3cc934b5f0d8e01075ed5cabf86c8e3e55b86a3b35eff7b836
|
| 3 |
+
size 705628
|
parse/train/Arn2E4IRjEB/Arn2E4IRjEB_layout.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:446e1066b468a4810f11d43c48d379dad06d3d2d94cde4cd90605d050d0d4f51
|
| 3 |
+
size 838376
|
parse/train/Arn2E4IRjEB/Arn2E4IRjEB_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4304d7fb4b975c6c23c05dc8223d1e45ee4375fa56f6e638744848dc2437eb6d
|
| 3 |
+
size 605057
|
parse/train/Arn2E4IRjEB/Arn2E4IRjEB_span.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d8e3d9579527afd745da6ba934b486858cd0dfbe4602711b95815e8e811503df
|
| 3 |
+
size 851609
|
parse/train/B1eXygBFPH/B1eXygBFPH_layout.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:298e19a875a0281fb1191dfa6adc8507fe033e77ef85df039fb1d303e16d50b1
|
| 3 |
+
size 580450
|
parse/train/B1eXygBFPH/B1eXygBFPH_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:daeeed83cdcd8e26e8c64c06c444af9830feb727b532fcdb9334a75cca29a206
|
| 3 |
+
size 428701
|
parse/train/B1eXygBFPH/B1eXygBFPH_span.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6482ad6578f443979e505c2d9d15b80e17203c1aee24880b611301bd2807ee24
|
| 3 |
+
size 590310
|
parse/train/BJg7x1HFvB/BJg7x1HFvB_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a45e1fd097db5489bbcdcfca254e087d9d7cc74d56d059fcbab91462b77a7791
|
| 3 |
+
size 379561
|
parse/train/BJg7x1HFvB/BJg7x1HFvB_span.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5917369f61f5a0670e875b2e9cb14934816dd17cf0d3e710dc7868edeb757c2a
|
| 3 |
+
size 584100
|
parse/train/BJlxmAKlg/BJlxmAKlg_layout.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:adfe12daa702a113d6e6cf671292f54a4aff75ad8dfaee017116e017f21665f8
|
| 3 |
+
size 1184896
|
parse/train/BJlxmAKlg/BJlxmAKlg_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5be958bb57ee2a868ac6289d9e6aa3b26a37c8f21a7a47f46a8fac843d335c9b
|
| 3 |
+
size 1054776
|
parse/train/BJlxmAKlg/BJlxmAKlg_span.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e134a990d830ba6d4d42abc86dd7bfb5364f8f1e497741536d1bfa0d09ed76ec
|
| 3 |
+
size 1189439
|
parse/train/BJlzm64tDH/BJlzm64tDH_layout.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9aea0964ed97c05d87299fc9084e4be4e6c87a5296440d847a9ffd5b98c04c02
|
| 3 |
+
size 1736423
|
parse/train/BJlzm64tDH/BJlzm64tDH_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1d659f1aaf0dd4a3703adf9f8cd13ae6a70580f5d391b0abd45ab4fd4c6aec77
|
| 3 |
+
size 1611506
|
parse/train/BJlzm64tDH/BJlzm64tDH_span.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:60730f1c7c4303f167f922b0560b82dd56568b099acf5998d003aac0c50733d9
|
| 3 |
+
size 1736827
|
parse/train/Bk8ZcAxR-/Bk8ZcAxR-_layout.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5b443860622b127e09f3058bbf5d45383ce842c51c81aa439214af39615b5867
|
| 3 |
+
size 7522928
|
parse/train/Bk8ZcAxR-/Bk8ZcAxR-_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:64dd90a04a7baca3ff880777e8acb1fa3d4bf9e043a438125ac3d7690e46c925
|
| 3 |
+
size 7318943
|
parse/train/Bk8ZcAxR-/Bk8ZcAxR-_span.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9b9436c50d802a56cebd8759e4cf0bf7539311ce2f384fba9e30d784c8a378a6
|
| 3 |
+
size 7526082
|
parse/train/BkfbpsAcF7/BkfbpsAcF7_layout.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8a4e3660e5ce1b0697e728aca2abd1fcb712f50f318ba5908a0312d9d9a546d4
|
| 3 |
+
size 6286763
|
parse/train/BkfbpsAcF7/BkfbpsAcF7_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:36b69fdc80dbfe4d7b21d2e590d206fdd3804cc15e27630bec906b31580b55c1
|
| 3 |
+
size 6088008
|
parse/train/BkfbpsAcF7/BkfbpsAcF7_span.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:97eca7c6f362eebd852eb5cd5e67d4695ed2e733d9d317b1d714d17f759a5001
|
| 3 |
+
size 6295612
|
parse/train/ByZvfijeg/ByZvfijeg_layout.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e1f313f12d739684d9620d4b3d7a16277e9a2acafbdd8506787c4b6e1a2657ec
|
| 3 |
+
size 363213
|
parse/train/ByZvfijeg/ByZvfijeg_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aba67280166c3ad53d8aac3c94dd7c99f5a1dd4c363b421f38b98c2d5826e333
|
| 3 |
+
size 277756
|
parse/train/ByZvfijeg/ByZvfijeg_span.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fdcd1b8cebff773baf4f99f731cad2100afdbb8e30f78fe0af7ab195dc9e57bc
|
| 3 |
+
size 367058
|
parse/train/ByeZ5jC5YQ/ByeZ5jC5YQ_layout.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df85998b64c552bf8d403ff584c2105fcb8c68bac5890677ad984d0e97801d32
|
| 3 |
+
size 1112568
|
parse/train/ByeZ5jC5YQ/ByeZ5jC5YQ_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4f0d8a27198d22783d72026c9ebba892b3fb5faa73c1d1f55b389b2ddbb4e326
|
| 3 |
+
size 878744
|
parse/train/ByeZ5jC5YQ/ByeZ5jC5YQ_span.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c4563e5d345b90c37363fcdede519f3e36e63b88a77ebfef0caa0c1eeaa9418
|
| 3 |
+
size 1122033
|
parse/train/BygWRaVYwH/BygWRaVYwH_layout.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:abb062b37d281c7ccd29c0bdcad16d14f9743d78af5d784cc5311ed41bba2e09
|
| 3 |
+
size 2637909
|
parse/train/BygWRaVYwH/BygWRaVYwH_origin.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f219c1a8dcaa36f7f8152e16a306ed05af252245cb43645e4e47cc0f941fffd8
|
| 3 |
+
size 2454055
|
parse/train/BygWRaVYwH/BygWRaVYwH_span.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e9e42b4f175aa576613e2c3a0d9a5482cfc2f0c0795958748b1e39125f0ff410
|
| 3 |
+
size 2645993
|
parse/train/Bygh9j09KX/Bygh9j09KX_layout.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:76552d089d9c469b93826c01e45e9220d8fec068b848bd2cfb008e9ef50f5c4c
|
| 3 |
+
size 6462578
|