General Purpose Text Embeddings from Pre-trained Language Models for Scalable Inference
Not on the map. Why?
Abstract (arXiv)
The state of the art on many NLP tasks is currently achieved by large pre-trained language models, which require a considerable amount of computation. We explore a setting where many different predictions are made on a single piece of text. In that case, some of the computational cost during inference can be amortized over the different tasks using a shared text encoder. We compare approaches for training such an encoder and show that encoders pre-trained over multiple tasks generalize well to unseen tasks. We also compare ways of extracting fixed- and limited-size representations from this encoder, including different ways of pooling features extracted from multiple layers or positions. Our best approach compares favorably to knowledge distillation, achieving higher accuracy and lower computational cost once the system is handling around 7 tasks. Further, we show that through binary quantization, we can reduce the size of the extracted representations by a factor of 16 making it feasible to store them for later use. The resulting method offers a compelling solution for using large-scale pre-trained models at a fraction of the computational cost when multiple tasks are performed on the same text.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). First posted on arXiv 29 Apr 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 2; 2023: 4.
9 papers.
- 2021AI and the Everything in the Whole Wide World Benchmarkcited by 349
- 2022State-of-the-art generalisation research in NLP: A taxonomy and reviewcited by 98
- 2021Evaluating User Perception of Speech Recognition System Quality with Semantic Distance Metriccited by 21
- 2023On Optimal Caching and Model Multiplexing for Large Model Inferencecited by 20
- 2021Question Answering Infused Pre-training of General-Purpose Contextualized Representationscited by 19
- 2023Robust Concept Erasure via Kernelized Rate-Distortion Maximizationcited by 11
- 2023Plug-and-Play Document Modules for Pre-trained Modelscited by 6
- 2022Embedding Recycling for Language Modelscited by 5
- 2023Learning Easily Updated General Purpose Text Representations with Adaptable Task-Specific Prefixescited by 0
- 2023Robust Concept Erasure via Kernelized Rate-Distortion Maximization30 Nov 2023
- 2023On Optimal Caching and Model Multiplexing for Large Model Inference3 Jun 2023
- 2023Plug-and-Play Document Modules for Pre-trained Models28 May 2023
- 2023Learning Easily Updated General Purpose Text Representations with Adaptable Task-Specific Prefixes22 May 2023
- 2022State-of-the-art generalisation research in NLP: A taxonomy and review6 Oct 2022
- 2022Embedding Recycling for Language Models11 Jul 2022
- 2021AI and the Everything in the Whole Wide World Benchmark26 Nov 2021
- 2021Evaluating User Perception of Speech Recognition System Quality with Semantic Distance Metric11 Oct 2021
- 2021Question Answering Infused Pre-training of General-Purpose Contextualized Representations15 Jun 2021