Skip to content

Commit

Permalink
Update Energy-Based Model
Browse files Browse the repository at this point in the history
  • Loading branch information
YeonwooSung committed Jul 29, 2020
1 parent 3fa85a9 commit 119d622
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions EnergyBasedModel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,22 @@ In the example above, blue dots are data points. As you could see, the data are

![Inference with latent variables](./imgs/inference_with_latent_var.png)

## Energy-Based Models vs Probabilistic Models

- Probabilistic model is a special case of energy-based model (Energies are like unnormalised negative log probabilities)

- Why use EBM instead of probabilistic models?

1) EBM gives more flexibility in the choice of the sciring function

2) More flexibility in the choice of objective function for learning

- From energy to probability: Gibbs Boltzmann distribution (Beta is a positive constant)

![Gibbs Boltzmann distribution](./imgs/gibbs_boltzmann.png)

![Marginalizing over the latent variable](./imgs/marginalizing_over_latent_variable.png)

## References

[1] Yann LeCun [Lecture: Energy based models and self-supervised learning](https://www.youtube.com/watch?v=tVwV14YkbYs&list=PLLHTzKZzVU9eaEyErdV26ikyolxOsz6mq&index=12)
Binary file added EnergyBasedModel/imgs/gibbs_boltzmann.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 119d622

Please sign in to comment.