Comments (4)
You claim that your "probabilistic coding integrates probabilistic encoding and task prediction into one encoder module with the network θ, and applies a non-parametric operation to obtain prediction outputs."
But there seems to be no significant difference in your code compared with VIB. Would you tell me how you deal with probabilistic coding differently compared with VIB ?
Thank you for your attention.
In the implementation, probabilistic coding (PC) only has the
Therefore, the main differences are:
- Non-parametric Task Prediction: After the probabilistic embedding, PC applies a non-parametric operation to directly obtain the prediction outputs, without the need for an additional deterministic decoder module (with learnable parameters
$\phi$ ) as in VIB. - Dimension Mapping: In VIB, the stochastic module is typically performed with a fixed dimension, and a subsequent deterministic decoder is used to map this fixed-size embedding to the target task space. In PC, the stochastic module directly maps the original feature dimensions to the label space dimensions, without an intermediate fixed-size bottleneck.
I hope this helps clarify the key differences between PC and VIB.
from spc.
Thank you for your reply! However, I am still confused about how the non-parametric operation makes predictions.
Taking a classification task with 3 labels as an example, if a sample's output tensor after using pc is [-0.1, 0.1, 0.3], then using the non-parametric operation argmax (i.e., "predicted_label = torch.argmax(model_output[0], -1)" in the "main.py" file) would yield the index of the predicted label as 2. Since the pc process has already mapped the vector dimensions to the label space dimensions during the probabilistic process, there is no need to introduce an extra parameterized classifier network.
from spc.
Thank you for your reply!
However, I am still confused about how the non-parametric operation makes predictions.
from spc.
Thank you so much!
from spc.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spc.