@AlexiGlad Next step: learn a stack of energies for increasingly simple versions of data distribution (add noise, downsample, etc).
And, if you directly parametrize a fast sampler q_{theta}, you'll end up with an EB-GAN circa 2017 (blast from the past! https://t.co/CIeAve8byv)
@egrefen Guided policy search where the guide policy is constructed procedurally from a bag of freely-sourced samples... Bayes days are back, and natural policy gradients!
@RobFlynnHere@loiccabannes@selfattentive@msaffar3 After reading the blog originally, I figured "naw, sounds wrong".
It's easy to condition well past their constructed bounds when training natively with SWA on simple memorization tasks.
Like, hitting 80-90% of the theoretical max RF in a 10 layer TF with window 8 (etc).
@Stone_Tao@KyleMorgenstein@patrickhyin@ty_westenbroek Ah, blast from the past... I'd forgotten about that one.
Maybe we can get empowerment-based methods to start working now too, if we can figure out how to discriminate between trivial and non-trivial entropy.
@YouJiacheng If I was gonna write a paper about a technically correct generalization of these sorts of techniques, I'd call it: "variational pseudo recurrence" and proceed to get ~10 citations.
@xandurglar@HanshengCh The basic forward XM maximizes the same LL lowerbound as IWAE, but with importance weights clamped to one-hot, which loosens the bound compared to IWAE. It's a VAE.
The XM in diffusion is not a forward XM. It does not restructure the flow prediction -- it restructures the flow.
@FrancoisRozet@FrancescoSacco1 Yes, I used "closed form" incorrectly. I just meant it can be written down explicitly.
The trick with BoK and other IWAE-like approaches is using normalized importance sampling to make the bound arbitrarily tight as K->inf.
@FrancescoSacco1@FrancoisRozet You can write the NLL down exactly, but it involves an integral that's generally intractable in practice. The integral computes expected value of p(x|z) for samples z ~ p(z) from the prior.
Variational methods (which includes BoK) approximate the integral with a tractable bound.
@jxmnop Or, we could just move past our outdated L-to-R bias and admit these are all just special cases of orderless autoregression. We don't even need the bits we're autoregressing to have a tight correspondence to low-level tokens, if we're really trying to ascend 🔮
@FrancoisRozet@FrancescoSacco1 You can write the log density in closed form, but it involves summation/integration over possible latent values, which makes direct optimization tricky. So, we do stuff like variational inference.
@FrancoisRozet@FrancescoSacco1 Single layer latent variable models are mixture models. If the latents are discrete, it's clear -- each configuration of the latents specifies a mixture component. There's sharing across mixture components to permit using very components.
@richard41814@ArmenAgha Yeah, that's like comparing video model roll-out quality on MSE vs ground truth future. People do (well, did) it all the time, but it's useless.
Hint: BoK is training a VAE using an approximate posterior with KL(q(z|x)||p(z)) <= log(K). You can derive sensible NLLs.
@FrancoisRozet@FrancescoSacco1 Best-of-K does variational training of a single latent layer model p(x)=sum_z p(x|z)p(z).
The approximate posterior q(z|x) is the distribution over best z that you get after marginalizing over sampling sets of K.
It has KL(q(z|x) || p(z)) <= log(K).
@YouJiacheng Yes, combination with diffusion is the interesting bit. It's like model-adaptive optimal transport that varies over the course of the integration.
Without amortized candidate sampling of IMLE, the e2e forward XM feels more like a faster, looser IWAE bound with samples from p(z).
@WangYw251@AmedeoBiolatti Yes, very similar. Their training setup and method description feel a bit clunky.
I think there should be a nice interpretation of the XM approach as a technically correct way of defining a modified flow structure to learn.
@AmedeoBiolatti@WangYw251 It seems feasible. Either quick ranking of candidate noises conditioned on a clean input, or an actual learned policy for generating noises that are good in expectation.
A learned policy would require some care/regularization -- it would tend towards trivial noise otherwise.
@FrancescoSacco1 Yeah, you need to run several noisy x_0 through the model, and train the best prediction.
Producing several predictions from a single noisy x_0 and only training through the best one is different.
Latter changes reconstruction model to a mixture. Former changes flow structure.