Guide-linked quiz · Hard Level
Energy-Based Models Quiz
Apply energy-based probabilities, partition functions, and score gradients, including how relative energies determine normalized distribution ratios.
Question 1 of 8
In an energy-based model, how is energy related to the probability of a data point?
Preview every question8 questions
Answers and explanations appear as you take the quiz.
- In an energy-based model, how is energy related to the probability of a data point?
- High energy means high probability
- Low energy means high probability (p(x) is proportional to exp(-E(x)))
- Energy and probability are unrelated
- Probability equals the energy directly
- What makes training energy-based models difficult?
- The energy function cannot be a neural network
- They require labeled data only
- They cannot represent images
- The partition function Z (normalizer over all inputs) is usually intractable to compute
- Which sampling method is commonly used to draw samples from an EBM?
- Langevin dynamics (gradient-based MCMC)
- Beam search
- Quicksort
- A single forward pass
- Why can methods like score matching avoid computing the partition function Z?
- Because Z is always equal to 1
- Because they ignore the energy function
- Because the gradient of log p(x) is -gradient of E(x), and Z (a constant in x) drops out when differentiating
- Because they only work on discrete data
- Which of these is a classic energy-based model?
- The Transformer
- The decision tree
- The k-means algorithm
- The Hopfield network
- For a differentiable EBM density with Z constant in x, how does its score relate to energy?
- The score equals the partition function itself
- The score equals the negative input gradient of energy
- The score ignores the learned energy entirely
- The score is always the positive energy gradient
- An EBM adds the same constant c to every E(x). What happens to normalized probabilities?
- Every probability increases by c
- All inputs become equally probable
- They remain unchanged after the partition function is adjusted
- The normalizer must be set to zero
- For two configurations with E(a) lower than E(b), what follows under the same normalized Gibbs model?
- Configuration a has greater probability than b
- Configuration b has greater probability because its energy is higher
- Both probabilities must be exactly one
- The comparison requires different partition functions for each point
Keep testing yourself
More quizzes picked for your level.