关于余弦相似度分布及其在生物学中的应用
On the distribution of cosine similarity with application to biology
AI总结:
本研究推导了余弦相似度作为数据函数的渐近矩,发现中心化数据协方差矩阵特征值相等时方差最小,可用于优化生物扰动数据分析中的统计功效和判别指标。
摘要:
余弦相似度是一种用于计算向量关联的既定相似度度量,常被用于从生物扰动数据中识别相关样本。余弦相似度的分布随数据的协方差而变化,这进而影响识别相关信号的统计功效。目前对数据的均值和协方差与余弦相似度分布之间的关系理解尚浅。在本研究中,我们推导了余弦相似度作为数据函数的渐近矩,并确定了使余弦相似度方差最小化的数据协方差矩阵准则。我们发现,对于中心化数据,当协方差矩阵的特征值相等时,余弦相似度的方差达到最小。本工作的一项直接应用是刻画具有非零协方差结构的数据集上余弦相似度的零分布。此外,该结果可用于优化数据集上的一系列变换或表示,以最大化功效、召回率或其他判别性指标,并直接应用于含噪声的生物数据。尽管我们考虑了扰动数据分析这一特定生物领域,但我们的结果对于任何在具有协方差结构的数据上使用余弦相似度或 Pearson's correlation 的场景均具有潜在应用价值。
英文摘要:
Cosine similarity is an established similarity metric for computing associations on vectors, and it is commonly used to identify related samples from biological perturbational data. The distribution of cosine similarity changes with the covariance of the data, and this in turn affects the statistical power to identify related signals. The relationship between the mean and covariance of the distribution of the data and the distribution of cosine similarity is poorly understood. In this work, we derive the asymptotic moments of cosine similarity as a function of the data and identify the criteria of the data covariance matrix that minimize the variance of cosine similarity. We find that the variance of cosine similarity is minimized when the eigenvalues of the covariance matrix are equal for centered data. One immediate application of this work is characterizing the null distribution of cosine similarity over a dataset with non-zero covariance structure. Furthermore, this result can be used to optimize over a set of transformations or representations on a dataset to maximize power, recall, or other discriminative metrics, with direct application to noisy biological data. While we consider the specific biological domain of perturbational data analysis, our result has potential application for any use of cosine similarity or Pearson's correlation on data with covariance structure.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。