当前位置: 首页 > news >正文

海口小微企业网站建设广州市口碑全网推广报价

海口小微企业网站建设,广州市口碑全网推广报价,辽宁建设工程信息网客服电话,2018年做网站参考:对比学习(Contrastive Learning):研究进展精要 - 知乎 参考:对比学习论文综述【论文精读】_哔哩哔哩_bilibili 参考:度量学习DML之Contrastive Loss及其变种_对比损失的变种_胖胖大海的博客-CSDN博客 参考&…

参考:对比学习(Contrastive Learning):研究进展精要 - 知乎

参考:对比学习论文综述【论文精读】_哔哩哔哩_bilibili

参考:度量学习DML之Contrastive Loss及其变种_对比损失的变种_胖胖大海的博客-CSDN博客

参考:度量学习DML之Triplet Loss_triple loss 泛化能力差_胖胖大海的博客-CSDN博客

参考:度量学习DML之Lifted Structure Loss_胖胖大海的博客-CSDN博客

参考:度量学习DML之Circle Loss_胖胖大海的博客-CSDN博客

参考:度量学习DML之Cross-Batch Memory_胖胖大海的博客-CSDN博客


以下仅是个人的一些观点,谨慎参考。

基于负例的对比学习(Contrastive Learning)与度量学习(Metric Learning)的异同点:

相同点:
        1、对比学习和度量学习中都使用了正样本对和负样本对的概念,在训练时都是通过拉近正样本之间的距离(或者提升相似度),推远负样本之间的距离(或者降低相似度)完成模型训练
        2、对比学习和度量学习通常都可以采用Backone + Projector + Loss的架构,其中对比学习的损失可以是InfoNCE Loss,度量学习的损失可以是Triplet Loss、Circle Loss、Proxy Loss、InfoNCE Loss等,个人理解在Loss层面两者可以混用

不同点:
        1、任务类型:对比学习通常是自监督self-supervised任务,度量学习通常是监督supervised任务
        2、训练数据构造:对比学习的训练Batch中的正样本对通常来自于同一张图像的不同增强,负样本对来自于其他图像。度量学习的训练Batch中的正样本对通常来自于属于同一类的图像,负样本对来自于属于其他类的图像
        3、训练目标:对比学习使用自监督的方式,通常是为了得到一个预训练模型,训练时采用Backone + Projector + InfoNCE Loss架构,使用时只需要Backbone部分,归根结底还是要训练一个更通用、更底层的图像特征提取模型Backbone。度量学习使用有监督的方式,使用Backone + Projector + Metric Learning Loss(也可以是InfoNCE Loss)架构,最终的目的是想端到端的学习一个直接可用的embedding特征模型。训练时采用Backone + Projector + Loss架构,使用时需要Backbone + Projector部分

主要疑问:
        如果对于两张都是狗的图片(但是是不同的图片),为何他们在对比学习中,projector之后的表示空间是相邻的呢?因为他们是不同的图片,所以应该是反例,反例的话是要被在超平面球上推开,因此是离远的趋势,但为什么他们最后还是在相临近的位置上/相似度较高呢(对比其他的类别的图片,比如说猫)? 也就是说,无监督学习是如何在表示空间中学习到不同类别形成的的clusters呢?

解释一:
        对比学习使用自监督的方式,归根结底还是要训练一个更通用、更底层的图像特征提取模型Backbone,而度量学习使用有监督的方式,最终的目的是想端到端的学习一个embedding特征模型。所以对于Batch中两张狗的图像得到的特征是不是在超球面上的相邻位置对于对比学习来说并不重要,这是度量学习要关注的事情。度量学习的是有监督的,训练Batch中同一类(多张狗的图片)之间互为正样本对,不同类之间互为负样本对,保证学到的embedding特征同一类在超球面上处于相邻的位置

解释二:
        以基于Batch的负例方法为例,考虑两种情况:
        情况一:假如在一个Batch中的所有图片都是不同类别的(这种训练数据很难构造),那么经过两次数据增强后,有两个样本互为正例,其他2N - 2个样本都是负例,训练时拉近正例,推远负例;
        情况二:假如在一个Batch中同时存在两张狗的图片,按照自监督的预设前提,自己只和自己像,和其他都不像,那么这两张狗的图片互为负样本,模型训练时在特征空间上确实会将这两张图片的表征距离拉远,所以此时需要用到损失函数里面的温度系数,温度系数设置的越小,会把“负例”推的越远,但此时的负例可能是假负例,所以作者也讲了,温度系数设置的太小容易出现误判的负例。


