Centroid Transformers: Learning to Abstract with Attention
Not on the map. Why?
Abstract (arXiv)
Self-attention, as the key block of transformers, is a powerful mechanism for extracting features from the inputs. In essence, what self-attention does is to infer the pairwise relations between the elements of the inputs, and modify the inputs by propagating information between input pairs. As a result, it maps inputs to N outputs and casts a quadratic O(N2) memory and time complexity. We propose centroid attention, a generalization of self-attention that maps N inputs to M outputs (M≤ N), such that the key information in the inputs are summarized in the smaller number of outputs (called centroids). We design centroid attention by amortizing the gradient descent update rule of a clustering objective function on the inputs, which reveals an underlying connection between attention and clustering. By compressing the inputs to the centroids, we extract the key information useful for prediction and also reduce the computation of the attention module and the subsequent layers. We apply our method to various applications, including abstractive text summarization, 3D vision, and image processing. Empirical results demonstrate the effectiveness of our method over the standard transformers.
Key facts. Cited by 20 papers in the map (data through 14 Oct 2026). Builds on 37 of its 46 references that are in the map. First posted on arXiv 17 Feb 2021.
Builds on
37 of 46 references.
References · 37
- 2017Attention Is All You Needcited by 60,361
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
- 2020End-to-End Object Detection with Transformerscited by 7,414
- 2016PointNet: Deep Learning on Point Sets for 3D Classification and Segmentationcited by 5,248
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2017PointNet++: Deep Hierarchical Feature Learning on Point Sets in a Metric Spacecited by 4,401
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2015ShapeNet: An Information-Rich 3D Model Repositorycited by 2,897
- 2018Dynamic Graph CNN for Learning on Point Cloudscited by 2,223
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2020Reformer: The Efficient Transformercited by 1,668
25 more
- 2017Deformable Convolutional Networkscited by 1,488
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,167
- 2015Multi-Scale Context Aggregation by Dilated Convolutionscited by 1,133
- 2014Striving for Simplicity: The All Convolutional Netcited by 990
- 2016Abstractive Text Summarization Using Sequence-to-Sequence RNNs and Beyondcited by 812
- 2017Dynamic Routing Between Capsulescited by 689
- 2019RandLA-Net: Efficient Semantic Segmentation of Large-Scale Point Cloudscited by 585
- 2020Hopfield Networks is All You Needcited by 475
- 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 471
- 2015A Neural Attention Model for Abstractive Sentence Summarizationcited by 396
- 2018Efficient Attention: Attention with Linear Complexitiescited by 368
- 2019Learning Deep Transformer Models for Machine Translationcited by 309
- 2016Towards K-means-friendly Spaces: Simultaneous Deep Learning and Clusteringcited by 237
- 2016Joint Unsupervised Learning of Deep Representations and Image Clusterscited by 205
- 2017Learning to cluster in order to transfer across domains and taskscited by 128
- 20183D Point Capsule Networkscited by 106
- 2019Language Modeling with Deep Transformerscited by 96
- 2018Improving the Transformer Translation Model with Document-Level Contextcited by 74
- 2019Learning to Cluster Faces on an Affinity Graphcited by 50
- 2018Clustering with Deep Learning: Taxonomy and New Methodscited by 46
- 2019Adaptive Hierarchical Down-Sampling for Point Cloud Classificationcited by 40
- 2019LIP: Local Importance-based Poolingcited by 30
- 2018Learning Region Features for Object Detectioncited by 15
- 2020Deeper or Wider Networks of Point Clouds with Self-attention?cited by 1
Built on by
Citing papers per year: 2021: 3; 2022: 10; 2023: 3; 2024: 3; 2025: 1.
20 papers.
Sort:
By area:
- 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
- 2021Token Pooling in Vision Transformerscited by 69
- 2023Which Tokens to Use? Investigating Token Reduction in Vision Transformerscited by 60
- 2023Image as Set of Pointscited by 43
- 2022Visual Attention Methods in Deep Learning: An In-Depth Surveycited by 37
- 2022Transformers in 3D Point Clouds: A Surveycited by 31
- 20223D Vision with Transformers: A Surveycited by 21
- 2022SaiT: Sparse Vision Transformers through Adaptive Token Pruningcited by 15
- 2022Pyramid-BERT: Reducing Complexity via Successive Core-set based Token Selectioncited by 13
- 2023All4One: Symbiotic Neighbour Contrastive Learning via Self-Attention and Redundancy Reductioncited by 11
- 2022Learning with Capsules: A Surveycited by 10
- 2022Weakly Supervised Grounding for VQA in Vision-Language Transformerscited by 8
8 more
- 2022LwPosr: Lightweight Efficient Fine-Grained Head Pose Estimationcited by 4
- 2025Towards Interpretable and Efficient Attention: Compressing All by Contracting a Fewcited by 2
- 2022HeadPosr: End-to-end Trainable Head Pose Estimation using Transformer Encoderscited by 1
- 20243D Learnable Supertoken Transformer for LiDAR Point Cloud Scene Segmentationcited by 1
- 2024HandDAGT: A Denoising Adaptive Graph Transformer for 3D Hand Pose Estimationcited by 1
- 2024Self-Satisfied: An end-to-end framework for SAT generation and predictioncited by 1
- 2021T-EMDE: Sketching-based global similarity for cross-modal retrievalcited by 0
- 2022MaiT: Leverage Attention Masks for More Efficient Image Transformerscited by 0
- 2025Towards Interpretable and Efficient Attention: Compressing All by Contracting a Few21 Sep 2025
- 2024Self-Satisfied: An end-to-end framework for SAT generation and prediction18 Oct 2024
- 2024HandDAGT: A Denoising Adaptive Graph Transformer for 3D Hand Pose Estimation30 Jul 2024
- 20243D Learnable Supertoken Transformer for LiDAR Point Cloud Scene Segmentation23 May 2024
- 2023Which Tokens to Use? Investigating Token Reduction in Vision Transformers9 Aug 2023
- 2023All4One: Symbiotic Neighbour Contrastive Learning via Self-Attention and Redundancy Reduction16 Mar 2023
- 2023Image as Set of Points2 Mar 2023
- 2022SaiT: Sparse Vision Transformers through Adaptive Token Pruning11 Oct 2022
- 20223D Vision with Transformers: A Survey8 Aug 2022
- 2022MaiT: Leverage Attention Masks for More Efficient Image Transformers6 Jul 2022
- 2022Weakly Supervised Grounding for VQA in Vision-Language Transformers5 Jul 2022
- 2022Learning with Capsules: A Survey6 Jun 2022
8 more
- 2022Transformers in 3D Point Clouds: A Survey16 May 2022
- 2022Visual Attention Methods in Deep Learning: An In-Depth Survey16 Apr 2022
- 2022Pyramid-BERT: Reducing Complexity via Successive Core-set based Token Selection27 Mar 2022
- 2022HeadPosr: End-to-end Trainable Head Pose Estimation using Transformer Encoders7 Feb 2022
- 2022LwPosr: Lightweight Efficient Fine-Grained Head Pose Estimation7 Feb 2022
- 2021Token Pooling in Vision Transformers8 Oct 2021
- 2021T-EMDE: Sketching-based global similarity for cross-modal retrieval10 May 2021
- 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classification27 Mar 2021
- 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
- 2021Token Pooling in Vision Transformerscited by 69
- 2023Image as Set of Pointscited by 43
- 2022Visual Attention Methods in Deep Learning: An In-Depth Surveycited by 37
- 2022Transformers in 3D Point Clouds: A Surveycited by 31
- 20223D Vision with Transformers: A Surveycited by 21
- 2022Pyramid-BERT: Reducing Complexity via Successive Core-set based Token Selectioncited by 13
- 2023All4One: Symbiotic Neighbour Contrastive Learning via Self-Attention and Redundancy Reductioncited by 11
- 2022Learning with Capsules: A Surveycited by 10
- 2022Weakly Supervised Grounding for VQA in Vision-Language Transformerscited by 8
- 2022LwPosr: Lightweight Efficient Fine-Grained Head Pose Estimationcited by 4
- 2025Towards Interpretable and Efficient Attention: Compressing All by Contracting a Fewcited by 2
12 most cited of 18 All 18 (JSON)
- 2025Towards Interpretable and Efficient Attention: Compressing All by Contracting a Few21 Sep 2025
- 2024Self-Satisfied: An end-to-end framework for SAT generation and prediction18 Oct 2024
- 2024HandDAGT: A Denoising Adaptive Graph Transformer for 3D Hand Pose Estimation30 Jul 2024
- 20243D Learnable Supertoken Transformer for LiDAR Point Cloud Scene Segmentation23 May 2024
- 2023All4One: Symbiotic Neighbour Contrastive Learning via Self-Attention and Redundancy Reduction16 Mar 2023
- 2023Image as Set of Points2 Mar 2023
- 20223D Vision with Transformers: A Survey8 Aug 2022
- 2022MaiT: Leverage Attention Masks for More Efficient Image Transformers6 Jul 2022
- 2022Weakly Supervised Grounding for VQA in Vision-Language Transformers5 Jul 2022
- 2022Learning with Capsules: A Survey6 Jun 2022
- 2022Transformers in 3D Point Clouds: A Survey16 May 2022
- 2022Visual Attention Methods in Deep Learning: An In-Depth Survey16 Apr 2022
12 newest of 18 All 18 (JSON)