Efficient Domain Adaptation of Sentence Embeddings using Adapters

07/06/2023
by   Tim Schopf, et al.
0

Sentence embeddings enable us to capture the semantic similarity of short texts. Most sentence embedding models are trained for general semantic textual similarity (STS) tasks. Therefore, to use sentence embeddings in a particular domain, the model must be adapted to it in order to achieve good results. Usually, this is done by fine-tuning the entire sentence embedding model for the domain of interest. While this approach yields state-of-the-art results, all of the model's weights are updated during fine-tuning, making this method resource-intensive. Therefore, instead of fine-tuning entire sentence embedding models for each target domain individually, we propose to train lightweight adapters. These domain-specific adapters do not require fine-tuning all underlying sentence embedding model parameters. Instead, we only train a small number of additional parameters while keeping the weights of the underlying sentence embedding model fixed. Training domain-specific adapters allows always using the same base model and only exchanging the domain-specific adapters to adapt sentence embeddings to a specific domain. We show that using adapters for parameter-efficient domain adaptation of sentence embeddings yields competitive performance within 1 embedding model while only training approximately 3.6

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/03/2021

Gradual Fine-Tuning for Low-Resource Domain Adaptation

Fine-tuning is known to improve NLP models by adapting an initial model ...
research
01/19/2023

JCSE: Contrastive Learning of Japanese Sentence Embeddings and Its Applications

Contrastive learning is widely used for sentence representation learning...
research
12/19/2020

Finding Sparse Structure for Domain Specific Neural Machine Translation

Fine-tuning is a major approach for domain adaptation in Neural Machine ...
research
05/22/2018

Learning sentence embeddings using Recursive Networks

Learning sentence vectors that generalise well is a challenging task. In...
research
08/25/2020

A simple method for domain adaptation of sentence embeddings

Pre-trained sentence embeddings have been shown to be very useful for a ...
research
08/08/2023

Fine-Tuning Games: Bargaining and Adaptation for General-Purpose Models

Major advances in Machine Learning (ML) and Artificial Intelligence (AI)...
research
03/23/2022

A Scalable Model Specialization Framework for Training and Inference using Submodels and its Application to Speech Model Personalization

Model fine-tuning and adaptation have become a common approach for model...

Please sign up or login with your details

Forgot password? Click here to reset