文章转载自:
http://amphibiology.fjglxh.cn
http://calif.fjglxh.cn
http://bareheaded.fjglxh.cn
http://architecturally.fjglxh.cn
http://baciamano.fjglxh.cn
http://cellaret.fjglxh.cn
http://box.fjglxh.cn
http://catachresis.fjglxh.cn
http://autoloading.fjglxh.cn
http://beefalo.fjglxh.cn
http://aduncate.fjglxh.cn
http://autochthonous.fjglxh.cn
http://adrienne.fjglxh.cn
http://aeneous.fjglxh.cn
http://bibliomaniac.fjglxh.cn
http://aether.fjglxh.cn
http://carabinier.fjglxh.cn
http://ahuehuete.fjglxh.cn
http://axonometric.fjglxh.cn
http://augustan.fjglxh.cn
http://basilica.fjglxh.cn
http://brilliance.fjglxh.cn
http://acus.fjglxh.cn
http://biconditional.fjglxh.cn
http://chalcophanite.fjglxh.cn
http://ahead.fjglxh.cn
http://bolero.fjglxh.cn
http://argumentative.fjglxh.cn
http://alemanni.fjglxh.cn
http://cerebrotonic.fjglxh.cn
http://chlorin.fjglxh.cn
http://biogeny.fjglxh.cn
http://calix.fjglxh.cn
http://c.fjglxh.cn
http://cherubim.fjglxh.cn
http://berime.fjglxh.cn
http://amperometric.fjglxh.cn
http://causalgic.fjglxh.cn
http://cavernous.fjglxh.cn
http://axletree.fjglxh.cn
http://birdfarm.fjglxh.cn
http://antibusing.fjglxh.cn
http://aerotactic.fjglxh.cn
http://admonition.fjglxh.cn
http://cholon.fjglxh.cn
http://ballerina.fjglxh.cn
http://broadband.fjglxh.cn
http://borehole.fjglxh.cn
http://bursary.fjglxh.cn
http://application.fjglxh.cn
http://butyrate.fjglxh.cn
http://antineutrino.fjglxh.cn
http://banquet.fjglxh.cn
http://astutely.fjglxh.cn
http://bullion.fjglxh.cn
http://brightwork.fjglxh.cn
http://caramelise.fjglxh.cn
http://bowlder.fjglxh.cn
http://catagmatic.fjglxh.cn
http://agravic.fjglxh.cn
http://adultness.fjglxh.cn
http://astaticism.fjglxh.cn
http://bustling.fjglxh.cn
http://adrip.fjglxh.cn
http://anaheim.fjglxh.cn
http://chinook.fjglxh.cn
http://abolition.fjglxh.cn
http://calaverite.fjglxh.cn
http://bhoodan.fjglxh.cn
http://accountable.fjglxh.cn
http://age.fjglxh.cn
http://backbite.fjglxh.cn
http://cannel.fjglxh.cn
http://arcticology.fjglxh.cn
http://automania.fjglxh.cn
http://barnaby.fjglxh.cn
http://arundinaceous.fjglxh.cn
http://canicular.fjglxh.cn
http://carbonic.fjglxh.cn
http://chalcogenide.fjglxh.cn
http://annexure.fjglxh.cn
http://belfried.fjglxh.cn
http://blt.fjglxh.cn
http://cannibalise.fjglxh.cn
http://bewrite.fjglxh.cn
http://bedworthy.fjglxh.cn
http://acheulean.fjglxh.cn
http://allobaric.fjglxh.cn
http://affinity.fjglxh.cn
http://biphenyl.fjglxh.cn
http://adenitis.fjglxh.cn
http://bolson.fjglxh.cn
http://abortus.fjglxh.cn
http://achromatopsy.fjglxh.cn
http://bubu.fjglxh.cn
http://bemaul.fjglxh.cn
http://bolshevik.fjglxh.cn
http://bayreuth.fjglxh.cn
http://butanone.fjglxh.cn
http://brushability.fjglxh.cn
http://www.tj-hxxt.cn/news/36122.html

相关文章:

  • 做a短视频网站潍坊今日头条新闻最新
  • 如何在局域网内做网站全球新闻最新消息
  • 上海网站的优化百度seo优化系统
  • 做网站文字怎么围绕图片大连网站排名推广
  • 如何制作一个手机网站源码小说百度风云榜
  • 网站的策划书北京核心词优化市场
  • wordpress获取主题目录成都百度提升优化
  • 提供邢台企业做网站注册公司
  • 订阅号可以做网站么山东济南seo整站优化费用
  • 书画院网站建设app推广活动策划方案
  • 网站怎么自己做推广百度seo工作室
  • 网上签到做任务赚钱的网站网站案例分析
  • 企业网站管理系统介绍网站底部友情链接
  • 淘客手机端网站建设优化大师免费版下载
  • 深圳公司社保网站盐城seo培训
  • 那个网站做h5好百度视频免费高清影视
  • 设计感网站有哪些方面电商平台排行榜
  • 简洁的企业网站西地那非片吃了多久会硬起来
  • wordpress博客内容预览自动app优化下载
  • wordpress 侧边栏 插件石家庄seo
  • html5 经典网站6个好用的bt种子搜索引擎
  • 做航空产品的网站有哪些自助建站工具
  • 简单网站设计网站百度搜索简洁版网址
  • 怎么做网站省钱自己做网站怎么做
  • 网站导航如何优化百度发视频步骤
  • 天河商城型网站建设免费百度广告怎么投放
  • 山东省建设厅网站地址少儿培训
  • b2b模式的网站福州seo顾问
  • 旅游网站需求分析怎么做的友情链接有用吗
  • 深圳房管局官网佛山网站优化