mlsanityData to 13 Oct 2026

QuaLA-MiniLM: a Quantized Length Adaptive MiniLM

arXiv 2210.17114 ↗First posted 31 Oct 2022cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

Limited computational budgets often prevent transformers from being used in production and from having their high accuracy utilized. A knowledge distillation approach addresses the computational efficiency by self-distilling BERT into a smaller transformer representation having fewer layers and smaller internal embedding. However, the performance of these models drops as we reduce the number of layers, notably in advanced NLP tasks such as span question answering. In addition, a separate model must be trained for each inference scenario with its distinct computational budget. Dynamic-TinyBERT tackles both limitations by partially implementing the Length Adaptive Transformer (LAT) technique onto TinyBERT, achieving x3 speedup over BERT-base with minimal accuracy loss. In this work, we expand the Dynamic-TinyBERT approach to generate a much more highly efficient model. We use MiniLM distillation jointly with the LAT method, and we further enhance the efficiency by applying low-bit quantization. Our quantized length-adaptive MiniLM model (QuaLA-MiniLM) is trained only once, dynamically fits any inference scenario, and achieves an accuracy-efficiency trade-off superior to any other efficient approaches per any computational budget on the SQuAD1.1 dataset (up to x8.8 speedup with <1% accuracy loss). The code to reproduce this work is publicly available on Github.

Key facts. Cited by 1 paper in the map (data through 13 Oct 2026). Builds on 17 of its 22 references that are in the map. First posted on arXiv 31 Oct 2022.

Builds on

17 of 22 references.

References · 17

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,304
  2. 2020Language Models are Few-Shot Learnerscited by 32,320
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,322
  4. 2015Distilling the Knowledge in a Neural Networkcited by 10,180
  5. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,281
  6. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,133
  7. 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,585
  8. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,435
  9. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,157
  10. 2019Once-for-All: Train One Network and Specialize it for Efficient Deploymentcited by 783
  11. 2013Do Deep Nets Really Need to be Deep?cited by 471
  12. 2018HAQ: Hardware-Aware Automated Quantization with Mixed Precisioncited by 439
5 more
  1. 2019Q8BERT: Quantized 8Bit BERTcited by 299
  2. 2020MiniLMv2: Multi-Head Self-Attention Relation Distillation for Compressing Pretrained Transformerscited by 240
  3. 2020HAT: Hardware-Aware Transformers for Efficient Natural Language Processingcited by 136
  4. 2020Length-Adaptive Transformer: Train Once with Length Drop, Use Anytime with Searchcited by 76
  5. 2021Dynamic-TinyBERT: Boost TinyBERT's Inference Efficiency by Dynamic Sequence Lengthcited by 4

Built on by

Cited by year

Citing papers per year: 2024: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2021KDLSQ-BERT: A Quantized Bert Combining Knowledge Distillation with Learned Step Size Quantization
  2. 2026TernaryLM: Memory-Efficient Language Modeling via Native 1.5-Bit Quantization with Adaptive Layer-wise Scaling
  3. 2023QLLM: Accurate and Efficient Low-Bitwidth Quantization for Large Language Models
  4. 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformers
  5. 2022MKQ-BERT: Quantized BERT with 4-bits Weights and Activations
  6. 2026TWLA: Achieving Ternary Weights and Low-Bit Activations for LLMs via Post-Training Quantization
  7. 2023LoftQ: LoRA-Fine-Tuning-Aware Quantization for Large Language Models
  8. 2023QA-LoRA: Quantization-Aware Low-Rank Adaptation of Large Language Models