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

编码器地图 -- 使用量子相对熵映射句子编码器

Map of Encoders -- Mapping Sentence Encoders using Quantum Relative Entropy

Department of Computer Science, University of Liverpool(利物浦大学计算机科学系)

Gaifan Zhang, Danushka Bollegala

AI总结:

本文提出利用量子相对熵构建句子编码器地图,通过可视化编码器间关系,揭示预训练模型的分布特性及性能表现。

摘要:

我们提出了一种方法,通过创建编码器地图来比较和可视化大规模的句子编码器。具体来说,我们首先使用句子集的嵌入矩阵来表示一个句子编码器,其中每行对应一个句子的嵌入。接着,我们使用该嵌入矩阵计算句子编码器的成对内积(PIP)矩阵。最后,我们为每个句子编码器创建一个特征向量,反映其相对于一个单位基编码器的量子相对熵(QRE)。我们构建了一个覆盖1101个公开可用句子编码器的地图,提供了对预训练句子编码器景观的新视角。我们的地图准确反映了编码器之间的各种关系,其中具有相似属性的编码器在地图上位置相近。此外,我们的编码器特征向量可用于准确推断编码器在下游任务中的表现,例如检索和聚类任务,展示了我们地图的准确性。

英文摘要:

We propose a method to compare and visualise sentence encoders at scale by creating a map of encoders where each sentence encoder is represented in relation to the other sentence encoders. Specifically, we first represent a sentence encoder using an embedding matrix of a sentence set, where each row corresponds to the embedding of a sentence. Next, we compute the Pairwise Inner Product (PIP) matrix for a sentence encoder using its embedding matrix. Finally, we create a feature vector for each sentence encoder reflecting its Quantum Relative Entropy (QRE) with respect to a unit base encoder. We construct a map of encoders covering 1101 publicly available sentence encoders, providing a new perspective of the landscape of the pre-trained sentence encoders. Our map accurately reflects various relationships between encoders, where encoders with similar attributes are proximally located on the map. Moreover, our encoder feature vectors can be used to accurately infer downstream task performance of the encoders, such as in retrieval and clustering tasks, demonstrating the faithfulness of our map.

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

↑