paper-with-me

Papers

Dynamic-TinyBERT: Boost TinyBERT's Inference Efficiency by Dynamic Sequence Length

2021-11-18 · Shira Guskin, Moshe Wasserblat, Ke Ding, Gyuwan Kim

Limited computational budgets often prevent transformers from being used in production and from having their high accuracy utilized. TinyBERT addresses the computational efficiency by self-distilling BERT into a smaller transformer representation having fewer layers and smaller internal embedding. However, TinyBERT's performance drops when we reduce the number of layers by 50%, and drops even more abruptly when we reduce the number of layers by 75% for advanced NLP tasks such as span question answering. Additionally, a separate model must be trained for each inference scenario with its distinct computational budget. In this work we present Dynamic-TinyBERT, a TinyBERT model that utilizes sequence-length reduction and Hyperparameter Optimization for enhanced inference efficiency per any computational budget. Dynamic-TinyBERT is trained only once, performing on-par with BERT and achieving an accuracy-speedup trade-off superior to any other efficient approaches (up to 3.3x with <1% loss-drop). Upon publication, the code to reproduce our work will be open-sourced.

📄 PDF Abstract BibTeX arXiv:2111.09645

Code (0)

등록된 구현이 없습니다.

Tasks

Computational EfficiencyHyperparameter OptimizationQuestion Answering

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Weight Decay 설명 없음

Similar Papers 제목 키워드 기반

Simplified TinyBERT: Knowledge Distillation for Document Retrieval

2020-09-16 · Xuanang Chen, Ben He, Kai Hui, Le Sun 외

Despite the effectiveness of utilizing the BERT model for document ranking, the high computational cost of such approaches limits their uses. To this end, this paper first empirically investigates the effectiveness of tw…

Document RankingKnowledge DistillationRetrieval

QuaLA-MiniLM: a Quantized Length Adaptive MiniLM

2022-10-31 · Shira Guskin, Moshe Wasserblat, Chang Wang, Haihao Shen

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-distil…

Computational EfficiencyKnowledge DistillationQuantizationQuestion Answering

TinyBERT: Distilling BERT for Natural Language Understanding

2019-09-23 · Findings of the Association for Computational Linguistics 2020 · Xiaoqi Jiao, Yichun Yin, Lifeng Shang, Xin Jiang 외

Language model pre-training, such as BERT, has significantly improved the performances of many natural language processing tasks. However, pre-trained language models are usually computationally expensive, so it is diffi…

Knowledge DistillationLanguage ModellingLinguistic AcceptabilityNatural Language Inference+5

Lightweight Transformer Models for On-Device Fault Detection: A Benchmark Study on Resource-Constrained Deployment

2026-06-23 · Disha Patel arxiv

On-device fault detection enables real-time diagnostics without cloud dependency, but deploying machine learning models on resource-constrained hardware demands careful tradeoffs between accuracy, latency, and model size…

Personalized Product Search Ranking: A Multi-Task Learning Approach with Tabular and Non-Tabular Data

2025-08-13 · Lalitesh Morishetti, Abhay Kumar, Jonathan Scott, Kaushiki Nag 외 arxiv

In this paper, we present a novel model architecture for optimizing personalized product search ranking using a multi-task learning (MTL) framework. Our approach uniquely integrates tabular and non-tabular data, leveragi…

Semantic SimilarityMulti-Task Learning