Publications Sampling with flows, diffusion, and autoregressive neural networks from a spin-glass perspective