mlsanityData to 14 Oct 2026

SPARTAN: Sparse Hierarchical Memory for Parameter-Efficient Transformers

arXiv 2211.16634 ↗First posted 29 Nov 2022cs.CL cs.AI cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Fine-tuning pre-trained language models (PLMs) achieves impressive performance on a range of downstream tasks, and their sizes have consequently been getting bigger. Since a different copy of the model is required for each task, this paradigm is infeasible for storage-constrained edge devices like mobile phones. In this paper, we propose SPARTAN, a parameter efficient (PE) and computationally fast architecture for edge devices that adds hierarchically organized sparse memory after each Transformer layer. SPARTAN freezes the PLM parameters and fine-tunes only its memory, thus significantly reducing storage costs by re-using the PLM backbone for different tasks. SPARTAN contains two levels of memory, with only a sparse subset of parents being chosen in the first level for each input, and children cells corresponding to those parents being used to compute an output representation. This sparsity combined with other architecture optimizations improves SPARTAN's throughput by over 90% during inference on a Raspberry Pi 4 when compared to PE baselines (adapters) while also outperforming the latter by 0.1 points on the GLUE benchmark. Further, it can be trained 34% faster in a few-shot setting, while performing within 0.9 points of adapters. Qualitative analysis shows that different parent cells in SPARTAN specialize in different topics, thus dividing responsibility efficiently.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 45 of its 70 references that are in the map. First posted on arXiv 29 Nov 2022.

Builds on

45 of 70 references.

References · 45

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  5. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  6. 2016Layer Normalizationcited by 5,669
  7. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  8. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
  9. 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
  10. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  11. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
  12. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
33 more
  1. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
  2. 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,631
  3. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
  4. 2021BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-modelscited by 1,245
  5. 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 1,001
  6. 2018Neural Network Acceptability Judgmentscited by 958
  7. 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Expertscited by 897
  8. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 856
  9. 2020AdapterFusion: Non-Destructive Task Composition for Transfer Learningcited by 788
  10. 2018Wizard of Wikipedia: Knowledge-Powered Conversational agentscited by 530
  11. 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 482
  12. 2020AdapterHub: A Framework for Adapting Transformerscited by 444
  13. 2016Expert Gate: Lifelong Learning with a Network of Expertscited by 372
  14. 2014Memory Networkscited by 363
  15. 2020Parameter-Efficient Transfer Learning with Diff Pruningcited by 352
  16. 2021Parameter-efficient Multi-task Fine-tuning for Transformers via Shared Hypernetworkscited by 284
  17. 2020AdapterDrop: On the Efficiency of Adapters in Transformerscited by 224
  18. 2016Key-Value Memory Networks for Directly Reading Documentscited by 223
  19. 2018Applied Federated Learning: Improving Google Keyboard Query Suggestionscited by 204
  20. 2021How Many Data Points is a Prompt Worth?cited by 198
  21. 2021Knowledgeable Prompt-tuning: Incorporating Knowledge into Prompt Verbalizer for Text Classificationcited by 183
  22. 2022Delta Tuning: A Comprehensive Study of Parameter Efficient Methods for Pre-trained Language Modelscited by 180
  23. 2019Federated Learning for Emoji Prediction in a Mobile Keyboardcited by 118
  24. 2020Masking as an Efficient Alternative to Finetuning for Pretrained Language Modelscited by 93
  25. 2019What Would Elsa Do? Freezing Layers During Transformer Fine-Tuningcited by 89
  26. 2020EdgeBERT: Sentence-Level Energy Optimizations for Latency-Aware Multi-Task NLP Inferencecited by 70
  27. 2021Federated Learning Meets Natural Language Processing: A Surveycited by 43
  28. 2020Transformer Based Multi-Source Domain Adaptationcited by 23
  29. 2020Pretraining Federated Text Models for Next Word Predictioncited by 22
  30. 2016Hierarchical Memory Networkscited by 15
  31. 2015Properties of Sparse Distributed Representations and their Application to Hierarchical Temporal Memorycited by 14
  32. 2020CHIME: Cross-passage Hierarchical Memory Network for Generative Review Question Answeringcited by 6
  33. 2016Learning Efficient Algorithms with Hierarchical Attentive Memorycited by 2

Built on by

Cited by year

Citing papers per year: 2024: 1.

1 paper.