[Paper Review] PathGAN: Visual Scanpath Prediction with Generative Adversarial Networks
PathGAN proposes a conditional generative adversarial network (cGAN) for visual scanpath prediction, using a generator with convolutional and recurrent layers to model fixation sequences conditioned on image content, while a discriminator enforces realism. It achieves state-of-the-art performance on iSUN and Salient360! datasets, reducing the Jarodzka metric to 0.13 and 0.74 respectively, outperforming prior methods including fine-tuned SaliTiNet.
We introduce PathGAN, a deep neural network for visual scanpath prediction trained on adversarial examples. A visual scanpath is defined as the sequence of fixation points over an image defined by a human observer with its gaze. PathGAN is composed of two parts, the generator and the discriminator. Both parts extract features from images using off-the-shelf networks, and train recurrent layers to generate or discriminate scanpaths accordingly. In scanpath prediction, the stochastic nature of the data makes it very difficult to generate realistic predictions using supervised learning strategies, but we adopt adversarial training as a suitable alternative. Our experiments prove how PathGAN improves the state of the art of visual scanpath prediction on the iSUN and Salient360! datasets. Source code and models are available at https://imatge-upc.github.io/pathgan/
Motivation & Objective
- To address the limitations of saliency maps, which aggregate fixations and lose temporal order, by modeling scanpaths as temporally-aware representations.
- To overcome the stochasticity and complex distribution of human scanpaths, which hinder traditional supervised learning with MSE loss.
- To develop an end-to-end deep learning model that generates diverse, realistic scanpaths conditioned on image content.
- To improve scanpath prediction performance using adversarial training, enabling better modeling of fixation sequence dynamics.
- To validate the model on both standard and omni-directional images, demonstrating generalization across image types.
Proposed method
- The generator uses a pre-trained CNN (e.g., VGG) to extract image features, followed by a bidirectional LSTM to model the sequential nature of scanpaths.
- The discriminator is trained to distinguish between real scanpaths (from human observers) and generated ones, using a patch-based loss to evaluate spatial realism.
- Conditional adversarial training is employed, where the generator is conditioned on the input image, and the discriminator evaluates the realism of the generated scanpath given the image.
- A multi-scale content loss based on MSE is applied between the generated and ground-truth scanpath sequences to stabilize training and improve fidelity.
- The model is trained end-to-end using a combined loss: adversarial loss (minimizing the discriminator’s ability to distinguish real vs. generated) and content loss (minimizing reconstruction error).
- Dropout is applied during inference to generate diverse scanpath samples, reflecting the stochastic nature of human gaze.
Experimental results
Research questions
- RQ1Can conditional GANs effectively model the stochastic and temporally structured nature of human visual scanpaths?
- RQ2Does adversarial training improve scanpath prediction performance compared to standard supervised learning with MSE loss?
- RQ3How does the inclusion of a content loss based on MSE affect convergence and prediction quality in scanpath generation?
- RQ4Can PathGAN generalize to both standard and omni-directional images, such as 360° panoramic images?
- RQ5To what extent does the model preserve spatial and temporal patterns, such as center bias and fixation order, compared to human data?
Key findings
- PathGAN achieves a Jarodzka metric score of 0.13 on the iSUN validation set, significantly outperforming the next best method (SalTiNet fine-tuned) at 0.40.
- On the Salient360! dataset, PathGAN achieves a Jarodzka score of 0.74, surpassing the best submission to the ICME 2017 challenge (5.9517) and other baselines.
- The model without content loss (only adversarial loss) achieves a Jarodzka score of 0.42, indicating that the content loss is essential for convergence and performance.
- Qualitative analysis shows that PathGAN generates diverse scanpaths with realistic spatial distributions, including a correct center bias, and matches the distribution of ground-truth fixations.
- Training with the content loss leads to faster convergence and more stable training, with no convergence observed without it.
- The model successfully generalizes to omni-directional images, treating them as extended 2D images, though it does not explicitly model their spherical geometry.
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.