【论文笔记】Decoupling Representation and Classifier for Long-Tailed Recognition
创始人
2024-05-27 07:02:53
0

这一篇其实并不是提出什么新的东西,而且是做了点类似综述的技术调用实验。省流:T-normalization最好用

摘要

现状:Existing solutions usually involve class-balancing strategies, e.g. by loss re-weighting, data re-sampling, or transfer learning from head- to tail-classes, but most of them adhere to the scheme of jointly learning representations and classifiers.
做法:we decouple the learning procedure into representation learning and classification, and systematically explore how different balancing strategies affect them for long-tailed recognition.
结论:The findings are surprising: (1)data imbalance might not be an issue in learning high-quality representations; (2)with representations learned with the simplest instance-balanced sampling, it is also possible to achieve strong long-tailed recognition ability by adjusting only the classifier.

Classification For LONG-TAILED RECOGNITION

cRT(Classifier Re-training)
re-train the classifier with class-balanced sampling. That is, keeping the representations fixed, we ramdomly re-initialize and optimize the classifier weights W and b for a small number of epochs using class-balanced sampling.

NCM (Nearest Class Mean classifier)

  1. compute the mean feature representation for each class on the training set
  2. perform nearest neightbor search either using cosine similarity or the Euclidean distance computed on L2-normalized mean features.
  3. the cosine similarity alleviates the weight imbalance problem via its inherent normalization.

t-normalized(t-normalized classifier)
inspired: after joint training with instance-balanced sampling, the norms of the weights || wj || are correlated with the cardinality of the classes nj, while, after fine-tuning the classifiers using class-balanced sampling, the norms of the classifier weights tend to be more similar.
做法:adjusting the classifier weight norms directly through the following t-normalization procedure.

LWS(Learnable weight scaling)
Another way of interpreting t-normalization would be to think of it as a re-scaling of the magnitude for each classifier wi keeping the direction unchanged.(将T-norm 转化为一种对每个分类器权重大小的重新缩放)

Sampling Strategies

Instance-balanced sampling:the most common way of sampling data, where each training example has equal probability of being selected.

Class-balanced sampling:each class has an equal probability of being selected. One can see this as a two-stage sampling strategy, where first a class is selected uniformly from the set of classes, and then an instance from that class is subsequently uniformly sampled.

Square-root sampling
A number of variants of the previous sampling strategies have been explored.

Progressive-balanced sampling
This involves first using instance-balanced sampling for a number of epochs, and then class-balanced sampling for the last epochs.

Experiments

As illustrated in Fig.4, this yields a wider classfication boundary in feature space, allowing the classifier to have much higher accuracy on data-rich classes, but hurting data-scarce classes. t-normalized classifiers alleviate this issue to some extent by providing more balanced classifier weight magnitudes.
在这里插入图片描述
官方提供的代码链接: https://github.com/facebookresearch/classifier-balancing.

相关内容

热门资讯

海思芯片安卓系统,创新与突破的... 你知道吗?最近科技圈里有个大新闻,那就是海思芯片和安卓系统的那些事儿。这俩家伙可是科技界的明星,今天...
安卓系统 时间改变颜色,安卓系... 你知道吗?手机里的安卓系统竟然能根据时间改变颜色,这听起来是不是有点神奇?想象当清晨的第一缕阳光透过...
安卓智能音乐播放系统,打造个性... 你有没有发现,随着智能手机的普及,音乐已经不再只是单纯地通过耳机享受了?现在,安卓智能音乐播放系统可...
安卓系统学习书籍,从入门到精通 你有没有想过,想要深入了解安卓系统,却苦于没有一本合适的书籍呢?别急,今天我就要给你推荐几本市面上口...
支持电脑的安卓系统,探索安卓系... 你有没有想过,你的电脑竟然也能用安卓系统?没错,就是那个我们手机上常用的安卓系统,现在竟然也能在电脑...
iphone系统安卓手机壳,时... 你有没有发现,最近你的手机壳是不是已经有点儿跟不上潮流了呢?别急,今天就来给你揭秘为什么iPhone...
vivo升级安卓9.0系统,畅... 哇,亲爱的手机控们,是不是最近你的vivo手机突然变得聪明了许多?没错,vivo最近给我们的手机宝宝...
安卓的系统好用吗,体验与优缺点... 你有没有想过,为什么安卓系统这么受欢迎呢?它到底好用到什么程度呢?今天,就让我带你从多个角度来揭秘这...
u盘系统 安卓系统安装教程,U... 你是不是也和我一样,对安卓系统情有独钟,想要在U盘上安装它,随时随地享受安卓的魅力?别急,今天就来手...
安卓系统复制文字颜色,复制文字... 你有没有遇到过这样的烦恼:在安卓手机上复制一段文字,结果颜色也跟着一起复制过去了,让人看着不舒服,还...
安卓系统7.0怎么截图,轻松掌... 你有没有想过,有时候手机上的某个瞬间,你想要永久保存下来呢?比如,一个搞笑的表情包,或者一个重要的信...
安卓改写底层系统,揭秘系统架构... 你有没有想过,你的安卓手机其实就像一个巨大的宝藏,里面藏着无数的奥秘?今天,就让我带你一探究竟,揭开...
北斗系统支持安卓系统吗,助力智... 你有没有想过,咱们国家的北斗系统是不是也能在安卓手机上大显神威呢?这可是个让人好奇的问题,毕竟现在安...
安卓recovery重置系统吗... 手机卡顿了?别急,我来告诉你如何用安卓recovery重置系统,让你的手机焕然一新! 手机卡顿,重置...
pb在安卓系统运行,探索安卓系... 你知道吗?最近我在手机上发现了一个超级酷的应用,它就是那个在安卓系统上运行得风生水起的PB应用。是不...
安卓7.1系统手机大全,全面解... 你有没有发现,最近安卓7.1系统手机真是火得一塌糊涂啊!各大品牌纷纷推出搭载这个新系统的手机,让人眼...
车载安卓系统网站好,智能驾驶的... 你有没有想过,开车的时候,手机导航不够用,车载系统又太复杂?别急,今天就来给你揭秘一个神奇的地方——...
塞班系统和安卓差距,系统差距下... 你有没有发现,手机的世界里,塞班系统和安卓系统就像是一对老冤家,总是被拿来比较。今天,咱们就来聊聊这...
华为系统安卓耗电高,深度剖析高... 最近是不是发现你的华为手机电量消耗得特别快?别急,今天就来聊聊这个让不少华为用户头疼的问题——华为系...
安卓系统ROM适配新手,轻松掌... 你刚入手了一部安卓手机,是不是对那五花八门的系统ROM感到眼花缭乱呢?别急,今天就来给你详细讲解一下...