arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.11464cs.CVcs.AI
收藏

基于最大熵编码的自监督学习

Self-Supervised Learning via Maximum Entropy Coding

Beijing National Research Center for Information Science and Technology(北京信息科学与技术国家研究中心);Tsinghua University(清华大学)

Xin Liu, Zhongdao Wang, Yali Li, Shengjin Wang

摘要:

主流类型的当前自监督学习方法追求通用的表示,该表示可以很好地转移到下游任务,通常通过在给定的借口任务(例如实例判别)上进行优化。在这项工作中,我们认为,现有的借口任务不可避免地引入偏见的学习表示,这反过来又导致偏见的传输性能的各种下游任务。为了解决这个问题,我们提出了最大熵编码(MEC),这是一个更有原则的目标,它明确地优化了表示的结构,使得学习到的表示更少偏差,从而更好地推广到看不见的下游任务。受信息论中最大熵原理的启发,我们假设一个可推广的表示应该是在所有可能的表示中允许最大熵的表示。为了使目标端到端的可训练,我们建议利用有损数据编码中的最小编码长度作为熵的计算上易处理的替代品,并进一步推导出允许快速计算的目标的可扩展的重构。大量的实验表明,MEC学习一个更概括的表示比以前的方法基于特定的借口任务。它在各种下游任务上始终实现最先进的性能,不仅包括ImageNet线性探测,还包括半监督分类、目标检测、实例分割和对象跟踪。有趣的是,我们表明,现有的批量和特征自监督目标可以被视为等价于MEC的低阶近似。代码和预训练模型可在https://github.com/xinliu20/MEC上获得。

英文摘要:

A mainstream type of current self-supervised learning methods pursues a general-purpose representation that can be well transferred to downstream tasks, typically by optimizing on a given pretext task such as instance discrimination. In this work, we argue that existing pretext tasks inevitably introduce biases into the learned representation, which in turn leads to biased transfer performance on various downstream tasks. To cope with this issue, we propose Maximum Entropy Coding (MEC), a more principled objective that explicitly optimizes on the structure of the representation, so that the learned representation is less biased and thus generalizes better to unseen downstream tasks. Inspired by the principle of maximum entropy in information theory, we hypothesize that a generalizable representation should be the one that admits the maximum entropy among all plausible representations. To make the objective end-to-end trainable, we propose to leverage the minimal coding length in lossy data coding as a computationally tractable surrogate for the entropy, and further derive a scalable reformulation of the objective that allows fast computation. Extensive experiments demonstrate that MEC learns a more generalizable representation than previous methods based on specific pretext tasks. It achieves state-of-the-art performance consistently on various downstream tasks, including not only ImageNet linear probe, but also semi-supervised classification, object detection, instance segmentation, and object tracking. Interestingly, we show that existing batch-wise and feature-wise self-supervised objectives could be seen equivalent to low-order approximations of MEC. Code and pre-trained models are available at https://github.com/xinliu20/MEC.

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

↑