Giter Club home page Giter Club logo

bcl's Introduction

Bayesian Self-Supervised Contrastive Learning

We consider self-supervised contrastive learning from unlabeled data. How can we learn good representation that maximizely preserves the semantic structure of embeddings ?

False negative data point (e.g., $x_3^-$, which is a positive sample) should not be pushed apart from the anchor, leading to the true principle.

True negative data point (e.g., $x_1^-$, which is a negative sample) should be pushed apart from the anchor, leading to the hard principle.

illustrative

Problem formulation of BCL

formulation

  • (a) For an given anchor, let $\hat{x}$ be a random variable representing the similarity score between the anchor point and unlabeled samples. We assume that $\hat{x}$ is independently and identically distributed with an unknown distribution.

  • (b) Let $\tau^+$ be the class prior probability that an unlabeled sample shares the same latent class as the anchor point (positive class).

  • (c) Given an encoder, let $\alpha$ be the probability that the similarity score of a positive sample is higher than that of a negative sample.

BCL uses random samples from the unlabeled data while correcting the resulting bias with importance weights, adhering to the aforementioned true principle and hard principle. Under the problem settings described above, BCL provides an asymptotical unbiased estimation of the supervised loss, and posterior probability estimation of samples being true negatives.

bcl's People

Contributors

liubin06 avatar

Watchers

 avatar

bcl's Issues

非常期待您实现对代码的开源分享!开源对学术研究的可信度和影响力有很大帮助,也能让更多人学习和应用您的方法。

我会一直关注您的Github,也希望其他研究者能尽快使用和讨论您的工作。如果在开源过程中有任何我可以提供的帮助,请尽管告知。我相信一旦代码开源,它会对相关领域产生很好的影响和进展。
再次感谢您的开源决定,这体现了您对学术开放和社会进步的贡献。也希望代码能尽快在Github上开源,让我们这些感兴趣的读者有机会研读和应用。如果有任何疑问,也请不吝赐教。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.