Git Product home page Git Product logo

inputiba's People

Contributors

sandylaker avatar yangzhang-v5 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

Watchers

 avatar  avatar  avatar  avatar  avatar

inputiba's Issues

NLP cannot use smooth kernel

Since smooth kernel is a 2D kernel.

Solution:
Remove smooth option completely since word are produced discretely (in LSTM)

rename dataset names in configs

Currently we are using train and val for the datasets in configs. It would be better to use estimation and attribution instead.

Rename capacity

The term capacity is very misleading, though it might have special meaning in information theory. The IBA uses KL divergence to measure feature importance (see 3.2 in IBA's paper). Therefore, it would be better to re-name it to e.g. kl_divergence (take care of the possible name conflict with function kl_div).

In addition, BaseIBA has attributes loss_buffer, cls_loss_buffer, info_loss_buffer. These three attributes' names are in patter xxx_buffer, whichbuffer_capacity does not conform to. Also, these three buffers are list, while buffer_capacity is a Tensor. So, I suggest to change the name of buffer_capacity, and register it to nn.Module's buffer.

https://github.com/YaNgZhAnG-V5/informationbottleneck/blob/775fad551e900907010ae8914fe727cb8e126d82/iba/models/bottlenecks/vision_feat_iba.py#L105

Some questions

Hi,

This is excellent work, and thank you for sharing the well-designed official codes for a better understanding of the details of your NeurIPS paper.

I would like to understand the details of some equations, and I'd appreciate it if you could explain them to me.
In your paper, you proposed two assumptions for estimating the $I[I, Z]$,
which are $Z_I = \Lambda Z_{G} + (1 - \Lambda) \epsilon$ and $Z_G = \lambda_G Z_{I} + (1 - \lambda_G) \epsilon_{G}$,

  1. the term $\epsilon$ is only mentioned again in the $Z^* = \lambda^* R + (1-\lambda^{*}) \epsilon$ for feature IBA,
    can I assume they are not the same?
  2. in order to derive remark 2 (equation 9) in your paper, can I assume the $\epsilon$ for $Z_I$ is actually equal to $\epsilon_G$ , so that I can merge those two epsilon terms together?
  3. based on the above, the $\mu_I$ and $\sigma_I$ are actually $\mu_G$ and $\sigma_G$ in remark 2 and equation 9
  4. if my understanding above is wrong, could you please let me know how can I get the remark 2, as $\epsilon_G$ is a Gaussian parameterized by learnable parameters $\mu_G$ and $\sigma_G$, but the parameters of $Z_I$'s distribution is related with $\mu_I$ and $\epsilon_I.$

remove notebooks

remove the notebooks folder. We can create a tutorials directory later, and put all the tutorials there

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.