ProFormer: Towards On-Device LSH Projection Based Transformers
Not on the map. Why?
Abstract (arXiv)
At the heart of text based neural models lay word representations, which are powerful but occupy a lot of memory making it challenging to deploy to devices with memory constraints such as mobile phones, watches and IoT. To surmount these challenges, we introduce ProFormer -- a projection based transformer architecture that is faster and lighter making it suitable to deploy to memory constraint devices and preserve user privacy. We use LSH projection layer to dynamically generate word representations on-the-fly without embedding lookup tables leading to significant memory footprint reduction from O(V.d) to O(T), where V is the vocabulary size, d is the embedding dimension size and T is the dimension of the LSH projection representation. We also propose a local projection attention (LPA) layer, which uses self-attention to transform the input sequence of N LSH word projections into a sequence of N/K representations reducing the computations quadratically by O(K^2). We evaluate ProFormer on multiple text classification tasks and observed improvements over prior state-of-the-art on-device approaches for short text classification and comparable performance for long text classification tasks. In comparison with a 2-layer BERT model, ProFormer reduced the embedding memory footprint from 92.16 MB to 1.3 KB and requires 16 times less computation overhead, which is very impressive making it the fastest and smallest on-device model.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). First posted on arXiv 13 Apr 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 3; 2023: 4; 2024: 0; 2025: 0; 2026: 1.
9 papers.
- 2021Efficient Deep Learning: A Survey on Making Deep Learning Models Smaller, Faster, and Bettercited by 153
- 2022Efficient Methods for Natural Language Processing: A Surveycited by 78
- 2022pNLP-Mixer: an Efficient all-MLP Architecture for Languagecited by 19
- 2022HashFormers: Towards Vocabulary-independent Pre-trained Transformerscited by 6
- 2023Vocabulary-level Memory Efficiency for Language Model Fine-tuningcited by 2
- 2023The Potential of Vision-Language Models for Content Moderation of Children's Videoscited by 2
- 2026MultiHashFormer: Hash-based Generative Language Modelscited by 1
- 2023Rediscovering Hashed Random Projections for Efficient Quantization of Contextualized Sentence Embeddingscited by 0
- 2023EELBERT: Tiny Models through Dynamic Embeddingscited by 0
- 2026MultiHashFormer: Hash-based Generative Language Models26 Jun 2026
- 2023The Potential of Vision-Language Models for Content Moderation of Children's Videos6 Dec 2023
- 2023EELBERT: Tiny Models through Dynamic Embeddings31 Oct 2023
- 2023Vocabulary-level Memory Efficiency for Language Model Fine-tuning15 Sep 2023
- 2023Rediscovering Hashed Random Projections for Efficient Quantization of Contextualized Sentence Embeddings13 Mar 2023
- 2022HashFormers: Towards Vocabulary-independent Pre-trained Transformers14 Oct 2022
- 2022Efficient Methods for Natural Language Processing: A Survey31 Aug 2022
- 2022pNLP-Mixer: an Efficient all-MLP Architecture for Language9 Feb 2022
- 2021Efficient Deep Learning: A Survey on Making Deep Learning Models Smaller, Faster, and Better16 Jun 2021