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

似然方差作为文本重要性指标用于重采样文本以映射语言模型

Likelihood Variance as Text Importance for Resampling Texts to Map Language Models

Kyoto University(京都大学);RIKEN(日本研究机构)

Momose Oyama, Ryo Kishino, Hiroaki Yamagiwa, Hidetoshi Shimodaira

AI总结:

针对构建语言模型映射的高计算成本问题,提出基于文本对数似然方差的重采样方法,用约半数文本实现与均匀采样相当的KL散度估计精度,还能高效整合新模型,支持可扩展的模型映射构建。

摘要:

我们解决了构建模型映射的计算成本问题,该映射将多种语言模型嵌入到公共空间中,通过KL散度进行比较。该映射依赖于大型文本集上的对数似然值,使得成本与文本数量成正比。为降低这一成本,我们提出一种重采样方法,根据每条文本在不同模型间的对数似然方差,按比例分配权重来选择重要文本。我们的方法在保留KL散度估计准确性的同时,显著减少了所需文本数量。实验表明,该方法仅用约一半的文本数量就能达到与均匀采样相当的性能,还有助于将新模型高效整合到现有映射中。这些结果为可扩展、高效地构建语言模型映射提供了可能。

英文摘要:

We address the computational cost of constructing a model map, which embeds diverse language models into a common space for comparison via KL divergence. The map relies on log-likelihoods over a large text set, making the cost proportional to the number of texts. To reduce this cost, we propose a resampling method that selects important texts with weights proportional to the variance of log-likelihoods across models for each text. Our method significantly reduces the number of required texts while preserving the accuracy of KL divergence estimates. Experiments show that it achieves comparable performance to uniform sampling with about half as many texts, and also facilitates efficient incorporation of new models into an existing map. These results enable scalable and efficient construction of language model maps.

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

↑