[Paper Review] Learning Generative Vision Transformer with Energy-Based Latent Space for Saliency Prediction
The paper proposes a generative vision transformer for saliency prediction where latent variables follow an informative energy-based prior; training uses MCMC-based maximum likelihood estimation with Langevin dynamics to jointly learn the transformer and the prior, enabling pixel-wise uncertainty maps.
Vision transformer networks have shown superiority in many computer vision tasks. In this paper, we take a step further by proposing a novel generative vision transformer with latent variables following an informative energy-based prior for salient object detection. Both the vision transformer network and the energy-based prior model are jointly trained via Markov chain Monte Carlo-based maximum likelihood estimation, in which the sampling from the intractable posterior and prior distributions of the latent variables are performed by Langevin dynamics. Further, with the generative vision transformer, we can easily obtain a pixel-wise uncertainty map from an image, which indicates the model confidence in predicting saliency from the image. Different from the existing generative models which define the prior distribution of the latent variables as a simple isotropic Gaussian distribution, our model uses an energy-based informative prior which can be more expressive to capture the latent space of the data. We apply the proposed framework to both RGB and RGB-D salient object detection tasks. Extensive experimental results show that our framework can achieve not only accurate saliency predictions but also meaningful uncertainty maps that are consistent with the human perception.
Motivation & Objective
- Motivate saliency prediction as a probabilistic, stochastic task to capture human-like uncertainty.
- Introduce a generative vision transformer with latent variables and an energy-based prior to model saliency given an image.
- Train the transformer and the energy-based prior jointly using MCMC-based maximum likelihood estimation.
- Demonstrate that the framework yields accurate saliency predictions and meaningful pixel-wise uncertainty maps across RGB and RGB-D data.
Proposed method
- Formulate a conditional generative model where saliency s is generated from image I and latent z via s = T_theta(I, z) + epsilon, with z drawn from an energy-based prior p_alpha(z).
- Define the prior p_alpha(z) as an energy-based model p_alpha(z) ~ exp(-U_alpha(z)) p0(z), where U_alpha is an MLP-based energy function and p0(z) is a Gaussian reference, enabling an expressive latent space.
- Train the model by maximum likelihood, requiring sampling from p_alpha(z) and p_beta(z|s,I) via Langevin dynamics to approximate intractable expectations.
- Use a Swin Transformer backbone for the generator and a feature aggregation decoder that combines multi-scale features with the latent variable z to produce the saliency map T_theta(I,z).
- Learn the energy prior U_alpha and the transformer parameters theta by updating gradients derived from KL-based likelihood objectives, using Langevin samples z^- from the prior and z^+ from the posterior (Equations 6–9).
- Adopt an MCMC-based learning loop (Algorithm 1) with separate Langevin steps for prior and posterior and Adam updates for alpha and theta.
Experimental results
Research questions
- RQ1Can a vision transformer with an energy-based latent prior model realistic, stochastic saliency maps and corresponding uncertainty estimates?
- RQ2Does jointly training an expressive energy-based latent space with a Transformer generator improve RGB and RGB-D salient object detection over discriminative or Gaussian-prior generative baselines?
- RQ3How does the proposed framework perform in terms of saliency accuracy and uncertainty visualization across standard RGB and RGB-D benchmarks?
Key findings
- The proposed framework yields accurate saliency predictions on RGB and RGB-D benchmarks and provides meaningful pixel-wise uncertainty maps aligned with human perception.
- Using an energy-based latent prior improves expressivity of the latent space compared to simple Gaussian priors, aiding saliency conditional modeling.
- The Swin transformer backbone with the generative latent-variable framework outperforms several state-of-the-art RGB and RGB-D saliency models in multiple benchmarks.
- The method avoids mode collapse typical of GANs and posterior collapse common in VAEs by relying on likelihood-based MCMC learning without extra amortized inference networks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.