Poly-NL: Linear Complexity Non-local Layers with Polynomials
Not on the map. Why?
Abstract (arXiv)
Spatial self-attention layers, in the form of Non-Local blocks, introduce long-range dependencies in Convolutional Neural Networks by computing pairwise similarities among all possible positions. Such pairwise functions underpin the effectiveness of non-local layers, but also determine a complexity that scales quadratically with respect to the input size both in space and time. This is a severely limiting factor that practically hinders the applicability of non-local blocks to even moderately sized inputs. Previous works focused on reducing the complexity by modifying the underlying matrix operations, however in this work we aim to retain full expressiveness of non-local layers while keeping complexity linear. We overcome the efficiency limitation of non-local blocks by framing them as special cases of 3rd order polynomial functions. This fact enables us to formulate novel fast Non-Local blocks, capable of reducing the complexity from quadratic to linear with no loss in performance, by replacing any direct computation of pairwise similarities with element-wise multiplications. The proposed method, which we dub as "Poly-NL", is competitive with state-of-the-art performance across image recognition, instance segmentation, and face detection tasks, while having considerably less computational overhead.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 43 of its 60 references that are in the map. First posted on arXiv 6 Jul 2021.
Builds on
43 of 60 references.
References · 43
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2017Mask R-CNNcited by 7,259
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
- 2016Feature Pyramid Networks for Object Detectioncited by 5,021
- 2017Squeeze-and-Excitation Networkscited by 4,763
- 2018CBAM: Convolutional Block Attention Modulecited by 2,463
- 2017Non-local Neural Networkscited by 2,290
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
31 more
- 2020Rethinking Attention with Performerscited by 1,584
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2019MMDetection: Open MMLab Detection Toolbox and Benchmarkcited by 1,379
- 2018Dual Attention Network for Scene Segmentationcited by 1,001
- 2020Efficient Transformers: A Surveycited by 784
- 2017Focal Loss for Dense Object Detectioncited by 749
- 2017Understanding the Effective Receptive Field in Deep Convolutional Neural Networkscited by 549
- 2019Stand-Alone Self-Attention in Vision Modelscited by 542
- 2019EDVR: Video Restoration with Enhanced Deformable Convolutional Networkscited by 492
- 2019Distance-IoU Loss: Faster and Better Learning for Bounding Box Regressioncited by 454
- 2017Residual Attention Network for Image Classificationcited by 385
- 2018Efficient Attention: Attention with Linear Complexitiescited by 366
- 2019Attention Augmented Convolutional Networkscited by 363
- 2019GCNet: Non-local Networks Meet Squeeze-Excitation Networks and Beyondcited by 331
- 2020Axial-DeepLab: Stand-Alone Axial-Attention for Panoptic Segmentationcited by 326
- 2015WIDER FACE: A Face Detection Benchmarkcited by 297
- 2015Bilinear CNNs for Fine-grained Visual Recognitioncited by 228
- 2018Scaling Neural Machine Translationcited by 204
- 2018Graph-Based Global Reasoning Networkscited by 120
- 2019Dynamic Graph Message Passing Networkscited by 62
- 2018Hierarchical Bilinear Pooling for Fine-Grained Visual Recognitioncited by 47
- 2019Transformers with convolutional context for ASRcited by 44
- 2020Pi-nets: Deep Polynomial Neural Networkscited by 39
- 2018Compact Generalized Non-local Networkcited by 36
- 2019Spatial Group-wise Enhance: Improving Semantic Feature Learning in Convolutional Networkscited by 33
- 2016Multiplicative LSTM for sequence modellingcited by 27
- 2019LatentGNN: Learning Efficient Non-local Relations for Visual Recognitioncited by 25
- 2019Spatially and Temporally Efficient Non-local Attention Network for Video-based Person Re-Identificationcited by 23
- 2020Pyramid Attention Networks for Image Restorationcited by 17
Built on by
Citing papers per year: 2021: 1; 2022: 1; 2023: 1; 2024: 1; 2025: 0; 2026: 1.
5 papers.
- 2022The Spectral Bias of Polynomial Neural Networkscited by 19
- 2021Improving Face-Based Age Estimation with Attention-Based Dynamic Patch Fusioncited by 13
- 2023Regularization of polynomial networks for image recognitioncited by 13
- 2024Multilinear Operator Networkscited by 12
- 2026PolySAE: Modeling Feature Interactions in Sparse Autoencoders via Polynomial Decodingcited by 3
- 2026PolySAE: Modeling Feature Interactions in Sparse Autoencoders via Polynomial Decoding1 Feb 2026
- 2024Multilinear Operator Networks31 Jan 2024
- 2023Regularization of polynomial networks for image recognition24 Mar 2023
- 2022The Spectral Bias of Polynomial Neural Networks27 Feb 2022
- 2021Improving Face-Based Age Estimation with Attention-Based Dynamic Patch Fusion19 Dec 2021