paper-with-me

Papers

Deploying a BERT-based Query-Title Relevance Classifier in a Production System: a View from the Trenches

2021-08-23 · Leonard Dahlmann, Tomer Lancewicki

The Bidirectional Encoder Representations from Transformers (BERT) model has been radically improving the performance of many Natural Language Processing (NLP) tasks such as Text Classification and Named Entity Recognition (NER) applications. However, it is challenging to scale BERT for low-latency and high-throughput industrial use cases due to its enormous size. We successfully optimize a Query-Title Relevance (QTR) classifier for deployment via a compact model, which we name BERT Bidirectional Long Short-Term Memory (BertBiLSTM). The model is capable of inferring an input in at most 0.2ms on CPU. BertBiLSTM exceeds the off-the-shelf BERT model's performance in terms of accuracy and efficiency for the aforementioned real-world production task. We achieve this result in two phases. First, we create a pre-trained model, called eBERT, which is the original BERT architecture trained with our unique item title corpus. We then fine-tune eBERT for the QTR task. Second, we train the BertBiLSTM model to mimic the eBERT model's performance through a process called Knowledge Distillation (KD) and show the effect of data augmentation to achieve the resembling goal. Experimental results show that the proposed model outperforms other compact and production-ready models.

📄 PDF Abstract BibTeX arXiv:2108.10197

Code (0)

등록된 구현이 없습니다.

Tasks

CPUData AugmentationKnowledge Distillationnamed-entity-recognitionNamed Entity RecognitionNamed Entity Recognition (NER)NERtext-classificationText Classification

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Knowledge Distillation A very simple way to improve the performance of almost any machine learning algorithm is to train many different models on the same data and then to average their predictions.…
Residual Connection 설명 없음
WordPiece 설명 없음
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…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…

Similar Papers 제목 키워드 기반

Fine-tune BERT for E-commerce Non-Default Search Ranking

2020-08-21 · Yunjiang Jiang, Yue Shang, Hongwei Shen, Wen-Yun Yang 외

The quality of non-default ranking on e-commerce platforms, such as based on ascending item price or descending historical sales volume, often suffers from acute relevance problems, since the irrelevant items are much ea…

GPU

Less is Less: When Are Snippets Insufficient for Human vs Machine Relevance Estimation?

2022-01-21 · Gabriella Kazai, Bhaskar Mitra, Anlei Dong, Nick Craswell 외

Traditional information retrieval (IR) ranking models process the full text of documents. Newer models based on Transformers, however, would incur a high computational cost when processing long texts, so typically use on…

Information RetrievalRetrieval

A Fine-Tuned BERT Classifier for Personal-Letter Titles in Late-Ming and Early-Qing Collected Works

2026-05-21 · Queenie Luo arxiv

I present Lepton (Letter Prediction), a fine-tuned BERT classifier that predicts whether a title in a Classical Chinese wenji table of contents is a personal letter or a closely confusable preface (particularly the farew…

Query-LIFE: Query-aware Language Image Fusion Embedding for E-Commerce Relevance

2023-11-26 · Hai Zhu, Yuankai Guo, Ronggang Dou, Kai Liu

Relevance module plays a fundamental role in e-commerce search as they are responsible for selecting relevant products from thousands of items based on user queries, thereby enhancing users experience and efficiency. The…

Contrastive Learning

Generating Natural Language Queries for More Effective Systematic Review Screening Prioritisation

2023-09-11 · Shuai Wang, Harrisen Scells, Martin Potthast, Bevan Koopman 외

Screening prioritisation in medical systematic reviews aims to rank the set of documents retrieved by complex Boolean queries. Prioritising the most important documents ensures that subsequent review steps can be carried…

Natural Language Queries