diff --git "a/parse/train/rndqBJsGoKh/rndqBJsGoKh_middle.json" "b/parse/train/rndqBJsGoKh/rndqBJsGoKh_middle.json" new file mode 100644--- /dev/null +++ "b/parse/train/rndqBJsGoKh/rndqBJsGoKh_middle.json" @@ -0,0 +1,34298 @@ +{ + "pdf_info": [ + { + "preproc_blocks": [ + { + "type": "title", + "bbox": [ + 135, + 97, + 476, + 137 + ], + "lines": [ + { + "bbox": [ + 134, + 96, + 477, + 118 + ], + "spans": [ + { + "bbox": [ + 134, + 96, + 477, + 118 + ], + "score": 1.0, + "content": "SOFT: Softmax-free Transformer with Linear", + "type": "text" + } + ], + "index": 0 + }, + { + "bbox": [ + 261, + 115, + 351, + 140 + ], + "spans": [ + { + "bbox": [ + 261, + 115, + 351, + 140 + ], + "score": 1.0, + "content": "Complexity", + "type": "text" + } + ], + "index": 1 + } + ], + "index": 0.5 + }, + { + "type": "text", + "bbox": [ + 145, + 178, + 465, + 203 + ], + "lines": [ + { + "bbox": [ + 143, + 177, + 465, + 192 + ], + "spans": [ + { + "bbox": [ + 143, + 177, + 446, + 192 + ], + "score": 1.0, + "content": "Jiachen Lu1 Jinghan Yao1 Junge Zhang1 Xiatian Zhu2 Hang", + "type": "text" + }, + { + "bbox": [ + 446, + 178, + 465, + 190 + ], + "score": 0.31, + "content": "\\mathbf { X } \\mathbf { u } ^ { 3 }", + "type": "inline_equation" + } + ], + "index": 2 + }, + { + "bbox": [ + 183, + 189, + 440, + 204 + ], + "spans": [ + { + "bbox": [ + 183, + 189, + 440, + 204 + ], + "score": 1.0, + "content": "Weiguo Gao1 Chunjing Xu3 Tao Xiang2 Li Zhang1∗", + "type": "text" + } + ], + "index": 3 + } + ], + "index": 2.5 + }, + { + "type": "text", + "bbox": [ + 151, + 206, + 348, + 218 + ], + "lines": [ + { + "bbox": [ + 149, + 204, + 335, + 222 + ], + "spans": [ + { + "bbox": [ + 149, + 204, + 227, + 221 + ], + "score": 1.0, + "content": "1Fudan University", + "type": "text" + }, + { + "bbox": [ + 245, + 204, + 335, + 222 + ], + "score": 1.0, + "content": "2University of Surrey", + "type": "text" + } + ], + "index": 4 + } + ], + "index": 4 + }, + { + "type": "text", + "bbox": [ + 354, + 207, + 458, + 218 + ], + "lines": [ + { + "bbox": [ + 354, + 206, + 459, + 219 + ], + "spans": [ + { + "bbox": [ + 354, + 206, + 459, + 219 + ], + "score": 1.0, + "content": "3Huawei Noah’s Ark Lab", + "type": "text" + } + ], + "index": 5 + } + ], + "index": 5 + }, + { + "type": "text", + "bbox": [ + 210, + 223, + 401, + 234 + ], + "lines": [ + { + "bbox": [ + 208, + 222, + 403, + 236 + ], + "spans": [ + { + "bbox": [ + 208, + 222, + 403, + 236 + ], + "score": 1.0, + "content": "https://fudan-zvg.github.io/SOFT", + "type": "text" + } + ], + "index": 6 + } + ], + "index": 6 + }, + { + "type": "title", + "bbox": [ + 283, + 263, + 328, + 276 + ], + "lines": [ + { + "bbox": [ + 281, + 262, + 330, + 277 + ], + "spans": [ + { + "bbox": [ + 281, + 262, + 330, + 277 + ], + "score": 1.0, + "content": "Abstract", + "type": "text" + } + ], + "index": 7 + } + ], + "index": 7 + }, + { + "type": "text", + "bbox": [ + 143, + 286, + 469, + 505 + ], + "lines": [ + { + "bbox": [ + 142, + 285, + 470, + 300 + ], + "spans": [ + { + "bbox": [ + 142, + 285, + 470, + 300 + ], + "score": 1.0, + "content": "Vision transformers (ViTs) have pushed the state-of-the-art for various visual recog-", + "type": "text" + } + ], + "index": 8 + }, + { + "bbox": [ + 141, + 296, + 471, + 310 + ], + "spans": [ + { + "bbox": [ + 141, + 296, + 471, + 310 + ], + "score": 1.0, + "content": "nition tasks by patch-wise image tokenization followed by self-attention. However,", + "type": "text" + } + ], + "index": 9 + }, + { + "bbox": [ + 142, + 308, + 469, + 320 + ], + "spans": [ + { + "bbox": [ + 142, + 308, + 469, + 320 + ], + "score": 1.0, + "content": "the employment of self-attention modules results in a quadratic complexity in", + "type": "text" + } + ], + "index": 10 + }, + { + "bbox": [ + 141, + 318, + 471, + 332 + ], + "spans": [ + { + "bbox": [ + 141, + 318, + 471, + 332 + ], + "score": 1.0, + "content": "both computation and memory usage. Various attempts on approximating the self-", + "type": "text" + } + ], + "index": 11 + }, + { + "bbox": [ + 141, + 329, + 470, + 343 + ], + "spans": [ + { + "bbox": [ + 141, + 329, + 470, + 343 + ], + "score": 1.0, + "content": "attention computation with linear complexity have been made in Natural Language", + "type": "text" + } + ], + "index": 12 + }, + { + "bbox": [ + 141, + 341, + 470, + 353 + ], + "spans": [ + { + "bbox": [ + 141, + 341, + 470, + 353 + ], + "score": 1.0, + "content": "Processing. However, an in-depth analysis in this work shows that they are either", + "type": "text" + } + ], + "index": 13 + }, + { + "bbox": [ + 142, + 352, + 470, + 364 + ], + "spans": [ + { + "bbox": [ + 142, + 352, + 470, + 364 + ], + "score": 1.0, + "content": "theoretically flawed or empirically ineffective for visual recognition. We further", + "type": "text" + } + ], + "index": 14 + }, + { + "bbox": [ + 141, + 362, + 469, + 375 + ], + "spans": [ + { + "bbox": [ + 141, + 362, + 469, + 375 + ], + "score": 1.0, + "content": "identify that their limitations are rooted in keeping the softmax self-attention during", + "type": "text" + } + ], + "index": 15 + }, + { + "bbox": [ + 141, + 374, + 470, + 385 + ], + "spans": [ + { + "bbox": [ + 141, + 374, + 470, + 385 + ], + "score": 1.0, + "content": "approximations. Specifically, conventional self-attention is computed by normaliz-", + "type": "text" + } + ], + "index": 16 + }, + { + "bbox": [ + 142, + 385, + 470, + 397 + ], + "spans": [ + { + "bbox": [ + 142, + 385, + 470, + 397 + ], + "score": 1.0, + "content": "ing the scaled dot-product between token feature vectors. Keeping this softmax", + "type": "text" + } + ], + "index": 17 + }, + { + "bbox": [ + 141, + 396, + 470, + 407 + ], + "spans": [ + { + "bbox": [ + 141, + 396, + 470, + 407 + ], + "score": 1.0, + "content": "operation challenges any subsequent linearization efforts. Based on this insight,", + "type": "text" + } + ], + "index": 18 + }, + { + "bbox": [ + 141, + 406, + 470, + 418 + ], + "spans": [ + { + "bbox": [ + 141, + 406, + 470, + 418 + ], + "score": 1.0, + "content": "for the first time, a softmax-free transformer or SOFT is proposed. To remove soft-", + "type": "text" + } + ], + "index": 19 + }, + { + "bbox": [ + 141, + 417, + 470, + 429 + ], + "spans": [ + { + "bbox": [ + 141, + 417, + 470, + 429 + ], + "score": 1.0, + "content": "max in self-attention, Gaussian kernel function is used to replace the dot-product", + "type": "text" + } + ], + "index": 20 + }, + { + "bbox": [ + 141, + 428, + 471, + 440 + ], + "spans": [ + { + "bbox": [ + 141, + 428, + 471, + 440 + ], + "score": 1.0, + "content": "similarity without further normalization. This enables a full self-attention ma-", + "type": "text" + } + ], + "index": 21 + }, + { + "bbox": [ + 141, + 439, + 470, + 451 + ], + "spans": [ + { + "bbox": [ + 141, + 439, + 470, + 451 + ], + "score": 1.0, + "content": "trix to be approximated via a low-rank matrix decomposition. The robustness", + "type": "text" + } + ], + "index": 22 + }, + { + "bbox": [ + 141, + 449, + 470, + 463 + ], + "spans": [ + { + "bbox": [ + 141, + 449, + 470, + 463 + ], + "score": 1.0, + "content": "of the approximation is achieved by calculating its Moore-Penrose inverse using", + "type": "text" + } + ], + "index": 23 + }, + { + "bbox": [ + 141, + 461, + 469, + 473 + ], + "spans": [ + { + "bbox": [ + 141, + 461, + 469, + 473 + ], + "score": 1.0, + "content": "a Newton-Raphson method. Extensive experiments on ImageNet show that our", + "type": "text" + } + ], + "index": 24 + }, + { + "bbox": [ + 141, + 472, + 470, + 483 + ], + "spans": [ + { + "bbox": [ + 141, + 472, + 470, + 483 + ], + "score": 1.0, + "content": "SOFT significantly improves the computational efficiency of existing ViT variants.", + "type": "text" + } + ], + "index": 25 + }, + { + "bbox": [ + 142, + 482, + 469, + 495 + ], + "spans": [ + { + "bbox": [ + 142, + 482, + 469, + 495 + ], + "score": 1.0, + "content": "Crucially, with a linear complexity, much longer token sequences are permitted in", + "type": "text" + } + ], + "index": 26 + }, + { + "bbox": [ + 141, + 493, + 430, + 507 + ], + "spans": [ + { + "bbox": [ + 141, + 493, + 430, + 507 + ], + "score": 1.0, + "content": "SOFT, resulting in superior trade-off between accuracy and complexity.", + "type": "text" + } + ], + "index": 27 + } + ], + "index": 17.5 + }, + { + "type": "title", + "bbox": [ + 107, + 522, + 190, + 536 + ], + "lines": [ + { + "bbox": [ + 105, + 521, + 192, + 538 + ], + "spans": [ + { + "bbox": [ + 105, + 521, + 192, + 538 + ], + "score": 1.0, + "content": "1 Introduction", + "type": "text" + } + ], + "index": 28 + } + ], + "index": 28 + }, + { + "type": "text", + "bbox": [ + 107, + 547, + 505, + 689 + ], + "lines": [ + { + "bbox": [ + 105, + 546, + 505, + 560 + ], + "spans": [ + { + "bbox": [ + 105, + 546, + 505, + 560 + ], + "score": 1.0, + "content": "Recently the step change brought by Transformers [33] in natural language processing (NLP) [10, 4]", + "type": "text" + } + ], + "index": 29 + }, + { + "bbox": [ + 105, + 557, + 506, + 571 + ], + "spans": [ + { + "bbox": [ + 105, + 557, + 506, + 571 + ], + "score": 1.0, + "content": "seems to have arrived in vision [11, 41, 47, 46]. Indeed, with less inductive bias in its architecture", + "type": "text" + } + ], + "index": 30 + }, + { + "bbox": [ + 105, + 569, + 506, + 582 + ], + "spans": [ + { + "bbox": [ + 105, + 569, + 506, + 582 + ], + "score": 1.0, + "content": "design than Convolution neural networks (CNNs), pure Vision Transformer (ViT) [11] and its variants", + "type": "text" + } + ], + "index": 31 + }, + { + "bbox": [ + 105, + 579, + 506, + 592 + ], + "spans": [ + { + "bbox": [ + 105, + 579, + 506, + 592 + ], + "score": 1.0, + "content": "have shown to be able to outperform CNNs on various vision tasks [8, 15]. However, there is a", + "type": "text" + } + ], + "index": 32 + }, + { + "bbox": [ + 106, + 591, + 505, + 603 + ], + "spans": [ + { + "bbox": [ + 106, + 591, + 505, + 603 + ], + "score": 1.0, + "content": "bottleneck in any Transformer based model, namely its quadratic complexity in both computation", + "type": "text" + } + ], + "index": 33 + }, + { + "bbox": [ + 105, + 601, + 506, + 614 + ], + "spans": [ + { + "bbox": [ + 105, + 601, + 506, + 614 + ], + "score": 1.0, + "content": "and memory usage. This is intrinsic to the self-attention mechanism: given a sequence of tokens", + "type": "text" + } + ], + "index": 34 + }, + { + "bbox": [ + 105, + 613, + 506, + 625 + ], + "spans": [ + { + "bbox": [ + 105, + 613, + 506, + 625 + ], + "score": 1.0, + "content": "(e.g., words or image patches) as input, the self-attention module iteratively learns the feature", + "type": "text" + } + ], + "index": 35 + }, + { + "bbox": [ + 105, + 623, + 505, + 636 + ], + "spans": [ + { + "bbox": [ + 105, + 623, + 478, + 636 + ], + "score": 1.0, + "content": "representations by relating one token to all other tokens. This results in a quadratic complexity", + "type": "text" + }, + { + "bbox": [ + 478, + 623, + 505, + 635 + ], + "score": 0.92, + "content": "O ( n ^ { 2 } )", + "type": "inline_equation" + } + ], + "index": 36 + }, + { + "bbox": [ + 105, + 634, + 504, + 647 + ], + "spans": [ + { + "bbox": [ + 105, + 634, + 235, + 647 + ], + "score": 1.0, + "content": "with the token sequence length", + "type": "text" + }, + { + "bbox": [ + 235, + 636, + 243, + 644 + ], + "score": 0.7, + "content": "n", + "type": "inline_equation" + }, + { + "bbox": [ + 243, + 634, + 478, + 647 + ], + "score": 1.0, + "content": "in both computation (time) and memory (space) since an", + "type": "text" + }, + { + "bbox": [ + 478, + 636, + 504, + 645 + ], + "score": 0.88, + "content": "n \\times n", + "type": "inline_equation" + } + ], + "index": 37 + }, + { + "bbox": [ + 105, + 645, + 505, + 658 + ], + "spans": [ + { + "bbox": [ + 105, + 645, + 505, + 658 + ], + "score": 1.0, + "content": "sized attention matrix needs to be computed and saved during inference. This problem is particularly", + "type": "text" + } + ], + "index": 38 + }, + { + "bbox": [ + 105, + 656, + 505, + 669 + ], + "spans": [ + { + "bbox": [ + 105, + 656, + 505, + 669 + ], + "score": 1.0, + "content": "acute in vision: a 2D image after tokenization will produce a far longer sequence than those in NLP", + "type": "text" + } + ], + "index": 39 + }, + { + "bbox": [ + 105, + 667, + 505, + 680 + ], + "spans": [ + { + "bbox": [ + 105, + 667, + 505, + 680 + ], + "score": 1.0, + "content": "even with a moderate spatial resolution. This quadratic complexity thus prevents a ViT model from", + "type": "text" + } + ], + "index": 40 + }, + { + "bbox": [ + 106, + 678, + 491, + 690 + ], + "spans": [ + { + "bbox": [ + 106, + 678, + 491, + 690 + ], + "score": 1.0, + "content": "modeling images at high spatial resolutions, which are often crucial for visual recognition tasks.", + "type": "text" + } + ], + "index": 41 + } + ], + "index": 35 + } + ], + "page_idx": 0, + "page_size": [ + 612, + 792 + ], + "discarded_blocks": [ + { + "type": "discarded", + "bbox": [ + 107, + 695, + 504, + 716 + ], + "lines": [ + { + "bbox": [ + 117, + 693, + 506, + 708 + ], + "spans": [ + { + "bbox": [ + 117, + 693, + 199, + 708 + ], + "score": 1.0, + "content": "∗Li Zhang (lizhangfd", + "type": "text" + }, + { + "bbox": [ + 199, + 696, + 207, + 704 + ], + "score": 0.45, + "content": "@", + "type": "inline_equation" + }, + { + "bbox": [ + 208, + 693, + 506, + 708 + ], + "score": 1.0, + "content": "fudan.edu.cn) is the corresponding author with School of Data Science, Fudan", + "type": "text" + } + ] + }, + { + "bbox": [ + 105, + 703, + 149, + 718 + ], + "spans": [ + { + "bbox": [ + 105, + 703, + 149, + 718 + ], + "score": 1.0, + "content": "University.", + "type": "text" + } + ] + } + ] + }, + { + "type": "discarded", + "bbox": [ + 107, + 731, + 385, + 742 + ], + "lines": [ + { + "bbox": [ + 106, + 730, + 386, + 743 + ], + "spans": [ + { + "bbox": [ + 106, + 730, + 386, + 743 + ], + "score": 1.0, + "content": "35th Conference on Neural Information Processing Systems (NeurIPS 2021).", + "type": "text" + } + ] + } + ] + } + ], + "para_blocks": [ + { + "type": "title", + "bbox": [ + 135, + 97, + 476, + 137 + ], + "lines": [ + { + "bbox": [ + 134, + 96, + 477, + 118 + ], + "spans": [ + { + "bbox": [ + 134, + 96, + 477, + 118 + ], + "score": 1.0, + "content": "SOFT: Softmax-free Transformer with Linear", + "type": "text" + } + ], + "index": 0 + }, + { + "bbox": [ + 261, + 115, + 351, + 140 + ], + "spans": [ + { + "bbox": [ + 261, + 115, + 351, + 140 + ], + "score": 1.0, + "content": "Complexity", + "type": "text" + } + ], + "index": 1 + } + ], + "index": 0.5 + }, + { + "type": "text", + "bbox": [ + 145, + 178, + 465, + 203 + ], + "lines": [ + { + "bbox": [ + 143, + 177, + 465, + 192 + ], + "spans": [ + { + "bbox": [ + 143, + 177, + 446, + 192 + ], + "score": 1.0, + "content": "Jiachen Lu1 Jinghan Yao1 Junge Zhang1 Xiatian Zhu2 Hang", + "type": "text" + }, + { + "bbox": [ + 446, + 178, + 465, + 190 + ], + "score": 0.31, + "content": "\\mathbf { X } \\mathbf { u } ^ { 3 }", + "type": "inline_equation" + } + ], + "index": 2 + }, + { + "bbox": [ + 183, + 189, + 440, + 204 + ], + "spans": [ + { + "bbox": [ + 183, + 189, + 440, + 204 + ], + "score": 1.0, + "content": "Weiguo Gao1 Chunjing Xu3 Tao Xiang2 Li Zhang1∗", + "type": "text" + } + ], + "index": 3 + } + ], + "index": 2.5, + "bbox_fs": [ + 143, + 177, + 465, + 204 + ] + }, + { + "type": "text", + "bbox": [ + 151, + 206, + 348, + 218 + ], + "lines": [ + { + "bbox": [ + 149, + 204, + 335, + 222 + ], + "spans": [ + { + "bbox": [ + 149, + 204, + 227, + 221 + ], + "score": 1.0, + "content": "1Fudan University", + "type": "text" + }, + { + "bbox": [ + 245, + 204, + 335, + 222 + ], + "score": 1.0, + "content": "2University of Surrey", + "type": "text" + } + ], + "index": 4 + } + ], + "index": 4, + "bbox_fs": [ + 149, + 204, + 335, + 222 + ] + }, + { + "type": "text", + "bbox": [ + 354, + 207, + 458, + 218 + ], + "lines": [ + { + "bbox": [ + 354, + 206, + 459, + 219 + ], + "spans": [ + { + "bbox": [ + 354, + 206, + 459, + 219 + ], + "score": 1.0, + "content": "3Huawei Noah’s Ark Lab", + "type": "text" + } + ], + "index": 5 + } + ], + "index": 5, + "bbox_fs": [ + 354, + 206, + 459, + 219 + ] + }, + { + "type": "text", + "bbox": [ + 210, + 223, + 401, + 234 + ], + "lines": [ + { + "bbox": [ + 208, + 222, + 403, + 236 + ], + "spans": [ + { + "bbox": [ + 208, + 222, + 403, + 236 + ], + "score": 1.0, + "content": "https://fudan-zvg.github.io/SOFT", + "type": "text" + } + ], + "index": 6 + } + ], + "index": 6, + "bbox_fs": [ + 208, + 222, + 403, + 236 + ] + }, + { + "type": "title", + "bbox": [ + 283, + 263, + 328, + 276 + ], + "lines": [ + { + "bbox": [ + 281, + 262, + 330, + 277 + ], + "spans": [ + { + "bbox": [ + 281, + 262, + 330, + 277 + ], + "score": 1.0, + "content": "Abstract", + "type": "text" + } + ], + "index": 7 + } + ], + "index": 7 + }, + { + "type": "text", + "bbox": [ + 143, + 286, + 469, + 505 + ], + "lines": [ + { + "bbox": [ + 142, + 285, + 470, + 300 + ], + "spans": [ + { + "bbox": [ + 142, + 285, + 470, + 300 + ], + "score": 1.0, + "content": "Vision transformers (ViTs) have pushed the state-of-the-art for various visual recog-", + "type": "text" + } + ], + "index": 8 + }, + { + "bbox": [ + 141, + 296, + 471, + 310 + ], + "spans": [ + { + "bbox": [ + 141, + 296, + 471, + 310 + ], + "score": 1.0, + "content": "nition tasks by patch-wise image tokenization followed by self-attention. However,", + "type": "text" + } + ], + "index": 9 + }, + { + "bbox": [ + 142, + 308, + 469, + 320 + ], + "spans": [ + { + "bbox": [ + 142, + 308, + 469, + 320 + ], + "score": 1.0, + "content": "the employment of self-attention modules results in a quadratic complexity in", + "type": "text" + } + ], + "index": 10 + }, + { + "bbox": [ + 141, + 318, + 471, + 332 + ], + "spans": [ + { + "bbox": [ + 141, + 318, + 471, + 332 + ], + "score": 1.0, + "content": "both computation and memory usage. Various attempts on approximating the self-", + "type": "text" + } + ], + "index": 11 + }, + { + "bbox": [ + 141, + 329, + 470, + 343 + ], + "spans": [ + { + "bbox": [ + 141, + 329, + 470, + 343 + ], + "score": 1.0, + "content": "attention computation with linear complexity have been made in Natural Language", + "type": "text" + } + ], + "index": 12 + }, + { + "bbox": [ + 141, + 341, + 470, + 353 + ], + "spans": [ + { + "bbox": [ + 141, + 341, + 470, + 353 + ], + "score": 1.0, + "content": "Processing. However, an in-depth analysis in this work shows that they are either", + "type": "text" + } + ], + "index": 13 + }, + { + "bbox": [ + 142, + 352, + 470, + 364 + ], + "spans": [ + { + "bbox": [ + 142, + 352, + 470, + 364 + ], + "score": 1.0, + "content": "theoretically flawed or empirically ineffective for visual recognition. We further", + "type": "text" + } + ], + "index": 14 + }, + { + "bbox": [ + 141, + 362, + 469, + 375 + ], + "spans": [ + { + "bbox": [ + 141, + 362, + 469, + 375 + ], + "score": 1.0, + "content": "identify that their limitations are rooted in keeping the softmax self-attention during", + "type": "text" + } + ], + "index": 15 + }, + { + "bbox": [ + 141, + 374, + 470, + 385 + ], + "spans": [ + { + "bbox": [ + 141, + 374, + 470, + 385 + ], + "score": 1.0, + "content": "approximations. Specifically, conventional self-attention is computed by normaliz-", + "type": "text" + } + ], + "index": 16 + }, + { + "bbox": [ + 142, + 385, + 470, + 397 + ], + "spans": [ + { + "bbox": [ + 142, + 385, + 470, + 397 + ], + "score": 1.0, + "content": "ing the scaled dot-product between token feature vectors. Keeping this softmax", + "type": "text" + } + ], + "index": 17 + }, + { + "bbox": [ + 141, + 396, + 470, + 407 + ], + "spans": [ + { + "bbox": [ + 141, + 396, + 470, + 407 + ], + "score": 1.0, + "content": "operation challenges any subsequent linearization efforts. Based on this insight,", + "type": "text" + } + ], + "index": 18 + }, + { + "bbox": [ + 141, + 406, + 470, + 418 + ], + "spans": [ + { + "bbox": [ + 141, + 406, + 470, + 418 + ], + "score": 1.0, + "content": "for the first time, a softmax-free transformer or SOFT is proposed. To remove soft-", + "type": "text" + } + ], + "index": 19 + }, + { + "bbox": [ + 141, + 417, + 470, + 429 + ], + "spans": [ + { + "bbox": [ + 141, + 417, + 470, + 429 + ], + "score": 1.0, + "content": "max in self-attention, Gaussian kernel function is used to replace the dot-product", + "type": "text" + } + ], + "index": 20 + }, + { + "bbox": [ + 141, + 428, + 471, + 440 + ], + "spans": [ + { + "bbox": [ + 141, + 428, + 471, + 440 + ], + "score": 1.0, + "content": "similarity without further normalization. This enables a full self-attention ma-", + "type": "text" + } + ], + "index": 21 + }, + { + "bbox": [ + 141, + 439, + 470, + 451 + ], + "spans": [ + { + "bbox": [ + 141, + 439, + 470, + 451 + ], + "score": 1.0, + "content": "trix to be approximated via a low-rank matrix decomposition. The robustness", + "type": "text" + } + ], + "index": 22 + }, + { + "bbox": [ + 141, + 449, + 470, + 463 + ], + "spans": [ + { + "bbox": [ + 141, + 449, + 470, + 463 + ], + "score": 1.0, + "content": "of the approximation is achieved by calculating its Moore-Penrose inverse using", + "type": "text" + } + ], + "index": 23 + }, + { + "bbox": [ + 141, + 461, + 469, + 473 + ], + "spans": [ + { + "bbox": [ + 141, + 461, + 469, + 473 + ], + "score": 1.0, + "content": "a Newton-Raphson method. Extensive experiments on ImageNet show that our", + "type": "text" + } + ], + "index": 24 + }, + { + "bbox": [ + 141, + 472, + 470, + 483 + ], + "spans": [ + { + "bbox": [ + 141, + 472, + 470, + 483 + ], + "score": 1.0, + "content": "SOFT significantly improves the computational efficiency of existing ViT variants.", + "type": "text" + } + ], + "index": 25 + }, + { + "bbox": [ + 142, + 482, + 469, + 495 + ], + "spans": [ + { + "bbox": [ + 142, + 482, + 469, + 495 + ], + "score": 1.0, + "content": "Crucially, with a linear complexity, much longer token sequences are permitted in", + "type": "text" + } + ], + "index": 26 + }, + { + "bbox": [ + 141, + 493, + 430, + 507 + ], + "spans": [ + { + "bbox": [ + 141, + 493, + 430, + 507 + ], + "score": 1.0, + "content": "SOFT, resulting in superior trade-off between accuracy and complexity.", + "type": "text" + } + ], + "index": 27 + } + ], + "index": 17.5, + "bbox_fs": [ + 141, + 285, + 471, + 507 + ] + }, + { + "type": "title", + "bbox": [ + 107, + 522, + 190, + 536 + ], + "lines": [ + { + "bbox": [ + 105, + 521, + 192, + 538 + ], + "spans": [ + { + "bbox": [ + 105, + 521, + 192, + 538 + ], + "score": 1.0, + "content": "1 Introduction", + "type": "text" + } + ], + "index": 28 + } + ], + "index": 28 + }, + { + "type": "text", + "bbox": [ + 107, + 547, + 505, + 689 + ], + "lines": [ + { + "bbox": [ + 105, + 546, + 505, + 560 + ], + "spans": [ + { + "bbox": [ + 105, + 546, + 505, + 560 + ], + "score": 1.0, + "content": "Recently the step change brought by Transformers [33] in natural language processing (NLP) [10, 4]", + "type": "text" + } + ], + "index": 29 + }, + { + "bbox": [ + 105, + 557, + 506, + 571 + ], + "spans": [ + { + "bbox": [ + 105, + 557, + 506, + 571 + ], + "score": 1.0, + "content": "seems to have arrived in vision [11, 41, 47, 46]. Indeed, with less inductive bias in its architecture", + "type": "text" + } + ], + "index": 30 + }, + { + "bbox": [ + 105, + 569, + 506, + 582 + ], + "spans": [ + { + "bbox": [ + 105, + 569, + 506, + 582 + ], + "score": 1.0, + "content": "design than Convolution neural networks (CNNs), pure Vision Transformer (ViT) [11] and its variants", + "type": "text" + } + ], + "index": 31 + }, + { + "bbox": [ + 105, + 579, + 506, + 592 + ], + "spans": [ + { + "bbox": [ + 105, + 579, + 506, + 592 + ], + "score": 1.0, + "content": "have shown to be able to outperform CNNs on various vision tasks [8, 15]. However, there is a", + "type": "text" + } + ], + "index": 32 + }, + { + "bbox": [ + 106, + 591, + 505, + 603 + ], + "spans": [ + { + "bbox": [ + 106, + 591, + 505, + 603 + ], + "score": 1.0, + "content": "bottleneck in any Transformer based model, namely its quadratic complexity in both computation", + "type": "text" + } + ], + "index": 33 + }, + { + "bbox": [ + 105, + 601, + 506, + 614 + ], + "spans": [ + { + "bbox": [ + 105, + 601, + 506, + 614 + ], + "score": 1.0, + "content": "and memory usage. This is intrinsic to the self-attention mechanism: given a sequence of tokens", + "type": "text" + } + ], + "index": 34 + }, + { + "bbox": [ + 105, + 613, + 506, + 625 + ], + "spans": [ + { + "bbox": [ + 105, + 613, + 506, + 625 + ], + "score": 1.0, + "content": "(e.g., words or image patches) as input, the self-attention module iteratively learns the feature", + "type": "text" + } + ], + "index": 35 + }, + { + "bbox": [ + 105, + 623, + 505, + 636 + ], + "spans": [ + { + "bbox": [ + 105, + 623, + 478, + 636 + ], + "score": 1.0, + "content": "representations by relating one token to all other tokens. This results in a quadratic complexity", + "type": "text" + }, + { + "bbox": [ + 478, + 623, + 505, + 635 + ], + "score": 0.92, + "content": "O ( n ^ { 2 } )", + "type": "inline_equation" + } + ], + "index": 36 + }, + { + "bbox": [ + 105, + 634, + 504, + 647 + ], + "spans": [ + { + "bbox": [ + 105, + 634, + 235, + 647 + ], + "score": 1.0, + "content": "with the token sequence length", + "type": "text" + }, + { + "bbox": [ + 235, + 636, + 243, + 644 + ], + "score": 0.7, + "content": "n", + "type": "inline_equation" + }, + { + "bbox": [ + 243, + 634, + 478, + 647 + ], + "score": 1.0, + "content": "in both computation (time) and memory (space) since an", + "type": "text" + }, + { + "bbox": [ + 478, + 636, + 504, + 645 + ], + "score": 0.88, + "content": "n \\times n", + "type": "inline_equation" + } + ], + "index": 37 + }, + { + "bbox": [ + 105, + 645, + 505, + 658 + ], + "spans": [ + { + "bbox": [ + 105, + 645, + 505, + 658 + ], + "score": 1.0, + "content": "sized attention matrix needs to be computed and saved during inference. This problem is particularly", + "type": "text" + } + ], + "index": 38 + }, + { + "bbox": [ + 105, + 656, + 505, + 669 + ], + "spans": [ + { + "bbox": [ + 105, + 656, + 505, + 669 + ], + "score": 1.0, + "content": "acute in vision: a 2D image after tokenization will produce a far longer sequence than those in NLP", + "type": "text" + } + ], + "index": 39 + }, + { + "bbox": [ + 105, + 667, + 505, + 680 + ], + "spans": [ + { + "bbox": [ + 105, + 667, + 505, + 680 + ], + "score": 1.0, + "content": "even with a moderate spatial resolution. This quadratic complexity thus prevents a ViT model from", + "type": "text" + } + ], + "index": 40 + }, + { + "bbox": [ + 106, + 678, + 491, + 690 + ], + "spans": [ + { + "bbox": [ + 106, + 678, + 491, + 690 + ], + "score": 1.0, + "content": "modeling images at high spatial resolutions, which are often crucial for visual recognition tasks.", + "type": "text" + } + ], + "index": 41 + } + ], + "index": 35, + "bbox_fs": [ + 105, + 546, + 506, + 690 + ] + } + ] + }, + { + "preproc_blocks": [ + { + "type": "image", + "bbox": [ + 107, + 75, + 499, + 235 + ], + "blocks": [ + { + "type": "image_body", + "bbox": [ + 107, + 75, + 499, + 235 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 107, + 75, + 499, + 235 + ], + "spans": [ + { + "bbox": [ + 107, + 75, + 499, + 235 + ], + "score": 0.972, + "type": "image", + "image_path": "21eeda7dcaa4b05139da8729b189b3dd99590e1517d4f44cd949d34aec3776d6.jpg" + } + ] + } + ], + "index": 1, + "virtual_lines": [ + { + "bbox": [ + 107, + 75, + 499, + 128.33333333333334 + ], + "spans": [], + "index": 0 + }, + { + "bbox": [ + 107, + 128.33333333333334, + 499, + 181.66666666666669 + ], + "spans": [], + "index": 1 + }, + { + "bbox": [ + 107, + 181.66666666666669, + 499, + 235.00000000000003 + ], + "spans": [], + "index": 2 + } + ] + }, + { + "type": "image_caption", + "bbox": [ + 106, + 241, + 506, + 307 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 105, + 241, + 505, + 254 + ], + "spans": [ + { + "bbox": [ + 105, + 241, + 505, + 254 + ], + "score": 1.0, + "content": "Figure 1: Top1-Accuracy on ImageNet [9] validation set with respect to parameters and the memory", + "type": "text" + } + ], + "index": 3 + }, + { + "bbox": [ + 106, + 252, + 506, + 265 + ], + "spans": [ + { + "bbox": [ + 106, + 252, + 506, + 265 + ], + "score": 1.0, + "content": "usage corresponding to the token sequence length in practice compared to other methods. (a) Com-", + "type": "text" + } + ], + "index": 4 + }, + { + "bbox": [ + 105, + 263, + 507, + 277 + ], + "spans": [ + { + "bbox": [ + 105, + 263, + 507, + 277 + ], + "score": 1.0, + "content": "parison with CNN models: RegNet [26], ResNet [13] and Transformer models: PVT [35], DeiT [31],", + "type": "text" + } + ], + "index": 5 + }, + { + "bbox": [ + 105, + 273, + 506, + 287 + ], + "spans": [ + { + "bbox": [ + 105, + 273, + 506, + 287 + ], + "score": 1.0, + "content": "ViT [11], T2T-ViT [41], Twins-SVT [6] and SAN10 [45]; (b) Comparison with Transformer [33],", + "type": "text" + } + ], + "index": 6 + }, + { + "bbox": [ + 104, + 285, + 506, + 299 + ], + "spans": [ + { + "bbox": [ + 104, + 285, + 506, + 299 + ], + "score": 1.0, + "content": "Linformer [34], Nyströformer [39] and Performer [5]. The memory usage is measured with a batch", + "type": "text" + } + ], + "index": 7 + }, + { + "bbox": [ + 105, + 296, + 239, + 308 + ], + "spans": [ + { + "bbox": [ + 105, + 296, + 239, + 308 + ], + "score": 1.0, + "content": "size of 1 on a 16GB Tesla V100.", + "type": "text" + } + ], + "index": 8 + } + ], + "index": 5.5 + } + ], + "index": 3.25 + }, + { + "type": "text", + "bbox": [ + 107, + 330, + 505, + 440 + ], + "lines": [ + { + "bbox": [ + 105, + 329, + 507, + 343 + ], + "spans": [ + { + "bbox": [ + 105, + 329, + 507, + 343 + ], + "score": 1.0, + "content": "A natural solution is to reduce the complexity of self-attention computation via approximation.", + "type": "text" + } + ], + "index": 9 + }, + { + "bbox": [ + 106, + 341, + 506, + 354 + ], + "spans": [ + { + "bbox": [ + 106, + 341, + 506, + 354 + ], + "score": 1.0, + "content": "Indeed, there have been a number of attempts in NLP [34, 5, 18, 39]. For example, [34] takes a", + "type": "text" + } + ], + "index": 10 + }, + { + "bbox": [ + 106, + 352, + 506, + 365 + ], + "spans": [ + { + "bbox": [ + 106, + 352, + 506, + 365 + ], + "score": 1.0, + "content": "naive approach by shortening the length of Key and Value via learnable projections. Such a coarse", + "type": "text" + } + ], + "index": 11 + }, + { + "bbox": [ + 105, + 362, + 506, + 376 + ], + "spans": [ + { + "bbox": [ + 105, + 362, + 506, + 376 + ], + "score": 1.0, + "content": "approximation would inevitably cause performance degradation. In contrast, [5, 17] both leverage the", + "type": "text" + } + ], + "index": 12 + }, + { + "bbox": [ + 106, + 374, + 506, + 387 + ], + "spans": [ + { + "bbox": [ + 106, + 374, + 506, + 387 + ], + "score": 1.0, + "content": "kernel mechanism to approximate softmax normalization to linearize the computation in self-attention.", + "type": "text" + } + ], + "index": 13 + }, + { + "bbox": [ + 106, + 385, + 505, + 398 + ], + "spans": [ + { + "bbox": [ + 106, + 385, + 505, + 398 + ], + "score": 1.0, + "content": "[18] instead adopts a hashing strategy to selectively compute the most similar pairs. Recently, [39]", + "type": "text" + } + ], + "index": 14 + }, + { + "bbox": [ + 106, + 396, + 505, + 407 + ], + "spans": [ + { + "bbox": [ + 106, + 396, + 505, + 407 + ], + "score": 1.0, + "content": "uses Nyström matrix decomposition to reconstruct the full attention matrix with polynomial iteration", + "type": "text" + } + ], + "index": 15 + }, + { + "bbox": [ + 106, + 407, + 505, + 419 + ], + "spans": [ + { + "bbox": [ + 106, + 407, + 505, + 419 + ], + "score": 1.0, + "content": "for approximating the pseudo-inverse of the landmark matrix. Nonetheless, softmax normalization", + "type": "text" + } + ], + "index": 16 + }, + { + "bbox": [ + 105, + 417, + 506, + 429 + ], + "spans": [ + { + "bbox": [ + 105, + 417, + 506, + 429 + ], + "score": 1.0, + "content": "is simply duplicated across the matrix decomposition process, which is theoretically unsound. We", + "type": "text" + } + ], + "index": 17 + }, + { + "bbox": [ + 105, + 428, + 492, + 441 + ], + "spans": [ + { + "bbox": [ + 105, + 428, + 492, + 441 + ], + "score": 1.0, + "content": "empirically found that none of these methods are effective when applied to vision (see Sec. 4.2).", + "type": "text" + } + ], + "index": 18 + } + ], + "index": 13.5 + }, + { + "type": "text", + "bbox": [ + 107, + 444, + 505, + 565 + ], + "lines": [ + { + "bbox": [ + 105, + 444, + 505, + 458 + ], + "spans": [ + { + "bbox": [ + 105, + 444, + 505, + 458 + ], + "score": 1.0, + "content": "In this work, we identify that the limitations of existing efficient Transformers are caused by the use", + "type": "text" + } + ], + "index": 19 + }, + { + "bbox": [ + 106, + 456, + 506, + 469 + ], + "spans": [ + { + "bbox": [ + 106, + 456, + 506, + 469 + ], + "score": 1.0, + "content": "of softmax self-attention, and for the first time propose a softmax-free Transformer. More specifically,", + "type": "text" + } + ], + "index": 20 + }, + { + "bbox": [ + 104, + 465, + 506, + 481 + ], + "spans": [ + { + "bbox": [ + 104, + 465, + 506, + 481 + ], + "score": 1.0, + "content": "in all existing Transformers (with or without linearization), a softmax normalization is needed on top", + "type": "text" + } + ], + "index": 21 + }, + { + "bbox": [ + 105, + 477, + 506, + 491 + ], + "spans": [ + { + "bbox": [ + 105, + 477, + 506, + 491 + ], + "score": 1.0, + "content": "of scaled dot-product between token feature vectors [33]. Keeping this softmax operation challenges", + "type": "text" + } + ], + "index": 22 + }, + { + "bbox": [ + 105, + 488, + 506, + 502 + ], + "spans": [ + { + "bbox": [ + 105, + 488, + 506, + 502 + ], + "score": 1.0, + "content": "any subsequent linearization efforts. To overcome this obstacle, we introduce a novel softmax-free", + "type": "text" + } + ], + "index": 23 + }, + { + "bbox": [ + 106, + 499, + 506, + 512 + ], + "spans": [ + { + "bbox": [ + 106, + 500, + 383, + 512 + ], + "score": 1.0, + "content": "self-attention mechanism, named as SOFT, with linear complexity", + "type": "text" + }, + { + "bbox": [ + 383, + 499, + 406, + 511 + ], + "score": 0.92, + "content": "O ( n )", + "type": "inline_equation" + }, + { + "bbox": [ + 406, + 500, + 506, + 512 + ], + "score": 1.0, + "content": "in both space and time.", + "type": "text" + } + ], + "index": 24 + }, + { + "bbox": [ + 106, + 510, + 506, + 523 + ], + "spans": [ + { + "bbox": [ + 106, + 510, + 506, + 523 + ], + "score": 1.0, + "content": "Specifically, SOFT uses Gaussian kernel to define the similarity (self-attention) function without", + "type": "text" + } + ], + "index": 25 + }, + { + "bbox": [ + 106, + 522, + 506, + 533 + ], + "spans": [ + { + "bbox": [ + 106, + 522, + 506, + 533 + ], + "score": 1.0, + "content": "the need for subsequent softmax normalization. With this softmax-free attention matrix, we further", + "type": "text" + } + ], + "index": 26 + }, + { + "bbox": [ + 105, + 532, + 506, + 545 + ], + "spans": [ + { + "bbox": [ + 105, + 532, + 506, + 545 + ], + "score": 1.0, + "content": "introduce a novel low-rank matrix decomposition algorithm for approximation. The robustness of", + "type": "text" + } + ], + "index": 27 + }, + { + "bbox": [ + 106, + 543, + 505, + 556 + ], + "spans": [ + { + "bbox": [ + 106, + 543, + 505, + 556 + ], + "score": 1.0, + "content": "the approximation is theoretically guaranteed by employing a Newton-Raphson method for reliably", + "type": "text" + } + ], + "index": 28 + }, + { + "bbox": [ + 105, + 555, + 318, + 566 + ], + "spans": [ + { + "bbox": [ + 105, + 555, + 318, + 566 + ], + "score": 1.0, + "content": "computing the Moore-Penrose inverse of the matrix.", + "type": "text" + } + ], + "index": 29 + } + ], + "index": 24 + }, + { + "type": "text", + "bbox": [ + 107, + 570, + 505, + 658 + ], + "lines": [ + { + "bbox": [ + 105, + 570, + 505, + 583 + ], + "spans": [ + { + "bbox": [ + 105, + 570, + 505, + 583 + ], + "score": 1.0, + "content": "We make the following contributions. (I) We introduce a novel softmax-free Transformer with linear", + "type": "text" + } + ], + "index": 30 + }, + { + "bbox": [ + 105, + 581, + 506, + 594 + ], + "spans": [ + { + "bbox": [ + 105, + 581, + 223, + 594 + ], + "score": 1.0, + "content": "space and time complexity.", + "type": "text" + }, + { + "bbox": [ + 223, + 581, + 239, + 592 + ], + "score": 0.28, + "content": "\\mathbf { \\Pi } ^ { ( \\mathbf { I I } ) }", + "type": "inline_equation" + }, + { + "bbox": [ + 239, + 581, + 506, + 594 + ], + "score": 1.0, + "content": "Our attention matrix approximation is achieved through a novel", + "type": "text" + } + ], + "index": 31 + }, + { + "bbox": [ + 105, + 592, + 505, + 605 + ], + "spans": [ + { + "bbox": [ + 105, + 592, + 505, + 605 + ], + "score": 1.0, + "content": "matrix decomposition algorithm with theoretical guarantee. (III) To evaluate our method for visual", + "type": "text" + } + ], + "index": 32 + }, + { + "bbox": [ + 104, + 602, + 506, + 617 + ], + "spans": [ + { + "bbox": [ + 104, + 602, + 506, + 617 + ], + "score": 1.0, + "content": "recognition tasks, we design a family of generic backbone architectures with varying capacities using", + "type": "text" + } + ], + "index": 33 + }, + { + "bbox": [ + 105, + 613, + 505, + 627 + ], + "spans": [ + { + "bbox": [ + 105, + 613, + 505, + 627 + ], + "score": 1.0, + "content": "SOFT as the core self-attention component. Extensive experiments show that with a linear complexity", + "type": "text" + } + ], + "index": 34 + }, + { + "bbox": [ + 105, + 625, + 506, + 637 + ], + "spans": [ + { + "bbox": [ + 105, + 625, + 506, + 637 + ], + "score": 1.0, + "content": "(Figure 1b), our SOFT models can take in as input much longer image token sequences. As a result,", + "type": "text" + } + ], + "index": 35 + }, + { + "bbox": [ + 105, + 636, + 506, + 648 + ], + "spans": [ + { + "bbox": [ + 105, + 636, + 506, + 648 + ], + "score": 1.0, + "content": "with the same model size, our SOFT outperforms the state-of-the-art CNNs and ViT variants on", + "type": "text" + } + ], + "index": 36 + }, + { + "bbox": [ + 106, + 646, + 412, + 659 + ], + "spans": [ + { + "bbox": [ + 106, + 646, + 412, + 659 + ], + "score": 1.0, + "content": "ImageNet [9] classification in the accuracy/complexity trade-off (Figure 1a).", + "type": "text" + } + ], + "index": 37 + } + ], + "index": 33.5 + }, + { + "type": "title", + "bbox": [ + 107, + 674, + 194, + 688 + ], + "lines": [ + { + "bbox": [ + 105, + 673, + 196, + 690 + ], + "spans": [ + { + "bbox": [ + 105, + 673, + 196, + 690 + ], + "score": 1.0, + "content": "2 Related work", + "type": "text" + } + ], + "index": 38 + } + ], + "index": 38 + }, + { + "type": "text", + "bbox": [ + 107, + 700, + 504, + 722 + ], + "lines": [ + { + "bbox": [ + 106, + 699, + 506, + 712 + ], + "spans": [ + { + "bbox": [ + 106, + 699, + 506, + 712 + ], + "score": 1.0, + "content": "Vision Transformers There is a surge of research interests recently in exploiting Transformers for", + "type": "text" + } + ], + "index": 39 + }, + { + "bbox": [ + 105, + 709, + 507, + 723 + ], + "spans": [ + { + "bbox": [ + 105, + 709, + 507, + 723 + ], + "score": 1.0, + "content": "visual recognition tasks [36, 35, 41, 31, 44], inspired by their remarkable success in NLP [33, 10, 4].", + "type": "text" + } + ], + "index": 40 + } + ], + "index": 39.5 + } + ], + "page_idx": 1, + "page_size": [ + 612, + 792 + ], + "discarded_blocks": [ + { + "type": "discarded", + "bbox": [ + 302, + 741, + 309, + 750 + ], + "lines": [ + { + "bbox": [ + 301, + 740, + 310, + 753 + ], + "spans": [ + { + "bbox": [ + 301, + 740, + 310, + 753 + ], + "score": 1.0, + "content": "2", + "type": "text" + } + ] + } + ] + } + ], + "para_blocks": [ + { + "type": "image", + "bbox": [ + 107, + 75, + 499, + 235 + ], + "blocks": [ + { + "type": "image_body", + "bbox": [ + 107, + 75, + 499, + 235 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 107, + 75, + 499, + 235 + ], + "spans": [ + { + "bbox": [ + 107, + 75, + 499, + 235 + ], + "score": 0.972, + "type": "image", + "image_path": "21eeda7dcaa4b05139da8729b189b3dd99590e1517d4f44cd949d34aec3776d6.jpg" + } + ] + } + ], + "index": 1, + "virtual_lines": [ + { + "bbox": [ + 107, + 75, + 499, + 128.33333333333334 + ], + "spans": [], + "index": 0 + }, + { + "bbox": [ + 107, + 128.33333333333334, + 499, + 181.66666666666669 + ], + "spans": [], + "index": 1 + }, + { + "bbox": [ + 107, + 181.66666666666669, + 499, + 235.00000000000003 + ], + "spans": [], + "index": 2 + } + ] + }, + { + "type": "image_caption", + "bbox": [ + 106, + 241, + 506, + 307 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 105, + 241, + 505, + 254 + ], + "spans": [ + { + "bbox": [ + 105, + 241, + 505, + 254 + ], + "score": 1.0, + "content": "Figure 1: Top1-Accuracy on ImageNet [9] validation set with respect to parameters and the memory", + "type": "text" + } + ], + "index": 3 + }, + { + "bbox": [ + 106, + 252, + 506, + 265 + ], + "spans": [ + { + "bbox": [ + 106, + 252, + 506, + 265 + ], + "score": 1.0, + "content": "usage corresponding to the token sequence length in practice compared to other methods. (a) Com-", + "type": "text" + } + ], + "index": 4 + }, + { + "bbox": [ + 105, + 263, + 507, + 277 + ], + "spans": [ + { + "bbox": [ + 105, + 263, + 507, + 277 + ], + "score": 1.0, + "content": "parison with CNN models: RegNet [26], ResNet [13] and Transformer models: PVT [35], DeiT [31],", + "type": "text" + } + ], + "index": 5 + }, + { + "bbox": [ + 105, + 273, + 506, + 287 + ], + "spans": [ + { + "bbox": [ + 105, + 273, + 506, + 287 + ], + "score": 1.0, + "content": "ViT [11], T2T-ViT [41], Twins-SVT [6] and SAN10 [45]; (b) Comparison with Transformer [33],", + "type": "text" + } + ], + "index": 6 + }, + { + "bbox": [ + 104, + 285, + 506, + 299 + ], + "spans": [ + { + "bbox": [ + 104, + 285, + 506, + 299 + ], + "score": 1.0, + "content": "Linformer [34], Nyströformer [39] and Performer [5]. The memory usage is measured with a batch", + "type": "text" + } + ], + "index": 7 + }, + { + "bbox": [ + 105, + 296, + 239, + 308 + ], + "spans": [ + { + "bbox": [ + 105, + 296, + 239, + 308 + ], + "score": 1.0, + "content": "size of 1 on a 16GB Tesla V100.", + "type": "text" + } + ], + "index": 8 + } + ], + "index": 5.5 + } + ], + "index": 3.25 + }, + { + "type": "text", + "bbox": [ + 107, + 330, + 505, + 440 + ], + "lines": [ + { + "bbox": [ + 105, + 329, + 507, + 343 + ], + "spans": [ + { + "bbox": [ + 105, + 329, + 507, + 343 + ], + "score": 1.0, + "content": "A natural solution is to reduce the complexity of self-attention computation via approximation.", + "type": "text" + } + ], + "index": 9 + }, + { + "bbox": [ + 106, + 341, + 506, + 354 + ], + "spans": [ + { + "bbox": [ + 106, + 341, + 506, + 354 + ], + "score": 1.0, + "content": "Indeed, there have been a number of attempts in NLP [34, 5, 18, 39]. For example, [34] takes a", + "type": "text" + } + ], + "index": 10 + }, + { + "bbox": [ + 106, + 352, + 506, + 365 + ], + "spans": [ + { + "bbox": [ + 106, + 352, + 506, + 365 + ], + "score": 1.0, + "content": "naive approach by shortening the length of Key and Value via learnable projections. Such a coarse", + "type": "text" + } + ], + "index": 11 + }, + { + "bbox": [ + 105, + 362, + 506, + 376 + ], + "spans": [ + { + "bbox": [ + 105, + 362, + 506, + 376 + ], + "score": 1.0, + "content": "approximation would inevitably cause performance degradation. In contrast, [5, 17] both leverage the", + "type": "text" + } + ], + "index": 12 + }, + { + "bbox": [ + 106, + 374, + 506, + 387 + ], + "spans": [ + { + "bbox": [ + 106, + 374, + 506, + 387 + ], + "score": 1.0, + "content": "kernel mechanism to approximate softmax normalization to linearize the computation in self-attention.", + "type": "text" + } + ], + "index": 13 + }, + { + "bbox": [ + 106, + 385, + 505, + 398 + ], + "spans": [ + { + "bbox": [ + 106, + 385, + 505, + 398 + ], + "score": 1.0, + "content": "[18] instead adopts a hashing strategy to selectively compute the most similar pairs. Recently, [39]", + "type": "text" + } + ], + "index": 14 + }, + { + "bbox": [ + 106, + 396, + 505, + 407 + ], + "spans": [ + { + "bbox": [ + 106, + 396, + 505, + 407 + ], + "score": 1.0, + "content": "uses Nyström matrix decomposition to reconstruct the full attention matrix with polynomial iteration", + "type": "text" + } + ], + "index": 15 + }, + { + "bbox": [ + 106, + 407, + 505, + 419 + ], + "spans": [ + { + "bbox": [ + 106, + 407, + 505, + 419 + ], + "score": 1.0, + "content": "for approximating the pseudo-inverse of the landmark matrix. Nonetheless, softmax normalization", + "type": "text" + } + ], + "index": 16 + }, + { + "bbox": [ + 105, + 417, + 506, + 429 + ], + "spans": [ + { + "bbox": [ + 105, + 417, + 506, + 429 + ], + "score": 1.0, + "content": "is simply duplicated across the matrix decomposition process, which is theoretically unsound. We", + "type": "text" + } + ], + "index": 17 + }, + { + "bbox": [ + 105, + 428, + 492, + 441 + ], + "spans": [ + { + "bbox": [ + 105, + 428, + 492, + 441 + ], + "score": 1.0, + "content": "empirically found that none of these methods are effective when applied to vision (see Sec. 4.2).", + "type": "text" + } + ], + "index": 18 + } + ], + "index": 13.5, + "bbox_fs": [ + 105, + 329, + 507, + 441 + ] + }, + { + "type": "text", + "bbox": [ + 107, + 444, + 505, + 565 + ], + "lines": [ + { + "bbox": [ + 105, + 444, + 505, + 458 + ], + "spans": [ + { + "bbox": [ + 105, + 444, + 505, + 458 + ], + "score": 1.0, + "content": "In this work, we identify that the limitations of existing efficient Transformers are caused by the use", + "type": "text" + } + ], + "index": 19 + }, + { + "bbox": [ + 106, + 456, + 506, + 469 + ], + "spans": [ + { + "bbox": [ + 106, + 456, + 506, + 469 + ], + "score": 1.0, + "content": "of softmax self-attention, and for the first time propose a softmax-free Transformer. More specifically,", + "type": "text" + } + ], + "index": 20 + }, + { + "bbox": [ + 104, + 465, + 506, + 481 + ], + "spans": [ + { + "bbox": [ + 104, + 465, + 506, + 481 + ], + "score": 1.0, + "content": "in all existing Transformers (with or without linearization), a softmax normalization is needed on top", + "type": "text" + } + ], + "index": 21 + }, + { + "bbox": [ + 105, + 477, + 506, + 491 + ], + "spans": [ + { + "bbox": [ + 105, + 477, + 506, + 491 + ], + "score": 1.0, + "content": "of scaled dot-product between token feature vectors [33]. Keeping this softmax operation challenges", + "type": "text" + } + ], + "index": 22 + }, + { + "bbox": [ + 105, + 488, + 506, + 502 + ], + "spans": [ + { + "bbox": [ + 105, + 488, + 506, + 502 + ], + "score": 1.0, + "content": "any subsequent linearization efforts. To overcome this obstacle, we introduce a novel softmax-free", + "type": "text" + } + ], + "index": 23 + }, + { + "bbox": [ + 106, + 499, + 506, + 512 + ], + "spans": [ + { + "bbox": [ + 106, + 500, + 383, + 512 + ], + "score": 1.0, + "content": "self-attention mechanism, named as SOFT, with linear complexity", + "type": "text" + }, + { + "bbox": [ + 383, + 499, + 406, + 511 + ], + "score": 0.92, + "content": "O ( n )", + "type": "inline_equation" + }, + { + "bbox": [ + 406, + 500, + 506, + 512 + ], + "score": 1.0, + "content": "in both space and time.", + "type": "text" + } + ], + "index": 24 + }, + { + "bbox": [ + 106, + 510, + 506, + 523 + ], + "spans": [ + { + "bbox": [ + 106, + 510, + 506, + 523 + ], + "score": 1.0, + "content": "Specifically, SOFT uses Gaussian kernel to define the similarity (self-attention) function without", + "type": "text" + } + ], + "index": 25 + }, + { + "bbox": [ + 106, + 522, + 506, + 533 + ], + "spans": [ + { + "bbox": [ + 106, + 522, + 506, + 533 + ], + "score": 1.0, + "content": "the need for subsequent softmax normalization. With this softmax-free attention matrix, we further", + "type": "text" + } + ], + "index": 26 + }, + { + "bbox": [ + 105, + 532, + 506, + 545 + ], + "spans": [ + { + "bbox": [ + 105, + 532, + 506, + 545 + ], + "score": 1.0, + "content": "introduce a novel low-rank matrix decomposition algorithm for approximation. The robustness of", + "type": "text" + } + ], + "index": 27 + }, + { + "bbox": [ + 106, + 543, + 505, + 556 + ], + "spans": [ + { + "bbox": [ + 106, + 543, + 505, + 556 + ], + "score": 1.0, + "content": "the approximation is theoretically guaranteed by employing a Newton-Raphson method for reliably", + "type": "text" + } + ], + "index": 28 + }, + { + "bbox": [ + 105, + 555, + 318, + 566 + ], + "spans": [ + { + "bbox": [ + 105, + 555, + 318, + 566 + ], + "score": 1.0, + "content": "computing the Moore-Penrose inverse of the matrix.", + "type": "text" + } + ], + "index": 29 + } + ], + "index": 24, + "bbox_fs": [ + 104, + 444, + 506, + 566 + ] + }, + { + "type": "text", + "bbox": [ + 107, + 570, + 505, + 658 + ], + "lines": [ + { + "bbox": [ + 105, + 570, + 505, + 583 + ], + "spans": [ + { + "bbox": [ + 105, + 570, + 505, + 583 + ], + "score": 1.0, + "content": "We make the following contributions. (I) We introduce a novel softmax-free Transformer with linear", + "type": "text" + } + ], + "index": 30 + }, + { + "bbox": [ + 105, + 581, + 506, + 594 + ], + "spans": [ + { + "bbox": [ + 105, + 581, + 223, + 594 + ], + "score": 1.0, + "content": "space and time complexity.", + "type": "text" + }, + { + "bbox": [ + 223, + 581, + 239, + 592 + ], + "score": 0.28, + "content": "\\mathbf { \\Pi } ^ { ( \\mathbf { I I } ) }", + "type": "inline_equation" + }, + { + "bbox": [ + 239, + 581, + 506, + 594 + ], + "score": 1.0, + "content": "Our attention matrix approximation is achieved through a novel", + "type": "text" + } + ], + "index": 31 + }, + { + "bbox": [ + 105, + 592, + 505, + 605 + ], + "spans": [ + { + "bbox": [ + 105, + 592, + 505, + 605 + ], + "score": 1.0, + "content": "matrix decomposition algorithm with theoretical guarantee. (III) To evaluate our method for visual", + "type": "text" + } + ], + "index": 32 + }, + { + "bbox": [ + 104, + 602, + 506, + 617 + ], + "spans": [ + { + "bbox": [ + 104, + 602, + 506, + 617 + ], + "score": 1.0, + "content": "recognition tasks, we design a family of generic backbone architectures with varying capacities using", + "type": "text" + } + ], + "index": 33 + }, + { + "bbox": [ + 105, + 613, + 505, + 627 + ], + "spans": [ + { + "bbox": [ + 105, + 613, + 505, + 627 + ], + "score": 1.0, + "content": "SOFT as the core self-attention component. Extensive experiments show that with a linear complexity", + "type": "text" + } + ], + "index": 34 + }, + { + "bbox": [ + 105, + 625, + 506, + 637 + ], + "spans": [ + { + "bbox": [ + 105, + 625, + 506, + 637 + ], + "score": 1.0, + "content": "(Figure 1b), our SOFT models can take in as input much longer image token sequences. As a result,", + "type": "text" + } + ], + "index": 35 + }, + { + "bbox": [ + 105, + 636, + 506, + 648 + ], + "spans": [ + { + "bbox": [ + 105, + 636, + 506, + 648 + ], + "score": 1.0, + "content": "with the same model size, our SOFT outperforms the state-of-the-art CNNs and ViT variants on", + "type": "text" + } + ], + "index": 36 + }, + { + "bbox": [ + 106, + 646, + 412, + 659 + ], + "spans": [ + { + "bbox": [ + 106, + 646, + 412, + 659 + ], + "score": 1.0, + "content": "ImageNet [9] classification in the accuracy/complexity trade-off (Figure 1a).", + "type": "text" + } + ], + "index": 37 + } + ], + "index": 33.5, + "bbox_fs": [ + 104, + 570, + 506, + 659 + ] + }, + { + "type": "title", + "bbox": [ + 107, + 674, + 194, + 688 + ], + "lines": [ + { + "bbox": [ + 105, + 673, + 196, + 690 + ], + "spans": [ + { + "bbox": [ + 105, + 673, + 196, + 690 + ], + "score": 1.0, + "content": "2 Related work", + "type": "text" + } + ], + "index": 38 + } + ], + "index": 38 + }, + { + "type": "text", + "bbox": [ + 107, + 700, + 504, + 722 + ], + "lines": [ + { + "bbox": [ + 106, + 699, + 506, + 712 + ], + "spans": [ + { + "bbox": [ + 106, + 699, + 506, + 712 + ], + "score": 1.0, + "content": "Vision Transformers There is a surge of research interests recently in exploiting Transformers for", + "type": "text" + } + ], + "index": 39 + }, + { + "bbox": [ + 105, + 709, + 507, + 723 + ], + "spans": [ + { + "bbox": [ + 105, + 709, + 507, + 723 + ], + "score": 1.0, + "content": "visual recognition tasks [36, 35, 41, 31, 44], inspired by their remarkable success in NLP [33, 10, 4].", + "type": "text" + } + ], + "index": 40 + } + ], + "index": 39.5, + "bbox_fs": [ + 105, + 699, + 507, + 723 + ] + } + ] + }, + { + "preproc_blocks": [ + { + "type": "text", + "bbox": [ + 106, + 72, + 505, + 161 + ], + "lines": [ + { + "bbox": [ + 106, + 72, + 505, + 85 + ], + "spans": [ + { + "bbox": [ + 106, + 72, + 505, + 85 + ], + "score": 1.0, + "content": "Core to these NLP and vision transformers is the same self-attention mechanism [33] that computes", + "type": "text" + } + ], + "index": 0 + }, + { + "bbox": [ + 105, + 84, + 505, + 96 + ], + "spans": [ + { + "bbox": [ + 105, + 84, + 505, + 96 + ], + "score": 1.0, + "content": "a self-attention matrix by exhaustively comparing token pairs. This means a quadratic complexity", + "type": "text" + } + ], + "index": 1 + }, + { + "bbox": [ + 106, + 95, + 505, + 106 + ], + "spans": [ + { + "bbox": [ + 106, + 95, + 505, + 106 + ], + "score": 1.0, + "content": "with the sequence length in both space and time, which thus limits the scalability of Transformers", + "type": "text" + } + ], + "index": 2 + }, + { + "bbox": [ + 106, + 106, + 505, + 118 + ], + "spans": [ + { + "bbox": [ + 106, + 106, + 505, + 118 + ], + "score": 1.0, + "content": "in dealing with long sequences. This limitation is more serious in vision than NLP: To process an", + "type": "text" + } + ], + "index": 3 + }, + { + "bbox": [ + 106, + 117, + 506, + 129 + ], + "spans": [ + { + "bbox": [ + 106, + 117, + 506, + 129 + ], + "score": 1.0, + "content": "image with at least thousands of pixels, patch-wise tokenization is a must for Transformers to control", + "type": "text" + } + ], + "index": 4 + }, + { + "bbox": [ + 106, + 127, + 505, + 139 + ], + "spans": [ + { + "bbox": [ + 106, + 127, + 505, + 139 + ], + "score": 1.0, + "content": "the computational cost. Given higher resolution images, the patch size also needs to be enlarged", + "type": "text" + } + ], + "index": 5 + }, + { + "bbox": [ + 105, + 137, + 508, + 152 + ], + "spans": [ + { + "bbox": [ + 105, + 137, + 508, + 152 + ], + "score": 1.0, + "content": "proportionally sacrificing the spatial resolution. This limits the capability of Transformers, e.g.,", + "type": "text" + } + ], + "index": 6 + }, + { + "bbox": [ + 105, + 149, + 461, + 162 + ], + "spans": [ + { + "bbox": [ + 105, + 149, + 461, + 162 + ], + "score": 1.0, + "content": "learning fine-grained feature representation as required in many visual recognition tasks.", + "type": "text" + } + ], + "index": 7 + } + ], + "index": 3.5 + }, + { + "type": "text", + "bbox": [ + 106, + 173, + 505, + 272 + ], + "lines": [ + { + "bbox": [ + 106, + 173, + 506, + 185 + ], + "spans": [ + { + "bbox": [ + 106, + 173, + 506, + 185 + ], + "score": 1.0, + "content": "Linear Transformers Recently, there have been a number of linear/efficient variants [5, 34, 17, 18,", + "type": "text" + } + ], + "index": 8 + }, + { + "bbox": [ + 106, + 183, + 505, + 196 + ], + "spans": [ + { + "bbox": [ + 106, + 183, + 505, + 196 + ], + "score": 1.0, + "content": "30, 24, 16] of Transformers in NLP. For example, [34] learns to shrink the length of Key and Value", + "type": "text" + } + ], + "index": 9 + }, + { + "bbox": [ + 106, + 195, + 506, + 208 + ], + "spans": [ + { + "bbox": [ + 106, + 195, + 506, + 208 + ], + "score": 1.0, + "content": "based on a low-rank assumption. [18] adopts a hashing strategy to selective the most similar pairs", + "type": "text" + } + ], + "index": 10 + }, + { + "bbox": [ + 105, + 204, + 506, + 220 + ], + "spans": [ + { + "bbox": [ + 105, + 204, + 506, + 220 + ], + "score": 1.0, + "content": "and only compute attention among them. [5, 17] utilize different kernel functions for approximating", + "type": "text" + } + ], + "index": 11 + }, + { + "bbox": [ + 105, + 216, + 506, + 230 + ], + "spans": [ + { + "bbox": [ + 105, + 216, + 506, + 230 + ], + "score": 1.0, + "content": "softmax-based self-attention matrix. [24] applies random feature mapping on the sequences to", + "type": "text" + } + ], + "index": 12 + }, + { + "bbox": [ + 105, + 227, + 506, + 241 + ], + "spans": [ + { + "bbox": [ + 105, + 227, + 506, + 241 + ], + "score": 1.0, + "content": "approach the original softmax function. [16] decreases the time and memory consumption of the", + "type": "text" + } + ], + "index": 13 + }, + { + "bbox": [ + 106, + 239, + 506, + 251 + ], + "spans": [ + { + "bbox": [ + 106, + 239, + 506, + 251 + ], + "score": 1.0, + "content": "attention matrix by replacing the softmax function with its linear-complexity recurrent alternative.", + "type": "text" + } + ], + "index": 14 + }, + { + "bbox": [ + 106, + 249, + 506, + 262 + ], + "spans": [ + { + "bbox": [ + 106, + 249, + 506, + 262 + ], + "score": 1.0, + "content": "When applied to visual recognition tasks, however, we show that these models have considerable", + "type": "text" + } + ], + "index": 15 + }, + { + "bbox": [ + 105, + 261, + 445, + 273 + ], + "spans": [ + { + "bbox": [ + 105, + 261, + 445, + 273 + ], + "score": 1.0, + "content": "performance degradation compared to the standard Transformers [33] (see Sec. 4.2).", + "type": "text" + } + ], + "index": 16 + } + ], + "index": 12 + }, + { + "type": "text", + "bbox": [ + 106, + 276, + 505, + 376 + ], + "lines": [ + { + "bbox": [ + 106, + 277, + 505, + 289 + ], + "spans": [ + { + "bbox": [ + 106, + 277, + 505, + 289 + ], + "score": 1.0, + "content": "The most related work to SOFT is [39] which uses the Nyström matrix decomposition to avoid", + "type": "text" + } + ], + "index": 17 + }, + { + "bbox": [ + 105, + 287, + 506, + 300 + ], + "spans": [ + { + "bbox": [ + 105, + 287, + 506, + 300 + ], + "score": 1.0, + "content": "computing the full attention matrix. However, this method suffers from several theoretical defects:", + "type": "text" + } + ], + "index": 18 + }, + { + "bbox": [ + 105, + 298, + 506, + 311 + ], + "spans": [ + { + "bbox": [ + 105, + 298, + 506, + 311 + ], + "score": 1.0, + "content": "(1) As the standard self-attention needs to apply row-wise softmax normalization on the full attention", + "type": "text" + } + ], + "index": 19 + }, + { + "bbox": [ + 105, + 309, + 505, + 322 + ], + "spans": [ + { + "bbox": [ + 105, + 309, + 505, + 322 + ], + "score": 1.0, + "content": "matrix, a direct application of matrix decomposition is infeasible. As a workaround, softmax is simply", + "type": "text" + } + ], + "index": 20 + }, + { + "bbox": [ + 105, + 320, + 506, + 333 + ], + "spans": [ + { + "bbox": [ + 105, + 320, + 506, + 333 + ], + "score": 1.0, + "content": "applied to all the ingredient matrices in [39]. Such an approximation is not guaranteed theoretically.", + "type": "text" + } + ], + "index": 21 + }, + { + "bbox": [ + 106, + 331, + 505, + 345 + ], + "spans": [ + { + "bbox": [ + 106, + 331, + 505, + 345 + ], + "score": 1.0, + "content": "(2) With a polynomial iteration method, it is not guaranteed that the generalized attention matrix", + "type": "text" + } + ], + "index": 22 + }, + { + "bbox": [ + 106, + 343, + 505, + 354 + ], + "spans": [ + { + "bbox": [ + 106, + 343, + 505, + 354 + ], + "score": 1.0, + "content": "inverse can be computed when the matrix is a nearly singular one in practice. In contrast to all the", + "type": "text" + } + ], + "index": 23 + }, + { + "bbox": [ + 106, + 353, + 506, + 366 + ], + "spans": [ + { + "bbox": [ + 106, + 353, + 506, + 366 + ], + "score": 1.0, + "content": "above methods, in this paper we propose a softmax-free self-attention mechanism that facilitates", + "type": "text" + } + ], + "index": 24 + }, + { + "bbox": [ + 106, + 365, + 425, + 377 + ], + "spans": [ + { + "bbox": [ + 106, + 365, + 425, + 377 + ], + "score": 1.0, + "content": "matrix decomposition for complexity minimization with theoretical guarantees.", + "type": "text" + } + ], + "index": 25 + } + ], + "index": 21 + }, + { + "type": "title", + "bbox": [ + 107, + 392, + 166, + 405 + ], + "lines": [ + { + "bbox": [ + 104, + 390, + 168, + 407 + ], + "spans": [ + { + "bbox": [ + 104, + 390, + 168, + 407 + ], + "score": 1.0, + "content": "3 Method", + "type": "text" + } + ], + "index": 26 + } + ], + "index": 26 + }, + { + "type": "title", + "bbox": [ + 107, + 417, + 297, + 429 + ], + "lines": [ + { + "bbox": [ + 106, + 417, + 298, + 430 + ], + "spans": [ + { + "bbox": [ + 106, + 417, + 298, + 430 + ], + "score": 1.0, + "content": "3.1 Softmax-free self-attention formulation", + "type": "text" + } + ], + "index": 27 + } + ], + "index": 27 + }, + { + "type": "text", + "bbox": [ + 108, + 437, + 504, + 471 + ], + "lines": [ + { + "bbox": [ + 106, + 437, + 505, + 450 + ], + "spans": [ + { + "bbox": [ + 106, + 437, + 505, + 450 + ], + "score": 1.0, + "content": "A schematic illustration of our model is given in Figure 2. Let’s first look at our attention module", + "type": "text" + } + ], + "index": 28 + }, + { + "bbox": [ + 105, + 447, + 506, + 461 + ], + "spans": [ + { + "bbox": [ + 105, + 447, + 223, + 461 + ], + "score": 1.0, + "content": "design. Given a sequence of", + "type": "text" + }, + { + "bbox": [ + 224, + 451, + 231, + 459 + ], + "score": 0.76, + "content": "n", + "type": "inline_equation" + }, + { + "bbox": [ + 231, + 447, + 261, + 461 + ], + "score": 1.0, + "content": "tokens", + "type": "text" + }, + { + "bbox": [ + 262, + 448, + 307, + 459 + ], + "score": 0.92, + "content": "\\ b { X } ^ { \\prime } \\in \\mathbb { R } ^ { n \\times d }", + "type": "inline_equation" + }, + { + "bbox": [ + 307, + 447, + 444, + 461 + ], + "score": 1.0, + "content": "with each token represented by a", + "type": "text" + }, + { + "bbox": [ + 444, + 450, + 451, + 459 + ], + "score": 0.8, + "content": "d", + "type": "inline_equation" + }, + { + "bbox": [ + 451, + 447, + 506, + 461 + ], + "score": 1.0, + "content": "-dimensional", + "type": "text" + } + ], + "index": 29 + }, + { + "bbox": [ + 105, + 459, + 495, + 472 + ], + "spans": [ + { + "bbox": [ + 105, + 459, + 495, + 472 + ], + "score": 1.0, + "content": "feature vector, self-attention [33] aims to discover the correlations of all token pairs exhaustively.", + "type": "text" + } + ], + "index": 30 + } + ], + "index": 29 + }, + { + "type": "text", + "bbox": [ + 106, + 475, + 502, + 497 + ], + "lines": [ + { + "bbox": [ + 105, + 474, + 506, + 491 + ], + "spans": [ + { + "bbox": [ + 105, + 474, + 146, + 491 + ], + "score": 1.0, + "content": "Formally,", + "type": "text" + }, + { + "bbox": [ + 147, + 477, + 156, + 486 + ], + "score": 0.83, + "content": "X", + "type": "inline_equation" + }, + { + "bbox": [ + 157, + 474, + 295, + 491 + ], + "score": 1.0, + "content": "is first linearly projected into three", + "type": "text" + }, + { + "bbox": [ + 296, + 477, + 306, + 487 + ], + "score": 0.87, + "content": "d _ { e }", + "type": "inline_equation" + }, + { + "bbox": [ + 306, + 474, + 506, + 491 + ], + "score": 1.0, + "content": "-dimensional spaces (query, key, and values)", + "type": "text" + } + ], + "index": 31 + }, + { + "bbox": [ + 105, + 489, + 120, + 499 + ], + "spans": [ + { + "bbox": [ + 105, + 489, + 120, + 499 + ], + "score": 1.0, + "content": "as:", + "type": "text" + } + ], + "index": 32 + } + ], + "index": 31.5 + }, + { + "type": "interline_equation", + "bbox": [ + 162, + 497, + 447, + 512 + ], + "lines": [ + { + "bbox": [ + 162, + 497, + 447, + 512 + ], + "spans": [ + { + "bbox": [ + 162, + 497, + 447, + 512 + ], + "score": 0.88, + "content": "Q = X W _ { q } \\in \\mathbb { R } ^ { n \\times d _ { e } } , \\quad K = X W _ { k } \\in \\mathbb { R } ^ { n \\times d _ { e } } , \\quad V = X W _ { v } \\in \\mathbb { R } ^ { n \\times d _ { e } } ,", + "type": "interline_equation", + "image_path": "1441ee51b1703f2dca0af2cdda3bed87803f9989f4fb3638df691fee84de5680.jpg" + } + ] + } + ], + "index": 33, + "virtual_lines": [ + { + "bbox": [ + 162, + 497, + 447, + 512 + ], + "spans": [], + "index": 33 + } + ] + }, + { + "type": "text", + "bbox": [ + 108, + 516, + 505, + 539 + ], + "lines": [ + { + "bbox": [ + 104, + 514, + 506, + 531 + ], + "spans": [ + { + "bbox": [ + 104, + 514, + 133, + 531 + ], + "score": 1.0, + "content": "where", + "type": "text" + }, + { + "bbox": [ + 134, + 516, + 225, + 529 + ], + "score": 0.93, + "content": "W _ { q } , W _ { k } , W _ { v } \\in \\mathbb { R } ^ { d \\times d _ { e } }", + "type": "inline_equation" + }, + { + "bbox": [ + 226, + 514, + 506, + 531 + ], + "score": 1.0, + "content": "are learnable matrices. Self-attention can be expressed in a generic", + "type": "text" + } + ], + "index": 34 + }, + { + "bbox": [ + 106, + 528, + 170, + 541 + ], + "spans": [ + { + "bbox": [ + 106, + 528, + 170, + 541 + ], + "score": 1.0, + "content": "formulation as:", + "type": "text" + } + ], + "index": 35 + } + ], + "index": 34.5 + }, + { + "type": "interline_equation", + "bbox": [ + 243, + 537, + 367, + 572 + ], + "lines": [ + { + "bbox": [ + 243, + 537, + 367, + 572 + ], + "spans": [ + { + "bbox": [ + 243, + 537, + 367, + 572 + ], + "score": 0.95, + "content": "y _ { i , : } = \\sum _ { j = 1 } ^ { n } \\alpha ( Q _ { i , : } , K _ { j , : } ) \\odot V _ { j , : } ,", + "type": "interline_equation", + "image_path": "164a84d625470dfd6b9c7f74b851d8deb2c08681d6c83b54e4138b0e3bf288b2.jpg" + } + ] + } + ], + "index": 36.5, + "virtual_lines": [ + { + "bbox": [ + 243, + 537, + 367, + 554.5 + ], + "spans": [], + "index": 36 + }, + { + "bbox": [ + 243, + 554.5, + 367, + 572.0 + ], + "spans": [], + "index": 37 + } + ] + }, + { + "type": "text", + "bbox": [ + 106, + 574, + 505, + 621 + ], + "lines": [ + { + "bbox": [ + 105, + 574, + 505, + 588 + ], + "spans": [ + { + "bbox": [ + 105, + 574, + 133, + 588 + ], + "score": 1.0, + "content": "where", + "type": "text" + }, + { + "bbox": [ + 134, + 577, + 143, + 586 + ], + "score": 0.82, + "content": "\\odot", + "type": "inline_equation" + }, + { + "bbox": [ + 143, + 574, + 267, + 588 + ], + "score": 1.0, + "content": "is the Hadamard product, and", + "type": "text" + }, + { + "bbox": [ + 268, + 575, + 339, + 588 + ], + "score": 0.94, + "content": "i , j \\in \\{ 1 , \\cdots , n \\}", + "type": "inline_equation" + }, + { + "bbox": [ + 339, + 574, + 505, + 588 + ], + "score": 1.0, + "content": "index the tokens. The key self-attention", + "type": "text" + } + ], + "index": 38 + }, + { + "bbox": [ + 105, + 586, + 505, + 600 + ], + "spans": [ + { + "bbox": [ + 105, + 586, + 144, + 600 + ], + "score": 1.0, + "content": "function", + "type": "text" + }, + { + "bbox": [ + 144, + 586, + 235, + 597 + ], + "score": 0.91, + "content": "\\alpha : \\mathbb { R } ^ { d _ { e } } \\times \\mathbb { R } ^ { d _ { e } } \\to \\mathbb { R }", + "type": "inline_equation" + }, + { + "bbox": [ + 235, + 586, + 390, + 600 + ], + "score": 1.0, + "content": "is composed of a nonlinear function", + "type": "text" + }, + { + "bbox": [ + 391, + 587, + 443, + 599 + ], + "score": 0.91, + "content": "\\beta : \\mathbb { R } \\mathbb { R }", + "type": "inline_equation" + }, + { + "bbox": [ + 444, + 586, + 505, + 600 + ], + "score": 1.0, + "content": "and a relation", + "type": "text" + } + ], + "index": 39 + }, + { + "bbox": [ + 105, + 597, + 506, + 610 + ], + "spans": [ + { + "bbox": [ + 105, + 597, + 142, + 610 + ], + "score": 1.0, + "content": "function", + "type": "text" + }, + { + "bbox": [ + 142, + 598, + 223, + 610 + ], + "score": 0.89, + "content": "\\gamma : \\mathbb { R } ^ { d _ { e } } \\times \\mathbb { R } ^ { d _ { e } } \\mathbb { R }", + "type": "inline_equation" + }, + { + "bbox": [ + 223, + 597, + 338, + 610 + ], + "score": 1.0, + "content": ". A dominant instantiation of", + "type": "text" + }, + { + "bbox": [ + 339, + 600, + 347, + 608 + ], + "score": 0.81, + "content": "\\alpha", + "type": "inline_equation" + }, + { + "bbox": [ + 347, + 597, + 506, + 610 + ], + "score": 1.0, + "content": "is the scaled dot-product based softmax", + "type": "text" + } + ], + "index": 40 + }, + { + "bbox": [ + 106, + 608, + 226, + 621 + ], + "spans": [ + { + "bbox": [ + 106, + 608, + 226, + 621 + ], + "score": 1.0, + "content": "self-attention [33], defined as", + "type": "text" + } + ], + "index": 41 + } + ], + "index": 39.5 + }, + { + "type": "interline_equation", + "bbox": [ + 197, + 626, + 413, + 653 + ], + "lines": [ + { + "bbox": [ + 197, + 626, + 413, + 653 + ], + "spans": [ + { + "bbox": [ + 197, + 626, + 413, + 653 + ], + "score": 0.93, + "content": "\\beta ( \\cdot ) = \\mathrm { s o f t m a x } ( \\cdot ) , \\quad \\gamma ( Q _ { i , : } , K _ { j , : } ) = \\frac { 1 } { \\sqrt { d _ { e } } } \\cdot Q _ { i , : } ^ { \\top } K _ { j , : } .", + "type": "interline_equation", + "image_path": "ff90e442d3d5419b70a0232e063bc5be786e9d3e02fbf0f2a610261c85c970fb.jpg" + } + ] + } + ], + "index": 42.5, + "virtual_lines": [ + { + "bbox": [ + 197, + 626, + 413, + 639.5 + ], + "spans": [], + "index": 42 + }, + { + "bbox": [ + 197, + 639.5, + 413, + 653.0 + ], + "spans": [], + "index": 43 + } + ] + }, + { + "type": "text", + "bbox": [ + 107, + 657, + 505, + 701 + ], + "lines": [ + { + "bbox": [ + 105, + 658, + 505, + 669 + ], + "spans": [ + { + "bbox": [ + 105, + 658, + 505, + 669 + ], + "score": 1.0, + "content": "Whilst this softmax self-attention has been the de facto choice and seldomly questioned, as discussed", + "type": "text" + } + ], + "index": 44 + }, + { + "bbox": [ + 105, + 668, + 505, + 682 + ], + "spans": [ + { + "bbox": [ + 105, + 668, + 505, + 682 + ], + "score": 1.0, + "content": "earlier it is not necessarily suited for linearization. To facilitate the design of linear self-attention, we", + "type": "text" + } + ], + "index": 45 + }, + { + "bbox": [ + 105, + 680, + 506, + 693 + ], + "spans": [ + { + "bbox": [ + 105, + 680, + 506, + 693 + ], + "score": 1.0, + "content": "introduce a softmax-free self-attention function with the dot-product replaced by a Gaussian kernel", + "type": "text" + } + ], + "index": 46 + }, + { + "bbox": [ + 105, + 692, + 121, + 703 + ], + "spans": [ + { + "bbox": [ + 105, + 692, + 121, + 703 + ], + "score": 1.0, + "content": "as:", + "type": "text" + } + ], + "index": 47 + } + ], + "index": 45.5 + }, + { + "type": "interline_equation", + "bbox": [ + 183, + 699, + 428, + 726 + ], + "lines": [ + { + "bbox": [ + 183, + 699, + 428, + 726 + ], + "spans": [ + { + "bbox": [ + 183, + 699, + 428, + 726 + ], + "score": 0.93, + "content": "\\beta ^ { \\prime } ( \\cdot ) = \\exp ( \\cdot ) , \\quad \\gamma ^ { \\prime } ( Q _ { i , : } , K _ { j , : } ) = - \\frac { 1 } { 2 \\sqrt { d _ { e } } } \\cdot \\| Q _ { i , : } - K _ { j , : } \\| _ { 2 } ^ { 2 } .", + "type": "interline_equation", + "image_path": "277f12dc83263afe370320c2375128b7b91fd291e18d2b33d86dfd2aa06e968e.jpg" + } + ] + } + ], + "index": 49, + "virtual_lines": [ + { + "bbox": [ + 183, + 699, + 428, + 708.0 + ], + "spans": [], + "index": 48 + }, + { + "bbox": [ + 183, + 708.0, + 428, + 717.0 + ], + "spans": [], + "index": 49 + }, + { + "bbox": [ + 183, + 717.0, + 428, + 726.0 + ], + "spans": [], + "index": 50 + } + ] + } + ], + "page_idx": 2, + "page_size": [ + 612, + 792 + ], + "discarded_blocks": [ + { + "type": "discarded", + "bbox": [ + 302, + 741, + 309, + 750 + ], + "lines": [ + { + "bbox": [ + 301, + 740, + 310, + 752 + ], + "spans": [ + { + "bbox": [ + 301, + 740, + 310, + 752 + ], + "score": 1.0, + "content": "3", + "type": "text" + } + ] + } + ] + } + ], + "para_blocks": [ + { + "type": "text", + "bbox": [ + 106, + 72, + 505, + 161 + ], + "lines": [ + { + "bbox": [ + 106, + 72, + 505, + 85 + ], + "spans": [ + { + "bbox": [ + 106, + 72, + 505, + 85 + ], + "score": 1.0, + "content": "Core to these NLP and vision transformers is the same self-attention mechanism [33] that computes", + "type": "text" + } + ], + "index": 0 + }, + { + "bbox": [ + 105, + 84, + 505, + 96 + ], + "spans": [ + { + "bbox": [ + 105, + 84, + 505, + 96 + ], + "score": 1.0, + "content": "a self-attention matrix by exhaustively comparing token pairs. This means a quadratic complexity", + "type": "text" + } + ], + "index": 1 + }, + { + "bbox": [ + 106, + 95, + 505, + 106 + ], + "spans": [ + { + "bbox": [ + 106, + 95, + 505, + 106 + ], + "score": 1.0, + "content": "with the sequence length in both space and time, which thus limits the scalability of Transformers", + "type": "text" + } + ], + "index": 2 + }, + { + "bbox": [ + 106, + 106, + 505, + 118 + ], + "spans": [ + { + "bbox": [ + 106, + 106, + 505, + 118 + ], + "score": 1.0, + "content": "in dealing with long sequences. This limitation is more serious in vision than NLP: To process an", + "type": "text" + } + ], + "index": 3 + }, + { + "bbox": [ + 106, + 117, + 506, + 129 + ], + "spans": [ + { + "bbox": [ + 106, + 117, + 506, + 129 + ], + "score": 1.0, + "content": "image with at least thousands of pixels, patch-wise tokenization is a must for Transformers to control", + "type": "text" + } + ], + "index": 4 + }, + { + "bbox": [ + 106, + 127, + 505, + 139 + ], + "spans": [ + { + "bbox": [ + 106, + 127, + 505, + 139 + ], + "score": 1.0, + "content": "the computational cost. Given higher resolution images, the patch size also needs to be enlarged", + "type": "text" + } + ], + "index": 5 + }, + { + "bbox": [ + 105, + 137, + 508, + 152 + ], + "spans": [ + { + "bbox": [ + 105, + 137, + 508, + 152 + ], + "score": 1.0, + "content": "proportionally sacrificing the spatial resolution. This limits the capability of Transformers, e.g.,", + "type": "text" + } + ], + "index": 6 + }, + { + "bbox": [ + 105, + 149, + 461, + 162 + ], + "spans": [ + { + "bbox": [ + 105, + 149, + 461, + 162 + ], + "score": 1.0, + "content": "learning fine-grained feature representation as required in many visual recognition tasks.", + "type": "text" + } + ], + "index": 7 + } + ], + "index": 3.5, + "bbox_fs": [ + 105, + 72, + 508, + 162 + ] + }, + { + "type": "text", + "bbox": [ + 106, + 173, + 505, + 272 + ], + "lines": [ + { + "bbox": [ + 106, + 173, + 506, + 185 + ], + "spans": [ + { + "bbox": [ + 106, + 173, + 506, + 185 + ], + "score": 1.0, + "content": "Linear Transformers Recently, there have been a number of linear/efficient variants [5, 34, 17, 18,", + "type": "text" + } + ], + "index": 8 + }, + { + "bbox": [ + 106, + 183, + 505, + 196 + ], + "spans": [ + { + "bbox": [ + 106, + 183, + 505, + 196 + ], + "score": 1.0, + "content": "30, 24, 16] of Transformers in NLP. For example, [34] learns to shrink the length of Key and Value", + "type": "text" + } + ], + "index": 9 + }, + { + "bbox": [ + 106, + 195, + 506, + 208 + ], + "spans": [ + { + "bbox": [ + 106, + 195, + 506, + 208 + ], + "score": 1.0, + "content": "based on a low-rank assumption. [18] adopts a hashing strategy to selective the most similar pairs", + "type": "text" + } + ], + "index": 10 + }, + { + "bbox": [ + 105, + 204, + 506, + 220 + ], + "spans": [ + { + "bbox": [ + 105, + 204, + 506, + 220 + ], + "score": 1.0, + "content": "and only compute attention among them. [5, 17] utilize different kernel functions for approximating", + "type": "text" + } + ], + "index": 11 + }, + { + "bbox": [ + 105, + 216, + 506, + 230 + ], + "spans": [ + { + "bbox": [ + 105, + 216, + 506, + 230 + ], + "score": 1.0, + "content": "softmax-based self-attention matrix. [24] applies random feature mapping on the sequences to", + "type": "text" + } + ], + "index": 12 + }, + { + "bbox": [ + 105, + 227, + 506, + 241 + ], + "spans": [ + { + "bbox": [ + 105, + 227, + 506, + 241 + ], + "score": 1.0, + "content": "approach the original softmax function. [16] decreases the time and memory consumption of the", + "type": "text" + } + ], + "index": 13 + }, + { + "bbox": [ + 106, + 239, + 506, + 251 + ], + "spans": [ + { + "bbox": [ + 106, + 239, + 506, + 251 + ], + "score": 1.0, + "content": "attention matrix by replacing the softmax function with its linear-complexity recurrent alternative.", + "type": "text" + } + ], + "index": 14 + }, + { + "bbox": [ + 106, + 249, + 506, + 262 + ], + "spans": [ + { + "bbox": [ + 106, + 249, + 506, + 262 + ], + "score": 1.0, + "content": "When applied to visual recognition tasks, however, we show that these models have considerable", + "type": "text" + } + ], + "index": 15 + }, + { + "bbox": [ + 105, + 261, + 445, + 273 + ], + "spans": [ + { + "bbox": [ + 105, + 261, + 445, + 273 + ], + "score": 1.0, + "content": "performance degradation compared to the standard Transformers [33] (see Sec. 4.2).", + "type": "text" + } + ], + "index": 16 + } + ], + "index": 12, + "bbox_fs": [ + 105, + 173, + 506, + 273 + ] + }, + { + "type": "text", + "bbox": [ + 106, + 276, + 505, + 376 + ], + "lines": [ + { + "bbox": [ + 106, + 277, + 505, + 289 + ], + "spans": [ + { + "bbox": [ + 106, + 277, + 505, + 289 + ], + "score": 1.0, + "content": "The most related work to SOFT is [39] which uses the Nyström matrix decomposition to avoid", + "type": "text" + } + ], + "index": 17 + }, + { + "bbox": [ + 105, + 287, + 506, + 300 + ], + "spans": [ + { + "bbox": [ + 105, + 287, + 506, + 300 + ], + "score": 1.0, + "content": "computing the full attention matrix. However, this method suffers from several theoretical defects:", + "type": "text" + } + ], + "index": 18 + }, + { + "bbox": [ + 105, + 298, + 506, + 311 + ], + "spans": [ + { + "bbox": [ + 105, + 298, + 506, + 311 + ], + "score": 1.0, + "content": "(1) As the standard self-attention needs to apply row-wise softmax normalization on the full attention", + "type": "text" + } + ], + "index": 19 + }, + { + "bbox": [ + 105, + 309, + 505, + 322 + ], + "spans": [ + { + "bbox": [ + 105, + 309, + 505, + 322 + ], + "score": 1.0, + "content": "matrix, a direct application of matrix decomposition is infeasible. As a workaround, softmax is simply", + "type": "text" + } + ], + "index": 20 + }, + { + "bbox": [ + 105, + 320, + 506, + 333 + ], + "spans": [ + { + "bbox": [ + 105, + 320, + 506, + 333 + ], + "score": 1.0, + "content": "applied to all the ingredient matrices in [39]. Such an approximation is not guaranteed theoretically.", + "type": "text" + } + ], + "index": 21 + }, + { + "bbox": [ + 106, + 331, + 505, + 345 + ], + "spans": [ + { + "bbox": [ + 106, + 331, + 505, + 345 + ], + "score": 1.0, + "content": "(2) With a polynomial iteration method, it is not guaranteed that the generalized attention matrix", + "type": "text" + } + ], + "index": 22 + }, + { + "bbox": [ + 106, + 343, + 505, + 354 + ], + "spans": [ + { + "bbox": [ + 106, + 343, + 505, + 354 + ], + "score": 1.0, + "content": "inverse can be computed when the matrix is a nearly singular one in practice. In contrast to all the", + "type": "text" + } + ], + "index": 23 + }, + { + "bbox": [ + 106, + 353, + 506, + 366 + ], + "spans": [ + { + "bbox": [ + 106, + 353, + 506, + 366 + ], + "score": 1.0, + "content": "above methods, in this paper we propose a softmax-free self-attention mechanism that facilitates", + "type": "text" + } + ], + "index": 24 + }, + { + "bbox": [ + 106, + 365, + 425, + 377 + ], + "spans": [ + { + "bbox": [ + 106, + 365, + 425, + 377 + ], + "score": 1.0, + "content": "matrix decomposition for complexity minimization with theoretical guarantees.", + "type": "text" + } + ], + "index": 25 + } + ], + "index": 21, + "bbox_fs": [ + 105, + 277, + 506, + 377 + ] + }, + { + "type": "title", + "bbox": [ + 107, + 392, + 166, + 405 + ], + "lines": [ + { + "bbox": [ + 104, + 390, + 168, + 407 + ], + "spans": [ + { + "bbox": [ + 104, + 390, + 168, + 407 + ], + "score": 1.0, + "content": "3 Method", + "type": "text" + } + ], + "index": 26 + } + ], + "index": 26 + }, + { + "type": "title", + "bbox": [ + 107, + 417, + 297, + 429 + ], + "lines": [ + { + "bbox": [ + 106, + 417, + 298, + 430 + ], + "spans": [ + { + "bbox": [ + 106, + 417, + 298, + 430 + ], + "score": 1.0, + "content": "3.1 Softmax-free self-attention formulation", + "type": "text" + } + ], + "index": 27 + } + ], + "index": 27 + }, + { + "type": "text", + "bbox": [ + 108, + 437, + 504, + 471 + ], + "lines": [ + { + "bbox": [ + 106, + 437, + 505, + 450 + ], + "spans": [ + { + "bbox": [ + 106, + 437, + 505, + 450 + ], + "score": 1.0, + "content": "A schematic illustration of our model is given in Figure 2. Let’s first look at our attention module", + "type": "text" + } + ], + "index": 28 + }, + { + "bbox": [ + 105, + 447, + 506, + 461 + ], + "spans": [ + { + "bbox": [ + 105, + 447, + 223, + 461 + ], + "score": 1.0, + "content": "design. Given a sequence of", + "type": "text" + }, + { + "bbox": [ + 224, + 451, + 231, + 459 + ], + "score": 0.76, + "content": "n", + "type": "inline_equation" + }, + { + "bbox": [ + 231, + 447, + 261, + 461 + ], + "score": 1.0, + "content": "tokens", + "type": "text" + }, + { + "bbox": [ + 262, + 448, + 307, + 459 + ], + "score": 0.92, + "content": "\\ b { X } ^ { \\prime } \\in \\mathbb { R } ^ { n \\times d }", + "type": "inline_equation" + }, + { + "bbox": [ + 307, + 447, + 444, + 461 + ], + "score": 1.0, + "content": "with each token represented by a", + "type": "text" + }, + { + "bbox": [ + 444, + 450, + 451, + 459 + ], + "score": 0.8, + "content": "d", + "type": "inline_equation" + }, + { + "bbox": [ + 451, + 447, + 506, + 461 + ], + "score": 1.0, + "content": "-dimensional", + "type": "text" + } + ], + "index": 29 + }, + { + "bbox": [ + 105, + 459, + 495, + 472 + ], + "spans": [ + { + "bbox": [ + 105, + 459, + 495, + 472 + ], + "score": 1.0, + "content": "feature vector, self-attention [33] aims to discover the correlations of all token pairs exhaustively.", + "type": "text" + } + ], + "index": 30 + } + ], + "index": 29, + "bbox_fs": [ + 105, + 437, + 506, + 472 + ] + }, + { + "type": "text", + "bbox": [ + 106, + 475, + 502, + 497 + ], + "lines": [ + { + "bbox": [ + 105, + 474, + 506, + 491 + ], + "spans": [ + { + "bbox": [ + 105, + 474, + 146, + 491 + ], + "score": 1.0, + "content": "Formally,", + "type": "text" + }, + { + "bbox": [ + 147, + 477, + 156, + 486 + ], + "score": 0.83, + "content": "X", + "type": "inline_equation" + }, + { + "bbox": [ + 157, + 474, + 295, + 491 + ], + "score": 1.0, + "content": "is first linearly projected into three", + "type": "text" + }, + { + "bbox": [ + 296, + 477, + 306, + 487 + ], + "score": 0.87, + "content": "d _ { e }", + "type": "inline_equation" + }, + { + "bbox": [ + 306, + 474, + 506, + 491 + ], + "score": 1.0, + "content": "-dimensional spaces (query, key, and values)", + "type": "text" + } + ], + "index": 31 + }, + { + "bbox": [ + 105, + 489, + 120, + 499 + ], + "spans": [ + { + "bbox": [ + 105, + 489, + 120, + 499 + ], + "score": 1.0, + "content": "as:", + "type": "text" + } + ], + "index": 32 + } + ], + "index": 31.5, + "bbox_fs": [ + 105, + 474, + 506, + 499 + ] + }, + { + "type": "interline_equation", + "bbox": [ + 162, + 497, + 447, + 512 + ], + "lines": [ + { + "bbox": [ + 162, + 497, + 447, + 512 + ], + "spans": [ + { + "bbox": [ + 162, + 497, + 447, + 512 + ], + "score": 0.88, + "content": "Q = X W _ { q } \\in \\mathbb { R } ^ { n \\times d _ { e } } , \\quad K = X W _ { k } \\in \\mathbb { R } ^ { n \\times d _ { e } } , \\quad V = X W _ { v } \\in \\mathbb { R } ^ { n \\times d _ { e } } ,", + "type": "interline_equation", + "image_path": "1441ee51b1703f2dca0af2cdda3bed87803f9989f4fb3638df691fee84de5680.jpg" + } + ] + } + ], + "index": 33, + "virtual_lines": [ + { + "bbox": [ + 162, + 497, + 447, + 512 + ], + "spans": [], + "index": 33 + } + ] + }, + { + "type": "text", + "bbox": [ + 108, + 516, + 505, + 539 + ], + "lines": [ + { + "bbox": [ + 104, + 514, + 506, + 531 + ], + "spans": [ + { + "bbox": [ + 104, + 514, + 133, + 531 + ], + "score": 1.0, + "content": "where", + "type": "text" + }, + { + "bbox": [ + 134, + 516, + 225, + 529 + ], + "score": 0.93, + "content": "W _ { q } , W _ { k } , W _ { v } \\in \\mathbb { R } ^ { d \\times d _ { e } }", + "type": "inline_equation" + }, + { + "bbox": [ + 226, + 514, + 506, + 531 + ], + "score": 1.0, + "content": "are learnable matrices. Self-attention can be expressed in a generic", + "type": "text" + } + ], + "index": 34 + }, + { + "bbox": [ + 106, + 528, + 170, + 541 + ], + "spans": [ + { + "bbox": [ + 106, + 528, + 170, + 541 + ], + "score": 1.0, + "content": "formulation as:", + "type": "text" + } + ], + "index": 35 + } + ], + "index": 34.5, + "bbox_fs": [ + 104, + 514, + 506, + 541 + ] + }, + { + "type": "interline_equation", + "bbox": [ + 243, + 537, + 367, + 572 + ], + "lines": [ + { + "bbox": [ + 243, + 537, + 367, + 572 + ], + "spans": [ + { + "bbox": [ + 243, + 537, + 367, + 572 + ], + "score": 0.95, + "content": "y _ { i , : } = \\sum _ { j = 1 } ^ { n } \\alpha ( Q _ { i , : } , K _ { j , : } ) \\odot V _ { j , : } ,", + "type": "interline_equation", + "image_path": "164a84d625470dfd6b9c7f74b851d8deb2c08681d6c83b54e4138b0e3bf288b2.jpg" + } + ] + } + ], + "index": 36.5, + "virtual_lines": [ + { + "bbox": [ + 243, + 537, + 367, + 554.5 + ], + "spans": [], + "index": 36 + }, + { + "bbox": [ + 243, + 554.5, + 367, + 572.0 + ], + "spans": [], + "index": 37 + } + ] + }, + { + "type": "text", + "bbox": [ + 106, + 574, + 505, + 621 + ], + "lines": [ + { + "bbox": [ + 105, + 574, + 505, + 588 + ], + "spans": [ + { + "bbox": [ + 105, + 574, + 133, + 588 + ], + "score": 1.0, + "content": "where", + "type": "text" + }, + { + "bbox": [ + 134, + 577, + 143, + 586 + ], + "score": 0.82, + "content": "\\odot", + "type": "inline_equation" + }, + { + "bbox": [ + 143, + 574, + 267, + 588 + ], + "score": 1.0, + "content": "is the Hadamard product, and", + "type": "text" + }, + { + "bbox": [ + 268, + 575, + 339, + 588 + ], + "score": 0.94, + "content": "i , j \\in \\{ 1 , \\cdots , n \\}", + "type": "inline_equation" + }, + { + "bbox": [ + 339, + 574, + 505, + 588 + ], + "score": 1.0, + "content": "index the tokens. The key self-attention", + "type": "text" + } + ], + "index": 38 + }, + { + "bbox": [ + 105, + 586, + 505, + 600 + ], + "spans": [ + { + "bbox": [ + 105, + 586, + 144, + 600 + ], + "score": 1.0, + "content": "function", + "type": "text" + }, + { + "bbox": [ + 144, + 586, + 235, + 597 + ], + "score": 0.91, + "content": "\\alpha : \\mathbb { R } ^ { d _ { e } } \\times \\mathbb { R } ^ { d _ { e } } \\to \\mathbb { R }", + "type": "inline_equation" + }, + { + "bbox": [ + 235, + 586, + 390, + 600 + ], + "score": 1.0, + "content": "is composed of a nonlinear function", + "type": "text" + }, + { + "bbox": [ + 391, + 587, + 443, + 599 + ], + "score": 0.91, + "content": "\\beta : \\mathbb { R } \\mathbb { R }", + "type": "inline_equation" + }, + { + "bbox": [ + 444, + 586, + 505, + 600 + ], + "score": 1.0, + "content": "and a relation", + "type": "text" + } + ], + "index": 39 + }, + { + "bbox": [ + 105, + 597, + 506, + 610 + ], + "spans": [ + { + "bbox": [ + 105, + 597, + 142, + 610 + ], + "score": 1.0, + "content": "function", + "type": "text" + }, + { + "bbox": [ + 142, + 598, + 223, + 610 + ], + "score": 0.89, + "content": "\\gamma : \\mathbb { R } ^ { d _ { e } } \\times \\mathbb { R } ^ { d _ { e } } \\mathbb { R }", + "type": "inline_equation" + }, + { + "bbox": [ + 223, + 597, + 338, + 610 + ], + "score": 1.0, + "content": ". A dominant instantiation of", + "type": "text" + }, + { + "bbox": [ + 339, + 600, + 347, + 608 + ], + "score": 0.81, + "content": "\\alpha", + "type": "inline_equation" + }, + { + "bbox": [ + 347, + 597, + 506, + 610 + ], + "score": 1.0, + "content": "is the scaled dot-product based softmax", + "type": "text" + } + ], + "index": 40 + }, + { + "bbox": [ + 106, + 608, + 226, + 621 + ], + "spans": [ + { + "bbox": [ + 106, + 608, + 226, + 621 + ], + "score": 1.0, + "content": "self-attention [33], defined as", + "type": "text" + } + ], + "index": 41 + } + ], + "index": 39.5, + "bbox_fs": [ + 105, + 574, + 506, + 621 + ] + }, + { + "type": "interline_equation", + "bbox": [ + 197, + 626, + 413, + 653 + ], + "lines": [ + { + "bbox": [ + 197, + 626, + 413, + 653 + ], + "spans": [ + { + "bbox": [ + 197, + 626, + 413, + 653 + ], + "score": 0.93, + "content": "\\beta ( \\cdot ) = \\mathrm { s o f t m a x } ( \\cdot ) , \\quad \\gamma ( Q _ { i , : } , K _ { j , : } ) = \\frac { 1 } { \\sqrt { d _ { e } } } \\cdot Q _ { i , : } ^ { \\top } K _ { j , : } .", + "type": "interline_equation", + "image_path": "ff90e442d3d5419b70a0232e063bc5be786e9d3e02fbf0f2a610261c85c970fb.jpg" + } + ] + } + ], + "index": 42.5, + "virtual_lines": [ + { + "bbox": [ + 197, + 626, + 413, + 639.5 + ], + "spans": [], + "index": 42 + }, + { + "bbox": [ + 197, + 639.5, + 413, + 653.0 + ], + "spans": [], + "index": 43 + } + ] + }, + { + "type": "text", + "bbox": [ + 107, + 657, + 505, + 701 + ], + "lines": [ + { + "bbox": [ + 105, + 658, + 505, + 669 + ], + "spans": [ + { + "bbox": [ + 105, + 658, + 505, + 669 + ], + "score": 1.0, + "content": "Whilst this softmax self-attention has been the de facto choice and seldomly questioned, as discussed", + "type": "text" + } + ], + "index": 44 + }, + { + "bbox": [ + 105, + 668, + 505, + 682 + ], + "spans": [ + { + "bbox": [ + 105, + 668, + 505, + 682 + ], + "score": 1.0, + "content": "earlier it is not necessarily suited for linearization. To facilitate the design of linear self-attention, we", + "type": "text" + } + ], + "index": 45 + }, + { + "bbox": [ + 105, + 680, + 506, + 693 + ], + "spans": [ + { + "bbox": [ + 105, + 680, + 506, + 693 + ], + "score": 1.0, + "content": "introduce a softmax-free self-attention function with the dot-product replaced by a Gaussian kernel", + "type": "text" + } + ], + "index": 46 + }, + { + "bbox": [ + 105, + 692, + 121, + 703 + ], + "spans": [ + { + "bbox": [ + 105, + 692, + 121, + 703 + ], + "score": 1.0, + "content": "as:", + "type": "text" + } + ], + "index": 47 + } + ], + "index": 45.5, + "bbox_fs": [ + 105, + 658, + 506, + 703 + ] + }, + { + "type": "interline_equation", + "bbox": [ + 183, + 699, + 428, + 726 + ], + "lines": [ + { + "bbox": [ + 183, + 699, + 428, + 726 + ], + "spans": [ + { + "bbox": [ + 183, + 699, + 428, + 726 + ], + "score": 0.93, + "content": "\\beta ^ { \\prime } ( \\cdot ) = \\exp ( \\cdot ) , \\quad \\gamma ^ { \\prime } ( Q _ { i , : } , K _ { j , : } ) = - \\frac { 1 } { 2 \\sqrt { d _ { e } } } \\cdot \\| Q _ { i , : } - K _ { j , : } \\| _ { 2 } ^ { 2 } .", + "type": "interline_equation", + "image_path": "277f12dc83263afe370320c2375128b7b91fd291e18d2b33d86dfd2aa06e968e.jpg" + } + ] + } + ], + "index": 49, + "virtual_lines": [ + { + "bbox": [ + 183, + 699, + 428, + 708.0 + ], + "spans": [], + "index": 48 + }, + { + "bbox": [ + 183, + 708.0, + 428, + 717.0 + ], + "spans": [], + "index": 49 + }, + { + "bbox": [ + 183, + 717.0, + 428, + 726.0 + ], + "spans": [], + "index": 50 + } + ] + } + ] + }, + { + "preproc_blocks": [ + { + "type": "image", + "bbox": [ + 108, + 90, + 506, + 220 + ], + "blocks": [ + { + "type": "image_body", + "bbox": [ + 108, + 90, + 506, + 220 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 108, + 90, + 506, + 220 + ], + "spans": [ + { + "bbox": [ + 108, + 90, + 506, + 220 + ], + "score": 0.973, + "type": "image", + "image_path": "2f3b028bd2d3ee114e9064ba3e91b9b8a69ba44e1d923199ea4a1fc58e1a7700.jpg" + } + ] + } + ], + "index": 1, + "virtual_lines": [ + { + "bbox": [ + 108, + 90, + 506, + 133.33333333333334 + ], + "spans": [], + "index": 0 + }, + { + "bbox": [ + 108, + 133.33333333333334, + 506, + 176.66666666666669 + ], + "spans": [], + "index": 1 + }, + { + "bbox": [ + 108, + 176.66666666666669, + 506, + 220.00000000000003 + ], + "spans": [], + "index": 2 + } + ] + }, + { + "type": "image_caption", + "bbox": [ + 106, + 225, + 506, + 259 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 105, + 224, + 507, + 239 + ], + "spans": [ + { + "bbox": [ + 105, + 224, + 507, + 239 + ], + "score": 1.0, + "content": "Figure 2: Schematic illustration of the proposed softmax-free self-attention (SOFT) method. P.E.:", + "type": "text" + } + ], + "index": 3 + }, + { + "bbox": [ + 106, + 236, + 506, + 249 + ], + "spans": [ + { + "bbox": [ + 106, + 236, + 506, + 249 + ], + "score": 1.0, + "content": "Position embedding. Dash lines: linear projection. dh: the hidden dim of each attention head. ◦", + "type": "text" + } + ], + "index": 4 + }, + { + "bbox": [ + 106, + 247, + 233, + 259 + ], + "spans": [ + { + "bbox": [ + 106, + 247, + 233, + 259 + ], + "score": 1.0, + "content": "denotes the matrix dot product.", + "type": "text" + } + ], + "index": 5 + } + ], + "index": 4 + } + ], + "index": 2.5 + }, + { + "type": "text", + "bbox": [ + 106, + 279, + 503, + 302 + ], + "lines": [ + { + "bbox": [ + 105, + 279, + 504, + 293 + ], + "spans": [ + { + "bbox": [ + 105, + 279, + 488, + 293 + ], + "score": 1.0, + "content": "To preserve the symmetric property of attention matrix as in Eq (3), we set the project matrices", + "type": "text" + }, + { + "bbox": [ + 489, + 280, + 504, + 292 + ], + "score": 0.87, + "content": "W _ { q }", + "type": "inline_equation" + } + ], + "index": 6 + }, + { + "bbox": [ + 106, + 291, + 449, + 304 + ], + "spans": [ + { + "bbox": [ + 106, + 291, + 123, + 304 + ], + "score": 1.0, + "content": "and", + "type": "text" + }, + { + "bbox": [ + 123, + 291, + 139, + 302 + ], + "score": 0.89, + "content": "W _ { k }", + "type": "inline_equation" + }, + { + "bbox": [ + 139, + 291, + 235, + 304 + ], + "score": 1.0, + "content": "in Eq (1) identical (i.e.,", + "type": "text" + }, + { + "bbox": [ + 235, + 291, + 267, + 303 + ], + "score": 0.9, + "content": "Q = K .", + "type": "inline_equation" + }, + { + "bbox": [ + 268, + 291, + 449, + 304 + ], + "score": 1.0, + "content": "). Our self-attention matrix is then written as:", + "type": "text" + } + ], + "index": 7 + } + ], + "index": 6.5 + }, + { + "type": "interline_equation", + "bbox": [ + 222, + 306, + 388, + 335 + ], + "lines": [ + { + "bbox": [ + 222, + 306, + 388, + 335 + ], + "spans": [ + { + "bbox": [ + 222, + 306, + 388, + 335 + ], + "score": 0.94, + "content": "S _ { i , j } = \\exp \\left( - \\frac { 1 } { 2 \\sqrt { d _ { e } } } \\cdot \\lVert Q _ { i , : } - K _ { j , : } \\rVert _ { 2 } ^ { 2 } \\right) .", + "type": "interline_equation", + "image_path": "35704aa404ae47b07f257e574f6b6a45c157fa948b98e633475eab7ee506f56f.jpg" + } + ] + } + ], + "index": 8.5, + "virtual_lines": [ + { + "bbox": [ + 222, + 306, + 388, + 320.5 + ], + "spans": [], + "index": 8 + }, + { + "bbox": [ + 222, + 320.5, + 388, + 335.0 + ], + "spans": [], + "index": 9 + } + ] + }, + { + "type": "text", + "bbox": [ + 107, + 339, + 426, + 351 + ], + "lines": [ + { + "bbox": [ + 105, + 338, + 424, + 353 + ], + "spans": [ + { + "bbox": [ + 105, + 338, + 350, + 353 + ], + "score": 1.0, + "content": "For notation simplicity, we define the matrix formulation as:", + "type": "text" + }, + { + "bbox": [ + 350, + 339, + 424, + 351 + ], + "score": 0.86, + "content": "S = \\exp \\left( Q \\ominus K \\right)", + "type": "inline_equation" + } + ], + "index": 10 + } + ], + "index": 10 + }, + { + "type": "text", + "bbox": [ + 106, + 361, + 506, + 439 + ], + "lines": [ + { + "bbox": [ + 105, + 361, + 505, + 375 + ], + "spans": [ + { + "bbox": [ + 105, + 361, + 258, + 375 + ], + "score": 1.0, + "content": "Remarks Our self-attention matrix", + "type": "text" + }, + { + "bbox": [ + 259, + 363, + 266, + 372 + ], + "score": 0.82, + "content": "S", + "type": "inline_equation" + }, + { + "bbox": [ + 267, + 361, + 505, + 375 + ], + "score": 1.0, + "content": "has three important properties: (1) It is symmetric; (2) All", + "type": "text" + } + ], + "index": 11 + }, + { + "bbox": [ + 106, + 373, + 507, + 385 + ], + "spans": [ + { + "bbox": [ + 106, + 373, + 249, + 385 + ], + "score": 1.0, + "content": "the elements lie in a unit range of", + "type": "text" + }, + { + "bbox": [ + 249, + 373, + 270, + 385 + ], + "score": 0.51, + "content": "[ 0 , 1 ]", + "type": "inline_equation" + }, + { + "bbox": [ + 270, + 373, + 507, + 385 + ], + "score": 1.0, + "content": "; (3) All diagonal elements hold the largest value 1 (self-", + "type": "text" + } + ], + "index": 12 + }, + { + "bbox": [ + 105, + 384, + 507, + 397 + ], + "spans": [ + { + "bbox": [ + 105, + 384, + 507, + 397 + ], + "score": 1.0, + "content": "reinforced), with the bottom ones (corresponding to most dissimilar token pairs) being close to 0.", + "type": "text" + } + ], + "index": 13 + }, + { + "bbox": [ + 105, + 394, + 506, + 407 + ], + "spans": [ + { + "bbox": [ + 105, + 394, + 326, + 407 + ], + "score": 1.0, + "content": "As Gaussian kernel is a positive definite kernel [12],", + "type": "text" + }, + { + "bbox": [ + 326, + 396, + 334, + 405 + ], + "score": 0.79, + "content": "S", + "type": "inline_equation" + }, + { + "bbox": [ + 335, + 394, + 506, + 407 + ], + "score": 1.0, + "content": "is deemed a Gram matrix. However, we", + "type": "text" + } + ], + "index": 14 + }, + { + "bbox": [ + 106, + 406, + 505, + 417 + ], + "spans": [ + { + "bbox": [ + 106, + 406, + 342, + 417 + ], + "score": 1.0, + "content": "find that when using our kernel-based self-attention matrix", + "type": "text" + }, + { + "bbox": [ + 343, + 406, + 351, + 416 + ], + "score": 0.8, + "content": "S", + "type": "inline_equation" + }, + { + "bbox": [ + 351, + 406, + 505, + 417 + ], + "score": 1.0, + "content": "without linearization, the training of a", + "type": "text" + } + ], + "index": 15 + }, + { + "bbox": [ + 106, + 417, + 505, + 429 + ], + "spans": [ + { + "bbox": [ + 106, + 417, + 505, + 429 + ], + "score": 1.0, + "content": "transformer fails to converge. This might explain why softmax dot-product based self-attention [33]", + "type": "text" + } + ], + "index": 16 + }, + { + "bbox": [ + 106, + 429, + 255, + 439 + ], + "spans": [ + { + "bbox": [ + 106, + 429, + 255, + 439 + ], + "score": 1.0, + "content": "is so popular in vanilla transformers.", + "type": "text" + } + ], + "index": 17 + } + ], + "index": 14 + }, + { + "type": "title", + "bbox": [ + 107, + 452, + 443, + 464 + ], + "lines": [ + { + "bbox": [ + 105, + 450, + 444, + 466 + ], + "spans": [ + { + "bbox": [ + 105, + 450, + 444, + 466 + ], + "score": 1.0, + "content": "3.2 Low-rank regularization via matrix decomposition with linear complexity", + "type": "text" + } + ], + "index": 18 + } + ], + "index": 18 + }, + { + "type": "text", + "bbox": [ + 106, + 471, + 505, + 516 + ], + "lines": [ + { + "bbox": [ + 105, + 471, + 505, + 485 + ], + "spans": [ + { + "bbox": [ + 105, + 471, + 505, + 485 + ], + "score": 1.0, + "content": "To solve the convergence and quadratic complexity problems, we leverage matrix decomposition as", + "type": "text" + } + ], + "index": 19 + }, + { + "bbox": [ + 106, + 483, + 505, + 495 + ], + "spans": [ + { + "bbox": [ + 106, + 483, + 505, + 495 + ], + "score": 1.0, + "content": "a unified solution with low-rank regularization. In particular, we consider Nyström [38], which is", + "type": "text" + } + ], + "index": 20 + }, + { + "bbox": [ + 106, + 494, + 505, + 506 + ], + "spans": [ + { + "bbox": [ + 106, + 494, + 505, + 506 + ], + "score": 1.0, + "content": "originally a low-rank matrix approximation algorithm. This enables our model’s complexity to be", + "type": "text" + } + ], + "index": 21 + }, + { + "bbox": [ + 105, + 505, + 397, + 517 + ], + "spans": [ + { + "bbox": [ + 105, + 505, + 385, + 517 + ], + "score": 1.0, + "content": "reduced significantly without computing the full self-attention matrix", + "type": "text" + }, + { + "bbox": [ + 385, + 505, + 393, + 515 + ], + "score": 0.83, + "content": "S", + "type": "inline_equation" + }, + { + "bbox": [ + 393, + 505, + 397, + 517 + ], + "score": 1.0, + "content": ".", + "type": "text" + } + ], + "index": 22 + } + ], + "index": 20.5 + }, + { + "type": "text", + "bbox": [ + 107, + 520, + 505, + 555 + ], + "lines": [ + { + "bbox": [ + 105, + 519, + 505, + 534 + ], + "spans": [ + { + "bbox": [ + 105, + 519, + 240, + 534 + ], + "score": 1.0, + "content": "We make this choice because our", + "type": "text" + }, + { + "bbox": [ + 241, + 522, + 248, + 531 + ], + "score": 0.82, + "content": "S", + "type": "inline_equation" + }, + { + "bbox": [ + 249, + 519, + 505, + 534 + ], + "score": 1.0, + "content": "is positive semi-definite (i.e., a Gram matrix) without follow-up", + "type": "text" + } + ], + "index": 23 + }, + { + "bbox": [ + 105, + 532, + 505, + 545 + ], + "spans": [ + { + "bbox": [ + 105, + 532, + 505, + 545 + ], + "score": 1.0, + "content": "normalization which are all necessary conditions for Nyström. In contrast, [39] totally ignores these", + "type": "text" + } + ], + "index": 24 + }, + { + "bbox": [ + 106, + 543, + 355, + 555 + ], + "spans": [ + { + "bbox": [ + 106, + 543, + 355, + 555 + ], + "score": 1.0, + "content": "requirements, leading to theoretical flaw in its approximation.", + "type": "text" + } + ], + "index": 25 + } + ], + "index": 24 + }, + { + "type": "text", + "bbox": [ + 104, + 559, + 473, + 572 + ], + "lines": [ + { + "bbox": [ + 105, + 558, + 474, + 573 + ], + "spans": [ + { + "bbox": [ + 105, + 558, + 325, + 573 + ], + "score": 1.0, + "content": "To define the Nyström method formally, let us express", + "type": "text" + }, + { + "bbox": [ + 325, + 559, + 399, + 572 + ], + "score": 0.91, + "content": "S = \\exp \\left( Q \\ominus K \\right)", + "type": "inline_equation" + }, + { + "bbox": [ + 399, + 558, + 474, + 573 + ], + "score": 1.0, + "content": "as a block matrix:", + "type": "text" + } + ], + "index": 26 + } + ], + "index": 26 + }, + { + "type": "interline_equation", + "bbox": [ + 248, + 575, + 362, + 604 + ], + "lines": [ + { + "bbox": [ + 248, + 575, + 362, + 604 + ], + "spans": [ + { + "bbox": [ + 248, + 575, + 362, + 604 + ], + "score": 0.94, + "content": "\\boldsymbol { S } = \\left[ \\begin{array} { c c } { \\boldsymbol { A } } & { \\boldsymbol { B } } \\\\ { \\boldsymbol { B } ^ { \\top } } & { \\boldsymbol { C } } \\end{array} \\right] \\in \\mathbb { R } ^ { n \\times n } ,", + "type": "interline_equation", + "image_path": "76bd222c4b7641a783e790d99e5e7eb73d12c553b64155c17ae29416f93b8135.jpg" + } + ] + } + ], + "index": 27.5, + "virtual_lines": [ + { + "bbox": [ + 248, + 575, + 362, + 589.5 + ], + "spans": [], + "index": 27 + }, + { + "bbox": [ + 248, + 589.5, + 362, + 604.0 + ], + "spans": [], + "index": 28 + } + ] + }, + { + "type": "text", + "bbox": [ + 106, + 613, + 506, + 638 + ], + "lines": [ + { + "bbox": [ + 104, + 611, + 506, + 629 + ], + "spans": [ + { + "bbox": [ + 104, + 611, + 135, + 629 + ], + "score": 1.0, + "content": "where", + "type": "text" + }, + { + "bbox": [ + 135, + 615, + 188, + 625 + ], + "score": 0.88, + "content": "A \\in \\mathbb { R } ^ { m \\times m }", + "type": "inline_equation" + }, + { + "bbox": [ + 188, + 611, + 194, + 629 + ], + "score": 1.0, + "content": ",", + "type": "text" + }, + { + "bbox": [ + 194, + 614, + 265, + 625 + ], + "score": 0.89, + "content": "B \\in \\mathbb { R } ^ { m \\times ( n - m ) }", + "type": "inline_equation" + }, + { + "bbox": [ + 266, + 611, + 270, + 629 + ], + "score": 1.0, + "content": ",", + "type": "text" + }, + { + "bbox": [ + 271, + 613, + 359, + 625 + ], + "score": 0.9, + "content": "C \\ \\in \\ \\mathbb { R } ^ { ( n - m ) \\times ( n - m ) }", + "type": "inline_equation" + }, + { + "bbox": [ + 360, + 611, + 384, + 629 + ], + "score": 1.0, + "content": "with", + "type": "text" + }, + { + "bbox": [ + 384, + 616, + 420, + 626 + ], + "score": 0.89, + "content": "m \\ll n", + "type": "inline_equation" + }, + { + "bbox": [ + 420, + 611, + 506, + 629 + ], + "score": 1.0, + "content": ". Through Nyström", + "type": "text" + } + ], + "index": 29 + }, + { + "bbox": [ + 106, + 625, + 506, + 639 + ], + "spans": [ + { + "bbox": [ + 106, + 625, + 506, + 639 + ], + "score": 1.0, + "content": "decomposition (see derivative details in Supplementary A.1), an approximation can be represented as:", + "type": "text" + } + ], + "index": 30 + } + ], + "index": 29.5 + }, + { + "type": "interline_equation", + "bbox": [ + 182, + 644, + 428, + 672 + ], + "lines": [ + { + "bbox": [ + 182, + 644, + 428, + 672 + ], + "spans": [ + { + "bbox": [ + 182, + 644, + 428, + 672 + ], + "score": 0.92, + "content": "{ \\hat { S } } = { \\left[ \\begin{array} { l } { A } \\\\ { B ^ { \\top } } \\end{array} \\right] } A ^ { \\dagger } \\left[ A \\quad B \\right] = P ^ { \\top } A ^ { \\dagger } P , \\quad { \\mathrm { w h e r e } } \\quad P = \\left[ A \\quad B \\right] ,", + "type": "interline_equation", + "image_path": "68eafd910dad00260490cbb880d68c17fa8dc3cc0028afa80482000b38ad76b8.jpg" + } + ] + } + ], + "index": 32, + "virtual_lines": [ + { + "bbox": [ + 182, + 644, + 428, + 653.3333333333334 + ], + "spans": [], + "index": 31 + }, + { + "bbox": [ + 182, + 653.3333333333334, + 428, + 662.6666666666667 + ], + "spans": [], + "index": 32 + }, + { + "bbox": [ + 182, + 662.6666666666667, + 428, + 672.0000000000001 + ], + "spans": [], + "index": 33 + } + ] + }, + { + "type": "text", + "bbox": [ + 108, + 674, + 340, + 687 + ], + "lines": [ + { + "bbox": [ + 105, + 673, + 341, + 688 + ], + "spans": [ + { + "bbox": [ + 105, + 673, + 123, + 688 + ], + "score": 1.0, + "content": "and", + "type": "text" + }, + { + "bbox": [ + 124, + 674, + 136, + 685 + ], + "score": 0.88, + "content": "A ^ { \\dagger }", + "type": "inline_equation" + }, + { + "bbox": [ + 136, + 673, + 329, + 688 + ], + "score": 1.0, + "content": "is the Moore-Penrose (a generalized) inverse of", + "type": "text" + }, + { + "bbox": [ + 329, + 675, + 337, + 685 + ], + "score": 0.83, + "content": "A", + "type": "inline_equation" + }, + { + "bbox": [ + 338, + 673, + 341, + 688 + ], + "score": 1.0, + "content": ".", + "type": "text" + } + ], + "index": 34 + } + ], + "index": 34 + }, + { + "type": "text", + "bbox": [ + 106, + 697, + 505, + 723 + ], + "lines": [ + { + "bbox": [ + 106, + 696, + 505, + 711 + ], + "spans": [ + { + "bbox": [ + 106, + 696, + 317, + 711 + ], + "score": 1.0, + "content": "Sampling In the standard Nyström formulation,", + "type": "text" + }, + { + "bbox": [ + 318, + 698, + 326, + 708 + ], + "score": 0.8, + "content": "A", + "type": "inline_equation" + }, + { + "bbox": [ + 327, + 696, + 347, + 711 + ], + "score": 1.0, + "content": "and", + "type": "text" + }, + { + "bbox": [ + 348, + 698, + 357, + 708 + ], + "score": 0.83, + "content": "B", + "type": "inline_equation" + }, + { + "bbox": [ + 357, + 696, + 443, + 711 + ], + "score": 1.0, + "content": "are sub-matrices of", + "type": "text" + }, + { + "bbox": [ + 443, + 698, + 451, + 708 + ], + "score": 0.82, + "content": "S", + "type": "inline_equation" + }, + { + "bbox": [ + 452, + 696, + 505, + 711 + ], + "score": 1.0, + "content": "obtained by", + "type": "text" + } + ], + "index": 35 + }, + { + "bbox": [ + 105, + 709, + 507, + 724 + ], + "spans": [ + { + "bbox": [ + 105, + 709, + 183, + 724 + ], + "score": 1.0, + "content": "randomly sampled", + "type": "text" + }, + { + "bbox": [ + 183, + 712, + 194, + 721 + ], + "score": 0.74, + "content": "m", + "type": "inline_equation" + }, + { + "bbox": [ + 194, + 709, + 271, + 724 + ], + "score": 1.0, + "content": "tokens, denoted as", + "type": "text" + }, + { + "bbox": [ + 271, + 709, + 280, + 722 + ], + "score": 0.87, + "content": "\\widetilde { Q }", + "type": "inline_equation" + }, + { + "bbox": [ + 280, + 709, + 368, + 724 + ], + "score": 1.0, + "content": ". We call the sampled", + "type": "text" + }, + { + "bbox": [ + 368, + 709, + 377, + 722 + ], + "score": 0.88, + "content": "\\widetilde { Q }", + "type": "inline_equation" + }, + { + "bbox": [ + 378, + 709, + 507, + 724 + ], + "score": 1.0, + "content": "as bottleneck tokens. However,", + "type": "text" + } + ], + "index": 36 + } + ], + "index": 35.5 + } + ], + "page_idx": 3, + "page_size": [ + 612, + 792 + ], + "discarded_blocks": [ + { + "type": "discarded", + "bbox": [ + 302, + 741, + 308, + 750 + ], + "lines": [ + { + "bbox": [ + 302, + 741, + 310, + 752 + ], + "spans": [ + { + "bbox": [ + 302, + 741, + 310, + 752 + ], + "score": 1.0, + "content": "4", + "type": "text" + } + ] + } + ] + } + ], + "para_blocks": [ + { + "type": "image", + "bbox": [ + 108, + 90, + 506, + 220 + ], + "blocks": [ + { + "type": "image_body", + "bbox": [ + 108, + 90, + 506, + 220 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 108, + 90, + 506, + 220 + ], + "spans": [ + { + "bbox": [ + 108, + 90, + 506, + 220 + ], + "score": 0.973, + "type": "image", + "image_path": "2f3b028bd2d3ee114e9064ba3e91b9b8a69ba44e1d923199ea4a1fc58e1a7700.jpg" + } + ] + } + ], + "index": 1, + "virtual_lines": [ + { + "bbox": [ + 108, + 90, + 506, + 133.33333333333334 + ], + "spans": [], + "index": 0 + }, + { + "bbox": [ + 108, + 133.33333333333334, + 506, + 176.66666666666669 + ], + "spans": [], + "index": 1 + }, + { + "bbox": [ + 108, + 176.66666666666669, + 506, + 220.00000000000003 + ], + "spans": [], + "index": 2 + } + ] + }, + { + "type": "image_caption", + "bbox": [ + 106, + 225, + 506, + 259 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 105, + 224, + 507, + 239 + ], + "spans": [ + { + "bbox": [ + 105, + 224, + 507, + 239 + ], + "score": 1.0, + "content": "Figure 2: Schematic illustration of the proposed softmax-free self-attention (SOFT) method. P.E.:", + "type": "text" + } + ], + "index": 3 + }, + { + "bbox": [ + 106, + 236, + 506, + 249 + ], + "spans": [ + { + "bbox": [ + 106, + 236, + 506, + 249 + ], + "score": 1.0, + "content": "Position embedding. Dash lines: linear projection. dh: the hidden dim of each attention head. ◦", + "type": "text" + } + ], + "index": 4 + }, + { + "bbox": [ + 106, + 247, + 233, + 259 + ], + "spans": [ + { + "bbox": [ + 106, + 247, + 233, + 259 + ], + "score": 1.0, + "content": "denotes the matrix dot product.", + "type": "text" + } + ], + "index": 5 + } + ], + "index": 4 + } + ], + "index": 2.5 + }, + { + "type": "text", + "bbox": [ + 106, + 279, + 503, + 302 + ], + "lines": [ + { + "bbox": [ + 105, + 279, + 504, + 293 + ], + "spans": [ + { + "bbox": [ + 105, + 279, + 488, + 293 + ], + "score": 1.0, + "content": "To preserve the symmetric property of attention matrix as in Eq (3), we set the project matrices", + "type": "text" + }, + { + "bbox": [ + 489, + 280, + 504, + 292 + ], + "score": 0.87, + "content": "W _ { q }", + "type": "inline_equation" + } + ], + "index": 6 + }, + { + "bbox": [ + 106, + 291, + 449, + 304 + ], + "spans": [ + { + "bbox": [ + 106, + 291, + 123, + 304 + ], + "score": 1.0, + "content": "and", + "type": "text" + }, + { + "bbox": [ + 123, + 291, + 139, + 302 + ], + "score": 0.89, + "content": "W _ { k }", + "type": "inline_equation" + }, + { + "bbox": [ + 139, + 291, + 235, + 304 + ], + "score": 1.0, + "content": "in Eq (1) identical (i.e.,", + "type": "text" + }, + { + "bbox": [ + 235, + 291, + 267, + 303 + ], + "score": 0.9, + "content": "Q = K .", + "type": "inline_equation" + }, + { + "bbox": [ + 268, + 291, + 449, + 304 + ], + "score": 1.0, + "content": "). Our self-attention matrix is then written as:", + "type": "text" + } + ], + "index": 7 + } + ], + "index": 6.5, + "bbox_fs": [ + 105, + 279, + 504, + 304 + ] + }, + { + "type": "interline_equation", + "bbox": [ + 222, + 306, + 388, + 335 + ], + "lines": [ + { + "bbox": [ + 222, + 306, + 388, + 335 + ], + "spans": [ + { + "bbox": [ + 222, + 306, + 388, + 335 + ], + "score": 0.94, + "content": "S _ { i , j } = \\exp \\left( - \\frac { 1 } { 2 \\sqrt { d _ { e } } } \\cdot \\lVert Q _ { i , : } - K _ { j , : } \\rVert _ { 2 } ^ { 2 } \\right) .", + "type": "interline_equation", + "image_path": "35704aa404ae47b07f257e574f6b6a45c157fa948b98e633475eab7ee506f56f.jpg" + } + ] + } + ], + "index": 8.5, + "virtual_lines": [ + { + "bbox": [ + 222, + 306, + 388, + 320.5 + ], + "spans": [], + "index": 8 + }, + { + "bbox": [ + 222, + 320.5, + 388, + 335.0 + ], + "spans": [], + "index": 9 + } + ] + }, + { + "type": "text", + "bbox": [ + 107, + 339, + 426, + 351 + ], + "lines": [ + { + "bbox": [ + 105, + 338, + 424, + 353 + ], + "spans": [ + { + "bbox": [ + 105, + 338, + 350, + 353 + ], + "score": 1.0, + "content": "For notation simplicity, we define the matrix formulation as:", + "type": "text" + }, + { + "bbox": [ + 350, + 339, + 424, + 351 + ], + "score": 0.86, + "content": "S = \\exp \\left( Q \\ominus K \\right)", + "type": "inline_equation" + } + ], + "index": 10 + } + ], + "index": 10, + "bbox_fs": [ + 105, + 338, + 424, + 353 + ] + }, + { + "type": "text", + "bbox": [ + 106, + 361, + 506, + 439 + ], + "lines": [ + { + "bbox": [ + 105, + 361, + 505, + 375 + ], + "spans": [ + { + "bbox": [ + 105, + 361, + 258, + 375 + ], + "score": 1.0, + "content": "Remarks Our self-attention matrix", + "type": "text" + }, + { + "bbox": [ + 259, + 363, + 266, + 372 + ], + "score": 0.82, + "content": "S", + "type": "inline_equation" + }, + { + "bbox": [ + 267, + 361, + 505, + 375 + ], + "score": 1.0, + "content": "has three important properties: (1) It is symmetric; (2) All", + "type": "text" + } + ], + "index": 11 + }, + { + "bbox": [ + 106, + 373, + 507, + 385 + ], + "spans": [ + { + "bbox": [ + 106, + 373, + 249, + 385 + ], + "score": 1.0, + "content": "the elements lie in a unit range of", + "type": "text" + }, + { + "bbox": [ + 249, + 373, + 270, + 385 + ], + "score": 0.51, + "content": "[ 0 , 1 ]", + "type": "inline_equation" + }, + { + "bbox": [ + 270, + 373, + 507, + 385 + ], + "score": 1.0, + "content": "; (3) All diagonal elements hold the largest value 1 (self-", + "type": "text" + } + ], + "index": 12 + }, + { + "bbox": [ + 105, + 384, + 507, + 397 + ], + "spans": [ + { + "bbox": [ + 105, + 384, + 507, + 397 + ], + "score": 1.0, + "content": "reinforced), with the bottom ones (corresponding to most dissimilar token pairs) being close to 0.", + "type": "text" + } + ], + "index": 13 + }, + { + "bbox": [ + 105, + 394, + 506, + 407 + ], + "spans": [ + { + "bbox": [ + 105, + 394, + 326, + 407 + ], + "score": 1.0, + "content": "As Gaussian kernel is a positive definite kernel [12],", + "type": "text" + }, + { + "bbox": [ + 326, + 396, + 334, + 405 + ], + "score": 0.79, + "content": "S", + "type": "inline_equation" + }, + { + "bbox": [ + 335, + 394, + 506, + 407 + ], + "score": 1.0, + "content": "is deemed a Gram matrix. However, we", + "type": "text" + } + ], + "index": 14 + }, + { + "bbox": [ + 106, + 406, + 505, + 417 + ], + "spans": [ + { + "bbox": [ + 106, + 406, + 342, + 417 + ], + "score": 1.0, + "content": "find that when using our kernel-based self-attention matrix", + "type": "text" + }, + { + "bbox": [ + 343, + 406, + 351, + 416 + ], + "score": 0.8, + "content": "S", + "type": "inline_equation" + }, + { + "bbox": [ + 351, + 406, + 505, + 417 + ], + "score": 1.0, + "content": "without linearization, the training of a", + "type": "text" + } + ], + "index": 15 + }, + { + "bbox": [ + 106, + 417, + 505, + 429 + ], + "spans": [ + { + "bbox": [ + 106, + 417, + 505, + 429 + ], + "score": 1.0, + "content": "transformer fails to converge. This might explain why softmax dot-product based self-attention [33]", + "type": "text" + } + ], + "index": 16 + }, + { + "bbox": [ + 106, + 429, + 255, + 439 + ], + "spans": [ + { + "bbox": [ + 106, + 429, + 255, + 439 + ], + "score": 1.0, + "content": "is so popular in vanilla transformers.", + "type": "text" + } + ], + "index": 17 + } + ], + "index": 14, + "bbox_fs": [ + 105, + 361, + 507, + 439 + ] + }, + { + "type": "title", + "bbox": [ + 107, + 452, + 443, + 464 + ], + "lines": [ + { + "bbox": [ + 105, + 450, + 444, + 466 + ], + "spans": [ + { + "bbox": [ + 105, + 450, + 444, + 466 + ], + "score": 1.0, + "content": "3.2 Low-rank regularization via matrix decomposition with linear complexity", + "type": "text" + } + ], + "index": 18 + } + ], + "index": 18 + }, + { + "type": "text", + "bbox": [ + 106, + 471, + 505, + 516 + ], + "lines": [ + { + "bbox": [ + 105, + 471, + 505, + 485 + ], + "spans": [ + { + "bbox": [ + 105, + 471, + 505, + 485 + ], + "score": 1.0, + "content": "To solve the convergence and quadratic complexity problems, we leverage matrix decomposition as", + "type": "text" + } + ], + "index": 19 + }, + { + "bbox": [ + 106, + 483, + 505, + 495 + ], + "spans": [ + { + "bbox": [ + 106, + 483, + 505, + 495 + ], + "score": 1.0, + "content": "a unified solution with low-rank regularization. In particular, we consider Nyström [38], which is", + "type": "text" + } + ], + "index": 20 + }, + { + "bbox": [ + 106, + 494, + 505, + 506 + ], + "spans": [ + { + "bbox": [ + 106, + 494, + 505, + 506 + ], + "score": 1.0, + "content": "originally a low-rank matrix approximation algorithm. This enables our model’s complexity to be", + "type": "text" + } + ], + "index": 21 + }, + { + "bbox": [ + 105, + 505, + 397, + 517 + ], + "spans": [ + { + "bbox": [ + 105, + 505, + 385, + 517 + ], + "score": 1.0, + "content": "reduced significantly without computing the full self-attention matrix", + "type": "text" + }, + { + "bbox": [ + 385, + 505, + 393, + 515 + ], + "score": 0.83, + "content": "S", + "type": "inline_equation" + }, + { + "bbox": [ + 393, + 505, + 397, + 517 + ], + "score": 1.0, + "content": ".", + "type": "text" + } + ], + "index": 22 + } + ], + "index": 20.5, + "bbox_fs": [ + 105, + 471, + 505, + 517 + ] + }, + { + "type": "text", + "bbox": [ + 107, + 520, + 505, + 555 + ], + "lines": [ + { + "bbox": [ + 105, + 519, + 505, + 534 + ], + "spans": [ + { + "bbox": [ + 105, + 519, + 240, + 534 + ], + "score": 1.0, + "content": "We make this choice because our", + "type": "text" + }, + { + "bbox": [ + 241, + 522, + 248, + 531 + ], + "score": 0.82, + "content": "S", + "type": "inline_equation" + }, + { + "bbox": [ + 249, + 519, + 505, + 534 + ], + "score": 1.0, + "content": "is positive semi-definite (i.e., a Gram matrix) without follow-up", + "type": "text" + } + ], + "index": 23 + }, + { + "bbox": [ + 105, + 532, + 505, + 545 + ], + "spans": [ + { + "bbox": [ + 105, + 532, + 505, + 545 + ], + "score": 1.0, + "content": "normalization which are all necessary conditions for Nyström. In contrast, [39] totally ignores these", + "type": "text" + } + ], + "index": 24 + }, + { + "bbox": [ + 106, + 543, + 355, + 555 + ], + "spans": [ + { + "bbox": [ + 106, + 543, + 355, + 555 + ], + "score": 1.0, + "content": "requirements, leading to theoretical flaw in its approximation.", + "type": "text" + } + ], + "index": 25 + } + ], + "index": 24, + "bbox_fs": [ + 105, + 519, + 505, + 555 + ] + }, + { + "type": "text", + "bbox": [ + 104, + 559, + 473, + 572 + ], + "lines": [ + { + "bbox": [ + 105, + 558, + 474, + 573 + ], + "spans": [ + { + "bbox": [ + 105, + 558, + 325, + 573 + ], + "score": 1.0, + "content": "To define the Nyström method formally, let us express", + "type": "text" + }, + { + "bbox": [ + 325, + 559, + 399, + 572 + ], + "score": 0.91, + "content": "S = \\exp \\left( Q \\ominus K \\right)", + "type": "inline_equation" + }, + { + "bbox": [ + 399, + 558, + 474, + 573 + ], + "score": 1.0, + "content": "as a block matrix:", + "type": "text" + } + ], + "index": 26 + } + ], + "index": 26, + "bbox_fs": [ + 105, + 558, + 474, + 573 + ] + }, + { + "type": "interline_equation", + "bbox": [ + 248, + 575, + 362, + 604 + ], + "lines": [ + { + "bbox": [ + 248, + 575, + 362, + 604 + ], + "spans": [ + { + "bbox": [ + 248, + 575, + 362, + 604 + ], + "score": 0.94, + "content": "\\boldsymbol { S } = \\left[ \\begin{array} { c c } { \\boldsymbol { A } } & { \\boldsymbol { B } } \\\\ { \\boldsymbol { B } ^ { \\top } } & { \\boldsymbol { C } } \\end{array} \\right] \\in \\mathbb { R } ^ { n \\times n } ,", + "type": "interline_equation", + "image_path": "76bd222c4b7641a783e790d99e5e7eb73d12c553b64155c17ae29416f93b8135.jpg" + } + ] + } + ], + "index": 27.5, + "virtual_lines": [ + { + "bbox": [ + 248, + 575, + 362, + 589.5 + ], + "spans": [], + "index": 27 + }, + { + "bbox": [ + 248, + 589.5, + 362, + 604.0 + ], + "spans": [], + "index": 28 + } + ] + }, + { + "type": "text", + "bbox": [ + 106, + 613, + 506, + 638 + ], + "lines": [ + { + "bbox": [ + 104, + 611, + 506, + 629 + ], + "spans": [ + { + "bbox": [ + 104, + 611, + 135, + 629 + ], + "score": 1.0, + "content": "where", + "type": "text" + }, + { + "bbox": [ + 135, + 615, + 188, + 625 + ], + "score": 0.88, + "content": "A \\in \\mathbb { R } ^ { m \\times m }", + "type": "inline_equation" + }, + { + "bbox": [ + 188, + 611, + 194, + 629 + ], + "score": 1.0, + "content": ",", + "type": "text" + }, + { + "bbox": [ + 194, + 614, + 265, + 625 + ], + "score": 0.89, + "content": "B \\in \\mathbb { R } ^ { m \\times ( n - m ) }", + "type": "inline_equation" + }, + { + "bbox": [ + 266, + 611, + 270, + 629 + ], + "score": 1.0, + "content": ",", + "type": "text" + }, + { + "bbox": [ + 271, + 613, + 359, + 625 + ], + "score": 0.9, + "content": "C \\ \\in \\ \\mathbb { R } ^ { ( n - m ) \\times ( n - m ) }", + "type": "inline_equation" + }, + { + "bbox": [ + 360, + 611, + 384, + 629 + ], + "score": 1.0, + "content": "with", + "type": "text" + }, + { + "bbox": [ + 384, + 616, + 420, + 626 + ], + "score": 0.89, + "content": "m \\ll n", + "type": "inline_equation" + }, + { + "bbox": [ + 420, + 611, + 506, + 629 + ], + "score": 1.0, + "content": ". Through Nyström", + "type": "text" + } + ], + "index": 29 + }, + { + "bbox": [ + 106, + 625, + 506, + 639 + ], + "spans": [ + { + "bbox": [ + 106, + 625, + 506, + 639 + ], + "score": 1.0, + "content": "decomposition (see derivative details in Supplementary A.1), an approximation can be represented as:", + "type": "text" + } + ], + "index": 30 + } + ], + "index": 29.5, + "bbox_fs": [ + 104, + 611, + 506, + 639 + ] + }, + { + "type": "interline_equation", + "bbox": [ + 182, + 644, + 428, + 672 + ], + "lines": [ + { + "bbox": [ + 182, + 644, + 428, + 672 + ], + "spans": [ + { + "bbox": [ + 182, + 644, + 428, + 672 + ], + "score": 0.92, + "content": "{ \\hat { S } } = { \\left[ \\begin{array} { l } { A } \\\\ { B ^ { \\top } } \\end{array} \\right] } A ^ { \\dagger } \\left[ A \\quad B \\right] = P ^ { \\top } A ^ { \\dagger } P , \\quad { \\mathrm { w h e r e } } \\quad P = \\left[ A \\quad B \\right] ,", + "type": "interline_equation", + "image_path": "68eafd910dad00260490cbb880d68c17fa8dc3cc0028afa80482000b38ad76b8.jpg" + } + ] + } + ], + "index": 32, + "virtual_lines": [ + { + "bbox": [ + 182, + 644, + 428, + 653.3333333333334 + ], + "spans": [], + "index": 31 + }, + { + "bbox": [ + 182, + 653.3333333333334, + 428, + 662.6666666666667 + ], + "spans": [], + "index": 32 + }, + { + "bbox": [ + 182, + 662.6666666666667, + 428, + 672.0000000000001 + ], + "spans": [], + "index": 33 + } + ] + }, + { + "type": "text", + "bbox": [ + 108, + 674, + 340, + 687 + ], + "lines": [ + { + "bbox": [ + 105, + 673, + 341, + 688 + ], + "spans": [ + { + "bbox": [ + 105, + 673, + 123, + 688 + ], + "score": 1.0, + "content": "and", + "type": "text" + }, + { + "bbox": [ + 124, + 674, + 136, + 685 + ], + "score": 0.88, + "content": "A ^ { \\dagger }", + "type": "inline_equation" + }, + { + "bbox": [ + 136, + 673, + 329, + 688 + ], + "score": 1.0, + "content": "is the Moore-Penrose (a generalized) inverse of", + "type": "text" + }, + { + "bbox": [ + 329, + 675, + 337, + 685 + ], + "score": 0.83, + "content": "A", + "type": "inline_equation" + }, + { + "bbox": [ + 338, + 673, + 341, + 688 + ], + "score": 1.0, + "content": ".", + "type": "text" + } + ], + "index": 34 + } + ], + "index": 34, + "bbox_fs": [ + 105, + 673, + 341, + 688 + ] + }, + { + "type": "text", + "bbox": [ + 106, + 697, + 505, + 723 + ], + "lines": [ + { + "bbox": [ + 106, + 696, + 505, + 711 + ], + "spans": [ + { + "bbox": [ + 106, + 696, + 317, + 711 + ], + "score": 1.0, + "content": "Sampling In the standard Nyström formulation,", + "type": "text" + }, + { + "bbox": [ + 318, + 698, + 326, + 708 + ], + "score": 0.8, + "content": "A", + "type": "inline_equation" + }, + { + "bbox": [ + 327, + 696, + 347, + 711 + ], + "score": 1.0, + "content": "and", + "type": "text" + }, + { + "bbox": [ + 348, + 698, + 357, + 708 + ], + "score": 0.83, + "content": "B", + "type": "inline_equation" + }, + { + "bbox": [ + 357, + 696, + 443, + 711 + ], + "score": 1.0, + "content": "are sub-matrices of", + "type": "text" + }, + { + "bbox": [ + 443, + 698, + 451, + 708 + ], + "score": 0.82, + "content": "S", + "type": "inline_equation" + }, + { + "bbox": [ + 452, + 696, + 505, + 711 + ], + "score": 1.0, + "content": "obtained by", + "type": "text" + } + ], + "index": 35 + }, + { + "bbox": [ + 105, + 709, + 507, + 724 + ], + "spans": [ + { + "bbox": [ + 105, + 709, + 183, + 724 + ], + "score": 1.0, + "content": "randomly sampled", + "type": "text" + }, + { + "bbox": [ + 183, + 712, + 194, + 721 + ], + "score": 0.74, + "content": "m", + "type": "inline_equation" + }, + { + "bbox": [ + 194, + 709, + 271, + 724 + ], + "score": 1.0, + "content": "tokens, denoted as", + "type": "text" + }, + { + "bbox": [ + 271, + 709, + 280, + 722 + ], + "score": 0.87, + "content": "\\widetilde { Q }", + "type": "inline_equation" + }, + { + "bbox": [ + 280, + 709, + 368, + 724 + ], + "score": 1.0, + "content": ". We call the sampled", + "type": "text" + }, + { + "bbox": [ + 368, + 709, + 377, + 722 + ], + "score": 0.88, + "content": "\\widetilde { Q }", + "type": "inline_equation" + }, + { + "bbox": [ + 378, + 709, + 507, + 724 + ], + "score": 1.0, + "content": "as bottleneck tokens. However,", + "type": "text" + } + ], + "index": 36 + } + ], + "index": 35.5, + "bbox_fs": [ + 105, + 696, + 507, + 724 + ] + } + ] + }, + { + "preproc_blocks": [ + { + "type": "text", + "bbox": [ + 106, + 90, + 274, + 157 + ], + "lines": [ + { + "bbox": [ + 105, + 87, + 273, + 105 + ], + "spans": [ + { + "bbox": [ + 105, + 87, + 137, + 105 + ], + "score": 1.0, + "content": "Input:", + "type": "text" + }, + { + "bbox": [ + 137, + 90, + 185, + 102 + ], + "score": 0.86, + "content": "Q \\in \\mathbb { R } ^ { n \\times d _ { e } }", + "type": "inline_equation" + }, + { + "bbox": [ + 185, + 87, + 263, + 105 + ], + "score": 1.0, + "content": ", sampling function", + "type": "text" + }, + { + "bbox": [ + 264, + 91, + 273, + 102 + ], + "score": 0.77, + "content": "f _ { s }", + "type": "inline_equation" + } + ], + "index": 0 + }, + { + "bbox": [ + 106, + 102, + 209, + 116 + ], + "spans": [ + { + "bbox": [ + 106, + 102, + 151, + 116 + ], + "score": 1.0, + "content": "Sampling", + "type": "text" + }, + { + "bbox": [ + 152, + 102, + 201, + 115 + ], + "score": 0.83, + "content": "{ \\widetilde { Q } } \\gets f _ { s } ( Q )", + "type": "inline_equation" + }, + { + "bbox": [ + 202, + 102, + 209, + 116 + ], + "score": 1.0, + "content": ";", + "type": "text" + } + ], + "index": 1 + }, + { + "bbox": [ + 106, + 114, + 263, + 131 + ], + "spans": [ + { + "bbox": [ + 106, + 115, + 181, + 129 + ], + "score": 0.44, + "content": "A \\exp ( \\widetilde { Q } \\ominus \\widetilde { Q } )", + "type": "inline_equation" + }, + { + "bbox": [ + 181, + 114, + 185, + 131 + ], + "score": 1.0, + "content": ",", + "type": "text" + }, + { + "bbox": [ + 185, + 115, + 259, + 129 + ], + "score": 0.65, + "content": "P \\exp ( \\widetilde { Q } \\ominus Q )", + "type": "inline_equation" + }, + { + "bbox": [ + 259, + 114, + 263, + 131 + ], + "score": 1.0, + "content": ";", + "type": "text" + } + ], + "index": 2 + }, + { + "bbox": [ + 107, + 128, + 186, + 144 + ], + "spans": [ + { + "bbox": [ + 107, + 129, + 182, + 143 + ], + "score": 0.76, + "content": "\\hat { S } P ^ { \\top } \\mathrm { N R } ( A ) P", + "type": "inline_equation" + }, + { + "bbox": [ + 182, + 128, + 186, + 144 + ], + "score": 1.0, + "content": ";", + "type": "text" + } + ], + "index": 3 + }, + { + "bbox": [ + 105, + 142, + 152, + 157 + ], + "spans": [ + { + "bbox": [ + 105, + 142, + 144, + 157 + ], + "score": 1.0, + "content": "Output:", + "type": "text" + }, + { + "bbox": [ + 144, + 144, + 152, + 155 + ], + "score": 0.49, + "content": "\\hat { S }", + "type": "inline_equation" + } + ], + "index": 4 + } + ], + "index": 2 + }, + { + "type": "title", + "bbox": [ + 305, + 75, + 486, + 87 + ], + "lines": [ + { + "bbox": [ + 303, + 73, + 488, + 90 + ], + "spans": [ + { + "bbox": [ + 303, + 73, + 488, + 90 + ], + "score": 1.0, + "content": "Algorithm 2: NR: Newton-Raphson iteration", + "type": "text" + } + ], + "index": 5 + } + ], + "index": 5 + }, + { + "type": "text", + "bbox": [ + 303, + 91, + 442, + 157 + ], + "lines": [ + { + "bbox": [ + 303, + 89, + 440, + 102 + ], + "spans": [ + { + "bbox": [ + 303, + 89, + 334, + 102 + ], + "score": 1.0, + "content": "Input:", + "type": "text" + }, + { + "bbox": [ + 335, + 91, + 383, + 101 + ], + "score": 0.83, + "content": "A \\in \\mathbb { R } ^ { m \\times m }", + "type": "inline_equation" + }, + { + "bbox": [ + 383, + 89, + 404, + 102 + ], + "score": 1.0, + "content": ", and", + "type": "text" + }, + { + "bbox": [ + 404, + 91, + 438, + 101 + ], + "score": 0.59, + "content": "\\mathcal { T } \\in \\mathbb { Z } ^ { + }", + "type": "inline_equation" + }, + { + "bbox": [ + 438, + 89, + 440, + 102 + ], + "score": 0.0, + "content": "", + "type": "text" + } + ], + "index": 6 + }, + { + "bbox": [ + 304, + 101, + 442, + 114 + ], + "spans": [ + { + "bbox": [ + 304, + 101, + 356, + 114 + ], + "score": 0.87, + "content": "\\alpha \\overset { - } { = } 2 / \\Vert A \\Vert _ { 1 } ^ { 2 }", + "type": "inline_equation" + }, + { + "bbox": [ + 357, + 101, + 396, + 113 + ], + "score": 1.0, + "content": ".Initialize", + "type": "text" + }, + { + "bbox": [ + 396, + 102, + 438, + 113 + ], + "score": 0.72, + "content": "A _ { 0 } \\alpha A", + "type": "inline_equation" + }, + { + "bbox": [ + 439, + 101, + 442, + 113 + ], + "score": 1.0, + "content": ";", + "type": "text" + } + ], + "index": 7 + }, + { + "bbox": [ + 303, + 112, + 390, + 123 + ], + "spans": [ + { + "bbox": [ + 303, + 112, + 319, + 123 + ], + "score": 1.0, + "content": "for", + "type": "text" + }, + { + "bbox": [ + 319, + 114, + 325, + 122 + ], + "score": 0.26, + "content": "k", + "type": "inline_equation" + }, + { + "bbox": [ + 326, + 112, + 365, + 123 + ], + "score": 1.0, + "content": "from 1 to", + "type": "text" + }, + { + "bbox": [ + 366, + 113, + 375, + 122 + ], + "score": 0.53, + "content": "\\tau", + "type": "inline_equation" + }, + { + "bbox": [ + 376, + 112, + 390, + 123 + ], + "score": 1.0, + "content": "do", + "type": "text" + } + ], + "index": 8 + }, + { + "bbox": [ + 308, + 123, + 441, + 135 + ], + "spans": [ + { + "bbox": [ + 308, + 123, + 441, + 135 + ], + "score": 0.59, + "content": "| \\quad { \\dot { A _ { k } } } \\gets 2 A _ { k - 1 } - A _ { k - 1 } A A _ { k - 1 }", + "type": "inline_equation" + } + ], + "index": 9 + }, + { + "bbox": [ + 303, + 134, + 323, + 144 + ], + "spans": [ + { + "bbox": [ + 303, + 134, + 323, + 144 + ], + "score": 1.0, + "content": "end", + "type": "text" + } + ], + "index": 10 + }, + { + "bbox": [ + 303, + 142, + 358, + 158 + ], + "spans": [ + { + "bbox": [ + 303, + 142, + 358, + 158 + ], + "score": 1.0, + "content": "Output: AT", + "type": "text" + } + ], + "index": 11 + } + ], + "index": 8.5 + }, + { + "type": "text", + "bbox": [ + 106, + 181, + 506, + 263 + ], + "lines": [ + { + "bbox": [ + 105, + 182, + 505, + 195 + ], + "spans": [ + { + "bbox": [ + 105, + 182, + 448, + 195 + ], + "score": 1.0, + "content": "we find empirically that random sampling is considerably sensitive to the choice of", + "type": "text" + }, + { + "bbox": [ + 448, + 184, + 458, + 192 + ], + "score": 0.73, + "content": "m", + "type": "inline_equation" + }, + { + "bbox": [ + 458, + 182, + 505, + 195 + ], + "score": 1.0, + "content": ". We hence", + "type": "text" + } + ], + "index": 12 + }, + { + "bbox": [ + 106, + 193, + 505, + 206 + ], + "spans": [ + { + "bbox": [ + 106, + 193, + 505, + 206 + ], + "score": 1.0, + "content": "explore two additional options by leveraging the structural prior of visual data: (1) Using one", + "type": "text" + } + ], + "index": 13 + }, + { + "bbox": [ + 105, + 204, + 505, + 219 + ], + "spans": [ + { + "bbox": [ + 105, + 206, + 254, + 219 + ], + "score": 1.0, + "content": "convolutional layer with kernel size", + "type": "text" + }, + { + "bbox": [ + 254, + 206, + 261, + 216 + ], + "score": 0.81, + "content": "k", + "type": "inline_equation" + }, + { + "bbox": [ + 261, + 206, + 304, + 219 + ], + "score": 1.0, + "content": "and stride", + "type": "text" + }, + { + "bbox": [ + 304, + 206, + 311, + 216 + ], + "score": 0.81, + "content": "k", + "type": "inline_equation" + }, + { + "bbox": [ + 312, + 206, + 345, + 219 + ], + "score": 1.0, + "content": "to learn", + "type": "text" + }, + { + "bbox": [ + 346, + 204, + 355, + 218 + ], + "score": 0.87, + "content": "\\widetilde { Q }", + "type": "inline_equation" + }, + { + "bbox": [ + 355, + 206, + 505, + 219 + ], + "score": 1.0, + "content": ", and (2) Using average pooling with", + "type": "text" + } + ], + "index": 14 + }, + { + "bbox": [ + 104, + 217, + 506, + 231 + ], + "spans": [ + { + "bbox": [ + 104, + 218, + 152, + 231 + ], + "score": 1.0, + "content": "kernel size", + "type": "text" + }, + { + "bbox": [ + 152, + 219, + 159, + 229 + ], + "score": 0.8, + "content": "k", + "type": "inline_equation" + }, + { + "bbox": [ + 160, + 218, + 202, + 231 + ], + "score": 1.0, + "content": "and stride", + "type": "text" + }, + { + "bbox": [ + 202, + 219, + 209, + 229 + ], + "score": 0.82, + "content": "k", + "type": "inline_equation" + }, + { + "bbox": [ + 209, + 218, + 257, + 231 + ], + "score": 1.0, + "content": "to generate", + "type": "text" + }, + { + "bbox": [ + 257, + 217, + 266, + 230 + ], + "score": 0.84, + "content": "\\widetilde { Q }", + "type": "inline_equation" + }, + { + "bbox": [ + 267, + 218, + 389, + 231 + ], + "score": 1.0, + "content": ". For both, we need to reshape", + "type": "text" + }, + { + "bbox": [ + 389, + 219, + 399, + 230 + ], + "score": 0.85, + "content": "Q", + "type": "inline_equation" + }, + { + "bbox": [ + 399, + 218, + 458, + 231 + ], + "score": 1.0, + "content": "to the form of", + "type": "text" + }, + { + "bbox": [ + 458, + 217, + 502, + 229 + ], + "score": 0.91, + "content": "\\mathbb { R } ^ { H \\times W \\times d _ { e } }", + "type": "inline_equation" + }, + { + "bbox": [ + 503, + 218, + 506, + 231 + ], + "score": 1.0, + "content": ".", + "type": "text" + } + ], + "index": 15 + }, + { + "bbox": [ + 105, + 230, + 505, + 243 + ], + "spans": [ + { + "bbox": [ + 105, + 230, + 359, + 243 + ], + "score": 1.0, + "content": "Each slide of convolution or pooling produces a token. We set", + "type": "text" + }, + { + "bbox": [ + 360, + 230, + 366, + 240 + ], + "score": 0.81, + "content": "k", + "type": "inline_equation" + }, + { + "bbox": [ + 367, + 230, + 473, + 243 + ], + "score": 1.0, + "content": "according to the length of", + "type": "text" + }, + { + "bbox": [ + 474, + 230, + 483, + 241 + ], + "score": 0.86, + "content": "Q", + "type": "inline_equation" + }, + { + "bbox": [ + 483, + 230, + 505, + 243 + ], + "score": 1.0, + "content": "such", + "type": "text" + } + ], + "index": 16 + }, + { + "bbox": [ + 105, + 240, + 506, + 253 + ], + "spans": [ + { + "bbox": [ + 105, + 240, + 124, + 253 + ], + "score": 1.0, + "content": "that", + "type": "text" + }, + { + "bbox": [ + 124, + 242, + 135, + 250 + ], + "score": 0.73, + "content": "m", + "type": "inline_equation" + }, + { + "bbox": [ + 135, + 240, + 506, + 253 + ], + "score": 1.0, + "content": "tokens can be obtained. Our experiments show that a convolution layer performs better in", + "type": "text" + } + ], + "index": 17 + }, + { + "bbox": [ + 105, + 252, + 340, + 265 + ], + "spans": [ + { + "bbox": [ + 105, + 252, + 340, + 265 + ], + "score": 1.0, + "content": "accuracy. We therefore use a convolution layer by default.", + "type": "text" + } + ], + "index": 18 + } + ], + "index": 15 + }, + { + "type": "text", + "bbox": [ + 106, + 267, + 482, + 282 + ], + "lines": [ + { + "bbox": [ + 104, + 267, + 486, + 284 + ], + "spans": [ + { + "bbox": [ + 104, + 267, + 120, + 284 + ], + "score": 1.0, + "content": "As", + "type": "text" + }, + { + "bbox": [ + 120, + 270, + 130, + 280 + ], + "score": 0.84, + "content": "K", + "type": "inline_equation" + }, + { + "bbox": [ + 131, + 267, + 187, + 284 + ], + "score": 1.0, + "content": "is identical to", + "type": "text" + }, + { + "bbox": [ + 188, + 270, + 196, + 281 + ], + "score": 0.85, + "content": "Q", + "type": "inline_equation" + }, + { + "bbox": [ + 197, + 267, + 235, + 284 + ], + "score": 1.0, + "content": ", we have", + "type": "text" + }, + { + "bbox": [ + 236, + 267, + 267, + 281 + ], + "score": 0.92, + "content": "\\widetilde K = \\widetilde Q", + "type": "inline_equation" + }, + { + "bbox": [ + 267, + 267, + 320, + 284 + ], + "score": 1.0, + "content": ". Given these", + "type": "text" + }, + { + "bbox": [ + 321, + 271, + 331, + 280 + ], + "score": 0.77, + "content": "m", + "type": "inline_equation" + }, + { + "bbox": [ + 331, + 267, + 434, + 284 + ], + "score": 1.0, + "content": "tokens, we then compute", + "type": "text" + }, + { + "bbox": [ + 434, + 271, + 442, + 279 + ], + "score": 0.83, + "content": "A", + "type": "inline_equation" + }, + { + "bbox": [ + 442, + 267, + 460, + 284 + ], + "score": 1.0, + "content": "and", + "type": "text" + }, + { + "bbox": [ + 461, + 271, + 469, + 279 + ], + "score": 0.85, + "content": "P", + "type": "inline_equation" + }, + { + "bbox": [ + 469, + 267, + 486, + 284 + ], + "score": 1.0, + "content": "as:", + "type": "text" + } + ], + "index": 19 + } + ], + "index": 19 + }, + { + "type": "interline_equation", + "bbox": [ + 223, + 286, + 388, + 302 + ], + "lines": [ + { + "bbox": [ + 223, + 286, + 388, + 302 + ], + "spans": [ + { + "bbox": [ + 223, + 286, + 388, + 302 + ], + "score": 0.92, + "content": "A = \\exp ( \\widetilde Q \\ominus \\widetilde K ) , \\quad P = \\exp ( \\widetilde Q \\ominus K ) .", + "type": "interline_equation", + "image_path": "24daaebec882ace7e281823fbc25d57c33b84f3fa6ef7c56c86927a926fabda7.jpg" + } + ] + } + ], + "index": 20, + "virtual_lines": [ + { + "bbox": [ + 223, + 286, + 388, + 302 + ], + "spans": [], + "index": 20 + } + ] + }, + { + "type": "text", + "bbox": [ + 107, + 307, + 383, + 320 + ], + "lines": [ + { + "bbox": [ + 105, + 306, + 383, + 322 + ], + "spans": [ + { + "bbox": [ + 105, + 306, + 322, + 322 + ], + "score": 1.0, + "content": "We finally obtain the regularized self-attention matrix", + "type": "text" + }, + { + "bbox": [ + 322, + 307, + 330, + 318 + ], + "score": 0.87, + "content": "\\hat { S }", + "type": "inline_equation" + }, + { + "bbox": [ + 330, + 306, + 383, + 322 + ], + "score": 1.0, + "content": "of SOFT as:", + "type": "text" + } + ], + "index": 21 + } + ], + "index": 21 + }, + { + "type": "interline_equation", + "bbox": [ + 196, + 325, + 413, + 349 + ], + "lines": [ + { + "bbox": [ + 196, + 325, + 413, + 349 + ], + "spans": [ + { + "bbox": [ + 196, + 325, + 413, + 349 + ], + "score": 0.92, + "content": "{ \\hat { S } } = \\exp \\left( Q \\ominus \\widetilde { K } \\right) \\left( \\exp \\left( \\widetilde { Q } \\ominus \\widetilde { K } \\right) \\right) ^ { \\dagger } \\exp \\left( \\widetilde { Q } \\ominus K \\right) ,", + "type": "interline_equation", + "image_path": "8508acce7fa532063baa759ef0a7e5694b9690e69c74dec29c4b6084077d1f79.jpg" + } + ] + } + ], + "index": 22, + "virtual_lines": [ + { + "bbox": [ + 196, + 325, + 413, + 349 + ], + "spans": [], + "index": 22 + } + ] + }, + { + "type": "text", + "bbox": [ + 106, + 357, + 505, + 438 + ], + "lines": [ + { + "bbox": [ + 106, + 358, + 505, + 371 + ], + "spans": [ + { + "bbox": [ + 106, + 358, + 505, + 371 + ], + "score": 1.0, + "content": "leading to Algorithm 1. The low-rank regularization is conducted as follows. For computing the", + "type": "text" + } + ], + "index": 23 + }, + { + "bbox": [ + 105, + 369, + 506, + 382 + ], + "spans": [ + { + "bbox": [ + 105, + 369, + 506, + 382 + ], + "score": 1.0, + "content": "attention score between any two tokens, we first correlate each of them with sampled tokens using our", + "type": "text" + } + ], + "index": 24 + }, + { + "bbox": [ + 105, + 380, + 505, + 393 + ], + "spans": [ + { + "bbox": [ + 105, + 380, + 505, + 393 + ], + "score": 1.0, + "content": "self-attention function (Eq (5)); With this correlation representation we then compute their similarity", + "type": "text" + } + ], + "index": 25 + }, + { + "bbox": [ + 106, + 390, + 504, + 405 + ], + "spans": [ + { + "bbox": [ + 106, + 393, + 321, + 405 + ], + "score": 1.0, + "content": "under the modulation of the generalized inverse of", + "type": "text" + }, + { + "bbox": [ + 322, + 390, + 331, + 405 + ], + "score": 0.87, + "content": "\\tilde { \\hat { Q } }", + "type": "inline_equation" + }, + { + "bbox": [ + 331, + 393, + 504, + 405 + ], + "score": 1.0, + "content": "’s correlation matrix. Similar as standard", + "type": "text" + } + ], + "index": 26 + }, + { + "bbox": [ + 105, + 404, + 506, + 417 + ], + "spans": [ + { + "bbox": [ + 105, + 404, + 506, + 417 + ], + "score": 1.0, + "content": "Nyström, our design associates the input tokens w.r.t. a small space spanned by sampled tokens,", + "type": "text" + } + ], + "index": 27 + }, + { + "bbox": [ + 105, + 415, + 506, + 427 + ], + "spans": [ + { + "bbox": [ + 105, + 415, + 506, + 427 + ], + "score": 1.0, + "content": "giving a proper estimation of the original attention relationships subject to a low-rank constraint. The", + "type": "text" + } + ], + "index": 28 + }, + { + "bbox": [ + 106, + 426, + 345, + 438 + ], + "spans": [ + { + "bbox": [ + 106, + 426, + 345, + 438 + ], + "score": 1.0, + "content": "correctness of this method is proved in Supplementary A.1.", + "type": "text" + } + ], + "index": 29 + } + ], + "index": 26 + }, + { + "type": "text", + "bbox": [ + 106, + 448, + 505, + 526 + ], + "lines": [ + { + "bbox": [ + 106, + 448, + 506, + 461 + ], + "spans": [ + { + "bbox": [ + 106, + 448, + 506, + 461 + ], + "score": 1.0, + "content": "Moore-Penrose inverse An accurate and commonly used way to calculate the Moore-Penrose", + "type": "text" + } + ], + "index": 30 + }, + { + "bbox": [ + 105, + 458, + 506, + 473 + ], + "spans": [ + { + "bbox": [ + 105, + 458, + 371, + 473 + ], + "score": 1.0, + "content": "inverse is to use Singular Value Decomposition (SVD). Given", + "type": "text" + }, + { + "bbox": [ + 371, + 460, + 424, + 470 + ], + "score": 0.91, + "content": "A \\in \\mathbb { R } ^ { m \\times m }", + "type": "inline_equation" + }, + { + "bbox": [ + 425, + 458, + 506, + 473 + ], + "score": 1.0, + "content": "and its SVD form", + "type": "text" + } + ], + "index": 31 + }, + { + "bbox": [ + 107, + 469, + 505, + 484 + ], + "spans": [ + { + "bbox": [ + 107, + 470, + 162, + 481 + ], + "score": 0.91, + "content": "A = U \\Sigma V ^ { \\top }", + "type": "inline_equation" + }, + { + "bbox": [ + 162, + 469, + 192, + 484 + ], + "score": 1.0, + "content": "where", + "type": "text" + }, + { + "bbox": [ + 193, + 471, + 213, + 482 + ], + "score": 0.9, + "content": "U , V", + "type": "inline_equation" + }, + { + "bbox": [ + 214, + 469, + 231, + 484 + ], + "score": 1.0, + "content": "are", + "type": "text" + }, + { + "bbox": [ + 231, + 472, + 264, + 481 + ], + "score": 0.88, + "content": "m \\times m", + "type": "inline_equation" + }, + { + "bbox": [ + 264, + 469, + 354, + 484 + ], + "score": 1.0, + "content": "unitary matrices and", + "type": "text" + }, + { + "bbox": [ + 355, + 471, + 363, + 480 + ], + "score": 0.82, + "content": "\\Sigma", + "type": "inline_equation" + }, + { + "bbox": [ + 364, + 469, + 384, + 484 + ], + "score": 1.0, + "content": "is a", + "type": "text" + }, + { + "bbox": [ + 384, + 472, + 417, + 481 + ], + "score": 0.89, + "content": "m \\times m", + "type": "inline_equation" + }, + { + "bbox": [ + 417, + 469, + 505, + 484 + ], + "score": 1.0, + "content": "diagonal matrix, the", + "type": "text" + } + ], + "index": 32 + }, + { + "bbox": [ + 104, + 479, + 506, + 496 + ], + "spans": [ + { + "bbox": [ + 104, + 479, + 215, + 496 + ], + "score": 1.0, + "content": "Moore-Penrose inverse of", + "type": "text" + }, + { + "bbox": [ + 216, + 482, + 224, + 491 + ], + "score": 0.79, + "content": "A", + "type": "inline_equation" + }, + { + "bbox": [ + 225, + 479, + 235, + 496 + ], + "score": 1.0, + "content": "is", + "type": "text" + }, + { + "bbox": [ + 235, + 480, + 297, + 492 + ], + "score": 0.91, + "content": "A ^ { \\dagger } = V \\Sigma ^ { \\dagger } U ^ { \\dagger }", + "type": "inline_equation" + }, + { + "bbox": [ + 297, + 479, + 506, + 496 + ], + "score": 1.0, + "content": ". Nevertheless, SVD is not friendly to the training", + "type": "text" + } + ], + "index": 33 + }, + { + "bbox": [ + 104, + 492, + 505, + 505 + ], + "spans": [ + { + "bbox": [ + 104, + 492, + 505, + 505 + ], + "score": 1.0, + "content": "process on GPU hence harming the model training efficiency. To solve this issue, we adopt the", + "type": "text" + } + ], + "index": 34 + }, + { + "bbox": [ + 106, + 503, + 505, + 516 + ], + "spans": [ + { + "bbox": [ + 106, + 503, + 356, + 516 + ], + "score": 1.0, + "content": "Newton–Raphson method. It is an iterative algorithm with the", + "type": "text" + }, + { + "bbox": [ + 356, + 504, + 387, + 515 + ], + "score": 0.92, + "content": "( k + 1 )", + "type": "inline_equation" + }, + { + "bbox": [ + 387, + 503, + 505, + 516 + ], + "score": 1.0, + "content": "-th iteration formulated given", + "type": "text" + } + ], + "index": 35 + }, + { + "bbox": [ + 106, + 514, + 207, + 527 + ], + "spans": [ + { + "bbox": [ + 106, + 514, + 207, + 527 + ], + "score": 1.0, + "content": "the previous iteration as:", + "type": "text" + } + ], + "index": 36 + } + ], + "index": 33 + }, + { + "type": "interline_equation", + "bbox": [ + 214, + 531, + 396, + 544 + ], + "lines": [ + { + "bbox": [ + 214, + 531, + 396, + 544 + ], + "spans": [ + { + "bbox": [ + 214, + 531, + 396, + 544 + ], + "score": 0.9, + "content": "A _ { k + 1 } = 2 A _ { k } - A _ { k } A A _ { k } , \\quad { \\mathrm { a n d } } \\quad A _ { 0 } = \\alpha A .", + "type": "interline_equation", + "image_path": "6dd9cc01307fbf206df46bbe2ec4762e7559e7501d0e1a7842a1aa81a0cb26a7.jpg" + } + ] + } + ], + "index": 37, + "virtual_lines": [ + { + "bbox": [ + 214, + 531, + 396, + 544 + ], + "spans": [], + "index": 37 + } + ] + }, + { + "type": "text", + "bbox": [ + 106, + 549, + 504, + 572 + ], + "lines": [ + { + "bbox": [ + 105, + 547, + 506, + 562 + ], + "spans": [ + { + "bbox": [ + 105, + 547, + 187, + 562 + ], + "score": 1.0, + "content": "We now prove that", + "type": "text" + }, + { + "bbox": [ + 187, + 550, + 200, + 560 + ], + "score": 0.89, + "content": "A _ { k }", + "type": "inline_equation" + }, + { + "bbox": [ + 201, + 547, + 395, + 562 + ], + "score": 1.0, + "content": "finally converges to Moore-Penrose inverse of", + "type": "text" + }, + { + "bbox": [ + 395, + 549, + 424, + 561 + ], + "score": 0.92, + "content": "A _ { m \\times m }", + "type": "inline_equation" + }, + { + "bbox": [ + 424, + 547, + 438, + 562 + ], + "score": 1.0, + "content": ", if", + "type": "text" + }, + { + "bbox": [ + 438, + 551, + 446, + 559 + ], + "score": 0.76, + "content": "\\alpha", + "type": "inline_equation" + }, + { + "bbox": [ + 446, + 547, + 506, + 562 + ], + "score": 1.0, + "content": "is sufficiently", + "type": "text" + } + ], + "index": 38 + }, + { + "bbox": [ + 105, + 559, + 148, + 573 + ], + "spans": [ + { + "bbox": [ + 105, + 559, + 148, + 573 + ], + "score": 1.0, + "content": "small [3].", + "type": "text" + } + ], + "index": 39 + } + ], + "index": 38.5 + }, + { + "type": "text", + "bbox": [ + 106, + 579, + 457, + 593 + ], + "lines": [ + { + "bbox": [ + 105, + 578, + 455, + 593 + ], + "spans": [ + { + "bbox": [ + 105, + 578, + 182, + 593 + ], + "score": 1.0, + "content": "Theorem 1 When", + "type": "text" + }, + { + "bbox": [ + 183, + 582, + 190, + 590 + ], + "score": 0.53, + "content": "\\alpha", + "type": "inline_equation" + }, + { + "bbox": [ + 191, + 578, + 273, + 593 + ], + "score": 1.0, + "content": "is sufficiently small,", + "type": "text" + }, + { + "bbox": [ + 273, + 580, + 371, + 592 + ], + "score": 0.89, + "content": "A _ { k + 1 } = 2 A _ { k } - A _ { k } A A _ { k }", + "type": "inline_equation" + }, + { + "bbox": [ + 371, + 578, + 375, + 593 + ], + "score": 1.0, + "content": ",", + "type": "text" + }, + { + "bbox": [ + 375, + 580, + 389, + 591 + ], + "score": 0.78, + "content": "A _ { k }", + "type": "inline_equation" + }, + { + "bbox": [ + 389, + 578, + 442, + 593 + ], + "score": 1.0, + "content": "converges to", + "type": "text" + }, + { + "bbox": [ + 443, + 579, + 455, + 590 + ], + "score": 0.85, + "content": "A ^ { \\dagger }", + "type": "inline_equation" + } + ], + "index": 40 + } + ], + "index": 40 + }, + { + "type": "text", + "bbox": [ + 106, + 599, + 505, + 656 + ], + "lines": [ + { + "bbox": [ + 106, + 599, + 506, + 613 + ], + "spans": [ + { + "bbox": [ + 106, + 599, + 140, + 613 + ], + "score": 1.0, + "content": "Though", + "type": "text" + }, + { + "bbox": [ + 140, + 600, + 192, + 612 + ], + "score": 0.93, + "content": "\\alpha = 2 / \\| A \\| _ { 1 } ^ { 2 }", + "type": "inline_equation" + }, + { + "bbox": [ + 192, + 599, + 506, + 613 + ], + "score": 1.0, + "content": "which ensures good convergence behavior in Algorithm 2 (see more details in", + "type": "text" + } + ], + "index": 41 + }, + { + "bbox": [ + 106, + 610, + 505, + 624 + ], + "spans": [ + { + "bbox": [ + 106, + 610, + 505, + 624 + ], + "score": 1.0, + "content": "Supplementary A.2.1), in practice, we find that using an alternative form gives more stable training", + "type": "text" + } + ], + "index": 42 + }, + { + "bbox": [ + 103, + 619, + 508, + 641 + ], + "spans": [ + { + "bbox": [ + 103, + 619, + 326, + 640 + ], + "score": 1.0, + "content": "and faster convergence. Specifically, in kI − A 2βnkAk2", + "type": "text" + }, + { + "bbox": [ + 302, + 620, + 508, + 641 + ], + "score": 1.0, + "content": "k1 ≤ 1 where β equals to 0.5, we find the", + "type": "text" + } + ], + "index": 43 + }, + { + "bbox": [ + 105, + 637, + 398, + 657 + ], + "spans": [ + { + "bbox": [ + 105, + 637, + 141, + 657 + ], + "score": 1.0, + "content": "smallest", + "type": "text" + }, + { + "bbox": [ + 142, + 642, + 152, + 651 + ], + "score": 0.85, + "content": "n _ { i }", + "type": "inline_equation" + }, + { + "bbox": [ + 153, + 637, + 333, + 657 + ], + "score": 1.0, + "content": "that holds this inequality. Then, we initialize", + "type": "text" + }, + { + "bbox": [ + 334, + 643, + 342, + 650 + ], + "score": 0.75, + "content": "\\alpha", + "type": "inline_equation" + }, + { + "bbox": [ + 342, + 637, + 353, + 657 + ], + "score": 1.0, + "content": "as", + "type": "text" + }, + { + "bbox": [ + 353, + 638, + 394, + 656 + ], + "score": 0.94, + "content": "\\begin{array} { r } { \\alpha = \\frac { 2 \\beta ^ { n _ { i } } } { \\Vert A \\Vert _ { 1 } ^ { 2 } } } \\end{array}", + "type": "inline_equation" + }, + { + "bbox": [ + 394, + 637, + 398, + 657 + ], + "score": 1.0, + "content": ".", + "type": "text" + } + ], + "index": 44 + } + ], + "index": 42.5 + }, + { + "type": "text", + "bbox": [ + 107, + 659, + 358, + 671 + ], + "lines": [ + { + "bbox": [ + 106, + 658, + 360, + 673 + ], + "spans": [ + { + "bbox": [ + 106, + 658, + 360, + 673 + ], + "score": 1.0, + "content": "The following proposition comes with the proof of Theorem 1:", + "type": "text" + } + ], + "index": 45 + } + ], + "index": 45 + }, + { + "type": "text", + "bbox": [ + 107, + 678, + 504, + 692 + ], + "lines": [ + { + "bbox": [ + 106, + 677, + 506, + 694 + ], + "spans": [ + { + "bbox": [ + 106, + 677, + 168, + 694 + ], + "score": 1.0, + "content": "Proposition 1", + "type": "text" + }, + { + "bbox": [ + 168, + 679, + 226, + 692 + ], + "score": 0.92, + "content": "\\| A A _ { k } A - A \\|", + "type": "inline_equation" + }, + { + "bbox": [ + 226, + 677, + 245, + 694 + ], + "score": 1.0, + "content": "and", + "type": "text" + }, + { + "bbox": [ + 245, + 679, + 291, + 692 + ], + "score": 0.92, + "content": "\\| A _ { k } - A ^ { \\dag } \\|", + "type": "inline_equation" + }, + { + "bbox": [ + 292, + 677, + 506, + 694 + ], + "score": 1.0, + "content": "decreases to 0 monotonously, if α is sufficiently small.", + "type": "text" + } + ], + "index": 46 + } + ], + "index": 46 + }, + { + "type": "text", + "bbox": [ + 105, + 699, + 505, + 723 + ], + "lines": [ + { + "bbox": [ + 105, + 699, + 505, + 712 + ], + "spans": [ + { + "bbox": [ + 105, + 699, + 505, + 712 + ], + "score": 1.0, + "content": "The detail of proposition 1 is shown in Supplementary A.2.2. This ensures that our estimated inverse", + "type": "text" + } + ], + "index": 47 + }, + { + "bbox": [ + 106, + 711, + 501, + 722 + ], + "spans": [ + { + "bbox": [ + 106, + 711, + 501, + 722 + ], + "score": 1.0, + "content": "is sufficiently accurate for matrix decomposition, subject to that our SOFT attention is regularized.", + "type": "text" + } + ], + "index": 48 + } + ], + "index": 47.5 + } + ], + "page_idx": 4, + "page_size": [ + 612, + 792 + ], + "discarded_blocks": [ + { + "type": "discarded", + "bbox": [ + 302, + 741, + 309, + 750 + ], + "lines": [ + { + "bbox": [ + 301, + 740, + 310, + 753 + ], + "spans": [ + { + "bbox": [ + 301, + 740, + 310, + 753 + ], + "score": 1.0, + "content": "5", + "type": "text" + } + ] + } + ] + } + ], + "para_blocks": [ + { + "type": "list", + "bbox": [ + 106, + 90, + 274, + 157 + ], + "lines": [ + { + "bbox": [ + 105, + 87, + 273, + 105 + ], + "spans": [ + { + "bbox": [ + 105, + 87, + 137, + 105 + ], + "score": 1.0, + "content": "Input:", + "type": "text" + }, + { + "bbox": [ + 137, + 90, + 185, + 102 + ], + "score": 0.86, + "content": "Q \\in \\mathbb { R } ^ { n \\times d _ { e } }", + "type": "inline_equation" + }, + { + "bbox": [ + 185, + 87, + 263, + 105 + ], + "score": 1.0, + "content": ", sampling function", + "type": "text" + }, + { + "bbox": [ + 264, + 91, + 273, + 102 + ], + "score": 0.77, + "content": "f _ { s }", + "type": "inline_equation" + } + ], + "index": 0 + }, + { + "bbox": [ + 106, + 102, + 209, + 116 + ], + "spans": [ + { + "bbox": [ + 106, + 102, + 151, + 116 + ], + "score": 1.0, + "content": "Sampling", + "type": "text" + }, + { + "bbox": [ + 152, + 102, + 201, + 115 + ], + "score": 0.83, + "content": "{ \\widetilde { Q } } \\gets f _ { s } ( Q )", + "type": "inline_equation" + }, + { + "bbox": [ + 202, + 102, + 209, + 116 + ], + "score": 1.0, + "content": ";", + "type": "text" + } + ], + "index": 1, + "is_list_end_line": true + }, + { + "bbox": [ + 106, + 114, + 263, + 131 + ], + "spans": [ + { + "bbox": [ + 106, + 115, + 181, + 129 + ], + "score": 0.44, + "content": "A \\exp ( \\widetilde { Q } \\ominus \\widetilde { Q } )", + "type": "inline_equation" + }, + { + "bbox": [ + 181, + 114, + 185, + 131 + ], + "score": 1.0, + "content": ",", + "type": "text" + }, + { + "bbox": [ + 185, + 115, + 259, + 129 + ], + "score": 0.65, + "content": "P \\exp ( \\widetilde { Q } \\ominus Q )", + "type": "inline_equation" + }, + { + "bbox": [ + 259, + 114, + 263, + 131 + ], + "score": 1.0, + "content": ";", + "type": "text" + } + ], + "index": 2, + "is_list_start_line": true + }, + { + "bbox": [ + 107, + 128, + 186, + 144 + ], + "spans": [ + { + "bbox": [ + 107, + 129, + 182, + 143 + ], + "score": 0.76, + "content": "\\hat { S } P ^ { \\top } \\mathrm { N R } ( A ) P", + "type": "inline_equation" + }, + { + "bbox": [ + 182, + 128, + 186, + 144 + ], + "score": 1.0, + "content": ";", + "type": "text" + } + ], + "index": 3, + "is_list_end_line": true + }, + { + "bbox": [ + 105, + 142, + 152, + 157 + ], + "spans": [ + { + "bbox": [ + 105, + 142, + 144, + 157 + ], + "score": 1.0, + "content": "Output:", + "type": "text" + }, + { + "bbox": [ + 144, + 144, + 152, + 155 + ], + "score": 0.49, + "content": "\\hat { S }", + "type": "inline_equation" + } + ], + "index": 4, + "is_list_start_line": true, + "is_list_end_line": true + } + ], + "index": 2, + "bbox_fs": [ + 105, + 87, + 273, + 157 + ] + }, + { + "type": "title", + "bbox": [ + 305, + 75, + 486, + 87 + ], + "lines": [ + { + "bbox": [ + 303, + 73, + 488, + 90 + ], + "spans": [ + { + "bbox": [ + 303, + 73, + 488, + 90 + ], + "score": 1.0, + "content": "Algorithm 2: NR: Newton-Raphson iteration", + "type": "text" + } + ], + "index": 5 + } + ], + "index": 5 + }, + { + "type": "list", + "bbox": [ + 303, + 91, + 442, + 157 + ], + "lines": [ + { + "bbox": [ + 303, + 89, + 440, + 102 + ], + "spans": [ + { + "bbox": [ + 303, + 89, + 334, + 102 + ], + "score": 1.0, + "content": "Input:", + "type": "text" + }, + { + "bbox": [ + 335, + 91, + 383, + 101 + ], + "score": 0.83, + "content": "A \\in \\mathbb { R } ^ { m \\times m }", + "type": "inline_equation" + }, + { + "bbox": [ + 383, + 89, + 404, + 102 + ], + "score": 1.0, + "content": ", and", + "type": "text" + }, + { + "bbox": [ + 404, + 91, + 438, + 101 + ], + "score": 0.59, + "content": "\\mathcal { T } \\in \\mathbb { Z } ^ { + }", + "type": "inline_equation" + }, + { + "bbox": [ + 438, + 89, + 440, + 102 + ], + "score": 0.0, + "content": "", + "type": "text" + } + ], + "index": 6 + }, + { + "bbox": [ + 304, + 101, + 442, + 114 + ], + "spans": [ + { + "bbox": [ + 304, + 101, + 356, + 114 + ], + "score": 0.87, + "content": "\\alpha \\overset { - } { = } 2 / \\Vert A \\Vert _ { 1 } ^ { 2 }", + "type": "inline_equation" + }, + { + "bbox": [ + 357, + 101, + 396, + 113 + ], + "score": 1.0, + "content": ".Initialize", + "type": "text" + }, + { + "bbox": [ + 396, + 102, + 438, + 113 + ], + "score": 0.72, + "content": "A _ { 0 } \\alpha A", + "type": "inline_equation" + }, + { + "bbox": [ + 439, + 101, + 442, + 113 + ], + "score": 1.0, + "content": ";", + "type": "text" + } + ], + "index": 7 + }, + { + "bbox": [ + 303, + 112, + 390, + 123 + ], + "spans": [ + { + "bbox": [ + 303, + 112, + 319, + 123 + ], + "score": 1.0, + "content": "for", + "type": "text" + }, + { + "bbox": [ + 319, + 114, + 325, + 122 + ], + "score": 0.26, + "content": "k", + "type": "inline_equation" + }, + { + "bbox": [ + 326, + 112, + 365, + 123 + ], + "score": 1.0, + "content": "from 1 to", + "type": "text" + }, + { + "bbox": [ + 366, + 113, + 375, + 122 + ], + "score": 0.53, + "content": "\\tau", + "type": "inline_equation" + }, + { + "bbox": [ + 376, + 112, + 390, + 123 + ], + "score": 1.0, + "content": "do", + "type": "text" + } + ], + "index": 8, + "is_list_end_line": true + }, + { + "bbox": [ + 308, + 123, + 441, + 135 + ], + "spans": [ + { + "bbox": [ + 308, + 123, + 441, + 135 + ], + "score": 0.59, + "content": "| \\quad { \\dot { A _ { k } } } \\gets 2 A _ { k - 1 } - A _ { k - 1 } A A _ { k - 1 }", + "type": "inline_equation" + } + ], + "index": 9, + "is_list_start_line": true + }, + { + "bbox": [ + 303, + 134, + 323, + 144 + ], + "spans": [ + { + "bbox": [ + 303, + 134, + 323, + 144 + ], + "score": 1.0, + "content": "end", + "type": "text" + } + ], + "index": 10, + "is_list_end_line": true + }, + { + "bbox": [ + 303, + 142, + 358, + 158 + ], + "spans": [ + { + "bbox": [ + 303, + 142, + 358, + 158 + ], + "score": 1.0, + "content": "Output: AT", + "type": "text" + } + ], + "index": 11, + "is_list_start_line": true, + "is_list_end_line": true + } + ], + "index": 8.5, + "bbox_fs": [ + 303, + 89, + 442, + 158 + ] + }, + { + "type": "text", + "bbox": [ + 106, + 181, + 506, + 263 + ], + "lines": [ + { + "bbox": [ + 105, + 182, + 505, + 195 + ], + "spans": [ + { + "bbox": [ + 105, + 182, + 448, + 195 + ], + "score": 1.0, + "content": "we find empirically that random sampling is considerably sensitive to the choice of", + "type": "text" + }, + { + "bbox": [ + 448, + 184, + 458, + 192 + ], + "score": 0.73, + "content": "m", + "type": "inline_equation" + }, + { + "bbox": [ + 458, + 182, + 505, + 195 + ], + "score": 1.0, + "content": ". We hence", + "type": "text" + } + ], + "index": 12 + }, + { + "bbox": [ + 106, + 193, + 505, + 206 + ], + "spans": [ + { + "bbox": [ + 106, + 193, + 505, + 206 + ], + "score": 1.0, + "content": "explore two additional options by leveraging the structural prior of visual data: (1) Using one", + "type": "text" + } + ], + "index": 13 + }, + { + "bbox": [ + 105, + 204, + 505, + 219 + ], + "spans": [ + { + "bbox": [ + 105, + 206, + 254, + 219 + ], + "score": 1.0, + "content": "convolutional layer with kernel size", + "type": "text" + }, + { + "bbox": [ + 254, + 206, + 261, + 216 + ], + "score": 0.81, + "content": "k", + "type": "inline_equation" + }, + { + "bbox": [ + 261, + 206, + 304, + 219 + ], + "score": 1.0, + "content": "and stride", + "type": "text" + }, + { + "bbox": [ + 304, + 206, + 311, + 216 + ], + "score": 0.81, + "content": "k", + "type": "inline_equation" + }, + { + "bbox": [ + 312, + 206, + 345, + 219 + ], + "score": 1.0, + "content": "to learn", + "type": "text" + }, + { + "bbox": [ + 346, + 204, + 355, + 218 + ], + "score": 0.87, + "content": "\\widetilde { Q }", + "type": "inline_equation" + }, + { + "bbox": [ + 355, + 206, + 505, + 219 + ], + "score": 1.0, + "content": ", and (2) Using average pooling with", + "type": "text" + } + ], + "index": 14 + }, + { + "bbox": [ + 104, + 217, + 506, + 231 + ], + "spans": [ + { + "bbox": [ + 104, + 218, + 152, + 231 + ], + "score": 1.0, + "content": "kernel size", + "type": "text" + }, + { + "bbox": [ + 152, + 219, + 159, + 229 + ], + "score": 0.8, + "content": "k", + "type": "inline_equation" + }, + { + "bbox": [ + 160, + 218, + 202, + 231 + ], + "score": 1.0, + "content": "and stride", + "type": "text" + }, + { + "bbox": [ + 202, + 219, + 209, + 229 + ], + "score": 0.82, + "content": "k", + "type": "inline_equation" + }, + { + "bbox": [ + 209, + 218, + 257, + 231 + ], + "score": 1.0, + "content": "to generate", + "type": "text" + }, + { + "bbox": [ + 257, + 217, + 266, + 230 + ], + "score": 0.84, + "content": "\\widetilde { Q }", + "type": "inline_equation" + }, + { + "bbox": [ + 267, + 218, + 389, + 231 + ], + "score": 1.0, + "content": ". For both, we need to reshape", + "type": "text" + }, + { + "bbox": [ + 389, + 219, + 399, + 230 + ], + "score": 0.85, + "content": "Q", + "type": "inline_equation" + }, + { + "bbox": [ + 399, + 218, + 458, + 231 + ], + "score": 1.0, + "content": "to the form of", + "type": "text" + }, + { + "bbox": [ + 458, + 217, + 502, + 229 + ], + "score": 0.91, + "content": "\\mathbb { R } ^ { H \\times W \\times d _ { e } }", + "type": "inline_equation" + }, + { + "bbox": [ + 503, + 218, + 506, + 231 + ], + "score": 1.0, + "content": ".", + "type": "text" + } + ], + "index": 15 + }, + { + "bbox": [ + 105, + 230, + 505, + 243 + ], + "spans": [ + { + "bbox": [ + 105, + 230, + 359, + 243 + ], + "score": 1.0, + "content": "Each slide of convolution or pooling produces a token. We set", + "type": "text" + }, + { + "bbox": [ + 360, + 230, + 366, + 240 + ], + "score": 0.81, + "content": "k", + "type": "inline_equation" + }, + { + "bbox": [ + 367, + 230, + 473, + 243 + ], + "score": 1.0, + "content": "according to the length of", + "type": "text" + }, + { + "bbox": [ + 474, + 230, + 483, + 241 + ], + "score": 0.86, + "content": "Q", + "type": "inline_equation" + }, + { + "bbox": [ + 483, + 230, + 505, + 243 + ], + "score": 1.0, + "content": "such", + "type": "text" + } + ], + "index": 16 + }, + { + "bbox": [ + 105, + 240, + 506, + 253 + ], + "spans": [ + { + "bbox": [ + 105, + 240, + 124, + 253 + ], + "score": 1.0, + "content": "that", + "type": "text" + }, + { + "bbox": [ + 124, + 242, + 135, + 250 + ], + "score": 0.73, + "content": "m", + "type": "inline_equation" + }, + { + "bbox": [ + 135, + 240, + 506, + 253 + ], + "score": 1.0, + "content": "tokens can be obtained. Our experiments show that a convolution layer performs better in", + "type": "text" + } + ], + "index": 17 + }, + { + "bbox": [ + 105, + 252, + 340, + 265 + ], + "spans": [ + { + "bbox": [ + 105, + 252, + 340, + 265 + ], + "score": 1.0, + "content": "accuracy. We therefore use a convolution layer by default.", + "type": "text" + } + ], + "index": 18 + } + ], + "index": 15, + "bbox_fs": [ + 104, + 182, + 506, + 265 + ] + }, + { + "type": "text", + "bbox": [ + 106, + 267, + 482, + 282 + ], + "lines": [ + { + "bbox": [ + 104, + 267, + 486, + 284 + ], + "spans": [ + { + "bbox": [ + 104, + 267, + 120, + 284 + ], + "score": 1.0, + "content": "As", + "type": "text" + }, + { + "bbox": [ + 120, + 270, + 130, + 280 + ], + "score": 0.84, + "content": "K", + "type": "inline_equation" + }, + { + "bbox": [ + 131, + 267, + 187, + 284 + ], + "score": 1.0, + "content": "is identical to", + "type": "text" + }, + { + "bbox": [ + 188, + 270, + 196, + 281 + ], + "score": 0.85, + "content": "Q", + "type": "inline_equation" + }, + { + "bbox": [ + 197, + 267, + 235, + 284 + ], + "score": 1.0, + "content": ", we have", + "type": "text" + }, + { + "bbox": [ + 236, + 267, + 267, + 281 + ], + "score": 0.92, + "content": "\\widetilde K = \\widetilde Q", + "type": "inline_equation" + }, + { + "bbox": [ + 267, + 267, + 320, + 284 + ], + "score": 1.0, + "content": ". Given these", + "type": "text" + }, + { + "bbox": [ + 321, + 271, + 331, + 280 + ], + "score": 0.77, + "content": "m", + "type": "inline_equation" + }, + { + "bbox": [ + 331, + 267, + 434, + 284 + ], + "score": 1.0, + "content": "tokens, we then compute", + "type": "text" + }, + { + "bbox": [ + 434, + 271, + 442, + 279 + ], + "score": 0.83, + "content": "A", + "type": "inline_equation" + }, + { + "bbox": [ + 442, + 267, + 460, + 284 + ], + "score": 1.0, + "content": "and", + "type": "text" + }, + { + "bbox": [ + 461, + 271, + 469, + 279 + ], + "score": 0.85, + "content": "P", + "type": "inline_equation" + }, + { + "bbox": [ + 469, + 267, + 486, + 284 + ], + "score": 1.0, + "content": "as:", + "type": "text" + } + ], + "index": 19 + } + ], + "index": 19, + "bbox_fs": [ + 104, + 267, + 486, + 284 + ] + }, + { + "type": "interline_equation", + "bbox": [ + 223, + 286, + 388, + 302 + ], + "lines": [ + { + "bbox": [ + 223, + 286, + 388, + 302 + ], + "spans": [ + { + "bbox": [ + 223, + 286, + 388, + 302 + ], + "score": 0.92, + "content": "A = \\exp ( \\widetilde Q \\ominus \\widetilde K ) , \\quad P = \\exp ( \\widetilde Q \\ominus K ) .", + "type": "interline_equation", + "image_path": "24daaebec882ace7e281823fbc25d57c33b84f3fa6ef7c56c86927a926fabda7.jpg" + } + ] + } + ], + "index": 20, + "virtual_lines": [ + { + "bbox": [ + 223, + 286, + 388, + 302 + ], + "spans": [], + "index": 20 + } + ] + }, + { + "type": "text", + "bbox": [ + 107, + 307, + 383, + 320 + ], + "lines": [ + { + "bbox": [ + 105, + 306, + 383, + 322 + ], + "spans": [ + { + "bbox": [ + 105, + 306, + 322, + 322 + ], + "score": 1.0, + "content": "We finally obtain the regularized self-attention matrix", + "type": "text" + }, + { + "bbox": [ + 322, + 307, + 330, + 318 + ], + "score": 0.87, + "content": "\\hat { S }", + "type": "inline_equation" + }, + { + "bbox": [ + 330, + 306, + 383, + 322 + ], + "score": 1.0, + "content": "of SOFT as:", + "type": "text" + } + ], + "index": 21 + } + ], + "index": 21, + "bbox_fs": [ + 105, + 306, + 383, + 322 + ] + }, + { + "type": "interline_equation", + "bbox": [ + 196, + 325, + 413, + 349 + ], + "lines": [ + { + "bbox": [ + 196, + 325, + 413, + 349 + ], + "spans": [ + { + "bbox": [ + 196, + 325, + 413, + 349 + ], + "score": 0.92, + "content": "{ \\hat { S } } = \\exp \\left( Q \\ominus \\widetilde { K } \\right) \\left( \\exp \\left( \\widetilde { Q } \\ominus \\widetilde { K } \\right) \\right) ^ { \\dagger } \\exp \\left( \\widetilde { Q } \\ominus K \\right) ,", + "type": "interline_equation", + "image_path": "8508acce7fa532063baa759ef0a7e5694b9690e69c74dec29c4b6084077d1f79.jpg" + } + ] + } + ], + "index": 22, + "virtual_lines": [ + { + "bbox": [ + 196, + 325, + 413, + 349 + ], + "spans": [], + "index": 22 + } + ] + }, + { + "type": "text", + "bbox": [ + 106, + 357, + 505, + 438 + ], + "lines": [ + { + "bbox": [ + 106, + 358, + 505, + 371 + ], + "spans": [ + { + "bbox": [ + 106, + 358, + 505, + 371 + ], + "score": 1.0, + "content": "leading to Algorithm 1. The low-rank regularization is conducted as follows. For computing the", + "type": "text" + } + ], + "index": 23 + }, + { + "bbox": [ + 105, + 369, + 506, + 382 + ], + "spans": [ + { + "bbox": [ + 105, + 369, + 506, + 382 + ], + "score": 1.0, + "content": "attention score between any two tokens, we first correlate each of them with sampled tokens using our", + "type": "text" + } + ], + "index": 24 + }, + { + "bbox": [ + 105, + 380, + 505, + 393 + ], + "spans": [ + { + "bbox": [ + 105, + 380, + 505, + 393 + ], + "score": 1.0, + "content": "self-attention function (Eq (5)); With this correlation representation we then compute their similarity", + "type": "text" + } + ], + "index": 25 + }, + { + "bbox": [ + 106, + 390, + 504, + 405 + ], + "spans": [ + { + "bbox": [ + 106, + 393, + 321, + 405 + ], + "score": 1.0, + "content": "under the modulation of the generalized inverse of", + "type": "text" + }, + { + "bbox": [ + 322, + 390, + 331, + 405 + ], + "score": 0.87, + "content": "\\tilde { \\hat { Q } }", + "type": "inline_equation" + }, + { + "bbox": [ + 331, + 393, + 504, + 405 + ], + "score": 1.0, + "content": "’s correlation matrix. Similar as standard", + "type": "text" + } + ], + "index": 26 + }, + { + "bbox": [ + 105, + 404, + 506, + 417 + ], + "spans": [ + { + "bbox": [ + 105, + 404, + 506, + 417 + ], + "score": 1.0, + "content": "Nyström, our design associates the input tokens w.r.t. a small space spanned by sampled tokens,", + "type": "text" + } + ], + "index": 27 + }, + { + "bbox": [ + 105, + 415, + 506, + 427 + ], + "spans": [ + { + "bbox": [ + 105, + 415, + 506, + 427 + ], + "score": 1.0, + "content": "giving a proper estimation of the original attention relationships subject to a low-rank constraint. The", + "type": "text" + } + ], + "index": 28 + }, + { + "bbox": [ + 106, + 426, + 345, + 438 + ], + "spans": [ + { + "bbox": [ + 106, + 426, + 345, + 438 + ], + "score": 1.0, + "content": "correctness of this method is proved in Supplementary A.1.", + "type": "text" + } + ], + "index": 29 + } + ], + "index": 26, + "bbox_fs": [ + 105, + 358, + 506, + 438 + ] + }, + { + "type": "text", + "bbox": [ + 106, + 448, + 505, + 526 + ], + "lines": [ + { + "bbox": [ + 106, + 448, + 506, + 461 + ], + "spans": [ + { + "bbox": [ + 106, + 448, + 506, + 461 + ], + "score": 1.0, + "content": "Moore-Penrose inverse An accurate and commonly used way to calculate the Moore-Penrose", + "type": "text" + } + ], + "index": 30 + }, + { + "bbox": [ + 105, + 458, + 506, + 473 + ], + "spans": [ + { + "bbox": [ + 105, + 458, + 371, + 473 + ], + "score": 1.0, + "content": "inverse is to use Singular Value Decomposition (SVD). Given", + "type": "text" + }, + { + "bbox": [ + 371, + 460, + 424, + 470 + ], + "score": 0.91, + "content": "A \\in \\mathbb { R } ^ { m \\times m }", + "type": "inline_equation" + }, + { + "bbox": [ + 425, + 458, + 506, + 473 + ], + "score": 1.0, + "content": "and its SVD form", + "type": "text" + } + ], + "index": 31 + }, + { + "bbox": [ + 107, + 469, + 505, + 484 + ], + "spans": [ + { + "bbox": [ + 107, + 470, + 162, + 481 + ], + "score": 0.91, + "content": "A = U \\Sigma V ^ { \\top }", + "type": "inline_equation" + }, + { + "bbox": [ + 162, + 469, + 192, + 484 + ], + "score": 1.0, + "content": "where", + "type": "text" + }, + { + "bbox": [ + 193, + 471, + 213, + 482 + ], + "score": 0.9, + "content": "U , V", + "type": "inline_equation" + }, + { + "bbox": [ + 214, + 469, + 231, + 484 + ], + "score": 1.0, + "content": "are", + "type": "text" + }, + { + "bbox": [ + 231, + 472, + 264, + 481 + ], + "score": 0.88, + "content": "m \\times m", + "type": "inline_equation" + }, + { + "bbox": [ + 264, + 469, + 354, + 484 + ], + "score": 1.0, + "content": "unitary matrices and", + "type": "text" + }, + { + "bbox": [ + 355, + 471, + 363, + 480 + ], + "score": 0.82, + "content": "\\Sigma", + "type": "inline_equation" + }, + { + "bbox": [ + 364, + 469, + 384, + 484 + ], + "score": 1.0, + "content": "is a", + "type": "text" + }, + { + "bbox": [ + 384, + 472, + 417, + 481 + ], + "score": 0.89, + "content": "m \\times m", + "type": "inline_equation" + }, + { + "bbox": [ + 417, + 469, + 505, + 484 + ], + "score": 1.0, + "content": "diagonal matrix, the", + "type": "text" + } + ], + "index": 32 + }, + { + "bbox": [ + 104, + 479, + 506, + 496 + ], + "spans": [ + { + "bbox": [ + 104, + 479, + 215, + 496 + ], + "score": 1.0, + "content": "Moore-Penrose inverse of", + "type": "text" + }, + { + "bbox": [ + 216, + 482, + 224, + 491 + ], + "score": 0.79, + "content": "A", + "type": "inline_equation" + }, + { + "bbox": [ + 225, + 479, + 235, + 496 + ], + "score": 1.0, + "content": "is", + "type": "text" + }, + { + "bbox": [ + 235, + 480, + 297, + 492 + ], + "score": 0.91, + "content": "A ^ { \\dagger } = V \\Sigma ^ { \\dagger } U ^ { \\dagger }", + "type": "inline_equation" + }, + { + "bbox": [ + 297, + 479, + 506, + 496 + ], + "score": 1.0, + "content": ". Nevertheless, SVD is not friendly to the training", + "type": "text" + } + ], + "index": 33 + }, + { + "bbox": [ + 104, + 492, + 505, + 505 + ], + "spans": [ + { + "bbox": [ + 104, + 492, + 505, + 505 + ], + "score": 1.0, + "content": "process on GPU hence harming the model training efficiency. To solve this issue, we adopt the", + "type": "text" + } + ], + "index": 34 + }, + { + "bbox": [ + 106, + 503, + 505, + 516 + ], + "spans": [ + { + "bbox": [ + 106, + 503, + 356, + 516 + ], + "score": 1.0, + "content": "Newton–Raphson method. It is an iterative algorithm with the", + "type": "text" + }, + { + "bbox": [ + 356, + 504, + 387, + 515 + ], + "score": 0.92, + "content": "( k + 1 )", + "type": "inline_equation" + }, + { + "bbox": [ + 387, + 503, + 505, + 516 + ], + "score": 1.0, + "content": "-th iteration formulated given", + "type": "text" + } + ], + "index": 35 + }, + { + "bbox": [ + 106, + 514, + 207, + 527 + ], + "spans": [ + { + "bbox": [ + 106, + 514, + 207, + 527 + ], + "score": 1.0, + "content": "the previous iteration as:", + "type": "text" + } + ], + "index": 36 + } + ], + "index": 33, + "bbox_fs": [ + 104, + 448, + 506, + 527 + ] + }, + { + "type": "interline_equation", + "bbox": [ + 214, + 531, + 396, + 544 + ], + "lines": [ + { + "bbox": [ + 214, + 531, + 396, + 544 + ], + "spans": [ + { + "bbox": [ + 214, + 531, + 396, + 544 + ], + "score": 0.9, + "content": "A _ { k + 1 } = 2 A _ { k } - A _ { k } A A _ { k } , \\quad { \\mathrm { a n d } } \\quad A _ { 0 } = \\alpha A .", + "type": "interline_equation", + "image_path": "6dd9cc01307fbf206df46bbe2ec4762e7559e7501d0e1a7842a1aa81a0cb26a7.jpg" + } + ] + } + ], + "index": 37, + "virtual_lines": [ + { + "bbox": [ + 214, + 531, + 396, + 544 + ], + "spans": [], + "index": 37 + } + ] + }, + { + "type": "text", + "bbox": [ + 106, + 549, + 504, + 572 + ], + "lines": [ + { + "bbox": [ + 105, + 547, + 506, + 562 + ], + "spans": [ + { + "bbox": [ + 105, + 547, + 187, + 562 + ], + "score": 1.0, + "content": "We now prove that", + "type": "text" + }, + { + "bbox": [ + 187, + 550, + 200, + 560 + ], + "score": 0.89, + "content": "A _ { k }", + "type": "inline_equation" + }, + { + "bbox": [ + 201, + 547, + 395, + 562 + ], + "score": 1.0, + "content": "finally converges to Moore-Penrose inverse of", + "type": "text" + }, + { + "bbox": [ + 395, + 549, + 424, + 561 + ], + "score": 0.92, + "content": "A _ { m \\times m }", + "type": "inline_equation" + }, + { + "bbox": [ + 424, + 547, + 438, + 562 + ], + "score": 1.0, + "content": ", if", + "type": "text" + }, + { + "bbox": [ + 438, + 551, + 446, + 559 + ], + "score": 0.76, + "content": "\\alpha", + "type": "inline_equation" + }, + { + "bbox": [ + 446, + 547, + 506, + 562 + ], + "score": 1.0, + "content": "is sufficiently", + "type": "text" + } + ], + "index": 38 + }, + { + "bbox": [ + 105, + 559, + 148, + 573 + ], + "spans": [ + { + "bbox": [ + 105, + 559, + 148, + 573 + ], + "score": 1.0, + "content": "small [3].", + "type": "text" + } + ], + "index": 39 + } + ], + "index": 38.5, + "bbox_fs": [ + 105, + 547, + 506, + 573 + ] + }, + { + "type": "text", + "bbox": [ + 106, + 579, + 457, + 593 + ], + "lines": [ + { + "bbox": [ + 105, + 578, + 455, + 593 + ], + "spans": [ + { + "bbox": [ + 105, + 578, + 182, + 593 + ], + "score": 1.0, + "content": "Theorem 1 When", + "type": "text" + }, + { + "bbox": [ + 183, + 582, + 190, + 590 + ], + "score": 0.53, + "content": "\\alpha", + "type": "inline_equation" + }, + { + "bbox": [ + 191, + 578, + 273, + 593 + ], + "score": 1.0, + "content": "is sufficiently small,", + "type": "text" + }, + { + "bbox": [ + 273, + 580, + 371, + 592 + ], + "score": 0.89, + "content": "A _ { k + 1 } = 2 A _ { k } - A _ { k } A A _ { k }", + "type": "inline_equation" + }, + { + "bbox": [ + 371, + 578, + 375, + 593 + ], + "score": 1.0, + "content": ",", + "type": "text" + }, + { + "bbox": [ + 375, + 580, + 389, + 591 + ], + "score": 0.78, + "content": "A _ { k }", + "type": "inline_equation" + }, + { + "bbox": [ + 389, + 578, + 442, + 593 + ], + "score": 1.0, + "content": "converges to", + "type": "text" + }, + { + "bbox": [ + 443, + 579, + 455, + 590 + ], + "score": 0.85, + "content": "A ^ { \\dagger }", + "type": "inline_equation" + } + ], + "index": 40 + } + ], + "index": 40, + "bbox_fs": [ + 105, + 578, + 455, + 593 + ] + }, + { + "type": "text", + "bbox": [ + 106, + 599, + 505, + 656 + ], + "lines": [ + { + "bbox": [ + 106, + 599, + 506, + 613 + ], + "spans": [ + { + "bbox": [ + 106, + 599, + 140, + 613 + ], + "score": 1.0, + "content": "Though", + "type": "text" + }, + { + "bbox": [ + 140, + 600, + 192, + 612 + ], + "score": 0.93, + "content": "\\alpha = 2 / \\| A \\| _ { 1 } ^ { 2 }", + "type": "inline_equation" + }, + { + "bbox": [ + 192, + 599, + 506, + 613 + ], + "score": 1.0, + "content": "which ensures good convergence behavior in Algorithm 2 (see more details in", + "type": "text" + } + ], + "index": 41 + }, + { + "bbox": [ + 106, + 610, + 505, + 624 + ], + "spans": [ + { + "bbox": [ + 106, + 610, + 505, + 624 + ], + "score": 1.0, + "content": "Supplementary A.2.1), in practice, we find that using an alternative form gives more stable training", + "type": "text" + } + ], + "index": 42 + }, + { + "bbox": [ + 103, + 619, + 508, + 641 + ], + "spans": [ + { + "bbox": [ + 103, + 619, + 326, + 640 + ], + "score": 1.0, + "content": "and faster convergence. Specifically, in kI − A 2βnkAk2", + "type": "text" + }, + { + "bbox": [ + 302, + 620, + 508, + 641 + ], + "score": 1.0, + "content": "k1 ≤ 1 where β equals to 0.5, we find the", + "type": "text" + } + ], + "index": 43 + }, + { + "bbox": [ + 105, + 637, + 398, + 657 + ], + "spans": [ + { + "bbox": [ + 105, + 637, + 141, + 657 + ], + "score": 1.0, + "content": "smallest", + "type": "text" + }, + { + "bbox": [ + 142, + 642, + 152, + 651 + ], + "score": 0.85, + "content": "n _ { i }", + "type": "inline_equation" + }, + { + "bbox": [ + 153, + 637, + 333, + 657 + ], + "score": 1.0, + "content": "that holds this inequality. Then, we initialize", + "type": "text" + }, + { + "bbox": [ + 334, + 643, + 342, + 650 + ], + "score": 0.75, + "content": "\\alpha", + "type": "inline_equation" + }, + { + "bbox": [ + 342, + 637, + 353, + 657 + ], + "score": 1.0, + "content": "as", + "type": "text" + }, + { + "bbox": [ + 353, + 638, + 394, + 656 + ], + "score": 0.94, + "content": "\\begin{array} { r } { \\alpha = \\frac { 2 \\beta ^ { n _ { i } } } { \\Vert A \\Vert _ { 1 } ^ { 2 } } } \\end{array}", + "type": "inline_equation" + }, + { + "bbox": [ + 394, + 637, + 398, + 657 + ], + "score": 1.0, + "content": ".", + "type": "text" + } + ], + "index": 44 + } + ], + "index": 42.5, + "bbox_fs": [ + 103, + 599, + 508, + 657 + ] + }, + { + "type": "text", + "bbox": [ + 107, + 659, + 358, + 671 + ], + "lines": [ + { + "bbox": [ + 106, + 658, + 360, + 673 + ], + "spans": [ + { + "bbox": [ + 106, + 658, + 360, + 673 + ], + "score": 1.0, + "content": "The following proposition comes with the proof of Theorem 1:", + "type": "text" + } + ], + "index": 45 + } + ], + "index": 45, + "bbox_fs": [ + 106, + 658, + 360, + 673 + ] + }, + { + "type": "text", + "bbox": [ + 107, + 678, + 504, + 692 + ], + "lines": [ + { + "bbox": [ + 106, + 677, + 506, + 694 + ], + "spans": [ + { + "bbox": [ + 106, + 677, + 168, + 694 + ], + "score": 1.0, + "content": "Proposition 1", + "type": "text" + }, + { + "bbox": [ + 168, + 679, + 226, + 692 + ], + "score": 0.92, + "content": "\\| A A _ { k } A - A \\|", + "type": "inline_equation" + }, + { + "bbox": [ + 226, + 677, + 245, + 694 + ], + "score": 1.0, + "content": "and", + "type": "text" + }, + { + "bbox": [ + 245, + 679, + 291, + 692 + ], + "score": 0.92, + "content": "\\| A _ { k } - A ^ { \\dag } \\|", + "type": "inline_equation" + }, + { + "bbox": [ + 292, + 677, + 506, + 694 + ], + "score": 1.0, + "content": "decreases to 0 monotonously, if α is sufficiently small.", + "type": "text" + } + ], + "index": 46 + } + ], + "index": 46, + "bbox_fs": [ + 106, + 677, + 506, + 694 + ] + }, + { + "type": "text", + "bbox": [ + 105, + 699, + 505, + 723 + ], + "lines": [ + { + "bbox": [ + 105, + 699, + 505, + 712 + ], + "spans": [ + { + "bbox": [ + 105, + 699, + 505, + 712 + ], + "score": 1.0, + "content": "The detail of proposition 1 is shown in Supplementary A.2.2. This ensures that our estimated inverse", + "type": "text" + } + ], + "index": 47 + }, + { + "bbox": [ + 106, + 711, + 501, + 722 + ], + "spans": [ + { + "bbox": [ + 106, + 711, + 501, + 722 + ], + "score": 1.0, + "content": "is sufficiently accurate for matrix decomposition, subject to that our SOFT attention is regularized.", + "type": "text" + } + ], + "index": 48 + } + ], + "index": 47.5, + "bbox_fs": [ + 105, + 699, + 505, + 722 + ] + } + ] + }, + { + "preproc_blocks": [ + { + "type": "table", + "bbox": [ + 110, + 71, + 501, + 155 + ], + "blocks": [ + { + "type": "table_body", + "bbox": [ + 110, + 71, + 501, + 155 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 110, + 71, + 501, + 155 + ], + "spans": [ + { + "bbox": [ + 110, + 71, + 501, + 155 + ], + "score": 0.979, + "html": "
MethodsComplexityMemoryParamsFLOPsThroughput (img/s)Top-1 %
Transformer [33]0(n2)19.0GBt13M3.9G1073/324079.1
Linformer [34]0(n)11.7GB13M1.9G2767 /377978.2
Performer [5]0(n)15.0GB13M2.2G2037 /365776.1
Nystromformer [39]0(n)17.2GB13M2.0G1891/351878.6
SOFTO(n)15.8GB13M1.9G1730 /343679.3
", + "type": "table", + "image_path": "585fabb6b9c741d574dac0874fcf07d440f8dfcaf95a36fcf6c5c8a62525b152.jpg" + } + ] + } + ], + "index": 1, + "virtual_lines": [ + { + "bbox": [ + 110, + 71, + 501, + 99.0 + ], + "spans": [], + "index": 0 + }, + { + "bbox": [ + 110, + 99.0, + 501, + 127.0 + ], + "spans": [], + "index": 1 + }, + { + "bbox": [ + 110, + 127.0, + 501, + 155.0 + ], + "spans": [], + "index": 2 + } + ] + } + ], + "index": 1 + }, + { + "type": "text", + "bbox": [ + 106, + 161, + 505, + 217 + ], + "lines": [ + { + "bbox": [ + 106, + 162, + 506, + 173 + ], + "spans": [ + { + "bbox": [ + 106, + 162, + 506, + 173 + ], + "score": 1.0, + "content": "Table 1: Comparison of different linear/efficient transformer variants on ImageNet [9], based on our", + "type": "text" + } + ], + "index": 3 + }, + { + "bbox": [ + 106, + 172, + 505, + 185 + ], + "spans": [ + { + "bbox": [ + 106, + 172, + 505, + 185 + ], + "score": 1.0, + "content": "multi-stage Tiny configuration (see Table 2). The memory usage is measured with the batch size of", + "type": "text" + } + ], + "index": 4 + }, + { + "bbox": [ + 105, + 182, + 506, + 196 + ], + "spans": [ + { + "bbox": [ + 105, + 182, + 506, + 196 + ], + "score": 1.0, + "content": "1024 which is our standard training setting. Transformer is tested at a batch size of 256, which is", + "type": "text" + } + ], + "index": 5 + }, + { + "bbox": [ + 105, + 192, + 506, + 207 + ], + "spans": [ + { + "bbox": [ + 105, + 192, + 506, + 207 + ], + "score": 1.0, + "content": "the maximal number possible with the GPU resource at our disposal. Throughput is in format as", + "type": "text" + } + ], + "index": 6 + }, + { + "bbox": [ + 105, + 204, + 271, + 218 + ], + "spans": [ + { + "bbox": [ + 105, + 204, + 271, + 218 + ], + "score": 1.0, + "content": "Train throughput / inference throughput.", + "type": "text" + } + ], + "index": 7 + } + ], + "index": 5 + }, + { + "type": "text", + "bbox": [ + 107, + 228, + 506, + 317 + ], + "lines": [ + { + "bbox": [ + 106, + 228, + 506, + 241 + ], + "spans": [ + { + "bbox": [ + 106, + 228, + 506, + 241 + ], + "score": 1.0, + "content": "Complexity We summarize the complexity of SOFT in space and time. For time complexity, it", + "type": "text" + } + ], + "index": 8 + }, + { + "bbox": [ + 105, + 239, + 506, + 253 + ], + "spans": [ + { + "bbox": [ + 105, + 239, + 205, + 253 + ], + "score": 1.0, + "content": "involves: (1) Sampling:", + "type": "text" + }, + { + "bbox": [ + 205, + 240, + 237, + 251 + ], + "score": 0.9, + "content": "\\mathcal { O } ( n d _ { e } )", + "type": "inline_equation" + }, + { + "bbox": [ + 238, + 239, + 422, + 253 + ], + "score": 1.0, + "content": ". (2) Calculating three decomposed matrices:", + "type": "text" + }, + { + "bbox": [ + 423, + 240, + 506, + 250 + ], + "score": 0.89, + "content": "\\mathcal { O } ( n m d _ { e } + m n d _ { e } +", + "type": "inline_equation" + } + ], + "index": 9 + }, + { + "bbox": [ + 107, + 249, + 506, + 263 + ], + "spans": [ + { + "bbox": [ + 107, + 250, + 230, + 262 + ], + "score": 0.88, + "content": "m ^ { 2 } d _ { e } ) = \\mathcal { O } ( 2 m \\hat { n } d _ { e } \\overset { . } { + } m ^ { 2 } d _ { e } )", + "type": "inline_equation" + }, + { + "bbox": [ + 230, + 249, + 350, + 263 + ], + "score": 1.0, + "content": "; (3) Moore-Penrose inverse:", + "type": "text" + }, + { + "bbox": [ + 351, + 250, + 453, + 262 + ], + "score": 0.89, + "content": "\\mathcal { \\dot { O } } ( \\mathcal { T } \\times m ^ { 3 } ) = \\mathcal { O } ( \\dot { \\mathcal { T } } m ^ { 3 } )", + "type": "inline_equation" + }, + { + "bbox": [ + 453, + 249, + 484, + 263 + ], + "score": 1.0, + "content": ", where", + "type": "text" + }, + { + "bbox": [ + 485, + 251, + 495, + 261 + ], + "score": 0.81, + "content": "\\tau", + "type": "inline_equation" + }, + { + "bbox": [ + 495, + 249, + 506, + 263 + ], + "score": 1.0, + "content": "is", + "type": "text" + } + ], + "index": 10 + }, + { + "bbox": [ + 105, + 260, + 506, + 275 + ], + "spans": [ + { + "bbox": [ + 105, + 260, + 303, + 275 + ], + "score": 1.0, + "content": "the iteration steps. (4) All matrix multiplication:", + "type": "text" + }, + { + "bbox": [ + 304, + 262, + 503, + 273 + ], + "score": 0.73, + "content": "\\mathcal { O } ( n m ^ { 2 } + m n d _ { e } + m n d _ { e } ) = \\mathcal { O } ( n m ^ { 2 } + 2 m n d _ { e } )", + "type": "inline_equation" + }, + { + "bbox": [ + 503, + 260, + 506, + 275 + ], + "score": 1.0, + "content": ".", + "type": "text" + } + ], + "index": 11 + }, + { + "bbox": [ + 105, + 271, + 506, + 285 + ], + "spans": [ + { + "bbox": [ + 105, + 271, + 225, + 285 + ], + "score": 1.0, + "content": "The total time complexity is", + "type": "text" + }, + { + "bbox": [ + 226, + 272, + 398, + 284 + ], + "score": 0.85, + "content": "\\mathcal { O } ( ( d _ { e } + \\mathrm { \\bar { 4 } } m d _ { e } + m ^ { 2 } ) n + \\mathcal { T } m ^ { 3 } + d _ { e } m ^ { 2 } )", + "type": "inline_equation" + }, + { + "bbox": [ + 398, + 271, + 506, + 285 + ], + "score": 1.0, + "content": ". The space complexity is", + "type": "text" + } + ], + "index": 12 + }, + { + "bbox": [ + 105, + 281, + 506, + 296 + ], + "spans": [ + { + "bbox": [ + 105, + 281, + 280, + 296 + ], + "score": 1.0, + "content": "decided by four decomposed matrices with", + "type": "text" + }, + { + "bbox": [ + 281, + 283, + 506, + 295 + ], + "score": 0.8, + "content": "\\mathcal { O } ( n \\times m ) + \\mathcal { O } ( m \\times m ) + \\mathcal { O } ( m \\times n ) + \\mathcal { O } ( n \\times d _ { e } ) =", + "type": "inline_equation" + } + ], + "index": 13 + }, + { + "bbox": [ + 107, + 294, + 506, + 307 + ], + "spans": [ + { + "bbox": [ + 107, + 294, + 198, + 306 + ], + "score": 0.91, + "content": "\\mathcal { O } ( ( 2 m + d _ { e } ) n + m ^ { 2 } )", + "type": "inline_equation" + }, + { + "bbox": [ + 198, + 294, + 251, + 307 + ], + "score": 1.0, + "content": ". As we keep", + "type": "text" + }, + { + "bbox": [ + 252, + 296, + 262, + 304 + ], + "score": 0.57, + "content": "m", + "type": "inline_equation" + }, + { + "bbox": [ + 262, + 294, + 266, + 307 + ], + "score": 1.0, + "content": "(", + "type": "text" + }, + { + "bbox": [ + 266, + 295, + 299, + 305 + ], + "score": 0.79, + "content": "m \\ll n )", + "type": "inline_equation" + }, + { + "bbox": [ + 299, + 294, + 506, + 307 + ], + "score": 1.0, + "content": ") a fixed constant in our model, both time and space", + "type": "text" + } + ], + "index": 14 + }, + { + "bbox": [ + 106, + 305, + 344, + 318 + ], + "spans": [ + { + "bbox": [ + 106, + 305, + 168, + 318 + ], + "score": 1.0, + "content": "complexity are", + "type": "text" + }, + { + "bbox": [ + 169, + 306, + 191, + 317 + ], + "score": 0.88, + "content": "{ \\mathcal { O } } ( n )", + "type": "inline_equation" + }, + { + "bbox": [ + 191, + 305, + 344, + 318 + ], + "score": 1.0, + "content": ", making SOFT a linear self-attention.", + "type": "text" + } + ], + "index": 15 + } + ], + "index": 11.5 + }, + { + "type": "title", + "bbox": [ + 107, + 331, + 189, + 343 + ], + "lines": [ + { + "bbox": [ + 105, + 330, + 190, + 343 + ], + "spans": [ + { + "bbox": [ + 105, + 330, + 190, + 343 + ], + "score": 1.0, + "content": "3.3 Instantiations", + "type": "text" + } + ], + "index": 16 + } + ], + "index": 16 + }, + { + "type": "text", + "bbox": [ + 106, + 352, + 505, + 396 + ], + "lines": [ + { + "bbox": [ + 105, + 351, + 506, + 364 + ], + "spans": [ + { + "bbox": [ + 105, + 351, + 506, + 364 + ], + "score": 1.0, + "content": "Figure 2 shows how our proposed softmax-free self-attention block (SOFT block) can be implemented", + "type": "text" + } + ], + "index": 17 + }, + { + "bbox": [ + 106, + 363, + 505, + 375 + ], + "spans": [ + { + "bbox": [ + 106, + 363, + 505, + 375 + ], + "score": 1.0, + "content": "in a neural network. We replace the self-attention block with our SOFT block in the traditional", + "type": "text" + } + ], + "index": 18 + }, + { + "bbox": [ + 105, + 373, + 506, + 385 + ], + "spans": [ + { + "bbox": [ + 105, + 373, + 506, + 385 + ], + "score": 1.0, + "content": "Transformer, that is, we stack a SOFT block with a feed forward residual block [11] to form a", + "type": "text" + } + ], + "index": 19 + }, + { + "bbox": [ + 106, + 385, + 294, + 397 + ], + "spans": [ + { + "bbox": [ + 106, + 385, + 294, + 397 + ], + "score": 1.0, + "content": "softmax-free Transformer layer (SOFT layer).", + "type": "text" + } + ], + "index": 20 + } + ], + "index": 18.5 + }, + { + "type": "text", + "bbox": [ + 106, + 401, + 505, + 478 + ], + "lines": [ + { + "bbox": [ + 105, + 401, + 506, + 414 + ], + "spans": [ + { + "bbox": [ + 105, + 401, + 506, + 414 + ], + "score": 1.0, + "content": "Focusing on the general image recognition tasks, we integrate our SOFT layer into the recent pyrami-", + "type": "text" + } + ], + "index": 21 + }, + { + "bbox": [ + 105, + 412, + 505, + 424 + ], + "spans": [ + { + "bbox": [ + 105, + 412, + 505, + 424 + ], + "score": 1.0, + "content": "dal Transformer architecture [35] to form our final model SOFT. Further, several improvements are", + "type": "text" + } + ], + "index": 22 + }, + { + "bbox": [ + 106, + 423, + 505, + 435 + ], + "spans": [ + { + "bbox": [ + 106, + 423, + 505, + 435 + ], + "score": 1.0, + "content": "introduced in patch embedding (i.e., tokenization). Specifically, unlike [35] that uses a combination", + "type": "text" + } + ], + "index": 23 + }, + { + "bbox": [ + 106, + 434, + 506, + 447 + ], + "spans": [ + { + "bbox": [ + 106, + 434, + 506, + 447 + ], + "score": 1.0, + "content": "of non-overlapping convolution and layer normalization [1], we adopt a stack of overlapping convolu-", + "type": "text" + } + ], + "index": 24 + }, + { + "bbox": [ + 106, + 445, + 506, + 457 + ], + "spans": [ + { + "bbox": [ + 106, + 445, + 506, + 457 + ], + "score": 1.0, + "content": "tions, batch normalization [14] and ReLU non-linearity. Concretely, the STEM is implemented by 3", + "type": "text" + } + ], + "index": 25 + }, + { + "bbox": [ + 105, + 455, + 506, + 468 + ], + "spans": [ + { + "bbox": [ + 105, + 455, + 138, + 468 + ], + "score": 1.0, + "content": "units of", + "type": "text" + }, + { + "bbox": [ + 139, + 456, + 231, + 466 + ], + "score": 0.59, + "content": "3 { \\tt x } 3 \\tt C o n v { \\tt \\to } B N { \\tt \\to } B e L U", + "type": "inline_equation" + }, + { + "bbox": [ + 231, + 455, + 506, + 468 + ], + "score": 1.0, + "content": ", with the stride of 2, 1, 2 respectively. Then, one such unit is applied", + "type": "text" + } + ], + "index": 26 + }, + { + "bbox": [ + 106, + 467, + 506, + 479 + ], + "spans": [ + { + "bbox": [ + 106, + 467, + 506, + 479 + ], + "score": 1.0, + "content": "to each of three following down-sampling operations with stride of 2 in the multi-stage architecture.", + "type": "text" + } + ], + "index": 27 + } + ], + "index": 24 + }, + { + "type": "text", + "bbox": [ + 107, + 482, + 505, + 582 + ], + "lines": [ + { + "bbox": [ + 106, + 482, + 507, + 496 + ], + "spans": [ + { + "bbox": [ + 106, + 482, + 302, + 496 + ], + "score": 1.0, + "content": "The architecture hyper-parameters of SOFT are:", + "type": "text" + }, + { + "bbox": [ + 302, + 483, + 309, + 493 + ], + "score": 0.69, + "content": "d", + "type": "inline_equation" + }, + { + "bbox": [ + 309, + 482, + 491, + 496 + ], + "score": 1.0, + "content": ": the input channel dimension of SOFT layer.", + "type": "text" + }, + { + "bbox": [ + 492, + 483, + 502, + 494 + ], + "score": 0.86, + "content": "d _ { e }", + "type": "inline_equation" + }, + { + "bbox": [ + 502, + 482, + 507, + 496 + ], + "score": 1.0, + "content": ":", + "type": "text" + } + ], + "index": 28 + }, + { + "bbox": [ + 106, + 494, + 506, + 506 + ], + "spans": [ + { + "bbox": [ + 106, + 494, + 391, + 506 + ], + "score": 1.0, + "content": "the embedding dimension of tokens in SOFT block. In practice, we set", + "type": "text" + }, + { + "bbox": [ + 391, + 494, + 420, + 505 + ], + "score": 0.59, + "content": "d _ { e } = d", + "type": "inline_equation" + }, + { + "bbox": [ + 421, + 494, + 424, + 506 + ], + "score": 1.0, + "content": ".", + "type": "text" + }, + { + "bbox": [ + 424, + 494, + 432, + 504 + ], + "score": 0.35, + "content": "h", + "type": "inline_equation" + }, + { + "bbox": [ + 432, + 494, + 506, + 506 + ], + "score": 1.0, + "content": ": the head number", + "type": "text" + } + ], + "index": 29 + }, + { + "bbox": [ + 105, + 504, + 505, + 518 + ], + "spans": [ + { + "bbox": [ + 105, + 504, + 170, + 518 + ], + "score": 1.0, + "content": "of SOFT block.", + "type": "text" + }, + { + "bbox": [ + 171, + 505, + 182, + 516 + ], + "score": 0.87, + "content": "d _ { h }", + "type": "inline_equation" + }, + { + "bbox": [ + 182, + 504, + 345, + 518 + ], + "score": 1.0, + "content": ": the channel dimension of each head and", + "type": "text" + }, + { + "bbox": [ + 345, + 505, + 390, + 516 + ], + "score": 0.89, + "content": "d _ { h } = d _ { e } / h", + "type": "inline_equation" + }, + { + "bbox": [ + 390, + 504, + 394, + 518 + ], + "score": 1.0, + "content": ".", + "type": "text" + }, + { + "bbox": [ + 394, + 506, + 401, + 515 + ], + "score": 0.54, + "content": "n", + "type": "inline_equation" + }, + { + "bbox": [ + 402, + 504, + 505, + 518 + ], + "score": 1.0, + "content": ": the input token sequence", + "type": "text" + } + ], + "index": 30 + }, + { + "bbox": [ + 105, + 514, + 506, + 530 + ], + "spans": [ + { + "bbox": [ + 105, + 514, + 206, + 530 + ], + "score": 1.0, + "content": "length of a SOFT block.", + "type": "text" + }, + { + "bbox": [ + 206, + 517, + 216, + 526 + ], + "score": 0.59, + "content": "m", + "type": "inline_equation" + }, + { + "bbox": [ + 216, + 514, + 506, + 530 + ], + "score": 1.0, + "content": ": the bottleneck token sequence length of SOFT block. sp: the sampling", + "type": "text" + } + ], + "index": 31 + }, + { + "bbox": [ + 105, + 526, + 505, + 540 + ], + "spans": [ + { + "bbox": [ + 105, + 526, + 505, + 540 + ], + "score": 1.0, + "content": "ratio of token sequence length sampling, which is the ratio between input token sequence length and", + "type": "text" + } + ], + "index": 32 + }, + { + "bbox": [ + 106, + 537, + 505, + 550 + ], + "spans": [ + { + "bbox": [ + 106, + 537, + 262, + 550 + ], + "score": 1.0, + "content": "the bottleneck token sequence length.", + "type": "text" + }, + { + "bbox": [ + 263, + 539, + 269, + 547 + ], + "score": 0.64, + "content": "e", + "type": "inline_equation" + }, + { + "bbox": [ + 269, + 537, + 505, + 550 + ], + "score": 1.0, + "content": ": the expansion ratio of the 2-layer feed forward block. In", + "type": "text" + } + ], + "index": 33 + }, + { + "bbox": [ + 105, + 547, + 505, + 561 + ], + "spans": [ + { + "bbox": [ + 105, + 547, + 234, + 561 + ], + "score": 1.0, + "content": "SOFT, for all the stages we set", + "type": "text" + }, + { + "bbox": [ + 235, + 549, + 270, + 559 + ], + "score": 0.89, + "content": "d _ { h } = 3 2", + "type": "inline_equation" + }, + { + "bbox": [ + 271, + 547, + 274, + 561 + ], + "score": 1.0, + "content": ",", + "type": "text" + }, + { + "bbox": [ + 275, + 549, + 300, + 559 + ], + "score": 0.85, + "content": "e = 4", + "type": "inline_equation" + }, + { + "bbox": [ + 300, + 547, + 318, + 561 + ], + "score": 1.0, + "content": "and", + "type": "text" + }, + { + "bbox": [ + 319, + 549, + 353, + 559 + ], + "score": 0.82, + "content": "m = 4 9", + "type": "inline_equation" + }, + { + "bbox": [ + 353, + 547, + 357, + 561 + ], + "score": 1.0, + "content": ",", + "type": "text" + }, + { + "bbox": [ + 357, + 550, + 368, + 560 + ], + "score": 0.65, + "content": "s p", + "type": "inline_equation" + }, + { + "bbox": [ + 369, + 547, + 505, + 561 + ], + "score": 1.0, + "content": "varies in each stage according to", + "type": "text" + } + ], + "index": 34 + }, + { + "bbox": [ + 104, + 556, + 506, + 574 + ], + "spans": [ + { + "bbox": [ + 104, + 556, + 506, + 574 + ], + "score": 1.0, + "content": "the input token sequence length. Table 2 details the family of our SOFT configurations with varying", + "type": "text" + } + ], + "index": 35 + }, + { + "bbox": [ + 105, + 570, + 223, + 583 + ], + "spans": [ + { + "bbox": [ + 105, + 570, + 223, + 583 + ], + "score": 1.0, + "content": "capacities (depth and width).", + "type": "text" + } + ], + "index": 36 + } + ], + "index": 32 + }, + { + "type": "title", + "bbox": [ + 107, + 598, + 191, + 612 + ], + "lines": [ + { + "bbox": [ + 104, + 596, + 193, + 615 + ], + "spans": [ + { + "bbox": [ + 104, + 596, + 193, + 615 + ], + "score": 1.0, + "content": "4 Experiments", + "type": "text" + } + ], + "index": 37 + } + ], + "index": 37 + }, + { + "type": "title", + "bbox": [ + 107, + 624, + 155, + 636 + ], + "lines": [ + { + "bbox": [ + 105, + 622, + 157, + 640 + ], + "spans": [ + { + "bbox": [ + 105, + 622, + 157, + 640 + ], + "score": 1.0, + "content": "4.1 Setup", + "type": "text" + } + ], + "index": 38 + } + ], + "index": 38 + }, + { + "type": "text", + "bbox": [ + 107, + 645, + 505, + 722 + ], + "lines": [ + { + "bbox": [ + 106, + 645, + 505, + 658 + ], + "spans": [ + { + "bbox": [ + 106, + 645, + 505, + 658 + ], + "score": 1.0, + "content": "Dataset: We evaluate the proposed SOFT on the ILSVRC-2012 ImageNet-1K dataset [9] with 1.28M", + "type": "text" + } + ], + "index": 39 + }, + { + "bbox": [ + 106, + 656, + 505, + 668 + ], + "spans": [ + { + "bbox": [ + 106, + 656, + 505, + 668 + ], + "score": 1.0, + "content": "training images and 50K validation images from 1,000 classes. Following the common practice, we", + "type": "text" + } + ], + "index": 40 + }, + { + "bbox": [ + 105, + 667, + 506, + 680 + ], + "spans": [ + { + "bbox": [ + 105, + 667, + 506, + 680 + ], + "score": 1.0, + "content": "train a model on the training set and evaluate on the validation set. Metrics: For model performance,", + "type": "text" + } + ], + "index": 41 + }, + { + "bbox": [ + 106, + 679, + 505, + 690 + ], + "spans": [ + { + "bbox": [ + 106, + 679, + 505, + 690 + ], + "score": 1.0, + "content": "the top-1 accuracy on a single crop is reported. To assess the cost-effectiveness, we also report the", + "type": "text" + } + ], + "index": 42 + }, + { + "bbox": [ + 104, + 688, + 506, + 702 + ], + "spans": [ + { + "bbox": [ + 104, + 688, + 506, + 702 + ], + "score": 1.0, + "content": "model size and floating point operations (i.e., FLOPs). Implementation details: We use the code", + "type": "text" + } + ], + "index": 43 + }, + { + "bbox": [ + 105, + 700, + 506, + 713 + ], + "spans": [ + { + "bbox": [ + 105, + 700, + 506, + 713 + ], + "score": 1.0, + "content": "base [37] with the default setting to train and test all the models. Specifically, we use weight decay of", + "type": "text" + } + ], + "index": 44 + }, + { + "bbox": [ + 105, + 711, + 505, + 723 + ], + "spans": [ + { + "bbox": [ + 105, + 711, + 505, + 723 + ], + "score": 1.0, + "content": "0.05 and 10 epochs of linear warm-up. We conduct 300 epochs training with an AdamW optimizer", + "type": "text" + } + ], + "index": 45 + } + ], + "index": 42 + } + ], + "page_idx": 5, + "page_size": [ + 612, + 792 + ], + "discarded_blocks": [ + { + "type": "discarded", + "bbox": [ + 302, + 742, + 308, + 750 + ], + "lines": [ + { + "bbox": [ + 302, + 741, + 309, + 752 + ], + "spans": [ + { + "bbox": [ + 302, + 741, + 309, + 752 + ], + "score": 1.0, + "content": "6", + "type": "text" + } + ] + } + ] + } + ], + "para_blocks": [ + { + "type": "table", + "bbox": [ + 110, + 71, + 501, + 155 + ], + "blocks": [ + { + "type": "table_body", + "bbox": [ + 110, + 71, + 501, + 155 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 110, + 71, + 501, + 155 + ], + "spans": [ + { + "bbox": [ + 110, + 71, + 501, + 155 + ], + "score": 0.979, + "html": "
MethodsComplexityMemoryParamsFLOPsThroughput (img/s)Top-1 %
Transformer [33]0(n2)19.0GBt13M3.9G1073/324079.1
Linformer [34]0(n)11.7GB13M1.9G2767 /377978.2
Performer [5]0(n)15.0GB13M2.2G2037 /365776.1
Nystromformer [39]0(n)17.2GB13M2.0G1891/351878.6
SOFTO(n)15.8GB13M1.9G1730 /343679.3
", + "type": "table", + "image_path": "585fabb6b9c741d574dac0874fcf07d440f8dfcaf95a36fcf6c5c8a62525b152.jpg" + } + ] + } + ], + "index": 1, + "virtual_lines": [ + { + "bbox": [ + 110, + 71, + 501, + 99.0 + ], + "spans": [], + "index": 0 + }, + { + "bbox": [ + 110, + 99.0, + 501, + 127.0 + ], + "spans": [], + "index": 1 + }, + { + "bbox": [ + 110, + 127.0, + 501, + 155.0 + ], + "spans": [], + "index": 2 + } + ] + } + ], + "index": 1 + }, + { + "type": "text", + "bbox": [ + 106, + 161, + 505, + 217 + ], + "lines": [ + { + "bbox": [ + 106, + 162, + 506, + 173 + ], + "spans": [ + { + "bbox": [ + 106, + 162, + 506, + 173 + ], + "score": 1.0, + "content": "Table 1: Comparison of different linear/efficient transformer variants on ImageNet [9], based on our", + "type": "text" + } + ], + "index": 3 + }, + { + "bbox": [ + 106, + 172, + 505, + 185 + ], + "spans": [ + { + "bbox": [ + 106, + 172, + 505, + 185 + ], + "score": 1.0, + "content": "multi-stage Tiny configuration (see Table 2). The memory usage is measured with the batch size of", + "type": "text" + } + ], + "index": 4 + }, + { + "bbox": [ + 105, + 182, + 506, + 196 + ], + "spans": [ + { + "bbox": [ + 105, + 182, + 506, + 196 + ], + "score": 1.0, + "content": "1024 which is our standard training setting. Transformer is tested at a batch size of 256, which is", + "type": "text" + } + ], + "index": 5 + }, + { + "bbox": [ + 105, + 192, + 506, + 207 + ], + "spans": [ + { + "bbox": [ + 105, + 192, + 506, + 207 + ], + "score": 1.0, + "content": "the maximal number possible with the GPU resource at our disposal. Throughput is in format as", + "type": "text" + } + ], + "index": 6 + }, + { + "bbox": [ + 105, + 204, + 271, + 218 + ], + "spans": [ + { + "bbox": [ + 105, + 204, + 271, + 218 + ], + "score": 1.0, + "content": "Train throughput / inference throughput.", + "type": "text" + } + ], + "index": 7 + } + ], + "index": 5, + "bbox_fs": [ + 105, + 162, + 506, + 218 + ] + }, + { + "type": "text", + "bbox": [ + 107, + 228, + 506, + 317 + ], + "lines": [ + { + "bbox": [ + 106, + 228, + 506, + 241 + ], + "spans": [ + { + "bbox": [ + 106, + 228, + 506, + 241 + ], + "score": 1.0, + "content": "Complexity We summarize the complexity of SOFT in space and time. For time complexity, it", + "type": "text" + } + ], + "index": 8 + }, + { + "bbox": [ + 105, + 239, + 506, + 253 + ], + "spans": [ + { + "bbox": [ + 105, + 239, + 205, + 253 + ], + "score": 1.0, + "content": "involves: (1) Sampling:", + "type": "text" + }, + { + "bbox": [ + 205, + 240, + 237, + 251 + ], + "score": 0.9, + "content": "\\mathcal { O } ( n d _ { e } )", + "type": "inline_equation" + }, + { + "bbox": [ + 238, + 239, + 422, + 253 + ], + "score": 1.0, + "content": ". (2) Calculating three decomposed matrices:", + "type": "text" + }, + { + "bbox": [ + 423, + 240, + 506, + 250 + ], + "score": 0.89, + "content": "\\mathcal { O } ( n m d _ { e } + m n d _ { e } +", + "type": "inline_equation" + } + ], + "index": 9 + }, + { + "bbox": [ + 107, + 249, + 506, + 263 + ], + "spans": [ + { + "bbox": [ + 107, + 250, + 230, + 262 + ], + "score": 0.88, + "content": "m ^ { 2 } d _ { e } ) = \\mathcal { O } ( 2 m \\hat { n } d _ { e } \\overset { . } { + } m ^ { 2 } d _ { e } )", + "type": "inline_equation" + }, + { + "bbox": [ + 230, + 249, + 350, + 263 + ], + "score": 1.0, + "content": "; (3) Moore-Penrose inverse:", + "type": "text" + }, + { + "bbox": [ + 351, + 250, + 453, + 262 + ], + "score": 0.89, + "content": "\\mathcal { \\dot { O } } ( \\mathcal { T } \\times m ^ { 3 } ) = \\mathcal { O } ( \\dot { \\mathcal { T } } m ^ { 3 } )", + "type": "inline_equation" + }, + { + "bbox": [ + 453, + 249, + 484, + 263 + ], + "score": 1.0, + "content": ", where", + "type": "text" + }, + { + "bbox": [ + 485, + 251, + 495, + 261 + ], + "score": 0.81, + "content": "\\tau", + "type": "inline_equation" + }, + { + "bbox": [ + 495, + 249, + 506, + 263 + ], + "score": 1.0, + "content": "is", + "type": "text" + } + ], + "index": 10 + }, + { + "bbox": [ + 105, + 260, + 506, + 275 + ], + "spans": [ + { + "bbox": [ + 105, + 260, + 303, + 275 + ], + "score": 1.0, + "content": "the iteration steps. (4) All matrix multiplication:", + "type": "text" + }, + { + "bbox": [ + 304, + 262, + 503, + 273 + ], + "score": 0.73, + "content": "\\mathcal { O } ( n m ^ { 2 } + m n d _ { e } + m n d _ { e } ) = \\mathcal { O } ( n m ^ { 2 } + 2 m n d _ { e } )", + "type": "inline_equation" + }, + { + "bbox": [ + 503, + 260, + 506, + 275 + ], + "score": 1.0, + "content": ".", + "type": "text" + } + ], + "index": 11 + }, + { + "bbox": [ + 105, + 271, + 506, + 285 + ], + "spans": [ + { + "bbox": [ + 105, + 271, + 225, + 285 + ], + "score": 1.0, + "content": "The total time complexity is", + "type": "text" + }, + { + "bbox": [ + 226, + 272, + 398, + 284 + ], + "score": 0.85, + "content": "\\mathcal { O } ( ( d _ { e } + \\mathrm { \\bar { 4 } } m d _ { e } + m ^ { 2 } ) n + \\mathcal { T } m ^ { 3 } + d _ { e } m ^ { 2 } )", + "type": "inline_equation" + }, + { + "bbox": [ + 398, + 271, + 506, + 285 + ], + "score": 1.0, + "content": ". The space complexity is", + "type": "text" + } + ], + "index": 12 + }, + { + "bbox": [ + 105, + 281, + 506, + 296 + ], + "spans": [ + { + "bbox": [ + 105, + 281, + 280, + 296 + ], + "score": 1.0, + "content": "decided by four decomposed matrices with", + "type": "text" + }, + { + "bbox": [ + 281, + 283, + 506, + 295 + ], + "score": 0.8, + "content": "\\mathcal { O } ( n \\times m ) + \\mathcal { O } ( m \\times m ) + \\mathcal { O } ( m \\times n ) + \\mathcal { O } ( n \\times d _ { e } ) =", + "type": "inline_equation" + } + ], + "index": 13 + }, + { + "bbox": [ + 107, + 294, + 506, + 307 + ], + "spans": [ + { + "bbox": [ + 107, + 294, + 198, + 306 + ], + "score": 0.91, + "content": "\\mathcal { O } ( ( 2 m + d _ { e } ) n + m ^ { 2 } )", + "type": "inline_equation" + }, + { + "bbox": [ + 198, + 294, + 251, + 307 + ], + "score": 1.0, + "content": ". As we keep", + "type": "text" + }, + { + "bbox": [ + 252, + 296, + 262, + 304 + ], + "score": 0.57, + "content": "m", + "type": "inline_equation" + }, + { + "bbox": [ + 262, + 294, + 266, + 307 + ], + "score": 1.0, + "content": "(", + "type": "text" + }, + { + "bbox": [ + 266, + 295, + 299, + 305 + ], + "score": 0.79, + "content": "m \\ll n )", + "type": "inline_equation" + }, + { + "bbox": [ + 299, + 294, + 506, + 307 + ], + "score": 1.0, + "content": ") a fixed constant in our model, both time and space", + "type": "text" + } + ], + "index": 14 + }, + { + "bbox": [ + 106, + 305, + 344, + 318 + ], + "spans": [ + { + "bbox": [ + 106, + 305, + 168, + 318 + ], + "score": 1.0, + "content": "complexity are", + "type": "text" + }, + { + "bbox": [ + 169, + 306, + 191, + 317 + ], + "score": 0.88, + "content": "{ \\mathcal { O } } ( n )", + "type": "inline_equation" + }, + { + "bbox": [ + 191, + 305, + 344, + 318 + ], + "score": 1.0, + "content": ", making SOFT a linear self-attention.", + "type": "text" + } + ], + "index": 15 + } + ], + "index": 11.5, + "bbox_fs": [ + 105, + 228, + 506, + 318 + ] + }, + { + "type": "title", + "bbox": [ + 107, + 331, + 189, + 343 + ], + "lines": [ + { + "bbox": [ + 105, + 330, + 190, + 343 + ], + "spans": [ + { + "bbox": [ + 105, + 330, + 190, + 343 + ], + "score": 1.0, + "content": "3.3 Instantiations", + "type": "text" + } + ], + "index": 16 + } + ], + "index": 16 + }, + { + "type": "text", + "bbox": [ + 106, + 352, + 505, + 396 + ], + "lines": [ + { + "bbox": [ + 105, + 351, + 506, + 364 + ], + "spans": [ + { + "bbox": [ + 105, + 351, + 506, + 364 + ], + "score": 1.0, + "content": "Figure 2 shows how our proposed softmax-free self-attention block (SOFT block) can be implemented", + "type": "text" + } + ], + "index": 17 + }, + { + "bbox": [ + 106, + 363, + 505, + 375 + ], + "spans": [ + { + "bbox": [ + 106, + 363, + 505, + 375 + ], + "score": 1.0, + "content": "in a neural network. We replace the self-attention block with our SOFT block in the traditional", + "type": "text" + } + ], + "index": 18 + }, + { + "bbox": [ + 105, + 373, + 506, + 385 + ], + "spans": [ + { + "bbox": [ + 105, + 373, + 506, + 385 + ], + "score": 1.0, + "content": "Transformer, that is, we stack a SOFT block with a feed forward residual block [11] to form a", + "type": "text" + } + ], + "index": 19 + }, + { + "bbox": [ + 106, + 385, + 294, + 397 + ], + "spans": [ + { + "bbox": [ + 106, + 385, + 294, + 397 + ], + "score": 1.0, + "content": "softmax-free Transformer layer (SOFT layer).", + "type": "text" + } + ], + "index": 20 + } + ], + "index": 18.5, + "bbox_fs": [ + 105, + 351, + 506, + 397 + ] + }, + { + "type": "text", + "bbox": [ + 106, + 401, + 505, + 478 + ], + "lines": [ + { + "bbox": [ + 105, + 401, + 506, + 414 + ], + "spans": [ + { + "bbox": [ + 105, + 401, + 506, + 414 + ], + "score": 1.0, + "content": "Focusing on the general image recognition tasks, we integrate our SOFT layer into the recent pyrami-", + "type": "text" + } + ], + "index": 21 + }, + { + "bbox": [ + 105, + 412, + 505, + 424 + ], + "spans": [ + { + "bbox": [ + 105, + 412, + 505, + 424 + ], + "score": 1.0, + "content": "dal Transformer architecture [35] to form our final model SOFT. Further, several improvements are", + "type": "text" + } + ], + "index": 22 + }, + { + "bbox": [ + 106, + 423, + 505, + 435 + ], + "spans": [ + { + "bbox": [ + 106, + 423, + 505, + 435 + ], + "score": 1.0, + "content": "introduced in patch embedding (i.e., tokenization). Specifically, unlike [35] that uses a combination", + "type": "text" + } + ], + "index": 23 + }, + { + "bbox": [ + 106, + 434, + 506, + 447 + ], + "spans": [ + { + "bbox": [ + 106, + 434, + 506, + 447 + ], + "score": 1.0, + "content": "of non-overlapping convolution and layer normalization [1], we adopt a stack of overlapping convolu-", + "type": "text" + } + ], + "index": 24 + }, + { + "bbox": [ + 106, + 445, + 506, + 457 + ], + "spans": [ + { + "bbox": [ + 106, + 445, + 506, + 457 + ], + "score": 1.0, + "content": "tions, batch normalization [14] and ReLU non-linearity. Concretely, the STEM is implemented by 3", + "type": "text" + } + ], + "index": 25 + }, + { + "bbox": [ + 105, + 455, + 506, + 468 + ], + "spans": [ + { + "bbox": [ + 105, + 455, + 138, + 468 + ], + "score": 1.0, + "content": "units of", + "type": "text" + }, + { + "bbox": [ + 139, + 456, + 231, + 466 + ], + "score": 0.59, + "content": "3 { \\tt x } 3 \\tt C o n v { \\tt \\to } B N { \\tt \\to } B e L U", + "type": "inline_equation" + }, + { + "bbox": [ + 231, + 455, + 506, + 468 + ], + "score": 1.0, + "content": ", with the stride of 2, 1, 2 respectively. Then, one such unit is applied", + "type": "text" + } + ], + "index": 26 + }, + { + "bbox": [ + 106, + 467, + 506, + 479 + ], + "spans": [ + { + "bbox": [ + 106, + 467, + 506, + 479 + ], + "score": 1.0, + "content": "to each of three following down-sampling operations with stride of 2 in the multi-stage architecture.", + "type": "text" + } + ], + "index": 27 + } + ], + "index": 24, + "bbox_fs": [ + 105, + 401, + 506, + 479 + ] + }, + { + "type": "text", + "bbox": [ + 107, + 482, + 505, + 582 + ], + "lines": [ + { + "bbox": [ + 106, + 482, + 507, + 496 + ], + "spans": [ + { + "bbox": [ + 106, + 482, + 302, + 496 + ], + "score": 1.0, + "content": "The architecture hyper-parameters of SOFT are:", + "type": "text" + }, + { + "bbox": [ + 302, + 483, + 309, + 493 + ], + "score": 0.69, + "content": "d", + "type": "inline_equation" + }, + { + "bbox": [ + 309, + 482, + 491, + 496 + ], + "score": 1.0, + "content": ": the input channel dimension of SOFT layer.", + "type": "text" + }, + { + "bbox": [ + 492, + 483, + 502, + 494 + ], + "score": 0.86, + "content": "d _ { e }", + "type": "inline_equation" + }, + { + "bbox": [ + 502, + 482, + 507, + 496 + ], + "score": 1.0, + "content": ":", + "type": "text" + } + ], + "index": 28 + }, + { + "bbox": [ + 106, + 494, + 506, + 506 + ], + "spans": [ + { + "bbox": [ + 106, + 494, + 391, + 506 + ], + "score": 1.0, + "content": "the embedding dimension of tokens in SOFT block. In practice, we set", + "type": "text" + }, + { + "bbox": [ + 391, + 494, + 420, + 505 + ], + "score": 0.59, + "content": "d _ { e } = d", + "type": "inline_equation" + }, + { + "bbox": [ + 421, + 494, + 424, + 506 + ], + "score": 1.0, + "content": ".", + "type": "text" + }, + { + "bbox": [ + 424, + 494, + 432, + 504 + ], + "score": 0.35, + "content": "h", + "type": "inline_equation" + }, + { + "bbox": [ + 432, + 494, + 506, + 506 + ], + "score": 1.0, + "content": ": the head number", + "type": "text" + } + ], + "index": 29 + }, + { + "bbox": [ + 105, + 504, + 505, + 518 + ], + "spans": [ + { + "bbox": [ + 105, + 504, + 170, + 518 + ], + "score": 1.0, + "content": "of SOFT block.", + "type": "text" + }, + { + "bbox": [ + 171, + 505, + 182, + 516 + ], + "score": 0.87, + "content": "d _ { h }", + "type": "inline_equation" + }, + { + "bbox": [ + 182, + 504, + 345, + 518 + ], + "score": 1.0, + "content": ": the channel dimension of each head and", + "type": "text" + }, + { + "bbox": [ + 345, + 505, + 390, + 516 + ], + "score": 0.89, + "content": "d _ { h } = d _ { e } / h", + "type": "inline_equation" + }, + { + "bbox": [ + 390, + 504, + 394, + 518 + ], + "score": 1.0, + "content": ".", + "type": "text" + }, + { + "bbox": [ + 394, + 506, + 401, + 515 + ], + "score": 0.54, + "content": "n", + "type": "inline_equation" + }, + { + "bbox": [ + 402, + 504, + 505, + 518 + ], + "score": 1.0, + "content": ": the input token sequence", + "type": "text" + } + ], + "index": 30 + }, + { + "bbox": [ + 105, + 514, + 506, + 530 + ], + "spans": [ + { + "bbox": [ + 105, + 514, + 206, + 530 + ], + "score": 1.0, + "content": "length of a SOFT block.", + "type": "text" + }, + { + "bbox": [ + 206, + 517, + 216, + 526 + ], + "score": 0.59, + "content": "m", + "type": "inline_equation" + }, + { + "bbox": [ + 216, + 514, + 506, + 530 + ], + "score": 1.0, + "content": ": the bottleneck token sequence length of SOFT block. sp: the sampling", + "type": "text" + } + ], + "index": 31 + }, + { + "bbox": [ + 105, + 526, + 505, + 540 + ], + "spans": [ + { + "bbox": [ + 105, + 526, + 505, + 540 + ], + "score": 1.0, + "content": "ratio of token sequence length sampling, which is the ratio between input token sequence length and", + "type": "text" + } + ], + "index": 32 + }, + { + "bbox": [ + 106, + 537, + 505, + 550 + ], + "spans": [ + { + "bbox": [ + 106, + 537, + 262, + 550 + ], + "score": 1.0, + "content": "the bottleneck token sequence length.", + "type": "text" + }, + { + "bbox": [ + 263, + 539, + 269, + 547 + ], + "score": 0.64, + "content": "e", + "type": "inline_equation" + }, + { + "bbox": [ + 269, + 537, + 505, + 550 + ], + "score": 1.0, + "content": ": the expansion ratio of the 2-layer feed forward block. In", + "type": "text" + } + ], + "index": 33 + }, + { + "bbox": [ + 105, + 547, + 505, + 561 + ], + "spans": [ + { + "bbox": [ + 105, + 547, + 234, + 561 + ], + "score": 1.0, + "content": "SOFT, for all the stages we set", + "type": "text" + }, + { + "bbox": [ + 235, + 549, + 270, + 559 + ], + "score": 0.89, + "content": "d _ { h } = 3 2", + "type": "inline_equation" + }, + { + "bbox": [ + 271, + 547, + 274, + 561 + ], + "score": 1.0, + "content": ",", + "type": "text" + }, + { + "bbox": [ + 275, + 549, + 300, + 559 + ], + "score": 0.85, + "content": "e = 4", + "type": "inline_equation" + }, + { + "bbox": [ + 300, + 547, + 318, + 561 + ], + "score": 1.0, + "content": "and", + "type": "text" + }, + { + "bbox": [ + 319, + 549, + 353, + 559 + ], + "score": 0.82, + "content": "m = 4 9", + "type": "inline_equation" + }, + { + "bbox": [ + 353, + 547, + 357, + 561 + ], + "score": 1.0, + "content": ",", + "type": "text" + }, + { + "bbox": [ + 357, + 550, + 368, + 560 + ], + "score": 0.65, + "content": "s p", + "type": "inline_equation" + }, + { + "bbox": [ + 369, + 547, + 505, + 561 + ], + "score": 1.0, + "content": "varies in each stage according to", + "type": "text" + } + ], + "index": 34 + }, + { + "bbox": [ + 104, + 556, + 506, + 574 + ], + "spans": [ + { + "bbox": [ + 104, + 556, + 506, + 574 + ], + "score": 1.0, + "content": "the input token sequence length. Table 2 details the family of our SOFT configurations with varying", + "type": "text" + } + ], + "index": 35 + }, + { + "bbox": [ + 105, + 570, + 223, + 583 + ], + "spans": [ + { + "bbox": [ + 105, + 570, + 223, + 583 + ], + "score": 1.0, + "content": "capacities (depth and width).", + "type": "text" + } + ], + "index": 36 + } + ], + "index": 32, + "bbox_fs": [ + 104, + 482, + 507, + 583 + ] + }, + { + "type": "title", + "bbox": [ + 107, + 598, + 191, + 612 + ], + "lines": [ + { + "bbox": [ + 104, + 596, + 193, + 615 + ], + "spans": [ + { + "bbox": [ + 104, + 596, + 193, + 615 + ], + "score": 1.0, + "content": "4 Experiments", + "type": "text" + } + ], + "index": 37 + } + ], + "index": 37 + }, + { + "type": "title", + "bbox": [ + 107, + 624, + 155, + 636 + ], + "lines": [ + { + "bbox": [ + 105, + 622, + 157, + 640 + ], + "spans": [ + { + "bbox": [ + 105, + 622, + 157, + 640 + ], + "score": 1.0, + "content": "4.1 Setup", + "type": "text" + } + ], + "index": 38 + } + ], + "index": 38 + }, + { + "type": "text", + "bbox": [ + 107, + 645, + 505, + 722 + ], + "lines": [ + { + "bbox": [ + 106, + 645, + 505, + 658 + ], + "spans": [ + { + "bbox": [ + 106, + 645, + 505, + 658 + ], + "score": 1.0, + "content": "Dataset: We evaluate the proposed SOFT on the ILSVRC-2012 ImageNet-1K dataset [9] with 1.28M", + "type": "text" + } + ], + "index": 39 + }, + { + "bbox": [ + 106, + 656, + 505, + 668 + ], + "spans": [ + { + "bbox": [ + 106, + 656, + 505, + 668 + ], + "score": 1.0, + "content": "training images and 50K validation images from 1,000 classes. Following the common practice, we", + "type": "text" + } + ], + "index": 40 + }, + { + "bbox": [ + 105, + 667, + 506, + 680 + ], + "spans": [ + { + "bbox": [ + 105, + 667, + 506, + 680 + ], + "score": 1.0, + "content": "train a model on the training set and evaluate on the validation set. Metrics: For model performance,", + "type": "text" + } + ], + "index": 41 + }, + { + "bbox": [ + 106, + 679, + 505, + 690 + ], + "spans": [ + { + "bbox": [ + 106, + 679, + 505, + 690 + ], + "score": 1.0, + "content": "the top-1 accuracy on a single crop is reported. To assess the cost-effectiveness, we also report the", + "type": "text" + } + ], + "index": 42 + }, + { + "bbox": [ + 104, + 688, + 506, + 702 + ], + "spans": [ + { + "bbox": [ + 104, + 688, + 506, + 702 + ], + "score": 1.0, + "content": "model size and floating point operations (i.e., FLOPs). Implementation details: We use the code", + "type": "text" + } + ], + "index": 43 + }, + { + "bbox": [ + 105, + 700, + 506, + 713 + ], + "spans": [ + { + "bbox": [ + 105, + 700, + 506, + 713 + ], + "score": 1.0, + "content": "base [37] with the default setting to train and test all the models. Specifically, we use weight decay of", + "type": "text" + } + ], + "index": 44 + }, + { + "bbox": [ + 105, + 711, + 505, + 723 + ], + "spans": [ + { + "bbox": [ + 105, + 711, + 505, + 723 + ], + "score": 1.0, + "content": "0.05 and 10 epochs of linear warm-up. We conduct 300 epochs training with an AdamW optimizer", + "type": "text" + } + ], + "index": 45 + }, + { + "bbox": [ + 105, + 295, + 507, + 309 + ], + "spans": [ + { + "bbox": [ + 105, + 295, + 507, + 309 + ], + "score": 1.0, + "content": "and decreasing learning rate with the cosine annealing schedule. During training, random flipping,", + "type": "text", + "cross_page": true + } + ], + "index": 6 + }, + { + "bbox": [ + 106, + 308, + 505, + 320 + ], + "spans": [ + { + "bbox": [ + 106, + 308, + 505, + 320 + ], + "score": 1.0, + "content": "mixup [43] and cutmix [42] are adopted for data augmentation. Label smoothing [28] is used for loss", + "type": "text", + "cross_page": true + } + ], + "index": 7 + }, + { + "bbox": [ + 106, + 319, + 505, + 329 + ], + "spans": [ + { + "bbox": [ + 106, + 319, + 505, + 329 + ], + "score": 1.0, + "content": "calculation. All our variants are trained with a batch size of 1024 on 32G NVIDIA V100 GPUs. We", + "type": "text", + "cross_page": true + } + ], + "index": 8 + }, + { + "bbox": [ + 105, + 329, + 324, + 342 + ], + "spans": [ + { + "bbox": [ + 105, + 329, + 324, + 342 + ], + "score": 1.0, + "content": "also implement our method using the Mindspore [22].", + "type": "text", + "cross_page": true + } + ], + "index": 9 + } + ], + "index": 42, + "bbox_fs": [ + 104, + 645, + 506, + 723 + ] + } + ] + }, + { + "preproc_blocks": [ + { + "type": "table", + "bbox": [ + 105, + 68, + 506, + 244 + ], + "blocks": [ + { + "type": "table_body", + "bbox": [ + 105, + 68, + 506, + 244 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 105, + 68, + 506, + 244 + ], + "spans": [ + { + "bbox": [ + 105, + 68, + 506, + 244 + ], + "score": 0.907, + "html": "
TinySmallMediumLargeHuge
Stage 1C33-BN-ReLU, 64-d
sp.8x8,64-d,2-hx1sp.8x8,64-d,2-hx1sp.8x8,64-d, 2-hx1sp.8x8,64-d,2-hx1sp.8x8,64-d,2-hx1
Stage 2C31-BN-ReLU,128-d
sp.4x4,128-d,4-hx2sp. 4x4,128-d, 4-hx3sp. 4x4,128-d, 4-hx3sp. 4x4,128-d,4-hx3sp.4x4,128-d, 4-hx5
Stage 3C31-BN-ReLU,320-d or288-d
sp.2x2,320-d,10-hx3sp. 2x2,320-d,10-hx7sp.2x2,288-d,9-hx 29sp.2x2,320-d,10-hx 40sp.2x2,352-d,11-hx49
Stage 4w. cls tokenC31-BN-ReLU, 512-d
sp.1x1,512-d,16-hx2sp.1x1,512-d,16-hx4sp. 1x1,512-d,16-hx5sp. 1x1,512-d,16-hx5sp.1x1,512-d,16-hx5
", + "type": "table", + "image_path": "8e0b54ca125420c7a5076d5b28a8d5fbb053a1835e9809edb8f3296355ecc45e.jpg" + } + ] + } + ], + "index": 1, + "virtual_lines": [ + { + "bbox": [ + 105, + 68, + 506, + 126.66666666666666 + ], + "spans": [], + "index": 0 + }, + { + "bbox": [ + 105, + 126.66666666666666, + 506, + 185.33333333333331 + ], + "spans": [], + "index": 1 + }, + { + "bbox": [ + 105, + 185.33333333333331, + 506, + 243.99999999999997 + ], + "spans": [], + "index": 2 + } + ] + }, + { + "type": "table_caption", + "bbox": [ + 106, + 249, + 504, + 282 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 104, + 248, + 506, + 262 + ], + "spans": [ + { + "bbox": [ + 104, + 248, + 506, + 262 + ], + "score": 1.0, + "content": "Table 2: Architecture specifications of SOFT variants. sp.: sampling ratio. -d: the hidden dimension.", + "type": "text" + } + ], + "index": 3 + }, + { + "bbox": [ + 105, + 260, + 504, + 271 + ], + "spans": [ + { + "bbox": [ + 105, + 260, + 504, + 271 + ], + "score": 1.0, + "content": "-h: the number of heads in the self-attention block. C33-BN-ReLU: three 3x3 Conv-BN-ReLU, with", + "type": "text" + } + ], + "index": 4 + }, + { + "bbox": [ + 106, + 271, + 480, + 283 + ], + "spans": [ + { + "bbox": [ + 106, + 271, + 480, + 283 + ], + "score": 1.0, + "content": "the stride of 2, 1, 2 respectively. C31-BN-ReLU: one 3x3 Conv-BN-ReLU, with a stride of 2.", + "type": "text" + } + ], + "index": 5 + } + ], + "index": 4 + } + ], + "index": 2.5 + }, + { + "type": "text", + "bbox": [ + 107, + 296, + 505, + 340 + ], + "lines": [ + { + "bbox": [ + 105, + 295, + 507, + 309 + ], + "spans": [ + { + "bbox": [ + 105, + 295, + 507, + 309 + ], + "score": 1.0, + "content": "and decreasing learning rate with the cosine annealing schedule. During training, random flipping,", + "type": "text" + } + ], + "index": 6 + }, + { + "bbox": [ + 106, + 308, + 505, + 320 + ], + "spans": [ + { + "bbox": [ + 106, + 308, + 505, + 320 + ], + "score": 1.0, + "content": "mixup [43] and cutmix [42] are adopted for data augmentation. Label smoothing [28] is used for loss", + "type": "text" + } + ], + "index": 7 + }, + { + "bbox": [ + 106, + 319, + 505, + 329 + ], + "spans": [ + { + "bbox": [ + 106, + 319, + 505, + 329 + ], + "score": 1.0, + "content": "calculation. All our variants are trained with a batch size of 1024 on 32G NVIDIA V100 GPUs. We", + "type": "text" + } + ], + "index": 8 + }, + { + "bbox": [ + 105, + 329, + 324, + 342 + ], + "spans": [ + { + "bbox": [ + 105, + 329, + 324, + 342 + ], + "score": 1.0, + "content": "also implement our method using the Mindspore [22].", + "type": "text" + } + ], + "index": 9 + } + ], + "index": 7.5 + }, + { + "type": "title", + "bbox": [ + 107, + 356, + 327, + 368 + ], + "lines": [ + { + "bbox": [ + 105, + 356, + 329, + 370 + ], + "spans": [ + { + "bbox": [ + 105, + 356, + 329, + 370 + ], + "score": 1.0, + "content": "4.2 Comparison with existing linear Transformers", + "type": "text" + } + ], + "index": 10 + } + ], + "index": 10 + }, + { + "type": "text", + "bbox": [ + 107, + 378, + 504, + 400 + ], + "lines": [ + { + "bbox": [ + 105, + 376, + 506, + 391 + ], + "spans": [ + { + "bbox": [ + 105, + 376, + 506, + 391 + ], + "score": 1.0, + "content": "We compare our method with three existing linear Transformer models: Linformer [34], Performer [5],", + "type": "text" + } + ], + "index": 11 + }, + { + "bbox": [ + 105, + 388, + 366, + 402 + ], + "spans": [ + { + "bbox": [ + 105, + 388, + 366, + 402 + ], + "score": 1.0, + "content": "Nyströmformer [39] in terms of model complexity and accuracy.", + "type": "text" + } + ], + "index": 12 + } + ], + "index": 11.5 + }, + { + "type": "text", + "bbox": [ + 107, + 405, + 505, + 504 + ], + "lines": [ + { + "bbox": [ + 105, + 404, + 506, + 418 + ], + "spans": [ + { + "bbox": [ + 105, + 404, + 506, + 418 + ], + "score": 1.0, + "content": "Two experimental settings are adopted. Under the first setting, for all methods we use the same Tiny", + "type": "text" + } + ], + "index": 13 + }, + { + "bbox": [ + 105, + 416, + 505, + 428 + ], + "spans": [ + { + "bbox": [ + 105, + 416, + 505, + 428 + ], + "score": 1.0, + "content": "(Table 2) architecture for a fair comparison. That is, we replace the core self-attention block in SOFT", + "type": "text" + } + ], + "index": 14 + }, + { + "bbox": [ + 105, + 426, + 505, + 439 + ], + "spans": [ + { + "bbox": [ + 105, + 426, + 505, + 439 + ], + "score": 1.0, + "content": "with each baseline’s own attention block with the rest of the architecture unchanged. Note that the", + "type": "text" + } + ], + "index": 15 + }, + { + "bbox": [ + 105, + 437, + 506, + 451 + ], + "spans": [ + { + "bbox": [ + 105, + 437, + 506, + 451 + ], + "score": 1.0, + "content": "spatial reduction module of [35] is a special case of Linformer [34]. We set the reduction ratio to", + "type": "text" + } + ], + "index": 16 + }, + { + "bbox": [ + 105, + 448, + 505, + 463 + ], + "spans": [ + { + "bbox": [ + 105, + 448, + 505, + 463 + ], + "score": 1.0, + "content": "be identical to ours. With the same uniform sampling idea, we replace the 1D window averaging", + "type": "text" + } + ], + "index": 17 + }, + { + "bbox": [ + 105, + 458, + 505, + 474 + ], + "spans": [ + { + "bbox": [ + 105, + 458, + 505, + 474 + ], + "score": 1.0, + "content": "of Nyströmformer [39] (for NLP tasks) with 2D average pooling (for images). The downsampling", + "type": "text" + } + ], + "index": 18 + }, + { + "bbox": [ + 105, + 471, + 505, + 482 + ], + "spans": [ + { + "bbox": [ + 105, + 471, + 505, + 482 + ], + "score": 1.0, + "content": "ratio remains identical to ours. It is also worth mentioning that there is no official code released for", + "type": "text" + } + ], + "index": 19 + }, + { + "bbox": [ + 105, + 481, + 506, + 494 + ], + "spans": [ + { + "bbox": [ + 105, + 481, + 506, + 494 + ], + "score": 1.0, + "content": "Reformer [18] and the local Sensitive Hash (LSH) module has strict requirements on the length of", + "type": "text" + } + ], + "index": 20 + }, + { + "bbox": [ + 105, + 492, + 381, + 505 + ], + "spans": [ + { + "bbox": [ + 105, + 492, + 381, + 505 + ], + "score": 1.0, + "content": "input tokens. We thus do not include this method in our comparison.", + "type": "text" + } + ], + "index": 21 + } + ], + "index": 17 + }, + { + "type": "text", + "bbox": [ + 107, + 508, + 505, + 608 + ], + "lines": [ + { + "bbox": [ + 105, + 507, + 505, + 521 + ], + "spans": [ + { + "bbox": [ + 105, + 507, + 505, + 521 + ], + "score": 1.0, + "content": "From Table 1 we can make the following observations: (i) Linear Transformer methods substantially", + "type": "text" + } + ], + "index": 22 + }, + { + "bbox": [ + 105, + 519, + 506, + 533 + ], + "spans": [ + { + "bbox": [ + 105, + 519, + 506, + 533 + ], + "score": 1.0, + "content": "reduce the memory and FLOPs while maintain similar parameter size comparing to the Transformer", + "type": "text" + } + ], + "index": 23 + }, + { + "bbox": [ + 105, + 530, + 505, + 544 + ], + "spans": [ + { + "bbox": [ + 105, + 530, + 505, + 544 + ], + "score": 1.0, + "content": "on the Tiny architecture; (ii) Our approach SOFT achieves the best classification accuracy among all", + "type": "text" + } + ], + "index": 24 + }, + { + "bbox": [ + 105, + 541, + 505, + 554 + ], + "spans": [ + { + "bbox": [ + 105, + 541, + 505, + 554 + ], + "score": 1.0, + "content": "the linearization methods. (iii) Our inference speed is on-par with other compared linear Transformers", + "type": "text" + } + ], + "index": 25 + }, + { + "bbox": [ + 105, + 553, + 505, + 565 + ], + "spans": [ + { + "bbox": [ + 105, + 553, + 505, + 565 + ], + "score": 1.0, + "content": "and our training speed is slightly slower than Nystromformer and both are slower than Performer", + "type": "text" + } + ], + "index": 26 + }, + { + "bbox": [ + 105, + 563, + 505, + 576 + ], + "spans": [ + { + "bbox": [ + 105, + 563, + 505, + 576 + ], + "score": 1.0, + "content": "and Linformer. Note that the slow training speed of our model is mostly due to the Newton-Raphson", + "type": "text" + } + ], + "index": 27 + }, + { + "bbox": [ + 105, + 573, + 507, + 587 + ], + "spans": [ + { + "bbox": [ + 105, + 573, + 507, + 587 + ], + "score": 1.0, + "content": "iteration which can only be applied sequentially for ensuring the accuracy of Moore-Penrose inverse.", + "type": "text" + } + ], + "index": 28 + }, + { + "bbox": [ + 106, + 586, + 505, + 597 + ], + "spans": [ + { + "bbox": [ + 106, + 586, + 505, + 597 + ], + "score": 1.0, + "content": "In summary, due to the on-par inference speed we consider the training cost increase is a price worth", + "type": "text" + } + ], + "index": 29 + }, + { + "bbox": [ + 105, + 597, + 240, + 610 + ], + "spans": [ + { + "bbox": [ + 105, + 597, + 240, + 610 + ], + "score": 1.0, + "content": "paying for our superior accuracy.", + "type": "text" + } + ], + "index": 30 + } + ], + "index": 26 + }, + { + "type": "text", + "bbox": [ + 107, + 612, + 505, + 722 + ], + "lines": [ + { + "bbox": [ + 105, + 611, + 506, + 625 + ], + "spans": [ + { + "bbox": [ + 105, + 611, + 506, + 625 + ], + "score": 1.0, + "content": "Under the second setting, we focus on the memory efficiency of SOFT against the baselines. Here we", + "type": "text" + } + ], + "index": 31 + }, + { + "bbox": [ + 106, + 623, + 506, + 635 + ], + "spans": [ + { + "bbox": [ + 106, + 624, + 468, + 635 + ], + "score": 1.0, + "content": "follow the ViT [11] network structure, stacking 12 attention layers with hidden dimension", + "type": "text" + }, + { + "bbox": [ + 468, + 623, + 502, + 634 + ], + "score": 0.9, + "content": "d = 3 8 4", + "type": "inline_equation" + }, + { + "bbox": [ + 503, + 624, + 506, + 635 + ], + "score": 1.0, + "content": ",", + "type": "text" + } + ], + "index": 32 + }, + { + "bbox": [ + 105, + 633, + 506, + 646 + ], + "spans": [ + { + "bbox": [ + 105, + 633, + 131, + 646 + ], + "score": 1.0, + "content": "heads", + "type": "text" + }, + { + "bbox": [ + 132, + 635, + 162, + 645 + ], + "score": 0.9, + "content": "h = 1 2", + "type": "inline_equation" + }, + { + "bbox": [ + 162, + 633, + 302, + 646 + ], + "score": 1.0, + "content": ", bottleneck token sequence length", + "type": "text" + }, + { + "bbox": [ + 302, + 635, + 335, + 645 + ], + "score": 0.89, + "content": "m = 4 9", + "type": "inline_equation" + }, + { + "bbox": [ + 336, + 633, + 506, + 646 + ], + "score": 1.0, + "content": ". Different attention blocks from the three", + "type": "text" + } + ], + "index": 33 + }, + { + "bbox": [ + 106, + 645, + 506, + 658 + ], + "spans": [ + { + "bbox": [ + 106, + 645, + 506, + 658 + ], + "score": 1.0, + "content": "linearized Transformer variants, Linformer [34], Performer [5], and Nyströmformer [39] are studied.", + "type": "text" + } + ], + "index": 34 + }, + { + "bbox": [ + 105, + 655, + 506, + 668 + ], + "spans": [ + { + "bbox": [ + 105, + 655, + 362, + 668 + ], + "score": 1.0, + "content": "For each Transformer variant, we adjust its token sequence length", + "type": "text" + }, + { + "bbox": [ + 363, + 658, + 370, + 666 + ], + "score": 0.76, + "content": "n", + "type": "inline_equation" + }, + { + "bbox": [ + 370, + 655, + 506, + 668 + ], + "score": 1.0, + "content": "in a linear increment. Specifically,", + "type": "text" + } + ], + "index": 35 + }, + { + "bbox": [ + 105, + 667, + 506, + 680 + ], + "spans": [ + { + "bbox": [ + 105, + 667, + 251, + 680 + ], + "score": 1.0, + "content": "we use a token sequence length of", + "type": "text" + }, + { + "bbox": [ + 252, + 667, + 286, + 679 + ], + "score": 0.91, + "content": "7 8 4 \\times p", + "type": "inline_equation" + }, + { + "bbox": [ + 286, + 667, + 315, + 680 + ], + "score": 1.0, + "content": "where", + "type": "text" + }, + { + "bbox": [ + 316, + 667, + 408, + 679 + ], + "score": 0.9, + "content": "p = 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8", + "type": "inline_equation" + }, + { + "bbox": [ + 408, + 667, + 506, + 680 + ], + "score": 1.0, + "content": "and set batch size 1 to", + "type": "text" + } + ], + "index": 36 + }, + { + "bbox": [ + 105, + 678, + 506, + 690 + ], + "spans": [ + { + "bbox": [ + 105, + 678, + 506, + 690 + ], + "score": 1.0, + "content": "verify whether the memory consumption increases “quadratically” or “linearly”. Figure 1b shows all", + "type": "text" + } + ], + "index": 37 + }, + { + "bbox": [ + 105, + 688, + 506, + 702 + ], + "spans": [ + { + "bbox": [ + 105, + 688, + 506, + 702 + ], + "score": 1.0, + "content": "compared transformer variants including our SOFT indeed have a linear memory usage complexity.", + "type": "text" + } + ], + "index": 38 + }, + { + "bbox": [ + 105, + 699, + 506, + 713 + ], + "spans": [ + { + "bbox": [ + 105, + 699, + 506, + 713 + ], + "score": 1.0, + "content": "This is in contrast with the standard Transformer which cannot cope with long token sequences with", + "type": "text" + } + ], + "index": 39 + }, + { + "bbox": [ + 105, + 711, + 201, + 723 + ], + "spans": [ + { + "bbox": [ + 105, + 711, + 201, + 723 + ], + "score": 1.0, + "content": "a quadratic complexity.", + "type": "text" + } + ], + "index": 40 + } + ], + "index": 35.5 + } + ], + "page_idx": 6, + "page_size": [ + 612, + 792 + ], + "discarded_blocks": [ + { + "type": "discarded", + "bbox": [ + 302, + 741, + 309, + 750 + ], + "lines": [ + { + "bbox": [ + 302, + 741, + 309, + 752 + ], + "spans": [ + { + "bbox": [ + 302, + 741, + 309, + 752 + ], + "score": 1.0, + "content": "7", + "type": "text" + } + ] + } + ] + } + ], + "para_blocks": [ + { + "type": "table", + "bbox": [ + 105, + 68, + 506, + 244 + ], + "blocks": [ + { + "type": "table_body", + "bbox": [ + 105, + 68, + 506, + 244 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 105, + 68, + 506, + 244 + ], + "spans": [ + { + "bbox": [ + 105, + 68, + 506, + 244 + ], + "score": 0.907, + "html": "
TinySmallMediumLargeHuge
Stage 1C33-BN-ReLU, 64-d
sp.8x8,64-d,2-hx1sp.8x8,64-d,2-hx1sp.8x8,64-d, 2-hx1sp.8x8,64-d,2-hx1sp.8x8,64-d,2-hx1
Stage 2C31-BN-ReLU,128-d
sp.4x4,128-d,4-hx2sp. 4x4,128-d, 4-hx3sp. 4x4,128-d, 4-hx3sp. 4x4,128-d,4-hx3sp.4x4,128-d, 4-hx5
Stage 3C31-BN-ReLU,320-d or288-d
sp.2x2,320-d,10-hx3sp. 2x2,320-d,10-hx7sp.2x2,288-d,9-hx 29sp.2x2,320-d,10-hx 40sp.2x2,352-d,11-hx49
Stage 4w. cls tokenC31-BN-ReLU, 512-d
sp.1x1,512-d,16-hx2sp.1x1,512-d,16-hx4sp. 1x1,512-d,16-hx5sp. 1x1,512-d,16-hx5sp.1x1,512-d,16-hx5
", + "type": "table", + "image_path": "8e0b54ca125420c7a5076d5b28a8d5fbb053a1835e9809edb8f3296355ecc45e.jpg" + } + ] + } + ], + "index": 1, + "virtual_lines": [ + { + "bbox": [ + 105, + 68, + 506, + 126.66666666666666 + ], + "spans": [], + "index": 0 + }, + { + "bbox": [ + 105, + 126.66666666666666, + 506, + 185.33333333333331 + ], + "spans": [], + "index": 1 + }, + { + "bbox": [ + 105, + 185.33333333333331, + 506, + 243.99999999999997 + ], + "spans": [], + "index": 2 + } + ] + }, + { + "type": "table_caption", + "bbox": [ + 106, + 249, + 504, + 282 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 104, + 248, + 506, + 262 + ], + "spans": [ + { + "bbox": [ + 104, + 248, + 506, + 262 + ], + "score": 1.0, + "content": "Table 2: Architecture specifications of SOFT variants. sp.: sampling ratio. -d: the hidden dimension.", + "type": "text" + } + ], + "index": 3 + }, + { + "bbox": [ + 105, + 260, + 504, + 271 + ], + "spans": [ + { + "bbox": [ + 105, + 260, + 504, + 271 + ], + "score": 1.0, + "content": "-h: the number of heads in the self-attention block. C33-BN-ReLU: three 3x3 Conv-BN-ReLU, with", + "type": "text" + } + ], + "index": 4 + }, + { + "bbox": [ + 106, + 271, + 480, + 283 + ], + "spans": [ + { + "bbox": [ + 106, + 271, + 480, + 283 + ], + "score": 1.0, + "content": "the stride of 2, 1, 2 respectively. C31-BN-ReLU: one 3x3 Conv-BN-ReLU, with a stride of 2.", + "type": "text" + } + ], + "index": 5 + } + ], + "index": 4 + } + ], + "index": 2.5 + }, + { + "type": "text", + "bbox": [ + 107, + 296, + 505, + 340 + ], + "lines": [], + "index": 7.5, + "bbox_fs": [ + 105, + 295, + 507, + 342 + ], + "lines_deleted": true + }, + { + "type": "title", + "bbox": [ + 107, + 356, + 327, + 368 + ], + "lines": [ + { + "bbox": [ + 105, + 356, + 329, + 370 + ], + "spans": [ + { + "bbox": [ + 105, + 356, + 329, + 370 + ], + "score": 1.0, + "content": "4.2 Comparison with existing linear Transformers", + "type": "text" + } + ], + "index": 10 + } + ], + "index": 10 + }, + { + "type": "text", + "bbox": [ + 107, + 378, + 504, + 400 + ], + "lines": [ + { + "bbox": [ + 105, + 376, + 506, + 391 + ], + "spans": [ + { + "bbox": [ + 105, + 376, + 506, + 391 + ], + "score": 1.0, + "content": "We compare our method with three existing linear Transformer models: Linformer [34], Performer [5],", + "type": "text" + } + ], + "index": 11 + }, + { + "bbox": [ + 105, + 388, + 366, + 402 + ], + "spans": [ + { + "bbox": [ + 105, + 388, + 366, + 402 + ], + "score": 1.0, + "content": "Nyströmformer [39] in terms of model complexity and accuracy.", + "type": "text" + } + ], + "index": 12 + } + ], + "index": 11.5, + "bbox_fs": [ + 105, + 376, + 506, + 402 + ] + }, + { + "type": "text", + "bbox": [ + 107, + 405, + 505, + 504 + ], + "lines": [ + { + "bbox": [ + 105, + 404, + 506, + 418 + ], + "spans": [ + { + "bbox": [ + 105, + 404, + 506, + 418 + ], + "score": 1.0, + "content": "Two experimental settings are adopted. Under the first setting, for all methods we use the same Tiny", + "type": "text" + } + ], + "index": 13 + }, + { + "bbox": [ + 105, + 416, + 505, + 428 + ], + "spans": [ + { + "bbox": [ + 105, + 416, + 505, + 428 + ], + "score": 1.0, + "content": "(Table 2) architecture for a fair comparison. That is, we replace the core self-attention block in SOFT", + "type": "text" + } + ], + "index": 14 + }, + { + "bbox": [ + 105, + 426, + 505, + 439 + ], + "spans": [ + { + "bbox": [ + 105, + 426, + 505, + 439 + ], + "score": 1.0, + "content": "with each baseline’s own attention block with the rest of the architecture unchanged. Note that the", + "type": "text" + } + ], + "index": 15 + }, + { + "bbox": [ + 105, + 437, + 506, + 451 + ], + "spans": [ + { + "bbox": [ + 105, + 437, + 506, + 451 + ], + "score": 1.0, + "content": "spatial reduction module of [35] is a special case of Linformer [34]. We set the reduction ratio to", + "type": "text" + } + ], + "index": 16 + }, + { + "bbox": [ + 105, + 448, + 505, + 463 + ], + "spans": [ + { + "bbox": [ + 105, + 448, + 505, + 463 + ], + "score": 1.0, + "content": "be identical to ours. With the same uniform sampling idea, we replace the 1D window averaging", + "type": "text" + } + ], + "index": 17 + }, + { + "bbox": [ + 105, + 458, + 505, + 474 + ], + "spans": [ + { + "bbox": [ + 105, + 458, + 505, + 474 + ], + "score": 1.0, + "content": "of Nyströmformer [39] (for NLP tasks) with 2D average pooling (for images). The downsampling", + "type": "text" + } + ], + "index": 18 + }, + { + "bbox": [ + 105, + 471, + 505, + 482 + ], + "spans": [ + { + "bbox": [ + 105, + 471, + 505, + 482 + ], + "score": 1.0, + "content": "ratio remains identical to ours. It is also worth mentioning that there is no official code released for", + "type": "text" + } + ], + "index": 19 + }, + { + "bbox": [ + 105, + 481, + 506, + 494 + ], + "spans": [ + { + "bbox": [ + 105, + 481, + 506, + 494 + ], + "score": 1.0, + "content": "Reformer [18] and the local Sensitive Hash (LSH) module has strict requirements on the length of", + "type": "text" + } + ], + "index": 20 + }, + { + "bbox": [ + 105, + 492, + 381, + 505 + ], + "spans": [ + { + "bbox": [ + 105, + 492, + 381, + 505 + ], + "score": 1.0, + "content": "input tokens. We thus do not include this method in our comparison.", + "type": "text" + } + ], + "index": 21 + } + ], + "index": 17, + "bbox_fs": [ + 105, + 404, + 506, + 505 + ] + }, + { + "type": "text", + "bbox": [ + 107, + 508, + 505, + 608 + ], + "lines": [ + { + "bbox": [ + 105, + 507, + 505, + 521 + ], + "spans": [ + { + "bbox": [ + 105, + 507, + 505, + 521 + ], + "score": 1.0, + "content": "From Table 1 we can make the following observations: (i) Linear Transformer methods substantially", + "type": "text" + } + ], + "index": 22 + }, + { + "bbox": [ + 105, + 519, + 506, + 533 + ], + "spans": [ + { + "bbox": [ + 105, + 519, + 506, + 533 + ], + "score": 1.0, + "content": "reduce the memory and FLOPs while maintain similar parameter size comparing to the Transformer", + "type": "text" + } + ], + "index": 23 + }, + { + "bbox": [ + 105, + 530, + 505, + 544 + ], + "spans": [ + { + "bbox": [ + 105, + 530, + 505, + 544 + ], + "score": 1.0, + "content": "on the Tiny architecture; (ii) Our approach SOFT achieves the best classification accuracy among all", + "type": "text" + } + ], + "index": 24 + }, + { + "bbox": [ + 105, + 541, + 505, + 554 + ], + "spans": [ + { + "bbox": [ + 105, + 541, + 505, + 554 + ], + "score": 1.0, + "content": "the linearization methods. (iii) Our inference speed is on-par with other compared linear Transformers", + "type": "text" + } + ], + "index": 25 + }, + { + "bbox": [ + 105, + 553, + 505, + 565 + ], + "spans": [ + { + "bbox": [ + 105, + 553, + 505, + 565 + ], + "score": 1.0, + "content": "and our training speed is slightly slower than Nystromformer and both are slower than Performer", + "type": "text" + } + ], + "index": 26 + }, + { + "bbox": [ + 105, + 563, + 505, + 576 + ], + "spans": [ + { + "bbox": [ + 105, + 563, + 505, + 576 + ], + "score": 1.0, + "content": "and Linformer. Note that the slow training speed of our model is mostly due to the Newton-Raphson", + "type": "text" + } + ], + "index": 27 + }, + { + "bbox": [ + 105, + 573, + 507, + 587 + ], + "spans": [ + { + "bbox": [ + 105, + 573, + 507, + 587 + ], + "score": 1.0, + "content": "iteration which can only be applied sequentially for ensuring the accuracy of Moore-Penrose inverse.", + "type": "text" + } + ], + "index": 28 + }, + { + "bbox": [ + 106, + 586, + 505, + 597 + ], + "spans": [ + { + "bbox": [ + 106, + 586, + 505, + 597 + ], + "score": 1.0, + "content": "In summary, due to the on-par inference speed we consider the training cost increase is a price worth", + "type": "text" + } + ], + "index": 29 + }, + { + "bbox": [ + 105, + 597, + 240, + 610 + ], + "spans": [ + { + "bbox": [ + 105, + 597, + 240, + 610 + ], + "score": 1.0, + "content": "paying for our superior accuracy.", + "type": "text" + } + ], + "index": 30 + } + ], + "index": 26, + "bbox_fs": [ + 105, + 507, + 507, + 610 + ] + }, + { + "type": "text", + "bbox": [ + 107, + 612, + 505, + 722 + ], + "lines": [ + { + "bbox": [ + 105, + 611, + 506, + 625 + ], + "spans": [ + { + "bbox": [ + 105, + 611, + 506, + 625 + ], + "score": 1.0, + "content": "Under the second setting, we focus on the memory efficiency of SOFT against the baselines. Here we", + "type": "text" + } + ], + "index": 31 + }, + { + "bbox": [ + 106, + 623, + 506, + 635 + ], + "spans": [ + { + "bbox": [ + 106, + 624, + 468, + 635 + ], + "score": 1.0, + "content": "follow the ViT [11] network structure, stacking 12 attention layers with hidden dimension", + "type": "text" + }, + { + "bbox": [ + 468, + 623, + 502, + 634 + ], + "score": 0.9, + "content": "d = 3 8 4", + "type": "inline_equation" + }, + { + "bbox": [ + 503, + 624, + 506, + 635 + ], + "score": 1.0, + "content": ",", + "type": "text" + } + ], + "index": 32 + }, + { + "bbox": [ + 105, + 633, + 506, + 646 + ], + "spans": [ + { + "bbox": [ + 105, + 633, + 131, + 646 + ], + "score": 1.0, + "content": "heads", + "type": "text" + }, + { + "bbox": [ + 132, + 635, + 162, + 645 + ], + "score": 0.9, + "content": "h = 1 2", + "type": "inline_equation" + }, + { + "bbox": [ + 162, + 633, + 302, + 646 + ], + "score": 1.0, + "content": ", bottleneck token sequence length", + "type": "text" + }, + { + "bbox": [ + 302, + 635, + 335, + 645 + ], + "score": 0.89, + "content": "m = 4 9", + "type": "inline_equation" + }, + { + "bbox": [ + 336, + 633, + 506, + 646 + ], + "score": 1.0, + "content": ". Different attention blocks from the three", + "type": "text" + } + ], + "index": 33 + }, + { + "bbox": [ + 106, + 645, + 506, + 658 + ], + "spans": [ + { + "bbox": [ + 106, + 645, + 506, + 658 + ], + "score": 1.0, + "content": "linearized Transformer variants, Linformer [34], Performer [5], and Nyströmformer [39] are studied.", + "type": "text" + } + ], + "index": 34 + }, + { + "bbox": [ + 105, + 655, + 506, + 668 + ], + "spans": [ + { + "bbox": [ + 105, + 655, + 362, + 668 + ], + "score": 1.0, + "content": "For each Transformer variant, we adjust its token sequence length", + "type": "text" + }, + { + "bbox": [ + 363, + 658, + 370, + 666 + ], + "score": 0.76, + "content": "n", + "type": "inline_equation" + }, + { + "bbox": [ + 370, + 655, + 506, + 668 + ], + "score": 1.0, + "content": "in a linear increment. Specifically,", + "type": "text" + } + ], + "index": 35 + }, + { + "bbox": [ + 105, + 667, + 506, + 680 + ], + "spans": [ + { + "bbox": [ + 105, + 667, + 251, + 680 + ], + "score": 1.0, + "content": "we use a token sequence length of", + "type": "text" + }, + { + "bbox": [ + 252, + 667, + 286, + 679 + ], + "score": 0.91, + "content": "7 8 4 \\times p", + "type": "inline_equation" + }, + { + "bbox": [ + 286, + 667, + 315, + 680 + ], + "score": 1.0, + "content": "where", + "type": "text" + }, + { + "bbox": [ + 316, + 667, + 408, + 679 + ], + "score": 0.9, + "content": "p = 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8", + "type": "inline_equation" + }, + { + "bbox": [ + 408, + 667, + 506, + 680 + ], + "score": 1.0, + "content": "and set batch size 1 to", + "type": "text" + } + ], + "index": 36 + }, + { + "bbox": [ + 105, + 678, + 506, + 690 + ], + "spans": [ + { + "bbox": [ + 105, + 678, + 506, + 690 + ], + "score": 1.0, + "content": "verify whether the memory consumption increases “quadratically” or “linearly”. Figure 1b shows all", + "type": "text" + } + ], + "index": 37 + }, + { + "bbox": [ + 105, + 688, + 506, + 702 + ], + "spans": [ + { + "bbox": [ + 105, + 688, + 506, + 702 + ], + "score": 1.0, + "content": "compared transformer variants including our SOFT indeed have a linear memory usage complexity.", + "type": "text" + } + ], + "index": 38 + }, + { + "bbox": [ + 105, + 699, + 506, + 713 + ], + "spans": [ + { + "bbox": [ + 105, + 699, + 506, + 713 + ], + "score": 1.0, + "content": "This is in contrast with the standard Transformer which cannot cope with long token sequences with", + "type": "text" + } + ], + "index": 39 + }, + { + "bbox": [ + 105, + 711, + 201, + 723 + ], + "spans": [ + { + "bbox": [ + 105, + 711, + 201, + 723 + ], + "score": 1.0, + "content": "a quadratic complexity.", + "type": "text" + } + ], + "index": 40 + } + ], + "index": 35.5, + "bbox_fs": [ + 105, + 611, + 506, + 723 + ] + } + ] + }, + { + "preproc_blocks": [ + { + "type": "table", + "bbox": [ + 118, + 101, + 493, + 411 + ], + "blocks": [ + { + "type": "table_caption", + "bbox": [ + 109, + 73, + 340, + 84 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 106, + 72, + 342, + 86 + ], + "spans": [ + { + "bbox": [ + 106, + 72, + 342, + 86 + ], + "score": 1.0, + "content": "4.3 Comparison with state-of-the-art CNNs and ViTs", + "type": "text" + } + ], + "index": 0 + } + ], + "index": 0 + }, + { + "type": "table_body", + "bbox": [ + 118, + 101, + 493, + 411 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 118, + 101, + 493, + 411 + ], + "spans": [ + { + "bbox": [ + 118, + 101, + 493, + 411 + ], + "score": 0.985, + "html": "
ModelStyleResolutionM.S. Out.?ParamsFLOPsTop-1%.
ResNet-18 [13]ConvNets2242√11M1.9G69.8
PVT-Tiny [35]Transformers224²113M1.9Gt75.1
Coat-Lite Mini [40]Transformers2242√11M2.0G78.9
LambdaNets-50 [2]Transformers224²√16M178.9
SOFT-TinySOFT224²√13M1.9G79.3
ResNet-50[13]Convolution224√25M4.1G78.5
PVT-Small [35]Transformer2242√24M4.0Gt79.8
Deit-Small [31]Transformer224²X22M4.6G79.9
T2T-ViTt-14 [41]Transformer224²×21M5.2G80.7
CPVT-Small [7]Transformer224222M-79.9
Twins-SVT-S [6]Hybrid224²广24M3.7G81.7
SOFT-SmallSOFT224²√24M3.3G82.2
ResNet-101 [13]Convolution2242√44M7.9G79.8
PVT-Medium [35]Transformer224²√44M7.0Gt81.2
ViT-Small/16 [11]Transformer2242X48M9.9G80.8
SOFT-MediumSOFT224²√45M7.2G82.9
ResNet-152 [13]Convolution224260M11.6G80.8
PVT-Large [35]Transformer2242<>x>61M10.1Gt81.7
T2T-ViTt-24 [41]Transformer224264M13.2G
BoTNet-S1-110[27]Hybrid22482.2
SOFT-LargeSOFT224²√55M 64M-82.8
224211.0G83.1
CaiT-S36[32]Transformer224²√88M13.9G83.3
Swin-B[20]Transformer《88M15.4G83.3
Twins-SVT-L [6]Hybrid2242√99M14.8G83.3
SOFT-HugeSOFT224²87M16.3G83.3
", + "type": "table", + "image_path": "c1b2b1a620635fc8359772b0606905119968da53d4f2e386a7ac943a45bffd9d.jpg" + } + ] + } + ], + "index": 2, + "virtual_lines": [ + { + "bbox": [ + 118, + 101, + 493, + 204.33333333333331 + ], + "spans": [], + "index": 1 + }, + { + "bbox": [ + 118, + 204.33333333333331, + 493, + 307.66666666666663 + ], + "spans": [], + "index": 2 + }, + { + "bbox": [ + 118, + 307.66666666666663, + 493, + 410.99999999999994 + ], + "spans": [], + "index": 3 + } + ] + }, + { + "type": "table_caption", + "bbox": [ + 106, + 417, + 505, + 461 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 105, + 416, + 505, + 430 + ], + "spans": [ + { + "bbox": [ + 105, + 416, + 505, + 430 + ], + "score": 1.0, + "content": "Table 3: Evaluation results on ILSVRC-2012 ImageNet-1K [9] validation set. We report the", + "type": "text" + } + ], + "index": 4 + }, + { + "bbox": [ + 104, + 428, + 505, + 441 + ], + "spans": [ + { + "bbox": [ + 104, + 428, + 230, + 441 + ], + "score": 1.0, + "content": "results using the input size of", + "type": "text" + }, + { + "bbox": [ + 231, + 429, + 268, + 439 + ], + "score": 0.83, + "content": "2 2 4 \\mathbf { x } 2 2 4", + "type": "inline_equation" + }, + { + "bbox": [ + 268, + 428, + 466, + 441 + ], + "score": 1.0, + "content": "pixels center cropped from resized images with", + "type": "text" + }, + { + "bbox": [ + 467, + 428, + 505, + 439 + ], + "score": 0.63, + "content": "2 5 6 \\times 2 5 6", + "type": "inline_equation" + } + ], + "index": 5 + }, + { + "bbox": [ + 105, + 440, + 505, + 451 + ], + "spans": [ + { + "bbox": [ + 105, + 440, + 423, + 451 + ], + "score": 1.0, + "content": "pixels. M.S.Out. stands for whether the model is designed for multi-scale output.", + "type": "text" + }, + { + "bbox": [ + 424, + 440, + 430, + 451 + ], + "score": 0.36, + "content": "\\dagger", + "type": "inline_equation" + }, + { + "bbox": [ + 430, + 440, + 505, + 451 + ], + "score": 1.0, + "content": ": Corrected FLOPs", + "type": "text" + } + ], + "index": 6 + }, + { + "bbox": [ + 105, + 450, + 491, + 464 + ], + "spans": [ + { + "bbox": [ + 105, + 450, + 491, + 464 + ], + "score": 1.0, + "content": "by taking into account the cost of attention matrix multiplication overlooked in the origin paper.", + "type": "text" + } + ], + "index": 7 + } + ], + "index": 5.5 + } + ], + "index": 2 + }, + { + "type": "text", + "bbox": [ + 107, + 473, + 505, + 572 + ], + "lines": [ + { + "bbox": [ + 106, + 474, + 505, + 486 + ], + "spans": [ + { + "bbox": [ + 106, + 474, + 505, + 486 + ], + "score": 1.0, + "content": "We compare with state-of-the-art alternatives and report the top-1 accuracy on the ImageNet-1K", + "type": "text" + } + ], + "index": 8 + }, + { + "bbox": [ + 104, + 482, + 507, + 498 + ], + "spans": [ + { + "bbox": [ + 104, + 482, + 507, + 498 + ], + "score": 1.0, + "content": "validation set. FLOPs are calculated at batch size 1024. From Figure 1a and Table 3, the following", + "type": "text" + } + ], + "index": 9 + }, + { + "bbox": [ + 106, + 496, + 506, + 507 + ], + "spans": [ + { + "bbox": [ + 106, + 496, + 506, + 507 + ], + "score": 1.0, + "content": "observations are made: (i) Overall, ViT and its variants yield better classification accuracy over CNNs.", + "type": "text" + } + ], + "index": 10 + }, + { + "bbox": [ + 105, + 506, + 506, + 518 + ], + "spans": [ + { + "bbox": [ + 105, + 506, + 506, + 518 + ], + "score": 1.0, + "content": "(ii) We achieve the best performance among the recent pure vision Transformer based methods", + "type": "text" + } + ], + "index": 11 + }, + { + "bbox": [ + 106, + 517, + 506, + 530 + ], + "spans": [ + { + "bbox": [ + 106, + 517, + 506, + 530 + ], + "score": 1.0, + "content": "including ViT [11] and DeiT [31], as well as the state-of-the-art CNN RegNet [26]. (iii) Our SOFT", + "type": "text" + } + ], + "index": 12 + }, + { + "bbox": [ + 105, + 528, + 506, + 540 + ], + "spans": [ + { + "bbox": [ + 105, + 528, + 506, + 540 + ], + "score": 1.0, + "content": "outperforms the most similar (in architecture configuration) Transformer counterparts PVT [35] at all", + "type": "text" + } + ], + "index": 13 + }, + { + "bbox": [ + 106, + 540, + 505, + 550 + ], + "spans": [ + { + "bbox": [ + 106, + 540, + 505, + 550 + ], + "score": 1.0, + "content": "variants. Since the attention module is the main difference, this validates directly the effectiveness of", + "type": "text" + } + ], + "index": 14 + }, + { + "bbox": [ + 106, + 549, + 505, + 562 + ], + "spans": [ + { + "bbox": [ + 106, + 549, + 505, + 562 + ], + "score": 1.0, + "content": "our model. (iv) We can also beat the latest ViT variants Twins [6] which is designed to address the", + "type": "text" + } + ], + "index": 15 + }, + { + "bbox": [ + 105, + 560, + 506, + 573 + ], + "spans": [ + { + "bbox": [ + 105, + 560, + 506, + 573 + ], + "score": 1.0, + "content": "efficiency limitation of ViT. We have done so with less parameters and fewer float point computation.", + "type": "text" + } + ], + "index": 16 + } + ], + "index": 12 + }, + { + "type": "text", + "bbox": [ + 107, + 577, + 505, + 665 + ], + "lines": [ + { + "bbox": [ + 105, + 577, + 505, + 589 + ], + "spans": [ + { + "bbox": [ + 105, + 577, + 505, + 589 + ], + "score": 1.0, + "content": "To gain some insights into how attention is learned using our SOFT and the alternatives, Figure 3", + "type": "text" + } + ], + "index": 17 + }, + { + "bbox": [ + 106, + 588, + 505, + 600 + ], + "spans": [ + { + "bbox": [ + 106, + 588, + 505, + 600 + ], + "score": 1.0, + "content": "shows the attention masks of various compared models. For each model, we show the output from the", + "type": "text" + } + ], + "index": 18 + }, + { + "bbox": [ + 105, + 598, + 505, + 611 + ], + "spans": [ + { + "bbox": [ + 105, + 598, + 505, + 611 + ], + "score": 1.0, + "content": "first two attention heads. It is evident that SOFT exhibits robustness and versatility in capturing local", + "type": "text" + } + ], + "index": 19 + }, + { + "bbox": [ + 105, + 610, + 505, + 622 + ], + "spans": [ + { + "bbox": [ + 105, + 610, + 505, + 622 + ], + "score": 1.0, + "content": "and long distance relations among pixels. It is interesting to note that, although SOFT is trained on", + "type": "text" + } + ], + "index": 20 + }, + { + "bbox": [ + 105, + 620, + 505, + 633 + ], + "spans": [ + { + "bbox": [ + 105, + 620, + 505, + 633 + ], + "score": 1.0, + "content": "an object categorization dataset in ImageNet [9], it seems to be able to learn both semantic concepts", + "type": "text" + } + ], + "index": 21 + }, + { + "bbox": [ + 105, + 631, + 505, + 644 + ], + "spans": [ + { + "bbox": [ + 105, + 631, + 505, + 644 + ], + "score": 1.0, + "content": "shared across instances in the same category and instance specific features. For instance, in the", + "type": "text" + } + ], + "index": 22 + }, + { + "bbox": [ + 105, + 643, + 505, + 655 + ], + "spans": [ + { + "bbox": [ + 105, + 643, + 505, + 655 + ], + "score": 1.0, + "content": "bottom-right example of a bird class, one attention head focuses on the black bird only, while the", + "type": "text" + } + ], + "index": 23 + }, + { + "bbox": [ + 106, + 653, + 464, + 666 + ], + "spans": [ + { + "bbox": [ + 106, + 653, + 464, + 666 + ], + "score": 1.0, + "content": "other attend to both birds in the image. More examples are shown in Supplementary A.4.", + "type": "text" + } + ], + "index": 24 + } + ], + "index": 20.5 + }, + { + "type": "title", + "bbox": [ + 107, + 679, + 199, + 690 + ], + "lines": [ + { + "bbox": [ + 106, + 678, + 200, + 692 + ], + "spans": [ + { + "bbox": [ + 106, + 678, + 200, + 692 + ], + "score": 1.0, + "content": "4.4 Ablation studies", + "type": "text" + } + ], + "index": 25 + } + ], + "index": 25 + }, + { + "type": "text", + "bbox": [ + 107, + 700, + 503, + 722 + ], + "lines": [ + { + "bbox": [ + 106, + 700, + 505, + 712 + ], + "spans": [ + { + "bbox": [ + 106, + 700, + 505, + 712 + ], + "score": 1.0, + "content": "Pyramidal architecture: Unlike the earlier non-pyramidal vision Transformers (e.g., ViT [11]),", + "type": "text" + } + ], + "index": 26 + }, + { + "bbox": [ + 105, + 710, + 505, + 723 + ], + "spans": [ + { + "bbox": [ + 105, + 710, + 505, + 723 + ], + "score": 1.0, + "content": "most recent pyramidal (multi-scale) Transformers (e.g., PVT [35]) use convolution layers to reduce", + "type": "text" + } + ], + "index": 27 + } + ], + "index": 26.5 + } + ], + "page_idx": 7, + "page_size": [ + 612, + 792 + ], + "discarded_blocks": [ + { + "type": "discarded", + "bbox": [ + 302, + 742, + 308, + 750 + ], + "lines": [ + { + "bbox": [ + 302, + 741, + 309, + 752 + ], + "spans": [ + { + "bbox": [ + 302, + 741, + 309, + 752 + ], + "score": 1.0, + "content": "8", + "type": "text" + } + ] + } + ] + } + ], + "para_blocks": [ + { + "type": "table", + "bbox": [ + 118, + 101, + 493, + 411 + ], + "blocks": [ + { + "type": "table_caption", + "bbox": [ + 109, + 73, + 340, + 84 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 106, + 72, + 342, + 86 + ], + "spans": [ + { + "bbox": [ + 106, + 72, + 342, + 86 + ], + "score": 1.0, + "content": "4.3 Comparison with state-of-the-art CNNs and ViTs", + "type": "text" + } + ], + "index": 0 + } + ], + "index": 0 + }, + { + "type": "table_body", + "bbox": [ + 118, + 101, + 493, + 411 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 118, + 101, + 493, + 411 + ], + "spans": [ + { + "bbox": [ + 118, + 101, + 493, + 411 + ], + "score": 0.985, + "html": "
ModelStyleResolutionM.S. Out.?ParamsFLOPsTop-1%.
ResNet-18 [13]ConvNets2242√11M1.9G69.8
PVT-Tiny [35]Transformers224²113M1.9Gt75.1
Coat-Lite Mini [40]Transformers2242√11M2.0G78.9
LambdaNets-50 [2]Transformers224²√16M178.9
SOFT-TinySOFT224²√13M1.9G79.3
ResNet-50[13]Convolution224√25M4.1G78.5
PVT-Small [35]Transformer2242√24M4.0Gt79.8
Deit-Small [31]Transformer224²X22M4.6G79.9
T2T-ViTt-14 [41]Transformer224²×21M5.2G80.7
CPVT-Small [7]Transformer224222M-79.9
Twins-SVT-S [6]Hybrid224²广24M3.7G81.7
SOFT-SmallSOFT224²√24M3.3G82.2
ResNet-101 [13]Convolution2242√44M7.9G79.8
PVT-Medium [35]Transformer224²√44M7.0Gt81.2
ViT-Small/16 [11]Transformer2242X48M9.9G80.8
SOFT-MediumSOFT224²√45M7.2G82.9
ResNet-152 [13]Convolution224260M11.6G80.8
PVT-Large [35]Transformer2242<>x>61M10.1Gt81.7
T2T-ViTt-24 [41]Transformer224264M13.2G
BoTNet-S1-110[27]Hybrid22482.2
SOFT-LargeSOFT224²√55M 64M-82.8
224211.0G83.1
CaiT-S36[32]Transformer224²√88M13.9G83.3
Swin-B[20]Transformer《88M15.4G83.3
Twins-SVT-L [6]Hybrid2242√99M14.8G83.3
SOFT-HugeSOFT224²87M16.3G83.3
", + "type": "table", + "image_path": "c1b2b1a620635fc8359772b0606905119968da53d4f2e386a7ac943a45bffd9d.jpg" + } + ] + } + ], + "index": 2, + "virtual_lines": [ + { + "bbox": [ + 118, + 101, + 493, + 204.33333333333331 + ], + "spans": [], + "index": 1 + }, + { + "bbox": [ + 118, + 204.33333333333331, + 493, + 307.66666666666663 + ], + "spans": [], + "index": 2 + }, + { + "bbox": [ + 118, + 307.66666666666663, + 493, + 410.99999999999994 + ], + "spans": [], + "index": 3 + } + ] + }, + { + "type": "table_caption", + "bbox": [ + 106, + 417, + 505, + 461 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 105, + 416, + 505, + 430 + ], + "spans": [ + { + "bbox": [ + 105, + 416, + 505, + 430 + ], + "score": 1.0, + "content": "Table 3: Evaluation results on ILSVRC-2012 ImageNet-1K [9] validation set. We report the", + "type": "text" + } + ], + "index": 4 + }, + { + "bbox": [ + 104, + 428, + 505, + 441 + ], + "spans": [ + { + "bbox": [ + 104, + 428, + 230, + 441 + ], + "score": 1.0, + "content": "results using the input size of", + "type": "text" + }, + { + "bbox": [ + 231, + 429, + 268, + 439 + ], + "score": 0.83, + "content": "2 2 4 \\mathbf { x } 2 2 4", + "type": "inline_equation" + }, + { + "bbox": [ + 268, + 428, + 466, + 441 + ], + "score": 1.0, + "content": "pixels center cropped from resized images with", + "type": "text" + }, + { + "bbox": [ + 467, + 428, + 505, + 439 + ], + "score": 0.63, + "content": "2 5 6 \\times 2 5 6", + "type": "inline_equation" + } + ], + "index": 5 + }, + { + "bbox": [ + 105, + 440, + 505, + 451 + ], + "spans": [ + { + "bbox": [ + 105, + 440, + 423, + 451 + ], + "score": 1.0, + "content": "pixels. M.S.Out. stands for whether the model is designed for multi-scale output.", + "type": "text" + }, + { + "bbox": [ + 424, + 440, + 430, + 451 + ], + "score": 0.36, + "content": "\\dagger", + "type": "inline_equation" + }, + { + "bbox": [ + 430, + 440, + 505, + 451 + ], + "score": 1.0, + "content": ": Corrected FLOPs", + "type": "text" + } + ], + "index": 6 + }, + { + "bbox": [ + 105, + 450, + 491, + 464 + ], + "spans": [ + { + "bbox": [ + 105, + 450, + 491, + 464 + ], + "score": 1.0, + "content": "by taking into account the cost of attention matrix multiplication overlooked in the origin paper.", + "type": "text" + } + ], + "index": 7 + } + ], + "index": 5.5 + } + ], + "index": 2 + }, + { + "type": "text", + "bbox": [ + 107, + 473, + 505, + 572 + ], + "lines": [ + { + "bbox": [ + 106, + 474, + 505, + 486 + ], + "spans": [ + { + "bbox": [ + 106, + 474, + 505, + 486 + ], + "score": 1.0, + "content": "We compare with state-of-the-art alternatives and report the top-1 accuracy on the ImageNet-1K", + "type": "text" + } + ], + "index": 8 + }, + { + "bbox": [ + 104, + 482, + 507, + 498 + ], + "spans": [ + { + "bbox": [ + 104, + 482, + 507, + 498 + ], + "score": 1.0, + "content": "validation set. FLOPs are calculated at batch size 1024. From Figure 1a and Table 3, the following", + "type": "text" + } + ], + "index": 9 + }, + { + "bbox": [ + 106, + 496, + 506, + 507 + ], + "spans": [ + { + "bbox": [ + 106, + 496, + 506, + 507 + ], + "score": 1.0, + "content": "observations are made: (i) Overall, ViT and its variants yield better classification accuracy over CNNs.", + "type": "text" + } + ], + "index": 10 + }, + { + "bbox": [ + 105, + 506, + 506, + 518 + ], + "spans": [ + { + "bbox": [ + 105, + 506, + 506, + 518 + ], + "score": 1.0, + "content": "(ii) We achieve the best performance among the recent pure vision Transformer based methods", + "type": "text" + } + ], + "index": 11 + }, + { + "bbox": [ + 106, + 517, + 506, + 530 + ], + "spans": [ + { + "bbox": [ + 106, + 517, + 506, + 530 + ], + "score": 1.0, + "content": "including ViT [11] and DeiT [31], as well as the state-of-the-art CNN RegNet [26]. (iii) Our SOFT", + "type": "text" + } + ], + "index": 12 + }, + { + "bbox": [ + 105, + 528, + 506, + 540 + ], + "spans": [ + { + "bbox": [ + 105, + 528, + 506, + 540 + ], + "score": 1.0, + "content": "outperforms the most similar (in architecture configuration) Transformer counterparts PVT [35] at all", + "type": "text" + } + ], + "index": 13 + }, + { + "bbox": [ + 106, + 540, + 505, + 550 + ], + "spans": [ + { + "bbox": [ + 106, + 540, + 505, + 550 + ], + "score": 1.0, + "content": "variants. Since the attention module is the main difference, this validates directly the effectiveness of", + "type": "text" + } + ], + "index": 14 + }, + { + "bbox": [ + 106, + 549, + 505, + 562 + ], + "spans": [ + { + "bbox": [ + 106, + 549, + 505, + 562 + ], + "score": 1.0, + "content": "our model. (iv) We can also beat the latest ViT variants Twins [6] which is designed to address the", + "type": "text" + } + ], + "index": 15 + }, + { + "bbox": [ + 105, + 560, + 506, + 573 + ], + "spans": [ + { + "bbox": [ + 105, + 560, + 506, + 573 + ], + "score": 1.0, + "content": "efficiency limitation of ViT. We have done so with less parameters and fewer float point computation.", + "type": "text" + } + ], + "index": 16 + } + ], + "index": 12, + "bbox_fs": [ + 104, + 474, + 507, + 573 + ] + }, + { + "type": "text", + "bbox": [ + 107, + 577, + 505, + 665 + ], + "lines": [ + { + "bbox": [ + 105, + 577, + 505, + 589 + ], + "spans": [ + { + "bbox": [ + 105, + 577, + 505, + 589 + ], + "score": 1.0, + "content": "To gain some insights into how attention is learned using our SOFT and the alternatives, Figure 3", + "type": "text" + } + ], + "index": 17 + }, + { + "bbox": [ + 106, + 588, + 505, + 600 + ], + "spans": [ + { + "bbox": [ + 106, + 588, + 505, + 600 + ], + "score": 1.0, + "content": "shows the attention masks of various compared models. For each model, we show the output from the", + "type": "text" + } + ], + "index": 18 + }, + { + "bbox": [ + 105, + 598, + 505, + 611 + ], + "spans": [ + { + "bbox": [ + 105, + 598, + 505, + 611 + ], + "score": 1.0, + "content": "first two attention heads. It is evident that SOFT exhibits robustness and versatility in capturing local", + "type": "text" + } + ], + "index": 19 + }, + { + "bbox": [ + 105, + 610, + 505, + 622 + ], + "spans": [ + { + "bbox": [ + 105, + 610, + 505, + 622 + ], + "score": 1.0, + "content": "and long distance relations among pixels. It is interesting to note that, although SOFT is trained on", + "type": "text" + } + ], + "index": 20 + }, + { + "bbox": [ + 105, + 620, + 505, + 633 + ], + "spans": [ + { + "bbox": [ + 105, + 620, + 505, + 633 + ], + "score": 1.0, + "content": "an object categorization dataset in ImageNet [9], it seems to be able to learn both semantic concepts", + "type": "text" + } + ], + "index": 21 + }, + { + "bbox": [ + 105, + 631, + 505, + 644 + ], + "spans": [ + { + "bbox": [ + 105, + 631, + 505, + 644 + ], + "score": 1.0, + "content": "shared across instances in the same category and instance specific features. For instance, in the", + "type": "text" + } + ], + "index": 22 + }, + { + "bbox": [ + 105, + 643, + 505, + 655 + ], + "spans": [ + { + "bbox": [ + 105, + 643, + 505, + 655 + ], + "score": 1.0, + "content": "bottom-right example of a bird class, one attention head focuses on the black bird only, while the", + "type": "text" + } + ], + "index": 23 + }, + { + "bbox": [ + 106, + 653, + 464, + 666 + ], + "spans": [ + { + "bbox": [ + 106, + 653, + 464, + 666 + ], + "score": 1.0, + "content": "other attend to both birds in the image. More examples are shown in Supplementary A.4.", + "type": "text" + } + ], + "index": 24 + } + ], + "index": 20.5, + "bbox_fs": [ + 105, + 577, + 505, + 666 + ] + }, + { + "type": "title", + "bbox": [ + 107, + 679, + 199, + 690 + ], + "lines": [ + { + "bbox": [ + 106, + 678, + 200, + 692 + ], + "spans": [ + { + "bbox": [ + 106, + 678, + 200, + 692 + ], + "score": 1.0, + "content": "4.4 Ablation studies", + "type": "text" + } + ], + "index": 25 + } + ], + "index": 25 + }, + { + "type": "text", + "bbox": [ + 107, + 700, + 503, + 722 + ], + "lines": [ + { + "bbox": [ + 106, + 700, + 505, + 712 + ], + "spans": [ + { + "bbox": [ + 106, + 700, + 505, + 712 + ], + "score": 1.0, + "content": "Pyramidal architecture: Unlike the earlier non-pyramidal vision Transformers (e.g., ViT [11]),", + "type": "text" + } + ], + "index": 26 + }, + { + "bbox": [ + 105, + 710, + 505, + 723 + ], + "spans": [ + { + "bbox": [ + 105, + 710, + 505, + 723 + ], + "score": 1.0, + "content": "most recent pyramidal (multi-scale) Transformers (e.g., PVT [35]) use convolution layers to reduce", + "type": "text" + } + ], + "index": 27 + }, + { + "bbox": [ + 106, + 234, + 506, + 248 + ], + "spans": [ + { + "bbox": [ + 106, + 234, + 506, + 248 + ], + "score": 1.0, + "content": "the spatial resolution (i.e., token sequence length) between stages. In this study, we ablate SOFT", + "type": "text", + "cross_page": true + } + ], + "index": 6 + }, + { + "bbox": [ + 105, + 246, + 505, + 258 + ], + "spans": [ + { + "bbox": [ + 105, + 246, + 505, + 258 + ], + "score": 1.0, + "content": "with a pyramidal architecture (our default SOFT-Small), SOFT w/o a pyramidal architecture and", + "type": "text", + "cross_page": true + } + ], + "index": 7 + }, + { + "bbox": [ + 104, + 255, + 506, + 270 + ], + "spans": [ + { + "bbox": [ + 104, + 255, + 506, + 270 + ], + "score": 1.0, + "content": "DeiT-S [31] (no pyramidal architecture either). We replace the Transformer layer with a SOFT layer", + "type": "text", + "cross_page": true + } + ], + "index": 8 + }, + { + "bbox": [ + 105, + 268, + 506, + 280 + ], + "spans": [ + { + "bbox": [ + 105, + 268, + 506, + 280 + ], + "score": 1.0, + "content": "to get SOFT w/o a pyramidal architecture. Note all three variants have similar parameters and FLOPs.", + "type": "text", + "cross_page": true + } + ], + "index": 9 + }, + { + "bbox": [ + 105, + 278, + 506, + 291 + ], + "spans": [ + { + "bbox": [ + 105, + 278, + 506, + 291 + ], + "score": 1.0, + "content": "Table 5a shows that the conv-based pyramidal architecture is clearly superior to a non-pyramidal", + "type": "text", + "cross_page": true + } + ], + "index": 10 + }, + { + "bbox": [ + 104, + 288, + 506, + 303 + ], + "spans": [ + { + "bbox": [ + 104, + 288, + 506, + 303 + ], + "score": 1.0, + "content": "design, and our non-pyramidal counterpart is even slightly better than DeiT-S [31] whilst enjoying", + "type": "text", + "cross_page": true + } + ], + "index": 11 + }, + { + "bbox": [ + 105, + 300, + 180, + 314 + ], + "spans": [ + { + "bbox": [ + 105, + 300, + 180, + 314 + ], + "score": 1.0, + "content": "linear complexity.", + "type": "text", + "cross_page": true + } + ], + "index": 12 + } + ], + "index": 26.5, + "bbox_fs": [ + 105, + 700, + 505, + 723 + ] + } + ] + }, + { + "preproc_blocks": [ + { + "type": "image", + "bbox": [ + 106, + 70, + 504, + 178 + ], + "blocks": [ + { + "type": "image_body", + "bbox": [ + 106, + 70, + 504, + 178 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 106, + 70, + 504, + 178 + ], + "spans": [ + { + "bbox": [ + 106, + 70, + 504, + 178 + ], + "score": 0.973, + "type": "image", + "image_path": "ba1cc7f375109b1a9c853ea1e695d3d9ff9f26f47d03e1607618e0f607e93b6d.jpg" + } + ] + } + ], + "index": 1, + "virtual_lines": [ + { + "bbox": [ + 106, + 70, + 504, + 106.0 + ], + "spans": [], + "index": 0 + }, + { + "bbox": [ + 106, + 106.0, + 504, + 142.0 + ], + "spans": [], + "index": 1 + }, + { + "bbox": [ + 106, + 142.0, + 504, + 178.0 + ], + "spans": [], + "index": 2 + } + ] + }, + { + "type": "image_caption", + "bbox": [ + 106, + 185, + 505, + 219 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 106, + 185, + 505, + 198 + ], + "spans": [ + { + "bbox": [ + 106, + 185, + 430, + 198 + ], + "score": 1.0, + "content": "Figure 3: Comparing the attention heatmaps of a query patch (marked by the cross", + "type": "text" + }, + { + "bbox": [ + 430, + 186, + 444, + 196 + ], + "score": 0.59, + "content": "\" + \"", + "type": "inline_equation" + }, + { + "bbox": [ + 444, + 185, + 505, + 198 + ], + "score": 1.0, + "content": ") against all the", + "type": "text" + } + ], + "index": 3 + }, + { + "bbox": [ + 105, + 196, + 505, + 209 + ], + "spans": [ + { + "bbox": [ + 105, + 196, + 505, + 209 + ], + "score": 1.0, + "content": "patches of an image, produced by (a) Transformer [33], (b) Performer [5], (c) Nystromformer [39]", + "type": "text" + } + ], + "index": 4 + }, + { + "bbox": [ + 106, + 207, + 360, + 219 + ], + "spans": [ + { + "bbox": [ + 106, + 207, + 360, + 219 + ], + "score": 1.0, + "content": "and (d) Our SOFT. See Supplementary A.4 for more examples.", + "type": "text" + } + ], + "index": 5 + } + ], + "index": 4 + }, + { + "type": "image_caption", + "bbox": [ + 110, + 701, + 498, + 712 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 111, + 699, + 498, + 714 + ], + "spans": [ + { + "bbox": [ + 111, + 699, + 498, + 714 + ], + "score": 1.0, + "content": "Table 4: (a) Ablations on bottleneck token sequence length. (b) Ablations on sampling methods.", + "type": "text" + } + ], + "index": 60 + } + ], + "index": 60 + } + ], + "index": 4 + }, + { + "type": "text", + "bbox": [ + 106, + 235, + 506, + 312 + ], + "lines": [ + { + "bbox": [ + 106, + 234, + 506, + 248 + ], + "spans": [ + { + "bbox": [ + 106, + 234, + 506, + 248 + ], + "score": 1.0, + "content": "the spatial resolution (i.e., token sequence length) between stages. In this study, we ablate SOFT", + "type": "text" + } + ], + "index": 6 + }, + { + "bbox": [ + 105, + 246, + 505, + 258 + ], + "spans": [ + { + "bbox": [ + 105, + 246, + 505, + 258 + ], + "score": 1.0, + "content": "with a pyramidal architecture (our default SOFT-Small), SOFT w/o a pyramidal architecture and", + "type": "text" + } + ], + "index": 7 + }, + { + "bbox": [ + 104, + 255, + 506, + 270 + ], + "spans": [ + { + "bbox": [ + 104, + 255, + 506, + 270 + ], + "score": 1.0, + "content": "DeiT-S [31] (no pyramidal architecture either). We replace the Transformer layer with a SOFT layer", + "type": "text" + } + ], + "index": 8 + }, + { + "bbox": [ + 105, + 268, + 506, + 280 + ], + "spans": [ + { + "bbox": [ + 105, + 268, + 506, + 280 + ], + "score": 1.0, + "content": "to get SOFT w/o a pyramidal architecture. Note all three variants have similar parameters and FLOPs.", + "type": "text" + } + ], + "index": 9 + }, + { + "bbox": [ + 105, + 278, + 506, + 291 + ], + "spans": [ + { + "bbox": [ + 105, + 278, + 506, + 291 + ], + "score": 1.0, + "content": "Table 5a shows that the conv-based pyramidal architecture is clearly superior to a non-pyramidal", + "type": "text" + } + ], + "index": 10 + }, + { + "bbox": [ + 104, + 288, + 506, + 303 + ], + "spans": [ + { + "bbox": [ + 104, + 288, + 506, + 303 + ], + "score": 1.0, + "content": "design, and our non-pyramidal counterpart is even slightly better than DeiT-S [31] whilst enjoying", + "type": "text" + } + ], + "index": 11 + }, + { + "bbox": [ + 105, + 300, + 180, + 314 + ], + "spans": [ + { + "bbox": [ + 105, + 300, + 180, + 314 + ], + "score": 1.0, + "content": "linear complexity.", + "type": "text" + } + ], + "index": 12 + } + ], + "index": 9 + }, + { + "type": "text", + "bbox": [ + 107, + 329, + 297, + 449 + ], + "lines": [ + { + "bbox": [ + 106, + 329, + 297, + 340 + ], + "spans": [ + { + "bbox": [ + 106, + 329, + 297, + 340 + ], + "score": 1.0, + "content": "Bottleneck token sequence length: In this", + "type": "text" + } + ], + "index": 13 + }, + { + "bbox": [ + 105, + 340, + 299, + 352 + ], + "spans": [ + { + "bbox": [ + 105, + 340, + 299, + 352 + ], + "score": 1.0, + "content": "study, we examine how the bottleneck token se-", + "type": "text" + } + ], + "index": 14 + }, + { + "bbox": [ + 106, + 351, + 298, + 362 + ], + "spans": [ + { + "bbox": [ + 106, + 351, + 164, + 362 + ], + "score": 1.0, + "content": "quence length", + "type": "text" + }, + { + "bbox": [ + 164, + 353, + 174, + 361 + ], + "score": 0.67, + "content": "m", + "type": "inline_equation" + }, + { + "bbox": [ + 175, + 351, + 235, + 362 + ], + "score": 1.0, + "content": ", sampled from", + "type": "text" + }, + { + "bbox": [ + 235, + 353, + 243, + 361 + ], + "score": 0.69, + "content": "n", + "type": "inline_equation" + }, + { + "bbox": [ + 243, + 351, + 298, + 362 + ], + "score": 1.0, + "content": "tokens, influ-", + "type": "text" + } + ], + "index": 15 + }, + { + "bbox": [ + 105, + 362, + 297, + 374 + ], + "spans": [ + { + "bbox": [ + 105, + 362, + 297, + 374 + ], + "score": 1.0, + "content": "ences the model’s performance. We change the", + "type": "text" + } + ], + "index": 16 + }, + { + "bbox": [ + 105, + 372, + 298, + 385 + ], + "spans": [ + { + "bbox": [ + 105, + 372, + 298, + 385 + ], + "score": 1.0, + "content": "bottleneck token sequence length in all stages to", + "type": "text" + } + ], + "index": 17 + }, + { + "bbox": [ + 105, + 383, + 298, + 395 + ], + "spans": [ + { + "bbox": [ + 105, + 383, + 298, + 395 + ], + "score": 1.0, + "content": "36, 49, 64, 81. Table 4a shows that longer bottle-", + "type": "text" + } + ], + "index": 18 + }, + { + "bbox": [ + 105, + 394, + 297, + 406 + ], + "spans": [ + { + "bbox": [ + 105, + 394, + 297, + 406 + ], + "score": 1.0, + "content": "neck token would increase the memory cost and", + "type": "text" + } + ], + "index": 19 + }, + { + "bbox": [ + 106, + 405, + 297, + 417 + ], + "spans": [ + { + "bbox": [ + 106, + 405, + 224, + 417 + ], + "score": 1.0, + "content": "the computational overhead.", + "type": "text" + }, + { + "bbox": [ + 225, + 406, + 258, + 416 + ], + "score": 0.89, + "content": "m = 4 9", + "type": "inline_equation" + }, + { + "bbox": [ + 259, + 405, + 297, + 417 + ], + "score": 1.0, + "content": "seems to", + "type": "text" + } + ], + "index": 20 + }, + { + "bbox": [ + 105, + 416, + 298, + 429 + ], + "spans": [ + { + "bbox": [ + 105, + 416, + 298, + 429 + ], + "score": 1.0, + "content": "give the best trade-off between the performance", + "type": "text" + } + ], + "index": 21 + }, + { + "bbox": [ + 106, + 427, + 299, + 439 + ], + "spans": [ + { + "bbox": [ + 106, + 427, + 299, + 439 + ], + "score": 1.0, + "content": "and computational overhead. The memory us-", + "type": "text" + } + ], + "index": 22 + }, + { + "bbox": [ + 105, + 438, + 280, + 449 + ], + "spans": [ + { + "bbox": [ + 105, + 438, + 280, + 449 + ], + "score": 1.0, + "content": "age is measured with the batch size of 128.", + "type": "text" + } + ], + "index": 23 + } + ], + "index": 18 + }, + { + "type": "text", + "bbox": [ + 106, + 466, + 297, + 533 + ], + "lines": [ + { + "bbox": [ + 106, + 466, + 297, + 478 + ], + "spans": [ + { + "bbox": [ + 106, + 466, + 297, + 478 + ], + "score": 1.0, + "content": "Token sampling: The sampling function in", + "type": "text" + } + ], + "index": 24 + }, + { + "bbox": [ + 106, + 477, + 298, + 489 + ], + "spans": [ + { + "bbox": [ + 106, + 477, + 298, + 489 + ], + "score": 1.0, + "content": "SOFT can assume different forms. Convolu-", + "type": "text" + } + ], + "index": 25 + }, + { + "bbox": [ + 105, + 486, + 298, + 501 + ], + "spans": [ + { + "bbox": [ + 105, + 486, + 185, + 501 + ], + "score": 1.0, + "content": "tion: The sequence", + "type": "text" + }, + { + "bbox": [ + 185, + 488, + 232, + 498 + ], + "score": 0.9, + "content": "Q \\in \\mathbb { R } ^ { n \\times d _ { e } }", + "type": "inline_equation" + }, + { + "bbox": [ + 232, + 486, + 298, + 501 + ], + "score": 1.0, + "content": "is first reshaped", + "type": "text" + } + ], + "index": 26 + }, + { + "bbox": [ + 104, + 495, + 299, + 513 + ], + "spans": [ + { + "bbox": [ + 104, + 495, + 174, + 513 + ], + "score": 1.0, + "content": "to a feature map", + "type": "text" + }, + { + "bbox": [ + 174, + 498, + 218, + 509 + ], + "score": 0.88, + "content": "\\mathbb { R } ^ { H \\times W \\times d _ { e } }", + "type": "inline_equation" + }, + { + "bbox": [ + 218, + 495, + 222, + 513 + ], + "score": 1.0, + "content": ".", + "type": "text" + }, + { + "bbox": [ + 223, + 500, + 246, + 510 + ], + "score": 0.88, + "content": "r \\times r", + "type": "inline_equation" + }, + { + "bbox": [ + 246, + 495, + 299, + 513 + ], + "score": 1.0, + "content": "convolution", + "type": "text" + } + ], + "index": 27 + }, + { + "bbox": [ + 105, + 509, + 298, + 523 + ], + "spans": [ + { + "bbox": [ + 105, + 509, + 191, + 523 + ], + "score": 1.0, + "content": "kernel with stride of", + "type": "text" + }, + { + "bbox": [ + 191, + 512, + 197, + 520 + ], + "score": 0.78, + "content": "r", + "type": "inline_equation" + }, + { + "bbox": [ + 197, + 509, + 298, + 523 + ], + "score": 1.0, + "content": "is applied for downsam-", + "type": "text" + } + ], + "index": 28 + }, + { + "bbox": [ + 106, + 521, + 297, + 534 + ], + "spans": [ + { + "bbox": [ + 106, + 521, + 158, + 534 + ], + "score": 1.0, + "content": "pling, where", + "type": "text" + }, + { + "bbox": [ + 159, + 522, + 196, + 534 + ], + "score": 0.93, + "content": "r = { \\sqrt { s p } }", + "type": "inline_equation" + }, + { + "bbox": [ + 196, + 521, + 297, + 534 + ], + "score": 1.0, + "content": ". The output channel size", + "type": "text" + } + ], + "index": 29 + } + ], + "index": 26.5 + }, + { + "type": "image", + "bbox": [ + 306, + 345, + 500, + 492 + ], + "blocks": [ + { + "type": "image_body", + "bbox": [ + 306, + 345, + 500, + 492 + ], + "group_id": 1, + "lines": [ + { + "bbox": [ + 306, + 345, + 500, + 492 + ], + "spans": [ + { + "bbox": [ + 306, + 345, + 500, + 492 + ], + "score": 0.968, + "type": "image", + "image_path": "c9c7de6be748dad76a096a1e9a90a389125480abe192a9bc5a1eeba7f1b7e704.jpg" + } + ] + } + ], + "index": 35, + "virtual_lines": [ + { + "bbox": [ + 306, + 345, + 500, + 358.3636363636364 + ], + "spans": [], + "index": 30 + }, + { + "bbox": [ + 306, + 358.3636363636364, + 500, + 371.72727272727275 + ], + "spans": [], + "index": 31 + }, + { + "bbox": [ + 306, + 371.72727272727275, + 500, + 385.0909090909091 + ], + "spans": [], + "index": 32 + }, + { + "bbox": [ + 306, + 385.0909090909091, + 500, + 398.4545454545455 + ], + "spans": [], + "index": 33 + }, + { + "bbox": [ + 306, + 398.4545454545455, + 500, + 411.81818181818187 + ], + "spans": [], + "index": 34 + }, + { + "bbox": [ + 306, + 411.81818181818187, + 500, + 425.18181818181824 + ], + "spans": [], + "index": 35 + }, + { + "bbox": [ + 306, + 425.18181818181824, + 500, + 438.5454545454546 + ], + "spans": [], + "index": 36 + }, + { + "bbox": [ + 306, + 438.5454545454546, + 500, + 451.909090909091 + ], + "spans": [], + "index": 37 + }, + { + "bbox": [ + 306, + 451.909090909091, + 500, + 465.27272727272737 + ], + "spans": [], + "index": 38 + }, + { + "bbox": [ + 306, + 465.27272727272737, + 500, + 478.63636363636374 + ], + "spans": [], + "index": 39 + }, + { + "bbox": [ + 306, + 478.63636363636374, + 500, + 492.0000000000001 + ], + "spans": [], + "index": 40 + } + ] + }, + { + "type": "image_caption", + "bbox": [ + 303, + 497, + 505, + 520 + ], + "group_id": 1, + "lines": [ + { + "bbox": [ + 303, + 497, + 506, + 510 + ], + "spans": [ + { + "bbox": [ + 303, + 497, + 506, + 510 + ], + "score": 1.0, + "content": "Figure 4: Convergence analysis for the approxima-", + "type": "text" + } + ], + "index": 41 + }, + { + "bbox": [ + 303, + 507, + 505, + 522 + ], + "spans": [ + { + "bbox": [ + 303, + 507, + 505, + 522 + ], + "score": 1.0, + "content": "tion of the Moore-Penrose inverse on SOFT-Tiny.", + "type": "text" + } + ], + "index": 42 + } + ], + "index": 41.5 + } + ], + "index": 38.25 + }, + { + "type": "text", + "bbox": [ + 106, + 532, + 506, + 609 + ], + "lines": [ + { + "bbox": [ + 104, + 530, + 506, + 545 + ], + "spans": [ + { + "bbox": [ + 104, + 530, + 506, + 545 + ], + "score": 1.0, + "content": "is also kept and no bias is used. At last, the feature map is reshaped back to the sequence. Average", + "type": "text" + } + ], + "index": 43 + }, + { + "bbox": [ + 105, + 543, + 505, + 556 + ], + "spans": [ + { + "bbox": [ + 105, + 543, + 178, + 556 + ], + "score": 1.0, + "content": "pooling: using a", + "type": "text" + }, + { + "bbox": [ + 179, + 544, + 203, + 554 + ], + "score": 0.89, + "content": "r \\times r", + "type": "inline_equation" + }, + { + "bbox": [ + 203, + 543, + 250, + 556 + ], + "score": 1.0, + "content": "kernel and", + "type": "text" + }, + { + "bbox": [ + 251, + 545, + 258, + 553 + ], + "score": 0.73, + "content": "r", + "type": "inline_equation" + }, + { + "bbox": [ + 258, + 543, + 315, + 556 + ], + "score": 1.0, + "content": "stride, where", + "type": "text" + }, + { + "bbox": [ + 316, + 543, + 356, + 555 + ], + "score": 0.92, + "content": "r = { \\sqrt { s p } }", + "type": "inline_equation" + }, + { + "bbox": [ + 356, + 543, + 448, + 556 + ], + "score": 1.0, + "content": ". Random sampling:", + "type": "text" + }, + { + "bbox": [ + 448, + 545, + 459, + 553 + ], + "score": 0.63, + "content": "m", + "type": "inline_equation" + }, + { + "bbox": [ + 459, + 543, + 505, + 556 + ], + "score": 1.0, + "content": "tokens are", + "type": "text" + } + ], + "index": 44 + }, + { + "bbox": [ + 104, + 553, + 506, + 567 + ], + "spans": [ + { + "bbox": [ + 104, + 553, + 200, + 567 + ], + "score": 1.0, + "content": "randomly picked from", + "type": "text" + }, + { + "bbox": [ + 200, + 556, + 208, + 564 + ], + "score": 0.72, + "content": "n", + "type": "inline_equation" + }, + { + "bbox": [ + 208, + 553, + 353, + 567 + ], + "score": 1.0, + "content": "tokens. Biased sampling: We pick", + "type": "text" + }, + { + "bbox": [ + 354, + 556, + 364, + 564 + ], + "score": 0.74, + "content": "m", + "type": "inline_equation" + }, + { + "bbox": [ + 364, + 553, + 506, + 567 + ], + "score": 1.0, + "content": "tokens with a biased policy. Here,", + "type": "text" + } + ], + "index": 45 + }, + { + "bbox": [ + 105, + 564, + 505, + 577 + ], + "spans": [ + { + "bbox": [ + 105, + 564, + 138, + 577 + ], + "score": 1.0, + "content": "the first", + "type": "text" + }, + { + "bbox": [ + 139, + 566, + 149, + 575 + ], + "score": 0.77, + "content": "m", + "type": "inline_equation" + }, + { + "bbox": [ + 149, + 564, + 248, + 577 + ], + "score": 1.0, + "content": "tokens are picked. Table", + "type": "text" + }, + { + "bbox": [ + 248, + 565, + 260, + 575 + ], + "score": 0.33, + "content": "^ \\mathrm { 4 b }", + "type": "inline_equation" + }, + { + "bbox": [ + 260, + 564, + 505, + 577 + ], + "score": 1.0, + "content": "shows that average pooling yields the best performance while", + "type": "text" + } + ], + "index": 46 + }, + { + "bbox": [ + 105, + 575, + 506, + 589 + ], + "spans": [ + { + "bbox": [ + 105, + 575, + 506, + 589 + ], + "score": 1.0, + "content": "with less computational overhead comparing to convolution. Biased sampling can miss the most", + "type": "text" + } + ], + "index": 47 + }, + { + "bbox": [ + 105, + 586, + 506, + 599 + ], + "spans": [ + { + "bbox": [ + 105, + 586, + 506, + 599 + ], + "score": 1.0, + "content": "salient samples, and there is no guarantee that random sampling can keep the uniformity of the chosen", + "type": "text" + } + ], + "index": 48 + }, + { + "bbox": [ + 105, + 597, + 425, + 610 + ], + "spans": [ + { + "bbox": [ + 105, + 597, + 425, + 610 + ], + "score": 1.0, + "content": "samples. This result thus justifies the choice of using average pooling in SOFT.", + "type": "text" + } + ], + "index": 49 + } + ], + "index": 46 + }, + { + "type": "table", + "bbox": [ + 114, + 632, + 289, + 699 + ], + "blocks": [ + { + "type": "table_body", + "bbox": [ + 114, + 632, + 289, + 699 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 114, + 632, + 289, + 699 + ], + "spans": [ + { + "bbox": [ + 114, + 632, + 289, + 699 + ], + "score": 0.964, + "html": "
BottleneckMemoryFLOPsTop-1 %
3615.1GB1.9G79.0
4915.8GB1.9G79.3
6416.9GB2.0G79.3
8118.5GB2.1G78.9
", + "type": "table", + "image_path": "03b677bfb67adb0e93773d7c1a790c36fbebb0280889281125037505bb101d41.jpg" + } + ] + } + ], + "index": 52, + "virtual_lines": [ + { + "bbox": [ + 114, + 632, + 289, + 645.4 + ], + "spans": [], + "index": 50 + }, + { + "bbox": [ + 114, + 645.4, + 289, + 658.8 + ], + "spans": [], + "index": 51 + }, + { + "bbox": [ + 114, + 658.8, + 289, + 672.1999999999999 + ], + "spans": [], + "index": 52 + }, + { + "bbox": [ + 114, + 672.1999999999999, + 289, + 685.5999999999999 + ], + "spans": [], + "index": 53 + }, + { + "bbox": [ + 114, + 685.5999999999999, + 289, + 698.9999999999999 + ], + "spans": [], + "index": 54 + } + ] + } + ], + "index": 52 + }, + { + "type": "table", + "bbox": [ + 299, + 632, + 503, + 699 + ], + "blocks": [ + { + "type": "table_body", + "bbox": [ + 299, + 632, + 503, + 699 + ], + "group_id": 1, + "lines": [ + { + "bbox": [ + 299, + 632, + 503, + 699 + ], + "spans": [ + { + "bbox": [ + 299, + 632, + 503, + 699 + ], + "score": 0.963, + "html": "
Sampling methods|ParamsFLOPsTop-1 %
Convolution13.07M2.0G79.3
Random sampling12.96M1.9G79.3
Biased sampling12.96M1.9G79.0
Average pooling12.96M1.9G79.3
", + "type": "table", + "image_path": "ae00187080c38f62be99fe513b6d16106c1ff0afd29088a754dcd7dbb98b27d9.jpg" + } + ] + } + ], + "index": 57, + "virtual_lines": [ + { + "bbox": [ + 299, + 632, + 503, + 645.4 + ], + "spans": [], + "index": 55 + }, + { + "bbox": [ + 299, + 645.4, + 503, + 658.8 + ], + "spans": [], + "index": 56 + }, + { + "bbox": [ + 299, + 658.8, + 503, + 672.1999999999999 + ], + "spans": [], + "index": 57 + }, + { + "bbox": [ + 299, + 672.1999999999999, + 503, + 685.5999999999999 + ], + "spans": [], + "index": 58 + }, + { + "bbox": [ + 299, + 685.5999999999999, + 503, + 698.9999999999999 + ], + "spans": [], + "index": 59 + } + ] + } + ], + "index": 57 + } + ], + "page_idx": 8, + "page_size": [ + 612, + 792 + ], + "discarded_blocks": [ + { + "type": "discarded", + "bbox": [ + 302, + 741, + 309, + 750 + ], + "lines": [ + { + "bbox": [ + 302, + 741, + 309, + 752 + ], + "spans": [ + { + "bbox": [ + 302, + 741, + 309, + 752 + ], + "score": 1.0, + "content": "9", + "type": "text" + } + ] + } + ] + } + ], + "para_blocks": [ + { + "type": "image", + "bbox": [ + 106, + 70, + 504, + 178 + ], + "blocks": [ + { + "type": "image_body", + "bbox": [ + 106, + 70, + 504, + 178 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 106, + 70, + 504, + 178 + ], + "spans": [ + { + "bbox": [ + 106, + 70, + 504, + 178 + ], + "score": 0.973, + "type": "image", + "image_path": "ba1cc7f375109b1a9c853ea1e695d3d9ff9f26f47d03e1607618e0f607e93b6d.jpg" + } + ] + } + ], + "index": 1, + "virtual_lines": [ + { + "bbox": [ + 106, + 70, + 504, + 106.0 + ], + "spans": [], + "index": 0 + }, + { + "bbox": [ + 106, + 106.0, + 504, + 142.0 + ], + "spans": [], + "index": 1 + }, + { + "bbox": [ + 106, + 142.0, + 504, + 178.0 + ], + "spans": [], + "index": 2 + } + ] + }, + { + "type": "image_caption", + "bbox": [ + 106, + 185, + 505, + 219 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 106, + 185, + 505, + 198 + ], + "spans": [ + { + "bbox": [ + 106, + 185, + 430, + 198 + ], + "score": 1.0, + "content": "Figure 3: Comparing the attention heatmaps of a query patch (marked by the cross", + "type": "text" + }, + { + "bbox": [ + 430, + 186, + 444, + 196 + ], + "score": 0.59, + "content": "\" + \"", + "type": "inline_equation" + }, + { + "bbox": [ + 444, + 185, + 505, + 198 + ], + "score": 1.0, + "content": ") against all the", + "type": "text" + } + ], + "index": 3 + }, + { + "bbox": [ + 105, + 196, + 505, + 209 + ], + "spans": [ + { + "bbox": [ + 105, + 196, + 505, + 209 + ], + "score": 1.0, + "content": "patches of an image, produced by (a) Transformer [33], (b) Performer [5], (c) Nystromformer [39]", + "type": "text" + } + ], + "index": 4 + }, + { + "bbox": [ + 106, + 207, + 360, + 219 + ], + "spans": [ + { + "bbox": [ + 106, + 207, + 360, + 219 + ], + "score": 1.0, + "content": "and (d) Our SOFT. See Supplementary A.4 for more examples.", + "type": "text" + } + ], + "index": 5 + } + ], + "index": 4 + }, + { + "type": "image_caption", + "bbox": [ + 110, + 701, + 498, + 712 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 111, + 699, + 498, + 714 + ], + "spans": [ + { + "bbox": [ + 111, + 699, + 498, + 714 + ], + "score": 1.0, + "content": "Table 4: (a) Ablations on bottleneck token sequence length. (b) Ablations on sampling methods.", + "type": "text" + } + ], + "index": 60 + } + ], + "index": 60 + } + ], + "index": 4 + }, + { + "type": "text", + "bbox": [ + 106, + 235, + 506, + 312 + ], + "lines": [], + "index": 9, + "bbox_fs": [ + 104, + 234, + 506, + 314 + ], + "lines_deleted": true + }, + { + "type": "text", + "bbox": [ + 107, + 329, + 297, + 449 + ], + "lines": [ + { + "bbox": [ + 106, + 329, + 297, + 340 + ], + "spans": [ + { + "bbox": [ + 106, + 329, + 297, + 340 + ], + "score": 1.0, + "content": "Bottleneck token sequence length: In this", + "type": "text" + } + ], + "index": 13 + }, + { + "bbox": [ + 105, + 340, + 299, + 352 + ], + "spans": [ + { + "bbox": [ + 105, + 340, + 299, + 352 + ], + "score": 1.0, + "content": "study, we examine how the bottleneck token se-", + "type": "text" + } + ], + "index": 14 + }, + { + "bbox": [ + 106, + 351, + 298, + 362 + ], + "spans": [ + { + "bbox": [ + 106, + 351, + 164, + 362 + ], + "score": 1.0, + "content": "quence length", + "type": "text" + }, + { + "bbox": [ + 164, + 353, + 174, + 361 + ], + "score": 0.67, + "content": "m", + "type": "inline_equation" + }, + { + "bbox": [ + 175, + 351, + 235, + 362 + ], + "score": 1.0, + "content": ", sampled from", + "type": "text" + }, + { + "bbox": [ + 235, + 353, + 243, + 361 + ], + "score": 0.69, + "content": "n", + "type": "inline_equation" + }, + { + "bbox": [ + 243, + 351, + 298, + 362 + ], + "score": 1.0, + "content": "tokens, influ-", + "type": "text" + } + ], + "index": 15 + }, + { + "bbox": [ + 105, + 362, + 297, + 374 + ], + "spans": [ + { + "bbox": [ + 105, + 362, + 297, + 374 + ], + "score": 1.0, + "content": "ences the model’s performance. We change the", + "type": "text" + } + ], + "index": 16 + }, + { + "bbox": [ + 105, + 372, + 298, + 385 + ], + "spans": [ + { + "bbox": [ + 105, + 372, + 298, + 385 + ], + "score": 1.0, + "content": "bottleneck token sequence length in all stages to", + "type": "text" + } + ], + "index": 17 + }, + { + "bbox": [ + 105, + 383, + 298, + 395 + ], + "spans": [ + { + "bbox": [ + 105, + 383, + 298, + 395 + ], + "score": 1.0, + "content": "36, 49, 64, 81. Table 4a shows that longer bottle-", + "type": "text" + } + ], + "index": 18 + }, + { + "bbox": [ + 105, + 394, + 297, + 406 + ], + "spans": [ + { + "bbox": [ + 105, + 394, + 297, + 406 + ], + "score": 1.0, + "content": "neck token would increase the memory cost and", + "type": "text" + } + ], + "index": 19 + }, + { + "bbox": [ + 106, + 405, + 297, + 417 + ], + "spans": [ + { + "bbox": [ + 106, + 405, + 224, + 417 + ], + "score": 1.0, + "content": "the computational overhead.", + "type": "text" + }, + { + "bbox": [ + 225, + 406, + 258, + 416 + ], + "score": 0.89, + "content": "m = 4 9", + "type": "inline_equation" + }, + { + "bbox": [ + 259, + 405, + 297, + 417 + ], + "score": 1.0, + "content": "seems to", + "type": "text" + } + ], + "index": 20 + }, + { + "bbox": [ + 105, + 416, + 298, + 429 + ], + "spans": [ + { + "bbox": [ + 105, + 416, + 298, + 429 + ], + "score": 1.0, + "content": "give the best trade-off between the performance", + "type": "text" + } + ], + "index": 21 + }, + { + "bbox": [ + 106, + 427, + 299, + 439 + ], + "spans": [ + { + "bbox": [ + 106, + 427, + 299, + 439 + ], + "score": 1.0, + "content": "and computational overhead. The memory us-", + "type": "text" + } + ], + "index": 22 + }, + { + "bbox": [ + 105, + 438, + 280, + 449 + ], + "spans": [ + { + "bbox": [ + 105, + 438, + 280, + 449 + ], + "score": 1.0, + "content": "age is measured with the batch size of 128.", + "type": "text" + } + ], + "index": 23 + } + ], + "index": 18, + "bbox_fs": [ + 105, + 329, + 299, + 449 + ] + }, + { + "type": "text", + "bbox": [ + 106, + 466, + 297, + 533 + ], + "lines": [ + { + "bbox": [ + 106, + 466, + 297, + 478 + ], + "spans": [ + { + "bbox": [ + 106, + 466, + 297, + 478 + ], + "score": 1.0, + "content": "Token sampling: The sampling function in", + "type": "text" + } + ], + "index": 24 + }, + { + "bbox": [ + 106, + 477, + 298, + 489 + ], + "spans": [ + { + "bbox": [ + 106, + 477, + 298, + 489 + ], + "score": 1.0, + "content": "SOFT can assume different forms. Convolu-", + "type": "text" + } + ], + "index": 25 + }, + { + "bbox": [ + 105, + 486, + 298, + 501 + ], + "spans": [ + { + "bbox": [ + 105, + 486, + 185, + 501 + ], + "score": 1.0, + "content": "tion: The sequence", + "type": "text" + }, + { + "bbox": [ + 185, + 488, + 232, + 498 + ], + "score": 0.9, + "content": "Q \\in \\mathbb { R } ^ { n \\times d _ { e } }", + "type": "inline_equation" + }, + { + "bbox": [ + 232, + 486, + 298, + 501 + ], + "score": 1.0, + "content": "is first reshaped", + "type": "text" + } + ], + "index": 26 + }, + { + "bbox": [ + 104, + 495, + 299, + 513 + ], + "spans": [ + { + "bbox": [ + 104, + 495, + 174, + 513 + ], + "score": 1.0, + "content": "to a feature map", + "type": "text" + }, + { + "bbox": [ + 174, + 498, + 218, + 509 + ], + "score": 0.88, + "content": "\\mathbb { R } ^ { H \\times W \\times d _ { e } }", + "type": "inline_equation" + }, + { + "bbox": [ + 218, + 495, + 222, + 513 + ], + "score": 1.0, + "content": ".", + "type": "text" + }, + { + "bbox": [ + 223, + 500, + 246, + 510 + ], + "score": 0.88, + "content": "r \\times r", + "type": "inline_equation" + }, + { + "bbox": [ + 246, + 495, + 299, + 513 + ], + "score": 1.0, + "content": "convolution", + "type": "text" + } + ], + "index": 27 + }, + { + "bbox": [ + 105, + 509, + 298, + 523 + ], + "spans": [ + { + "bbox": [ + 105, + 509, + 191, + 523 + ], + "score": 1.0, + "content": "kernel with stride of", + "type": "text" + }, + { + "bbox": [ + 191, + 512, + 197, + 520 + ], + "score": 0.78, + "content": "r", + "type": "inline_equation" + }, + { + "bbox": [ + 197, + 509, + 298, + 523 + ], + "score": 1.0, + "content": "is applied for downsam-", + "type": "text" + } + ], + "index": 28 + }, + { + "bbox": [ + 106, + 521, + 297, + 534 + ], + "spans": [ + { + "bbox": [ + 106, + 521, + 158, + 534 + ], + "score": 1.0, + "content": "pling, where", + "type": "text" + }, + { + "bbox": [ + 159, + 522, + 196, + 534 + ], + "score": 0.93, + "content": "r = { \\sqrt { s p } }", + "type": "inline_equation" + }, + { + "bbox": [ + 196, + 521, + 297, + 534 + ], + "score": 1.0, + "content": ". The output channel size", + "type": "text" + } + ], + "index": 29 + } + ], + "index": 26.5, + "bbox_fs": [ + 104, + 466, + 299, + 534 + ] + }, + { + "type": "image", + "bbox": [ + 306, + 345, + 500, + 492 + ], + "blocks": [ + { + "type": "image_body", + "bbox": [ + 306, + 345, + 500, + 492 + ], + "group_id": 1, + "lines": [ + { + "bbox": [ + 306, + 345, + 500, + 492 + ], + "spans": [ + { + "bbox": [ + 306, + 345, + 500, + 492 + ], + "score": 0.968, + "type": "image", + "image_path": "c9c7de6be748dad76a096a1e9a90a389125480abe192a9bc5a1eeba7f1b7e704.jpg" + } + ] + } + ], + "index": 35, + "virtual_lines": [ + { + "bbox": [ + 306, + 345, + 500, + 358.3636363636364 + ], + "spans": [], + "index": 30 + }, + { + "bbox": [ + 306, + 358.3636363636364, + 500, + 371.72727272727275 + ], + "spans": [], + "index": 31 + }, + { + "bbox": [ + 306, + 371.72727272727275, + 500, + 385.0909090909091 + ], + "spans": [], + "index": 32 + }, + { + "bbox": [ + 306, + 385.0909090909091, + 500, + 398.4545454545455 + ], + "spans": [], + "index": 33 + }, + { + "bbox": [ + 306, + 398.4545454545455, + 500, + 411.81818181818187 + ], + "spans": [], + "index": 34 + }, + { + "bbox": [ + 306, + 411.81818181818187, + 500, + 425.18181818181824 + ], + "spans": [], + "index": 35 + }, + { + "bbox": [ + 306, + 425.18181818181824, + 500, + 438.5454545454546 + ], + "spans": [], + "index": 36 + }, + { + "bbox": [ + 306, + 438.5454545454546, + 500, + 451.909090909091 + ], + "spans": [], + "index": 37 + }, + { + "bbox": [ + 306, + 451.909090909091, + 500, + 465.27272727272737 + ], + "spans": [], + "index": 38 + }, + { + "bbox": [ + 306, + 465.27272727272737, + 500, + 478.63636363636374 + ], + "spans": [], + "index": 39 + }, + { + "bbox": [ + 306, + 478.63636363636374, + 500, + 492.0000000000001 + ], + "spans": [], + "index": 40 + } + ] + }, + { + "type": "image_caption", + "bbox": [ + 303, + 497, + 505, + 520 + ], + "group_id": 1, + "lines": [ + { + "bbox": [ + 303, + 497, + 506, + 510 + ], + "spans": [ + { + "bbox": [ + 303, + 497, + 506, + 510 + ], + "score": 1.0, + "content": "Figure 4: Convergence analysis for the approxima-", + "type": "text" + } + ], + "index": 41 + }, + { + "bbox": [ + 303, + 507, + 505, + 522 + ], + "spans": [ + { + "bbox": [ + 303, + 507, + 505, + 522 + ], + "score": 1.0, + "content": "tion of the Moore-Penrose inverse on SOFT-Tiny.", + "type": "text" + } + ], + "index": 42 + } + ], + "index": 41.5 + } + ], + "index": 38.25 + }, + { + "type": "text", + "bbox": [ + 106, + 532, + 506, + 609 + ], + "lines": [ + { + "bbox": [ + 104, + 530, + 506, + 545 + ], + "spans": [ + { + "bbox": [ + 104, + 530, + 506, + 545 + ], + "score": 1.0, + "content": "is also kept and no bias is used. At last, the feature map is reshaped back to the sequence. Average", + "type": "text" + } + ], + "index": 43 + }, + { + "bbox": [ + 105, + 543, + 505, + 556 + ], + "spans": [ + { + "bbox": [ + 105, + 543, + 178, + 556 + ], + "score": 1.0, + "content": "pooling: using a", + "type": "text" + }, + { + "bbox": [ + 179, + 544, + 203, + 554 + ], + "score": 0.89, + "content": "r \\times r", + "type": "inline_equation" + }, + { + "bbox": [ + 203, + 543, + 250, + 556 + ], + "score": 1.0, + "content": "kernel and", + "type": "text" + }, + { + "bbox": [ + 251, + 545, + 258, + 553 + ], + "score": 0.73, + "content": "r", + "type": "inline_equation" + }, + { + "bbox": [ + 258, + 543, + 315, + 556 + ], + "score": 1.0, + "content": "stride, where", + "type": "text" + }, + { + "bbox": [ + 316, + 543, + 356, + 555 + ], + "score": 0.92, + "content": "r = { \\sqrt { s p } }", + "type": "inline_equation" + }, + { + "bbox": [ + 356, + 543, + 448, + 556 + ], + "score": 1.0, + "content": ". Random sampling:", + "type": "text" + }, + { + "bbox": [ + 448, + 545, + 459, + 553 + ], + "score": 0.63, + "content": "m", + "type": "inline_equation" + }, + { + "bbox": [ + 459, + 543, + 505, + 556 + ], + "score": 1.0, + "content": "tokens are", + "type": "text" + } + ], + "index": 44 + }, + { + "bbox": [ + 104, + 553, + 506, + 567 + ], + "spans": [ + { + "bbox": [ + 104, + 553, + 200, + 567 + ], + "score": 1.0, + "content": "randomly picked from", + "type": "text" + }, + { + "bbox": [ + 200, + 556, + 208, + 564 + ], + "score": 0.72, + "content": "n", + "type": "inline_equation" + }, + { + "bbox": [ + 208, + 553, + 353, + 567 + ], + "score": 1.0, + "content": "tokens. Biased sampling: We pick", + "type": "text" + }, + { + "bbox": [ + 354, + 556, + 364, + 564 + ], + "score": 0.74, + "content": "m", + "type": "inline_equation" + }, + { + "bbox": [ + 364, + 553, + 506, + 567 + ], + "score": 1.0, + "content": "tokens with a biased policy. Here,", + "type": "text" + } + ], + "index": 45 + }, + { + "bbox": [ + 105, + 564, + 505, + 577 + ], + "spans": [ + { + "bbox": [ + 105, + 564, + 138, + 577 + ], + "score": 1.0, + "content": "the first", + "type": "text" + }, + { + "bbox": [ + 139, + 566, + 149, + 575 + ], + "score": 0.77, + "content": "m", + "type": "inline_equation" + }, + { + "bbox": [ + 149, + 564, + 248, + 577 + ], + "score": 1.0, + "content": "tokens are picked. Table", + "type": "text" + }, + { + "bbox": [ + 248, + 565, + 260, + 575 + ], + "score": 0.33, + "content": "^ \\mathrm { 4 b }", + "type": "inline_equation" + }, + { + "bbox": [ + 260, + 564, + 505, + 577 + ], + "score": 1.0, + "content": "shows that average pooling yields the best performance while", + "type": "text" + } + ], + "index": 46 + }, + { + "bbox": [ + 105, + 575, + 506, + 589 + ], + "spans": [ + { + "bbox": [ + 105, + 575, + 506, + 589 + ], + "score": 1.0, + "content": "with less computational overhead comparing to convolution. Biased sampling can miss the most", + "type": "text" + } + ], + "index": 47 + }, + { + "bbox": [ + 105, + 586, + 506, + 599 + ], + "spans": [ + { + "bbox": [ + 105, + 586, + 506, + 599 + ], + "score": 1.0, + "content": "salient samples, and there is no guarantee that random sampling can keep the uniformity of the chosen", + "type": "text" + } + ], + "index": 48 + }, + { + "bbox": [ + 105, + 597, + 425, + 610 + ], + "spans": [ + { + "bbox": [ + 105, + 597, + 425, + 610 + ], + "score": 1.0, + "content": "samples. This result thus justifies the choice of using average pooling in SOFT.", + "type": "text" + } + ], + "index": 49 + } + ], + "index": 46, + "bbox_fs": [ + 104, + 530, + 506, + 610 + ] + }, + { + "type": "table", + "bbox": [ + 114, + 632, + 289, + 699 + ], + "blocks": [ + { + "type": "table_body", + "bbox": [ + 114, + 632, + 289, + 699 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 114, + 632, + 289, + 699 + ], + "spans": [ + { + "bbox": [ + 114, + 632, + 289, + 699 + ], + "score": 0.964, + "html": "
BottleneckMemoryFLOPsTop-1 %
3615.1GB1.9G79.0
4915.8GB1.9G79.3
6416.9GB2.0G79.3
8118.5GB2.1G78.9
", + "type": "table", + "image_path": "03b677bfb67adb0e93773d7c1a790c36fbebb0280889281125037505bb101d41.jpg" + } + ] + } + ], + "index": 52, + "virtual_lines": [ + { + "bbox": [ + 114, + 632, + 289, + 645.4 + ], + "spans": [], + "index": 50 + }, + { + "bbox": [ + 114, + 645.4, + 289, + 658.8 + ], + "spans": [], + "index": 51 + }, + { + "bbox": [ + 114, + 658.8, + 289, + 672.1999999999999 + ], + "spans": [], + "index": 52 + }, + { + "bbox": [ + 114, + 672.1999999999999, + 289, + 685.5999999999999 + ], + "spans": [], + "index": 53 + }, + { + "bbox": [ + 114, + 685.5999999999999, + 289, + 698.9999999999999 + ], + "spans": [], + "index": 54 + } + ] + } + ], + "index": 52 + }, + { + "type": "table", + "bbox": [ + 299, + 632, + 503, + 699 + ], + "blocks": [ + { + "type": "table_body", + "bbox": [ + 299, + 632, + 503, + 699 + ], + "group_id": 1, + "lines": [ + { + "bbox": [ + 299, + 632, + 503, + 699 + ], + "spans": [ + { + "bbox": [ + 299, + 632, + 503, + 699 + ], + "score": 0.963, + "html": "
Sampling methods|ParamsFLOPsTop-1 %
Convolution13.07M2.0G79.3
Random sampling12.96M1.9G79.3
Biased sampling12.96M1.9G79.0
Average pooling12.96M1.9G79.3
", + "type": "table", + "image_path": "ae00187080c38f62be99fe513b6d16106c1ff0afd29088a754dcd7dbb98b27d9.jpg" + } + ] + } + ], + "index": 57, + "virtual_lines": [ + { + "bbox": [ + 299, + 632, + 503, + 645.4 + ], + "spans": [], + "index": 55 + }, + { + "bbox": [ + 299, + 645.4, + 503, + 658.8 + ], + "spans": [], + "index": 56 + }, + { + "bbox": [ + 299, + 658.8, + 503, + 672.1999999999999 + ], + "spans": [], + "index": 57 + }, + { + "bbox": [ + 299, + 672.1999999999999, + 503, + 685.5999999999999 + ], + "spans": [], + "index": 58 + }, + { + "bbox": [ + 299, + 685.5999999999999, + 503, + 698.9999999999999 + ], + "spans": [], + "index": 59 + } + ] + } + ], + "index": 57 + } + ] + }, + { + "preproc_blocks": [ + { + "type": "text", + "bbox": [ + 106, + 72, + 505, + 128 + ], + "lines": [ + { + "bbox": [ + 106, + 72, + 506, + 86 + ], + "spans": [ + { + "bbox": [ + 106, + 72, + 506, + 86 + ], + "score": 1.0, + "content": "Overlapped convolution: We ablate SOFT with overlapped convolution (our default choice, same", + "type": "text" + } + ], + "index": 0 + }, + { + "bbox": [ + 105, + 83, + 505, + 95 + ], + "spans": [ + { + "bbox": [ + 105, + 83, + 505, + 95 + ], + "score": 1.0, + "content": "as many recent works) and SOFT with non-overlapped convolution in our Tiny configuration.", + "type": "text" + } + ], + "index": 1 + }, + { + "bbox": [ + 105, + 93, + 506, + 107 + ], + "spans": [ + { + "bbox": [ + 105, + 93, + 506, + 107 + ], + "score": 1.0, + "content": "Table 5b shows that SOFT with overlapped convolution performs better than SOFT without overlapped", + "type": "text" + } + ], + "index": 2 + }, + { + "bbox": [ + 105, + 105, + 506, + 119 + ], + "spans": [ + { + "bbox": [ + 105, + 105, + 506, + 119 + ], + "score": 1.0, + "content": "convolution. Our non-overlapped convolution variant still outperforms the PVT [35] which also has", + "type": "text" + } + ], + "index": 3 + }, + { + "bbox": [ + 105, + 116, + 332, + 130 + ], + "spans": [ + { + "bbox": [ + 105, + 116, + 332, + 130 + ], + "score": 1.0, + "content": "the same non-overlapped convolution by a clear margin.", + "type": "text" + } + ], + "index": 4 + } + ], + "index": 2 + }, + { + "type": "table", + "bbox": [ + 107, + 138, + 501, + 199 + ], + "blocks": [ + { + "type": "table_body", + "bbox": [ + 107, + 138, + 501, + 199 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 107, + 138, + 501, + 199 + ], + "spans": [ + { + "bbox": [ + 107, + 138, + 501, + 199 + ], + "score": 0.971, + "html": "
MethodsPyramidal?Top-1 %MethodsOverlapped?Top-1%
DeiT-S [31]X79.8PVT [35]X75.1
SOFT80.1SOFT77.4
SOFT√82.2SOFT√79.3
", + "type": "table", + "image_path": "f0bc5ae21cd0a66151ac4e88ef1d35bb32c80d83032b666b25ff821756508bdd.jpg" + } + ] + } + ], + "index": 6, + "virtual_lines": [ + { + "bbox": [ + 107, + 138, + 501, + 158.33333333333334 + ], + "spans": [], + "index": 5 + }, + { + "bbox": [ + 107, + 158.33333333333334, + 501, + 178.66666666666669 + ], + "spans": [], + "index": 6 + }, + { + "bbox": [ + 107, + 178.66666666666669, + 501, + 199.00000000000003 + ], + "spans": [], + "index": 7 + } + ] + }, + { + "type": "table_footnote", + "bbox": [ + 122, + 201, + 488, + 212 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 122, + 199, + 487, + 214 + ], + "spans": [ + { + "bbox": [ + 122, + 199, + 487, + 214 + ], + "score": 1.0, + "content": "Table 5: (a) Ablations on pyramidal architecture. (b) Ablations on overlapped convolution.", + "type": "text" + } + ], + "index": 8 + } + ], + "index": 8 + } + ], + "index": 7.0 + }, + { + "type": "text", + "bbox": [ + 106, + 217, + 505, + 262 + ], + "lines": [ + { + "bbox": [ + 105, + 217, + 506, + 230 + ], + "spans": [ + { + "bbox": [ + 105, + 217, + 506, + 230 + ], + "score": 1.0, + "content": "Newton-Raphson’s convergence: We study how many iterations the Newton-Raphson method", + "type": "text" + } + ], + "index": 9 + }, + { + "bbox": [ + 104, + 227, + 504, + 242 + ], + "spans": [ + { + "bbox": [ + 104, + 227, + 364, + 242 + ], + "score": 1.0, + "content": "needs to converge when computing the Moore-Penrose inverse", + "type": "text" + }, + { + "bbox": [ + 364, + 228, + 377, + 239 + ], + "score": 0.86, + "content": "A ^ { \\dagger }", + "type": "inline_equation" + }, + { + "bbox": [ + 377, + 227, + 414, + 242 + ], + "score": 1.0, + "content": ". We use", + "type": "text" + }, + { + "bbox": [ + 414, + 228, + 504, + 241 + ], + "score": 0.92, + "content": "\\| A A _ { k } \\bar { A } - A \\| _ { p } / \\| A \\| _ { p }", + "type": "inline_equation" + } + ], + "index": 10 + }, + { + "bbox": [ + 105, + 239, + 506, + 252 + ], + "spans": [ + { + "bbox": [ + 105, + 239, + 126, + 252 + ], + "score": 1.0, + "content": "with", + "type": "text" + }, + { + "bbox": [ + 126, + 240, + 151, + 250 + ], + "score": 0.9, + "content": "p = 2", + "type": "inline_equation" + }, + { + "bbox": [ + 151, + 239, + 473, + 252 + ], + "score": 1.0, + "content": "(see Proposition 1) as the convergence metric to quantify the difference between", + "type": "text" + }, + { + "bbox": [ + 474, + 241, + 487, + 250 + ], + "score": 0.87, + "content": "A _ { k }", + "type": "inline_equation" + }, + { + "bbox": [ + 487, + 239, + 506, + 252 + ], + "score": 1.0, + "content": "and", + "type": "text" + } + ], + "index": 11 + }, + { + "bbox": [ + 106, + 248, + 472, + 264 + ], + "spans": [ + { + "bbox": [ + 106, + 250, + 119, + 261 + ], + "score": 0.86, + "content": "A ^ { \\dagger }", + "type": "inline_equation" + }, + { + "bbox": [ + 119, + 248, + 472, + 264 + ], + "score": 1.0, + "content": ". Figure 4 shows that our approximation converges within 20 iterations across all stages.", + "type": "text" + } + ], + "index": 12 + } + ], + "index": 10.5 + }, + { + "type": "title", + "bbox": [ + 108, + 275, + 290, + 286 + ], + "lines": [ + { + "bbox": [ + 105, + 274, + 291, + 288 + ], + "spans": [ + { + "bbox": [ + 105, + 274, + 291, + 288 + ], + "score": 1.0, + "content": "4.5 Additional experiments on NLP tasks", + "type": "text" + } + ], + "index": 13 + } + ], + "index": 13 + }, + { + "type": "text", + "bbox": [ + 107, + 295, + 506, + 328 + ], + "lines": [ + { + "bbox": [ + 105, + 294, + 506, + 309 + ], + "spans": [ + { + "bbox": [ + 105, + 294, + 506, + 309 + ], + "score": 1.0, + "content": "In this section, we evaluate our method against other linear counterparts on four tasks of the Long", + "type": "text" + } + ], + "index": 14 + }, + { + "bbox": [ + 105, + 306, + 507, + 319 + ], + "spans": [ + { + "bbox": [ + 105, + 306, + 507, + 319 + ], + "score": 1.0, + "content": "Range Arena (LRA) [29] benchmark e.g., Listops [23], byte-level IMDb reviews text classifica-", + "type": "text" + } + ], + "index": 15 + }, + { + "bbox": [ + 105, + 316, + 498, + 330 + ], + "spans": [ + { + "bbox": [ + 105, + 316, + 498, + 330 + ], + "score": 1.0, + "content": "tion [21], byte-level document retrieval [25], and image classification on sequences of pixels [19].", + "type": "text" + } + ], + "index": 16 + } + ], + "index": 15 + }, + { + "type": "text", + "bbox": [ + 107, + 333, + 505, + 411 + ], + "lines": [ + { + "bbox": [ + 106, + 333, + 506, + 345 + ], + "spans": [ + { + "bbox": [ + 106, + 333, + 506, + 345 + ], + "score": 1.0, + "content": "Implementations. We use the Pytorch version of LRA [29] benchmark, provided by [39]. For", + "type": "text" + } + ], + "index": 17 + }, + { + "bbox": [ + 106, + 344, + 506, + 357 + ], + "spans": [ + { + "bbox": [ + 106, + 344, + 506, + 357 + ], + "score": 1.0, + "content": "the evaluation protocol, we strictly follow [29, 39]. We omit the Pathfinder(1K) task as we cannot", + "type": "text" + } + ], + "index": 18 + }, + { + "bbox": [ + 106, + 355, + 505, + 368 + ], + "spans": [ + { + "bbox": [ + 106, + 355, + 505, + 368 + ], + "score": 1.0, + "content": "replicate the result of Nyströmformer [39]. For our SOFT, we simply use the average pooling with", + "type": "text" + } + ], + "index": 19 + }, + { + "bbox": [ + 105, + 366, + 506, + 379 + ], + "spans": [ + { + "bbox": [ + 105, + 366, + 506, + 379 + ], + "score": 1.0, + "content": "window size 4, stride 4 to sample the bottlenecks. We follow the configurations of [39], with 2 layers,", + "type": "text" + } + ], + "index": 20 + }, + { + "bbox": [ + 106, + 376, + 505, + 389 + ], + "spans": [ + { + "bbox": [ + 106, + 376, + 505, + 389 + ], + "score": 1.0, + "content": "64 and 128 hidden dimension respectively, and 2 attention heads. The results in Table 6 shows that", + "type": "text" + } + ], + "index": 21 + }, + { + "bbox": [ + 106, + 388, + 505, + 399 + ], + "spans": [ + { + "bbox": [ + 106, + 388, + 505, + 399 + ], + "score": 1.0, + "content": "our SOFT outperforms both the standard and alternative efficient Transformers on three out of four", + "type": "text" + } + ], + "index": 22 + }, + { + "bbox": [ + 106, + 399, + 247, + 411 + ], + "spans": [ + { + "bbox": [ + 106, + 399, + 247, + 411 + ], + "score": 1.0, + "content": "tasks, as well as the average result.", + "type": "text" + } + ], + "index": 23 + } + ], + "index": 20 + }, + { + "type": "table", + "bbox": [ + 128, + 421, + 482, + 518 + ], + "blocks": [ + { + "type": "table_body", + "bbox": [ + 128, + 421, + 482, + 518 + ], + "group_id": 1, + "lines": [ + { + "bbox": [ + 128, + 421, + 482, + 518 + ], + "spans": [ + { + "bbox": [ + 128, + 421, + 482, + 518 + ], + "score": 0.978, + "html": "
MethodsListops(2K)Text(4K)Retrieval(4K)Image(1K)Avg.%
Transformer [33]37.1065.0279.3538.2054.92
Reformer [18]19.0564.8878.6443.2951.47
Linformer [34]Performer [5]37.2555.9179.3737.8452.59
18.8063.8178.6237.0749.58
Nystromformer [39]37.1565.5279.5641.5855.95
SOFT37.4063.4981.7746.9157.39
", + "type": "table", + "image_path": "d8bf6a25213037616a247a338e79bc65d3cd3d563636254382155bab641be227.jpg" + } + ] + } + ], + "index": 25, + "virtual_lines": [ + { + "bbox": [ + 128, + 421, + 482, + 453.3333333333333 + ], + "spans": [], + "index": 24 + }, + { + "bbox": [ + 128, + 453.3333333333333, + 482, + 485.66666666666663 + ], + "spans": [], + "index": 25 + }, + { + "bbox": [ + 128, + 485.66666666666663, + 482, + 518.0 + ], + "spans": [], + "index": 26 + } + ] + }, + { + "type": "table_footnote", + "bbox": [ + 107, + 524, + 504, + 546 + ], + "group_id": 1, + "lines": [ + { + "bbox": [ + 105, + 524, + 506, + 536 + ], + "spans": [ + { + "bbox": [ + 105, + 524, + 506, + 536 + ], + "score": 1.0, + "content": "Table 6: Comparison of different linear/efficient Transformer variants on Long Range Arena [29],", + "type": "text" + } + ], + "index": 27 + }, + { + "bbox": [ + 106, + 535, + 497, + 546 + ], + "spans": [ + { + "bbox": [ + 106, + 535, + 497, + 546 + ], + "score": 1.0, + "content": "based on its official configuration. Our SOFT surpasses previous efficient methods on three tasks.", + "type": "text" + } + ], + "index": 28 + } + ], + "index": 27.5 + } + ], + "index": 26.25 + }, + { + "type": "title", + "bbox": [ + 106, + 564, + 188, + 577 + ], + "lines": [ + { + "bbox": [ + 104, + 562, + 190, + 580 + ], + "spans": [ + { + "bbox": [ + 104, + 562, + 190, + 580 + ], + "score": 1.0, + "content": "5 Conclusions", + "type": "text" + } + ], + "index": 29 + } + ], + "index": 29 + }, + { + "type": "text", + "bbox": [ + 106, + 588, + 505, + 666 + ], + "lines": [ + { + "bbox": [ + 106, + 589, + 506, + 601 + ], + "spans": [ + { + "bbox": [ + 106, + 589, + 506, + 601 + ], + "score": 1.0, + "content": "We have introduced a novel softmax-free self-attention (SOFT) mechanism for linearizing Trans-", + "type": "text" + } + ], + "index": 30 + }, + { + "bbox": [ + 105, + 599, + 505, + 613 + ], + "spans": [ + { + "bbox": [ + 105, + 599, + 505, + 613 + ], + "score": 1.0, + "content": "former’s complexity in space and time. Unlike existing linear Transformers that aim to approximate", + "type": "text" + } + ], + "index": 31 + }, + { + "bbox": [ + 106, + 612, + 505, + 622 + ], + "spans": [ + { + "bbox": [ + 106, + 612, + 505, + 622 + ], + "score": 1.0, + "content": "the conventional softmax based self-attention, SOFT employs a Gaussian kernel based attention", + "type": "text" + } + ], + "index": 32 + }, + { + "bbox": [ + 106, + 622, + 505, + 633 + ], + "spans": [ + { + "bbox": [ + 106, + 622, + 505, + 633 + ], + "score": 1.0, + "content": "which eliminates the need for softmax normalization. This design enables a full self-attention matrix", + "type": "text" + } + ], + "index": 33 + }, + { + "bbox": [ + 106, + 632, + 505, + 645 + ], + "spans": [ + { + "bbox": [ + 106, + 632, + 505, + 645 + ], + "score": 1.0, + "content": "to be approximated via a low-rank matrix decomposition. The robustness of the approximation is", + "type": "text" + } + ], + "index": 34 + }, + { + "bbox": [ + 106, + 644, + 505, + 656 + ], + "spans": [ + { + "bbox": [ + 106, + 644, + 505, + 656 + ], + "score": 1.0, + "content": "achieved by calculating its Moore-Penrose inverse using a Newton-Raphson method. Extensive", + "type": "text" + } + ], + "index": 35 + }, + { + "bbox": [ + 105, + 654, + 438, + 668 + ], + "spans": [ + { + "bbox": [ + 105, + 654, + 438, + 668 + ], + "score": 1.0, + "content": "experiments show that SOFT yields superior trade-off in accuracy and complexity.", + "type": "text" + } + ], + "index": 36 + } + ], + "index": 33 + }, + { + "type": "text", + "bbox": [ + 108, + 678, + 504, + 722 + ], + "lines": [ + { + "bbox": [ + 105, + 676, + 506, + 692 + ], + "spans": [ + { + "bbox": [ + 105, + 676, + 506, + 692 + ], + "score": 1.0, + "content": "Acknowledgment This work was funded in part by Shanghai Municipal Science and Technology", + "type": "text" + } + ], + "index": 37 + }, + { + "bbox": [ + 105, + 689, + 506, + 702 + ], + "spans": [ + { + "bbox": [ + 105, + 689, + 506, + 702 + ], + "score": 1.0, + "content": "Major Projects (No.2018SHZDZX01 and No.2021SHZDZX0103), Mindspore, National Science", + "type": "text" + } + ], + "index": 38 + }, + { + "bbox": [ + 105, + 699, + 505, + 712 + ], + "spans": [ + { + "bbox": [ + 105, + 699, + 505, + 712 + ], + "score": 1.0, + "content": "Foundation of China under Grant No.11690013, 71991471 and the scientific-technological innovation", + "type": "text" + } + ], + "index": 39 + }, + { + "bbox": [ + 105, + 711, + 402, + 724 + ], + "spans": [ + { + "bbox": [ + 105, + 711, + 402, + 724 + ], + "score": 1.0, + "content": "plan program of Universities guided by the Ministry of Education, China.", + "type": "text" + } + ], + "index": 40 + } + ], + "index": 38.5 + } + ], + "page_idx": 9, + "page_size": [ + 612, + 792 + ], + "discarded_blocks": [ + { + "type": "discarded", + "bbox": [ + 300, + 741, + 311, + 750 + ], + "lines": [ + { + "bbox": [ + 299, + 740, + 313, + 754 + ], + "spans": [ + { + "bbox": [ + 299, + 740, + 313, + 754 + ], + "score": 1.0, + "content": "10", + "type": "text" + } + ] + } + ] + } + ], + "para_blocks": [ + { + "type": "text", + "bbox": [ + 106, + 72, + 505, + 128 + ], + "lines": [ + { + "bbox": [ + 106, + 72, + 506, + 86 + ], + "spans": [ + { + "bbox": [ + 106, + 72, + 506, + 86 + ], + "score": 1.0, + "content": "Overlapped convolution: We ablate SOFT with overlapped convolution (our default choice, same", + "type": "text" + } + ], + "index": 0 + }, + { + "bbox": [ + 105, + 83, + 505, + 95 + ], + "spans": [ + { + "bbox": [ + 105, + 83, + 505, + 95 + ], + "score": 1.0, + "content": "as many recent works) and SOFT with non-overlapped convolution in our Tiny configuration.", + "type": "text" + } + ], + "index": 1 + }, + { + "bbox": [ + 105, + 93, + 506, + 107 + ], + "spans": [ + { + "bbox": [ + 105, + 93, + 506, + 107 + ], + "score": 1.0, + "content": "Table 5b shows that SOFT with overlapped convolution performs better than SOFT without overlapped", + "type": "text" + } + ], + "index": 2 + }, + { + "bbox": [ + 105, + 105, + 506, + 119 + ], + "spans": [ + { + "bbox": [ + 105, + 105, + 506, + 119 + ], + "score": 1.0, + "content": "convolution. Our non-overlapped convolution variant still outperforms the PVT [35] which also has", + "type": "text" + } + ], + "index": 3 + }, + { + "bbox": [ + 105, + 116, + 332, + 130 + ], + "spans": [ + { + "bbox": [ + 105, + 116, + 332, + 130 + ], + "score": 1.0, + "content": "the same non-overlapped convolution by a clear margin.", + "type": "text" + } + ], + "index": 4 + } + ], + "index": 2, + "bbox_fs": [ + 105, + 72, + 506, + 130 + ] + }, + { + "type": "table", + "bbox": [ + 107, + 138, + 501, + 199 + ], + "blocks": [ + { + "type": "table_body", + "bbox": [ + 107, + 138, + 501, + 199 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 107, + 138, + 501, + 199 + ], + "spans": [ + { + "bbox": [ + 107, + 138, + 501, + 199 + ], + "score": 0.971, + "html": "
MethodsPyramidal?Top-1 %MethodsOverlapped?Top-1%
DeiT-S [31]X79.8PVT [35]X75.1
SOFT80.1SOFT77.4
SOFT√82.2SOFT√79.3
", + "type": "table", + "image_path": "f0bc5ae21cd0a66151ac4e88ef1d35bb32c80d83032b666b25ff821756508bdd.jpg" + } + ] + } + ], + "index": 6, + "virtual_lines": [ + { + "bbox": [ + 107, + 138, + 501, + 158.33333333333334 + ], + "spans": [], + "index": 5 + }, + { + "bbox": [ + 107, + 158.33333333333334, + 501, + 178.66666666666669 + ], + "spans": [], + "index": 6 + }, + { + "bbox": [ + 107, + 178.66666666666669, + 501, + 199.00000000000003 + ], + "spans": [], + "index": 7 + } + ] + }, + { + "type": "table_footnote", + "bbox": [ + 122, + 201, + 488, + 212 + ], + "group_id": 0, + "lines": [ + { + "bbox": [ + 122, + 199, + 487, + 214 + ], + "spans": [ + { + "bbox": [ + 122, + 199, + 487, + 214 + ], + "score": 1.0, + "content": "Table 5: (a) Ablations on pyramidal architecture. (b) Ablations on overlapped convolution.", + "type": "text" + } + ], + "index": 8 + } + ], + "index": 8 + } + ], + "index": 7.0 + }, + { + "type": "text", + "bbox": [ + 106, + 217, + 505, + 262 + ], + "lines": [ + { + "bbox": [ + 105, + 217, + 506, + 230 + ], + "spans": [ + { + "bbox": [ + 105, + 217, + 506, + 230 + ], + "score": 1.0, + "content": "Newton-Raphson’s convergence: We study how many iterations the Newton-Raphson method", + "type": "text" + } + ], + "index": 9 + }, + { + "bbox": [ + 104, + 227, + 504, + 242 + ], + "spans": [ + { + "bbox": [ + 104, + 227, + 364, + 242 + ], + "score": 1.0, + "content": "needs to converge when computing the Moore-Penrose inverse", + "type": "text" + }, + { + "bbox": [ + 364, + 228, + 377, + 239 + ], + "score": 0.86, + "content": "A ^ { \\dagger }", + "type": "inline_equation" + }, + { + "bbox": [ + 377, + 227, + 414, + 242 + ], + "score": 1.0, + "content": ". We use", + "type": "text" + }, + { + "bbox": [ + 414, + 228, + 504, + 241 + ], + "score": 0.92, + "content": "\\| A A _ { k } \\bar { A } - A \\| _ { p } / \\| A \\| _ { p }", + "type": "inline_equation" + } + ], + "index": 10 + }, + { + "bbox": [ + 105, + 239, + 506, + 252 + ], + "spans": [ + { + "bbox": [ + 105, + 239, + 126, + 252 + ], + "score": 1.0, + "content": "with", + "type": "text" + }, + { + "bbox": [ + 126, + 240, + 151, + 250 + ], + "score": 0.9, + "content": "p = 2", + "type": "inline_equation" + }, + { + "bbox": [ + 151, + 239, + 473, + 252 + ], + "score": 1.0, + "content": "(see Proposition 1) as the convergence metric to quantify the difference between", + "type": "text" + }, + { + "bbox": [ + 474, + 241, + 487, + 250 + ], + "score": 0.87, + "content": "A _ { k }", + "type": "inline_equation" + }, + { + "bbox": [ + 487, + 239, + 506, + 252 + ], + "score": 1.0, + "content": "and", + "type": "text" + } + ], + "index": 11 + }, + { + "bbox": [ + 106, + 248, + 472, + 264 + ], + "spans": [ + { + "bbox": [ + 106, + 250, + 119, + 261 + ], + "score": 0.86, + "content": "A ^ { \\dagger }", + "type": "inline_equation" + }, + { + "bbox": [ + 119, + 248, + 472, + 264 + ], + "score": 1.0, + "content": ". Figure 4 shows that our approximation converges within 20 iterations across all stages.", + "type": "text" + } + ], + "index": 12 + } + ], + "index": 10.5, + "bbox_fs": [ + 104, + 217, + 506, + 264 + ] + }, + { + "type": "title", + "bbox": [ + 108, + 275, + 290, + 286 + ], + "lines": [ + { + "bbox": [ + 105, + 274, + 291, + 288 + ], + "spans": [ + { + "bbox": [ + 105, + 274, + 291, + 288 + ], + "score": 1.0, + "content": "4.5 Additional experiments on NLP tasks", + "type": "text" + } + ], + "index": 13 + } + ], + "index": 13 + }, + { + "type": "text", + "bbox": [ + 107, + 295, + 506, + 328 + ], + "lines": [ + { + "bbox": [ + 105, + 294, + 506, + 309 + ], + "spans": [ + { + "bbox": [ + 105, + 294, + 506, + 309 + ], + "score": 1.0, + "content": "In this section, we evaluate our method against other linear counterparts on four tasks of the Long", + "type": "text" + } + ], + "index": 14 + }, + { + "bbox": [ + 105, + 306, + 507, + 319 + ], + "spans": [ + { + "bbox": [ + 105, + 306, + 507, + 319 + ], + "score": 1.0, + "content": "Range Arena (LRA) [29] benchmark e.g., Listops [23], byte-level IMDb reviews text classifica-", + "type": "text" + } + ], + "index": 15 + }, + { + "bbox": [ + 105, + 316, + 498, + 330 + ], + "spans": [ + { + "bbox": [ + 105, + 316, + 498, + 330 + ], + "score": 1.0, + "content": "tion [21], byte-level document retrieval [25], and image classification on sequences of pixels [19].", + "type": "text" + } + ], + "index": 16 + } + ], + "index": 15, + "bbox_fs": [ + 105, + 294, + 507, + 330 + ] + }, + { + "type": "text", + "bbox": [ + 107, + 333, + 505, + 411 + ], + "lines": [ + { + "bbox": [ + 106, + 333, + 506, + 345 + ], + "spans": [ + { + "bbox": [ + 106, + 333, + 506, + 345 + ], + "score": 1.0, + "content": "Implementations. We use the Pytorch version of LRA [29] benchmark, provided by [39]. For", + "type": "text" + } + ], + "index": 17 + }, + { + "bbox": [ + 106, + 344, + 506, + 357 + ], + "spans": [ + { + "bbox": [ + 106, + 344, + 506, + 357 + ], + "score": 1.0, + "content": "the evaluation protocol, we strictly follow [29, 39]. We omit the Pathfinder(1K) task as we cannot", + "type": "text" + } + ], + "index": 18 + }, + { + "bbox": [ + 106, + 355, + 505, + 368 + ], + "spans": [ + { + "bbox": [ + 106, + 355, + 505, + 368 + ], + "score": 1.0, + "content": "replicate the result of Nyströmformer [39]. For our SOFT, we simply use the average pooling with", + "type": "text" + } + ], + "index": 19 + }, + { + "bbox": [ + 105, + 366, + 506, + 379 + ], + "spans": [ + { + "bbox": [ + 105, + 366, + 506, + 379 + ], + "score": 1.0, + "content": "window size 4, stride 4 to sample the bottlenecks. We follow the configurations of [39], with 2 layers,", + "type": "text" + } + ], + "index": 20 + }, + { + "bbox": [ + 106, + 376, + 505, + 389 + ], + "spans": [ + { + "bbox": [ + 106, + 376, + 505, + 389 + ], + "score": 1.0, + "content": "64 and 128 hidden dimension respectively, and 2 attention heads. The results in Table 6 shows that", + "type": "text" + } + ], + "index": 21 + }, + { + "bbox": [ + 106, + 388, + 505, + 399 + ], + "spans": [ + { + "bbox": [ + 106, + 388, + 505, + 399 + ], + "score": 1.0, + "content": "our SOFT outperforms both the standard and alternative efficient Transformers on three out of four", + "type": "text" + } + ], + "index": 22 + }, + { + "bbox": [ + 106, + 399, + 247, + 411 + ], + "spans": [ + { + "bbox": [ + 106, + 399, + 247, + 411 + ], + "score": 1.0, + "content": "tasks, as well as the average result.", + "type": "text" + } + ], + "index": 23 + } + ], + "index": 20, + "bbox_fs": [ + 105, + 333, + 506, + 411 + ] + }, + { + "type": "table", + "bbox": [ + 128, + 421, + 482, + 518 + ], + "blocks": [ + { + "type": "table_body", + "bbox": [ + 128, + 421, + 482, + 518 + ], + "group_id": 1, + "lines": [ + { + "bbox": [ + 128, + 421, + 482, + 518 + ], + "spans": [ + { + "bbox": [ + 128, + 421, + 482, + 518 + ], + "score": 0.978, + "html": "
MethodsListops(2K)Text(4K)Retrieval(4K)Image(1K)Avg.%
Transformer [33]37.1065.0279.3538.2054.92
Reformer [18]19.0564.8878.6443.2951.47
Linformer [34]Performer [5]37.2555.9179.3737.8452.59
18.8063.8178.6237.0749.58
Nystromformer [39]37.1565.5279.5641.5855.95
SOFT37.4063.4981.7746.9157.39
", + "type": "table", + "image_path": "d8bf6a25213037616a247a338e79bc65d3cd3d563636254382155bab641be227.jpg" + } + ] + } + ], + "index": 25, + "virtual_lines": [ + { + "bbox": [ + 128, + 421, + 482, + 453.3333333333333 + ], + "spans": [], + "index": 24 + }, + { + "bbox": [ + 128, + 453.3333333333333, + 482, + 485.66666666666663 + ], + "spans": [], + "index": 25 + }, + { + "bbox": [ + 128, + 485.66666666666663, + 482, + 518.0 + ], + "spans": [], + "index": 26 + } + ] + }, + { + "type": "table_footnote", + "bbox": [ + 107, + 524, + 504, + 546 + ], + "group_id": 1, + "lines": [ + { + "bbox": [ + 105, + 524, + 506, + 536 + ], + "spans": [ + { + "bbox": [ + 105, + 524, + 506, + 536 + ], + "score": 1.0, + "content": "Table 6: Comparison of different linear/efficient Transformer variants on Long Range Arena [29],", + "type": "text" + } + ], + "index": 27 + }, + { + "bbox": [ + 106, + 535, + 497, + 546 + ], + "spans": [ + { + "bbox": [ + 106, + 535, + 497, + 546 + ], + "score": 1.0, + "content": "based on its official configuration. Our SOFT surpasses previous efficient methods on three tasks.", + "type": "text" + } + ], + "index": 28 + } + ], + "index": 27.5 + } + ], + "index": 26.25 + }, + { + "type": "title", + "bbox": [ + 106, + 564, + 188, + 577 + ], + "lines": [ + { + "bbox": [ + 104, + 562, + 190, + 580 + ], + "spans": [ + { + "bbox": [ + 104, + 562, + 190, + 580 + ], + "score": 1.0, + "content": "5 Conclusions", + "type": "text" + } + ], + "index": 29 + } + ], + "index": 29 + }, + { + "type": "text", + "bbox": [ + 106, + 588, + 505, + 666 + ], + "lines": [ + { + "bbox": [ + 106, + 589, + 506, + 601 + ], + "spans": [ + { + "bbox": [ + 106, + 589, + 506, + 601 + ], + "score": 1.0, + "content": "We have introduced a novel softmax-free self-attention (SOFT) mechanism for linearizing Trans-", + "type": "text" + } + ], + "index": 30 + }, + { + "bbox": [ + 105, + 599, + 505, + 613 + ], + "spans": [ + { + "bbox": [ + 105, + 599, + 505, + 613 + ], + "score": 1.0, + "content": "former’s complexity in space and time. Unlike existing linear Transformers that aim to approximate", + "type": "text" + } + ], + "index": 31 + }, + { + "bbox": [ + 106, + 612, + 505, + 622 + ], + "spans": [ + { + "bbox": [ + 106, + 612, + 505, + 622 + ], + "score": 1.0, + "content": "the conventional softmax based self-attention, SOFT employs a Gaussian kernel based attention", + "type": "text" + } + ], + "index": 32 + }, + { + "bbox": [ + 106, + 622, + 505, + 633 + ], + "spans": [ + { + "bbox": [ + 106, + 622, + 505, + 633 + ], + "score": 1.0, + "content": "which eliminates the need for softmax normalization. This design enables a full self-attention matrix", + "type": "text" + } + ], + "index": 33 + }, + { + "bbox": [ + 106, + 632, + 505, + 645 + ], + "spans": [ + { + "bbox": [ + 106, + 632, + 505, + 645 + ], + "score": 1.0, + "content": "to be approximated via a low-rank matrix decomposition. The robustness of the approximation is", + "type": "text" + } + ], + "index": 34 + }, + { + "bbox": [ + 106, + 644, + 505, + 656 + ], + "spans": [ + { + "bbox": [ + 106, + 644, + 505, + 656 + ], + "score": 1.0, + "content": "achieved by calculating its Moore-Penrose inverse using a Newton-Raphson method. Extensive", + "type": "text" + } + ], + "index": 35 + }, + { + "bbox": [ + 105, + 654, + 438, + 668 + ], + "spans": [ + { + "bbox": [ + 105, + 654, + 438, + 668 + ], + "score": 1.0, + "content": "experiments show that SOFT yields superior trade-off in accuracy and complexity.", + "type": "text" + } + ], + "index": 36 + } + ], + "index": 33, + "bbox_fs": [ + 105, + 589, + 506, + 668 + ] + }, + { + "type": "text", + "bbox": [ + 108, + 678, + 504, + 722 + ], + "lines": [ + { + "bbox": [ + 105, + 676, + 506, + 692 + ], + "spans": [ + { + "bbox": [ + 105, + 676, + 506, + 692 + ], + "score": 1.0, + "content": "Acknowledgment This work was funded in part by Shanghai Municipal Science and Technology", + "type": "text" + } + ], + "index": 37 + }, + { + "bbox": [ + 105, + 689, + 506, + 702 + ], + "spans": [ + { + "bbox": [ + 105, + 689, + 506, + 702 + ], + "score": 1.0, + "content": "Major Projects (No.2018SHZDZX01 and No.2021SHZDZX0103), Mindspore, National Science", + "type": "text" + } + ], + "index": 38 + }, + { + "bbox": [ + 105, + 699, + 505, + 712 + ], + "spans": [ + { + "bbox": [ + 105, + 699, + 505, + 712 + ], + "score": 1.0, + "content": "Foundation of China under Grant No.11690013, 71991471 and the scientific-technological innovation", + "type": "text" + } + ], + "index": 39 + }, + { + "bbox": [ + 105, + 711, + 402, + 724 + ], + "spans": [ + { + "bbox": [ + 105, + 711, + 402, + 724 + ], + "score": 1.0, + "content": "plan program of Universities guided by the Ministry of Education, China.", + "type": "text" + } + ], + "index": 40 + } + ], + "index": 38.5, + "bbox_fs": [ + 105, + 676, + 506, + 724 + ] + } + ] + }, + { + "preproc_blocks": [ + { + "type": "text", + "bbox": [ + 105, + 60, + 507, + 726 + ], + "lines": [ + { + "bbox": [ + 106, + 70, + 165, + 86 + ], + "spans": [ + { + "bbox": [ + 106, + 70, + 165, + 86 + ], + "score": 1.0, + "content": "References", + "type": "text" + } + ], + "index": 0 + }, + { + "bbox": [ + 108, + 88, + 507, + 105 + ], + "spans": [ + { + "bbox": [ + 108, + 88, + 507, + 105 + ], + "score": 1.0, + "content": "[1] Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E Hinton. Layer normalization. arXiv preprint,", + "type": "text" + } + ], + "index": 1 + }, + { + "bbox": [ + 126, + 100, + 164, + 114 + ], + "spans": [ + { + "bbox": [ + 126, + 100, + 164, + 114 + ], + "score": 1.0, + "content": "2016. 6", + "type": "text" + } + ], + "index": 2 + }, + { + "bbox": [ + 111, + 119, + 506, + 133 + ], + "spans": [ + { + "bbox": [ + 111, + 119, + 506, + 133 + ], + "score": 1.0, + "content": "[2] Irwan Bello. Lambdanetworks: Modeling long-range interactions without attention. arXiv", + "type": "text" + } + ], + "index": 3 + }, + { + "bbox": [ + 125, + 131, + 200, + 143 + ], + "spans": [ + { + "bbox": [ + 125, + 131, + 200, + 143 + ], + "score": 1.0, + "content": "preprint, 2021. 8", + "type": "text" + } + ], + "index": 4 + }, + { + "bbox": [ + 109, + 148, + 507, + 163 + ], + "spans": [ + { + "bbox": [ + 109, + 148, + 507, + 163 + ], + "score": 1.0, + "content": "[3] Adi Ben-Israel and Dan Cohen. On iterative computation of generalized inverses and associated", + "type": "text" + } + ], + "index": 5 + }, + { + "bbox": [ + 125, + 159, + 368, + 173 + ], + "spans": [ + { + "bbox": [ + 125, + 159, + 368, + 173 + ], + "score": 1.0, + "content": "projections. SIAM Journal on Numerical Analysis, 1966. 5", + "type": "text" + } + ], + "index": 6 + }, + { + "bbox": [ + 111, + 180, + 506, + 191 + ], + "spans": [ + { + "bbox": [ + 111, + 180, + 506, + 191 + ], + "score": 1.0, + "content": "[4] Tom B Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal,", + "type": "text" + } + ], + "index": 7 + }, + { + "bbox": [ + 127, + 189, + 506, + 204 + ], + "spans": [ + { + "bbox": [ + 127, + 189, + 506, + 204 + ], + "score": 1.0, + "content": "Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are", + "type": "text" + } + ], + "index": 8 + }, + { + "bbox": [ + 126, + 200, + 298, + 214 + ], + "spans": [ + { + "bbox": [ + 126, + 200, + 298, + 214 + ], + "score": 1.0, + "content": "few-shot learners. In NeurIPS, 2020. 1, 2", + "type": "text" + } + ], + "index": 9 + }, + { + "bbox": [ + 110, + 219, + 506, + 233 + ], + "spans": [ + { + "bbox": [ + 110, + 219, + 506, + 233 + ], + "score": 1.0, + "content": "[5] Krzysztof Choromanski, Valerii Likhosherstov, David Dohan, Xingyou Song, Andreea Gane,", + "type": "text" + } + ], + "index": 10 + }, + { + "bbox": [ + 126, + 228, + 506, + 245 + ], + "spans": [ + { + "bbox": [ + 126, + 228, + 506, + 245 + ], + "score": 1.0, + "content": "Tamas Sarlos, Peter Hawkins, Jared Davis, Afroz Mohiuddin, Lukasz Kaiser, et al. Rethinking", + "type": "text" + } + ], + "index": 11 + }, + { + "bbox": [ + 127, + 241, + 362, + 254 + ], + "spans": [ + { + "bbox": [ + 127, + 241, + 362, + 254 + ], + "score": 1.0, + "content": "attention with performers. In ICLR, 2021. 2, 3, 6, 7, 9, 10", + "type": "text" + } + ], + "index": 12 + }, + { + "bbox": [ + 111, + 259, + 506, + 273 + ], + "spans": [ + { + "bbox": [ + 111, + 259, + 506, + 273 + ], + "score": 1.0, + "content": "[6] Xiangxiang Chu, Zhi Tian, Yuqing Wang, Bo Zhang, Haibing Ren, Xiaolin Wei, Huaxia Xia,", + "type": "text" + } + ], + "index": 13 + }, + { + "bbox": [ + 127, + 271, + 507, + 285 + ], + "spans": [ + { + "bbox": [ + 127, + 271, + 507, + 285 + ], + "score": 1.0, + "content": "and Chunhua Shen. Twins: Revisiting the design of spatial attention in vision transformers.", + "type": "text" + } + ], + "index": 14 + }, + { + "bbox": [ + 126, + 281, + 235, + 295 + ], + "spans": [ + { + "bbox": [ + 126, + 281, + 235, + 295 + ], + "score": 1.0, + "content": "arXiv preprint, 2021. 2, 8", + "type": "text" + } + ], + "index": 15 + }, + { + "bbox": [ + 110, + 300, + 506, + 314 + ], + "spans": [ + { + "bbox": [ + 110, + 300, + 506, + 314 + ], + "score": 1.0, + "content": "[7] Xiangxiang Chu, Zhi Tian, Bo Zhang, Xinlong Wang, Xiaolin Wei, Huaxia Xia, and Chunhua", + "type": "text" + } + ], + "index": 16 + }, + { + "bbox": [ + 127, + 311, + 482, + 325 + ], + "spans": [ + { + "bbox": [ + 127, + 311, + 482, + 325 + ], + "score": 1.0, + "content": "Shen. Conditional positional encodings for vision transformers. arXiv preprint, 2021. 8", + "type": "text" + } + ], + "index": 17 + }, + { + "bbox": [ + 111, + 329, + 506, + 343 + ], + "spans": [ + { + "bbox": [ + 111, + 329, + 506, + 343 + ], + "score": 1.0, + "content": "[8] Stéphane d’Ascoli, Hugo Touvron, Matthew Leavitt, Ari Morcos, Giulio Biroli, and Levent", + "type": "text" + } + ], + "index": 18 + }, + { + "bbox": [ + 127, + 341, + 506, + 355 + ], + "spans": [ + { + "bbox": [ + 127, + 341, + 506, + 355 + ], + "score": 1.0, + "content": "Sagun. Convit: Improving vision transformers with soft convolutional inductive biases. In", + "type": "text" + } + ], + "index": 19 + }, + { + "bbox": [ + 127, + 351, + 192, + 365 + ], + "spans": [ + { + "bbox": [ + 127, + 351, + 192, + 365 + ], + "score": 1.0, + "content": "ICML, 2021. 1", + "type": "text" + } + ], + "index": 20 + }, + { + "bbox": [ + 110, + 370, + 506, + 384 + ], + "spans": [ + { + "bbox": [ + 110, + 370, + 506, + 384 + ], + "score": 1.0, + "content": "[9] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale", + "type": "text" + } + ], + "index": 21 + }, + { + "bbox": [ + 127, + 381, + 340, + 395 + ], + "spans": [ + { + "bbox": [ + 127, + 381, + 340, + 395 + ], + "score": 1.0, + "content": "hierarchical image database. In CVPR, 2009. 2, 6, 8", + "type": "text" + } + ], + "index": 22 + }, + { + "bbox": [ + 106, + 399, + 506, + 413 + ], + "spans": [ + { + "bbox": [ + 106, + 399, + 506, + 413 + ], + "score": 1.0, + "content": "[10] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of", + "type": "text" + } + ], + "index": 23 + }, + { + "bbox": [ + 127, + 411, + 449, + 425 + ], + "spans": [ + { + "bbox": [ + 127, + 411, + 449, + 425 + ], + "score": 1.0, + "content": "deep bidirectional transformers for language understanding. In ACL, 2018. 1, 2", + "type": "text" + } + ], + "index": 24 + }, + { + "bbox": [ + 105, + 429, + 506, + 443 + ], + "spans": [ + { + "bbox": [ + 105, + 429, + 506, + 443 + ], + "score": 1.0, + "content": "[11] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai,", + "type": "text" + } + ], + "index": 25 + }, + { + "bbox": [ + 127, + 440, + 506, + 454 + ], + "spans": [ + { + "bbox": [ + 127, + 440, + 506, + 454 + ], + "score": 1.0, + "content": "Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al.", + "type": "text" + } + ], + "index": 26 + }, + { + "bbox": [ + 127, + 451, + 506, + 465 + ], + "spans": [ + { + "bbox": [ + 127, + 451, + 506, + 465 + ], + "score": 1.0, + "content": "An image is worth 16x16 words: Transformers for image recognition at scale. In ICLR, 2021.", + "type": "text" + } + ], + "index": 27 + }, + { + "bbox": [ + 126, + 461, + 176, + 476 + ], + "spans": [ + { + "bbox": [ + 126, + 461, + 176, + 476 + ], + "score": 1.0, + "content": "1, 2, 6, 7, 8", + "type": "text" + } + ], + "index": 28 + }, + { + "bbox": [ + 105, + 480, + 506, + 495 + ], + "spans": [ + { + "bbox": [ + 105, + 480, + 506, + 495 + ], + "score": 1.0, + "content": "[12] Gregory E Fasshauer. Positive definite kernels: past, present and future. Dolomites Research", + "type": "text" + } + ], + "index": 29 + }, + { + "bbox": [ + 127, + 493, + 265, + 505 + ], + "spans": [ + { + "bbox": [ + 127, + 493, + 265, + 505 + ], + "score": 1.0, + "content": "Notes on Approximation, 2011. 4", + "type": "text" + } + ], + "index": 30 + }, + { + "bbox": [ + 104, + 509, + 506, + 526 + ], + "spans": [ + { + "bbox": [ + 104, + 509, + 506, + 526 + ], + "score": 1.0, + "content": "[13] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image", + "type": "text" + } + ], + "index": 31 + }, + { + "bbox": [ + 127, + 522, + 266, + 535 + ], + "spans": [ + { + "bbox": [ + 127, + 522, + 266, + 535 + ], + "score": 1.0, + "content": "recognition. In CVPR, 2016. 2, 8", + "type": "text" + } + ], + "index": 32 + }, + { + "bbox": [ + 104, + 538, + 506, + 556 + ], + "spans": [ + { + "bbox": [ + 104, + 538, + 506, + 556 + ], + "score": 1.0, + "content": "[14] Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training", + "type": "text" + } + ], + "index": 33 + }, + { + "bbox": [ + 126, + 551, + 349, + 565 + ], + "spans": [ + { + "bbox": [ + 126, + 551, + 349, + 565 + ], + "score": 1.0, + "content": "by reducing internal covariate shift. In ICML, 2015. 6", + "type": "text" + } + ], + "index": 34 + }, + { + "bbox": [ + 106, + 570, + 506, + 583 + ], + "spans": [ + { + "bbox": [ + 106, + 570, + 506, + 583 + ], + "score": 1.0, + "content": "[15] Andrew Jaegle, Felix Gimeno, Andrew Brock, Andrew Zisserman, Oriol Vinyals, and Joao", + "type": "text" + } + ], + "index": 35 + }, + { + "bbox": [ + 127, + 581, + 480, + 595 + ], + "spans": [ + { + "bbox": [ + 127, + 581, + 480, + 595 + ], + "score": 1.0, + "content": "Carreira. Perceiver: General perception with iterative attention. arXiv preprint, 2021. 1", + "type": "text" + } + ], + "index": 36 + }, + { + "bbox": [ + 105, + 599, + 506, + 614 + ], + "spans": [ + { + "bbox": [ + 105, + 599, + 506, + 614 + ], + "score": 1.0, + "content": "[16] Jungo Kasai, Hao Peng, Yizhe Zhang, Dani Yogatama, Gabriel Ilharco, Nikolaos Pappas,", + "type": "text" + } + ], + "index": 37 + }, + { + "bbox": [ + 127, + 610, + 506, + 624 + ], + "spans": [ + { + "bbox": [ + 127, + 610, + 506, + 624 + ], + "score": 1.0, + "content": "Yi Mao, Weizhu Chen, and Noah A Smith. Finetuning pretrained transformers into rnns. arXiv", + "type": "text" + } + ], + "index": 38 + }, + { + "bbox": [ + 125, + 622, + 276, + 633 + ], + "spans": [ + { + "bbox": [ + 125, + 622, + 276, + 633 + ], + "score": 1.0, + "content": "preprint arXiv:2103.13076, 2021. 3", + "type": "text" + } + ], + "index": 39 + }, + { + "bbox": [ + 106, + 640, + 506, + 654 + ], + "spans": [ + { + "bbox": [ + 106, + 640, + 506, + 654 + ], + "score": 1.0, + "content": "[17] Angelos Katharopoulos, Apoorv Vyas, Nikolaos Pappas, and François Fleuret. Transformers", + "type": "text" + } + ], + "index": 40 + }, + { + "bbox": [ + 126, + 651, + 467, + 665 + ], + "spans": [ + { + "bbox": [ + 126, + 651, + 467, + 665 + ], + "score": 1.0, + "content": "are rnns: Fast autoregressive transformers with linear attention. In ICML, 2020. 2, 3", + "type": "text" + } + ], + "index": 41 + }, + { + "bbox": [ + 106, + 669, + 506, + 683 + ], + "spans": [ + { + "bbox": [ + 106, + 669, + 506, + 683 + ], + "score": 1.0, + "content": "[18] Nikita Kitaev, Łukasz Kaiser, and Anselm Levskaya. Reformer: The efficient transformer. In", + "type": "text" + } + ], + "index": 42 + }, + { + "bbox": [ + 127, + 681, + 223, + 693 + ], + "spans": [ + { + "bbox": [ + 127, + 681, + 223, + 693 + ], + "score": 1.0, + "content": "ICLR, 2020. 2, 3, 7, 10", + "type": "text" + } + ], + "index": 43 + }, + { + "bbox": [ + 104, + 698, + 508, + 714 + ], + "spans": [ + { + "bbox": [ + 104, + 698, + 508, + 714 + ], + "score": 1.0, + "content": "[19] Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images.", + "type": "text" + } + ], + "index": 44 + }, + { + "bbox": [ + 127, + 710, + 207, + 724 + ], + "spans": [ + { + "bbox": [ + 127, + 710, + 207, + 724 + ], + "score": 1.0, + "content": "Citeseer, 2009. 10", + "type": "text" + } + ], + "index": 45 + } + ], + "index": 22.5 + } + ], + "page_idx": 10, + "page_size": [ + 612, + 792 + ], + "discarded_blocks": [ + { + "type": "discarded", + "bbox": [ + 300, + 741, + 310, + 750 + ], + "lines": [ + { + "bbox": [ + 299, + 740, + 312, + 755 + ], + "spans": [ + { + "bbox": [ + 299, + 740, + 312, + 755 + ], + "score": 1.0, + "content": "", + "type": "text", + "height": 15, + "width": 13 + } + ] + } + ] + } + ], + "para_blocks": [ + { + "type": "list", + "bbox": [ + 105, + 60, + 507, + 726 + ], + "lines": [ + { + "bbox": [ + 106, + 70, + 165, + 86 + ], + "spans": [ + { + "bbox": [ + 106, + 70, + 165, + 86 + ], + "score": 1.0, + "content": "References", + "type": "text" + } + ], + "index": 0, + "is_list_start_line": true, + "is_list_end_line": true + }, + { + "bbox": [ + 108, + 88, + 507, + 105 + ], + "spans": [ + { + "bbox": [ + 108, + 88, + 507, + 105 + ], + "score": 1.0, + "content": "[1] Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E Hinton. Layer normalization. arXiv preprint,", + "type": "text" + } + ], + "index": 1, + "is_list_start_line": true + }, + { + "bbox": [ + 126, + 100, + 164, + 114 + ], + "spans": [ + { + "bbox": [ + 126, + 100, + 164, + 114 + ], + "score": 1.0, + "content": "2016. 6", + "type": "text" + } + ], + "index": 2, + "is_list_end_line": true + }, + { + "bbox": [ + 111, + 119, + 506, + 133 + ], + "spans": [ + { + "bbox": [ + 111, + 119, + 506, + 133 + ], + "score": 1.0, + "content": "[2] Irwan Bello. Lambdanetworks: Modeling long-range interactions without attention. arXiv", + "type": "text" + } + ], + "index": 3, + "is_list_start_line": true + }, + { + "bbox": [ + 125, + 131, + 200, + 143 + ], + "spans": [ + { + "bbox": [ + 125, + 131, + 200, + 143 + ], + "score": 1.0, + "content": "preprint, 2021. 8", + "type": "text" + } + ], + "index": 4, + "is_list_end_line": true + }, + { + "bbox": [ + 109, + 148, + 507, + 163 + ], + "spans": [ + { + "bbox": [ + 109, + 148, + 507, + 163 + ], + "score": 1.0, + "content": "[3] Adi Ben-Israel and Dan Cohen. On iterative computation of generalized inverses and associated", + "type": "text" + } + ], + "index": 5, + "is_list_start_line": true + }, + { + "bbox": [ + 125, + 159, + 368, + 173 + ], + "spans": [ + { + "bbox": [ + 125, + 159, + 368, + 173 + ], + "score": 1.0, + "content": "projections. SIAM Journal on Numerical Analysis, 1966. 5", + "type": "text" + } + ], + "index": 6, + "is_list_end_line": true + }, + { + "bbox": [ + 111, + 180, + 506, + 191 + ], + "spans": [ + { + "bbox": [ + 111, + 180, + 506, + 191 + ], + "score": 1.0, + "content": "[4] Tom B Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal,", + "type": "text" + } + ], + "index": 7, + "is_list_start_line": true + }, + { + "bbox": [ + 127, + 189, + 506, + 204 + ], + "spans": [ + { + "bbox": [ + 127, + 189, + 506, + 204 + ], + "score": 1.0, + "content": "Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are", + "type": "text" + } + ], + "index": 8 + }, + { + "bbox": [ + 126, + 200, + 298, + 214 + ], + "spans": [ + { + "bbox": [ + 126, + 200, + 298, + 214 + ], + "score": 1.0, + "content": "few-shot learners. In NeurIPS, 2020. 1, 2", + "type": "text" + } + ], + "index": 9, + "is_list_end_line": true + }, + { + "bbox": [ + 110, + 219, + 506, + 233 + ], + "spans": [ + { + "bbox": [ + 110, + 219, + 506, + 233 + ], + "score": 1.0, + "content": "[5] Krzysztof Choromanski, Valerii Likhosherstov, David Dohan, Xingyou Song, Andreea Gane,", + "type": "text" + } + ], + "index": 10, + "is_list_start_line": true + }, + { + "bbox": [ + 126, + 228, + 506, + 245 + ], + "spans": [ + { + "bbox": [ + 126, + 228, + 506, + 245 + ], + "score": 1.0, + "content": "Tamas Sarlos, Peter Hawkins, Jared Davis, Afroz Mohiuddin, Lukasz Kaiser, et al. Rethinking", + "type": "text" + } + ], + "index": 11 + }, + { + "bbox": [ + 127, + 241, + 362, + 254 + ], + "spans": [ + { + "bbox": [ + 127, + 241, + 362, + 254 + ], + "score": 1.0, + "content": "attention with performers. In ICLR, 2021. 2, 3, 6, 7, 9, 10", + "type": "text" + } + ], + "index": 12, + "is_list_end_line": true + }, + { + "bbox": [ + 111, + 259, + 506, + 273 + ], + "spans": [ + { + "bbox": [ + 111, + 259, + 506, + 273 + ], + "score": 1.0, + "content": "[6] Xiangxiang Chu, Zhi Tian, Yuqing Wang, Bo Zhang, Haibing Ren, Xiaolin Wei, Huaxia Xia,", + "type": "text" + } + ], + "index": 13, + "is_list_start_line": true + }, + { + "bbox": [ + 127, + 271, + 507, + 285 + ], + "spans": [ + { + "bbox": [ + 127, + 271, + 507, + 285 + ], + "score": 1.0, + "content": "and Chunhua Shen. Twins: Revisiting the design of spatial attention in vision transformers.", + "type": "text" + } + ], + "index": 14 + }, + { + "bbox": [ + 126, + 281, + 235, + 295 + ], + "spans": [ + { + "bbox": [ + 126, + 281, + 235, + 295 + ], + "score": 1.0, + "content": "arXiv preprint, 2021. 2, 8", + "type": "text" + } + ], + "index": 15, + "is_list_end_line": true + }, + { + "bbox": [ + 110, + 300, + 506, + 314 + ], + "spans": [ + { + "bbox": [ + 110, + 300, + 506, + 314 + ], + "score": 1.0, + "content": "[7] Xiangxiang Chu, Zhi Tian, Bo Zhang, Xinlong Wang, Xiaolin Wei, Huaxia Xia, and Chunhua", + "type": "text" + } + ], + "index": 16, + "is_list_start_line": true + }, + { + "bbox": [ + 127, + 311, + 482, + 325 + ], + "spans": [ + { + "bbox": [ + 127, + 311, + 482, + 325 + ], + "score": 1.0, + "content": "Shen. Conditional positional encodings for vision transformers. arXiv preprint, 2021. 8", + "type": "text" + } + ], + "index": 17, + "is_list_end_line": true + }, + { + "bbox": [ + 111, + 329, + 506, + 343 + ], + "spans": [ + { + "bbox": [ + 111, + 329, + 506, + 343 + ], + "score": 1.0, + "content": "[8] Stéphane d’Ascoli, Hugo Touvron, Matthew Leavitt, Ari Morcos, Giulio Biroli, and Levent", + "type": "text" + } + ], + "index": 18, + "is_list_start_line": true + }, + { + "bbox": [ + 127, + 341, + 506, + 355 + ], + "spans": [ + { + "bbox": [ + 127, + 341, + 506, + 355 + ], + "score": 1.0, + "content": "Sagun. Convit: Improving vision transformers with soft convolutional inductive biases. In", + "type": "text" + } + ], + "index": 19 + }, + { + "bbox": [ + 127, + 351, + 192, + 365 + ], + "spans": [ + { + "bbox": [ + 127, + 351, + 192, + 365 + ], + "score": 1.0, + "content": "ICML, 2021. 1", + "type": "text" + } + ], + "index": 20, + "is_list_end_line": true + }, + { + "bbox": [ + 110, + 370, + 506, + 384 + ], + "spans": [ + { + "bbox": [ + 110, + 370, + 506, + 384 + ], + "score": 1.0, + "content": "[9] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale", + "type": "text" + } + ], + "index": 21, + "is_list_start_line": true + }, + { + "bbox": [ + 127, + 381, + 340, + 395 + ], + "spans": [ + { + "bbox": [ + 127, + 381, + 340, + 395 + ], + "score": 1.0, + "content": "hierarchical image database. In CVPR, 2009. 2, 6, 8", + "type": "text" + } + ], + "index": 22, + "is_list_end_line": true + }, + { + "bbox": [ + 106, + 399, + 506, + 413 + ], + "spans": [ + { + "bbox": [ + 106, + 399, + 506, + 413 + ], + "score": 1.0, + "content": "[10] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of", + "type": "text" + } + ], + "index": 23, + "is_list_start_line": true + }, + { + "bbox": [ + 127, + 411, + 449, + 425 + ], + "spans": [ + { + "bbox": [ + 127, + 411, + 449, + 425 + ], + "score": 1.0, + "content": "deep bidirectional transformers for language understanding. In ACL, 2018. 1, 2", + "type": "text" + } + ], + "index": 24, + "is_list_end_line": true + }, + { + "bbox": [ + 105, + 429, + 506, + 443 + ], + "spans": [ + { + "bbox": [ + 105, + 429, + 506, + 443 + ], + "score": 1.0, + "content": "[11] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai,", + "type": "text" + } + ], + "index": 25, + "is_list_start_line": true + }, + { + "bbox": [ + 127, + 440, + 506, + 454 + ], + "spans": [ + { + "bbox": [ + 127, + 440, + 506, + 454 + ], + "score": 1.0, + "content": "Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al.", + "type": "text" + } + ], + "index": 26 + }, + { + "bbox": [ + 127, + 451, + 506, + 465 + ], + "spans": [ + { + "bbox": [ + 127, + 451, + 506, + 465 + ], + "score": 1.0, + "content": "An image is worth 16x16 words: Transformers for image recognition at scale. In ICLR, 2021.", + "type": "text" + } + ], + "index": 27 + }, + { + "bbox": [ + 126, + 461, + 176, + 476 + ], + "spans": [ + { + "bbox": [ + 126, + 461, + 176, + 476 + ], + "score": 1.0, + "content": "1, 2, 6, 7, 8", + "type": "text" + } + ], + "index": 28, + "is_list_end_line": true + }, + { + "bbox": [ + 105, + 480, + 506, + 495 + ], + "spans": [ + { + "bbox": [ + 105, + 480, + 506, + 495 + ], + "score": 1.0, + "content": "[12] Gregory E Fasshauer. Positive definite kernels: past, present and future. Dolomites Research", + "type": "text" + } + ], + "index": 29, + "is_list_start_line": true + }, + { + "bbox": [ + 127, + 493, + 265, + 505 + ], + "spans": [ + { + "bbox": [ + 127, + 493, + 265, + 505 + ], + "score": 1.0, + "content": "Notes on Approximation, 2011. 4", + "type": "text" + } + ], + "index": 30, + "is_list_end_line": true + }, + { + "bbox": [ + 104, + 509, + 506, + 526 + ], + "spans": [ + { + "bbox": [ + 104, + 509, + 506, + 526 + ], + "score": 1.0, + "content": "[13] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image", + "type": "text" + } + ], + "index": 31, + "is_list_start_line": true + }, + { + "bbox": [ + 127, + 522, + 266, + 535 + ], + "spans": [ + { + "bbox": [ + 127, + 522, + 266, + 535 + ], + "score": 1.0, + "content": "recognition. In CVPR, 2016. 2, 8", + "type": "text" + } + ], + "index": 32, + "is_list_end_line": true + }, + { + "bbox": [ + 104, + 538, + 506, + 556 + ], + "spans": [ + { + "bbox": [ + 104, + 538, + 506, + 556 + ], + "score": 1.0, + "content": "[14] Sergey Ioffe and Christian Szegedy. Batch normalization: Accelerating deep network training", + "type": "text" + } + ], + "index": 33, + "is_list_start_line": true + }, + { + "bbox": [ + 126, + 551, + 349, + 565 + ], + "spans": [ + { + "bbox": [ + 126, + 551, + 349, + 565 + ], + "score": 1.0, + "content": "by reducing internal covariate shift. In ICML, 2015. 6", + "type": "text" + } + ], + "index": 34, + "is_list_end_line": true + }, + { + "bbox": [ + 106, + 570, + 506, + 583 + ], + "spans": [ + { + "bbox": [ + 106, + 570, + 506, + 583 + ], + "score": 1.0, + "content": "[15] Andrew Jaegle, Felix Gimeno, Andrew Brock, Andrew Zisserman, Oriol Vinyals, and Joao", + "type": "text" + } + ], + "index": 35, + "is_list_start_line": true + }, + { + "bbox": [ + 127, + 581, + 480, + 595 + ], + "spans": [ + { + "bbox": [ + 127, + 581, + 480, + 595 + ], + "score": 1.0, + "content": "Carreira. Perceiver: General perception with iterative attention. arXiv preprint, 2021. 1", + "type": "text" + } + ], + "index": 36, + "is_list_end_line": true + }, + { + "bbox": [ + 105, + 599, + 506, + 614 + ], + "spans": [ + { + "bbox": [ + 105, + 599, + 506, + 614 + ], + "score": 1.0, + "content": "[16] Jungo Kasai, Hao Peng, Yizhe Zhang, Dani Yogatama, Gabriel Ilharco, Nikolaos Pappas,", + "type": "text" + } + ], + "index": 37, + "is_list_start_line": true + }, + { + "bbox": [ + 127, + 610, + 506, + 624 + ], + "spans": [ + { + "bbox": [ + 127, + 610, + 506, + 624 + ], + "score": 1.0, + "content": "Yi Mao, Weizhu Chen, and Noah A Smith. Finetuning pretrained transformers into rnns. arXiv", + "type": "text" + } + ], + "index": 38 + }, + { + "bbox": [ + 125, + 622, + 276, + 633 + ], + "spans": [ + { + "bbox": [ + 125, + 622, + 276, + 633 + ], + "score": 1.0, + "content": "preprint arXiv:2103.13076, 2021. 3", + "type": "text" + } + ], + "index": 39, + "is_list_end_line": true + }, + { + "bbox": [ + 106, + 640, + 506, + 654 + ], + "spans": [ + { + "bbox": [ + 106, + 640, + 506, + 654 + ], + "score": 1.0, + "content": "[17] Angelos Katharopoulos, Apoorv Vyas, Nikolaos Pappas, and François Fleuret. Transformers", + "type": "text" + } + ], + "index": 40, + "is_list_start_line": true + }, + { + "bbox": [ + 126, + 651, + 467, + 665 + ], + "spans": [ + { + "bbox": [ + 126, + 651, + 467, + 665 + ], + "score": 1.0, + "content": "are rnns: Fast autoregressive transformers with linear attention. In ICML, 2020. 2, 3", + "type": "text" + } + ], + "index": 41, + "is_list_end_line": true + }, + { + "bbox": [ + 106, + 669, + 506, + 683 + ], + "spans": [ + { + "bbox": [ + 106, + 669, + 506, + 683 + ], + "score": 1.0, + "content": "[18] Nikita Kitaev, Łukasz Kaiser, and Anselm Levskaya. Reformer: The efficient transformer. In", + "type": "text" + } + ], + "index": 42, + "is_list_start_line": true + }, + { + "bbox": [ + 127, + 681, + 223, + 693 + ], + "spans": [ + { + "bbox": [ + 127, + 681, + 223, + 693 + ], + "score": 1.0, + "content": "ICLR, 2020. 2, 3, 7, 10", + "type": "text" + } + ], + "index": 43, + "is_list_end_line": true + }, + { + "bbox": [ + 104, + 698, + 508, + 714 + ], + "spans": [ + { + "bbox": [ + 104, + 698, + 508, + 714 + ], + "score": 1.0, + "content": "[19] Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images.", + "type": "text" + } + ], + "index": 44, + "is_list_start_line": true + }, + { + "bbox": [ + 127, + 710, + 207, + 724 + ], + "spans": [ + { + "bbox": [ + 127, + 710, + 207, + 724 + ], + "score": 1.0, + "content": "Citeseer, 2009. 10", + "type": "text" + } + ], + "index": 45, + "is_list_end_line": true + } + ], + "index": 22.5, + "bbox_fs": [ + 104, + 70, + 508, + 724 + ] + } + ] + }, + { + "preproc_blocks": [ + { + "type": "text", + "bbox": [ + 106, + 72, + 505, + 105 + ], + "lines": [ + { + "bbox": [ + 105, + 72, + 505, + 86 + ], + "spans": [ + { + "bbox": [ + 105, + 72, + 505, + 86 + ], + "score": 1.0, + "content": "[20] Ze Liu, Yutong Lin, Yue Cao, Han Hu, Yixuan Wei, Zheng Zhang, Stephen Lin, and Baining", + "type": "text" + } + ], + "index": 0 + }, + { + "bbox": [ + 125, + 79, + 507, + 97 + ], + "spans": [ + { + "bbox": [ + 125, + 79, + 507, + 97 + ], + "score": 1.0, + "content": "Guo. Swin transformer: Hierarchical vision transformer using shifted windows. arXiv preprint,", + "type": "text" + } + ], + "index": 1 + }, + { + "bbox": [ + 126, + 93, + 164, + 107 + ], + "spans": [ + { + "bbox": [ + 126, + 93, + 164, + 107 + ], + "score": 1.0, + "content": "2021. 8", + "type": "text" + } + ], + "index": 2 + } + ], + "index": 1 + }, + { + "type": "text", + "bbox": [ + 105, + 81, + 507, + 727 + ], + "lines": [ + { + "bbox": [ + 105, + 111, + 506, + 127 + ], + "spans": [ + { + "bbox": [ + 105, + 111, + 410, + 127 + ], + "score": 1.0, + "content": "[21] Andrew Maas, Raymond E Daly, Peter T Pham, Dan Huang, Andrew", + "type": "text" + }, + { + "bbox": [ + 411, + 113, + 434, + 124 + ], + "score": 0.35, + "content": "\\mathrm { ~ Y ~ N ~ g ~ } _ { }", + "type": "inline_equation" + }, + { + "bbox": [ + 435, + 111, + 506, + 127 + ], + "score": 1.0, + "content": ", and Christopher", + "type": "text" + } + ], + "index": 3 + }, + { + "bbox": [ + 124, + 122, + 507, + 138 + ], + "spans": [ + { + "bbox": [ + 124, + 122, + 507, + 138 + ], + "score": 1.0, + "content": "Potts. Learning word vectors for sentiment analysis. In Proceedings of the 49th annual meeting", + "type": "text" + } + ], + "index": 4 + }, + { + "bbox": [ + 126, + 133, + 489, + 149 + ], + "spans": [ + { + "bbox": [ + 126, + 133, + 489, + 149 + ], + "score": 1.0, + "content": "of the association for computational linguistics: Human language technologies, 2011. 10", + "type": "text" + } + ], + "index": 5 + }, + { + "bbox": [ + 106, + 153, + 366, + 166 + ], + "spans": [ + { + "bbox": [ + 106, + 153, + 366, + 166 + ], + "score": 1.0, + "content": "[22] Mindspore. https://www.mindspore.cn/, 2020. 7", + "type": "text" + } + ], + "index": 6 + }, + { + "bbox": [ + 105, + 171, + 506, + 186 + ], + "spans": [ + { + "bbox": [ + 105, + 171, + 506, + 186 + ], + "score": 1.0, + "content": "[23] Nikita Nangia and Samuel R Bowman. Listops: A diagnostic dataset for latent tree learning.", + "type": "text" + } + ], + "index": 7 + }, + { + "bbox": [ + 126, + 183, + 230, + 195 + ], + "spans": [ + { + "bbox": [ + 126, + 183, + 230, + 195 + ], + "score": 1.0, + "content": "arXiv preprint, 2018. 10", + "type": "text" + } + ], + "index": 8 + }, + { + "bbox": [ + 104, + 199, + 506, + 216 + ], + "spans": [ + { + "bbox": [ + 104, + 199, + 506, + 216 + ], + "score": 1.0, + "content": "[24] Hao Peng, Nikolaos Pappas, Dani Yogatama, Roy Schwartz, Noah A Smith, and Lingpeng", + "type": "text" + } + ], + "index": 9 + }, + { + "bbox": [ + 125, + 211, + 436, + 226 + ], + "spans": [ + { + "bbox": [ + 125, + 211, + 436, + 226 + ], + "score": 1.0, + "content": "Kong. Random feature attention. arXiv preprint arXiv:2103.02143, 2021. 3", + "type": "text" + } + ], + "index": 10 + }, + { + "bbox": [ + 106, + 232, + 505, + 243 + ], + "spans": [ + { + "bbox": [ + 106, + 232, + 505, + 243 + ], + "score": 1.0, + "content": "[25] Dragomir R Radev, Pradeep Muthukrishnan, Vahed Qazvinian, and Amjad Abu-Jbara. The acl", + "type": "text" + } + ], + "index": 11 + }, + { + "bbox": [ + 125, + 241, + 430, + 254 + ], + "spans": [ + { + "bbox": [ + 125, + 241, + 430, + 254 + ], + "score": 1.0, + "content": "anthology network corpus. Language Resources and Evaluation, 2013. 10", + "type": "text" + } + ], + "index": 12 + }, + { + "bbox": [ + 105, + 259, + 507, + 275 + ], + "spans": [ + { + "bbox": [ + 105, + 259, + 507, + 275 + ], + "score": 1.0, + "content": "[26] Ilija Radosavovic, Raj Prateek Kosaraju, Ross Girshick, Kaiming He, and Piotr Dollár. Design-", + "type": "text" + } + ], + "index": 13 + }, + { + "bbox": [ + 127, + 271, + 324, + 285 + ], + "spans": [ + { + "bbox": [ + 127, + 271, + 324, + 285 + ], + "score": 1.0, + "content": "ing network design spaces. In CVPR, 2020. 2, 8", + "type": "text" + } + ], + "index": 14 + }, + { + "bbox": [ + 105, + 289, + 506, + 303 + ], + "spans": [ + { + "bbox": [ + 105, + 289, + 506, + 303 + ], + "score": 1.0, + "content": "[27] Aravind Srinivas, Tsung-Yi Lin, Niki Parmar, Jonathon Shlens, Pieter Abbeel, and Ashish", + "type": "text" + } + ], + "index": 15 + }, + { + "bbox": [ + 127, + 300, + 454, + 314 + ], + "spans": [ + { + "bbox": [ + 127, + 300, + 454, + 314 + ], + "score": 1.0, + "content": "Vaswani. Bottleneck transformers for visual recognition. arXiv preprint, 2021. 8", + "type": "text" + } + ], + "index": 16 + }, + { + "bbox": [ + 106, + 319, + 506, + 333 + ], + "spans": [ + { + "bbox": [ + 106, + 319, + 506, + 333 + ], + "score": 1.0, + "content": "[28] Christian Szegedy, Vincent Vanhoucke, Sergey Ioffe, Jon Shlens, and Zbigniew Wojna. Re-", + "type": "text" + } + ], + "index": 17 + }, + { + "bbox": [ + 126, + 330, + 426, + 343 + ], + "spans": [ + { + "bbox": [ + 126, + 330, + 426, + 343 + ], + "score": 1.0, + "content": "thinking the inception architecture for computer vision. In CVPR, 2016. 7", + "type": "text" + } + ], + "index": 18 + }, + { + "bbox": [ + 106, + 349, + 506, + 362 + ], + "spans": [ + { + "bbox": [ + 106, + 349, + 506, + 362 + ], + "score": 1.0, + "content": "[29] Yi Tay, Mostafa Dehghani, Samira Abnar, Yikang Shen, Dara Bahri, Philip Pham, Jinfeng Rao,", + "type": "text" + } + ], + "index": 19 + }, + { + "bbox": [ + 124, + 358, + 507, + 375 + ], + "spans": [ + { + "bbox": [ + 124, + 358, + 507, + 375 + ], + "score": 1.0, + "content": "Liu Yang, Sebastian Ruder, and Donald Metzler. Long range arena: A benchmark for efficient", + "type": "text" + } + ], + "index": 20 + }, + { + "bbox": [ + 125, + 370, + 288, + 384 + ], + "spans": [ + { + "bbox": [ + 125, + 370, + 288, + 384 + ], + "score": 1.0, + "content": "transformers. arXiv preprint, 2020. 10", + "type": "text" + } + ], + "index": 21 + }, + { + "bbox": [ + 104, + 387, + 507, + 404 + ], + "spans": [ + { + "bbox": [ + 104, + 387, + 507, + 404 + ], + "score": 1.0, + "content": "[30] Yi Tay, Mostafa Dehghani, Dara Bahri, and Donald Metzler. Efficient transformers: A survey.", + "type": "text" + } + ], + "index": 22 + }, + { + "bbox": [ + 126, + 401, + 226, + 414 + ], + "spans": [ + { + "bbox": [ + 126, + 401, + 226, + 414 + ], + "score": 1.0, + "content": "arXiv preprint, 2020. 3", + "type": "text" + } + ], + "index": 23 + }, + { + "bbox": [ + 104, + 418, + 507, + 432 + ], + "spans": [ + { + "bbox": [ + 104, + 418, + 507, + 432 + ], + "score": 1.0, + "content": "[31] Hugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa, Alexandre Sablayrolles, and", + "type": "text" + } + ], + "index": 24 + }, + { + "bbox": [ + 127, + 430, + 505, + 443 + ], + "spans": [ + { + "bbox": [ + 127, + 430, + 505, + 443 + ], + "score": 1.0, + "content": "Hervé Jégou. Training data-efficient image transformers & distillation through attention. arXiv", + "type": "text" + } + ], + "index": 25 + }, + { + "bbox": [ + 126, + 441, + 236, + 454 + ], + "spans": [ + { + "bbox": [ + 126, + 441, + 236, + 454 + ], + "score": 1.0, + "content": "preprint, 2020. 2, 8, 9, 10", + "type": "text" + } + ], + "index": 26 + }, + { + "bbox": [ + 106, + 459, + 506, + 473 + ], + "spans": [ + { + "bbox": [ + 106, + 459, + 506, + 473 + ], + "score": 1.0, + "content": "[32] Hugo Touvron, Matthieu Cord, Alexandre Sablayrolles, Gabriel Synnaeve, and Hervé Jégou.", + "type": "text" + } + ], + "index": 27 + }, + { + "bbox": [ + 126, + 470, + 385, + 483 + ], + "spans": [ + { + "bbox": [ + 126, + 470, + 385, + 483 + ], + "score": 1.0, + "content": "Going deeper with image transformers. arXiv preprint, 2021. 8", + "type": "text" + } + ], + "index": 28 + }, + { + "bbox": [ + 106, + 489, + 507, + 502 + ], + "spans": [ + { + "bbox": [ + 106, + 489, + 507, + 502 + ], + "score": 1.0, + "content": "[33] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez,", + "type": "text" + } + ], + "index": 29 + }, + { + "bbox": [ + 126, + 500, + 507, + 514 + ], + "spans": [ + { + "bbox": [ + 126, + 500, + 507, + 514 + ], + "score": 1.0, + "content": "Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. In NeurIPS, 2017. 1, 2, 3, 4, 6,", + "type": "text" + } + ], + "index": 30 + }, + { + "bbox": [ + 126, + 510, + 153, + 524 + ], + "spans": [ + { + "bbox": [ + 126, + 510, + 153, + 524 + ], + "score": 1.0, + "content": "9, 10", + "type": "text" + } + ], + "index": 31 + }, + { + "bbox": [ + 106, + 529, + 506, + 543 + ], + "spans": [ + { + "bbox": [ + 106, + 529, + 506, + 543 + ], + "score": 1.0, + "content": "[34] Sinong Wang, Belinda Li, Madian Khabsa, Han Fang, and Hao Ma. Linformer: Self-attention", + "type": "text" + } + ], + "index": 32 + }, + { + "bbox": [ + 127, + 540, + 365, + 554 + ], + "spans": [ + { + "bbox": [ + 127, + 540, + 365, + 554 + ], + "score": 1.0, + "content": "with linear complexity. arXiv preprint, 2020. 2, 3, 6, 7, 10", + "type": "text" + } + ], + "index": 33 + }, + { + "bbox": [ + 104, + 558, + 507, + 574 + ], + "spans": [ + { + "bbox": [ + 104, + 558, + 507, + 574 + ], + "score": 1.0, + "content": "[35] Wenhai Wang, Enze Xie, Xiang Li, Deng-Ping Fan, Kaitao Song, Ding Liang, Tong Lu, Ping", + "type": "text" + } + ], + "index": 34 + }, + { + "bbox": [ + 127, + 570, + 505, + 583 + ], + "spans": [ + { + "bbox": [ + 127, + 570, + 505, + 583 + ], + "score": 1.0, + "content": "Luo, and Ling Shao. Pyramid vision transformer: A versatile backbone for dense prediction", + "type": "text" + } + ], + "index": 35 + }, + { + "bbox": [ + 127, + 581, + 360, + 594 + ], + "spans": [ + { + "bbox": [ + 127, + 581, + 360, + 594 + ], + "score": 1.0, + "content": "without convolutions. arXiv preprint, 2021. 2, 6, 7, 8, 10", + "type": "text" + } + ], + "index": 36 + }, + { + "bbox": [ + 104, + 598, + 507, + 613 + ], + "spans": [ + { + "bbox": [ + 104, + 598, + 507, + 613 + ], + "score": 1.0, + "content": "[36] Xiaolong Wang, Ross Girshick, Abhinav Gupta, and Kaiming He. Non-local neural networks.", + "type": "text" + } + ], + "index": 37 + }, + { + "bbox": [ + 126, + 610, + 205, + 623 + ], + "spans": [ + { + "bbox": [ + 126, + 610, + 205, + 623 + ], + "score": 1.0, + "content": "In CVPR, 2018. 2", + "type": "text" + } + ], + "index": 38 + }, + { + "bbox": [ + 106, + 629, + 505, + 642 + ], + "spans": [ + { + "bbox": [ + 106, + 629, + 205, + 642 + ], + "score": 1.0, + "content": "[37] Ross Wightman.", + "type": "text" + }, + { + "bbox": [ + 212, + 629, + 321, + 642 + ], + "score": 1.0, + "content": "Pytorch image models.", + "type": "text" + }, + { + "bbox": [ + 328, + 629, + 505, + 642 + ], + "score": 1.0, + "content": "https://github.com/rwightman/", + "type": "text" + } + ], + "index": 39 + }, + { + "bbox": [ + 124, + 639, + 290, + 654 + ], + "spans": [ + { + "bbox": [ + 124, + 639, + 290, + 654 + ], + "score": 1.0, + "content": "pytorch-image-models, 2019. 6", + "type": "text" + } + ], + "index": 40 + }, + { + "bbox": [ + 106, + 658, + 505, + 672 + ], + "spans": [ + { + "bbox": [ + 106, + 658, + 505, + 672 + ], + "score": 1.0, + "content": "[38] Christopher Williams and Matthias Seeger. Using the nyström method to speed up kernel", + "type": "text" + } + ], + "index": 41 + }, + { + "bbox": [ + 126, + 669, + 258, + 683 + ], + "spans": [ + { + "bbox": [ + 126, + 669, + 258, + 683 + ], + "score": 1.0, + "content": "machines. In NeurIPS, 2001. 4", + "type": "text" + } + ], + "index": 42 + }, + { + "bbox": [ + 106, + 688, + 506, + 702 + ], + "spans": [ + { + "bbox": [ + 106, + 688, + 506, + 702 + ], + "score": 1.0, + "content": "[39] Yunyang Xiong, Zhanpeng Zeng, Rudrasis Chakraborty, Mingxing Tan, Glenn Fung, Yin Li,", + "type": "text" + } + ], + "index": 43 + }, + { + "bbox": [ + 126, + 699, + 507, + 713 + ], + "spans": [ + { + "bbox": [ + 126, + 699, + 507, + 713 + ], + "score": 1.0, + "content": "and Vikas Singh. Nyströmformer: A nyström-based algorithm for approximating self-attention.", + "type": "text" + } + ], + "index": 44 + }, + { + "bbox": [ + 126, + 710, + 264, + 723 + ], + "spans": [ + { + "bbox": [ + 126, + 710, + 264, + 723 + ], + "score": 1.0, + "content": "In AAAI, 2021. 2, 3, 4, 6, 7, 9, 10", + "type": "text" + } + ], + "index": 45 + } + ], + "index": 24 + } + ], + "page_idx": 11, + "page_size": [ + 612, + 792 + ], + "discarded_blocks": [ + { + "type": "discarded", + "bbox": [ + 300, + 741, + 311, + 750 + ], + "lines": [ + { + "bbox": [ + 299, + 740, + 312, + 754 + ], + "spans": [ + { + "bbox": [ + 299, + 740, + 312, + 754 + ], + "score": 1.0, + "content": "12", + "type": "text" + } + ] + } + ] + } + ], + "para_blocks": [ + { + "type": "text", + "bbox": [ + 106, + 72, + 505, + 105 + ], + "lines": [ + { + "bbox": [ + 105, + 72, + 505, + 86 + ], + "spans": [ + { + "bbox": [ + 105, + 72, + 505, + 86 + ], + "score": 1.0, + "content": "[20] Ze Liu, Yutong Lin, Yue Cao, Han Hu, Yixuan Wei, Zheng Zhang, Stephen Lin, and Baining", + "type": "text" + } + ], + "index": 0 + }, + { + "bbox": [ + 125, + 79, + 507, + 97 + ], + "spans": [ + { + "bbox": [ + 125, + 79, + 507, + 97 + ], + "score": 1.0, + "content": "Guo. Swin transformer: Hierarchical vision transformer using shifted windows. arXiv preprint,", + "type": "text" + } + ], + "index": 1 + }, + { + "bbox": [ + 126, + 93, + 164, + 107 + ], + "spans": [ + { + "bbox": [ + 126, + 93, + 164, + 107 + ], + "score": 1.0, + "content": "2021. 8", + "type": "text" + } + ], + "index": 2 + } + ], + "index": 1, + "bbox_fs": [ + 105, + 72, + 507, + 107 + ] + }, + { + "type": "list", + "bbox": [ + 105, + 81, + 507, + 727 + ], + "lines": [ + { + "bbox": [ + 105, + 111, + 506, + 127 + ], + "spans": [ + { + "bbox": [ + 105, + 111, + 410, + 127 + ], + "score": 1.0, + "content": "[21] Andrew Maas, Raymond E Daly, Peter T Pham, Dan Huang, Andrew", + "type": "text" + }, + { + "bbox": [ + 411, + 113, + 434, + 124 + ], + "score": 0.35, + "content": "\\mathrm { ~ Y ~ N ~ g ~ } _ { }", + "type": "inline_equation" + }, + { + "bbox": [ + 435, + 111, + 506, + 127 + ], + "score": 1.0, + "content": ", and Christopher", + "type": "text" + } + ], + "index": 3, + "is_list_start_line": true + }, + { + "bbox": [ + 124, + 122, + 507, + 138 + ], + "spans": [ + { + "bbox": [ + 124, + 122, + 507, + 138 + ], + "score": 1.0, + "content": "Potts. Learning word vectors for sentiment analysis. In Proceedings of the 49th annual meeting", + "type": "text" + } + ], + "index": 4 + }, + { + "bbox": [ + 126, + 133, + 489, + 149 + ], + "spans": [ + { + "bbox": [ + 126, + 133, + 489, + 149 + ], + "score": 1.0, + "content": "of the association for computational linguistics: Human language technologies, 2011. 10", + "type": "text" + } + ], + "index": 5, + "is_list_end_line": true + }, + { + "bbox": [ + 106, + 153, + 366, + 166 + ], + "spans": [ + { + "bbox": [ + 106, + 153, + 366, + 166 + ], + "score": 1.0, + "content": "[22] Mindspore. https://www.mindspore.cn/, 2020. 7", + "type": "text" + } + ], + "index": 6, + "is_list_start_line": true, + "is_list_end_line": true + }, + { + "bbox": [ + 105, + 171, + 506, + 186 + ], + "spans": [ + { + "bbox": [ + 105, + 171, + 506, + 186 + ], + "score": 1.0, + "content": "[23] Nikita Nangia and Samuel R Bowman. Listops: A diagnostic dataset for latent tree learning.", + "type": "text" + } + ], + "index": 7, + "is_list_start_line": true + }, + { + "bbox": [ + 126, + 183, + 230, + 195 + ], + "spans": [ + { + "bbox": [ + 126, + 183, + 230, + 195 + ], + "score": 1.0, + "content": "arXiv preprint, 2018. 10", + "type": "text" + } + ], + "index": 8, + "is_list_end_line": true + }, + { + "bbox": [ + 104, + 199, + 506, + 216 + ], + "spans": [ + { + "bbox": [ + 104, + 199, + 506, + 216 + ], + "score": 1.0, + "content": "[24] Hao Peng, Nikolaos Pappas, Dani Yogatama, Roy Schwartz, Noah A Smith, and Lingpeng", + "type": "text" + } + ], + "index": 9, + "is_list_start_line": true + }, + { + "bbox": [ + 125, + 211, + 436, + 226 + ], + "spans": [ + { + "bbox": [ + 125, + 211, + 436, + 226 + ], + "score": 1.0, + "content": "Kong. Random feature attention. arXiv preprint arXiv:2103.02143, 2021. 3", + "type": "text" + } + ], + "index": 10, + "is_list_end_line": true + }, + { + "bbox": [ + 106, + 232, + 505, + 243 + ], + "spans": [ + { + "bbox": [ + 106, + 232, + 505, + 243 + ], + "score": 1.0, + "content": "[25] Dragomir R Radev, Pradeep Muthukrishnan, Vahed Qazvinian, and Amjad Abu-Jbara. The acl", + "type": "text" + } + ], + "index": 11, + "is_list_start_line": true + }, + { + "bbox": [ + 125, + 241, + 430, + 254 + ], + "spans": [ + { + "bbox": [ + 125, + 241, + 430, + 254 + ], + "score": 1.0, + "content": "anthology network corpus. Language Resources and Evaluation, 2013. 10", + "type": "text" + } + ], + "index": 12, + "is_list_end_line": true + }, + { + "bbox": [ + 105, + 259, + 507, + 275 + ], + "spans": [ + { + "bbox": [ + 105, + 259, + 507, + 275 + ], + "score": 1.0, + "content": "[26] Ilija Radosavovic, Raj Prateek Kosaraju, Ross Girshick, Kaiming He, and Piotr Dollár. Design-", + "type": "text" + } + ], + "index": 13, + "is_list_start_line": true + }, + { + "bbox": [ + 127, + 271, + 324, + 285 + ], + "spans": [ + { + "bbox": [ + 127, + 271, + 324, + 285 + ], + "score": 1.0, + "content": "ing network design spaces. In CVPR, 2020. 2, 8", + "type": "text" + } + ], + "index": 14, + "is_list_end_line": true + }, + { + "bbox": [ + 105, + 289, + 506, + 303 + ], + "spans": [ + { + "bbox": [ + 105, + 289, + 506, + 303 + ], + "score": 1.0, + "content": "[27] Aravind Srinivas, Tsung-Yi Lin, Niki Parmar, Jonathon Shlens, Pieter Abbeel, and Ashish", + "type": "text" + } + ], + "index": 15, + "is_list_start_line": true + }, + { + "bbox": [ + 127, + 300, + 454, + 314 + ], + "spans": [ + { + "bbox": [ + 127, + 300, + 454, + 314 + ], + "score": 1.0, + "content": "Vaswani. Bottleneck transformers for visual recognition. arXiv preprint, 2021. 8", + "type": "text" + } + ], + "index": 16, + "is_list_end_line": true + }, + { + "bbox": [ + 106, + 319, + 506, + 333 + ], + "spans": [ + { + "bbox": [ + 106, + 319, + 506, + 333 + ], + "score": 1.0, + "content": "[28] Christian Szegedy, Vincent Vanhoucke, Sergey Ioffe, Jon Shlens, and Zbigniew Wojna. Re-", + "type": "text" + } + ], + "index": 17, + "is_list_start_line": true + }, + { + "bbox": [ + 126, + 330, + 426, + 343 + ], + "spans": [ + { + "bbox": [ + 126, + 330, + 426, + 343 + ], + "score": 1.0, + "content": "thinking the inception architecture for computer vision. In CVPR, 2016. 7", + "type": "text" + } + ], + "index": 18, + "is_list_end_line": true + }, + { + "bbox": [ + 106, + 349, + 506, + 362 + ], + "spans": [ + { + "bbox": [ + 106, + 349, + 506, + 362 + ], + "score": 1.0, + "content": "[29] Yi Tay, Mostafa Dehghani, Samira Abnar, Yikang Shen, Dara Bahri, Philip Pham, Jinfeng Rao,", + "type": "text" + } + ], + "index": 19, + "is_list_start_line": true + }, + { + "bbox": [ + 124, + 358, + 507, + 375 + ], + "spans": [ + { + "bbox": [ + 124, + 358, + 507, + 375 + ], + "score": 1.0, + "content": "Liu Yang, Sebastian Ruder, and Donald Metzler. Long range arena: A benchmark for efficient", + "type": "text" + } + ], + "index": 20 + }, + { + "bbox": [ + 125, + 370, + 288, + 384 + ], + "spans": [ + { + "bbox": [ + 125, + 370, + 288, + 384 + ], + "score": 1.0, + "content": "transformers. arXiv preprint, 2020. 10", + "type": "text" + } + ], + "index": 21, + "is_list_end_line": true + }, + { + "bbox": [ + 104, + 387, + 507, + 404 + ], + "spans": [ + { + "bbox": [ + 104, + 387, + 507, + 404 + ], + "score": 1.0, + "content": "[30] Yi Tay, Mostafa Dehghani, Dara Bahri, and Donald Metzler. Efficient transformers: A survey.", + "type": "text" + } + ], + "index": 22, + "is_list_start_line": true + }, + { + "bbox": [ + 126, + 401, + 226, + 414 + ], + "spans": [ + { + "bbox": [ + 126, + 401, + 226, + 414 + ], + "score": 1.0, + "content": "arXiv preprint, 2020. 3", + "type": "text" + } + ], + "index": 23, + "is_list_end_line": true + }, + { + "bbox": [ + 104, + 418, + 507, + 432 + ], + "spans": [ + { + "bbox": [ + 104, + 418, + 507, + 432 + ], + "score": 1.0, + "content": "[31] Hugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa, Alexandre Sablayrolles, and", + "type": "text" + } + ], + "index": 24, + "is_list_start_line": true + }, + { + "bbox": [ + 127, + 430, + 505, + 443 + ], + "spans": [ + { + "bbox": [ + 127, + 430, + 505, + 443 + ], + "score": 1.0, + "content": "Hervé Jégou. Training data-efficient image transformers & distillation through attention. arXiv", + "type": "text" + } + ], + "index": 25 + }, + { + "bbox": [ + 126, + 441, + 236, + 454 + ], + "spans": [ + { + "bbox": [ + 126, + 441, + 236, + 454 + ], + "score": 1.0, + "content": "preprint, 2020. 2, 8, 9, 10", + "type": "text" + } + ], + "index": 26, + "is_list_end_line": true + }, + { + "bbox": [ + 106, + 459, + 506, + 473 + ], + "spans": [ + { + "bbox": [ + 106, + 459, + 506, + 473 + ], + "score": 1.0, + "content": "[32] Hugo Touvron, Matthieu Cord, Alexandre Sablayrolles, Gabriel Synnaeve, and Hervé Jégou.", + "type": "text" + } + ], + "index": 27, + "is_list_start_line": true + }, + { + "bbox": [ + 126, + 470, + 385, + 483 + ], + "spans": [ + { + "bbox": [ + 126, + 470, + 385, + 483 + ], + "score": 1.0, + "content": "Going deeper with image transformers. arXiv preprint, 2021. 8", + "type": "text" + } + ], + "index": 28, + "is_list_end_line": true + }, + { + "bbox": [ + 106, + 489, + 507, + 502 + ], + "spans": [ + { + "bbox": [ + 106, + 489, + 507, + 502 + ], + "score": 1.0, + "content": "[33] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez,", + "type": "text" + } + ], + "index": 29, + "is_list_start_line": true + }, + { + "bbox": [ + 126, + 500, + 507, + 514 + ], + "spans": [ + { + "bbox": [ + 126, + 500, + 507, + 514 + ], + "score": 1.0, + "content": "Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. In NeurIPS, 2017. 1, 2, 3, 4, 6,", + "type": "text" + } + ], + "index": 30 + }, + { + "bbox": [ + 126, + 510, + 153, + 524 + ], + "spans": [ + { + "bbox": [ + 126, + 510, + 153, + 524 + ], + "score": 1.0, + "content": "9, 10", + "type": "text" + } + ], + "index": 31, + "is_list_end_line": true + }, + { + "bbox": [ + 106, + 529, + 506, + 543 + ], + "spans": [ + { + "bbox": [ + 106, + 529, + 506, + 543 + ], + "score": 1.0, + "content": "[34] Sinong Wang, Belinda Li, Madian Khabsa, Han Fang, and Hao Ma. Linformer: Self-attention", + "type": "text" + } + ], + "index": 32, + "is_list_start_line": true + }, + { + "bbox": [ + 127, + 540, + 365, + 554 + ], + "spans": [ + { + "bbox": [ + 127, + 540, + 365, + 554 + ], + "score": 1.0, + "content": "with linear complexity. arXiv preprint, 2020. 2, 3, 6, 7, 10", + "type": "text" + } + ], + "index": 33, + "is_list_end_line": true + }, + { + "bbox": [ + 104, + 558, + 507, + 574 + ], + "spans": [ + { + "bbox": [ + 104, + 558, + 507, + 574 + ], + "score": 1.0, + "content": "[35] Wenhai Wang, Enze Xie, Xiang Li, Deng-Ping Fan, Kaitao Song, Ding Liang, Tong Lu, Ping", + "type": "text" + } + ], + "index": 34, + "is_list_start_line": true + }, + { + "bbox": [ + 127, + 570, + 505, + 583 + ], + "spans": [ + { + "bbox": [ + 127, + 570, + 505, + 583 + ], + "score": 1.0, + "content": "Luo, and Ling Shao. Pyramid vision transformer: A versatile backbone for dense prediction", + "type": "text" + } + ], + "index": 35 + }, + { + "bbox": [ + 127, + 581, + 360, + 594 + ], + "spans": [ + { + "bbox": [ + 127, + 581, + 360, + 594 + ], + "score": 1.0, + "content": "without convolutions. arXiv preprint, 2021. 2, 6, 7, 8, 10", + "type": "text" + } + ], + "index": 36, + "is_list_end_line": true + }, + { + "bbox": [ + 104, + 598, + 507, + 613 + ], + "spans": [ + { + "bbox": [ + 104, + 598, + 507, + 613 + ], + "score": 1.0, + "content": "[36] Xiaolong Wang, Ross Girshick, Abhinav Gupta, and Kaiming He. Non-local neural networks.", + "type": "text" + } + ], + "index": 37, + "is_list_start_line": true + }, + { + "bbox": [ + 126, + 610, + 205, + 623 + ], + "spans": [ + { + "bbox": [ + 126, + 610, + 205, + 623 + ], + "score": 1.0, + "content": "In CVPR, 2018. 2", + "type": "text" + } + ], + "index": 38, + "is_list_end_line": true + }, + { + "bbox": [ + 106, + 629, + 505, + 642 + ], + "spans": [ + { + "bbox": [ + 106, + 629, + 205, + 642 + ], + "score": 1.0, + "content": "[37] Ross Wightman.", + "type": "text" + }, + { + "bbox": [ + 212, + 629, + 321, + 642 + ], + "score": 1.0, + "content": "Pytorch image models.", + "type": "text" + }, + { + "bbox": [ + 328, + 629, + 505, + 642 + ], + "score": 1.0, + "content": "https://github.com/rwightman/", + "type": "text" + } + ], + "index": 39, + "is_list_start_line": true + }, + { + "bbox": [ + 124, + 639, + 290, + 654 + ], + "spans": [ + { + "bbox": [ + 124, + 639, + 290, + 654 + ], + "score": 1.0, + "content": "pytorch-image-models, 2019. 6", + "type": "text" + } + ], + "index": 40, + "is_list_end_line": true + }, + { + "bbox": [ + 106, + 658, + 505, + 672 + ], + "spans": [ + { + "bbox": [ + 106, + 658, + 505, + 672 + ], + "score": 1.0, + "content": "[38] Christopher Williams and Matthias Seeger. Using the nyström method to speed up kernel", + "type": "text" + } + ], + "index": 41, + "is_list_start_line": true + }, + { + "bbox": [ + 126, + 669, + 258, + 683 + ], + "spans": [ + { + "bbox": [ + 126, + 669, + 258, + 683 + ], + "score": 1.0, + "content": "machines. In NeurIPS, 2001. 4", + "type": "text" + } + ], + "index": 42, + "is_list_end_line": true + }, + { + "bbox": [ + 106, + 688, + 506, + 702 + ], + "spans": [ + { + "bbox": [ + 106, + 688, + 506, + 702 + ], + "score": 1.0, + "content": "[39] Yunyang Xiong, Zhanpeng Zeng, Rudrasis Chakraborty, Mingxing Tan, Glenn Fung, Yin Li,", + "type": "text" + } + ], + "index": 43, + "is_list_start_line": true + }, + { + "bbox": [ + 126, + 699, + 507, + 713 + ], + "spans": [ + { + "bbox": [ + 126, + 699, + 507, + 713 + ], + "score": 1.0, + "content": "and Vikas Singh. Nyströmformer: A nyström-based algorithm for approximating self-attention.", + "type": "text" + } + ], + "index": 44 + }, + { + "bbox": [ + 126, + 710, + 264, + 723 + ], + "spans": [ + { + "bbox": [ + 126, + 710, + 264, + 723 + ], + "score": 1.0, + "content": "In AAAI, 2021. 2, 3, 4, 6, 7, 9, 10", + "type": "text" + } + ], + "index": 45, + "is_list_end_line": true + }, + { + "bbox": [ + 105, + 71, + 505, + 87 + ], + "spans": [ + { + "bbox": [ + 105, + 71, + 505, + 87 + ], + "score": 1.0, + "content": "[40] Weijian Xu, Yifan Xu, Tyler Chang, and Zhuowen Tu. Co-scale conv-attentional image", + "type": "text", + "cross_page": true + } + ], + "index": 0, + "is_list_start_line": true + }, + { + "bbox": [ + 126, + 83, + 282, + 97 + ], + "spans": [ + { + "bbox": [ + 126, + 83, + 282, + 97 + ], + "score": 1.0, + "content": "transformers. arXiv preprint, 2021. 8", + "type": "text", + "cross_page": true + } + ], + "index": 1, + "is_list_end_line": true + }, + { + "bbox": [ + 105, + 101, + 506, + 116 + ], + "spans": [ + { + "bbox": [ + 105, + 101, + 506, + 116 + ], + "score": 1.0, + "content": "[41] Li Yuan, Yunpeng Chen, Tao Wang, Weihao Yu, Yujun Shi, Zihang Jiang, Francis EH Tay,", + "type": "text", + "cross_page": true + } + ], + "index": 2, + "is_list_start_line": true + }, + { + "bbox": [ + 126, + 113, + 506, + 127 + ], + "spans": [ + { + "bbox": [ + 126, + 113, + 506, + 127 + ], + "score": 1.0, + "content": "Jiashi Feng, and Shuicheng Yan. Tokens-to-token vit: Training vision transformers from scratch", + "type": "text", + "cross_page": true + } + ], + "index": 3 + }, + { + "bbox": [ + 127, + 125, + 300, + 137 + ], + "spans": [ + { + "bbox": [ + 127, + 125, + 300, + 137 + ], + "score": 1.0, + "content": "on imagenet. arXiv preprint, 2021. 1, 2, 8", + "type": "text", + "cross_page": true + } + ], + "index": 4, + "is_list_end_line": true + }, + { + "bbox": [ + 106, + 143, + 505, + 156 + ], + "spans": [ + { + "bbox": [ + 106, + 143, + 505, + 156 + ], + "score": 1.0, + "content": "[42] Sangdoo Yun, Dongyoon Han, Seong Joon Oh, Sanghyuk Chun, Junsuk Choe, and Youngjoon", + "type": "text", + "cross_page": true + } + ], + "index": 5, + "is_list_start_line": true + }, + { + "bbox": [ + 126, + 154, + 506, + 168 + ], + "spans": [ + { + "bbox": [ + 126, + 154, + 506, + 168 + ], + "score": 1.0, + "content": "Yoo. Cutmix: Regularization strategy to train strong classifiers with localizable features. In", + "type": "text", + "cross_page": true + } + ], + "index": 6 + }, + { + "bbox": [ + 127, + 165, + 189, + 177 + ], + "spans": [ + { + "bbox": [ + 127, + 165, + 189, + 177 + ], + "score": 1.0, + "content": "ICCV, 2019. 7", + "type": "text", + "cross_page": true + } + ], + "index": 7, + "is_list_end_line": true + }, + { + "bbox": [ + 105, + 184, + 505, + 198 + ], + "spans": [ + { + "bbox": [ + 105, + 184, + 505, + 198 + ], + "score": 1.0, + "content": "[43] Hongyi Zhang, Moustapha Cisse, Yann N Dauphin, and David Lopez-Paz. mixup: Beyond", + "type": "text", + "cross_page": true + } + ], + "index": 8, + "is_list_start_line": true + }, + { + "bbox": [ + 127, + 195, + 341, + 207 + ], + "spans": [ + { + "bbox": [ + 127, + 195, + 341, + 207 + ], + "score": 1.0, + "content": "empirical risk minimization. arXiv preprint, 2017. 7", + "type": "text", + "cross_page": true + } + ], + "index": 9, + "is_list_end_line": true + }, + { + "bbox": [ + 105, + 213, + 505, + 227 + ], + "spans": [ + { + "bbox": [ + 105, + 213, + 505, + 227 + ], + "score": 1.0, + "content": "[44] Li Zhang, Dan Xu, Anurag Arnab, and Philip HS Torr. Dynamic graph message passing", + "type": "text", + "cross_page": true + } + ], + "index": 10, + "is_list_start_line": true + }, + { + "bbox": [ + 126, + 225, + 246, + 236 + ], + "spans": [ + { + "bbox": [ + 126, + 225, + 246, + 236 + ], + "score": 1.0, + "content": "networks. In CVPR, 2020. 2", + "type": "text", + "cross_page": true + } + ], + "index": 11, + "is_list_end_line": true + }, + { + "bbox": [ + 105, + 243, + 506, + 257 + ], + "spans": [ + { + "bbox": [ + 105, + 243, + 506, + 257 + ], + "score": 1.0, + "content": "[45] Hengshuang Zhao, Jiaya Jia, and Vladlen Koltun. Exploring self-attention for image recognition.", + "type": "text", + "cross_page": true + } + ], + "index": 12, + "is_list_start_line": true + }, + { + "bbox": [ + 127, + 255, + 203, + 266 + ], + "spans": [ + { + "bbox": [ + 127, + 255, + 203, + 266 + ], + "score": 1.0, + "content": "In CVPR, 2020. 2", + "type": "text", + "cross_page": true + } + ], + "index": 13, + "is_list_end_line": true + }, + { + "bbox": [ + 105, + 273, + 506, + 287 + ], + "spans": [ + { + "bbox": [ + 105, + 273, + 506, + 287 + ], + "score": 1.0, + "content": "[46] Sixiao Zheng, Jiachen Lu, Hengshuang Zhao, Xiatian Zhu, Zekun Luo, Yabiao Wang, Yanwei", + "type": "text", + "cross_page": true + } + ], + "index": 14, + "is_list_start_line": true + }, + { + "bbox": [ + 127, + 285, + 505, + 297 + ], + "spans": [ + { + "bbox": [ + 127, + 285, + 505, + 297 + ], + "score": 1.0, + "content": "Fu, Jianfeng Feng, Tao Xiang, Philip HS Torr, and Li Zhang. Rethinking semantic segmentation", + "type": "text", + "cross_page": true + } + ], + "index": 15 + }, + { + "bbox": [ + 127, + 295, + 443, + 308 + ], + "spans": [ + { + "bbox": [ + 127, + 295, + 443, + 308 + ], + "score": 1.0, + "content": "from a sequence-to-sequence perspective with transformers. In CVPR, 2021. 1", + "type": "text", + "cross_page": true + } + ], + "index": 16, + "is_list_end_line": true + }, + { + "bbox": [ + 105, + 314, + 506, + 328 + ], + "spans": [ + { + "bbox": [ + 105, + 314, + 506, + 328 + ], + "score": 1.0, + "content": "[47] Xizhou Zhu, Weijie Su, Lewei Lu, Bin Li, Xiaogang Wang, and Jifeng Dai. Deformable detr:", + "type": "text", + "cross_page": true + } + ], + "index": 17, + "is_list_start_line": true + }, + { + "bbox": [ + 127, + 325, + 432, + 338 + ], + "spans": [ + { + "bbox": [ + 127, + 325, + 432, + 338 + ], + "score": 1.0, + "content": "Deformable transformers for end-to-end object detection. In ICLR, 2021. 1", + "type": "text", + "cross_page": true + } + ], + "index": 18, + "is_list_end_line": true + } + ], + "index": 24, + "bbox_fs": [ + 104, + 111, + 507, + 723 + ] + } + ] + }, + { + "preproc_blocks": [ + { + "type": "text", + "bbox": [ + 103, + 71, + 507, + 338 + ], + "lines": [ + { + "bbox": [ + 105, + 71, + 505, + 87 + ], + "spans": [ + { + "bbox": [ + 105, + 71, + 505, + 87 + ], + "score": 1.0, + "content": "[40] Weijian Xu, Yifan Xu, Tyler Chang, and Zhuowen Tu. Co-scale conv-attentional image", + "type": "text" + } + ], + "index": 0 + }, + { + "bbox": [ + 126, + 83, + 282, + 97 + ], + "spans": [ + { + "bbox": [ + 126, + 83, + 282, + 97 + ], + "score": 1.0, + "content": "transformers. arXiv preprint, 2021. 8", + "type": "text" + } + ], + "index": 1 + }, + { + "bbox": [ + 105, + 101, + 506, + 116 + ], + "spans": [ + { + "bbox": [ + 105, + 101, + 506, + 116 + ], + "score": 1.0, + "content": "[41] Li Yuan, Yunpeng Chen, Tao Wang, Weihao Yu, Yujun Shi, Zihang Jiang, Francis EH Tay,", + "type": "text" + } + ], + "index": 2 + }, + { + "bbox": [ + 126, + 113, + 506, + 127 + ], + "spans": [ + { + "bbox": [ + 126, + 113, + 506, + 127 + ], + "score": 1.0, + "content": "Jiashi Feng, and Shuicheng Yan. Tokens-to-token vit: Training vision transformers from scratch", + "type": "text" + } + ], + "index": 3 + }, + { + "bbox": [ + 127, + 125, + 300, + 137 + ], + "spans": [ + { + "bbox": [ + 127, + 125, + 300, + 137 + ], + "score": 1.0, + "content": "on imagenet. arXiv preprint, 2021. 1, 2, 8", + "type": "text" + } + ], + "index": 4 + }, + { + "bbox": [ + 106, + 143, + 505, + 156 + ], + "spans": [ + { + "bbox": [ + 106, + 143, + 505, + 156 + ], + "score": 1.0, + "content": "[42] Sangdoo Yun, Dongyoon Han, Seong Joon Oh, Sanghyuk Chun, Junsuk Choe, and Youngjoon", + "type": "text" + } + ], + "index": 5 + }, + { + "bbox": [ + 126, + 154, + 506, + 168 + ], + "spans": [ + { + "bbox": [ + 126, + 154, + 506, + 168 + ], + "score": 1.0, + "content": "Yoo. Cutmix: Regularization strategy to train strong classifiers with localizable features. In", + "type": "text" + } + ], + "index": 6 + }, + { + "bbox": [ + 127, + 165, + 189, + 177 + ], + "spans": [ + { + "bbox": [ + 127, + 165, + 189, + 177 + ], + "score": 1.0, + "content": "ICCV, 2019. 7", + "type": "text" + } + ], + "index": 7 + }, + { + "bbox": [ + 105, + 184, + 505, + 198 + ], + "spans": [ + { + "bbox": [ + 105, + 184, + 505, + 198 + ], + "score": 1.0, + "content": "[43] Hongyi Zhang, Moustapha Cisse, Yann N Dauphin, and David Lopez-Paz. mixup: Beyond", + "type": "text" + } + ], + "index": 8 + }, + { + "bbox": [ + 127, + 195, + 341, + 207 + ], + "spans": [ + { + "bbox": [ + 127, + 195, + 341, + 207 + ], + "score": 1.0, + "content": "empirical risk minimization. arXiv preprint, 2017. 7", + "type": "text" + } + ], + "index": 9 + }, + { + "bbox": [ + 105, + 213, + 505, + 227 + ], + "spans": [ + { + "bbox": [ + 105, + 213, + 505, + 227 + ], + "score": 1.0, + "content": "[44] Li Zhang, Dan Xu, Anurag Arnab, and Philip HS Torr. Dynamic graph message passing", + "type": "text" + } + ], + "index": 10 + }, + { + "bbox": [ + 126, + 225, + 246, + 236 + ], + "spans": [ + { + "bbox": [ + 126, + 225, + 246, + 236 + ], + "score": 1.0, + "content": "networks. In CVPR, 2020. 2", + "type": "text" + } + ], + "index": 11 + }, + { + "bbox": [ + 105, + 243, + 506, + 257 + ], + "spans": [ + { + "bbox": [ + 105, + 243, + 506, + 257 + ], + "score": 1.0, + "content": "[45] Hengshuang Zhao, Jiaya Jia, and Vladlen Koltun. Exploring self-attention for image recognition.", + "type": "text" + } + ], + "index": 12 + }, + { + "bbox": [ + 127, + 255, + 203, + 266 + ], + "spans": [ + { + "bbox": [ + 127, + 255, + 203, + 266 + ], + "score": 1.0, + "content": "In CVPR, 2020. 2", + "type": "text" + } + ], + "index": 13 + }, + { + "bbox": [ + 105, + 273, + 506, + 287 + ], + "spans": [ + { + "bbox": [ + 105, + 273, + 506, + 287 + ], + "score": 1.0, + "content": "[46] Sixiao Zheng, Jiachen Lu, Hengshuang Zhao, Xiatian Zhu, Zekun Luo, Yabiao Wang, Yanwei", + "type": "text" + } + ], + "index": 14 + }, + { + "bbox": [ + 127, + 285, + 505, + 297 + ], + "spans": [ + { + "bbox": [ + 127, + 285, + 505, + 297 + ], + "score": 1.0, + "content": "Fu, Jianfeng Feng, Tao Xiang, Philip HS Torr, and Li Zhang. Rethinking semantic segmentation", + "type": "text" + } + ], + "index": 15 + }, + { + "bbox": [ + 127, + 295, + 443, + 308 + ], + "spans": [ + { + "bbox": [ + 127, + 295, + 443, + 308 + ], + "score": 1.0, + "content": "from a sequence-to-sequence perspective with transformers. In CVPR, 2021. 1", + "type": "text" + } + ], + "index": 16 + }, + { + "bbox": [ + 105, + 314, + 506, + 328 + ], + "spans": [ + { + "bbox": [ + 105, + 314, + 506, + 328 + ], + "score": 1.0, + "content": "[47] Xizhou Zhu, Weijie Su, Lewei Lu, Bin Li, Xiaogang Wang, and Jifeng Dai. Deformable detr:", + "type": "text" + } + ], + "index": 17 + }, + { + "bbox": [ + 127, + 325, + 432, + 338 + ], + "spans": [ + { + "bbox": [ + 127, + 325, + 432, + 338 + ], + "score": 1.0, + "content": "Deformable transformers for end-to-end object detection. In ICLR, 2021. 1", + "type": "text" + } + ], + "index": 18 + } + ], + "index": 9 + } + ], + "page_idx": 12, + "page_size": [ + 612, + 792 + ], + "discarded_blocks": [ + { + "type": "discarded", + "bbox": [ + 300, + 741, + 311, + 750 + ], + "lines": [ + { + "bbox": [ + 299, + 740, + 313, + 754 + ], + "spans": [ + { + "bbox": [ + 299, + 740, + 313, + 754 + ], + "score": 1.0, + "content": "13", + "type": "text" + } + ] + } + ] + } + ], + "para_blocks": [ + { + "type": "list", + "bbox": [ + 103, + 71, + 507, + 338 + ], + "lines": [], + "index": 9, + "bbox_fs": [ + 105, + 71, + 506, + 338 + ], + "lines_deleted": true + } + ] + } + ], + "_backend": "pipeline", + "_version_name": "2.2.2" +} \ No newline at end of file