Code Monkey home page Code Monkey logo

factorcl's People

Contributors

pliang279 avatar zihaod avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

factorcl's Issues

MultiBench result is way too much different from what's reported on the paper

Local run(best score)
accuracy | MOSEI | MOSI | sarcasm | humor
FactorCL-SUP | 71.05 | 51.75 | 55.07 | 49.53
SupCon | 74.61 | 51.17 | 52.17 | 50.85

Reported
accuracy | MOSEI | MOSI | sarcasm | humor
FactorCL-SUP | 77.34 | 70.69 | 59.42 | 54.44
SupCon | 72.71 | 47.23 | 46.38 | 52.36

Hi authors,

I ran the notebook file(multibench_example.ipynb) without any modification and found significant gap compared to what's reported on the paper.

The numbers I wrote in the local run result are actually the best scores I could get from 5 to 10 independent runs, and the deviations were quite large ranging from 3 to 5% (compared to std of 0.2~ 2.8% from the paper)

Any idea what could went wrong with it?
Other experiments including Synthetic, IRFL were found to be reproducible.

Thanks in advance.

About conditional loss in FactorCL-SSL case

Thank you for your great work!
I have a question about a conditional loss in FactorCL-SSL case.
In IRFL_model.py Line 311, conditional CLUB loss is computed as follows:

self.club_x1x2_cond(torch.cat([self.linears_club_x1x2_cond[0](x1_embed),
                              self.linears_club_x1x2_cond[0](x1_embed)], dim=1), 
                    torch.cat([self.linears_club_x1x2_cond[1](x2_embed), 
                              self.linears_club_x1x2_cond[1](x2_embed)], dim=1))

However, I think that "embeds" should be concatenated with "aug_embeds" following Eq(8) in the paper, like:

self.club_x1x2_cond(torch.cat([self.linears_club_x1x2_cond[0](x1_embed), 
                              self.linears_club_x1x2_cond[0](x1_aug_embed)], dim=1), 
                    torch.cat([self.linears_club_x1x2_cond[1](x2_embed), 
                              self.linears_club_x1x2_cond[1](x2_aug_embed)], dim=1))

Since I'm a beginner in this field, I might have misunderstood something.
Is there a chance I might have misunderstood something?
Your response would be really helpful for me! Thank you.

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.