arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2010.08240cs.CL
收藏

Augmented SBERT:一种改进双编码器的数据增强方法

Augmented SBERT: Data Augmentation Method for Improving Bi-Encoders for Pairwise Sentence Scoring Tasks

Technische Universität Darmstadt(达姆施塔特工业大学)

Nandan Thakur, Nils Reimers, Johannes Daxenberger, Iryna Gurevych

摘要:

成对句子评分有两种方法:交叉编码器,它对输入对执行完全关注,以及双编码器,它将每个输入独立地映射到稠密向量空间。虽然交叉编码器通常可以实现更高的性能,但对于许多实际用例来说,它们太慢了。另一方面,双编码器需要大量的训练数据和对目标任务的微调以实现有竞争力的性能。我们提出了一种简单而有效的数据增强策略,称为增强SBERT,其中我们使用交叉编码器来标记更大的一组输入对,以增强双向编码器的训练数据。我们表明,在这个过程中,选择的句子对是不平凡的,关键的方法的成功。我们评估我们的方法在多个任务(在域),以及在一个领域自适应任务。与原始双编码器性能相比,增强的SBERT实现了域内高达6点的改进和领域自适应任务高达37点的改进。

英文摘要:

There are two approaches for pairwise sentence scoring: Cross-encoders, which perform full-attention over the input pair, and Bi-encoders, which map each input independently to a dense vector space. While cross-encoders often achieve higher performance, they are too slow for many practical use cases. Bi-encoders, on the other hand, require substantial training data and fine-tuning over the target task to achieve competitive performance. We present a simple yet efficient data augmentation strategy called Augmented SBERT, where we use the cross-encoder to label a larger set of input pairs to augment the training data for the bi-encoder. We show that, in this process, selecting the sentence pairs is non-trivial and crucial for the success of the method. We evaluate our approach on multiple tasks (in-domain) as well as on a domain adaptation task. Augmented SBERT achieves an improvement of up to 6 points for in-domain and of up to 37 points for domain adaptation tasks compared to the original bi-encoder performance.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