arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.12336cs.CLcs.AIcs.LG
收藏

面向文档检索的电信领域适配句嵌入分布研究

Investigating Distributions of Telecom Adapted Sentence Embeddings for Document Retrieval

Ericsson R&D(爱立信研发)

Sujoy Roychowdhury, Sumit Soman, Ranjani Hosakere Gireesha, Vansh Chhabra, Neeraj Gunda, Subhadip Bandyopadhyay, Sai Krishna Bala

AI总结:

本文研究电信领域问答中的句嵌入适配,提出相似度阈值确定方法和分布重叠度量指标,发现微调能提高检索准确率并收紧置信区间,而各向同性与检索性能相关性弱。

摘要:

句嵌入模型数量众多,使得选择一个合适的模型变得困难,尤其是在充满专业词汇的技术领域。在本工作中,我们使用电信数据对嵌入进行领域适配,以用于问答任务。我们评估了从公开可用模型获得的嵌入及其领域适配变体,既考察点检索准确率,也考察其(95%)置信区间。我们建立了一种系统化方法,用于为不同嵌入获取相似度分数的阈值。正如预期,我们观察到微调提高了平均自助法准确率。我们还观察到微调带来了更紧的置信区间,并且当预训练之前先进行微调时,置信区间进一步改善。我们引入了度量指标,用于衡量前$K$个、正确和随机文档与问题之间相似度的分布重叠情况。此外,我们表明这些度量指标与检索准确率和相似度阈值相关。近期文献显示各向同性对检索准确率的影响存在矛盾。我们的实验证实,嵌入的各向同性(通过两个独立的当前最优各向同性度量定义来衡量)与检索性能的相关性很弱。我们表明,领域特定句子的嵌入与领域无关句子的嵌入之间几乎没有重叠,而微调会使它们进一步分离。基于我们的结果,我们为研究人员和从业者使用我们的方法和度量指标提供了建议。

英文摘要:

A plethora of sentence embedding models makes it challenging to choose one, especially for technical domains rich with specialized vocabulary. In this work, we domain adapt embeddings using telecom data for question answering. We evaluate embeddings obtained from publicly available models and their domain-adapted variants, on both point retrieval accuracies, as well as their (95%) confidence intervals. We establish a systematic method to obtain thresholds for similarity scores for different embeddings. As expected, we observe that fine-tuning improves mean bootstrapped accuracies. We also observe that it results in tighter confidence intervals, which further improve when pre-training is preceded by fine-tuning. We introduce metrics which measure the distributional overlaps of top-$K$, correct and random document similarities with the question. Further, we show that these metrics are correlated with retrieval accuracy and similarity thresholds. Recent literature shows conflicting effects of isotropy on retrieval accuracies. Our experiments establish that the isotropy of embeddings (as measured by two independent state-of-the-art isotropy metric definitions) is poorly correlated with retrieval performance. We show that embeddings for domain-specific sentences have little overlap with those for domain-agnostic ones, and fine-tuning moves them further apart. Based on our results, we provide recommendations for use of our methodology and metrics by researchers and practitioners.

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

↑