亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!身体可是革命的本钱,早点休息,好梦!

Is Cosine-Similarity of Embeddings Really About Similarity?

相似性(几何) 余弦相似度 计算机科学 三角函数 人工智能 数学 模式识别(心理学) 几何学 图像(数学)
作者
Harald Steck,Chaitanya Ekanadham,Nathan Kallus
标识
DOI:10.1145/3589335.3651526
摘要

Cosine-similarity is the cosine of the angle between two vectors, or equivalently the dot product between their normalizations. A popular application is to quantify semantic similarity between high-dimensional objects by applying cosine-similarity to a learned low-dimensional feature embedding. This can work better but sometimes also worse than the unnormalized dot-product between embedded vectors in practice. To gain insight into this empirical observation, we study embeddings derived from regularized linear models, where closed-form solutions facilitate analytical insights. We derive analytically how cosine-similarity can yield arbitrary and therefore meaningless 'similarities.' For some linear models the similarities are not even unique, while for others they are implicitly controlled by the regularization. We discuss implications beyond linear models: a combination of different regularizations are employed when learning deep models; these have implicit and unintended effects when taking cosine-similarities of the resulting embeddings, rendering results opaque and possibly arbitrary. Based on these insights, we caution against blindly using cosine-similarity and outline alternatives.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
随机昵称完成签到,获得积分10
5秒前
wanci应助你hao采纳,获得10
6秒前
10秒前
12秒前
12秒前
情怀应助叶菩提采纳,获得10
13秒前
白给发布了新的文献求助10
16秒前
你hao发布了新的文献求助10
17秒前
你hao完成签到,获得积分10
23秒前
nhzz2023完成签到 ,获得积分0
26秒前
一年5篇完成签到,获得积分10
34秒前
田様应助南湾不夏采纳,获得10
37秒前
47秒前
49秒前
白给完成签到,获得积分10
49秒前
南湾不夏发布了新的文献求助10
51秒前
匆匆流浪发布了新的文献求助10
53秒前
56秒前
有趣的银完成签到,获得积分10
58秒前
元宝团子完成签到,获得积分10
58秒前
小二郎应助大胆的平蓝采纳,获得10
1分钟前
hahaha发布了新的文献求助30
1分钟前
songsong完成签到,获得积分10
1分钟前
1分钟前
1分钟前
1分钟前
一年5篇发布了新的文献求助20
1分钟前
传奇3应助hahaha采纳,获得10
1分钟前
hahaha完成签到,获得积分10
1分钟前
1分钟前
李健应助科研通管家采纳,获得10
1分钟前
没读书完成签到,获得积分10
1分钟前
CodeCraft应助科研通管家采纳,获得10
1分钟前
匆匆流浪完成签到,获得积分10
1分钟前
Jhon完成签到 ,获得积分10
1分钟前
叶菩提发布了新的文献求助10
1分钟前
1分钟前
1分钟前
01259完成签到 ,获得积分10
1分钟前
海信与发布了新的文献求助10
1分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Aerospace Standards Index - 2026 ASIN2026 3000
Polymorphism and polytypism in crystals 1000
Signals, Systems, and Signal Processing 610
Discrete-Time Signals and Systems 610
Research Methods for Business: A Skill Building Approach, 9th Edition 500
Social Work and Social Welfare: An Invitation(7th Edition) 410
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 纳米技术 有机化学 物理 生物化学 化学工程 计算机科学 复合材料 内科学 催化作用 光电子学 物理化学 电极 冶金 遗传学 细胞生物学
热门帖子
关注 科研通微信公众号,转发送积分 6050660
求助须知:如何正确求助?哪些是违规求助? 7846980
关于积分的说明 16266497
捐赠科研通 5195852
什么是DOI,文献DOI怎么找? 2780222
邀请新用户注册赠送积分活动 1763226
关于科研通互助平台的介绍 1645186